3b3239c48000ae5645b55d00c22dc4950feb6cfe
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
4         Fix subset test.
5
6         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7         Improve unit test subset tests and add a testcase for the subset failure
8         cases.
9
10         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11         Improve subtraction unit test.
12
13 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
14
15         * plugins/elements/gsttee.c:
16           Unlock, instead of locking again.
17
18 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
19
20         * gst/gstpad.h:
21         Clarify the docs a bit more.
22
23 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
24
25         * tests/examples/metadata/read-metadata.c:
26           Don't leak old taglist.
27
28 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
29
30         Patch by: Olivier Crete <tester at tester dot ca>
31
32         * gst/gststructure.c:
33         (gst_structure_fixate_field_nearest_fraction):
34         Avoid overflows in fixation code when dealing with MAXINT values, which
35         v4l2src seems to do.
36         Fixes #546328.
37
38         * tests/check/gst/gststructure.c: (GST_START_TEST):
39         Make a unit test to check the fix. 
40
41 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
42
43         * plugins/elements/gstcapsfilter.c: (copy_func),
44         (gst_capsfilter_set_property):
45         Use new caps suggestion feature of basetransform to request a caps
46         negotiation upstream.
47
48 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
49
50         * docs/libs/gstreamer-libs-sections.txt:
51         Add new function:
52         API: GstBaseTransform::gst_base_transform_suggest()
53
54         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
55         (gst_base_transform_init), (gst_base_transform_transform_caps),
56         (gst_base_transform_transform_size),
57         (gst_base_transform_configure_caps),
58         (gst_base_transform_can_transform),
59         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
60         (gst_base_transform_prepare_output_buffer),
61         (gst_base_transform_buffer_alloc),
62         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
63         (gst_base_transform_chain), (gst_base_transform_activate),
64         (gst_base_transform_set_passthrough),
65         (gst_base_transform_is_passthrough),
66         (gst_base_transform_set_in_place),
67         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
68         (gst_base_transform_set_qos_enabled),
69         (gst_base_transform_is_qos_enabled),
70         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
71         (gst_base_transform_reconfigure):
72         * libs/gst/base/gstbasetransform.h:
73         Rewrite of basetransform to perform negotiation outside of the
74         buffer_alloc functions.  Fixes #545853.
75
76         * tests/check/libs/transform1.c: (GST_START_TEST),
77         (buffer_alloc_ct2):
78         Update unit test.
79
80 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
81
82         * tests/check/gst/gstpreset.c:
83           Only run preset tests when $HOME is writable. Preliminary fix for
84           #545433.
85
86 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
87
88         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
89         (gst_bin_change_state_func), (bin_handle_async_done),
90         (gst_bin_handle_message_func):
91         Fix race for bins that simulate ASYNC state changes by inserting
92         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
93         pending ASYNC messages even when the bin does not have ASYNC children.
94         We note detect this behaviour because we will receive an ASYNC message
95         that is originating from the bin itself. 
96         Fixes races with decodebin2 state changes.
97
98         * tests/check/gst/gstbin.c: (GST_START_TEST):
99         Add some more debug.
100
101 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
102
103         * gst/gsttaglist.c: (_gst_tag_initialize):
104           Fix typo.
105
106 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
107
108         * gst/gsttaglist.c:
109           Argh. actually save the text before committing. Now adds
110           gst_tag_merge_strings_with_comma() to gst_tag_register().
111
112 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
113
114         * gst/gsttaglist.c:
115         * gst/gsttaglist.h:
116           Do as tim pointed out and actually register the new tag. Also improve
117           te docs and use gst_tag_merge_strings_with_comma() method to allow
118           retriving all keywords merged in one list.
119
120 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
121
122         * configure.ac:
123         * docs/gst/gstreamer.types:
124           Revert 'accidential' change of the configure option removal. We still
125           need to generate the types file in configure --disable-load-save.
126
127 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
128
129         * docs/gst/gstreamer-sections.txt:
130         * gst/gsttaglist.h:
131           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
132
133 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
134
135         * gst/gstpadtemplate.c:
136           (gst_pad_template_class_init), (gst_static_pad_template_get),
137           (gst_pad_template_new), (gst_pad_template_pad_created),
138           (gst_pad_template_set_property), (gst_pad_template_get_property):
139           Add "name-template", "direction", "presence" and "caps" properties,
140           so that gst_pad_template_new() is just a thin wrapper around
141           g_object_new(), which is better for bindings. (Fixes: #539772)
142
143 2008-07-31  Michael Smith <msmith@songbirdnest.com>
144
145         * gst/gsturi.c:
146           Be more liberal in what URIs we accept.
147           Do not unescape bits of the URI for no apparent reason before passing to
148           the element. Fixes #545352.
149
150 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
151
152         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
153
154         * gst/gst.c:
155         Include gstconfig.h as macros from it are used. Fixes bug #545607.
156
157 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
158
159         * configure.ac:
160         * docs/gst/gstreamer-sections.txt:
161         * docs/gst/gstreamer.types:
162         * docs/gst/gstreamer.types.in:
163         * gst/Makefile.am:
164         * gst/gst.c:
165         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
166         * gst/gstconfig.h.in:
167         * gst/gstelement.c: (gst_element_get_index):
168         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
169         (gst_registry_binary_load_feature),
170         (gst_registry_binary_read_cache):
171         * gst/gstregistryxml.c: (load_feature),
172         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
173         * plugins/Makefile.am:
174         * tools/gst-indent:
175         * tools/gst-inspect.c: (print_index_info), (print_element_list),
176         (print_plugin_features), (print_element_features):
177         * tools/gst-xmlinspect.c: (print_event_masks),
178         (print_element_info):
179         * win32/common/gstconfig.h:
180         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
181
182         Disabling the indexers and URI handler code will only reduce the
183         required amount of memory by a very small amount but on the other hand
184         requires much more maintaince work. Apart from that many places of
185         code are broken when disabling them.
186
187         Disabling the enum types doesn't reduce the required amount of memory
188         by more than a few bytes and makes it hard to fix bugs like #539772,
189         i.e. use the enums as GObject properties.
190
191 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
192
193         * docs/design/part-TODO.txt:
194         Add some thoughts and problems with upstream renegotiation.
195
196 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
197
198         * gst/gstpad.c: (gst_pad_acceptcaps_default),
199         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
200         Remove silly redundant debug.
201         Add some more debug info.
202         Clarify the docs regarding new caps received from pad_alloc.
203
204 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
205
206         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
207         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
208         Make setting the caps more threadsafe.
209
210 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
211
212         * docs/design/part-element-transform.txt:
213         Update docs.
214
215 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
216
217         * plugins/elements/gstqueue.c: (gst_queue_init),
218         (gst_queue_acceptcaps):
219         Add and use a custom acceptcaps function instead of falling back to the
220         potentially less optimized default implementation.
221
222 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
223
224         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
225           Only sanity-check the buffer size if requested_caps == buffer_caps
226           (ie. don't take pad caps into account, they're not relevant here)
227
228 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
229
230         * plugins/elements/gsttee.c:
231         * plugins/elements/gsttee.h:
232           Reverting as not everything is clear yet. Needs some general design
233           work.
234
235 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
236
237         * ChangeLog:
238           ChangeLog surgery for tee commit.
239
240 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
241
242         * docs/gst/gstreamer-sections.txt:
243           Cleanup section-file.
244
245 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
246
247         * plugins/elements/gsttee.c:
248         * plugins/elements/gsttee.h:
249           Relay tag events in tee. Fixes parts of #474016.
250           Downgrades 3 reoccurring debugs to log.
251
252 2008-07-28  Michael Smith <msmith@songbirdnest.com>
253
254         * configure.ac:
255         * libs/gst/Makefile.am:
256           Build the net library if we have winsock2.
257
258 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
259
260         patch by: Luc Pionchon <luc.pionchon@nokia.com>
261
262         * docs/manual/advanced-threads.xml:
263         * docs/manual/diagrams-pipelines.svg:
264         * docs/manual/hello-world.png:
265         * docs/manual/linked-elements.png:
266         * docs/manual/mime-world.png:
267         * docs/manual/queue.png:
268         * docs/manual/thread-buffering.png:
269         * docs/manual/thread-synchronizing.png:
270           Replace one diagram with two separate ones and updates others.
271           Fixes #542401.
272
273 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
274
275         * gst/gstelement.h:
276         Fix link in documentation.
277
278 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
279
280         * gst/gstmessage.c:
281         Fix confusing documentation.
282
283 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
284
285         * libs/gst/base/gstbasesrc.h:
286         revert the changes to the header file for the ABI.
287
288 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
289
290         * libs/gst/base/gstbasesrc.c:
291         * libs/gst/base/gstbasesrc.h:
292         Don't cache the seekable status.
293         Fixes bug #544174
294
295 2008-07-24  Rene Stadler  <mail@renestadler.de>
296
297         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
298         code to close the pipeline graph.  This prevents the program from
299         printing internal data flow errors.
300
301 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
302
303         * docs/manual/basics-bus.xml:
304         Correct typo. Fixes bug #544320.
305
306 2008-07-22  Michael Smith <msmith@songbirdnest.com>
307
308         * configure.ac:
309           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
310           Add check (taken from -base) for winsock, adds WIN32_LIBS
311         * gst/Makefile.am:
312           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
313           winsock.
314           Define GST_EXPORTS when building libgstreamer (only used on win32)
315         * gst/gst_private.h:
316         * gst/gstinfo.h:
317           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
318           for symbols that we need to export in both these files.
319         * gst/gstpoll.c:
320           Include gst_private.h higher up to avoid some compile problems on win32.
321
322 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
323
324         * gst/gstvalue.c:
325         Fix typos.
326
327 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
328
329         * gst/gstcaps.c:
330         Previous commit was wrong NULL caps does not exist
331         and indicate an error, so also add a FIXME to
332         gst_caps_is_equal where NULL caps are accepted.
333
334 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
335
336         * gst/gstcaps.c:
337         Allow passing of NULL to gst_caps_union
338
339 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
340
341         * gst/gstghostpad.c:
342         Add in doc that gst_ghost_pad_set_target can accept
343         NULL to clear target
344
345 2008-07-15  Michael Smith <msmith@songbirdnest.com>
346
347         * gst/gstplugin.c:
348         * gst/gstregistry.c:
349           GstRegistryPool doesn't exist; don't refer to it in docs.
350           Don't refer to functions that don't exist in docs, it's
351           unhelpful.
352
353 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
354
355         * gst/gst.c:
356         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
357
358 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
359
360         Patch by: tmatth <le dot businessman at gmail dot com>
361
362         * docs/pwg/building-testapp.xml:
363         Don't use an undeclared variable in the example program.
364         Fixes bug #542573.
365
366 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
367
368         * gst/gstdebugutils.c:
369           Squeeze ghost-pad links and remove <> from classname labels to save
370           more horizontal space.
371
372 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
373
374         * gst/gstdebugutils.c:
375           Give request and sometimes pads a different shpe style. Condense the
376           graphs a little more.
377
378 2008-07-09  Michael Smith <msmith@songbirdnest.com>
379
380         * configure.ac:
381           Don't require flex and bison if the parser is disabled.
382
383 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
384
385         * libs/gst/controller/gstinterpolationcontrolsource.c:
386         (_list_find_sorted_custom):
387         Don't use declarations after statements.
388
389 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
390
391         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
392         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
393         of the the child-added / -removed signals as GstChildProxy
394         only supports GstObjects.
395
396 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
397
398         * gst/gstdebugutils.c:
399         Fix memleak
400
401 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
402
403         Patch by: Alessandro Decina <alessandro at nnva dot org>
404
405         * gst/gstpoll.c:
406         Fix "ignored return value" compiler warning with newer glibc.
407
408 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
409
410         * gst/gstchildproxy.c:
411         Fix copy&paste error in gst_child_proxy_removed() documentation.
412
413 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
414
415         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
416           Print error debug message if plugin description fields that should
417           be set are NULL.
418
419         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
420           Don't crash if the string to serialise is NULL (it really should
421           not be, but apparently this used to work with the xml registry ...).
422
423 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
424
425         * tools/gst-plot-timeline.py:
426         Fix parsing of log messages
427
428 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
429
430         * win32/common/libgstbase.def::
431           Sort alphabetically so make check-exports doesn't barf.
432
433 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
434
435         * gst/gstevent.c:
436           Use gst_format_get_name() to improve debug output.
437
438         * gst/gstpreset.c:
439           Remove #ifdef'ed code. Add TODO comment.
440
441         * gst/gstsegment.c:
442           Add debug output to ease spotting format != segment.format assertions.
443
444 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
445
446         * tests/check/libs/gdp.c: (gst_dp_suite):
447         Also enable the GDP unit test again on PPC now that the bug
448         is fixed.
449
450 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
451
452         * libs/gst/dataprotocol/dataprotocol.c:
453         Don't write to the same region of memory as a uint64 and uint16
454         as this breaks strict aliasing rules and apparantly breaks on PPC
455         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
456
457 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
458
459         * libs/gst/controller/gstinterpolationcontrolsource.c:
460           Optimize list handling. Use own find function. Exploit that fact that
461           the list is sorted. Also pass back the node before, so that we can
462           insert quickly. Have a fast path for append.
463
464 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
465
466         * docs/design/draft-framestep.txt:
467         * docs/design/part-negotiation.txt:
468           Fix two typos.
469
470 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
471
472         * configure.ac:
473           Show configuration sumary after configure run. Based on patch by
474           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
475
476 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
477
478         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
479
480         * docs/manual/advanced-autoplugging.xml:
481         * docs/manual/advanced-threads.xml:
482         * docs/manual/basics-bins.xml:
483         * docs/manual/basics-elements.xml:
484         * docs/manual/basics-helloworld.xml:
485         * docs/manual/basics-pads.xml:
486           Add scale factor for pdf output.
487
488         * docs/manual/intro-basics.xml:
489           Switched sections "pads" and "bins" and added a pipeline diagram.
490
491         * docs/manual/intro-gstreamer.xml:
492           Added more info on gstreamer.
493
494         * docs/manual/intro-motivation.xml:
495           Commented out the whole section "current problem", which sounds
496           historical and somehow osolete; it could be turned in a positive
497           way and reused to improve the design principles.
498
499         * docs/manual/intro-preface.xml:
500           - Update URLs to library.gnome.org. 
501           - Do not mention GTK+ in preliminary reading (irrelevant). 
502           - Mention Plugin Writer's Manual and further reading only in the
503             previous section.
504           - Added a list of most relevant GObject/glib topics.
505
506         * docs/manual/Makefile.am:
507         * docs/manual/bin-element-ghost.fig:
508         * docs/manual/bin-element-ghost.png:
509         * docs/manual/bin-element-noghost.fig:
510         * docs/manual/bin-element-noghost.png:
511         * docs/manual/bin-element.fig:
512         * docs/manual/bin-element.png:
513         * docs/manual/filter-element-multi.fig:
514         * docs/manual/filter-element-multi.png:
515         * docs/manual/filter-element.fig:
516         * docs/manual/filter-element.png:
517         * docs/manual/gstreamer-overview.png:
518         * docs/manual/hello-world.fig:
519         * docs/manual/hello-world.png:
520         * docs/manual/linked-elements.fig:
521         * docs/manual/linked-elements.png:
522         * docs/manual/mime-world.fig:
523         * docs/manual/mime-world.png:
524         * docs/manual/queue.fig:
525         * docs/manual/queue.png:
526         * docs/manual/simple-player.png:
527         * docs/manual/sink-element.fig:
528         * docs/manual/sink-element.png:
529         * docs/manual/src-element.fig:
530         * docs/manual/src-element.png:
531         * docs/manual/diagrams-general.svg:
532         * docs/manual/diagrams-pipelines.svg:
533           Removed .fig, added .png counterpart.
534           
535           Fixes: #539137
536
537 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
538
539         * plugins/elements/gstmultiqueue.c:
540         * plugins/elements/gstmultiqueue.h:
541         revert extra-size-buffers stuff, caused some race conditions
542         and extra-size-buffers is not used anymore. Docs needs some updates
543
544 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
545
546         * win32/common/config.h:
547         * win32/common/gstenumtypes.c:
548         * win32/common/gstenumtypes.h:
549         * win32/common/gstversion.h:
550           Update win32 files.
551
552 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
553
554         * gst/gstdebugutils.h: (GstDebugGraphDetails),
555           (GST_DEBUG_BIN_TO_DOT_FILE):
556           Add missing Since' markers to gtk-doc blurbs.
557
558 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
559
560         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
561         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
562         (set_caps_1), (set_caps_ct1), (transform_ct1),
563         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
564         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
565         (transform_size_ct2), (buffer_alloc_ct2):
566         Add some more tests with switching caps in buffer_alloc.
567
568 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
569
570         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
571         (gst_test_trans_class_init), (result_sink_chain),
572         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
573         (gst_test_trans_push), (gst_test_trans_pop):
574         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
575         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
576         (set_caps_1), (set_caps_ct1), (transform_ct1),
577         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
578         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
579         (transform_size_ct2), (buffer_alloc_ct2),
580         (gst_basetransform_suite):
581         More tests, prepare for tests with switching caps in buffer_alloc.
582
583 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
584
585         * plugins/elements/gstmultiqueue.c:
586         * plugins/elements/gstmultiqueue.h:
587         Fix dead-lock in underrun_cb
588
589 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
590
591         * docs/design/part-states.txt:
592         Fix device open/close docs.
593
594 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
595
596         * ChangeLog:
597           Mention bugnumber for last commit.
598
599 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
600
601         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
602
603         * docs/manual/manual.xml:
604         - Reorganised the previous "introduction" bundle into Foreword,
605         Introduction, and About GStreamer. The two first are <preface>
606         docbook elements. The later is the first part of the book.
607         - added intro-gstreamer.xml (content partially from
608         intro-preface.xml)
609         - moved appendix-win32.xml into appendix-integration.xml
610
611         * docs/manual/intro-preface.xml: gstreamer section moved...
612         * docs/manual/intro-gstreamer.xml: ...here. new file.
613
614         * docs/manual/appendix-win32.xml: removed file. Content moved...
615         * docs/manual/appendix-integration.xml: ...here.
616         
617         * docs/manual/highlevel-components.xml: section about GstEditor moved...
618         * docs/manual/appendix-checklist.xml: ...here.
619         
620         Fixes: 538764
621
622 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
623
624         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
625
626         * docs/manual/basics-helloworld.xml:
627         * docs/manual/hello-world.fig:
628           - Explicitely include glib.h.
629           - Do not use global variables.
630           - Use g_printerr() instead of g_print().
631           - Minor formating/renaming to increase readibility.
632           - Renamed new_pad() to on_pad_added()
633           - Improved explenatory comments.
634           - renamed ogg parser to ogg demuxer
635           - Use "autoaudiosink" instead of "alsasink".
636           Fixes: #538619
637
638 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
639
640         * ChangeLog:
641           Remove cvs conflict marker.
642
643 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
644
645         * docs/README:
646           Document that for plgin-docs we extraxt he short-desc from the element
647           details.
648
649         * docs/design/part-states.txt:
650           Tell that devices should be closed in PAUSED -> READY.
651
652         * docs/manual/README:
653           Document how tests in the manual are handled.
654
655         * docs/manuals.mak:
656           Typo in comment.
657
658 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
659
660         * gst/gstbin.c: (bin_query_latency_fold):
661         Only care about latency min and max when the sink is actually a live
662         sink.
663
664 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
665
666         * docs/design/part-block.txt:
667         Fix typo.
668
669         * docs/design/part-element-transform.txt:
670         Add notes about why transform needs to know input/output sizes.
671         Add some issues that need to be solved.
672         Add some more use cases.
673
674         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
675         (gst_test_trans_class_init), (result_sink_chain),
676         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
677         (gst_test_trans_push), (gst_test_trans_pop):
678         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
679         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
680         (set_caps_1), (set_caps_ct1), (transform_ct1),
681         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
682         (gst_basetransform_suite):
683         Add suport for different pad templates and buffer-alloc.
684         Add more checks for caps and buffer-alloc.
685         Add checks for proxy buffer alloc.
686         Add unit test for copy transform.
687
688 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
689
690         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
691
692         * docs/manual/appendix-integration.xml:
693         * docs/manual/appendix-licensing.xml:
694         * docs/manual/basics-elements.xml:
695         * docs/manual/basics-helloworld.xml:
696         * docs/manual/basics-pads.xml:
697         * docs/manual/highlevel-components.xml:
698         * docs/manual/highlevel-xml.xml:
699         * docs/manual/intro-basics.xml:
700         * docs/manual/intro-preface.xml:
701           Typo and formatting fixes (#538594).
702
703 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
704
705         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
706         Fix some memory leaks and uses of object instances that we don't
707         actually own.
708
709 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
710
711         * plugins/elements/gstmultiqueue.c:
712         Add functionality to extra-size-buffers property.
713
714 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
715
716         * plugins/elements/gstmultiqueue.c:
717         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
718         activate the pads if they are added in STATE_NULL.
719
720 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
721
722         * docs/libs/gstreamer-libs-sections.txt:
723         Add new API to doc
724         * libs/gst/check/gstcheck.c:
725         * libs/gst/check/gstcheck.h:
726         API: gst_check_teardown_pad_by_name
727
728 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
729
730         * libs/gst/check/gstcheck.c:
731         * libs/gst/check/gstcheck.h:
732         Also setup request pads and allow setup pads by name (#537812)
733         API: gst_check_setup_src_pad_by_name
734         API: gst_check_setup_sink_pad_by_name
735
736 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
737
738         * tests/check/gst/gstbuffer.c:
739         * tests/check/pipelines/parse-launch.c:
740           Use HAVE_VALGRIND_H some more.
741
742 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
743
744         * scripts/cvs-update.sh:
745           Pass arguments to make.
746           Run autoregen.sh if Makefile is not there.
747
748 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
749
750         * configure.ac:
751         * gst/gstinfo.c:
752           Don't assume that <valgrind/valgrind.h> exists just because
753           the binary is there.
754
755 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
756
757         * tests/check/Makefile.am:
758         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
759         (gst_test_trans_class_init), (gst_test_trans_init),
760         (gst_test_trans_set_data), (result_sink_chain),
761         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
762         (gst_test_trans_pop):
763         * tests/check/libs/transform1.c: (GST_START_TEST),
764         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
765         Add some test basetransform element and the beginnings of various
766         unit tests for it.
767
768 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
769
770         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
771         Increase code readability.
772         Don't try to compare buffer offsets when ther are invalid.
773
774 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
775
776         * docs/design/Makefile.am:
777           Dist some more design docs.
778
779         * docs/random/moving-plugins:
780           Small addition: good plugins mustn't have functional code
781           within assertion macros.
782
783 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
784
785         * docs/design/draft-framestep.txt:
786         Some ideas about a framestep API
787
788         * docs/design/part-element-transform.txt:
789         Start design and use cases for basetransform in order to get it
790         fixed soon.
791
792 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
793
794         * gst/gsttaglist.h:
795           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
796           be in UTF-8 encoding.
797
798 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
799
800         * gst/gstbus.c:
801           Make it known that gst_bus_poll() is pure evil (fixes #538810).
802
803 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
804
805         * plugins/elements/gstcapsfilter.c:
806         * plugins/elements/gstfakesink.c:
807         * plugins/elements/gstfakesrc.c:
808         * plugins/elements/gstfdsink.c:
809         * plugins/elements/gstfdsrc.c:
810         * plugins/elements/gstfilesink.c:
811         * plugins/elements/gstfilesrc.c:
812         * plugins/elements/gstidentity.c:
813         * plugins/elements/gstmultiqueue.c:
814         * plugins/elements/gstqueue.c:
815         * plugins/elements/gsttee.c:
816         * plugins/elements/gsttypefindelement.c:
817           Remove short_description. Add basic docs for gsttypefindelement.
818           Simplify markup for fakesrc/fdsrc.
819
820 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
821
822         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
823         Added Since doc.
824
825 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
826
827         Patch by: joel larsson <tilljoel at gmail dot com>
828
829         * docs/plugins/gstreamer-plugins.args:
830         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
831         (gst_fd_src_init), (gst_fd_src_update_fd),
832         (gst_fd_src_set_property), (gst_fd_src_get_property),
833         (gst_fd_src_create):
834         * plugins/elements/gstfdsrc.h:
835         Add timeout property like udpsrc. Fixes #538628.
836         Add some more docs and example pipelines.
837
838 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
839
840         * docs/libs/gstreamer-libs-sections.txt:
841         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
842         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
843         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
844         (gst_base_sink_do_sync):
845         * libs/gst/base/gstbasesink.h:
846         * win32/common/libgstbase.def:
847         Add method to allow sinks to specify additional delay between the sync
848         times and the actual rendering of the data.
849         API: gst_base_sink_set_render_delay()
850         API: gst_base_sink_get_render_delay()
851
852 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
853
854         * configure.ac:
855         Bump version number back to dev -> 0.10.20.1
856
857 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
858
859         * docs/gst/gstreamer-sections.txt:
860         * gst/gsttaglist.c: (_gst_tag_initialize):
861         * gst/gsttaglist.h:
862         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
863         Fixes bug #538568.
864
865 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
866
867         * libs/gst/controller/gstcontroller.c:
868           Revert one change, that make ret value possible uninitialized.
869
870 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
871
872         * libs/gst/controller/gstcontroller.c:
873           Use freeze/thaw notify to sync notify emission a bit (its also more
874           efficient). Move debug output to LOG (is called a lot in a loop).
875           Always unset g_values if the have been initialized.
876
877 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
878
879         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
880         (gst_base_sink_wait_eos), (gst_base_sink_event):
881         If we have not seen a buffer before EOS, use the segment values to
882         report the current position instead of invalid positions.
883
884 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
885
886         * docs/plugins/tmpl/.cvsignore:
887         * tests/check/gst/.cvsignore:
888           Ignore more.
889
890 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
891
892         * libs/gst/controller/gstinterpolation.c:
893         * libs/gst/controller/gstinterpolationcontrolsource.c:
894         * tests/check/libs/controller.c:
895           Rewrite handling of default values. Fix overflow with unsigned types
896           in linear interpolation. Remove now obsolete _first_value() function.
897           Add more tests. Fixes #538201.
898
899 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
900
901         * libs/gst/base/gstbasetransform.c:
902         (gst_base_transform_class_init), (gst_base_transform_init),
903         (gst_base_transform_transform_caps),
904         (gst_base_transform_prepare_output_buffer):
905         Add debug info.
906         When a buffer is writable, its metadata is also writable so we don't
907         need to subbuffer (which then makes the buffer not-writable anymore).
908
909 === release 0.10.20 ===
910
911 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
912
913         * configure.ac:
914           releasing 0.10.20, "You Crazy Diamond"
915
916 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
917
918         * configure.ac:
919         0.10.19.3 pre-release
920
921 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
922
923         * configure.ac:
924         * gst/gstpreset.c:
925         Rename DATADIR to GST_DATADIR to avoid build problems
926         on win32. Patch By: David Schleef <ds@schleef.org>
927         Fixes: #536857
928
929 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
930
931         * configure.ac:
932         Explicitely link with -ldl if dladdr() is found there. Before it was
933         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
934         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
935
936 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
937
938         * gst/gsterror.c: (_gst_stream_errors_init):
939           Fix typo (spotted by Fabricio Godoy, #536723).
940
941 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
942
943         * configure.ac:
944         0.10.19.2 pre-release
945
946 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
947
948         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
949         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
950         Add some debug.
951         Make sure we don't generate invalid QoS messages.
952
953 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
954
955         * gst/gstevent.c: (gst_event_new_qos):
956         Add some assert and docs for invalid input to the qos function.
957
958 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
959
960         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
961         (gst_base_sink_get_position):
962         The reported position must always be smaller than the last seen
963         timestamps (or timestamp + duration for reverse).
964
965 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
966
967         Patch by: Rob Bradford <rob at robster dot org dot uk>
968
969         * gst/gstregistry.c: (gst_registry_scan_path_level):
970         Don't recurse into .debug directories as some distros install
971         the debugging symbols next to the plugins in .debug directories
972         and dlopen() crashes on them sometimes. Fixes bug #508070.
973
974         Add FIXME for 0.11 to not recurse into directories at all because
975         it's very inconsistent to the behaviour of other PATH environment
976         variables.
977
978 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
979
980         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
981         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
982         Fix position query range checks in reverse playback.
983
984 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
985
986         * gst/gstelement.c:
987         * gst/gstelement.h:
988         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
989         clear of the reference to the resulting pad must be released later
990         or not, resulting in possible leaks. Fixes bug #533865.
991
992 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
993
994         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
995
996         * gst/gstelementfactory.c:
997         Small doc fix. Fixes #535285.
998
999 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
1000
1001         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
1002
1003         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1004         (gst_base_src_get_range), (gst_base_src_pad_get_range),
1005         (gst_base_src_loop), (gst_base_src_set_flushing),
1006         (gst_base_src_change_state):
1007         Make sending an EOS event to the basesrc non-blocking even if the
1008         implementation does blocking waits in the create function. This is done
1009         by unlocking the create function when EOS is sent.
1010         Fixes #535218.
1011
1012 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
1013
1014         * tools/gst-inspect.c: (print_element_properties_info):
1015         If possible print the element type of GValueArray properties.
1016
1017 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
1018
1019         * gst/gstiterator.c:
1020         Remove an unused field from the private GstListIterator struct.
1021
1022 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
1023
1024         * libs/gst/controller/gstcontroller.c:
1025           Add parameter guards.
1026
1027 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
1028
1029         * tests/check/gst/gstpipeline.c:
1030           Revert test change and add comment why it should not work.
1031
1032 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
1033
1034         * tests/check/gst/gstpipeline.c:
1035           Extending the test a little to verify that we also get the NULL state-
1036           change message.
1037
1038 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
1039
1040         * gst/gstpreset.c: (gst_preset_default_get_meta),
1041           (gst_preset_get_preset_names), (gst_preset_get_property_names),
1042           (gst_preset_load_preset), (gst_preset_save_preset),
1043           (gst_preset_rename_preset), (gst_preset_delete_preset),
1044           (gst_preset_set_meta):
1045           Add Since: markers to docs blurbs.
1046
1047         * win32/common/libgstreamer.def:
1048           Add recently-added API.
1049
1050 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1051
1052         Patch by: Stefan Kost  <ensonic@users.sf.net>
1053
1054         * configure.ac:
1055         Add DATADIR for storing presets.
1056
1057         * docs/gst/gstreamer-docs.sgml:
1058         * docs/gst/gstreamer-sections.txt:
1059         * docs/gst/gstreamer.types.in:
1060         Add GstPreset to docs.
1061
1062         * gst/Makefile.am:
1063         * gst/gst.h:
1064         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
1065         (preset_open_and_parse_header), (preset_parse_version),
1066         (preset_merge), (preset_get_keyfile),
1067         (gst_preset_default_get_preset_names),
1068         (gst_preset_default_get_property_names),
1069         (gst_preset_default_load_preset),
1070         (gst_preset_default_save_presets_file),
1071         (gst_preset_default_save_preset),
1072         (gst_preset_default_rename_preset),
1073         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
1074         (gst_preset_default_get_meta), (gst_preset_default_randomize),
1075         (gst_preset_default_reset), (gst_preset_get_preset_names),
1076         (gst_preset_get_property_names), (gst_preset_load_preset),
1077         (gst_preset_save_preset), (gst_preset_rename_preset),
1078         (gst_preset_delete_preset), (gst_preset_set_meta),
1079         (gst_preset_get_meta), (gst_preset_class_init),
1080         (gst_preset_base_init), (gst_preset_get_type):
1081         * gst/gstpreset.h:
1082         Add GstPreset to core. Fixes #396779
1083
1084         * tests/check/Makefile.am:
1085         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
1086         (gst_preset_test_set_property), (gst_preset_test_class_init),
1087         (gst_preset_test_base_init), (gst_preset_test_get_type),
1088         (gst_preset_test_plugin_init), (GST_START_TEST),
1089         (remove_preset_file), (test_setup), (test_teardown),
1090         (gst_preset_suite):
1091         Add GstPreset unit tests.
1092
1093 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1094
1095         * gst/gstpad.c: (gst_pad_event_default_dispatch):
1096         The default event function on a sinkpad should return TRUE when
1097         there are no internal links but should collect the return values from
1098         the internal links otherwise.
1099
1100 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1101
1102         * plugins/elements/gsttypefindelement.c:
1103         (gst_type_find_element_src_event),
1104         (gst_type_find_element_handle_event):
1105         Use faster and safer _pad_push_event().
1106
1107 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
1108
1109         * docs/gst/gstreamer-sections.txt:
1110         * gst/gstutils.c: (element_find_unlinked_pad),
1111           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
1112         * gst/gstutils.h:
1113           API: add gst_bin_find_unlinked_pad()
1114           API: deprecate gst_bin_find_unconnected_pad() (#401456)
1115
1116 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
1117
1118         * gst/gstclock.c:
1119         * gst/gstclock.h:
1120         * gst/gsttask.c:
1121         * gst/gsttask.h:
1122         Fixed a bunch of typos.
1123
1124 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1125
1126         * gst/gstpad.h:
1127         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
1128           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
1129           (gst_parse_bin_from_description_full):
1130         * gst/gstutils.h:
1131           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
1132
1133 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1134
1135         * docs/pwg/advanced-tagging.xml:
1136           Small docs update, can't be bothered to rewrite the nonsensical
1137           examples right now.
1138
1139 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1140
1141         * gst/gstevent.h:
1142           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
1143
1144 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1145
1146         * gst/parse/grammar.y:
1147           Remove unneeded casts.
1148
1149 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1150
1151         * gst/parse/grammar.y:
1152         * tests/check/pipelines/parse-launch.c:
1153           Get all missing elements from a parse launch string if possible
1154           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
1155
1156 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1157
1158         * tests/check/Makefile.am:
1159         * tests/check/pipelines/parse-launch.c:
1160           Add some unit tests for the new gst_parse_launch*_full() API.
1161           (Exposes a previously-existing memory leak in the error code
1162           path, so adding to VALGRIND_TO_FIX for now).
1163
1164 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1165
1166         * docs/gst/gstreamer-sections.txt:
1167         * gst/gst.c: (init_post):
1168         * gst/gst_private.h: (_GstParseContext):
1169         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
1170           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
1171           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
1172           (gst_parse_launch_full):
1173         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
1174           (GstParseFlags), (GstParseContext):
1175         * gst/gstutils.c: (gst_parse_bin_from_description),
1176           (gst_parse_bin_from_description_full):
1177         * gst/gstutils.h:
1178         * gst/parse/grammar.y:
1179         * gst/parse/types.h:
1180         * win32/common/libgstreamer.def:
1181           Add new gst_parse_*_full API (#528178):
1182           API: gst_parse_launch_full()
1183           API: gst_parse_launchv_full()
1184           API: gst_parse_bin_from_description_full()
1185           API: gst_parse_context_new()
1186           API: gst_parse_context_free()
1187           API: gst_parse_context_get_missing_elements()
1188
1189 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
1190
1191         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
1192
1193         * docs/faq/gst-uninstalled:
1194           Also support ffmpeg in gst-uninstalled.
1195
1196 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1197
1198         * configure.ac:
1199         After discussion on IRC use the binary registry as default
1200         but allow to disable it with --disable-binary-registry.
1201
1202         * win32/common/libgstreamer.def:
1203         Add the two new symbols for the binary registry.
1204
1205 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
1206
1207         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
1208         * gst/gstutils.c: (gst_parse_bin_from_description):
1209         * gst/parse/grammar.y: (graph):
1210           More guards against bad input; typo fix; some minor clean-ups.
1211
1212 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1213
1214         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1215
1216         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1217         If nothing else can be used, use the last buffer's start time as
1218         the segment's last stop. Fixes bug #534258.
1219
1220 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
1221
1222         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1223           Move size sanity check to the right place: downstream may return
1224           a buffer with a smaller size if the buffer caps are different than
1225           the requested ones, as may happen when doing reverse negotiation.
1226
1227 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1228
1229         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
1230         (gst_file_sink_render):
1231         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
1232         (gst_file_src_start):
1233         Small cleanups. Add note adbout g_fopen() on windows and why we don't
1234         use it yet.
1235
1236 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1237
1238         * gst/gstpad.c: (gst_pad_load_and_link):
1239         * gst/gstutils.c: (gst_element_link_pads),
1240         (gst_element_unlink_pads):
1241         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1242         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1243         (gst_check_teardown_sink_pad),
1244         (gst_check_element_push_buffer_list):
1245         * tests/check/elements/fakesink.c: (GST_START_TEST):
1246         * tests/check/elements/filesink.c:
1247         * tests/check/elements/filesrc.c: (GST_START_TEST):
1248         * tests/check/elements/multiqueue.c: (setup_multiqueue),
1249         (mq_sinkpad_to_srcpad):
1250         * tests/check/elements/tee.c: (GST_START_TEST):
1251         * tests/check/generic/sinks.c: (GST_START_TEST):
1252         * tests/check/gst/gstbin.c: (GST_START_TEST):
1253         * tests/check/gst/gstevent.c: (GST_START_TEST):
1254         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1255         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
1256         * tests/check/gst/gstquery.c: (GST_START_TEST):
1257         * tests/check/gst/gstutils.c: (GST_START_TEST):
1258         * tests/check/libs/basesrc.c: (GST_START_TEST):
1259         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
1260         (gst_parse_test_element_change_state):
1261         Don't use gst_element_get_pad().
1262
1263 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
1264
1265         * docs/Makefile.am:
1266         Fix installing plugin documentation when gtk-doc is disabled.
1267
1268 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1269
1270         * docs/manual/advanced-autoplugging.xml:
1271         * docs/manual/basics-helloworld.xml:
1272         * docs/manual/basics-pads.xml:
1273         * docs/manual/highlevel-components.xml:
1274         Avoid using a bad function in the example code.
1275
1276 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1277
1278         * gst/gstclock.c: (gst_clock_set_calibration):
1279         Fix debug of the new clock rate.
1280
1281 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1282
1283         * win32/common/libgstbase.def:
1284         Add gst_base_sink_wait_clock() to the exported symbols.
1285
1286 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
1287
1288         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
1289
1290         * libs/gst/base/gstbasetransform.c:
1291         (gst_base_transform_sink_event):
1292         Unref events that the GstBaseTransform::event vfunc didn't want to
1293         have forwarded by the base class. Closes a leak in identity.
1294         Fixes bug #446763.
1295
1296 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1297
1298         * docs/libs/gstreamer-libs-sections.txt:
1299         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1300         * libs/gst/base/gstbasesink.h:
1301         Expose a method that was previously used internally to synchronize
1302         against the clock because it can be useful for subclasses too.
1303         API: GstBaseSink::gst_base_sink_wait_clock()
1304
1305 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1306
1307         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1308           Add sanity check to make sure we don't get smaller buffers
1309           than requested (and fallback to normal buffer alloc if we do).
1310
1311 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1312
1313         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1314         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1315         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1316         Refactor adjusting the running_time with latency and offset into a
1317         separate method.
1318         When doing clipping, we still want to use the subclass get_times method,
1319         just in case the DURATION or TIMESTAMP are not set.
1320
1321 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1322
1323         * docs/gst/gstreamer-sections.txt:
1324         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1325         * gst/gsttypefind.h:
1326         * win32/common/libgstreamer.def:
1327           API: add gst_type_find_suggest_simple(), #533740.
1328
1329 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1330
1331         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1332           Use right error code when typefinding fails, so we can use
1333           the default (translated) error messages.
1334
1335 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1336
1337         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1338         (gst_base_src_start):
1339         When the subclass did not set caps on outgoing buffers, configure the
1340         caps we negotiated on the source pad.
1341         When the typefind helper does not find caps, error out properly instead
1342         of doing things with NULL caps.
1343
1344 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1345
1346         * gst/gsttypefind.h:
1347           Tabs to spaces, oh yes!
1348
1349 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1350
1351         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1352           Add David's and Benjamin's tests for array intersection to the
1353           unit test suite (#147931).
1354
1355 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1356
1357         * gst/gstevent.c:
1358           Document that gst_event_new_tag() and gst_event_new_navigation()
1359           take ownership of the taglist/structure passed to them. (#533635).
1360
1361 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
1362
1363         * docs/Makefile.am:
1364         Don't descend into the plugins dir if plugin docs building
1365         is disabled.
1366
1367         * docs/README:
1368         Add a note about the new type:GTypeName syntax for the plugin
1369         documentation .types file.
1370
1371 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1372
1373         * gst/gstmessage.c: (gst_message_new_error),
1374         (gst_message_new_warning), (gst_message_new_info):
1375         * gst/gstmessage.h:
1376         Mark the debug string parameters as const. Fixes bug #533490.
1377
1378 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
1379
1380         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1381         Sort buffer cache list by end offsets. This makes sure that we don't
1382         stop to search for a cached buffer that contains the requested data
1383         too early.
1384         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1385         more efficient. Fixes bug #459862.
1386
1387 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
1388
1389         * gst/gstinfo.c:
1390           Explain why we copy the list.
1391
1392         * gst/gstpipeline.c:
1393           Improve docs.
1394
1395         * gst/gstutils.c:
1396           Add one debug-log statement to help tracing probelms with linking pads.
1397
1398 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
1399
1400         * tests/check/gst/gstinfo.c:
1401         Add a test for removing the default log handler. Seems to fail under
1402         windows.
1403
1404 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1405
1406         * gst/gstpad.c: (gst_pad_peer_accept_caps):
1407         Release pad lock before calling out to avoid a possible deadlock.
1408
1409 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1410
1411         * gst/parse/grammar.y:
1412         Remove unneeded value unset.
1413
1414         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1415         Add unit test for de/serialization of caps.
1416
1417 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1418
1419         * plugins/elements/gstfakesink.c:
1420         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1421         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1422         (gst_fake_src_class_init):
1423         Use custom marshalers that take GstMiniObject as first parameter.
1424         Using OBJECT as parameter while a GstMiniObject is given will lead
1425         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1426
1427 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1428
1429         * plugins/elements/gsttypefindelement.c:
1430         (gst_type_find_element_handle_event),
1431         (gst_type_find_element_send_cached_events),
1432         (gst_type_find_element_change_state):
1433         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1434         immediately.
1435
1436 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1437
1438         * plugins/elements/gsttypefindelement.c:
1439         (gst_type_find_handle_src_query), (stop_typefinding),
1440         (gst_type_find_element_handle_event),
1441         (gst_type_find_element_send_cached_events),
1442         (gst_type_find_element_change_state):
1443         Forward FLUSH_START events immediately and clean up instead of
1444         caching them.
1445
1446 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1447
1448         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1449
1450         * libs/gst/base/gstbasetransform.c:
1451         (gst_base_transform_buffer_alloc):
1452         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1453         fall back to default negotiation in the chain function if the caps
1454         are different from what was requested. Fixes bug #526768.
1455
1456 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1457
1458         * gst/gstsegment.c:
1459         * tests/check/gst/gstsegment.c:
1460           No, let's not use g_slice_{dup|copy} here, since they only exist
1461           since GLib 2.14 and we still depend only on >= 2.12. Also add
1462           unit test for gst_segment_copy().
1463
1464 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1465
1466         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1467           Try to fix 'dereferencing type-punned pointer will break strict
1468           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1469           changed the default GType typedef from gulong to gsize at some point,
1470           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1471           g_once_* functions all take a gsize * though, so work around the type
1472           mismatch for C++ by doing everything in gsize and casting to GType
1473           later.
1474
1475 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
1476
1477         * plugins/elements/gstmultiqueue.c:
1478         Add documentation for the signals to push our core plugin docs
1479         coverage back up to 100%.
1480
1481 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1482
1483         * gst/gstinfo.h (GST_FUNCTION):
1484           Reverted GST_FUNCTION to the old version as we don't want the
1485           full signature in C++ code. Also added support for MSVC.
1486
1487 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1488
1489         * gst/gstutils.h:
1490         Intern the type name string, similar to what G_DEFINE_TYPE does.
1491
1492 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1493
1494         * gst/gstutils.h:
1495         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1496
1497 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1498
1499         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1500
1501         * libs/gst/base/gstbasetransform.c:
1502         (gst_base_transform_buffer_alloc):
1503         Don't passthrough buffer allocation too easily if the caps change.
1504         This breaks when working in passthrough mode and upstream changes
1505         it's caps. Fixes bug #526768.
1506
1507 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1508
1509         * gst/gstinfo.c (gst_debug_log_valist):
1510           Improved the __FILE__ part of debug output for MSVC.
1511
1512 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1513
1514         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1515           Declaration after statement fix for compilers like MSVC.
1516
1517 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1518
1519         * win32/common/config.h.in:
1520           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1521           use the real thing than having "???" unconditionally.
1522
1523 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1524
1525         * gst/gstinfo.h (GST_FUNCTION):
1526           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1527
1528 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1529
1530         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1531         Small code cleanup.
1532
1533         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1534         (gst_base_sink_set_flushing):
1535         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1536         Fix some comments.
1537
1538 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1539
1540         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1541         (gst_fake_src_init), (gst_fake_src_set_property),
1542         (gst_fake_src_get_property), (gst_fake_src_start):
1543         * plugins/elements/gstfakesrc.h:
1544         Added format property to control the format of the newsegment events.
1545         API: GstFakeSrc:format
1546
1547 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1548
1549         * win32/common/libgstreamer.def:
1550         Add gst_pad_has_name() to the exported symbols.
1551
1552 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1553
1554         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1555         * libs/gst/base/gstbasetransform.c:
1556         (gst_base_transform_prepare_output_buffer):
1557         Don't allow negative sizes when allocating new buffers.
1558         Fixes bug #461253.
1559
1560 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1561
1562         Patch by: Sjoerd Simons <sjoerd at luon net>
1563
1564         * gst/gstbus.c: (gst_bus_source_dispatch):
1565           Don't print a warning if the queue is empty when we try to pop
1566           here. That could happen if another thread or callback set the
1567           bus to flushing between the source's check/prepare and the
1568           dispatch being called (#531538).
1569
1570 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1571
1572         * plugins/elements/gstmultiqueue.c:
1573           Small docs fix.
1574         
1575 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1576
1577         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1578         Add unit test for deserializing uint64s and check some really large
1579         numbers in the int64 test.
1580
1581 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1582
1583         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1584         (print_interfaces), (print_element_properties_info),
1585         (print_signal_info):
1586         Use "%s" as format string instead of printing strings directly.
1587
1588 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1589
1590         * gst/gstclock.c: (gst_clock_set_calibration):
1591         Make some checks actually useful.
1592
1593         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1594         Remove some unused code. Unsigned integers tend to be >= 0.
1595
1596 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1597
1598         * gst/gstminiobject.c: (gst_value_get_mini_object):
1599           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1600           function was not in the unscheduled 0.10.19 release.
1601
1602 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1603
1604         * gst/gstregistry.c: (gst_registry_scan_path_level):
1605           Only print one log message per non-plugin file.
1606
1607 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1608
1609         * gst/gstinfo.c: (gst_debug_log_default):
1610           Fix alignment of debug log columns on 64-bit.
1611
1612 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1613
1614         * docs/libs/Makefile.am:
1615         * docs/libs/gstreamer-libs-sections.txt:
1616           Ignore private controller headers for docs.
1617
1618 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1619
1620         * libs/gst/controller/gstcontrollerprivate.h:
1621         * libs/gst/controller/gsthelper.c:
1622         * libs/gst/controller/gstinterpolation.c:
1623         * libs/gst/controller/gstinterpolationcontrolsource.c:
1624         (gst_interpolation_control_source_set_interpolation_mode):
1625         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1626         * libs/gst/controller/lib.c:
1627         Move some private declarations into private headers.
1628
1629 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1630
1631         * gst/gstdebugutils.c: (debug_dump_element_pad):
1632         Remove some code that is unused after Stefan's refactoring and uses
1633         uninitialized variables now, resulting in a compiler warning.
1634
1635 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1636
1637         * gst/gstregistry.c: (gst_registry_scan_path_level):
1638           Run g_str_has_suffix() only on the file name, not the
1639           entire file path.
1640
1641 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1642
1643         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1644           Since we're not called only from the chain function any longer,
1645           we can't assume that there's always data in the queue, so move
1646           the is_full check to the beginning of the loop (otherwise we'd
1647           hit the assert when changing the limit properties while the
1648           queue is empty or not running yet).
1649           Also, only set a discont if items were actually removed from
1650           the queue.
1651
1652         * tests/check/elements/queue.c: (test_leaky_downstream):
1653           Test case for the above.
1654
1655 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1656
1657         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1658
1659         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1660         (gst_queue_chain), (queue_capacity_change),
1661         (gst_queue_set_property):
1662         When changing thr max capacity of a leaky queue, immediatly drop buffers
1663         instead of waiting for a push on the sinkpad. Fixes #530637.
1664
1665 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1666
1667         * gst/gstdebugutils.c:
1668           Refactor code and fix handling of ghostpads and their proxypads.
1669
1670 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1671
1672         * docs/gst/gstreamer-sections.txt:
1673         * gst/gstevent.c: (gst_event_has_name):
1674         * gst/gstevent.h:
1675         * tests/check/gst/gstevent.c: (GST_START_TEST):
1676         Add method to conveniently check the name of a custom event with
1677         gst_event_has_name().
1678         Reformat the event docs so that related methods are put together instead
1679         of the default alphabetical sort.
1680         Update unit test with new method.
1681         API: GstEvent::gst_event_has_name()
1682
1683 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1684
1685         * libs/gst/check/Makefile.am:
1686           Don't add an explicit link to libgstreamer-0.10.la; it's already
1687           included in GST_OBJ_LIBS.
1688
1689 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1690
1691         * gst/gst.c:
1692         Register GstClock type from a type-safe context. Fixes bug #530317.
1693
1694 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1695
1696         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1697         * tools/gst-run.c:
1698           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1699
1700 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1701
1702         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1703         (gst_bin_dispose):
1704         Use the GLib stuff to create a private structure.
1705         Add some locking around some dispose methods to make them a little
1706         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1707
1708 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1709
1710         * libs/gst/base/gstbasesink.h:
1711         * libs/gst/base/gstbasesrc.h:
1712         * libs/gst/base/gstbasetransform.h:
1713         * libs/gst/base/gstcollectpads.h:
1714           Fix doc typos and unify caps a bit.
1715
1716 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1717
1718         * tools/gst-launch.1.in:
1719           Forgot to also add the envvar docs here.
1720
1721 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1722
1723         * gst/gst.c: (init_post), (gst_deinit):
1724         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1725           (test_concurrent_create), (gst_pipeline_suite):
1726           Ref some more classes in gst_init() to work around thread-safety
1727           issues in pre-2.16 GLibs, and add basic unit test.
1728
1729 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1730
1731         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1732         (gst_base_sink_send_event):
1733         Rearrange the latency query code. We always want to do the upstream
1734         query, even if we are not live so that the upstream elements can get the
1735         latency results too. If we fail doing the query and we are live, we
1736         return TRUE afterwards.
1737
1738 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1739
1740         patch by: Jason Zhao <e3423c@motorola.com>
1741
1742         * docs/gst/running.xml:
1743         * gst/gst.c:
1744           Enable/disable scan_and_update_registry() based on commandline switch
1745           or environment variable. Fixes #520468.
1746           
1747         * ChangeLog:
1748           Fix typo in my previous commit.
1749
1750 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1751
1752         * gst/gstregistrybinary.c:
1753           Add a warning if we hit unhandled factories when saving.
1754           More debug logging detail, but move to LOG category.
1755
1756 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1757
1758         * gst/gstregistry.c:
1759           Tell the *truth* when improving the documentation.
1760
1761 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1762
1763         * gst/gstelementfactory.c: (gst_element_factory_make):
1764         Unref the factory after it was used the last time, not before.
1765
1766         * gst/gstindexfactory.c: (gst_index_factory_make):
1767         Improve debugging a bit and don't leak a ref to the index factory with
1768         each call.
1769
1770 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1771
1772         * gst/gstregistry.c:
1773           Improve the documentation.
1774
1775 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1776
1777         * gst/gstsegment.c:
1778           The glib macro seems to be borked. Use g_slice_copy directly and cast
1779           in the hope that this fixes the warning on 64bit.
1780
1781 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1782
1783         * gst/gstsegment.c:
1784           Document the new function. Use g_slice_dup() (no need for
1785           gst_segment_init()).    
1786
1787 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1788
1789         * docs/gst/gstreamer-sections.txt:
1790           Move GParamSepc macros to standart section.
1791   
1792         * gst/gstbin.c:
1793           Dn't document _get_type - its in private section in docs anyway and
1794           this doc-blob was incomplete.
1795
1796         * gst/gstclock.h:
1797           Fix wrong symbol names in docs.
1798
1799         * gst/gstmacros.h:
1800           Add once doc sentence.
1801
1802         * tests/check/gst/.cvsignore:
1803           Ignore more.
1804
1805 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1806
1807         * docs/gst/Makefile.am:
1808           And remove those libs here.
1809
1810 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1811
1812         * docs/libs/Makefile.am:
1813           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1814
1815 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1816
1817         Patch by: Olivier Crete <tester at tester dot ca>
1818
1819         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1820         Add the min-threshold to the min latency if possible. Fixes #529148.
1821
1822 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1823
1824         * docs/gst/gstreamer.types.in:
1825           Stupid editor, I removed that line as it should go in yet.
1826
1827 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1828
1829         * docs/gst/gstreamer.types.in:
1830         * docs/libs/gstreamer-libs.types:
1831           Remove library types fro core docs and have them in libs docs.
1832           Reformat and cleanup. Add comment for miniobject types.
1833
1834 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1835
1836         * gst/gsturi.c: (gst_uri_get_protocol):
1837           Fix leak: g_strdown operates on the string in place, while
1838           g_ascii_strdown() returns a newly-allocated string.
1839
1840 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1841
1842         * tools/gst-inspect.c: (print_uri_handler_info),
1843         (print_element_info):
1844         Print the URI protocols and the URI type supported by the element.
1845
1846 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1847
1848         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1849         Use g_value_take_string() instead of the deprecated
1850         g_value_set_string_take_ownership().
1851
1852 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1853
1854         * gst/gstregistrybinary.c: (_gst_crc32):
1855         Return the old CRC instead of 0 if we give a NULL buffer
1856         or a buffer with a length of 0.
1857
1858 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1859
1860         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1861         (gst_uri_get_protocol), (gst_uri_has_protocol),
1862         (gst_uri_construct), (gst_uri_handler_set_uri):
1863         A valid URI scheme can also include '+', '-' and '.' additional
1864         to alphanumeric characters as per RFC 3986 Section 3.1.
1865
1866         Handle URI schemes case insensitive in all places and convert
1867         to lower-case when constructing an URI or setting an URI with
1868         the GstURIHandler interface. Fixes bug #528868.
1869         All elements can still assume (as before) that they will
1870         get passed URIs with a lower-case URI scheme by the GstURIHandler
1871         interface.
1872
1873 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1874
1875         * gst/gstcaps.c: (gst_static_caps_get):
1876         * gst/gstclock.c: (gst_clock_entry_new):
1877           Don't use g_atomic_set_int where it's not needed.
1878
1879 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1880
1881         * gst/gstvalue.c: (gst_value_deserialize_caps):
1882         * gst/parse/grammar.y:
1883         Fix 2 caps leaks.
1884
1885 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1886
1887         * gst/gstutils.c: (gst_atomic_int_set):
1888         Use g_atomic_int_set() here too instead of assignment +
1889         g_atomic_int_get().
1890
1891 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1892         
1893         * gst/gstutils.c:
1894         * gst/gstutils.h:
1895         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1896         now that we depend on new enough GLib.
1897
1898         * gst/gstcaps.c: (gst_static_caps_get):
1899         * gst/gstclock.c: (gst_clock_entry_new):
1900         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1901         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1902         (gst_debug_category_set_threshold):
1903         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1904         (gst_base_sink_set_qos_enabled):
1905         * libs/gst/net/gstnettimeprovider.c:
1906         (gst_net_time_provider_set_property):
1907         Use g_atomic_int_set() instead of gst_atomic_int_set().
1908
1909 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1910
1911         * gst/gstquery.c:
1912           Also use G_GINT64_CONSTANT for the queries.
1913
1914 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1915
1916         * gst/gstmessage.c:
1917           Use G_GINT64_CONSTANT in varargs function.
1918
1919 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1920
1921         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1922         Initialize the registry magic with zeroes.
1923
1924 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1925
1926         * gst/gstregistrybinary.c: (_gst_crc32),
1927         (gst_registry_binary_write),
1928         (gst_registry_binary_initialize_magic),
1929         (gst_registry_binary_write_cache),
1930         (gst_registry_binary_check_magic),
1931         (gst_registry_binary_read_cache):
1932         * gst/gstregistrybinary.h:
1933         Add crc32 checksum to the binary registry file and check this before
1934         accepting a registry file.
1935
1936         Also free the data list when writing to the registry file fails.
1937
1938 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1939
1940         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1941         (gst_registry_binary_load_feature),
1942         (gst_registry_binary_load_plugin):
1943         If an element supports the Uri interface, returns a valid pointer
1944         to the supported URI protocols but this pointer contains nothing
1945         don't try to save that as it will corrupt the registry.
1946
1947         Don't unref the plugin if we added it to the registry already but
1948         fail to load a feature as gst_registry_add_plugin() takes ownership
1949         of the plugin.
1950
1951         Improve debugging a bit.
1952
1953 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1954
1955         * gst/gsttaglist.h:
1956           Clarify some tag item docs after discussion on irc.
1957
1958 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1959
1960         * docs/gst/gstreamer-docs.sgml:
1961           Remove commented out plugins (they have their own docs). Update
1962           comments.
1963
1964 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1965
1966         * docs/gst/gstreamer-docs.sgml:
1967         * docs/gst/gstreamer-sections.txt:
1968         * gst/gstparamspecs.c:
1969         * gst/gstparamspecs.h:
1970           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1971           docs to own section.
1972
1973         * gst/gstvalue.c:
1974           This now only documents GValue.
1975           
1976         * docs/libs/gstreamer-libs-sections.txt:
1977         * libs/gst/controller/gstcontroller.h:
1978           Remove GST_PARAM_CONTROLLABLE.
1979
1980 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1981
1982         * docs/README:
1983           Correct file path. Tell about how to use -overrides.txt.
1984         * docs/design/draft-tagreading.txt:
1985           Small design update.
1986
1987 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1988
1989         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1990         (gst_registry_binary_load_plugin):
1991         Fix a typo in a debug message and revert change from yesterday as
1992         gst_registry_add_plugin() will only fail if something is really wrong
1993         already and we can't survive it anyway.
1994
1995 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1996
1997         * gst/gst.c: (init_post), (gst_deinit):
1998           Pre-register GstGError GType from a thread-safe context
1999           (fixes #527967); unref enum type classes in deinit.
2000
2001 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
2002
2003         Patch by: Rene Stadler <mail at renestadler de>
2004
2005         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2006           Merging an empty list with another list in KEEP_ALL mode should
2007           yield an empty list as result and not the second list (#512578).
2008
2009         * tests/check/gst/gsttagsetter.c:
2010           Add unit test for tag merge modes and the aforementioned bug.
2011
2012 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
2013
2014         Patch by: Rene Stadler <mail at renestadler de>
2015
2016         * gst/gsttaglist.h:
2017           Fix description to match the order in the table (#512577).
2018   
2019 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
2020
2021         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
2022
2023         * libs/gst/net/gstnettimepacket.h:
2024         * docs/libs/gstreamer-libs-sections.txt:
2025           Define socklen_t as int if it's not defined yet. Fixes compilation
2026           with MSVC6 and other versions where socklen_t is not defined in
2027           the windows headers (#518022).
2028
2029 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
2030
2031         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2032         If gst_registry_add_plugin() fails our reference to the plugin is
2033         invalid so don't try to use it anymore and instead error out.
2034
2035 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
2036
2037         * tools/gst-xmlinspect.c: (print_element_info), (main):
2038           De-cruft a bit. If no argument is specified, print all elements in
2039           XML syntax rather than a freestyle list of elements like gst-inspect.
2040           Also, don't print XML header chunk unless we actually have something
2041           to print (ie. don't print it before an error message); print error
2042           message to stderr not stdout. Remove support for printing plugin
2043           info (it would just output something freestyle along the lines of
2044           gst-inspect so far), which fixes #514507. Also add license header.
2045
2046 2008-04-11  Julien Moutte  <julien@fluendo.com>
2047
2048         Mac OS X love...
2049         * configure.ac: Merge platform specific defines, introduce a new
2050         define on OS X to remember that forking when updating registry is
2051         unsafe.
2052         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
2053         module.
2054         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
2055         is defined.
2056         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
2057         condition that leads to absolutely no plugins being registered on
2058         OS X.
2059
2060 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
2061
2062         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2063
2064         * gst/gstutils.c: (gst_pad_add_data_probe),
2065           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
2066           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
2067           (gst_pad_add_buffer_probe_full):
2068         * gst/gstutils.h:
2069         * docs/gst/gstreamer-sections.txt:
2070         * win32/common/libgstreamer.def:
2071           Add gst_pad_add_*_probe_full() functions with a notify callback that
2072           lets the caller free the data it passes to the probe functions. This
2073           is useful for bindings such as gst-python or gstreamermm (#526814).
2074           API: gst_pad_add_data_probe_full
2075           API: gst_pad_add_buffer_probe_full
2076           API: gst_pad_add_event_probe_full
2077
2078         * tests/check/gst/gstutils.c:
2079           Add minimal unit test to make sure freeing the data actually works
2080           as expected.
2081
2082         * tests/benchmarks/.cvsignore:
2083           Random cvsignore addendum.
2084
2085 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
2086
2087         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
2088           (GST_DEBUG_BIN_TO_DOT_FILE):
2089           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
2090           to it in the docs (since these are macros the types of the arguments
2091           won't be shown in the docs otherwise).
2092
2093 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
2094
2095         * gst/gstpad.c:
2096           Do not abort on out of memory for pad_alloc_buffer.
2097
2098 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
2099
2100         * libs/gst/check/gstcheck.c:
2101           Remove blank line between symbol name ad parameters to fix gtkdoc
2102           warning.
2103
2104 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2105
2106         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
2107
2108         * docs/gst/gstreamer-sections.txt:
2109         * gst/gstsegment.c:
2110         * gst/gstsegment.h:
2111         * win32/common/libgstreamer.def:
2112           Expose gst_segment_copy() to make things easier for the c++ bindings.
2113           Fixes #518932.
2114           API: gst_segment_copy()
2115
2116 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2117
2118         * gst/gst.c: (gst_init_get_option_group), (init_post):
2119           Fix const position; ref GType classes for enum types to work
2120           around thread-safety issues in GLib versions < 2.16.
2121
2122 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2123
2124         * docs/design/part-buffering.txt:
2125         Fix some typos and set the estimated total for push mode to -1.
2126
2127         * gst/gstquery.c: (gst_query_new_buffering):
2128         Set buffering-left to 0 as we're not buffering by default.
2129
2130         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2131         Implement BUFFERING query.
2132
2133 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2134
2135         Based on patch by: Milosz Derezynski <internalerror gmail com>
2136
2137         * gst/gsterror.c: (_gst_stream_errors_init):
2138         * gst/gsterror.h:
2139           Add two new error codes for encrypted content. Fixes #524659.
2140           API: GST_STREAM_ERROR_DECRYPT
2141           API: GST_STREAM_ERROR_DECRYPT_NOKEY
2142
2143 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2144
2145         * gst/gstquery.h:
2146           Fix typo.
2147
2148         * win32/common/libgstreamer.def:
2149           Add new functions.
2150
2151 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
2152
2153         * plugins/elements/gstidentity.c: (gst_identity_event),
2154         (gst_identity_start):
2155         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
2156         event after processing some data. Fixes bug #526042.
2157
2158 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2159
2160         * docs/gst/gstreamer-sections.txt:
2161         * gst/gstquery.c: (gst_query_parse_latency),
2162         (gst_query_set_buffering_percent),
2163         (gst_query_parse_buffering_percent),
2164         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
2165         * gst/gstquery.h:
2166         Rename _avail -> _range
2167         API: gst_query_set_buffering_range
2168         API: gst_query_parse_buffering_range
2169
2170 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2171
2172         * docs/design/part-buffering.txt:
2173         * gst/gstquark.c:
2174         * gst/gstquark.h:
2175         * gst/gstquery.c: (gst_query_parse_latency),
2176         (gst_query_new_buffering), (gst_query_set_buffering_percent),
2177         (gst_query_parse_buffering_percent):
2178         * gst/gstquery.h:
2179         Add busy field and quark for the buffering query so that the app can
2180         only use the query to see if buffering is in progress.
2181
2182 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2183
2184         * docs/gst/gstreamer-sections.txt:
2185         * gst/gstmessage.c: (gst_message_set_buffering_stats),
2186         (gst_message_parse_buffering_stats):
2187         * gst/gstmessage.h:
2188         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2189         (gst_query_parse_latency), (gst_query_new_buffering),
2190         (gst_query_set_buffering_percent),
2191         (gst_query_parse_buffering_percent),
2192         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
2193         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
2194         * gst/gstquery.h:
2195         Reorder the message docs and headers for clarity.
2196         Add aditional buffering stats API for messages.
2197         Add buffering query.
2198         Convert some leftover queries to use GstQuark.
2199         API: gst_message_set_buffering_stats
2200         API: gst_message_parse_buffering_stats
2201         API: GST_QUERY_BUFFERING
2202         API: GstBufferingMode
2203         API: gst_query_new_buffering
2204         API: gst_query_set_buffering_percent
2205         API: gst_query_parse_buffering_percent
2206         API: gst_query_set_buffering_stats
2207         API: gst_query_parse_buffering_stats
2208
2209 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2210
2211         * gst/gstmessage.c: (gst_message_new_error),
2212         (gst_message_new_warning), (gst_message_new_info),
2213         (gst_message_new_buffering), (gst_message_new_state_changed),
2214         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
2215         (gst_message_new_new_clock), (gst_message_new_segment_start),
2216         (gst_message_new_segment_done), (gst_message_new_duration),
2217         (gst_message_new_async_start), (gst_message_parse_buffering),
2218         (gst_message_parse_state_changed),
2219         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2220         (gst_message_parse_new_clock), (gst_message_parse_error),
2221         (gst_message_parse_warning), (gst_message_parse_info),
2222         (gst_message_parse_segment_start),
2223         (gst_message_parse_segment_done), (gst_message_parse_duration),
2224         (gst_message_parse_async_start):
2225         Use GstQuark for messages.
2226
2227 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2228
2229         * gst/gstquark.c: (_priv_gst_quarks_initialize):
2230         * gst/gstquark.h:
2231         Add some more quarks needed for messages and queries.
2232
2233 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2234
2235         * docs/design/part-buffering.txt:
2236         Remove the "none" buffering mode, STREAM is a good default.
2237         Move estimated-time to the avail query, that's when it will be needed.
2238         Other small typo fixes and updates.
2239
2240 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
2241
2242         * gst/gstindex.c: (gst_index_resolver_get_type):
2243           Don't put descriptions into the nick field of a GEnumValue: it's not
2244           meant for that and some language bindings rely on the nick field to
2245           construct constants and the like. Fixes #526705.
2246
2247 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
2248
2249         * NEWS:
2250         * RELEASE:
2251         * gstreamer.doap:
2252           Merge other changes from 0.10.19 release branch.
2253
2254 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
2255
2256         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2257
2258         * configure.ac:
2259         Actually build dlls when cross-compiling with mingw32.
2260         Fixes bug #526247.
2261
2262 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
2263
2264         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2265
2266         * gst/gstpoll.c:
2267         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
2268
2269 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2270
2271         * docs/design/draft-latency.txt:
2272         Fix typo.
2273
2274         * docs/design/part-buffering.txt:
2275         Update design docs with more buffering ideas.
2276
2277 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
2278
2279         * configure.ac:
2280           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2281
2282 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2283
2284         * configure.ac:
2285           Revert part that belongs to the preset patch.
2286
2287 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2288
2289         * configure.ac:
2290           Add qoutes to the define. Fixes # 525961.
2291
2292 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
2293
2294         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2295         (gst_file_index_load), (gst_file_index_add_id),
2296         (gst_file_index_get_assoc_entry):
2297         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2298         (gst_mem_index_free_id), (gst_mem_index_add_id),
2299         (gst_mem_index_index_format):
2300         Use GSlice when possible.
2301
2302 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
2303
2304         * libs/gst/controller/gstinterpolationcontrolsource.c:
2305         (gst_control_point_free),
2306         (gst_interpolation_control_source_set_internal):
2307         Use GSlice for allocating the control points.
2308
2309 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
2310
2311         * plugins/elements/gsttypefindelement.c:
2312         (gst_type_find_element_class_init),
2313         (gst_type_find_element_set_property),
2314         (gst_type_find_element_get_property),
2315         (gst_type_find_element_activate):
2316         * plugins/elements/gsttypefindelement.h:
2317         Cleanup properties.
2318         Fix pad leak when peer query fails.
2319         We can still typefind when the peer returns -1.
2320         Add property to force caps and bypass typefinding. This will be used in
2321         uridecodebin.
2322         API::force-caps
2323
2324 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2325
2326         * configure.ac:
2327         Require GLib 2.12.
2328
2329         * gst/glib-compat-private.h:
2330         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2331         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2332         Unconditionally use GSlice for allocation.
2333
2334         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2335         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2336         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2337         (gst_structure_free):
2338         Use GSlice for allocation.
2339
2340 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2341
2342         * gst/parse/Makefile.am:
2343         * gst/parse/grammar.tab.pre.c:
2344         * gst/parse/grammar.tab.pre.h:
2345         * gst/parse/lex._gst_parse_yy.pre.c:
2346         Require a new enough flex and bison and remove the parser hacks to use
2347         a pre-regenerated version.
2348
2349 2008-04-01  Julien Moutte  <julien@fluendo.com>
2350
2351         patch by: Jason Zhao <E3423C@motorola.com>
2352
2353         * configure.ac: Add a configure switch to disable option parsing
2354         in gst_init.
2355         Fixes #522882.
2356
2357 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2358
2359         * configure.ac:
2360         * gst/gstregistry.c:
2361           MacOS has plugins under .so or under .dylib. Add detection for MacOS
2362           and handle this case.
2363
2364         * gst/gst.c:
2365           Add a comment here describing, why we stat each plugin and not try to
2366           be smart.
2367
2368 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
2369
2370         * libs/gst/base/gstbasetransform.c:
2371         (gst_base_transform_prepare_output_buffer):
2372         Also unset the GAP flag on buffers if we're working inplace but
2373         the element is not GAP-aware.
2374
2375         Mark a comment as FIXME 0.11.
2376
2377 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2378
2379         * gst/gst.c:
2380           Fix type in log message and add one to ease seeing how long registry
2381           cache verification takes.
2382
2383         * gst/gstregistry.c:
2384           Only test plugin filenames against G_MODULE_SUFFIX.
2385
2386 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2387
2388         * gst/gstdebugutils.c:
2389           Improve handling ghost/proxy pads.
2390
2391 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
2392
2393         * docs/gst/gstreamer-sections.txt:
2394         * gst/gstpad.c:
2395         * gst/gstpad.h:
2396           Expose macro to docs and fix link to it.
2397
2398 2008-03-27  Michael Smith <msmith@fluendo.com>
2399
2400         * libs/gst/dataprotocol/dataprotocol.c:
2401         (gst_dp_packet_from_event_1_0):
2402           When calculating GDP body CRC, use the correct pointer. 
2403           Fixes part of #522401.
2404
2405 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2406
2407         Patch by: Mark Nauwelaerts <manauw at skynet be>
2408
2409         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2410         (gst_identity_init), (gst_identity_prepare_output_buffer):
2411         Identity is not always a passthrough element, it can modify the buffer
2412         timestamps when it has a datarate and operates in single-segment mode.
2413         We therefore make it an in_place filter with a custom buffer prepare
2414         function that conditionally makes the input buffer metadata writable
2415         when needed.  Fixes #523985.
2416
2417 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2418
2419         Patch by: Mark Nauwelaerts <manauw at skynet be>
2420
2421         * gst/gstclock.h:
2422         * libs/gst/base/gstbasesrc.h:
2423         * libs/gst/base/gstbasetransform.c:
2424         * libs/gst/check/gstcheck.c:
2425         Small documentation fixes. Fixes #523978.
2426
2427 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2428
2429         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2430         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2431         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2432
2433 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2434
2435         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2436         (single_queue_underrun_cb):
2437         When trying to make room in the queue, bump the max allowed buffers
2438         bigger than the current amount of buffers in the queue. this fixes some
2439         nasty deadlocks in multiqueue when dynamically changing the limits of
2440         the queue.
2441
2442 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2443
2444         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
2445
2446         * gst/gstcaps.c: (gst_caps_set_simple),
2447         (gst_caps_set_simple_valist), (gst_caps_intersect):
2448         * gst/gstcaps.h:
2449         Constify the field gchar * params in set_simple and friends.
2450         Fixes #522326.
2451
2452 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2453
2454         * gst/gstvalue.c: (gst_value_transform_object_string):
2455         Transform a GstObject to a more meaningfull string that includes the
2456         object type in addition to its name.
2457
2458 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
2459
2460         * ChangeLog:
2461           ChangeLog surgery to add bugnumber to commit.
2462
2463 2008-03-23  Rene Stadler  <mail@renestadler.de>
2464
2465         * libs/gst/base/gstbasetransform.c:
2466         (gst_base_transform_set_gap_aware): Fix confusing documentation.
2467
2468 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2469
2470         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2471         Rename constant everywhere and don't forget one occurence.
2472
2473 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2474
2475         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2476         Align memory to the pointer size even if the architecture allows
2477         unaligned memory access. Unaligned memory access usually comes with
2478         performance penality.
2479
2480 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2481
2482         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2483         (gst_registry_binary_check_magic),
2484         (gst_registry_binary_load_pad_template),
2485         (gst_registry_binary_load_feature),
2486         (gst_registry_binary_load_plugin):
2487         Align memory to the pointer size instead of always 32 bit. Fixes
2488         unaligned memory accesses on ia64 and friends.
2489
2490         * gst/gstregistrybinary.h:
2491         Bump binary registry format version for this as it changes the
2492         format on those architectures that don't have unaligned access
2493         and 64 bit pointers.
2494
2495 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2496
2497         * docs/pwg/advanced-dparams.xml:
2498         * docs/pwg/building-props.xml:
2499         * docs/pwg/other-source.xml:
2500         * gst/glib-compat.h:
2501         * gst/gstbin.c: (gst_bin_class_init):
2502         * gst/gstclock.c: (gst_clock_class_init):
2503         * gst/gstindex.c: (gst_index_class_init):
2504         * gst/gstobject.c: (gst_object_class_init):
2505         * gst/gstpad.c: (gst_pad_class_init):
2506         * gst/gstpipeline.c: (gst_pipeline_class_init):
2507         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2508         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2509         * libs/gst/base/gstbasetransform.c:
2510         (gst_base_transform_class_init):
2511         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2512         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2513         (_gst_check_fault_handler_sighandler),
2514         (_gst_check_fault_handler_setup), (gst_check_init):
2515         * libs/gst/controller/gstcontroller.c:
2516         (_gst_controller_class_init):
2517         * libs/gst/controller/gstlfocontrolsource.c:
2518         (gst_lfo_control_source_class_init):
2519         * libs/gst/net/gstnetclientclock.c:
2520         (gst_net_client_clock_class_init):
2521         * libs/gst/net/gstnettimeprovider.c:
2522         (gst_net_time_provider_class_init):
2523         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2524         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2525         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2526         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2527         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2528         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2529         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2530         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2531         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2532         * plugins/elements/gstqueue.c: (gst_queue_class_init):
2533         * plugins/elements/gsttee.c: (gst_tee_class_init):
2534         * plugins/elements/gsttypefindelement.c:
2535         (gst_type_find_element_class_init):
2536         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2537         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2538         use it everywhere for GParamSpecs that use static strings (i.e. all).
2539         This gives us less memory usage, fewer allocations and thus less
2540         memory defragmentation. Fixes bug #523806.
2541
2542 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2543
2544         * gst/gstminiobject.c: (gst_value_dup_mini_object),
2545         (gst_param_spec_mini_object):
2546         * gst/gstminiobject.h:
2547         * win32/common/libgstreamer.def:
2548         * docs/gst/gstreamer-sections.txt:
2549         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2550         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2551         GstParamSpecMiniObject into a public header for this.
2552
2553         This make GstMiniObject a bit more consistent with GObject and makes
2554         it possible to extend the param specs.
2555
2556         gst_value_dup_mini_object is mainly useful for set_property methods.
2557
2558         Fixes bug #523798.
2559
2560         * tools/gst-inspect.c: (print_element_properties_info):
2561         Print something useful for GstMiniObject properties and not just
2562         "unknown type".
2563
2564 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2565
2566         * docs/gst/gstreamer-sections.txt:
2567         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2568         (gst_registry_binary_check_magic):
2569         * gst/gstregistrybinary.h:
2570         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2571         and add it to the (private part) of the docs to fix the build.
2572
2573 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2574
2575         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2576         (gst_registry_binary_check_magic),
2577         (gst_registry_binary_read_cache):
2578         * gst/gstregistrybinary.h:
2579         Don't use GST_MAJORMINOR for the binary registry version. Instead
2580         hardcode a value that must be changed whenever the format changes
2581         in an incompatible way.
2582         Also don't GST_ERROR when there is a version mismatch, just
2583         regenerate the registry silently.
2584
2585 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2586
2587         * configure.ac:
2588         Back to development - 0.10.18.1
2589
2590 === release 0.10.18 ===
2591
2592 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2593
2594         * configure.ac:
2595           releasing 0.10.18, "So far away"
2596
2597 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2598
2599         * configure.ac:
2600         * win32/common/config.h:
2601         0.10.17.4 pre-release
2602
2603 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2604
2605         Patch by: Ole André Vadla Ravnås
2606             <ole dot andre dot ravnas at tandberg dot com>
2607
2608         * docs/gst/gstreamer-sections.txt:
2609         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2610         (gst_poll_update_winsock_event_mask),
2611         (gst_poll_prepare_winsock_active_sets),
2612         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2613         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2614         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2615         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2616         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2617         * gst/gstpoll.h:
2618         * win32/common/libgstreamer.def:
2619         Add new function gst_poll_fd_ignored() for improved Windows
2620         compatibility.
2621         Various minor fixes and cleanups. See #520808.
2622
2623 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2624
2625         * gst/gstindex.c: (gst_index_entry_free):
2626         * gst/gstindex.h:
2627           Don't free key strings which we don't own. Fixes crash in
2628           gst_index_entry_free() (#522741).
2629
2630         * tests/check/Makefile.am:
2631         * tests/check/gst/.cvsignore:
2632         * tests/check/gst/gstindex.c: (test_index_entries),
2633           (gst_index_suite), (gst_index):
2634           Add unit test for the above.
2635
2636 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2637
2638         * win32/common/libgstreamer.def:
2639         Remove symbols that were removed recently. Fixes bug #521740.
2640
2641 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2642
2643         * configure.ac:
2644         * win32/common/config.h:
2645         0.10.17.3 pre-release
2646
2647 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2648
2649         Patch by: Ole André Vadla Ravnås
2650             <ole dot andre dot ravnas at tandberg dot com>
2651
2652         * docs/gst/gstreamer-sections.txt:
2653         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2654         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2655         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2656         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2657         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2658         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2659         (gst_poll_fd_can_write), (gst_poll_wait),
2660         (gst_poll_set_controllable), (gst_poll_restart),
2661         (gst_poll_set_flushing):
2662         * gst/gstpoll.h:
2663         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2664         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2665         (gst_net_time_provider_new):
2666         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2667         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2668         * tests/benchmarks/gstpollstress.c: (main):
2669         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2670         Remove GstPollMode from the API, it does not make sense to let the
2671         application control this.
2672         Add support for Win32.
2673         Fix the testsuite. Fixes #520671.
2674
2675 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2676
2677         Patch by: Ole André Vadla Ravnås
2678             <ole dot andre dot ravnas at tandberg dot com>
2679
2680         * gst/gstregistrybinary.c:
2681         Include io.h for write() and close() when building with MSVC. Fixes
2682         bug #520877.
2683
2684 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2685
2686         * configure.ac:
2687         * gst/gst_private.h:
2688         * gst/gstconfig.h.in:
2689         * gst/gstregistry.h:
2690         * gst/gstregistrybinary.c:
2691         * win32/common/gstconfig.h:
2692           Move registry backend API to private headers where we can. Add
2693           fixme-0.11 comments for the others. Add stubs for the xml backend when
2694           using the binary to ensure they functions exists (they should not be
2695           used though). Fixes #520756.
2696
2697 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2698
2699         * configure.ac:
2700         * win32/common/config.h:
2701         0.10.17.2 prelease
2702
2703 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2704
2705         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2706         (gst_registry_binary_read_cache):
2707         * gst/gstregistryxml.c: (gst_registry_save):
2708         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2709         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2710         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2711         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2712         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2713         Fixes #520152
2714
2715 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2716
2717         * gst/gstminiobject.c:
2718         Import gst_private.h before any other header that might include other
2719         glib headers. This fixes the build on windows using native compilers.
2720
2721 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2722
2723         * win32/common/gstconfig.h:
2724           Add here too, just for completeness.
2725
2726 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2727
2728         * configure.ac:
2729         * gst/gstconfig.h.in:
2730         * gst/gstregistry.h:
2731           Fix broken use of config.h-defined preprocessor directive in a public
2732           header file. Add a corresponding define to gstconfig.h, since we can't
2733           really remove those function declarations from the header file now
2734           (or can we? and why are they there in the first place?).
2735
2736 2008-03-03  Andy Wingo  <wingo@pobox.com>
2737
2738         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2739         the new warning.
2740
2741         * gst/gststructure.c (gst_structure_from_string): Warn if
2742         structure_from_string didn't consume the whole string, but the
2743         caller did not provide an end pointer.
2744
2745 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2746
2747         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2748
2749         * gst/gstregistryxml.c: (read_string), (load_feature):
2750           Strings allocated by libxml2 should be freed with xmlFree(), not
2751           with g_free(). Fixes issues on windows in certain contexts (#519698).
2752
2753 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2754
2755         * gst/gstinterface.c: (gst_element_implements_interface):
2756           Don't crash if the element supports the interface queried, but does
2757           not implement GstImplementsInterface. Fixes #519584.
2758
2759         * tests/check/Makefile.am:
2760         * tests/check/gst/.cvsignore:
2761         * tests/check/gst/gstinterface.c:
2762           Add unit test for the above.
2763
2764 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2765
2766         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2767         Small doc update.
2768
2769 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2770
2771         * gst/gstsegment.c: (gst_segment_set_seek),
2772         (gst_segment_to_stream_time):
2773         Improve some comment.
2774         Update variables where it makes more sense.
2775
2776 2008-02-29  Rene Stadler  <mail@renestadler.de>
2777
2778         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2779         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2780         URIHandlers implemented using language bindings.
2781
2782 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2783
2784         * gst/gstelementfactory.h:
2785         * tests/check/elements/fakesink.c:
2786         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2787         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2788         * tests/check/elements/filesink.c: (setup_filesink):
2789         * tests/check/elements/filesrc.c: (setup_filesrc):
2790         * tests/check/elements/identity.c: (setup_identity):
2791         * tests/check/elements/tee.c:
2792         * tests/check/generic/sinks.c:
2793         * tests/check/generic/states.c: (setup), (teardown):
2794         * tests/check/gst/gst.c:
2795         * tests/check/gst/gstabi.c:
2796         * tests/check/gst/gstbin.c:
2797         * tests/check/gst/gstbus.c: (pull_messages):
2798         * tests/check/gst/gstcaps.c:
2799         * tests/check/gst/gstelement.c:
2800         * tests/check/gst/gstevent.c:
2801         * tests/check/gst/gstghostpad.c:
2802         * tests/check/gst/gstiterator.c:
2803         * tests/check/gst/gstmessage.c:
2804         * tests/check/gst/gstminiobject.c: (my_foo_init):
2805         * tests/check/gst/gstobject.c: (thread_name_object),
2806         (gst_object_suite):
2807         * tests/check/gst/gstpad.c:
2808         * tests/check/gst/gstplugin.c:
2809         * tests/check/gst/gstpoll.c:
2810         * tests/check/gst/gstquery.c:
2811         * tests/check/gst/gstsegment.c:
2812         * tests/check/gst/gststructure.c:
2813         * tests/check/gst/gstsystemclock.c:
2814         * tests/check/gst/gsttask.c:
2815         * tests/check/gst/gstutils.c:
2816         * tests/check/gst/gstvalue.c:
2817         * tests/check/gst/struct_hppa.h:
2818         * tests/check/gst/struct_i386.h:
2819         * tests/check/gst/struct_ppc32.h:
2820         * tests/check/gst/struct_ppc64.h:
2821         * tests/check/gst/struct_x86_64.h:
2822         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2823         * tests/check/libs/basesrc.c:
2824         * tests/check/libs/controller.c: (GST_START_TEST):
2825         * tests/check/libs/gdp.c:
2826         * tests/check/libs/gstnetclientclock.c:
2827         * tests/check/libs/gstnettimeprovider.c:
2828         * tests/check/libs/libsabi.c:
2829         * tests/check/libs/struct_hppa.h:
2830         * tests/check/libs/struct_i386.h:
2831         * tests/check/libs/struct_ppc32.h:
2832         * tests/check/libs/struct_ppc64.h:
2833         * tests/check/libs/struct_x86_64.h:
2834         * tests/check/pipelines/cleanup.c:
2835         * tests/check/pipelines/simple-launch-lines.c:
2836         * tests/check/pipelines/stress.c:
2837         And correct even more valid sparse warnings.
2838
2839         * win32/common/libgstreamer.def:
2840         Add gst_poll_fd_init to the list of symbols.
2841
2842 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2843
2844         * gst/gstconfig.h.in:
2845         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2846         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2847         (gst_check_log_critical_func), (gst_check_drop_buffers),
2848         (gst_check_element_push_buffer_list):
2849         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2850         (gst_controller_get_type):
2851         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2852         (gst_object_get_controller), (gst_object_get_control_source):
2853         * libs/gst/controller/gstinterpolationcontrolsource.c:
2854         (gst_interpolation_control_source_new):
2855         * libs/gst/controller/gstlfocontrolsource.c:
2856         (gst_lfo_control_source_new):
2857         * libs/gst/dataprotocol/dataprotocol.c:
2858         (gst_dp_event_from_packet_0_2):
2859         * plugins/elements/gstfdsrc.c:
2860         * plugins/elements/gstmultiqueue.c:
2861         * plugins/elements/gsttee.c:
2862         * plugins/elements/gsttypefindelement.c:
2863         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2864         (gst_file_index_add_association):
2865         * plugins/indexers/gstmemindex.c:
2866         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2867         * tests/check/elements/queue.c: (setup_queue):
2868         * tests/check/gst/gstpipeline.c:
2869         * tests/check/libs/collectpads.c: (setup), (teardown),
2870         (gst_collect_pads_suite):
2871         * tests/examples/adapter/adapter_test.c:
2872         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2873         * tests/examples/xml/createxml.c:
2874         * tests/examples/xml/runxml.c:
2875         * tools/gst-inspect.c:
2876         * tools/gst-run.c:
2877         Correct all relevant warnings found by the sparse semantic code
2878         analyzer. This include marking several symbols static, using
2879         NULL instead of 0 for pointers, not using variable sized arrays
2880         on the stack, moving variable declarations to the beginning of
2881         a block and using "foo (void)" instead of "foo ()" for declarations.
2882
2883 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2884
2885         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2886         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2887         Don't reset GstPollFDs, this is not necessary at all.
2888
2889         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2890         (delayed_restart), (delayed_control):
2891         Use GST_POLL_FD_INIT.
2892
2893 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2894
2895         * gst/gstpoll.c: (gst_poll_fd_init):
2896         * gst/gstpoll.h:
2897         Added Since tags.
2898
2899         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2900         Use some more init macros.
2901
2902 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2903
2904         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2905         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2906         Use init macros and functions.
2907
2908 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2909
2910         * docs/gst/gstreamer-sections.txt:
2911         * gst/gstpoll.c: (gst_poll_fd_init):
2912         * gst/gstpoll.h:
2913         Add INIT macro and _init method for initializing the GstPollFD.
2914
2915 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2916
2917         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2918         (gst_fd_sink_update_fd):
2919         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2920         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2921         (delayed_restart), (delayed_control):
2922         Initialize some uninitialized variables as spotted by valgrind.
2923
2924 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2925
2926         * tests/benchmarks/Makefile.am:
2927         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2928         (main):
2929         Add poll stress test.
2930
2931 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2932
2933         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2934
2935         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2936         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2937         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2938         * plugins/elements/gstfdsink.h:
2939         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2940         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2941         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2942         (gst_fd_src_uri_set_uri):
2943         * plugins/elements/gstfdsrc.h:
2944         Port to GstPoll. See #505417.
2945
2946 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2947
2948         * win32/common/libgstreamer.def:
2949         Add new gst_poll_ symbols to win32 defs.
2950
2951 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2952
2953         * docs/libs/gstreamer-libs-sections.txt:
2954         * libs/gst/net/gstnetclientclock.c:
2955         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2956         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2957         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2958         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2959         * libs/gst/net/gstnetclientclock.h:
2960         * libs/gst/net/gstnettimeprovider.c:
2961         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2962         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2963         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2964         (gst_net_time_provider_new):
2965         * libs/gst/net/gstnettimeprovider.h:
2966         Use a private stuct to not break ABI.
2967
2968 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2969
2970         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2971
2972         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2973         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2974         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2975         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2976         * libs/gst/net/gstnetclientclock.h:
2977         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2978         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2979         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2980         (gst_net_time_provider_new):
2981         * libs/gst/net/gstnettimeprovider.h:
2982         Massive code removal and cleanups because of GstPoll.
2983         Fixes #505417.
2984
2985 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2986
2987         * configure.ac:
2988         Add checks for poll, ppoll and pselect.
2989
2990         * docs/gst/gstreamer-docs.sgml:
2991         * docs/gst/gstreamer-sections.txt:
2992         Add docs for GstPoll.
2993
2994         * gst/Makefile.am:
2995         * gst/gst.h:
2996         * gst/gstpoll.c: (find_index), (selectable_fds),
2997         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2998         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2999         (gst_poll_set_mode), (gst_poll_get_mode),
3000         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
3001         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3002         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
3003         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
3004         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
3005         (gst_poll_fd_can_write), (gst_poll_wait),
3006         (gst_poll_set_controllable), (gst_poll_restart),
3007         (gst_poll_set_flushing):
3008         * gst/gstpoll.h:
3009         Add generic poll abstraction. We ideally don't want to have this in core
3010         here but in glib intead...
3011         This code will be used in various network elements and ultimately for
3012         the nanosecond precision monotonic clock (that's why it's here in core).
3013         It'll allow us to implement cancelable socket operations for windows too.
3014
3015         * tests/check/Makefile.am:
3016         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3017         (delayed_stop), (delayed_restart), (delayed_flush),
3018         (delayed_control), (gst_poll_suite):
3019         Add GstPoll unit test.
3020
3021 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
3022
3023         * gst/gstfilter.c:
3024           Improve documentation of gst_filter_run(). Fixes #518627.
3025
3026 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3027
3028         * docs/README:
3029           Add a few lines about the new 'check-inspected-versions' target.
3030
3031 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
3032
3033         * tests/check/gst/gstevent.c:
3034           Add qos to the event test. Rename tcase/tsuite; is not only about
3035           custom events.
3036
3037 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
3038
3039         * plugins/elements/gstqueue.c:
3040           Ensure that buffer metadata is writeable, before modifying. Spotted by
3041           Mike.
3042
3043 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
3044
3045         * plugins/elements/gstqueue.c:
3046         * plugins/elements/gstqueue.h:
3047           When dropping buffers in leaky modes, mark next buffers we sent as
3048           DISCONT.
3049
3050 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
3051
3052         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
3053           Also, if mmap() fails that would be a READ error, not OPEN_READ.
3054
3055 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
3056
3057         * plugins/elements/Makefile.am:
3058         * plugins/elements/gstbufferstore.c:
3059         * plugins/elements/gstbufferstore.h:
3060         * plugins/elements/gsttypefindelement.h:
3061           Remove GstBufferStore, no idea why we were still building it.
3062           It's not used anywhere and superseded by GstAdapter.
3063
3064         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3065           (gst_file_src_create_mmap):
3066         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
3067           Printf format fixes for 64-bit integers.
3068
3069 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
3070
3071         * configure.ac:
3072         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
3073         We're not in 0.8 times anymore.
3074
3075 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
3076
3077         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
3078         (gst_check_element_push_buffer_list):
3079         * libs/gst/check/gstcheck.h:
3080         Make the declaration in the header for
3081         gst_check_element_push_buffer_list match the implementation.
3082
3083         Fix up spelling, grammar and wording of the documentation in a few
3084         places, and add the Since keyword to new API functions.
3085         Use g_list_delete_link instead of g_list_remove in
3086         gst_check_drop_buffers, since it's immeasurably more efficient.
3087
3088         * tests/check/elements/fakesrc.c: (GST_START_TEST):
3089         Use new gst_check_drop_buffers function where appropriate.
3090
3091         * win32/common/libgstbase.def:
3092         * win32/common/libgstreamer.def:
3093         Add new symbols gst_collect_pads_take_buffer, 
3094         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
3095         exports
3096
3097         Changelog surgery to add API keyword to new gst_check API.
3098
3099 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
3100
3101         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
3102         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
3103         Update pre-generated flex files with flex 2.3.34.
3104
3105 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
3106
3107         * gst/gstminiobject.c:
3108           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
3109           friendly to subclasses and not require them to know all internals
3110           of their parent class.
3111
3112 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
3113
3114         * docs/libs/gstreamer-libs-sections.txt:
3115         * libs/gst/base/gstcollectpads.c:
3116         * libs/gst/base/gstcollectpads.h:
3117           Add sub-buffer functions to collectpads. Fixes #516187.
3118           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
3119
3120 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
3121
3122         * gst/gstbuffer.c:
3123           Copy selected buffer-flags when creating subbuffers.
3124           Fixes #516395.
3125
3126 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
3127
3128         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
3129         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
3130         * gst/gstmessage.c: (gst_message_class_init),
3131         (gst_message_finalize):
3132         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
3133         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
3134         (gst_mmap_buffer_finalize):
3135         Properly chain up finalize functions to the parent class.
3136
3137 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
3138
3139         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
3140
3141         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
3142         (gst_index_set_resolver_full):
3143         * gst/gstindex.h:
3144         Add new function with option to dispose of user_data in resolver.
3145         Actually call the dispose function when finalizing the object and not
3146         just when changing the resolver/filter.
3147         API: GstIndex::gst_index_set_resolver_full()
3148
3149         * docs/gst/gstreamer-sections.txt:
3150         Add new function to docs. Fixes #515469.
3151
3152 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
3153
3154         * gst/gstindex.c: (gst_index_finalize):
3155         Chain up finalize to the parent class. Fixes leaking the GstObject
3156         name and other things.
3157
3158 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
3159
3160         * configure.ac:
3161         Make DISABLE_DEPRECATED defined *only* during CVS, not during
3162         pre-releases or releases.
3163
3164         * docs/faq/gst-uninstalled:
3165         Add gst-plugins-gl
3166
3167         * docs/random/release:
3168         Change one of the steps - we only upload core & base to Gnome FTP
3169
3170 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
3171
3172         * gst/gstconfig.h.in:
3173           Add 'id' for example.
3174
3175         * gst/gstpad.c:
3176         * gst/gstutils.c:
3177         * plugins/elements/gstfdsink.c:
3178           Link to signals. Doc and comment fixes.
3179
3180 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
3181
3182         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
3183         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
3184           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
3185           unused and unimplemented; finally, it is plugin features, not
3186           plugins, that have ranks.
3187           
3188 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
3189
3190         * gst/gstpluginfeature.h:
3191           Clarify GstRank range docs.
3192
3193 2008-02-05  David Schleef  <ds@schleef.org>
3194
3195         * gst/gst.c: Add a separate gst_deinitialized that prevents
3196           gst_init() from being called after gst_deinit().  Fixes #509559
3197
3198 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3199
3200         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
3201         (gst_bin_class_init):
3202         * gst/gstelement.c: (gst_element_base_class_init),
3203         (gst_element_class_add_pad_template):
3204         * gst/gstpadtemplate.c: (gst_pad_template_init):
3205         * gst/gstpipeline.c: (gst_pipeline_get_type),
3206         (gst_pipeline_base_init), (gst_pipeline_class_init):
3207         * libs/gst/base/gstbasesink.c:
3208         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3209         (gst_base_src_base_init), (gst_base_src_class_init):
3210         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3211         (gst_capsfilter_class_init):
3212         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3213         (gst_fake_sink_class_init):
3214         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3215         (gst_fake_src_class_init):
3216         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3217         (gst_fd_sink_class_init):
3218         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3219         (gst_fd_src_class_init):
3220         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3221         (gst_file_sink_class_init):
3222         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3223         (gst_file_src_class_init):
3224         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3225         (gst_identity_class_init):
3226         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3227         (gst_multi_queue_class_init):
3228         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3229         (gst_queue_class_init):
3230         * plugins/elements/gsttee.c: (gst_tee_base_init),
3231         (gst_tee_class_init):
3232         * plugins/elements/gsttypefindelement.c:
3233         (gst_type_find_element_base_init),
3234         (gst_type_find_element_class_init):
3235         * tests/check/gst/gstelement.c: (gst_element_suite):
3236         Revert previous changes to the behaviour of GstPadTemplates, etc
3237         and the possiblity to call them in class_init as it breaks too
3238         many elements. Reopens bug #491501.
3239
3240         Should be applied again for 0.11, thus added a few FIXME 0.11 at
3241         several places.
3242
3243 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
3244
3245         * tools/gst-launch.c:
3246         Dump one graph per pipeline state-change and state change name
3247         (if GST_DEBUG_DUMP_DOT_DIR is set).
3248
3249 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
3250
3251         * gst/gstpad.c:
3252         * tests/check/gst/gstpad.c:
3253         Be sure that we have a new copy of the caps and not
3254         reffed caps from a template
3255
3256 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3257
3258         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3259         * gst/gstpipeline.c: (gst_pipeline_get_type),
3260         (gst_pipeline_class_init):
3261         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3262         (gst_base_sink_class_init):
3263         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3264         (gst_base_src_class_init):
3265         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3266         (gst_base_transform_class_init):
3267         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3268         (gst_collect_pads_class_init):
3269         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
3270         * libs/gst/net/gstnettimeprovider.c:
3271         (gst_net_time_provider_base_init),
3272         (gst_net_time_provider_class_init):
3273         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3274         (gst_capsfilter_class_init):
3275         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3276         (gst_fake_sink_class_init):
3277         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3278         (gst_fake_src_class_init):
3279         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3280         (gst_fd_sink_class_init):
3281         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3282         (gst_fd_src_class_init):
3283         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3284         (gst_file_sink_class_init):
3285         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3286         (gst_file_src_class_init):
3287         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3288         (gst_identity_class_init):
3289         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3290         (gst_multi_queue_class_init):
3291         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3292         (gst_queue_class_init):
3293         * plugins/elements/gsttee.c: (gst_tee_base_init),
3294         (gst_tee_class_init):
3295         * plugins/elements/gsttypefindelement.c:
3296         (gst_type_find_element_base_init),
3297         (gst_type_find_element_class_init):
3298         Don't use base_init where not absolutely necessary. For example it's
3299         not necessary anymore for adding pad templates or setting element
3300         details.
3301
3302         Leave empty base_init functions in several places as GST_BOILERPLATE
3303         still defines and uses them.
3304
3305 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3306
3307         * gst/gstelement.c: (gst_element_base_class_init),
3308         (gst_element_class_add_pad_template):
3309         * gst/gstpadtemplate.c:
3310         Make it possible (and recommended) to set element details and add
3311         pad templates in the class_init functions by copying the details/pad
3312         templates in GstElement's base_init.
3313
3314         Also make it possible to replace existing pad templates by adding
3315         a new one with the same name. This was done in a hackish fashion
3316         in same elements before already.
3317
3318         Don't reference pad templates that are added a second time. A
3319         new pad template has a refcount of one and is not floating anymore
3320         and to be owned by the element's class. Make this more explicit by
3321         mentioning it in the docs of gst_element_class_add_pad_template().
3322
3323         These changes are backwards compatible. Fixes bug #491501.
3324
3325         * tests/check/gst/gstelement.c:
3326         Add unit test for setting element details, adding pad templates and
3327         replacing them in a subclass.
3328
3329 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
3330
3331         * tools/gst-inspect.c: (print_interfaces),
3332         (print_element_properties_info), (print_pad_info),
3333         (print_signal_info), (print_element_info):
3334         Fix a few memory leaks.
3335
3336 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3337
3338         * docs/libs/gstreamer-libs-sections.txt:
3339         * libs/gst/check/gstcheck.c:
3340         * libs/gst/check/gstcheck.h:
3341         Add more functions for unit testing: gst_check_drop_buffers,
3342         gst_check_caps_equal, gst_check_element_push_buffer_list,
3343         gst_check_element_push_buffer
3344         API: gst_check_drop_buffers
3345         API: gst_check_caps_equal
3346         API: gst_check_element_push_buffer_list
3347         API: gst_check_element_push_buffer
3348
3349 2008-02-01  Julien Moutte  <julien@fluendo.com>
3350
3351         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3352         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3353         (gst_index_finalize), (gst_index_entry_free),
3354         (gst_index_add_association): Fix memory leaks.
3355         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3356         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3357         (gst_mem_index_free_format), (gst_mem_index_free_id),
3358         (gst_mem_index_finalize): Fix memory leaks.
3359         * win32/common/config.h: Updated to CVS HEAD.
3360
3361 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3362
3363         * docs/README:
3364           Some more details about how the plugin docs works.
3365
3366         * docs/plugins/gstreamer-plugins-sections.txt:
3367           Whitespace cleanup.
3368
3369 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3370
3371         * gst/parse/grammar.tab.pre.c:
3372         * gst/parse/grammar.tab.pre.h:
3373         * gst/parse/grammar.y:
3374         * gst/parse/lex._gst_parse_yy.pre.c:
3375           Add delayed set-property. This allows to set properties on dynamicaly
3376           created objects (pads in videomxer). Fixes #509391.
3377
3378 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3379
3380         * gst/gstutils.c:
3381         Check if caps are not NULL (fix bug #510194)
3382
3383 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3384
3385         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3386         (gst_base_sink_get_position_paused):
3387         Add fixme regarding EOS in pull mode.
3388         Fix position reporting in PAUSED for negative rates.
3389
3390 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3391
3392         * gst/gstminiobject.c: (gst_mini_object_replace):
3393         When replacing a miniobject, do a quick equality check first so that we
3394         can avoid a ref/unref pair.
3395
3396 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3397
3398         * docs/design/part-synchronisation.txt:
3399         Update some docs.
3400
3401         * docs/plugins/Makefile.am:
3402         * docs/plugins/gstreamer-plugins-docs.sgml:
3403         * docs/plugins/gstreamer-plugins-sections.txt:
3404         * plugins/elements/gstmultiqueue.c:
3405         Add multiqueue to the docs.
3406
3407 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3408
3409         * configure.ac:
3410           Back to CVS
3411
3412 === release 0.10.17 ===
3413
3414 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
3415
3416         * configure.ac:
3417           releasing 0.10.17, "Due Negligence"
3418
3419 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3420
3421         * gst/gstutils.c:
3422         Revert caps != NULL check temporarily for 0.10.17 release.
3423
3424 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3425
3426         * gst/gstutils.c:
3427         Check if caps are not NULL (fix bug #510194)
3428
3429 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3430
3431         * gst/gstutils.c:
3432         Fix compilation on systems that have posix timers but no
3433         monotonic clock.
3434         Fixes: #512715
3435         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3436         dot net>
3437
3438 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3439
3440         * tools/gst-inspect.c:
3441         Revert previous commit in preparation for an impromptu 0.10.17 release
3442
3443 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
3444
3445         * tools/gst-inspect.c: (print_interfaces),
3446         (print_element_properties_info), (print_pad_info),
3447         (print_signal_info), (print_element_info):
3448         Fix a few memory leaks.
3449
3450 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
3451
3452         * configure.ac:
3453         Back to CVS
3454
3455 === release 0.10.16 ===
3456
3457 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
3458
3459         * configure.ac:
3460           releasing 0.10.16, "Special Dispensation"
3461
3462 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
3463
3464         * configure.ac:
3465           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3466           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3467           not fail when trying to crosscompile on OpenEmbedded (#511750).
3468
3469 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
3470
3471         * docs/manuals.mak:
3472         Use $(MAKE) instead of make to fix the build if GNU make is
3473         called different. Fixes bug #510747.
3474
3475 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3476
3477         * gst/gstplugin.c: (_gst_plugin_initialize):
3478           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3479           again, which I broke two commits ago when changing the API
3480           of gst_plugin_register_static(): the g_list_foreach() in
3481           _gst_plugin_register_static still assumed the old function
3482           signature and would therefore fail (re-fixes #510187).
3483
3484         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3485           (_gst_plugin_register_static), (gst_plugin_register_static):
3486           Revert the (technically correct) change to call g_thread_init() from
3487           the pre-main() constructor. This will break programs which call
3488           g_thread_init() without an if (!g_thread_supported()) guard in their
3489           main function. We could just blame it on GLib or the application, but
3490           it's probably best to just avoid this altogether and simply not use
3491           any GLib functions here and use plain old malloc() with a simple
3492           array to store the plugins to register later when gst_init() is
3493           finally called (re-fixes #510187).
3494
3495         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3496           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3497           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3498           (GST_START_TEST), (gst_plugin_suite):
3499           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3500           works.
3501
3502 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3503
3504         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3505           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3506           This makes gtk-doc complain, but results in slightly better
3507           compiler errors. The old _gst_plugin_register_static() is
3508           still guarded, so there'll be a compiler warning about that
3509           instead. Fixes #510187 too.
3510
3511 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3512
3513         * gst/gst.c: (init_post):
3514         * gst/gstplugin.c: (_gst_plugin_register_static),
3515           (gst_plugin_register_static), (_gst_plugin_initialize):
3516         * gst/gstplugin.h: (GstPluginFilter):
3517           Change API of gst_plugin_register_static() to not take
3518           a GstPluginDesc, but rather just take all the arguments
3519           in a GstPluginDesc directly. This is more intuitive and
3520           avoids certain mistakes when porting code from
3521           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3522           Fixes #510187.
3523
3524         * tests/check/gst/gstplugin.c:
3525           Fix up for changed API.
3526
3527 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3528
3529         * docs/faq/legal.xml:
3530           Update FAQ, Totem actually has an exception these days.
3531
3532 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
3533
3534         * win32/common/libgstreamer.def:
3535         Add new API declarations
3536
3537 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3538
3539         * gst/gstminiobject.c:
3540           Spelling fixes for the API docs.
3541
3542 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3543
3544         * libs/gst/base/gstbasetransform.c:
3545           Fix long property description for QoS.
3546
3547 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
3548
3549         * gst/gst.c:
3550         _gst_trace_on is already provided by gsttrace.h, no need to declare
3551         it ourselves.
3552
3553         * docs/libs/gstreamer-libs-sections.txt:
3554         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3555         and remove strange tcase_add_test which is outputting a warning.
3556
3557         * libs/gst/check/gstcheck.c:
3558         * libs/gst/check/gstcheck.h:
3559         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3560         and define them in gstcheck.c instead of having every .c file whcih
3561         includes gstcheck.h be defining its own copy and relying on symbol
3562         interposing to marry them all, which doesn't work on Solaris.
3563
3564         * tests/check/elements/identity.c: (GST_START_TEST):
3565         Don't define 'buffers' locally, it comes from libgstcheck.
3566
3567         * tests/check/generic/sinks.c: (send_buffer):
3568         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3569
3570         * tests/check/gst/gststructure.c: (GST_START_TEST):
3571         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3572         * tests/check/gst/gstutils.c: (GST_START_TEST):
3573         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3574         Add a bunch of casts to make various constants fit the types
3575         they're being assigned to.
3576
3577 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3578
3579         * gst/gstchildproxy.c:
3580           Improve docs and add some ideas for making this more general-purpose.
3581
3582 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3583
3584         * gst/gst_private.h: (GST_CAT_TYPES):
3585           Add GST_CAT_TYPES, for consistency, and so that the other
3586           debug categories don't make fun of it. Spotted by Saur on IRC.
3587
3588 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3589
3590         * gst/parse/Makefile.am:
3591           Move types.h from EXTRA_DIST to noinst_HEADERS.
3592
3593 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3594
3595         * autogen.sh:
3596           Add -Wno-portability to the automake parameters to stop warnings
3597           about GNU make extensions being used. We require GNU make in almost
3598           every Makefile anyway.
3599
3600         * configure.ac:
3601           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3602           at the same time is required for per target flags.
3603
3604 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3605
3606         * gst/gstmacros.h:
3607           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3608           __GNUC__ is defined before using it.
3609
3610 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3611
3612         * docs/gst/gstreamer-sections.txt:
3613         * gst/gst.c: (init_post):
3614         * gst/gstplugin.c: (_gst_plugin_register_static),
3615           (gst_plugin_register_static), (_gst_plugin_initialize),
3616           (gst_plugin_register_func):
3617         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3618           API: add gst_plugin_register_static() and deprecate
3619           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3620           (#498924).
3621           Also, in _gst_plugin_register_static(), make sure to call
3622           g_thread_init() before calling GLib functions such as
3623           g_list_append() if we're not initialised yet, since that
3624           may lead to random crashes with older GSlice/GLib versions.
3625
3626         * tests/check/gst/gstplugin.c:
3627           Adapt unit test to above changes.
3628
3629 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3630
3631         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3632         * gst/gstcaps.c: (gst_caps_to_string):
3633         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3634           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3635           Yet another gratuitous GString micro-optimisation: add a (private)
3636           function that serialises a structure appending to an existing
3637           GString, so that when we serialise caps we don't need to alloc+free
3638           a throwaway GString for each structure (each of which also entailing
3639           multiple reallocs on the way); also use g_string_sized_new() in
3640           various places with an approximate string length to avoid reallocs
3641           within GString. See #500143.
3642
3643 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3644
3645         * gst/gststructure.c: (gst_structure_id_set_value):
3646           Always check UTF-8 conformance of structure strings and not only
3647           if the debugging system is enabled; reasoning: the behaviour of
3648           the actual code shouldn't really change depending on whether the
3649           debugging system is enabled or not (#508291).
3650
3651 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3652
3653         * Makefile.am:
3654           Remove old coverage target in favour of "make lcov".
3655
3656 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3657
3658         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3659         (gst_base_src_loop):
3660         The start segment for reverse playback goes from start to last_stop.
3661
3662 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3663
3664         Patch by: Peter Kjellerstedt <pkj axis com>
3665
3666         * gst/gstclock.h:
3667         Cast the results from the timeval/spec_to_time macros to what the
3668         docs say it casts to, a GstClockTime. fixes #508175.
3669
3670 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3671
3672         * gst/gstbuffer.c:
3673         Update some comments.
3674
3675         * tools/gst-inspect.c: (print_element_properties_info):
3676         Improve printing of flags.
3677
3678 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3679
3680         * libs/gst/base/gstbasetransform.c:
3681           (gst_base_transform_transform_size):
3682           Print element name with g_warning() if there's a problem
3683           with the unit size.
3684
3685 2008-01-07  David Schleef  <ds@schleef.org>
3686
3687         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3688
3689         * libs/gst/controller/gstcontroller.h:
3690         * libs/gst/controller/gstcontrolsource.h:
3691         * libs/gst/controller/gstinterpolationcontrolsource.h:
3692         * libs/gst/controller/gstlfocontrolsource.h:
3693         * libs/gst/dataprotocol/dataprotocol.h:
3694           Fix empty prototypes.  Fixes bug #507957.
3695
3696 2008-01-07  David Schleef  <ds@schleef.org>
3697
3698         * docs/faq/dependencies.xml: Fix typo.
3699
3700 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3701
3702         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3703         (gst_base_src_loop):
3704         Don't update the last_stop position in do_seek, that's the position we
3705         did a seek to.
3706         Read backwards when we have a negative rate.
3707
3708         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3709         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3710         (filesrc_suite):
3711         Add check for reverse reading.
3712
3713 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3714
3715         Patch by: Alexis Ballier <aballier at gentoo org>
3716
3717         * tests/check/gst/gstabi.c:
3718         * tests/check/gst/struct_ppc64.h:
3719         * tests/check/libs/libsabi.c:
3720         * tests/check/libs/struct_ppc64.h:
3721           Decide which header to include based on the userland ABI target
3722           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3723           for 64-bit userland (#503590).  Might need something similar for
3724           x86 too.
3725
3726 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3727
3728         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3729           Log the reason why fopen fails in addition to the fact that it failed.
3730           
3731 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3732
3733         * gst/parse/parse.l:
3734         Use "%option never-interactive" to prevent useless calls to isatty()
3735         on every input when parsing. Also use "%option noinput" to not define
3736         the static input/yyinput functions which we don't use anyway. This
3737         removes a compiler warning with gcc 4.3 and saves some bytes in the
3738         library.
3739         
3740         * gst/parse/lex._gst_parse_yy.pre.c:
3741         Regenerated for the above change.
3742
3743 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3744
3745         * gst/gstpad.c: (fixate_value):
3746         Don't crash when trying to fixate and empty list.
3747         Fixes #506643.
3748
3749 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3750
3751         * docs/faq/gst-uninstalled:
3752         Clarify the comments to make the usage of this script and what it
3753         does easier to understand.
3754
3755 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3756
3757         * tools/gst-plot-timeline.py:
3758         Add more options to gst-plot-timeline
3759
3760 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3761
3762         * docs/design/part-synchronisation.txt:
3763         Some more info on how the stream_time in GstBaseSink is done.
3764
3765 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3766
3767         * tests/check/generic/sinks.c: (gst_sinks_suite):
3768           Put back the tcase_set_timeout(), apparently it's needed after
3769           all; fix it up in a way that makes things work with valgrind too.
3770
3771 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3772
3773         * gst/gstdebugutils.c:
3774           Add warning when failed to open file for writing.
3775
3776 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3777
3778         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3779
3780         * gst/gstvalue.c: (gst_value_is_fixed):
3781           Optimisation: bail out of the loop as early as possible (#500143).
3782
3783 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3784
3785         * gst/gstcaps.c: (gst_caps_to_string):
3786         * gst/gstinfo.c: (gst_debug_construct_term_color):
3787         * gst/gstparse.c: (gst_parse_launchv):
3788         * gst/gstutils.c: (gst_util_dump_mem):
3789         * gst/gstvalue.c: (gst_value_serialize_any_list),
3790           (gst_value_transform_any_list_string):
3791           Bunch of gratuitous nano-optimisations.
3792
3793 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3794
3795         * tests/check/generic/sinks.c: (async_done_func),
3796           (async_done_eos_func):
3797           Fix leak in unit test (bus sync handler must unref the message
3798           if it returns GST_BUS_DROP). Don't fiddle with the default test
3799           timeout, this is smaller than the current preconfigured value
3800           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3801           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3802
3803 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3804
3805         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3806
3807         * configure.ac:
3808         Check for stdio_ext.h for the filesink changes.
3809
3810         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3811         (gst_file_sink_class_init), (gst_file_sink_init),
3812         (gst_file_sink_dispose), (gst_file_sink_set_property),
3813         (gst_file_sink_get_property), (gst_file_sink_open_file),
3814         (gst_file_sink_close_file):
3815         * plugins/elements/gstfilesink.h:
3816         Add two properties to control the buffering mode and size.
3817         API: GstFileSink::buffer-mode
3818         API: GstFileSink::buffer-size
3819         Fixes #500150.
3820
3821 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3822
3823         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3824         Add some more docs to explain why a FIXME was wrongly added. 
3825
3826 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3827
3828         * gst/gstobject.c:
3829           Fix typo in the gst_object_{ref,unref} documentation.
3830
3831 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3832
3833         * tests/check/libs/controller.c:
3834         * tests/check/libs/typefindhelper.c:
3835         * tests/check/pipelines/parse-launch.c:
3836           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3837           going to be deprecated (see #498924).
3838
3839 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3840
3841         * gst/gsttypefind.c: (gst_type_find_register):
3842           Make gst_type_find_register work for static typefind functions,
3843           ie. allow passing plugin == NULL (prerequisite for #498924).
3844
3845         * gst/gstelementfactory.c: (gst_element_register):
3846           Small docs addition.
3847
3848 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3849
3850         * gst/gstpad.c: (gst_pad_dispose):
3851         Really unlink the peer pad instead of setting the peer pointer to NULL
3852         when we dispose the pad.
3853         This correctly calls the unlink functions and makes sure that the peer
3854         does not have a handle to invalid memory. See #504671.
3855
3856         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3857         Add testsuite for above case.
3858
3859 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3860
3861         Patch by: Peter Kjellerstedt <pkj axis com>
3862
3863         * libs/gst/check/gstcheck.h:
3864           Fix detection of the check version we're compiling against (would
3865           otherwise break if check goes v0.10.0); correctly report the
3866           name of the failed test again in case of failure, instead of
3867           just 'tf' (fixes #504499).
3868
3869 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3870
3871         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3872         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3873         (gst_base_src_loop), (gst_base_src_set_flushing),
3874         (gst_base_src_change_state):
3875         Allow sending EOS to the source to make it send out an EOS event from
3876         the streaming thread.
3877         Update docs and deprecate the old NULL/READY shutdown method.
3878
3879         * tests/check/libs/basesrc.c: (GST_START_TEST),
3880         (gst_basesrc_suite):
3881         Add unit test for controlled shutdown.
3882
3883 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3884
3885         * docs/design/part-synchronisation.txt:
3886         Small updates.
3887
3888         * gst/gstsegment.c: (gst_segment_set_seek),
3889         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3890         (gst_segment_to_running_time):
3891         The seek format can be different from the segment format when the start
3892         and stop values are not to be updated, when we only do a rate change for
3893         example.
3894
3895         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3896         (gst_segment_suite):
3897         Add a testcase for the rate-only seeks, checking that the format is
3898         correctly ignored when start and stop are not updated.
3899
3900 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3901
3902         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3903
3904         * win32/vs8/grammar.vcproj:
3905         * win32/vs8/libgstcontroller.vcproj:
3906         * win32/vs8/libgstreamer.vcproj:
3907         Fix compilation with VS8 and include some missing files.
3908
3909 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3910
3911         * gst/gsttaglist.c:
3912           Small docs addition: mention that the strings returned by
3913           gst_tag_list_get_string*() are in UTF-8 encoding.
3914
3915 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3916
3917         * Makefile.am:
3918           The check-exports stuff moved to common/win32.mak, so include that.
3919
3920 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3921
3922         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3923         (gst_base_src_perform_seek), (gst_base_src_get_range),
3924         (gst_base_src_set_playing), (gst_base_src_change_state):
3925         Make _wait_playing() not check any variables so that we can call this
3926         function from subclasses. Move the checks elsewhere similar to
3927         _wait_preroll() in basesink.
3928         Add some debugging.
3929         Only signal the LIVE cond when we are going back to PLAYING.
3930
3931 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3932
3933         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3934           Use g_remove() and g_rename(). Check result of g_rename(), and
3935           don't leak the open file descriptor if we error out when writing.
3936
3937         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3938           Must check the return value of close() after writing out the new
3939           registry file.  Sometimes write problems such as out-of-diskspace
3940           are only reported when the file is closed and not already during
3941           the write.  This may have caused partial/broken registry files in
3942           some rare circumstances. Should fix #503675.
3943
3944 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3945
3946         * docs/gst/.cvsignore:
3947         * docs/libs/.cvsignore:
3948         * docs/plugins/.cvsignore:
3949         Ignore files generated by new common/* modifications
3950
3951 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3952
3953         * win32/common/libgstbase.def:
3954           Yes, you can also have a <TAB> if you want.
3955
3956 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3957
3958         * win32/common/libgstbase.def:
3959           Add new basetransform API to win export file.
3960
3961 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3962
3963         * tests/check/gst/gstbin.c:
3964           Adjust the test to the refcount change two days ago.
3965
3966 2007-12-14  David Schleef  <ds@schleef.org>
3967
3968         * docs/faq/getting.xml: Fix typo.
3969
3970 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3971
3972         * docs/libs/gstreamer-libs-sections.txt:
3973         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3974           (gst_base_transform_prepare_output_buffer),
3975           (gst_base_transform_set_gap_aware):
3976         * libs/gst/base/gstbasetransform.h:
3977           API: Add gst_base_transform_set_gap_aware() to control whether
3978           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3979           get buffers with this flag at all. Fixes #503231.
3980
3981 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3982
3983         * libs/gst/base/gstbasesink.c:
3984         * libs/gst/base/gstbasesrc.c:
3985         * libs/gst/base/gstbasetransform.c:
3986           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3987           thread. Correct log message in gstbasesrc.c.
3988
3989 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3990
3991         * gst/gstutils.c: (element_find_unconnected_pad):
3992           Fix possible compiler warning (#503417).
3993
3994 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3995
3996         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3997           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3998
3999 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
4000
4001         * tools/gst-inspect.c: (print_element_properties_info):
4002           Add support for GstFraction properties.
4003
4004 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4005
4006         * Makefile.am:
4007           Add check-exports target and run it as part of 'make check'
4008           (see #499140 and #493983).
4009
4010         * gst/gst_private.h:
4011         * gst/gstelementfactory.h:
4012         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
4013         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
4014           (_priv_gst_in_valgrind):
4015         * gst/gstinfo.h: (GstLogFunction):
4016         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
4017           (gst_type_find_register):
4018         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
4019           (gst_type_find_factory_get_type):
4020         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
4021           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
4022           (gst_controller_new_valist), (gst_controller_new_list),
4023           (_gst_controller_dispose), (_gst_controller_class_init):
4024         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
4025         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
4026           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
4027           (gst_object_get_controller), (gst_object_set_controller),
4028           (gst_object_suggest_next_sync), (gst_object_sync_values),
4029           (gst_object_set_control_source), (gst_object_get_control_source),
4030           (gst_object_get_value_arrays), (gst_object_get_value_array),
4031           (gst_object_get_control_rate), (gst_object_set_control_rate):
4032         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
4033         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
4034           Make some functions that should be static static; rename some
4035           private symbols so that they don't get exported; add some FIXME
4036           comments so we can move accidentally exported functions into
4037           our private section in 0.11.
4038
4039         * win32/common/libgstreamer.def:
4040           Add gst_utils_get_timestamp().
4041
4042 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
4043
4044         * gst/gstvalue.c:
4045         * gst/gstvalue.h:
4046           Add more missing "Since:" tags to docs.
4047
4048 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
4049
4050         * gst/gstutils.c:
4051           Add mising "Since:" to docs.
4052
4053 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4054
4055         * gst/gstplugin.c:
4056           Include "glib-compat-private.h" to fix the build on system with
4057           glib < 2.10. Fixes #503131.
4058
4059 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4060
4061         * gst/gstutils.c:
4062         * gst/gstutils.h:
4063           Actually its not PURE as it gets the time from elsewhere.
4064
4065 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4066
4067         * docs/gst/gstreamer-sections.txt:
4068         * gst/gstclock.h:
4069         * gst/gstdebugutils.c:
4070         * gst/gstinfo.c:
4071         * gst/gstutils.c:
4072         * gst/gstutils.h:
4073         * libs/gst/base/gstbasesink.c:
4074         * tools/gst-launch.c:
4075           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
4076           uses as we don't have HAVE_POSIX_TIMERS in public headers.
4077           Thanks Tim for spotting.
4078           API: gst_util_get_timestamp
4079
4080 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
4081
4082         * configure.ac:
4083           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
4084
4085 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
4086
4087         * gst/gststructure.c: (gst_structure_validate_name),
4088           (gst_structure_new_valist), (gst_structure_parse_value),
4089           (gst_structure_from_string):
4090           Don't crash in _from_string() if the structure name is not valid
4091           (fixes #501560).  Allow structure names to start with a number
4092           again (this apparently broke the ubuntu codec installer).
4093
4094         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
4095           (GST_START_TEST):
4096           Add unit test for the crash; update unit tests for new behaviour.
4097
4098 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
4099
4100         * gst/gstutils.c:
4101         Clarify gst_element_get_compatible_pad() documentation.
4102         Fixes #500919.
4103
4104 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
4105
4106         * tests/check/Makefile.am:
4107           Don't forget to dist {gst,libs}/struct_hppa.h.
4108
4109 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4110
4111         * libs/gst/base/gstbasesink.c:
4112           Use new API to get elapsed time.
4113
4114 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4115
4116         * gst/gstdebugutils.c:
4117         * gst/gstinfo.c:
4118           Fix wrong order of args in GST_CLOCK_DIFF() usage.
4119
4120         * tools/gst-launch.c:
4121           Use new API to get elapsed time.
4122
4123 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4124
4125         * docs/gst/gstreamer-sections.txt:
4126         * gst/gstclock.h:
4127         * gst/gstdebugutils.c:
4128         * gst/gstinfo.c:
4129           Rename new API + ChangeLog surgery to remove old name from last entry..
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           Now hide the different clock stuff behind a macro.
4138
4139 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4140
4141         * configure.ac:
4142         * gst/gstdebugutils.c:
4143         * gst/gstinfo.c:
4144           Apply the posix-timer check from #361155. Conditionally use the posix
4145           timer for logging. This gives better timestamp precission, less
4146           overhead and no ntp jitter.
4147
4148 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
4149
4150         * gst/gstminiobject.c: (gst_mini_object_get_type),
4151         (gst_mini_object_class_init), (gst_mini_object_copy_default),
4152         (gst_mini_object_finalize), (gst_mini_object_copy),
4153         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
4154         (gst_mini_object_replace), (param_mini_object_validate),
4155         (gst_param_spec_mini_object_get_type):
4156         Some cleanup and checking against invalid function parameters.
4157
4158 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
4159
4160         * docs/gst/gstreamer-sections.txt:
4161         * gst/gstclock.h:
4162         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4163         (gst_systemclock_suite):
4164         Start merging in the easy bits of #361155, the monotonic clock patch.
4165         This one adds a few handy macros with docs and a testsuite.
4166
4167 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
4168
4169         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
4170         Be a bit smarter when seeking, like, don't try to do a seek when it's
4171         not needed. This avoids errors when the file is not seekable.
4172         Fixes #499771.
4173
4174 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
4175
4176         * docs/gst/gstreamer-docs.sgml:
4177         * docs/gst/gstreamer-sections.txt:
4178         * docs/gst/gstreamer.types.in:
4179         * gst/Makefile.am:
4180         * gst/gst.h:
4181         * gst/gstpreset.c:
4182         * gst/gstpreset.h:
4183         * plugins/elements/gstqueue.c:
4184           Due to popular request remove preset interface again. :-(.
4185
4186 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4187
4188         * tools/gst-inspect.c:
4189           Print 'default value' for enums and flags too.
4190
4191 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4192
4193         * docs/random/ensonic/profiling.txt:
4194           More ideas.
4195
4196         * gst/gstbin.c:
4197           Fix typo and give better log output.
4198
4199         * gst/gstdebugutils.c:
4200         * gst/gstdebugutils.h:
4201           More ideas, make graphs a bit smaller and fix param name in macro.
4202
4203 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4204
4205         * gst/gstpreset.c:
4206           Try harder to use the return value from fgets().
4207
4208 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
4209
4210         * gst/gstpreset.c:
4211           For theses two fgets we handle the error below.
4212
4213 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
4214
4215         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
4216         Only send upstream events upstream. Fixes #498746.
4217
4218 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
4219
4220         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4221
4222         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4223         (gst_identity_init), (gst_identity_transform_ip),
4224         (gst_identity_set_property), (gst_identity_get_property):
4225         * plugins/elements/gstidentity.h:
4226         Add property to disable handoff signal emission. Fixes #498694.
4227         API: GstIdentity::signal-handoffs
4228
4229 2007-11-21  Julien Moutte  <julien@fluendo.com>
4230
4231         * docs/faq/gst-uninstalled: Yet another missing library for the
4232         uninstalled script (fft)
4233
4234 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
4235
4236         * docs/faq/developing.xml:
4237         Add a question about how to submit new translations.
4238
4239         * docs/random/release:
4240         Update the contact email address for the Translation Project
4241
4242         * plugins/elements/gstfdsrc.c:
4243         The parent_class for fdsrc is pushsrc, not GstElement.
4244
4245 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
4246
4247         * gst/gstpreset.c:
4248           Plug a leak and fix saving.
4249
4250 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
4251
4252         * docs/gst/gstreamer-sections.txt:
4253         Add new gst_preset__get_property_names() function to the docs
4254         to fix the build.
4255
4256 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
4257
4258         * gst/gstpreset.c:
4259         * gst/gstpreset.h:
4260           Change _get_preset_names API to return a strv with copies. Add
4261           _get_property_names to allow implementations to filter and provide
4262           good default implementation.
4263
4264 2007-11-20  Julien MOUTTE  <julien@moutte.net>
4265
4266         * docs/faq/gst-uninstalled: Add another library to the uninstalled
4267         script (sdp).
4268
4269 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4270
4271         * gst/gstpreset.c:
4272           More cleanups, docs, and TODOs from comments that now slowly come in.
4273
4274 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4275
4276         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
4277         search path.
4278
4279 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4280
4281         * gst/gstpreset.c:
4282           Fix bogus warning and make the property type specific code more
4283           similar.
4284
4285 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4286
4287         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4288         it build on OS X.
4289
4290 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
4291
4292         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4293         (gst_bin_add_func), (gst_bin_remove_func),
4294         (gst_bin_change_state_func), (gst_bin_continue_func):
4295         Change email, cleanups add some more debug and comments.
4296         Also set bus and clock on new elements when the pipeline was in error.
4297
4298 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
4299
4300         * gst/gstbin.c:
4301         * gst/gstdebugutils.c:
4302           Fix build with --disable-gst-debug. Fixes #497859.
4303           Spotted by Sameer Naik.
4304
4305 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4306
4307         * gst/gstevent.c:
4308           Little documentation improvment.
4309
4310         * gst/gstpreset.c:
4311           More TODO cleanups. Remove c++ comments.
4312
4313         * libs/gst/controller/gstcontroller.c:
4314           Add TODO and use quark from static string.
4315
4316         * tests/check/gst/gstmessage.c:
4317         * tests/check/gst/gststructure.c:
4318           Use quark from static string.
4319
4320 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4321
4322         * gst/gstpreset.c:
4323           Add some comments and TODOs.
4324
4325         * gst/gstpreset.h:
4326           Add padding for future changes.
4327
4328         * plugins/elements/gstqueue.c:
4329           Implement the iface.    
4330
4331 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4332
4333         * docs/gst/gstreamer-docs.sgml:
4334         * docs/gst/gstreamer-sections.txt:
4335         * docs/gst/gstreamer.types.in:
4336         * gst/Makefile.am:
4337         * gst/gst.h:
4338         * gst/gstpreset.c:
4339         * gst/gstpreset.h:
4340           Add the preset interface (Fixes #396779). Do some doc cleanups along.
4341
4342 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
4343
4344         * configure.ac:
4345
4346         Back to CVS
4347
4348 === release 0.10.15 ===
4349
4350 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
4351
4352         * configure.ac:
4353           releasing 0.10.15, "October"
4354
4355 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
4356
4357         * win32/vs6/libgstreamer.dsp:
4358         Convert line endings back to DOS.
4359
4360 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
4361
4362         * docs/design/draft-tagreading.txt:
4363         * docs/random/ensonic/profiling.txt:
4364         Update fast tagreading draft and performance profiling ideas.
4365
4366 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4367
4368         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4369         Don't hold the object lock when unreffing a buffer because it could
4370         cause a deadlock when the finalize function wants to grab the object
4371         lock too. Fixes #495133.
4372
4373 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4374
4375         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4376         (gst_segment_to_stream_time), (gst_segment_to_running_time):
4377         Also accumulate time correctly when doing reverse playback. Fixes
4378         #488201,
4379         When converting to running and stream time, use default values for
4380         start/stop/time/accum when comparing different formats. Fixes #494245.
4381
4382         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4383         Do running/stream time in TIME format.
4384
4385         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4386         (gst_segment_suite):
4387         2 new unit tests for segment accumulation.
4388
4389 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4390
4391         * gst/gst.c: (init_pre):
4392         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4393           (_gst_debug_bin_to_dot_file):
4394           Move getenv() back into gst_init, so everyone can live happily
4395           ever after. Make sure the symbol isn't exported though.
4396
4397 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4398
4399         Patch by: Sebastien Moutte  <sebastien moutte net>
4400
4401         * win32/common/gstenumtypes.c:
4402         * win32/common/gstenumtypes.h:
4403           Update enum types.
4404
4405         * win32/vs6/libgstreamer.dsp:
4406           Update vs6 project files (#494343).
4407
4408 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4409
4410         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4411         (gst_base_src_perform_seek), (gst_base_src_default_event),
4412         (gst_base_src_set_flushing), (gst_base_src_activate_push),
4413         (gst_base_src_activate_pull):
4414         Unify flushing code, remove some old unlock code that is no longer used.
4415         Take the streaming lock when seeking to avoid races. Fixes #492729.
4416         Added some more comments.
4417
4418 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4419
4420         * gst/gst.c: (_gst_disable_segtrap):
4421           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
4422           we can use gst_segtrap_is_enabled() there now that we have that API.
4423           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4424           to do the getenv here (and export the variable).
4425
4426         * gst/gstdebugutils.c: (debug_dump_element),
4427           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4428           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4429
4430         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4431           (gst_debug_log_default):
4432           Rename _gst_info_start_time to priv_gst_info_start_time so it
4433           doesn't get exported (was never in any header).
4434
4435         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4436           (gst_plugin_loading_mutex):
4437           Make static mutex gst_plugin_loading_mutex really static (was never
4438           in any header), and use gst_segtrap_is_enabled() instead of
4439           _gst_disable_segtrap.
4440
4441         * gst/gsttrace.c: (_gst_trace_default):
4442           Make local _gst_trace_default static (was never in any header).
4443
4444 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4445
4446         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4447
4448         * win32/common/libgstbase.def:
4449         * win32/common/libgstcontroller.def:
4450         * win32/common/libgstdataprotocol.def:
4451         * win32/common/libgstnet.def:
4452         * win32/common/libgstreamer.def:
4453           Add more missing symbols, remove some duplicates, and sort
4454           as the 'sort' command sorts it (partially fixes #493983).
4455
4456 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4457
4458         * gst/gstelement.c: (gst_element_set_state_func):
4459         Only change the state cookie if a different state was set on the
4460         element. See #492729.
4461
4462 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4463
4464         * gst/gstvalue.c:
4465           Remove unused and uninitialised type variables that were still
4466           exported for some reason (they were never in any header files
4467           though).
4468
4469 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4470
4471         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4472         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4473         (gst_base_sink_event), (gst_base_sink_get_position_last),
4474         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4475         (gst_base_sink_change_state):
4476         Don't try to report a 0 position when we don't know, return -1 and FALSE
4477         instead. This mostly happens when we are prerolling.
4478         Make sure we can report the right position before we post the ASYNC_DONE
4479         message so that a message handler can query position without races.
4480
4481         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4482         (async_done_handoff), (async_done_func), (send_buffer),
4483         (async_done_eos_func), (gst_sinks_suite):
4484         Add two tests for the above.
4485
4486 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4487
4488         * MAINTAINERS:
4489         Update with new email address.
4490
4491         * docs/design/part-TODO.txt:
4492         Add some more info about future pad-block and negotiation changes.
4493
4494         * docs/design/part-buffering.txt:
4495         Add some ideas about buffering reporting.
4496
4497 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
4498
4499         * tests/check/gst/gstobject.c:
4500         Disable silly racy test that always fails on this combination of CPU
4501         and kernel.
4502
4503 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4504
4505         Patch by: Murray Cumming  <murrayc@murrayc.com>
4506
4507         * gst/gstobject.c:
4508           Corrected the registration of the parent-set and parent-unset
4509           signals: The parameter is a GstObject, not a GObject (#493134).
4510
4511 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4512
4513         * gst/gst_private.h:
4514         * gst/gstbuffer.h:
4515         * gst/gstevent.h:
4516         * gst/gstformat.h:
4517         * gst/gstmessage.h:
4518         * gst/gstplugin.h:
4519         * gst/gstquery.h:
4520         * gst/gsttaglist.h:
4521         * gst/gstvalue.h:
4522           Move declaration of private _gst_foo_initialize() functions into
4523           our private header file where they should have been all along.
4524
4525 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4526
4527         * docs/plugins/gstreamer-plugins-sections.txt:
4528         * gst/gstdebugutils.h:
4529         * gst/gstxml.h:
4530         * plugins/elements/gstqueue.c:
4531           gtk-doc fixes; trailing-comma-in-enum fix.
4532
4533 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4534
4535         * gst/gst.c: (gst_deinit):
4536           Clean up on deinit (not the external ones though, doesn't seem to be
4537           needed for some reason).
4538
4539 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4540
4541         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4542           Remove __declspec(dllimport) for MSVC that was copied over into core
4543           from a plugin, obviously without ever having been tested (note the
4544           single underscore in _declspec in the initial commit), and that doesn't
4545           really make sense.  See #492077.
4546
4547 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4548
4549         * gst/gst.c: (init_post):
4550         * gst/gstevent.c: (_gst_event_initialize):
4551         * gst/gstquery.c: (_gst_query_initialize):
4552         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4553           g_type_class_ref() other types as well, see #349410 and #64764.
4554
4555         * gst/gstbuffer.c: (_gst_buffer_initialize):
4556         * gst/gstmessage.c: (_gst_message_initialize):
4557           Simplify existing g_type_class_ref().
4558
4559 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4560
4561         * gst/gstformat.c: (_gst_format_initialize):
4562           g_type_class_ref() our GstFormat type to make sure we avoid the
4563           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4564           bug #64764. Should fix intermittent tee unit test failures (#474823).
4565
4566 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4567
4568         * tests/check/elements/tee.c: (test_num_buffers):
4569           Simplify, simplify, simplify - or not.  Rewrite unit test
4570           not to use gst_parse_launch(); allow N sub-streams. Increasing
4571           the number of sub-streams seems to reproduce #474823 more easily.
4572
4573 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4574
4575         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4576
4577         * gst/gsttrace.c:
4578         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4579         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4580         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4581           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4582           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4583           so use _pipe() directly (#492077).
4584
4585         * win32/common/dirent.c: (_treaddir):
4586           Add a couple of casts to make it build without warnings with MSVC.
4587
4588         * win32/common/libgstreamer.def:
4589           Add some more symbols that need to be exported.
4590
4591 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4592
4593         * tests/examples/metadata/read-metadata.c: (message_loop):
4594           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4595           arriving in a second or third tag message are added to
4596           the tag list as well.
4597
4598 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4599
4600         * libs/gst/base/gstbasesrc.c:
4601           Its "Since:" and not "@Since:". And remove an superflous cast.
4602
4603 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4604
4605         * docs/libs/gstreamer-libs-sections.txt:
4606         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4607         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4608         (gst_base_sink_get_property), (gst_base_sink_render_object),
4609         (gst_base_sink_preroll_object),
4610         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4611         (gst_base_sink_change_state):
4612         * libs/gst/base/gstbasesink.h:
4613         Add a new last-buffer property that contains the last buffer used in
4614         basesink for preroll or rendering. useful for making snapshots.
4615         API: gst_base_sink_get_last_buffer()
4616         API: GstBaseSink::last-buffer
4617
4618 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4619
4620         * docs/gst/running.xml:
4621         * gst/gst.c:
4622         * gst/gstdebugutils.c:
4623         * gst/gstdebugutils.h:
4624         * tools/gst-launch.c:
4625           Improve bin graph dumping, by using the envvar to specify a path.
4626           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4627
4628 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4629
4630         * plugins/elements/gsttypefindelement.c:
4631           (gst_type_find_element_handle_event),
4632           (gst_type_find_element_activate):
4633           Post special error message if we can't determine the type of a stream
4634           because it's empty.
4635
4636 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4637
4638         * docs/gst/running.xml:
4639         * gst/gstdebugutils.c:
4640           Document new env-var. Add one log-line after dumpng a graph.
4641
4642 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4643
4644         * configure.ac:
4645           Ugly hack to put the (recently removed and non-portable, apparently)
4646           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4647           GNU ld, because without that 'make check' fails miserably on my debian
4648           stable box.  Someone with more knowledge of linker intricacies and
4649           portability issues than me fix this properly please.
4650
4651 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4652
4653         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4654         Reset last seen position after flushing so that we don't report the old
4655         position anymore.
4656
4657 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4658
4659         * gst/gstelementfactory.c: (gst_element_register):
4660         * gst/gsturi.h:
4661         Patch from Alessandro Decina adding get_type_full and
4662         get_protocols_full private vfuncs to the URIHandler interface
4663         to allow bindings to support creating URI handlers. 
4664         Partially fixes: #339279
4665         API: GstURIHandlerInterface::get_type_full
4666         API: GstURIHandlerInterface::get_protocols_full
4667
4668 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4669
4670         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4671         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4672         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4673         Make it so that pads are considered linked until a buffer is pushed
4674         and discovered otherwise. This avoids problems with decodebin2 hanging
4675         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4676         case.
4677
4678         Make sure we lock the multiqueue when updating the max-size properties.
4679         
4680         Fix a crash on Solaris in a debug statement in get_request_pad that
4681         passes a NULL string to GST_DEBUG. 
4682
4683         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4684         (run_output_order_test):
4685         Fix the test to allow the first buffer on not-linked pads to come out
4686         of sequence while multiqueue discovers that they are not-linked.
4687
4688 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4689
4690         * configure.ac:
4691         * libs/gst/check/Makefile.am:
4692         Use a custom export symbol regex for libgstcheck, as it needs
4693         to export symbols that don't match the standard GStreamer gst_*
4694         pattern, and  --export-dynamic is not portable (only works on 
4695         GNU ld)
4696
4697         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4698         (gst_check_setup_sink_pad):
4699         Make sure to pass a message parameter to the fail_* macros.
4700
4701         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4702         Fix some compiler warnings.
4703
4704 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4705
4706         * tests/check/gst/gststructure.c: (test_to_string):
4707           Disable test that checks that white spaces are not allowed
4708           in structure names or field names, since we need to
4709           support that for now for backwards compatibility reasons.
4710
4711 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4712
4713         * docs/gst/gstreamer-sections.txt:
4714         * gst/gsttaglist.c:
4715         * gst/gsttaglist.h:
4716           API: add GST_TAG_ARTIST_SORTNAME
4717           API: add GST_TAG_ALBUM_SORTNAME
4718           API: add GST_TAG_TITLE_SORTNAME
4719           Add tag variants for sorting (#414539).
4720
4721 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4722
4723         * gst/gststructure.c:
4724           Also allow white space for names so we don't break
4725           backwards compatibility.
4726
4727 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4728
4729         * docs/design/part-TODO.txt:
4730         * docs/design/part-segments.txt:
4731         * docs/design/part-streams.txt:
4732         Small updates.
4733
4734 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4735
4736         * docs/gst/gstreamer-sections.txt:
4737          Fixed documentation from my previous commit (added new API add
4738          gst_value_set_structure(), add gst_value_get_structure() and
4739          GST_VALUE_HOLDS_STRUCTURE).
4740
4741 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4742
4743         * gst/gstdebugutils.c:
4744           Reflow code to fix uninitialized variable warning.
4745
4746 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4747
4748         * gst/gstcaps.c: (gst_caps_to_string),
4749         (gst_caps_from_string_inplace):
4750         * gst/gststructure.c: (gst_structure_get_abbrs),
4751         (gst_structure_to_string), (gst_structure_from_string):
4752         * gst/gstvalue.c: (gst_value_set_structure),
4753         (gst_value_get_structure), (gst_value_serialize_structure),
4754         (gst_value_deserialize_structure), (_gst_value_initialize):
4755         * gst/gstvalue.h:
4756         * tests/check/gst/gststructure.c: (GST_START_TEST),
4757         (gst_structure_suite):
4758         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4759          Added GstStructure to gst_value_table and its related functions.
4760          Changed gst_structure_to_string to print ';' in the end.
4761          Changed gst_caps_to_string to not print ';' beteween its
4762          fields (structures) anymore and remove the lastes ';' from latest
4763          structure. Now it is possible to have nested structures.
4764          In addition, backward compatibilty is assured by accepting '\0' as
4765          end delimiter. Fixes: #487969.
4766          API: add gst_value_set_structure()
4767          API: add gst_value_get_structure()
4768          API: add GST_VALUE_HOLDS_STRUCTURE
4769
4770 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4771
4772         * gst/gstbus.c:
4773           When no GSource callback has been set up, tell developer
4774           to use a function that actually exists.
4775
4776 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4777
4778         * docs/gst/gstreamer-sections.txt:
4779         * gst/Makefile.am:
4780         * gst/gst.c:
4781         * gst/gst.h:
4782         * gst/gstdebugutils.c:
4783         * gst/gstdebugutils.h:
4784         * gst/gstinfo.c:
4785         * gst/gstinfo.h:
4786         * tools/gst-launch.c:
4787           Allow dumping pipelines as dot graphs. Fixes #456573.
4788
4789 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4790
4791         * gst/gststructure.c:
4792           Allow '+' as well, it can be part of media or mime types
4793           such as image/svg+xml.
4794
4795 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4796
4797         * docs/gst/gstreamer-sections.txt:
4798         * gst/gstbus.c:
4799         * gst/gstbus.h:
4800           API: add gst_bus_pop_filtered
4801           API: add gst_bus_timed_pop_filtered
4802           Two new functions for waiting for specific message types on the
4803           bus for a specified amount of time without iterating any main
4804           loops or main contexts.
4805
4806         * tests/check/gst/gstbus.c:
4807           Some tests for the new functions.
4808
4809 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4810
4811         * docs/libs/gstreamer-libs-sections.txt:
4812           Make gtk-doc ignore stuff it should ignore.
4813
4814 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4815
4816         * libs/gst/check/gstcheck.c:
4817         * libs/gst/check/gstcheck.h:
4818           Allow runtime selection of unit tests to run via the GST_CHECKS
4819           environment variable (test case function names, comma-separated).
4820
4821 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4822
4823         * gst/gststructure.c:
4824         * tests/check/gst/gststructure.c:
4825           Revert serialisation change and constrain structure-names after
4826           consensus on irc. Update api documentation to reflect the change.
4827
4828 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4829
4830         * gst/gststructure.c:
4831           Improve serialization and fix tests.
4832
4833         * tests/check/gst/gststructure.c:
4834           Add another test that covers why I actually did the previous structure
4835           change.
4836
4837 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4838
4839         * tools/gst-inspect.c: (print_element_info):
4840         Don't crash when inspecting an element.
4841
4842 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4843
4844         * tests/check/gst/gststructure.c:
4845           Add unit test for escaping of structure name when serialising
4846           and deserialising to/from strings.
4847
4848 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4849
4850         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4851         (gst_single_queue_new):
4852         * plugins/elements/gstqueue.c: (gst_queue_init),
4853         (gst_queue_push_one):
4854         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4855         upstream is tricked into thinking it can suggest a format downstream
4856         while downstream does not support that format. The real problem is that
4857         core calls acceptcaps when pushing a buffer with new caps, for which we
4858         do a little workaround by setting the caps on the srcpad ourselves
4859         before pushing the buffer (until this is figured out). Fixes #486758.
4860
4861 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4862
4863         * gst/gststructure.c:
4864         * gst/gstvalue.c:
4865           Add some more comments and debug output. Quote structure name to fix
4866           deserialisation of some strings.
4867
4868 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4869
4870         * gst/gstbuffer.h:
4871           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4872           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4873
4874 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4875
4876         * tools/gst-inspect.c:
4877           Save approx. 400 1 byte allocs when printing. Use API to acces element
4878           details.
4879
4880         * tools/gst-run.c:
4881           Avoid a strdup.
4882
4883         * tools/gst-xmlinspect.c:
4884           Use API to acces element details.
4885
4886 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4887
4888         * gst/gstinfo.c:
4889           Fix some spelling errors.
4890
4891 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4892
4893         * gst/gstbin.c: (bin_handle_async_done):
4894         Correctly set the next state if all of our async children commited their
4895         state. This makes sure we can actually cancel the state change in
4896         progress. Fixes a regression in Rhythmbox when seeking.
4897
4898 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4899
4900         * gst/gstbin.c:
4901           Don't shadow local variable.
4902
4903         * gst/gstinfo.c:
4904           Don't shadow global function name.
4905
4906 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4907
4908         * gst/gstelementfactory.c:
4909         * gst/gstpluginfeature.c:
4910         * gst/gstpluginfeature.h:
4911         * gst/gstregistrybinary.c:
4912         * gst/gstregistryxml.c:
4913         * gst/gsttypefind.c:
4914           Use already-interned string for the private GstPluginFeature
4915           plugin_name field.
4916
4917 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4918
4919         * docs/libs/gstreamer-libs-sections.txt:
4920           Add new API to docs; fixes the build.
4921
4922 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4923         
4924         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4925
4926         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4927         (gst_base_sink_event):
4928         * libs/gst/base/gstbasesink.h:
4929         Add function to wait for EOS, subclasses can use this to correctly wait
4930         for devices to drain before performing the EOS logic. Fixes #485343.
4931         API: gst_base_sink_wait_eos()
4932
4933 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4934
4935         * gst/gstplugin.h:
4936           Cast description string constants in GST_PLUGIN_DEFINE macros
4937           to a (gchar*) to make C++ code using these macros compile
4938           without warning with g++-4.2 (see #462737).  Even if slightly
4939           ugly, this seems preferable to putting the description strings
4940           into the GLib quark table or making the structure member a
4941           const gchar * and doing casts in core code that allocs and
4942           frees these strings, or requiring a cast in the C++ code.
4943
4944 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4945
4946         * gst/gstinfo.h:
4947           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4948           to print the entire class/function signature into the log
4949           file for C++ code.  This only affects C++ code, for C code
4950           everything remains the same.
4951
4952 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4953
4954         * gst/gstbin.c: (remove_from_queue):
4955         Work around a problem with pipelines containing (semi)loops until a
4956         proper, more complicated solution is ready. See #475455.
4957
4958 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4959
4960         * gst/gstplugin.c:
4961         * gst/gstplugin.h:
4962         * gst/gstregistrybinary.c:
4963         * gst/gstregistryxml.c:
4964           Put more strings into the GLib quark table. No need to keep
4965           a hundred-something copies of identical version strings,
4966           license strings, package name strings and package origin
4967           strings around. 
4968
4969 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4970
4971         * docs/manual/advanced-dataaccess.xml:
4972           Don't imply that it's okay to unconditionally change
4973           buffer data or buffer metadata in a pad probe callback,
4974           and a bunch of other comments. Fixes #430031.
4975
4976 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4977
4978         * win32/common/gstenumtypes.c:
4979         * win32/common/gstenumtypes.h:
4980         * win32/common/gstversion.h:
4981           Update generated files.
4982
4983 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4984
4985         * docs/manual/advanced-autoplugging.xml:
4986           Prefix section with broken code with a warning (see #342432).
4987
4988 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4989
4990         * docs/manual/appendix-integration.xml:
4991         * docs/manual/basics-init.xml:
4992           Call g_thread_init() before g_option_context_new() to
4993           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4994
4995 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4996
4997         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4998         (gst_base_sink_queue_object_unlocked),
4999         (gst_base_sink_queue_object), (gst_base_sink_event),
5000         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
5001         When we received EOS and are waiting for when to post the EOS message,
5002         our state is prerolled and we should not return ASYNC.
5003         Reorganize some code paths to implement this behavior.
5004
5005         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5006         (gst_sinks_suite):
5007         Add unit test to verify above EOS fix.
5008
5009 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
5010
5011         * plugins/elements/gsttypefindelement.c:
5012         (gst_type_find_element_have_type), (gst_type_find_element_init),
5013         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
5014         Move detecting the input caps of the sinkpad to the setcaps function.
5015         This allows us to update the output caps when we receive new input caps
5016         instead of always using the first detected caps.
5017
5018 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
5019
5020         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5021         (gst_base_sink_get_position):
5022         Don't try to preroll non-async elements after a flush.
5023         Subtract latency form clock times when reporting position.
5024
5025 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
5026
5027         * gst/gstpad.c: (gst_pad_pause_task):
5028         * gst/gstutils.c:
5029         Small comment and documentation update.
5030
5031 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
5032
5033         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5034         (gst_base_src_set_live), (gst_base_src_is_live),
5035         (gst_base_src_query_latency), (gst_base_src_perform_seek),
5036         (gst_base_src_default_event), (gst_base_src_wait),
5037         (gst_base_src_do_sync), (gst_base_src_get_range),
5038         (gst_base_src_pad_get_range), (gst_base_src_loop),
5039         (gst_base_src_unlock), (gst_base_src_unlock_stop),
5040         (gst_base_src_set_flushing), (gst_base_src_set_playing),
5041         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5042         (gst_base_src_change_state):
5043         Rework the locking of basesrc in a similar fashion to basesink. We
5044         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
5045         us to handle live sources and semi live ones much better.
5046         Simplify flushing.
5047         Fix unlocking when seeking, shutting down and pausing in live sources.
5048
5049 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
5050
5051         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
5052         Fix compilation again.
5053
5054 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5055
5056         * gst/gstelement.c:
5057           Use meaningful categories for the logs to clean the default one.
5058
5059 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5060
5061         * tests/check/pipelines/cleanup.c:
5062           Print message name and not just number.
5063
5064 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5065
5066         * docs/design/draft-tagreading.txt:
5067           Add some more thoughts.
5068
5069 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5070
5071         * tests/check/pipelines/simple-launch-lines.c:
5072           Print message name and not just number.
5073
5074 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5075
5076         * libs/gst/base/gsttypefindhelper.c:
5077           Speedup typefinding. This is work in progress (see #459862).
5078
5079 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5080
5081         * gst/gstplugin.c:
5082           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
5083           Spotted by Josep Torra Valles <josep@fluendo.com>.
5084
5085 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
5086
5087         * gst/gstclock.h:
5088           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
5089           field has moved to GstObject.
5090
5091 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
5092
5093         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
5094         (gst_base_src_get_range), (gst_base_src_change_state):
5095         Call unlock for live sources so that they can't get stuck in _create and
5096         produce a buffer before they are set back to PLAYING.
5097
5098 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
5099
5100         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5101         (gst_queue_locked_dequeue):
5102         Comment the segment-related code... in the PROPER function.
5103         See #482147 and my commit from yesterday.
5104
5105 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
5106
5107         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5108         Also initialize the counter that calculates the first timestamp on a
5109         buffer correctly for non-live sources.
5110
5111 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
5112
5113         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
5114         Disable code that's breaking the current-time-level reporting.
5115         See #482147
5116
5117 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
5118
5119         * docs/gst/gstreamer-sections.txt:
5120         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
5121         as they shouldn't show up. Fixes the docs build.
5122
5123 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
5124         
5125         * gst/gstinfo.h:
5126         Add an explicit variable importation needed on VS6 (only for MSC_VER)
5127         Define M_PI which is used in files which are including gstinfo.h. 
5128         VS6 includes doesn't define it.
5129         * win32/common/libgstbase.def:
5130         * win32/common/libgstcontroller.def:
5131         * win32/common/libgstreamer.def:
5132         Add new exported functions and variables.
5133         * win32/vs6/libgstcontroller.dsp:
5134         * win32/vs6/libgstreamer.dsp:
5135         Update the list of files to build.
5136         
5137 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
5138
5139         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5140
5141         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
5142         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
5143         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
5144         Improve debugging. Fixes #480858.
5145
5146 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
5147
5148         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5149
5150         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5151         First patch of code cleanups, use the macros and right arguments in the
5152         macros to signal and lock the queue. See #480858.
5153
5154 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
5155
5156         * gst/gstbus.c: (poll_func):
5157         Improve debugging when dealing with _poll().
5158
5159 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5160
5161         * gst/gstregistryxml.c:
5162           Fix memory leak I introduced a few days ago.
5163
5164 2007-09-26  Michael Smith <msmith@fluendo.com>
5165
5166         * gst/gstbuffer.c: (gst_buffer_finalize):
5167           Make it once again possible to free GstBuffers in the default
5168           build.
5169           The poisoning scribbles on parts of the miniobject we need in
5170           order to free it.
5171           Fixes #480341
5172
5173 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5174
5175         * docs/gst/gstreamer-sections.txt:
5176         * gst/gsttaglist.c:
5177         * gst/gsttaglist.h:
5178         API: add GST_TAG_COMPOSER, fixes #459809.
5179
5180 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
5181
5182         * gst/gstplugin.c:
5183         * gst/gstplugin.h:
5184         Add the 3-clause BSD license and the MIT/X11 license to the license
5185         list. Fixes #479784.
5186
5187 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5188
5189         * docs/faq/getting.xml:
5190           Add Q+A about different GStreamer versions (#364056).
5191
5192 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5193
5194         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5195         (gst_base_sink_event), (gst_base_sink_change_state):
5196         Return correct gboolean from query function.
5197
5198 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5199
5200         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5201         (gst_base_sink_event), (gst_base_sink_query),
5202         (gst_base_sink_change_state):
5203         Simplify latency query.
5204         When not synchronizing, we can report latency without querying the peer
5205         element.
5206
5207 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5208
5209         * gst/gstobject.h:
5210         * gst/gstvalue.c:
5211         Fix small typos in the docs.
5212
5213 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5214
5215         * docs/design/draft-latency.txt:
5216         * docs/design/draft-push-pull.txt:
5217         * docs/design/draft-tagreading.txt:
5218         * docs/design/part-MT-refcounting.txt:
5219         * docs/design/part-activation.txt:
5220         * docs/design/part-block.txt:
5221         * docs/design/part-element-source.txt:
5222         * docs/design/part-events.txt:
5223         * docs/design/part-gstbin.txt:
5224         * docs/design/part-gstelement.txt:
5225         * docs/design/part-gstobject.txt:
5226         * docs/design/part-gstpipeline.txt:
5227         * docs/design/part-messages.txt:
5228         * docs/design/part-preroll.txt:
5229         * docs/design/part-push-pull.txt:
5230         * docs/design/part-qos.txt:
5231         * docs/design/part-query.txt:
5232         * docs/design/part-scheduling.txt:
5233         * docs/design/part-seeking.txt:
5234         * docs/design/part-segments.txt:
5235         * docs/design/part-states.txt:
5236         Documentation updates and typo fixes.
5237
5238 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5239
5240         * plugins/elements/gstfakesink.c:
5241           Add some debug text to error message to indicate that
5242           we errored out on request.
5243
5244         * tools/gst-launch.c:
5245           When the state change to PLAYING fails, check for an
5246           error message on the bus and print it.
5247
5248 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5249
5250         translated by: Jorge González González <aloriel@gmail.com>
5251
5252         * po/LINGUAS:
5253         * po/es.po:
5254           Added Spanish translation.
5255
5256 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
5257
5258         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5259         Fix printf arguments.
5260
5261 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
5262
5263         * tests/check/generic/states.c:
5264           Improved state change unit test.
5265
5266 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
5267
5268         * gst/gstbin.h:
5269           Move priv to the right place.
5270
5271         * gst/gstsystemclock.c:
5272           Add FIXME: and improve log.
5273
5274         * tests/check/Makefile.am:
5275         * tests/examples/manual/Makefile.am:
5276           Work with all types of registries.
5277
5278 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
5279
5280         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5281         Don't unref the event after pushing it. Fixes #478401.
5282
5283 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5284
5285         * .cvsignore:
5286         * tests/examples/manual/.cvsignore:
5287           Ignore registries in any format.
5288
5289 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5290
5291         * gst/glib-compat-private.h:
5292           Add compatibility macro for g_intern_string() for
5293           GLib-2.8 (any reason we can't just bump the
5294           requirement to at least 2.10?)
5295
5296         * gst/gstpadtemplate.h:
5297         * gst/gstelementfactory.c:
5298         * gst/gstregistryxml.c:
5299         * gst/gstregistrybinary.c:
5300           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5301           up the internal code accordingly.  This shouldn't be a problem, since
5302           there is no reason external code could ever assume the string in such
5303           a structure is dynamically allocated unless it did that itself;  the
5304           use of g_strdup() is private to element factories.  The new code also
5305           saves some memory by putting pad template name strings into the GLib
5306           quark table instead of allocating them dynamically.
5307           Declaring this field constant fixes warnings with g++-4.2 when using
5308           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5309
5310 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5311
5312         * gst/gstelementfactory.c:
5313           Release static caps. Fixes #475723.
5314
5315 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
5316
5317         * gst/gstinfo.c:
5318         * gst/gstinfo.h:
5319           Make some internal API take const gchar * instead of just
5320           gchar * to avoid compiler warnings with g++-4.2.2 when
5321           passing string constants (partially fixes #478092).
5322
5323 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5324
5325         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5326         A latency query fails when one of the sinks fail.
5327
5328         * gst/gstelement.c: (gst_element_set_base_time):
5329         Improve debugging.
5330
5331 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5332
5333         * gst/gstbin.c: (gst_bin_continue_func):
5334         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5335         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5336         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5337
5338         Fix minor compilation warnings shown with Forte.
5339
5340 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5341
5342         * plugins/elements/gstqueue.c: (apply_buffer),
5343         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5344         Measure queue level based on the diff between head and tail timestamps
5345         even when pushing the first buffer.
5346
5347 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5348
5349         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5350         (gst_base_sink_event), (gst_base_sink_change_state):
5351         Sinks that don't preroll can always be queried for the latency.
5352         Don't post ASYNC start when we are not async.
5353
5354 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5355
5356         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5357         (gst_queue_handle_sink_event), (gst_queue_chain),
5358         (gst_queue_push_one), (gst_queue_handle_src_query),
5359         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5360         * plugins/elements/gstqueue.h:
5361         When downstream returns UNEXPECTED from pushing a buffer, don't try to
5362         push more buffers but allow pushing of EOS and NEWSEGMENT.
5363         Add some more debug info here and there. Fixes #476514.
5364
5365 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5366
5367         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5368         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5369         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5370         (gst_base_sink_set_flushing), (gst_base_sink_query),
5371         (gst_base_sink_change_state):
5372         Latency query is allowed after we are prerolled. Introduce a new flag
5373         for this and stop abusing other variables.
5374
5375 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5376
5377         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5378         Push OOB events downstream when we get them in send_event. This allows
5379         the application to insert events in the pipeline.
5380         Add some more comments.
5381
5382 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5383
5384         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5385         (do_bin_latency), (gst_bin_change_state_func):
5386         * gst/gstpipeline.c: (gst_pipeline_change_state):
5387         Move latency query from GstPipeline to GstBin so that we can also
5388         use it when async-handling is enabled on bins.
5389
5390 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5391
5392         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5393         (gst_base_src_do_sync), (gst_base_src_change_state):
5394         Update docs.
5395         Clean up the timestamping and syncing code for pseudo live sources.
5396
5397 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
5398
5399         Patch by: Steve Fink  <sphink gmail com>
5400
5401         * docs/manual/appendix-checklist.xml:
5402           Mention less -R switch in the section about debug output (#474055).
5403
5404 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5405
5406         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5407         Queue can latency to the pipeline up to the configured max size in time.
5408         Report this fact in the latency query.
5409
5410 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5411
5412         Patch by: Sebastien Moutte <sebastien at moutte dot net>
5413
5414         * libs/gst/controller/gstinterpolation.c:
5415         * libs/gst/controller/gstlfocontrolsource.c:
5416         Use gst_guint64_to_gdouble() when converting from a uint64 or
5417         GstClockTime to double to fix the build on win32. Fixes #474371.
5418
5419 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5420
5421         * gst/gstbuffer.c: (gst_buffer_finalize):
5422         Implement poisoning for GstBuffer if --enable-poisoning is specified.
5423         When finalizing a buffer the complete struct is filled with 0xff,
5424         thus making a use of the buffer after the final unref impossible.
5425
5426 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5427
5428         * tests/check/libs/controller.c: (GST_START_TEST):
5429         Use fail_unless_equals_int(a, b) instead of
5430         fail_unless_equals (a == b) to get better output on failures.
5431
5432 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5433
5434         * tests/check/gst/gsturi.c:
5435           Also check for the other file URI variant on win32.
5436
5437 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5438
5439         * gst/gsturi.c: (gst_uri_get_location):
5440           If there's no hostname, we want to return 'c:/foo/bar.txt'
5441           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5442
5443         * tests/check/gst/gsturi.c:
5444           Unit test for the above and a few more things.
5445
5446 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5447
5448         * docs/design/part-live-source.txt:
5449         Add docs on how live sources should timestamp.
5450
5451         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5452         Add some more debug info.
5453         For subclasses that are live and like to sync, add aditional startup
5454         latency to sync time and timestamps so that we timstamp according to the
5455         design doc.
5456
5457 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5458
5459         * gst/gstbuffer.c:
5460           Also do a g_type_class_ref() for the subbuffer type in
5461           the init function.
5462
5463 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5464
5465         * docs/gst/gstreamer-sections.txt:
5466         * gst/gstpad.c: (gst_pad_peer_query):
5467         * gst/gstpad.h:
5468         Add function to perform a query on the peer of a pad.
5469         API: gst_pad_peer_query()
5470
5471 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
5472
5473         * tests/check/gst/gstsystemclock.c:
5474           Cleanup the test a little (use gst-logging and not g_message). Improve
5475           test to check if a wait reached the target.
5476
5477 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5478
5479         * docs/libs/gstreamer-libs-sections.txt:
5480           Add new API to docs and fix the build.
5481
5482 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
5483
5484         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5485         (gst_base_src_init), (gst_base_src_set_do_timestamp),
5486         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5487         (gst_base_src_get_property), (gst_base_src_do_sync):
5488         * libs/gst/base/gstbasesrc.h:
5489         Add property to make the basesrc timestamp buffers based on the current
5490         running time.
5491         API: GstBaseSrc::do-timestamp
5492         API: gst_base_src_set_do_timestamp()
5493         API: gst_base_src_get_do_timestamp()
5494
5495 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
5496
5497         * docs/random/release:
5498           Really make sure translations are up-to-date before
5499           a release (#465010).
5500
5501 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
5502
5503         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5504         Always destroy the timer, also in error cases.
5505
5506 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5507
5508         * docs/manual/highlevel-xml.xml:
5509         Fix XML example code. Fixes #472714.
5510
5511 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5512
5513         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5514         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5515         (gst_base_sink_query):
5516         Protect eos and have_preroll with the OBJECT lock so we don't need to
5517         take the PREROLL lock when querying the latency. Fixes #473846.
5518
5519 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
5520
5521         * gst/gstelement.c:
5522           Give some log-messages a category.
5523
5524 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
5525
5526         * gst/gststructure.c:
5527         (gst_structure_fixate_field_nearest_fraction):
5528         Fix fraction list fixation code. Take the fraction with the smallest
5529         difference with the target instead of the first one in the list.
5530
5531         * tests/check/gst/gststructure.c: (GST_START_TEST),
5532         (gst_structure_suite):
5533         Added test to verify correct fraction list fixation behaviour.
5534
5535 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
5536
5537         * win32/common/libgstreamer.def:
5538           Export gst_bus_add_signal_watch too.
5539
5540 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
5541
5542         * docs/libs/gstreamer-libs-sections.txt:
5543         Add new methods to docs.
5544
5545         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5546         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5547         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5548         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5549         * libs/gst/base/gstbasesink.h:
5550         Add ts-offset property to fine-tune the synchronisation.
5551         API: GstBaseSink::ts-offset property
5552         API: gst_base_sink_set_ts_offset()
5553         API: gst_base_sink_get_ts_offset()
5554
5555 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
5556
5557         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5558         (gst_base_sink_init), (gst_base_sink_set_sync),
5559         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5560         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5561         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5562         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5563         (gst_base_sink_get_property), (gst_base_sink_change_state):
5564         * libs/gst/base/gstbasesink.h:
5565         Add async property to instruct the sink never to inform the parent about
5566         ASYNC state changes, update docs.
5567         Check argument with g_return_* for the public functions.
5568         API: GstBaseSink::async property
5569         API: gst_base_sink_set_async_enabled()
5570         API: gst_base_sink_is_async_enabled()
5571
5572 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5573
5574         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5575         Improve debugging.
5576
5577         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5578         (gst_base_src_default_query), (gst_base_src_wait),
5579         (gst_base_src_do_sync), (gst_base_src_change_state):
5580         Rearrange some code so that we can add support for measuring the 
5581         startup latency.
5582
5583 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5584
5585         * docs/random/ensonic/dynlink.txt:
5586           More thoughs on this.
5587
5588         * plugins/elements/gstcapsfilter.c:
5589           Add bugzilla ticket number to FIXME comment.
5590
5591 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5592
5593         * docs/design/part-TODO.txt:
5594         * docs/design/part-block.txt:
5595         Update some docs.
5596
5597 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5598
5599         * gst/Makefile.am:
5600           Revert patch which uses $(gst_headers) instead of $^ because it
5601           breaks make dist.
5602
5603 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5604
5605         * tests/check/gst/gstbin.c: (GST_START_TEST):
5606           Fix leaks in the new unit test.
5607
5608 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5609
5610         * gst/gst.c:
5611           Don't use GST_INFO before the debug system is actually initialised
5612           (shouldn't do any harm, but won't print anything either, so we can
5613           just as well remove it).
5614
5615         * gst/gstinfo.h:
5616           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5617           compilers that don't support variadic macros (such as MSVC), should
5618           check for debug_level <= __gst_debug_min as well, since that's the
5619           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5620           inline helper functions. Should improve performance a bit, but also
5621           makes sure uses of GST_INFO et.al are ignored if the debugging
5622           system isn't initialised yet (instead of printing an assertion
5623           failure).
5624
5625 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5626
5627         patch by: David Nečas <yeti@physics.muni.cz>
5628
5629         * gst/Makefile.am:
5630           Replace some non portable makefile constructs.
5631
5632 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5633
5634         * common/gtk-doc-plugins.mak:
5635           Grrrrr. Don't remove the types file on make clean.
5636
5637 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5638
5639         * tools/gst-launch.1.in:
5640         Add colorspace to example pipeline. Fixes #458274.
5641
5642 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5643
5644         * docs/random/release:
5645           The release manager should run 'make download-po' before making a
5646           release to make sure translations are up-to-date.
5647
5648         * po/LINGUAS:
5649         * po/be.po:
5650         * po/pl.po:
5651         * po/rw.po:
5652           Add some new translations.
5653
5654 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5655
5656         * tools/gst-launch.c: (event_loop), (main):
5657         Don´t try to do any state management when a live pipeline posts
5658         buffering messages.
5659         Also make the buffering string translatable.
5660
5661 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5662
5663         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5664         (bin_handle_async_start), (gst_bin_handle_message_func):
5665         Improve debugging.
5666         When adding elements, insert messages into the bus of the newly added
5667         element and make sure the element is the source of the message. This
5668         allows the parent bin to intercept the message and do the
5669         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5670         messages to the app (which is not allowed).
5671         Update some docs.
5672
5673         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5674         Fix testsuite so that is does not work around messages that should not
5675         have been posted in the first place.
5676
5677 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5678
5679         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5680         (update_degree), (gst_bin_sort_iterator_next):
5681         Fix annoying bug in the sorted iterator where a sink that is not really
5682         a sink (when it has downstream links) screwed up the iterator.
5683
5684         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5685         Unit test to verify the fix.
5686
5687 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5688
5689         * gst/gstmessage.h:
5690         Add some more docs for the messages.
5691
5692         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5693         (gst_base_sink_query):
5694         Add some more debugging.
5695
5696         * tools/gst-launch.c: (event_loop):
5697         When interrupting, don't try to set pipeline to PAUSED twice.
5698
5699 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5700
5701         
5702         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5703         (bin_handle_async_start), (gst_bin_handle_message_func):
5704         Move ASYNC_START message posting to where it belongs, similar to
5705         async_done. 
5706         Don't post ASYNC_START when we are in error. 
5707         Post ASYNC_START when we added an async element to a bin.
5708
5709 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5710
5711         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5712         generation from vargs. Fixes #466595.
5713
5714 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5715
5716         * gst/gstbin.c: (gst_bin_element_set_state):
5717         Always change the state of a NO_PREROLL element even if it has ASYNC
5718         elements inside (in case of a bin).
5719
5720         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5721         Unit test for this case.
5722
5723 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5724
5725         * libs/gst/check/gstbufferstraw.c:
5726         * libs/gst/check/gstcheck.h:
5727         * libs/gst/controller/gstcontroller.c:
5728         * libs/gst/controller/gstcontrolsource.h:
5729         * libs/gst/controller/gstlfocontrolsource.h:
5730         * plugins/elements/gstcapsfilter.h:
5731         * plugins/elements/gstfdsink.h:
5732         * plugins/elements/gstfdsrc.h:
5733           Add more missing docs.
5734
5735 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5736
5737         * gst/gststructure.c:
5738         Add Since tag to docs.
5739
5740 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5741
5742         * docs/gst/gstreamer-sections.txt:
5743         * gst/gststructure.c: (gst_structure_get_uint):
5744         * gst/gststructure.h:
5745         Add function to get uint from a structure.
5746         API: gst_structure_get_uint()
5747
5748 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5749
5750         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5751         (gst_caps_intersect):
5752         Fix proper check for simple caps.
5753
5754 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5755
5756         * docs/gst/Makefile.am:
5757         * docs/libs/Makefile.am:
5758           Remove cruft and do some cleanups.
5759
5760         * docs/gst/gstreamer-docs.sgml:
5761         * docs/libs/gstreamer-libs-docs.sgml:
5762           Prepare for comming gtkdoc features (rebase against online docs).
5763
5764 2007-08-10  Michael Smith <msmith@fluendo.com>
5765
5766         * docs/gst/gstreamer-sections.txt:
5767           Add gst_registry_add_path to docs.
5768
5769 2007-08-10  Michael Smith <msmith@fluendo.com>
5770
5771         * gst/gstregistry.h:
5772           Add gst_registry_add_path, which was missing from this header.
5773
5774 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5775
5776         * libs/gst/controller/gstlfocontrolsource.c:
5777           Printf format fix.
5778
5779 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5780
5781         * libs/gst/base/gstbasesink.c:
5782           Don't send an async_start message during downwards state change if 
5783           target state is less than READY
5784
5785 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5786
5787         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5788
5789         * po/LINGUAS:
5790         * po/hu.po:
5791           Added Hungarian translation.
5792
5793 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5794
5795         * po/fi.po:
5796         * po/it.po:
5797         * po/nl.po:
5798         * po/sv.po:
5799         * po/uk.po:
5800           Updated translations.
5801
5802 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5803
5804         * libs/gst/controller/Makefile.am:
5805         Dist gstlfocontrolsourceprivate.h
5806
5807 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5808
5809         * docs/libs/gstreamer-libs.types:
5810         Don't register the enum type gst_lfo_waveform_get_type() in the
5811         .types file - only GObject derived types belong.
5812
5813 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5814
5815         Patch by: <arenevier at fdn dot fr>
5816
5817         * gst/gstbuffer.h:
5818         Remove comma from last element in enum to avoid compile errors when
5819         using -pendantic. Fixes #464366.
5820
5821 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5822
5823         * docs/design/part-TODO.txt:
5824         Add some more TODO items
5825
5826         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5827         Improve debugging.
5828
5829         * gst/gstcaps.c: (gst_caps_intersect):
5830         Optimize trivial intersection case between identical caps pointers.
5831
5832         * gst/gstelement.c: (gst_element_continue_state),
5833         (gst_element_set_state_func):
5834         * gst/gstpad.c:
5835         Fix spelling and grammar mistakes.
5836
5837 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5838
5839         * po/POTFILES.in:
5840         * po/POTFILES.skip:
5841           Update POTFILES. Fixes #461599.
5842
5843 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5844
5845         * gst/gst.c:
5846         Fix confusing typo in debug output.
5847
5848 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5849
5850         reviewed by: Stefan Kost <ensonic@users.sf.net>
5851
5852         * libs/gst/controller/Makefile.am:
5853         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5854         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5855         (gst_lfo_control_source_new),
5856         (gst_lfo_control_source_set_waveform),
5857         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5858         (gst_lfo_control_source_finalize),
5859         (gst_lfo_control_source_dispose),
5860         (gst_lfo_control_source_set_property),
5861         (gst_lfo_control_source_get_property),
5862         (gst_lfo_control_source_class_init):
5863         * libs/gst/controller/gstlfocontrolsource.h:
5864         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5865         API: Add GstLFOControlSource, a control source that gives values
5866         for specific timestamps based on several periodic waveforms.
5867         Fixes #459717.
5868
5869         * tests/check/libs/controller.c: (GST_START_TEST),
5870         (gst_controller_suite):
5871         * docs/libs/gstreamer-libs-docs.sgml:
5872         * docs/libs/gstreamer-libs-sections.txt:
5873         * docs/libs/gstreamer-libs.types:
5874         Add documentation and unit tests for GstLFOControlSource.
5875
5876 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5877
5878         * configure.ac:
5879         Back to CVS
5880
5881 === release 0.10.14 ===
5882
5883 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5884
5885         * configure.ac:
5886           releasing 0.10.14, "Breathing Vacuum"
5887
5888 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5889
5890         * gst/gstelement.c: (gst_element_class_set_details_simple):
5891         * gst/gstelement.h:
5892           Make strings passed to gst_element_class_set_details_simple()
5893           constant, as they should be (#462752).
5894
5895 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5896
5897         * gst/gstbin.c: (gst_bin_change_state_func),
5898         (bin_handle_async_done), (gst_bin_handle_message_func):
5899         Don't forget about the fact that some element went ASYNC even after a
5900         resync. This makes us post the ASYNC_DONE message correctly.
5901         Fixes #462558.
5902
5903 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5904
5905         * gst/gstregistry.c: (gst_registry_add_feature):
5906         When replacing an existing feature in the registry, make sure to
5907         continue holding a reference until we've replaced the name string
5908         within our feature hash table. Make sure to use g_hash_table_replace
5909         instead of g_hash_table_insert to ensure the new name string is used
5910         as a key instead of the old one that we're about to free.
5911         Fixes: #462085
5912
5913 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5914
5915         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5916         (gst_plugin_feature_set_name):
5917         Revert patch from #459466 until after the release and we can work
5918         out exactly what the problem is (if any).
5919
5920 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5921
5922         * docs/gst/gstreamer-sections.txt:
5923         * gst/gsttaglist.c:
5924         * gst/gsttaglist.h:
5925           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5926
5927 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5928
5929         * docs/libs/Makefile.am:
5930         Include our build-prefix libs and includes before the generic ones to
5931         avoid linking against the installed libs when we want the build-tree
5932         ones.
5933
5934 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5935
5936         Patch by: Steve Fink  <sphink gmail com>
5937
5938         * docs/pwg/building-testapp.xml:
5939           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5940           if people try to build or install the example from the plugin
5941           template against a GStreamer from package using the configure
5942           defaults.
5943
5944 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5945
5946         Patch by: Steve Fink  <sphink gmail com>
5947
5948         * tools/gst-inspect.1.in:
5949           Document --print-all and --print-plugin-auto-install-info command
5950           line options in man page.
5951
5952 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5953
5954         * docs/gst/gstreamer-sections.txt:
5955         Add docs for new api function.
5956
5957 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5958
5959         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5960         * gst/gstelementfactory.h:
5961         API: gst_element_factory_has_interface()
5962         Added method to check if an element factory implements a named
5963         interface.
5964
5965 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5966
5967         * configure.ac:
5968         * docs/gst/gstreamer.types.in:
5969           Another conditional doc check.
5970
5971         * gst/gstmessage.c:
5972         * gst/gstparamspecs.h:
5973         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5974         * gst/gstvalue.c:
5975         * gst/gstxml.h:
5976           API-doc fixes.
5977
5978 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5979
5980         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5981         (gst_registry_binary_load_feature),
5982         (gst_registry_binary_load_plugin),
5983         (gst_registry_binary_read_cache):
5984           Print error just once and with additional info.
5985
5986 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5987
5988         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5989         (helper_find_suggest), (helper_find_get_length),
5990         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5991         (gst_type_find_helper_for_buffer):
5992           Cleanup the typefindhelper code and add private doc comments.
5993
5994 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5995
5996         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5997         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5998         Fix capsfilter for cases where the caps set on capsfilter will provide
5999         additional information.
6000         Fixes #449197
6001
6002 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
6003
6004         * gst/gsttypefindfactory.c:
6005           Fix docs that recommened wrong function to use.
6006
6007 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
6008
6009         * tools/gst-inspect.c: (print_plugin_features):
6010           Also give media-type for typefinders in element output.
6011
6012 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
6013
6014         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
6015         (gst_registry_remove_features_for_plugin_unlocked),
6016         (gst_registry_add_feature), (gst_registry_remove_feature),
6017         (gst_registry_lookup_feature_locked):
6018         * gst/gstregistry.h:
6019           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
6020           Fixes #459501.
6021
6022 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
6023
6024         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6025         (gst_plugin_feature_set_name):
6026           Avoid double memory usage for pluginfeature names. Fixes #459466.
6027
6028 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
6029
6030         * gst/gstpad.h:
6031           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
6032           driving the pipeline may need to explicitly check for NOT_LINKED as
6033           well, since IS_FATAL doesn't cover that.
6034
6035 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
6036
6037         * docs/pwg/advanced-types.xml:
6038           Fix typo and duplicate entry in video formats list.
6039
6040 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
6041
6042         * libs/gst/controller/gstinterpolation.c:
6043         Also round to the nearest int when using cubic interpolation.
6044
6045 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
6046
6047         * libs/gst/controller/gstinterpolation.c:
6048         When linearly interpolating integer types, round to the nearest int
6049         by adding 0.5. Don't do it for float/double types.
6050         Fixes the failing controller test on my machine, which is somehow
6051         rounding differently than on the buildbots.
6052
6053 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
6054
6055         * tools/gst-plot-timeline.py:
6056           Better log parsing (categories can have -). Adjust text vs. lines, so
6057           that they span the same y-range.        
6058
6059 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
6060
6061         * docs/random/ensonic/audiobaseclasses.txt:
6062         * docs/random/ensonic/dynlink.txt:
6063         * docs/random/ensonic/profiling.txt:
6064           Save my thoughts.
6065
6066         * docs/random/moving-plugins:
6067           Add note to use g_assert type macros.
6068
6069 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
6070
6071         * configure.ac:
6072         * libs/gst/check/Makefile.am:
6073           Add libm check as we use in for plugins.
6074
6075 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
6076
6077         * gst/gstbin.c: (gst_bin_continue_func):
6078         Check that the state_cookie hasn't changed since the continue_func
6079         was scheduled. Avoids problems where the state changes back to
6080         something it shouldn't be because it was changed in the meantime.
6081
6082 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
6083
6084         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
6085         (gst_registry_binary_save_string),
6086         (gst_registry_binary_save_pad_template),
6087         (gst_registry_binary_save_feature),
6088         (gst_registry_binary_save_plugin),
6089         (gst_registry_binary_load_feature),
6090         (gst_registry_binary_load_plugin),
6091         (gst_registry_binary_read_cache):
6092           Fix memory leak. Be less verbose in the log.
6093
6094 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6095
6096         * tests/check/elements/.cvsignore:
6097         Add file to cvsignore as commanded.
6098
6099 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6100
6101         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6102         (mq_dummypad_event), (run_output_order_test):
6103         Use a GStaticMutex to protect all cases where libcheck
6104         fail_if/fail_unless macros might be called from multiple threads
6105         simultaneously to avoid errors like:
6106           "check_pack.c:107: :-1081725400:Bad message type arg"
6107
6108 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6109
6110         * tests/check/pipelines/stress.c: (GST_START_TEST):
6111         Make sure we set the pipeline back to the NULL state before
6112         dropping our final reference.
6113
6114 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6115
6116         * tests/check/elements/tee.c: (GST_START_TEST):
6117         Make the tee stress-test a little less stressful so it doesn't just
6118         time out on slow-machines, and remove a small race when it's starting 
6119         up by adding a get_state() call.
6120
6121 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
6122
6123         * gst/gst.c:
6124           Avoid reading registry twice on startup. Fixes #457322.
6125
6126 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
6127
6128         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6129         * pkgconfig/gstreamer-check.pc.in:
6130         Substitute the CFLAGS for libcheck into our .pc file too so that
6131         dependent modules will pick it up properly if libcheck is installed
6132         into some other prefix.
6133
6134 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
6135
6136         * configure.ac:
6137         Revert the pkg-config check for libcheck, since it pulls in the
6138         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
6139         a proper solution, either from the check project, or something else.
6140
6141 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
6142
6143         * configure.ac:
6144           Use pkg-config to locate check.
6145
6146 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
6147
6148         * gst/gsttaglist.c:
6149           Fix doc syntax.
6150
6151         * gst/gstutils.c:
6152         * gst/gstutils.h:
6153           Add deprecation guards.
6154
6155         * libs/gst/base/gstcollectpads.h:
6156           Don't document object (this is implicitly private).
6157
6158 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
6159
6160         * gst/gststructure.c: (gst_structure_parse_value):
6161           When deserialising foo=bar without a type cast, check if it's a
6162           boolean before falling back to a string type, otherwise things like
6163           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
6164           because the filtercaps end up having a signed=(string)true field,
6165           which causes problems later when intersection caps.
6166
6167         * tests/check/gst/gststructure.c: (GST_START_TEST):
6168           Add a unit test for this.
6169
6170 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
6171
6172         Reviewed by: Stefan Kost <ensonic@users.sf.net>
6173
6174         * libs/gst/controller/Makefile.am:
6175         * libs/gst/controller/gstcontroller.c:
6176         (gst_controlled_property_add_interpolation_control_source),
6177         (gst_controlled_property_new), (gst_controlled_property_free),
6178         (gst_controller_find_controlled_property),
6179         (gst_controller_new_valist), (gst_controller_new_list),
6180         (gst_controller_new), (gst_controller_remove_properties_valist),
6181         (gst_controller_remove_properties_list),
6182         (gst_controller_remove_properties),
6183         (gst_controller_set_property_disabled),
6184         (gst_controller_set_disabled), (gst_controller_set_control_source),
6185         (gst_controller_get_control_source), (gst_controller_get),
6186         (gst_controller_sync_values), (gst_controller_get_value_array),
6187         (_gst_controller_dispose), (gst_controller_get_type),
6188         (gst_controlled_property_set_interpolation_mode),
6189         (gst_controller_set), (gst_controller_set_from_list),
6190         (gst_controller_unset), (gst_controller_unset_all),
6191         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
6192         * libs/gst/controller/gstcontroller.h:
6193         * libs/gst/controller/gstcontrollerprivate.h:
6194         * libs/gst/controller/gstcontrolsource.c:
6195         (gst_control_source_class_init), (gst_control_source_init),
6196         (gst_control_source_get_value),
6197         (gst_control_source_get_value_array), (gst_control_source_bind):
6198         * libs/gst/controller/gstcontrolsource.h:
6199         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
6200         (gst_object_get_control_source):
6201         * libs/gst/controller/gstinterpolation.c:
6202         (gst_interpolation_control_source_find_control_point_node),
6203         (gst_interpolation_control_source_get_first_value),
6204         (_interpolate_none_get), (interpolate_none_get),
6205         (interpolate_none_get_boolean_value_array),
6206         (interpolate_none_get_enum_value_array),
6207         (interpolate_none_get_string_value_array),
6208         (_interpolate_trigger_get), (interpolate_trigger_get),
6209         (interpolate_trigger_get_boolean_value_array),
6210         (interpolate_trigger_get_enum_value_array),
6211         (interpolate_trigger_get_string_value_array):
6212         * libs/gst/controller/gstinterpolationcontrolsource.c:
6213         (gst_control_point_free), (gst_interpolation_control_source_reset),
6214         (gst_interpolation_control_source_new),
6215         (gst_interpolation_control_source_set_interpolation_mode),
6216         (gst_interpolation_control_source_bind),
6217         (gst_control_point_compare), (gst_control_point_find),
6218         (gst_interpolation_control_source_set_internal),
6219         (gst_interpolation_control_source_set),
6220         (gst_interpolation_control_source_set_from_list),
6221         (gst_interpolation_control_source_unset),
6222         (gst_interpolation_control_source_unset_all),
6223         (gst_interpolation_control_source_get_all),
6224         (gst_interpolation_control_source_get_count),
6225         (gst_interpolation_control_source_init),
6226         (gst_interpolation_control_source_finalize),
6227         (gst_interpolation_control_source_dispose),
6228         (gst_interpolation_control_source_class_init):
6229         * libs/gst/controller/gstinterpolationcontrolsource.h:
6230         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
6231         API: Refactor GstController into the core controller which can take
6232         a GstControlSource for providing actual values for timestamps.
6233         Implement a interpolation control source and use this for backward
6234         compatibility, deprecate a bunch of functions that are now handled
6235         by GstControlSource or GstInterpolationControlSource.
6236         Make it possible to disable the controller completely or only for
6237         specific properties. Fixes #450711.
6238         * docs/libs/gstreamer-libs-docs.sgml:
6239         * docs/libs/gstreamer-libs-sections.txt:
6240         * docs/libs/gstreamer-libs.types:
6241         Add new functions and classes to the docs.
6242         * tests/check/libs/controller.c: (GST_START_TEST),
6243         (gst_controller_suite):
6244         * tests/examples/controller/audio-example.c: (main):
6245         Port unit test and example to the new API and add some new
6246         unit tests.
6247
6248 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
6249
6250         Patch by: Mark Nauwelaerts <manauw at skynet be>
6251
6252         * plugins/elements/gstmultiqueue.c:
6253         (gst_multi_queue_get_internal_links), (apply_buffer),
6254         (single_queue_overrun_cb), (gst_single_queue_new):
6255         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
6256         the pipeline layout can be tracked correctly. Fixes #453732.
6257
6258 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
6259
6260         * docs/gst/Makefile.am:
6261         * docs/libs/Makefile.am:
6262         * docs/plugins/Makefile.am:
6263           Simplify --extra-dir as gtkdoc scans recursively.
6264
6265 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6266
6267         * tools/gst-launch.c: (main):
6268         When we got an error, there is no point in waiting for preroll when
6269         shutting down.
6270
6271 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6272
6273         * plugins/elements/gsttee.c: (gst_tee_base_init),
6274         (gst_tee_request_new_pad), (gst_tee_release_pad),
6275         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6276         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6277         (gst_tee_chain):
6278         Be a lot smarter when deciding what srcpad to use for proxying
6279         the buffer_alloc. Also handle pad added/removed when doing so.
6280         Fixes #357959.
6281         Keep track of what pads we already pushed on in case we have pads
6282         added/removed while pushing. Fixes #374639 
6283
6284         * tests/check/Makefile.am:
6285         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6286         (tee_suite):
6287         Added unit test for pad resync.
6288
6289 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6290
6291         * po/nl.po:
6292         * po/sv.po:
6293           Updated translations.
6294
6295 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6296
6297         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6298
6299         * po/LINGUAS:
6300         * po/fi.po:
6301           Added new Finnish translation.
6302
6303 2007-06-28  Wim Taymans  <wim@fluendo.com>
6304
6305         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6306         (single_queue_overrun_cb):
6307         When figuring out when a queue is filled, use our internal time estimate
6308         based on segments, just like check_full does.
6309
6310 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6311
6312         * gst/gstminiobject.c: (gst_mini_object_get_type):
6313           Remove 3 do-nothing methods.
6314
6315 2007-06-27  Wim Taymans  <wim@fluendo.com>
6316
6317         Patch by: Tim Angus <tim at ngus dot net>
6318
6319         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6320         (gst_capsfilter_set_property):
6321         Take a reference instead of a copy when setting "caps".
6322         Fix documentation to clarify this behaviour. Fixes #449414.
6323
6324 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6325
6326         * gst/gstindexfactory.c: (gst_index_factory_get_type):
6327         * gst/gstplugin.c: (gst_plugin_init):
6328         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6329         * gst/gstquery.c: (gst_query_get_type):
6330         * gst/gstregistry.c: (gst_registry_init):
6331         * gst/gsturi.c: (gst_uri_handler_base_init):
6332           Remove empty instance_init() functions to save relocs and lessen the
6333           noise. Remove some of the function prototypes that are doubled by
6334           G_DEFINE_TYPE.
6335           
6336 2007-06-27  Wim Taymans  <wim@fluendo.com>
6337
6338         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6339
6340         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6341         Add peer and direction in the XML serialisation of ghostpads.
6342         Fixes #449226.
6343
6344 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6345
6346         * configure.ac:
6347           Preserve useful information, thanks Tim.
6348
6349 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
6350
6351         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6352         (gst_single_queue_flush), (apply_segment), (apply_buffer),
6353         (gst_single_queue_push_one), (gst_multi_queue_loop),
6354         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6355         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6356         (compute_high_id), (gst_single_queue_new):
6357         * plugins/elements/gstmultiqueue.h:
6358         Take the multiqueue lock when updating the fill level so we don't get
6359         confused. 
6360
6361         After applying a buffer or event on the src pad segment, make sure to
6362         call gst_data_queue_limits_changed() to get the data queue to unblock
6363         and check the filled state again.
6364         
6365         Rework the not-linked pad handling so the logic is that not-linked 
6366         pads can push as fast as they like, but only so they never get 
6367         ahead of any linked pads.
6368
6369         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6370         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6371         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6372
6373         Add a test to check that not-linked pads always stay behind
6374         linked pads.
6375
6376         Fixes: #430682
6377
6378 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
6379
6380         * docs/random/release:
6381           Some updates to the release procedure.
6382
6383 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6384
6385         * gst/gstelementfactory.c: (__gst_element_details_clear):
6386           Microoptimization that saves stunning 80 bytes.
6387
6388 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
6389
6390         * docs/plugins/gstreamer-plugins.args:
6391         * docs/plugins/inspect/plugin-coreelements.xml:
6392         * docs/plugins/inspect/plugin-coreindexers.xml:
6393           Update docs with caps info.
6394
6395 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6396
6397         * po/it.po:
6398           Updated Italian translation.
6399
6400 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6401
6402         * ChangeLog:
6403         * po/vi.po:
6404           Update Vietnamese translations.
6405
6406 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6407
6408         * libs/gst/base/gstbasesink.c:
6409           Remove unused signal enum.
6410
6411 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6412
6413         * docs/gst/gstreamer-sections.txt:
6414         * gst/gstelement.c:
6415         * gst/gstutils.c: (gst_type_register_static_full):
6416         Beef up and include the docs for gst_type_register_static_full and
6417         gst_element_class_set_details_simple and add the API keyword
6418         in the ChangeLog.
6419
6420 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6421
6422         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6423         (update_time_level), (gst_single_queue_push_one),
6424         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6425         (single_queue_overrun_cb), (single_queue_underrun_cb),
6426         (single_queue_check_full):
6427         Fix setting max-* properties after adding queues.
6428         Use IS_FILLED for checking visible items.
6429         Signal overrun if multiple queues overrun.
6430         Add extra debug output.
6431         Patch by: Wim Taymans <wim@fluendo.com>
6432
6433 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
6434
6435         * gst/gstelement.c: (gst_element_class_set_details_simple):
6436         * gst/gstelement.h:
6437         * gst/gstutils.c: (gst_type_register_static_full):
6438         * gst/gstutils.h:
6439         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6440         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6441         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6442         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6443         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6444         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6445         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6446         * plugins/elements/gstidentity.c: (gst_identity_base_init):
6447         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6448         * plugins/elements/gstqueue.c: (gst_queue_base_init),
6449         (apply_buffer), (gst_queue_chain):
6450         * plugins/elements/gsttee.c: (gst_tee_base_init):
6451         * plugins/elements/gsttypefindelement.c:
6452         (gst_type_find_element_base_init),
6453         (gst_type_find_element_class_init):
6454           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6455           API: add gst_type_register_static_full
6456           API: add gst_element_class_set_details_simple
6457
6458 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6459
6460         * docs/pwg/advanced-types.xml:
6461           Fix typo in iana.org URI.
6462
6463 2007-06-19  Andy Wingo  <wingo@pobox.com>
6464
6465         * tests/check/pipelines/simple-launch-lines.c
6466         (test_state_change_returns): Enable pull-mode tests now that
6467         basesink has been fixed.
6468
6469         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6470         Changed from gst_base_sink_is_prerolled, reversing the sense of
6471         the return value. Returns FALSE also if the sink is in pull mode,
6472         in which case it needs no preroll.
6473         (gst_base_sink_query, gst_base_sink_change_state): Update for
6474         needs_preroll change.
6475         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6476         chaining up, in which we return SUCCESS directly if we activated
6477         in pull mode instead of ASYNC. Involves countering an async_start
6478         message sent before chaining up; not sure if this is correct, in
6479         an ideal world we only send async-start when activating in push
6480         mode.
6481
6482         * tests/check/pipelines/simple-launch-lines.c
6483         (test_state_change_returns): New test, partially disabled until
6484         basesink is fixed.
6485
6486 2007-06-19  Wim Taymans  <wim@fluendo.com>
6487
6488         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6489         (gst_multi_queue_sink_event):
6490         Fix event leak.
6491
6492 2007-06-19  Wim Taymans  <wim@fluendo.com>
6493
6494         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6495         (gst_bin_change_state_func), (bin_push_state_continue),
6496         (bin_handle_async_start), (bin_handle_async_done),
6497         (gst_bin_handle_message_func):
6498         Move the common code for posting state-change messages into
6499         one function.
6500         Broadcast the state signal after we posted the messages.
6501         Mark the bin as busy when it's doing a state-change.
6502         Make sure async-start/done messages don't interfere with the bin's
6503         state when it's busy.
6504         After the state change, let the bin check which elements completed the
6505         state change while it was busy so that it can update its state.
6506
6507 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
6508
6509         * docs/random/release:
6510         Add a note about updating the doap file to the release checklist
6511
6512 2007-06-18  Wim Taymans  <wim@fluendo.com>
6513
6514         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6515         (gst_single_queue_push_one), (gst_multi_queue_chain),
6516         (gst_multi_queue_sink_event):
6517         Make sure we don't reference the buffer/event after we have given away
6518         ownership in the queue.
6519
6520 2007-06-18  Wim Taymans  <wim@fluendo.com>
6521
6522         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6523         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6524         Update queue state _after_ adding the item in the queue because else we
6525         could end up being full without the element added yet.
6526
6527 2007-06-18  Wim Taymans  <wim@fluendo.com>
6528
6529         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6530         (gst_bin_remove_func), (gst_bin_get_state_func),
6531         (gst_bin_element_set_state), (gst_bin_continue_func),
6532         (bin_push_state_continue), (bin_handle_async_start),
6533         (bin_handle_async_done), (gst_bin_handle_message_func):
6534         * gst/gstbin.h:
6535         Immediatly commit the toplevel bin state when receiving an async-done
6536         message. This enables us to avoid spawning a thread to commit the state
6537         in some common cases and it also avoids some races.
6538         Avoid spawning a state thread when adding/removing async elements to a
6539         toplevel bin. Instead we immediatly update the bin state.
6540         Get rid of iterating all the children when getting the state in the bin
6541         because it is now always up-to-date.
6542         Fix bug where locked elements would always return _SUCCESS even it they
6543         returned NO_PREROLL before being locked.
6544         Fix the order of the state_change, async-start/done messages that was
6545         sometimes incorrect.
6546         Mark the state_dirty field as deprecated, we don't need it anymore as we
6547         are always up-to-date.
6548
6549         * gst/gstelement.c: (gst_element_get_state_func),
6550         (gst_element_continue_state):
6551         Small debug inprovements.
6552         Return the previous element state return when nothing is pending instead
6553         of blindly returning SUCCESS.
6554
6555         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6556         (gst_sinks_suite):
6557         Add a whole bunch of new testcases.
6558
6559 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6560
6561         * po/uk.po:
6562         * po/vi.po:
6563           Update translations.
6564
6565 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
6566
6567         * gst/gstpad.c:
6568         Fix typo in the docs.
6569
6570 2007-06-15  Wim Taymans  <wim@fluendo.com>
6571
6572         * docs/libs/gstreamer-libs-sections.txt:
6573         Add docs for new methods.
6574
6575 2007-06-15  Wim Taymans  <wim@fluendo.com>
6576
6577         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6578         (gst_multi_queue_item_new):
6579         Don't use GSlice because we don't depend on >= 2.10 yet.
6580
6581 2007-06-15  Wim Taymans  <wim@fluendo.com>
6582
6583         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6584         (update_time_level), (apply_segment), (apply_buffer),
6585         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6586         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6587         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6588         (single_queue_underrun_cb), (single_queue_check_full):
6589         Remove debug printf.
6590
6591 2007-06-15  Wim Taymans  <wim@fluendo.com>
6592
6593         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6594         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6595         (gst_data_queue_set_flushing), (gst_data_queue_push),
6596         (gst_data_queue_pop), (gst_data_queue_drop_head),
6597         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6598         * libs/gst/base/gstdataqueue.h:
6599         Various cleanups.
6600         Added methods to get the current levels and to inform the queue that the
6601         'full' limits changed.
6602
6603         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6604         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6605         (gst_single_queue_flush), (update_time_level), (apply_segment),
6606         (apply_buffer), (gst_single_queue_push_one),
6607         (gst_multi_queue_item_steal_object),
6608         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6609         (gst_multi_queue_loop), (gst_multi_queue_chain),
6610         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6611         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6612         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6613         (single_queue_underrun_cb), (single_queue_check_full),
6614         (gst_single_queue_new):
6615         Keep track of time in the queue by measuring the difference between
6616         running_time on input and output. This gives more accurate results and
6617         can compensate for segments correctly.
6618         Make a queue by default only 5 buffers deep. We will now increase the
6619         buffer size depending on the filledness of the other queues.
6620         Factor out commong flush code.
6621         Make sure we don't add additional refcounts to buffers when we can avoid
6622         it.
6623         Propagate GstFlowReturn differently.
6624         Use GSlice for intermediate GstMultiQueueItems.
6625         Keep track of EOS.
6626         Resize queues on over and underruns based on filled level of other
6627         queues.
6628         When checking if the queue is filled, prefer to measure in time if we
6629         can and fall back to bytes when no time is known.
6630
6631         * plugins/elements/gstqueue.c:
6632         Fix return value.
6633
6634 2007-06-15  Wim Taymans  <wim@fluendo.com>
6635
6636         * libs/gst/base/gstbasetransform.c:
6637         (gst_base_transform_sink_event):
6638         Work around the brokenness of the event vmethod in basetransform. Prefer
6639         to return TRUE when the subclass returned FALSE (meaning don't forward
6640         the event). 
6641
6642         * libs/gst/base/gstbasetransform.h:
6643         Clarify the docs.
6644
6645 2007-06-15  Wim Taymans  <wim@fluendo.com>
6646
6647         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6648         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6649         (gst_base_src_default_query), (gst_base_src_get_range),
6650         (gst_base_src_start):
6651         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6652         Improve debugging.
6653
6654 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6655
6656         * docs/pwg/advanced-types.xml:
6657           Added more formats to caps table.
6658
6659 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6660
6661         * tools/gst-launch.c: (main):
6662           Remove crufy code. GOption does not need this workaround.
6663
6664 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6665
6666         * libs/gst/controller/gstcontroller.c:
6667         (gst_controlled_property_set_interpolation_mode):
6668           Fix wrong getter for enums in controller.
6669
6670 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6671
6672         * libs/gst/check/gstcheck.c: (gst_check_init):
6673           Intercept criticals and warnings in the Gst-Phonon log domain, so
6674           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6675           well.
6676         
6677 2007-06-14  Edward Hervey  <edward@fluendo.com>
6678
6679         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6680         Since this file doesn't include "gst.h" it will not go through the
6681         macros that disable GST_LOG if debugging was disabled.
6682
6683 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6684
6685         * libs/gst/check/Makefile.am:
6686         * libs/gst/check/gstcheck.h:
6687         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6688         * pkgconfig/gstreamer-check.pc.in:
6689           Ugly 'fix' for the controller unit test on the p5 bot: in
6690           fail_unless_equals_float() check whether the values are 'almost
6691           equal' by allowing a small absolute error, which should be good
6692           enough for our use cases (normal numbers and values close to 0).
6693           Proper fixage left to floating point arithmetic aficionados.
6694
6695 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6696
6697         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6698         (gst_base_sink_render_object), (gst_base_sink_get_position):
6699           Add two breaks thats where missing.
6700
6701 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6702
6703         * docs/libs/gstreamer-libs-sections.txt:
6704         * libs/gst/check/gstcheck.h:
6705           API: add fail_unless_equals_float() and assert_equals_float().
6706           Add documentation for some of the macros.
6707
6708         * tests/check/libs/controller.c: (GST_START_TEST):
6709           Use newly-added asserts.
6710
6711 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6712
6713         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6714           Show the caps change in the log to help spotting the case of not
6715           exactly matching caps.
6716
6717 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6718
6719         * docs/pwg/building-boiler.xml:
6720           Fix typos, spotted by Thijs Vermeir (#447190).
6721
6722 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6723
6724         * docs/plugins/tmpl/.cvsignore:
6725         Ignore file to keep the buildbots happy
6726
6727 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6728
6729         * docs/plugins/Makefile.am:
6730         * docs/plugins/gstreamer-plugins-docs.sgml:
6731         * docs/plugins/gstreamer-plugins-sections.txt:
6732         Pull fdsink into the docs too.
6733
6734 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6735
6736         * libs/gst/controller/gstinterpolation.c:
6737         Actually use the new functions with min/max checks for the trigger and
6738         none interpolation modes for get() and get_value_array() instead of
6739         just the latter.
6740
6741 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6742
6743         * libs/gst/controller/gstcontroller.c:
6744         (gst_controlled_property_free):
6745         Unset the minimum and maximum GValues when freeing the corresponding
6746         GstControllerProperty struct.
6747
6748 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6749
6750         * libs/gst/controller/gstcontroller.c:
6751         (gst_controlled_property_new):
6752         * libs/gst/controller/gstcontrollerprivate.h:
6753         * libs/gst/controller/gstinterpolation.c:
6754         (gst_controlled_property_find_control_point_node),
6755         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6756         (interpolate_none_get_string_value_array),
6757         (interpolate_trigger_get),
6758         (interpolate_trigger_get_enum_value_array),
6759         (interpolate_trigger_get_string_value_array):
6760         Protect against values larger or smaller than the minimum or maximum
6761         allowed value for the property when using values that can be compared.
6762
6763         Optimize trigger interpolator a bit by taking the last requested value
6764         into account instead of always looping through the complete list.
6765
6766         Fix coding style a bit, everywhere else we use "return foo" instead
6767         of "return (foo)".
6768         
6769         * tests/check/libs/controller.c: (GST_START_TEST),
6770         (gst_controller_suite):
6771         Add unit test for the protection against too large or too small
6772         values.
6773
6774 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6775
6776         * docs/random/slomo/controller.txt:
6777         Add some thoughts about the future of the controller.
6778
6779 2007-06-08  Wim Taymans  <wim@fluendo.com>
6780
6781         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6782         Don't overflow in retimestamping code.
6783
6784 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6785
6786         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6787         Use gst_util_guint64_to_gdouble for conversions.
6788         * win32/common/libgstreamer.def:
6789         Add new exported functions.
6790
6791 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6792
6793         * gst/gstutils.c:
6794           Small docs addition.
6795
6796 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6797
6798         * README:
6799           Remove that test line again.
6800
6801 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6802
6803         * README:
6804           Test commit mail sending.
6805
6806 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6807
6808         * configure.ac:
6809           Fix typo and test commit mail sending.
6810
6811 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6812
6813         * tests/examples/controller/audio-example.c:
6814           Improve comment and test commit mail sending.
6815
6816 2007-06-07  Wim Taymans  <wim@fluendo.com>
6817
6818         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6819         (gst_bin_remove_func), (gst_bin_element_set_state),
6820         (bin_handle_async_start), (bin_handle_async_done),
6821         (gst_bin_handle_message_func):
6822         Add helper function to find messages.
6823         Generate the async-done messages together with the state change
6824         messages.
6825         Small cleanups in handling toplevel bins.
6826
6827 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6828
6829         * libs/gst/base/gstdataqueue.c:
6830         * libs/gst/base/gstdataqueue.h:
6831         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6832         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6833         (gst_multi_queue_sink_event):
6834         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6835           Fix multiqueue leaking buffers and events when downstream or the
6836           queue are flushing. Make refcounting assumptions explicit and
6837           document them (shouldn't break existing code that uses it other than
6838           maybe leak miniobjects, but that already happens anyway). Add unit
6839           test for the most common flushing case. Fixes #423700.
6840           
6841 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6842
6843         * libs/gst/controller/gstcontroller.c:
6844         Clarify docs: The get_all, get_value_array(s) functions
6845         don't modify the GObject properties.
6846
6847 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6848
6849         * libs/gst/controller/gstcontroller.c:
6850         (gst_controlled_property_set_interpolation_mode),
6851         (gst_controlled_property_prepend_default),
6852         (gst_controlled_property_new), (gst_controller_set_unlocked),
6853         (gst_controller_set), (gst_controller_set_from_list),
6854         (gst_controller_unset), (gst_controller_unset_all):
6855         * libs/gst/controller/gstcontrollerprivate.h:
6856         * libs/gst/controller/gstinterpolation.c:
6857         Factor out the 'set' logic into gst_controller_set_unlocked for the
6858         gst_controller_set and gst_controller_set_from_list functions.
6859
6860         To make life of the interpolators easier always add a control point
6861         at timestamp zero with the default value.
6862
6863         In the linear interpolator make things more obvious by better variable
6864         naming (slope).
6865
6866         Implement cubic interpolation mode (by using a natural cubic spline)
6867         and map the quadratic interpolation mode to this too (as quadratic
6868         doesn't make much sense, see discussion on the list).
6869
6870         * tests/check/libs/controller.c: (GST_START_TEST),
6871         (gst_controller_suite):
6872         Add unit test for the cubic interpolation mode and check everywhere
6873         if the interpolation mode could be set as expected.
6874
6875 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6876
6877         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6878           Don't use GLib-2.10 functions, we still depend on
6879           GLib-how-old-is-it-again-2.8.
6880
6881 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6882
6883         * docs/gst/gstreamer-sections.txt:
6884         * gst/Makefile.am:
6885         * gst/gst.c:
6886         * gst/gst.h:
6887         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6888         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6889         (_gst_param_fraction_values_cmp),
6890         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6891         * gst/gstparamspecs.h:
6892         * gst/gstvalue.c:
6893         * tests/check/Makefile.am:
6894         * tests/check/gst/.cvsignore:
6895         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6896         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6897         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6898         (GST_START_TEST), (gst_param_spec_suite):
6899           API: add GstParamSpecFraction, so elements can have fraction
6900           properties without lots of painful string parsing (#444648).
6901
6902 2007-06-05  Wim Taymans  <wim@fluendo.com>
6903
6904         * gst/gstobject.c: (gst_object_class_init):
6905         Fix signal signature.
6906
6907         * gst/gstsegment.c:
6908         Add small clarification in the api docs.
6909
6910         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6911         States are protected with object lock.
6912
6913 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6914
6915         * AUTHORS:
6916         I should probably be listed as an author by now.
6917
6918         * docs/random/release:
6919         Update the release doc
6920
6921 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6922
6923         * gst/gstvalue.c:
6924           Make docs for gst_value_compare() mention return enums that
6925           actually exist.
6926
6927 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6928
6929         * configure.ac:
6930           Back to CVS
6931
6932 === release 0.10.13 ===
6933
6934 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6935
6936         * configure.ac:
6937           releasing 0.10.13, "With or without you"
6938
6939 2007-05-25  Wim Taymans  <wim@fluendo.com>
6940
6941         * gst/gstbin.c: (bin_handle_async_done):
6942         Make sure that the child bin stops after completing the async state
6943         change so that the parent can continue the state change to PLAYING.
6944         Fixes #441159.
6945
6946 2007-05-25  Wim Taymans  <wim@fluendo.com>
6947
6948         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6949         (unref_data), (gst_collect_pads_remove_pad),
6950         (gst_collect_pads_check_pads):
6951         Use additional refcounting to avoid crashes when dynamically adding and
6952         removing pads. Fixes #420206.
6953
6954 2007-05-24  Wim Taymans  <wim@fluendo.com>
6955
6956         * tools/gst-launch.c: (event_loop):
6957         When buffering goes from a two digit to a single digit number, make sure
6958         to remove the old second digit by writing a blank over it.
6959
6960 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6961
6962         * libs/gst/base/gstdataqueue.c:
6963           Eliminate tabs and trailing comma in enum list; fix some typos.
6964
6965 2007-05-24  Wim Taymans  <wim@fluendo.com>
6966
6967         * tests/check/gst/gstbin.c: (GST_START_TEST):
6968         Allow refcount of 3 and 4 because some state thread might still be busy
6969         with it.
6970
6971 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6972
6973         * plugins/elements/Makefile.am:
6974         * plugins/elements/gstmultiqueue.h:
6975         * plugins/elements/gstqueue.h:
6976           These are not installed headers, no need for padding.
6977
6978 2007-05-24  Wim Taymans  <wim@fluendo.com>
6979
6980         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6981         (gst_bin_continue_func):
6982         Enable latency for next release.
6983         Restore STATE_LOCK around recalc_state that was left out during the
6984         rewrite and could result in racy behaviour when _get_state and
6985         recalc_state are run concurrently. See #440463.
6986
6987 2007-05-23  Wim Taymans  <wim@fluendo.com>
6988
6989         * tests/check/gst/gstsystemclock.c: (store_callback),
6990         (GST_START_TEST):
6991         Improve test_async_order to also work when both timers are already
6992         expired when we get scheduled to check it.
6993
6994 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6995
6996         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6997         (gst_bin_set_property), (gst_bin_get_property),
6998         (gst_bin_remove_func), (gst_bin_handle_message_func):
6999         * gst/gstbin.h:
7000           'private' is a c++ keyword, let's not use that in header files,
7001           otherwise c++ compilers will throw a tantrum.
7002
7003 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
7004
7005         * plugins/elements/gstelements.c:
7006         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
7007         (gst_file_sink_get_current_offset):
7008         * plugins/indexers/gstindexers.c: (plugin_init):
7009           Use #ifdef for HAVE_XYZ for consistency.
7010
7011         * tests/check/Makefile.am:
7012         * tests/check/elements/.cvsignore:
7013         * tests/check/elements/filesink.c: (setup_filesink),
7014         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
7015           Add some unit tests for filesink.
7016
7017 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
7018
7019         Patch by: Mark Nauwelaerts <manauw at skynet be>
7020
7021         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7022         (gst_file_sink_query), (gst_file_sink_do_seek),
7023         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7024         * plugins/elements/gstfilesink.h:
7025           Fix position reporting; rename data_written member to current_pos to
7026           reflect its real meaning (fixes #412648).
7027
7028 2007-05-22  Edward Hervey  <edward@fluendo.com>
7029
7030         * docs/gst/gstreamer-sections.txt:
7031         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7032         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
7033         (gst_bin_remove_func), (gst_bin_handle_message_func):
7034         * gst/gstbin.h:
7035         Add a property for bins that handle the state change of their childs.
7036         Fixes #435880
7037
7038 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
7039
7040         * libs/gst/controller/gstinterpolation.c:
7041         Use an array of the correct type when using _get_value_array with
7042         linear interpolation.
7043
7044 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
7045
7046         * gst/gstelement.c (gst_element_requires_clock,
7047           gst_element_provides_clock, gst_element_request_pad,
7048           gst_element_class_set_details, gst_element_class_set_details_simple,
7049           gst_element_default_send_event, gst_element_abort_state,
7050           gst_element_continue_state, gst_element_set_state,
7051           gst_element_set_state_func, iterator_activate_fold_with_resync):
7052         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
7053           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
7054           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
7055           gst_pad_get_range, gst_pad_pull_range):
7056         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
7057           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
7058           GstPadActivateModeFunction, GstPadChainFunction,
7059           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
7060           GstPadFixateCapsFunction, GstPadTemplate):
7061         * gst/gstpipeline.c (gst_pipeline_change_state,
7062           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
7063           gst_pipeline_set_clock, gst_pipeline_auto_clock,
7064           gst_pipeline_get_delay):
7065           Whitespace and docs fixes.
7066
7067 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
7068
7069         * libs/gst/controller/gstinterpolation.c:
7070         (interpolate_trigger_get_enum_value_array),
7071         (interpolate_trigger_get_string_value_array):
7072         Add support for retrieving value arrays when using the trigger
7073         interpolation mode. 
7074
7075 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
7076
7077         * libs/gst/controller/gstcontroller.c:
7078         (gst_controller_get_value_array):
7079         * libs/gst/controller/gstcontroller.h:
7080         Clarify the docs of gst_controller_get_value_array(): The array where
7081         the values should be written to must be allocated as there seems to be
7082         no way to get the size of a random GType. This doesn't change any
7083         behaviour. Also fix some typos all over the place and remove an unused,
7084         commented function that is not necessary as g_object_set() could be
7085         used instead.
7086         * tests/check/libs/controller.c: (GST_START_TEST),
7087         (gst_controller_suite):
7088         Add unit test for gst_controller_get_value_array().
7089
7090 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
7091
7092         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7093
7094         Disable part of the gst_buffer_try_new_and_alloc test, because
7095         it can happily succeed on 64-bit systems where there's more address
7096         space available.
7097
7098 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
7099
7100         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7101         Add unit test for the improved caps checking from bug #421543.
7102
7103 2007-05-21  Wim Taymans  <wim@fluendo.com>
7104
7105         * docs/design/part-synchronisation.txt:
7106         Small addition.
7107
7108         * gst/gstbin.c: (gst_bin_query):
7109         * plugins/elements/gstqueue.c: (apply_segment):
7110         Improve debugging.
7111
7112         * gst/gstmessage.h:
7113         Improve docs.
7114
7115 2007-05-21  Wim Taymans  <wim@fluendo.com>
7116
7117         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7118         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
7119         (gst_pad_configure_src):
7120         Added simple version of improved caps checking. It was previously
7121         assumed that a setcaps function would check the validity of the caps but
7122         people prefer us to check caps against the template automatically. 
7123         Fixes #421543.
7124
7125 2007-05-21  Wim Taymans  <wim@fluendo.com>
7126
7127         * libs/gst/base/gstbasetransform.h:
7128         Fix macro for locking/unlocking the transform lock.
7129
7130 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7131
7132         * docs/plugins/tmpl/.cvsignore:
7133           Ignore more.
7134
7135 2007-05-18  Edward Hervey  <edward@fluendo.com>
7136
7137         * plugins/elements/gstqueue.c: (gst_queue_loop):
7138         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
7139         for the subtle art of warning a potentially blocking thread that it
7140         should check the source pad return value, and relay the information
7141         upstream.
7142
7143 2007-05-18  Edward Hervey  <edward@fluendo.com>
7144
7145         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7146         Release the queue lock !
7147
7148 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7149
7150         * docs/libs/gstreamer-libs-sections.txt:
7151         Add the two new controller functions to the appropiate places.
7152
7153 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7154
7155         reviewed by: Stefan Kost <ensonic@users.sf.net>
7156
7157         * libs/gst/controller/gstcontroller.c:
7158         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
7159         (_gst_controller_get_property), (_gst_controller_set_property),
7160         (_gst_controller_init), (_gst_controller_class_init):
7161         * libs/gst/controller/gstcontroller.h:
7162         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
7163         (gst_object_get_control_rate), (gst_object_set_control_rate):
7164         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
7165         Add API that provides sync suggestion timestamps for elements that
7166         call gst_object_sync_values() from which those elements can subdivide
7167         their processing loop to get the best results for the controlled
7168         properties. For now it just suggests last_sync + control_rate as
7169         new timestamp but this will be improved in the future.
7170
7171         While doing that change the control-rate property to a GstClockTime
7172         from guint and change it's meaning from samples to nanoseconds as
7173         the GstController doesn't know anything about sampling rate. Strictly
7174         speaking this breaks ABI but as the control-rate property didn't do
7175         anything in the past and as such couldn't be used this should be no
7176         problem.        
7177
7178 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7179
7180         reviewed by: Stefan Kost <ensonic@users.sf.net>
7181
7182         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7183         (gst_controller_unset_all):
7184         * libs/gst/controller/gstcontrollerprivate.h:
7185         * libs/gst/controller/gstinterpolation.c:
7186         (gst_controlled_property_find_control_point_node):
7187         Save last synced value from the list to continue searching from there
7188         in future syncs. This speeds everything up a bit.
7189         
7190 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7191
7192         reviewed by: Stefan Kost <ensonic@users.sf.net>
7193
7194         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
7195         (gst_control_point_find), (gst_controlled_property_new),
7196         (gst_control_point_free), (gst_controlled_property_free),
7197         (gst_controller_set), (gst_controller_set_from_list),
7198         (gst_controller_unset), (gst_controller_unset_all),
7199         (gst_controller_sync_values):
7200         * libs/gst/controller/gstcontroller.h:
7201         * libs/gst/controller/gstcontrollerprivate.h:
7202         * libs/gst/controller/gstinterpolation.c:
7203         (gst_controlled_property_find_control_point_node),
7204         (interpolate_none_get), (interpolate_trigger_get):
7205         Add a new private GstControlPoint struct which "inherits" from
7206         GstTimedValue to allow different interpolators to store internal
7207         values next to each control point. From the outside everything is
7208         still a GstControlPoint so we don't loose binary compatibility.
7209         Also fixup all the GValue handling to not leak GValues or list nodes.
7210         * tests/check/libs/controller.c: (GST_START_TEST):
7211         Free the list nodes and GValues in the controller_misc test.
7212
7213 2007-05-17  Edward Hervey  <edward@fluendo.com>
7214
7215         * gst/gstsegment.c:
7216         Small doc fix.
7217
7218 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
7219
7220         * gst/gstplugin.c: (gst_plugin_load_file):
7221           If we fail to load a plugin because of unresolved symbols or missing
7222           libraries and spew a warning to stderr, we may just as well mention
7223           which plugin it was that failed to load.
7224
7225 2007-05-13  David Schleef  <ds@schleef.org>
7226
7227         * docs/Makefile.am: the gtk-doc makefile snippet correctly
7228           handles the case when ENABLE_GTK_DOC is false, and installs
7229           the prebuilt documentation.  So gtk-doc subdirs are 
7230           unconditionally enabled.  Fixes: #349099.
7231
7232 2007-05-13  David Schleef  <ds@schleef.org>
7233
7234         * gst/gstutils.h: Reword some documentation.
7235
7236 2007-05-12  David Schleef  <ds@schleef.org>
7237
7238         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
7239           do anything with the passed "module" parameter, so remove it.
7240           Allows removal of additional vestigal code.
7241
7242 2007-05-12  David Schleef  <ds@schleef.org>
7243
7244         * gst/gstplugin.c:
7245           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
7246           Switch to using g_stat() because it's more portable.
7247
7248 2007-05-12  David Schleef  <ds@schleef.org>
7249
7250         * gst/gst.c:
7251           Add GST_DISABLE_OPTION_PARSING, in order to disable option
7252           parsing for embedded systems.
7253         * gst/gstelementfactory.c:
7254           Allow gst_element_register() to be called with plugin==NULL.
7255           Did nobody notice that static elements were broken?
7256
7257 2007-05-12  Wim Taymans  <wim@fluendo.com>
7258
7259         * tools/gst-launch.c: (event_loop):
7260         Give more interesting info when buffering starts and stops.
7261         Fix case where buffering starts but we fail to update the buffering flag
7262         because the target state is not PLAYING.
7263
7264 2007-05-12  Wim Taymans  <wim@fluendo.com>
7265
7266         * plugins/elements/gstqueue.c: (gst_queue_init),
7267         (gst_queue_finalize), (update_time_level), (apply_segment),
7268         (apply_buffer), (gst_queue_locked_flush),
7269         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
7270         (gst_queue_handle_sink_event), (gst_queue_chain),
7271         (gst_queue_push_one), (gst_queue_loop):
7272         * plugins/elements/gstqueue.h:
7273         Refactor an cleanup queue a bit.
7274         Do better time level calculations that also work when the srcpad is not
7275         yet running.
7276         Remove some unneeded debug lines.
7277
7278         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7279         Added testcase for time level measurement.
7280         Try to make some stuff more racefree.
7281
7282 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7283
7284         * gst/gsturi.c: (gst_element_make_from_uri):
7285           Don't leak plugin feature.
7286
7287         * tests/check/Makefile.am:
7288         * tests/check/gst/.cvsignore:
7289         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7290           Add brain-dead unit test.
7291
7292 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7293
7294         Patch by: Jeroen Wouters <woutersj at gmail com>
7295
7296         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7297           Treat protocol strings in a case-insensitive way (#437563).
7298
7299 2007-05-11  Michael Smith <msmith@fluendo.com>
7300
7301         * gst/gstplugin.c: (gst_plugin_load_file):
7302         * gst/gstregistry.c: (gst_registry_scan_path_level):
7303           Don't print a g_warning for any failure to load a shared object.
7304           Instead, push this down into gstplugin.c, and warn _only_ if we
7305           failed to open the module (i.e. failure to link).
7306           Avoids warnings on normal, working, non-plugin .so files.
7307
7308 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
7309
7310         * gst/gstplugin.c (gst_plugin_load_file):
7311         * gst/gstregistry.c (GST_CAT_DEFAULT,
7312           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7313           Print a g_warning if there was an error when loading a plugins during
7314           registry scan. The shuld help beginners starting with gst-plugin
7315           template.
7316
7317 2007-05-10  Wim Taymans  <wim@fluendo.com>
7318
7319         * plugins/elements/gstqueue.c: (gst_queue_class_init),
7320         (update_time_level), (gst_queue_locked_flush),
7321         (gst_queue_handle_sink_event), (gst_queue_chain),
7322         (gst_queue_push_one), (gst_queue_loop):
7323         * plugins/elements/gstqueue.h:
7324         Be smarter when calculating the current amount of data in the queue by
7325         measuring the difference between start and end timestamps (in running
7326         time) inside the queue. Fixes #432876.
7327         API: GstQueue::pushing to notify elements that we are pushing data again
7328         since the running signal is rather broken for this purpose.
7329
7330 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
7331
7332         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7333           gst_queue_base_init, gst_queue_init):
7334           use GST_BOILERPLATE
7335
7336 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
7337
7338         * win32/common/libgstreamer.def:
7339         Add new exported functions.
7340         * win32/vs6/grammar.dsp:
7341         Use grammar pre-generated files.
7342
7343 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7344
7345         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
7346
7347         * gst/Makefile.am:
7348         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7349         * gst/gstparse.h:
7350         * gst/gstutils.c: (gst_parse_bin_from_description):
7351         * gst/gstutils.h:
7352           Maintain API and ABI when --disable-parse is used. Now that
7353           we have an appropriate error code, we can just return NULL and the
7354           appropriate error when gst_parse_launch() is used despite it having
7355           been disabled (#342564).
7356
7357         * tests/check/Makefile.am:
7358         * tests/check/pipelines/.cvsignore:
7359         * tests/check/pipelines/parse-disabled.c:
7360           Make sure these functions exist and return NULL plus a GError when
7361           --disable-parse is used.
7362
7363 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7364
7365         * tests/benchmarks/complexity.c: (main):
7366         * tests/benchmarks/mass-elements.c: (main):
7367           Set a good example and don't leak messages.
7368
7369 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
7370
7371         * docs/gst/Makefile.am:
7372         * docs/libs/Makefile.am:
7373           Correct fixxrefs options.
7374
7375         * docs/plugins/Makefile.am:
7376         * docs/plugins/gstreamer-plugins-docs.sgml:
7377         * docs/plugins/gstreamer-plugins-sections.txt:
7378         * plugins/elements/Makefile.am:
7379         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7380         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7381           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7382           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7383           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7384           _GstCapsFilterClass, trans_class):
7385         * plugins/elements/gstelements.c (name, rank, type, _elements):
7386         * plugins/elements/gstidentity.c
7387           (gst_identity_check_imperfect_timestamp,
7388           gst_identity_check_imperfect_offset):
7389           Document capsfilter and add doc-blurb to identity.
7390
7391 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
7392
7393         * libs/gst/controller/gstcontroller.c:
7394         (gst_controlled_property_set_interpolation_mode):
7395         * libs/gst/controller/gstinterpolation.c:
7396           Don't crash if someone tries to set an interpolation mode that
7397           is invalid or that isn't supported yet. Fixes #422295.
7398
7399         * tests/check/libs/controller.c: (GST_START_TEST),
7400         (gst_controller_suite):
7401           Add a test case for the above.
7402
7403 2007-05-03  Edward Hervey  <edward@fluendo.com>
7404
7405         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7406         Properly set the last_stop position on GstSegment. This will only happen
7407         if there is a buffer to push out.
7408
7409 2007-05-03  Wim Taymans  <wim@fluendo.com>
7410
7411         * libs/gst/base/gstbasetransform.c:
7412         (gst_base_transform_buffer_alloc):
7413         always_in_place does not mean that the sink and source caps are the
7414         same! Make sure we don't blindly proxy the buffer_alloc in this case.
7415
7416 2007-05-03  Wim Taymans  <wim@fluendo.com>
7417
7418         * docs/libs/gstreamer-libs-sections.txt:
7419         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7420         (gst_base_src_default_query), (gst_base_src_get_range):
7421         * libs/gst/base/gstbasesrc.h:
7422         API: gst_base_src_query_latency(). Added method so that subclasses can
7423         easily get the latency values of the base source class.
7424
7425 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
7426
7427         * tools/gst-inspect.c (print_implementation_info):
7428         Remove 0.8 cruft.
7429
7430 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
7431
7432         * tools/Makefile.am:
7433         * tools/gst-launch.1.in:
7434           Don't create a customised man page based on the host architecture,
7435           describe the default registry path generically. That way the man
7436           page is the same for all architectures and packagers have one
7437           multilib issue less to deal with. Fixes #434926.
7438
7439 2007-05-02  Wim Taymans  <wim@fluendo.com>
7440
7441         * gst/gstpad.c:
7442         Fix documentation as spotted by rg on IRC. 
7443
7444 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
7445
7446         * gst/gstutils.c:
7447           Improve docs for gst_element_{link,unlink}.
7448
7449 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
7450
7451         * docs/design/part-events.txt:
7452         * docs/design/part-overview.txt:
7453         * gst/gstevent.c:
7454         * gst/gsturi.c:
7455         * gst/gsturi.h:
7456         * libs/gst/base/gstbasesink.c:
7457           Typo fixes; minor docs addition.
7458
7459 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7460
7461         * docs/gst/gstreamer-sections.txt:
7462         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7463         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7464         * gst/gsturi.h:
7465         API: Add gst_uri_protocol_is_supported(), which checks if a sink
7466         or src that supports a given URI protocol exists.
7467
7468 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7469
7470         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7471         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7472         Set the location to NULL if "file://" is set as URI. Otherwise
7473         some random previous URI would still be set if "file://" is
7474         set on an already used filesink/filesrc.
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         Special case the "file://" URI as as this is used by some
7481         applications to test with gst_element_make_from_uri if there's
7482         an element that supports the URI protocol.
7483         Also move the g_path_is_absolute() check for the location part
7484         of the URI to also check this for "file://localhost/bla" URIs.
7485
7486 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
7487
7488         * docs/gst/gstreamer-sections.txt:
7489         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7490         * gst/gstbuffer.h:
7491         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7492         (gst_buffer_suite):
7493           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7494
7495 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
7496
7497         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7498         (gst_registry_binary_load_pad_template),
7499         (gst_registry_binary_load_plugin),
7500         (gst_registry_binary_read_cache):
7501         * gst/gstregistrybinary.h:
7502           Implement no-mmap alternative for registry reading. Do code cleanups.
7503           Add more comments about avoiding strdups for all text data. Comments
7504           welcome.
7505
7506 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7507
7508         * gst/gstregistrybinary.h (GstBinaryPluginElement,
7509           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7510           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7511           Comment structs and reformat to fix the build (that stuff should go
7512           into a priv. header).
7513
7514 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7515
7516         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7517         (gst_registry_binary_load_feature):
7518         * gst/gstregistrybinary.h:
7519           Refactor so that we can implement multiple features. Add support for
7520           TypeFindFactory features.
7521
7522 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
7523
7524         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7525
7526         * configure.ac:
7527           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7528
7529 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
7530
7531         * gst/gstbin.c: (gst_bin_element_set_state),
7532         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7533         (bin_handle_async_done), (gst_bin_handle_message_func):
7534           Fix build with --gst-disable-gst-debug
7535
7536 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
7537
7538         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7539           Make sure streaming has finished before calling the ::stop() vfunc,
7540           since that vfunc might clear state which is being used in the
7541           streaming thread. This fixes a race that caused crashes in
7542           audioresample when shutting down a pipeline (#420106).
7543
7544 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7545
7546         * docs/gst/gstreamer-sections.txt:
7547           That was one byte missing.
7548
7549 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7550
7551         * configure.ac:
7552         * docs/gst/gstreamer-sections.txt:
7553         * gst/Makefile.am:
7554         * gst/gstconfig.h.in:
7555         * gst/gstobject.c: (gst_object_class_init),
7556         (gst_signal_object_class_init):
7557         * gst/gstobject.h:
7558           2nd attempt to have a xml-less build as a joined effort of #413123
7559           and #421480.
7560
7561 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7562
7563         * docs/design/draft-tagreading.txt:
7564           Added open issues/thoughts to draft.
7565
7566 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7567
7568         * gst/parse/grammar.tab.pre.c:
7569         * gst/parse/grammar.tab.pre.h:
7570         * gst/parse/lex._gst_parse_yy.pre.c:
7571         Update the prebuild parser sources.
7572
7573 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7574
7575         * gst/parse/Makefile.am:
7576         And now fix the building of the flex sources. Now everything should
7577         work as expected.
7578
7579 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7580
7581         * gst/parse/Makefile.am:
7582         Now hopefully fix the build failures by setting proper rule
7583         dependencies and moving instead of copying.
7584
7585 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7586
7587         * tests/benchmarks/complexity.gnuplot:
7588         * tests/benchmarks/complexity.scm:
7589         * tests/benchmarks/mass-elements.gnuplot:
7590         * tests/benchmarks/mass-elements.scm:
7591           Total licensification.
7592
7593 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7594
7595         * gst/parse/Makefile.am:
7596           Fix the build by correcting the rule that gave wrong files to flex.
7597
7598 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7599
7600         * tests/benchmarks/complexity.c:
7601         * tests/benchmarks/mass-elements.c:
7602           Change licence to LGPL as granted by Benjamin and Andy.
7603
7604 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7605
7606         * gst/parse/Makefile.am:
7607         Add correct grammar.tab.h dependency if compiling without new enough
7608         flex. Fixes #431150.
7609
7610 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7611
7612         * gst/parse/Makefile.am:
7613         Fix typo and use outdated sources if the flex/bison sources are newer
7614         than the pregenerated ones but flex is too old. Print a warning in
7615         that case. This should fix the build on the build bot.
7616
7617 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7618
7619         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7620         * gst/parse/Makefile.am:
7621         * gst/parse/grammar.y:
7622         * gst/parse/parse.l:
7623         Make the parser reentrant and recursively callable. This requires flex
7624         >= 2.5.31, for older versions pregenerated sources are used as we
7625         can't bump the build dependency. Finally fixes #349180.
7626
7627         * gst/gstparse.c: (gst_parse_launch):
7628         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7629         now anyway.
7630
7631         * docs/gst/Makefile.am:
7632         * docs/gst/Makefile.am:
7633         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7634         (__gst_parse_strfree), (__gst_parse_link_new),
7635         (__gst_parse_link_free), (__gst_parse_chain_new),
7636         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7637         (gst_parse_element_set), (gst_parse_free_link),
7638         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7639         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7640         (_gst_parse_launch):
7641         * gst/parse/grammar.tab.pre.h:
7642         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7643         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7644         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7645         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7646         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7647         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7648         (_gst_parse_yypop_buffer_state),
7649         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7650         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7651         (yy_fatal_error), (_gst_parse_yyget_extra),
7652         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7653         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7654         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7655         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7656         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7657         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7658         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7659         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7660         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7661         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7662         (_gst_parse_yyfree):
7663         If the installed flex version is too old use pre-generated parser
7664         sources. These pre-generated parser sources are always updated when
7665         the actual flex/bison sources change but require everybody who wants
7666         to change something in the parser to have flex >= 2.5.31 installed.
7667
7668 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7669
7670         * common/m4/gst-gettext.m4:
7671         * gst/gst-i18n-lib.h:
7672           Make --disable-nls to work
7673
7674 2007-04-17  Wim Taymans  <wim@fluendo.com>
7675
7676         * gst/gstconfig.h.in:
7677         Revert previous change that broke the build.
7678
7679 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7680
7681         * configure.ac:
7682         * gst/Makefile.am:
7683         * gst/gstconfig.h.in:
7684           Drop libxml2 dependency when building with 
7685           --enable-binary-registry --disable-loadsave
7686
7687 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7688
7689         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7690         (gst_registry_binary_read_cache):
7691         * gst/gstregistrybinary.h:
7692           Remove unnecessary <sys/mman.h> include which broke the win32 build
7693           with MingW; move includes from header file to .c file, even if the
7694           header file isn't installed; use g_strerror() where UTF-8 strings
7695           are expected, such as in GST_DEBUG messages.
7696
7697 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7698
7699         * docs/libs/gstreamer-libs-sections.txt:
7700         Remove bogus addition for API I didn't end up keeping.
7701
7702         * libs/gst/base/gstbasesrc.h:
7703         Mention Since: 0.10.13 in the documentation.
7704
7705         Add the API keyword to the previous ChangeLog entry.
7706
7707 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7708
7709         * docs/libs/gstreamer-libs-sections.txt:
7710         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7711         (gst_base_src_default_prepare_seek_segment),
7712         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7713         * libs/gst/base/gstbasesrc.h:
7714         Allow basesrc derived classes to execute seeks in other formats
7715         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7716         to prepare the GstSegment in any format that their perform_seek method
7717         will be able to understand. The default implementation provides the
7718         old behaviour of attempting to convert the seek offsets to the 
7719         configured native format.
7720
7721         API: basesrc::prepare_seek_segment vmethod.
7722
7723 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7724
7725         * gst/gstelement.c: (gst_element_get_state_func):
7726         Don't output the same debug statement twice.
7727
7728         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7729         (gst_adapter_peek), (gst_adapter_take_buffer):
7730         Optimise the case where we have buffers at the head of the queue that
7731         can be joined quickly (because they're contiguous sub-buffers) by
7732         merging them together rather than copying data out into new memory.
7733
7734         * gst/parse/grammar.y:
7735         * tests/check/pipelines/parse-launch.c:
7736         Fix a leak in an error path for parse_launch, and add a check 
7737         for it to the testsuite.
7738
7739 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7740
7741         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7742           Don't deadlock when releasing a pad - gst_pad_set_active may try
7743           and take the multiqueue lock too.
7744
7745 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7746
7747         * gst/gsterror.c: (_gst_core_errors_init):
7748         * gst/gsterror.h:
7749           API: add GST_CORE_ERROR_DISABLED (#392804).
7750
7751 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7752
7753         * docs/faq/gst-uninstalled:
7754           don't get empty paths on the PATH variables
7755         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7756           Don't format for the uncommon terminal width of 84 characters.
7757
7758 2007-04-06  Wim Taymans  <wim@fluendo.com>
7759
7760         * gst/gstpipeline.c: (reset_stream_time),
7761         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7762         Only try to select a different pipeline clock when we went back to
7763         PAUSED and not when we merely got flushed.
7764
7765 2007-04-05  Michael Smith  <msmith@fluendo.com>
7766
7767         * tools/gst-launch.1.in:
7768           fractions are better supported in gstreamer than ractions, so
7769           suggest using those.
7770
7771 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7772
7773         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7774
7775         * po/LINGUAS:
7776         * po/da.po:
7777           Added Danish translation.
7778
7779 2007-04-05  Wim Taymans  <wim@fluendo.com>
7780
7781         * libs/gst/base/gstbasesink.c:
7782         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7783         Fix leak caused when refusing newsegment after EOS.
7784
7785         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7786         (gst_fake_sink_init), (gst_fake_sink_set_property),
7787         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7788         (gst_fake_sink_render), (gst_fake_sink_change_state):
7789         * plugins/elements/gstfakesink.h:
7790         Add num-buffers property to make the element generate EOS after a
7791         configurable amount of buffers.
7792         API: fakesink::num-buffers property.
7793
7794         * tests/check/elements/fakesink.c: (GST_START_TEST),
7795         (fakesink_suite):
7796         Fix GstBus leak in test.
7797         Test for fakesink num-buffers.
7798
7799 2007-04-05  Wim Taymans  <wim@fluendo.com>
7800
7801         * libs/gst/base/gstbasesink.c:
7802         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7803         (gst_base_sink_change_state):
7804         Don't accept anything after an EOS, return UNEXPECTED instead.
7805
7806         * tests/check/elements/fakesink.c: (GST_START_TEST),
7807         (fakesink_suite):
7808         Unit test for new EOS behaviour.
7809
7810 2007-04-05  Wim Taymans  <wim@fluendo.com>
7811
7812         * gst/gstelement.c: (gst_element_get_request_pad):
7813         Make padtemplates also work when they don't contain %s or %d.
7814
7815 2007-04-05  Wim Taymans  <wim@fluendo.com>
7816
7817         * docs/gst/gstreamer-sections.txt:
7818         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7819         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7820         * gst/gstclock.h:
7821         Improve _adjust_unlocked() so that it overflows less.
7822         Add gst_clock_unadjust_unlocked to convert from external time to
7823         internal time based on calibration.
7824         Add some more debug.
7825         API: GstClock::gst_clock_unadjust_unlocked()
7826
7827 2007-04-03  Wim Taymans  <wim@fluendo.com>
7828
7829         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7830
7831         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7832         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7833         when releasing sink pad. Fixes #425400.
7834
7835 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7836
7837         * docs/random/ensonic/dynlink.txt:
7838           More work on proposal for new core api.
7839
7840         * docs/libs/gstreamer-libs-sections.txt:
7841         * libs/gst/base/gstbasetransform.h:
7842           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7843           
7844         * libs/gst/controller/gstcontroller.c:
7845         (on_object_controlled_property_changed),
7846         (gst_controller_sync_values),
7847         (gst_controller_set_interpolation_mode):
7848         * libs/gst/controller/gstcontroller.h:
7849           Less verbose logging add docs for unimplemented parts and correctly
7850           return when using unavailable parts.
7851
7852 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7853
7854         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7855         Move all the debug to the CLOCK category, and associate it with
7856         the clock object.
7857
7858 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7859
7860         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7861         Make take_buffer a bit quicker by removing redundant checks
7862         caused by calling gst_adapter_take.
7863
7864 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7865
7866         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7867           Don't leak GCond.
7868
7869         * tests/check/Makefile.am:
7870         * tests/check/elements/.cvsignore:
7871         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7872         (GST_START_TEST), (multiqueue_suite):
7873           Add some dead simple unit tests for the 'multiqueue' element
7874           (some bits don't work yet and are disabled for now).
7875
7876 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7877
7878         * gst/gstelement.c: (gst_element_get_request_pad),
7879         (gst_element_class_get_request_pad_template):
7880           Make gst_element_get_request_pad() create request pads only for
7881           request pad templates and not for, say, sometimes pad templates.
7882
7883 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7884
7885         * docs/design/draft-klass.txt:
7886           Add example that needs more thinking.
7887         
7888         * docs/design/draft-missing-plugins.txt:
7889           More thoughts about wrapper plugins.
7890         
7891         * docs/random/ensonic/embedded.txt:
7892         * docs/random/ensonic/profiling.txt:
7893           More design work.
7894
7895 2007-03-25  Wim Taymans  <wim@fluendo.com>
7896
7897         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7898         (gst_base_src_loop):
7899         Only push the segment events in the PLAYING state for live sources.
7900
7901 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7902
7903         * gst/gstpipeline.c: (gst_pipeline_change_state):
7904         Modify the clock distribution path in PAUSED->PLAYING so that we 
7905         never attempt to choose a new clock unless we're actually leaving
7906         the PAUSED state for the first time. This prevents choosing a
7907         different clock when the state_change gets called for a 2nd time due
7908         to some element doing an async state change.
7909
7910 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7911
7912         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7913         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7914         (gst_pad_chain_unchecked), (gst_pad_push):
7915         Revert last commit. This needs some more thoughts.
7916
7917 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7918
7919         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7920         (gst_pad_chain_unchecked), (gst_pad_push):
7921         Check in set_caps if the caps are compatible with the pad and remove
7922         two functions that are redundant now. Fixes #421543.
7923
7924 2007-03-22  Wim Taymans  <wim@fluendo.com>
7925
7926         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7927         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7928         Unref some more to make valgrind happy.
7929
7930 2007-03-22  Wim Taymans  <wim@fluendo.com>
7931
7932         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7933         (gst_system_clock_id_wait_jitter),
7934         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7935         Fix anoying regression that survived a few releases. When adding an
7936         async entry while blocking on a sync entry, the sync entry will unblock
7937         but still be busy, so it should continue to wait instead of returning
7938         _BUSY to the app.
7939         Add some comments here and there.
7940
7941         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7942         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7943         Add testcase for this.
7944
7945 2007-03-22  Wim Taymans  <wim@fluendo.com>
7946
7947         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7948         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7949         WRONG_STATE and can silently pause the task. All other cases should
7950         error out.
7951
7952 2007-03-22  Wim Taymans  <wim@fluendo.com>
7953
7954         Patch by: Ville Syrjala <syrjala at sci dot fi>
7955
7956         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7957         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7958         Improve debugging.
7959
7960 2007-03-21  Michael Smith  <msmith@fluendo.com>
7961
7962         * docs/pwg/advanced-types.xml:
7963           Fix some errors in the typefinding docs pointed out on irc.
7964
7965 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7966
7967         * libs/gst/base/gstbasesrc.c:
7968         Clarify FIXME comment in the face of having added unlock_stop()
7969
7970 2007-03-21  Wim Taymans  <wim@fluendo.com>
7971
7972         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7973         Prepare for release where we warn against possible app breakage in the
7974         case of live pipelines along with an env var to enable/disable live
7975         preroll mode (GST_COMPAT=[no-]live-preroll).
7976
7977 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7978
7979         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7980         So we should use correct constants for checking for None offset.
7981
7982 2007-03-20  Wim Taymans  <wim@fluendo.com>
7983
7984         * docs/design/part-block.txt:
7985         Mention the fact that the newly switched element should be set to at
7986         least PAUSED.
7987
7988 2007-03-20  Wim Taymans  <wim@fluendo.com>
7989
7990         * gst/gst.c:
7991         Fix compilation with registry disabled as spotted by Saur.
7992
7993 2007-03-20  Wim Taymans  <wim@fluendo.com>
7994
7995         Patch by: Olivier Crete <tester at tester dot ca>
7996
7997         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7998         Look at the pending state too when syncing the element state to the
7999         parent. Fixes #420133.
8000
8001 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
8002
8003         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8004         (gst_base_sink_change_state):
8005         * libs/gst/base/gstbasesink.h:
8006         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8007         (gst_base_src_default_event), (gst_base_src_unlock_stop),
8008         (gst_base_src_deactivate):
8009         * libs/gst/base/gstbasesrc.h:
8010         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
8011         for sub-classes to correctly clear any state they set trying to
8012         unlock, such as clearing out unlock commands from a command fd.
8013         API: basesrc::unlock_stop
8014         API: basesink::unlock_stop
8015
8016         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
8017         (gst_fd_sink_render), (gst_fd_sink_unlock),
8018         (gst_fd_sink_unlock_stop):
8019         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
8020         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
8021         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
8022
8023         Implement unlock_stop in fdsrc and fdsink.
8024         Implement seeking in fdsrc when a seekable fd is passed, as in
8025         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
8026
8027 2007-03-19  Wim Taymans  <wim@fluendo.com>
8028
8029         Patch by: Evan Nemerson <evan at coeus dash group dot com>
8030
8031         * gst/gstelement.c: (gst_element_class_init):
8032         Fix pad-added and pad-removed signal signatures so that the pad type is
8033         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
8034
8035 2007-03-19  Wim Taymans  <wim@fluendo.com>
8036
8037         * docs/gst/gstreamer-sections.txt:
8038         Add new element field and method.
8039
8040         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8041         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
8042         (gst_bin_recalc_state), (gst_bin_get_state_func),
8043         (gst_bin_element_set_state), (gst_bin_change_state_func),
8044         (gst_bin_continue_func), (bin_bus_handler),
8045         (bin_push_state_continue), (bin_handle_async_start),
8046         (bin_handle_async_done), (gst_bin_handle_message_func):
8047         Make async state changes a bit smarter by using new ASYNC_START and
8048         ASYNC_DONE messages. This reduces the number of times we run the state
8049         recalculation thread.
8050         Don't change state of element with a pending ASYNC_START message.
8051         Deprecate STATE_DIRTY messages.
8052         
8053         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
8054         (gst_element_get_state_func), (gst_element_continue_state),
8055         (gst_element_lost_state), (gst_element_set_state_func),
8056         (gst_element_change_state):
8057         * gst/gstelement.h:
8058         Keep the state that was last set by the app in a new element field.
8059         Don't allow state changes when handling an element event.
8060         Post ASYNC_START and ASYNC_DONE messages.
8061         Change lost_state so that we go to PAUSED and wait for the parent to set
8062         us to PLAYING again (so latency calculation can be performed)
8063         Export gst_element_change_state() method so that subclasses can use it.
8064         API: gst_element_change_state()
8065         API: GST_STATE_TARGET
8066
8067         * gst/gstpipeline.c: (gst_pipeline_class_init),
8068         (reset_stream_time), (gst_pipeline_change_state),
8069         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
8070         Using the new ASYNC_START message we can reset the base_time when
8071         needed. This can then be used to implement base_time redistribution in
8072         flushing seeks so that we can remove the explicit seek handling.
8073         Perform latency query and configuration when going to PLAYING.
8074
8075         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8076         (gst_base_sink_query), (gst_base_sink_change_state):
8077         Post new ASYNC_START/ASYNC_DONE messages.
8078
8079         * tests/check/generic/sinks.c: (GST_START_TEST):
8080         Fix test because the bin will not set the async element to PLAYING right
8081         away.
8082
8083         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
8084         Make the message check a little stronger.
8085         Handle ASYNC messages.
8086
8087         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
8088         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
8089         Expect ASYNC_DONE messages.
8090
8091 2007-03-19  Wim Taymans  <wim@fluendo.com>
8092
8093         * docs/gst/gstreamer-sections.txt:
8094         * gst/gstmessage.c: (gst_message_new_async_start),
8095         (gst_message_new_async_done), (gst_message_parse_info),
8096         (gst_message_parse_async_start):
8097         * gst/gstmessage.h:
8098         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
8099         support.
8100
8101 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
8102
8103         * tools/gst-inspect.c:
8104         (print_plugin_automatic_install_info_codecs):
8105           Now that we don't check for the 'Codec' keyword any longer in the
8106           klass, we shouldn't spew a warning if the klass isn't a decoder or
8107           encoder (since it might be a Source/Network, for example).
8108
8109 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
8110
8111         * tools/gst-inspect.c:
8112         (print_plugin_automatic_install_info_codecs):
8113           Don't require decoder/demuxer/depayloader elements or
8114           encoder/muxer/paylader elements to have 'Codec' as part of their
8115           factory class string when introspecting a plugin's capabilities.
8116           draft-klass.txt mentions that it might be removed in future, and
8117           flump3dec doesn't have it as part of its class string, so chances
8118           are others might also not have it.
8119
8120 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8121
8122         * po/af.po:
8123         * po/az.po:
8124         * po/bg.po:
8125         * po/ca.po:
8126         * po/cs.po:
8127         * po/de.po:
8128         * po/en_GB.po:
8129         * po/fr.po:
8130         * po/it.po:
8131         * po/nb.po:
8132         * po/nl.po:
8133         * po/ru.po:
8134         * po/sq.po:
8135         * po/sr.po:
8136         * po/sv.po:
8137         * po/tr.po:
8138         * po/uk.po:
8139         * po/vi.po:
8140         * po/zh_CN.po:
8141         * po/zh_TW.po:
8142           Update translations from translation project
8143
8144 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
8145
8146         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
8147         (gst_child_proxy_set_property):
8148           Invert precondition check to be alike the ones in the mimiced gobject
8149           api.
8150
8151 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
8152
8153         * docs/design/draft-tagreading.txt:
8154         * docs/random/ensonic/audiobaseclasses.txt:
8155           Do some Architect work.
8156
8157         * gst/gstobject.c: (gst_object_set_name):
8158           Add a WARNING.
8159
8160         * gst/gstpad.c:
8161           Add docs that point from gst_pad_get_range to gst_pad_pull_range
8162
8163 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
8164
8165         * gst/gstsystemclock.c: (gst_system_clock_init),
8166         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
8167         Defer starting the async system clock thread until the first async
8168         wait is scheduled. Fixes #414986.
8169
8170 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
8171
8172         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
8173         (gst_single_queue_free):
8174           Fix small leak (free GstSingleQueue structure too, not only contents).
8175
8176 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
8177
8178         * gst/gstbin.c:(gst_bin_add):
8179         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
8180         * win32/common/libgstbase.def:
8181         * win32/common/libgstreamer.def:
8182         Add new exported functions.
8183
8184 2007-03-09  Wim Taymans  <wim@fluendo.com>
8185
8186         * docs/plugins/gstreamer-plugins-sections.txt:
8187         Fix GstTee docs.
8188
8189 2007-03-09  Wim Taymans  <wim@fluendo.com>
8190
8191         * docs/gst/gstreamer-sections.txt:
8192         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
8193         * gst/gstbuffer.h:
8194         Add metadata copy functions. Fixes #393099.
8195         API: gst_buffer_copy_metadata()
8196
8197         * gst/gstutils.c: (gst_buffer_stamp):
8198         * libs/gst/base/gstbasetransform.c:
8199         (gst_base_transform_prepare_output_buffer):
8200         Use new metadata copy functions.
8201
8202 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8203
8204         * plugins/elements/gstidentity.c: (gst_identity_class_init),
8205         (gst_identity_init), (gst_identity_check_perfect),
8206         (gst_identity_check_imperfect_timestamp),
8207         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
8208         (gst_identity_set_property), (gst_identity_get_property):
8209         * plugins/elements/gstidentity.h:
8210         Separate out check-imperfect-timestamp and check-imperfect-offset.
8211         Put back check-perfect as it was to keep compatibility.
8212
8213 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
8214
8215         * gst/gstelement.c: (gst_element_dispose):
8216         There's no need to warn if VOID_PENDING is not NONE here, as
8217         long as the state is NULL it's ok, and that's checked immediately
8218         above.
8219
8220 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8221
8222         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8223         Fix check for perfect stream to ignore buffers with -1 
8224         offsets/offset ends when checking data contiguity.
8225
8226 2007-03-08  Wim Taymans  <wim@fluendo.com>
8227
8228         * tools/gst-launch.c: (event_loop):
8229         Print INFO messages.
8230
8231 2007-03-08  Wim Taymans  <wim@fluendo.com>
8232
8233         * libs/gst/base/gstbasetransform.c:
8234         (gst_base_transform_sink_eventfunc),
8235         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8236         (gst_base_transform_activate):
8237         * libs/gst/base/gstbasetransform.h:
8238         Add support for dropping buffers with custom GstFlowReturn.
8239         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
8240         buffers or dropped buffers.
8241
8242         * docs/libs/gstreamer-libs-sections.txt:
8243         docs for new custom return code.
8244
8245         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8246         Use drop support in base class to implement drop-probability.
8247
8248 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
8249
8250         * gst/gst.c: (load_plugin_func):
8251         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
8252         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8253         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8254           Remove newlines at end of debug log strings.
8255
8256 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8257
8258         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8259         Only post bus message at max, once per buffer received.
8260
8261 2007-03-07  Wim Taymans  <wim@fluendo.com>
8262
8263         * docs/design/Makefile.am:
8264         * docs/design/part-synchronisation.txt:
8265         Add doc about synchronisation
8266
8267         * docs/design/draft-latency.txt:
8268         * docs/design/part-TODO.txt:
8269         * docs/design/part-clocks.txt:
8270         * docs/design/part-events.txt:
8271         * docs/design/part-gstbus.txt:
8272         * docs/design/part-gstpipeline.txt:
8273         * docs/design/part-live-source.txt:
8274         * docs/design/part-messages.txt:
8275         * docs/design/part-overview.txt:
8276         * docs/design/part-streams.txt:
8277         * docs/design/part-trickmodes.txt:
8278         Documentation updates.
8279
8280 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8281
8282         * gstreamer.doap:
8283         Update the doap file.
8284
8285 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8286
8287         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8288         Rename non-perfect to imperfect for Mike and for the sanctity of the
8289         language.
8290         Also make sure bus message gets emitted for data-incontiguities.
8291
8292 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8293
8294         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8295         (gst_identity_start):
8296         * plugins/elements/gstidentity.h:
8297         Emit bus message if check-perfect is true and we encounter a
8298         non-perfect stream between 2 consecutive buffers.
8299         Fixes #415394.
8300
8301 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8302
8303         * configure.ac:
8304         Back to CVS
8305
8306 === release 0.10.12 ===
8307
8308 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
8309
8310         * configure.ac:
8311           releasing 0.10.12, "Inevitable Demise"
8312
8313 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
8314
8315         * configure.ac:
8316          Version 0.10.11.2 (0.10.12 pre-release)
8317          Bump libtool versioning.
8318
8319 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
8320
8321         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8322           Log flow-names and not numbers.
8323
8324 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8325
8326         * configure.ac:
8327           Convert to new AG_GST style.
8328
8329 2007-02-28  Wim Taymans  <wim@fluendo.com>
8330
8331         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8332         Don't unref query twice.
8333
8334 2007-02-28  Wim Taymans  <wim@fluendo.com>
8335
8336         * gst/gstvalue.c: (gst_value_transform_object_string),
8337         (_gst_value_initialize):
8338         Implement GstObject -> string transform so we print object names
8339         when serializing GValues containing GstObjects.
8340
8341 2007-02-28  Wim Taymans  <wim@fluendo.com>
8342
8343         * docs/gst/gstreamer-sections.txt:
8344         Add new stuff to docs.
8345
8346 2007-02-28  Wim Taymans  <wim@fluendo.com>
8347
8348         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8349         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8350         (gst_base_sink_change_state):
8351         Improve latency query code.
8352         Don't leak latency events.
8353
8354         * tests/check/gst/gstbin.c: (GST_START_TEST):
8355         Improve debugging.
8356
8357 2007-02-28  Wim Taymans  <wim@fluendo.com>
8358
8359         * gst/gstelement.c: (gst_element_message_full),
8360         (gst_element_get_state_func):
8361         * gst/gstelement.h:
8362         Improve docs a little. Added Since: for new macro.
8363
8364         * gst/gstobject.c: (gst_object_sink):
8365         * gst/gstpipeline.c: (gst_pipeline_change_state),
8366         (gst_pipeline_set_new_stream_time):
8367         * gst/gstpipeline.h:
8368         Improve debugging and docs.
8369
8370         * gst/gstutils.c: (gst_element_state_change_return_get_name):
8371         Improve debugging.
8372
8373 2007-02-28  Wim Taymans  <wim@fluendo.com>
8374
8375         * gst/gstelement.c: (gst_element_message_full),
8376         (gst_element_set_locked_state), (gst_element_get_state_func),
8377         (gst_element_change_state):
8378         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8379         Documentation updates.
8380         Small code cleanups.
8381
8382         * gst/gstmessage.c: (gst_message_new_info),
8383         (gst_message_parse_info):
8384         * gst/gstmessage.h:
8385         API: gst_message_new_info()
8386         API: gst_message_parse_info()
8387         Add INFO message create and parse code.
8388
8389 2007-02-28  Wim Taymans  <wim@fluendo.com>
8390
8391         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8392         (bin_query_latency_done):
8393         Also report the live parameter of a latency query.
8394
8395 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8396
8397         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8398           Copy the current generic/states example from -base and adapt so
8399           we can use the exact same code everywhere.
8400           Check a STATES_IGNORE_ELEMENTS env var which can be used
8401           to ignore certain element factories for this test, which is
8402           what is being done in -base
8403         * tests/check/Makefile.am:
8404           Mention this environment variable.
8405
8406 2007-02-27  Wim Taymans  <wim@fluendo.com>
8407
8408         * docs/gst/gstreamer-sections.txt:
8409         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8410         (gst_bus_timed_pop), (gst_bus_pop):
8411         * gst/gstbus.h:
8412         API: gst_bus_timed_pop()
8413         Implement gst_bus_timed_pop() to do a blocking timed wait for a
8414         message to arrive on the bus.
8415
8416         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8417         (gst_bus_suite):
8418         Two unit tests for new _timed_pop() function.
8419
8420 2007-02-23  Wim Taymans  <wim@fluendo.com>
8421
8422         * gst/gstpipeline.c: (gst_pipeline_change_state),
8423         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8424         Don't ref a NULL clock in _provide_clock_func().
8425         Don't allow an INVALID delay.
8426         Don't try to calculate base_time with an invalid start_time.
8427         Also distribute and notify a NULL clock when it was selected.
8428
8429         * tools/gst-launch.c: (event_loop):
8430         Don't crash when a NULL clock was selected in the pipeline.
8431
8432 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8433
8434         * docs/design/Makefile.am:
8435         * docs/design/draft-missing-plugins.txt:
8436         * docs/random/draft-missing-plugins.txt:
8437           Some small updates: update plugin system identifier prefix
8438           ('gstreamer.net' to 'gstreamer'), mention our new install
8439           API in libgstbaseutils rather than libgimme-codec, add
8440           reference to the online docs.
8441
8442 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8443
8444         * win32/common/config.h:
8445           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
8446           use moap cl ci to only check in what is mentioned in the ChangeLog.
8447
8448 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8449
8450         * docs/gst/gstreamer-sections.txt:
8451         * gst/gstelement.h:
8452           Fix up documentation to link to the correct GstGError section.
8453           Add GST_ELEMENT_INFO macro since someone else added a Info message.
8454
8455 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8456
8457         * tools/gst-launch.c: (event_loop):
8458           Make sure that we actually show the important message part of a
8459           warning message.
8460           No need to check if the gerror is not NULL to free; first of all
8461           g_free accepts NULL; and second the default error handler would
8462           segfault if gerror was NULL.
8463
8464 2007-02-21  Wim Taymans  <wim@fluendo.com>
8465
8466         * docs/gst/gstreamer-sections.txt:
8467         Removed docs as well.
8468
8469 2007-02-21  Wim Taymans  <wim@fluendo.com>
8470
8471         * gst/gstmessage.c: (gst_message_parse_duration):
8472         * gst/gstmessage.h:
8473         Remove new messages for release.
8474
8475 2007-02-20  Wim Taymans  <wim@fluendo.com>
8476
8477         * docs/design/part-gstghostpad.txt:
8478         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8479         (gst_ghost_pad_new_full):
8480         Make the ghostpad a parent of the internal pad again for better backward
8481         compatibility. Don't write code that relies on this however.
8482
8483         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8484         (gst_pad_link_check_hierarchy):
8485         Require that parents should be GstElements in the hierarchy check.
8486
8487 2007-02-20  Wim Taymans  <wim@fluendo.com>
8488
8489         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8490         (gst_bin_change_state_func), (bin_query_min_max_init),
8491         (bin_query_latency_fold), (bin_query_latency_done),
8492         (gst_bin_query):
8493         Improve debug info.
8494         Implement latency query.
8495
8496 2007-02-20  Wim Taymans  <wim@fluendo.com>
8497
8498         * docs/design/part-gstghostpad.txt:
8499         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8500         (gst_ghost_pad_internal_do_activate_push),
8501         (gst_ghost_pad_internal_do_activate_pull),
8502         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8503         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8504         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8505         Do not set the internal pad as a parent anymore so we can avoid
8506         hierarchy linking errors when the ghostpad has no parent yet. This also
8507         fixes failed activation because of unlinked internal pads, which in
8508         turn fixes the impossible case where you have to activate a pad before
8509         you can add it to a running element.
8510         Also fix the docs.
8511
8512         * gst/gstpad.c: (pre_activate), (post_activate),
8513         (gst_pad_set_active), (gst_pad_activate_pull),
8514         (gst_pad_activate_push), (gst_pad_check_pull_range):
8515         Add some more debug info.
8516         Mark activation mode in pre_activate so that we don't try to activate in
8517         endless loops. Fixes #385084.
8518
8519 2007-02-19  Wim Taymans  <wim@fluendo.com>
8520
8521         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8522         (gst_base_transform_check_get_range):
8523         Implement a checkgetrange function instead of relying on the default
8524         core behaviour that assumes we can operate in pull mode if we have a
8525         getrange function. First step at fixing #385084.
8526
8527 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
8528
8529         * gst/gstchildproxy.h:
8530         * libs/gst/base/gstbasesink.h:
8531         * libs/gst/base/gstbasesrc.h:
8532         * libs/gst/base/gstbasetransform.h:
8533         More docs coverage and some ChangeLog surgery (add missing names)
8534
8535 2007-02-15  Wim Taymans  <wim@fluendo.com>
8536
8537         * docs/design/part-TODO.txt:
8538         * docs/design/part-activation.txt:
8539         * docs/design/part-block.txt:
8540         * docs/design/part-buffering.txt:
8541         * docs/design/part-clocks.txt:
8542         * docs/design/part-element-source.txt:
8543         * docs/design/part-events.txt:
8544         * docs/design/part-gstbin.txt:
8545         * docs/design/part-gstbus.txt:
8546         * docs/design/part-gstpipeline.txt:
8547         * docs/design/part-live-source.txt:
8548         * docs/design/part-messages.txt:
8549         * docs/design/part-overview.txt:
8550         * docs/design/part-qos.txt:
8551         * docs/design/part-query.txt:
8552         * docs/design/part-states.txt:
8553         * docs/design/part-trickmodes.txt:
8554         Some doc updates. Start renaming from stream_time to running_time where
8555         it was used wrongly.
8556
8557 2007-02-15  Wim Taymans  <wim@fluendo.com>
8558
8559         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8560         Answer LATENCY query.
8561
8562 2007-02-15  Wim Taymans  <wim@fluendo.com>
8563
8564         * tests/check/gst/gstevent.c: (event_probe), (test_event),
8565         (GST_START_TEST):
8566         Improve debugging.
8567
8568 2007-02-15  Wim Taymans  <wim@fluendo.com>
8569
8570         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8571         (gst_pad_dispatcher):
8572         Improve debugging of default pad dispatcher and query functions.
8573
8574 2007-02-15  Wim Taymans  <wim@fluendo.com>
8575
8576         * docs/gst/gstreamer-sections.txt:
8577         Remove old unused method.
8578
8579 2007-02-13  Wim Taymans  <wim@fluendo.com>
8580
8581         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8582         Fix check
8583
8584 2007-02-13  Wim Taymans  <wim@fluendo.com>
8585
8586         * docs/design/part-seeking.txt:
8587         Some small update.
8588
8589         * gst/gstsegment.c: (gst_segment_set_seek):
8590         Revert old bogus change that should make seeking work again.
8591
8592 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8593
8594         * docs/random/ensonic/dynlink.txt:
8595         * docs/random/ensonic/interfaces.txt:
8596         * docs/random/ensonic/receipies.txt:
8597           Possible dynamic reconnection api, plus some type fixes the other two
8598           docs.
8599
8600 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8601
8602         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8603         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8604         Also check for an absolute path following file:// in the filesrc
8605         element. Remove redundant check and call g_path_is_absolute() on the
8606         unescaped location.
8607
8608 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8609
8610         * docs/design/draft-klass.txt:
8611           Add existing category analysis.
8612           
8613         * gst/gstcaps.c:
8614           Fix doc example, framerate is a fraction.
8615
8616 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8617
8618         * configure.ac:
8619         * docs/gst/Makefile.am:
8620         * docs/gst/gstreamer-sections.txt:
8621         * docs/libs/Makefile.am:
8622           Erm, forgot a bunch of --extra-dir.
8623
8624 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8625
8626         * configure.ac:
8627         * docs/gst/Makefile.am:
8628         * docs/libs/Makefile.am:
8629         * docs/plugins/Makefile.am:
8630           Add crossreferences to glib/gobject docs.
8631
8632 2007-02-12  Wim Taymans  <wim@fluendo.com>
8633
8634         * docs/design/draft-latency.txt:
8635         Small update.
8636
8637         * docs/libs/gstreamer-libs-sections.txt:
8638         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8639         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8640         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8641         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8642         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8643         (gst_base_sink_get_position), (gst_base_sink_query),
8644         (gst_base_sink_change_state):
8645         * libs/gst/base/gstbasesink.h:
8646         API: gst_base_sink_query_latency() to let subclasses query the upstream
8647         latency.
8648         API: gst_base_sink_get_latency() to let subclasses query the configured
8649         latency in the sink.
8650         Implement query and set latency.
8651         Update some docs.
8652         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8653         don't continue preroll when we are flushing. Fixes #405284.
8654
8655         * tests/check/pipelines/stress.c: (change_state_timeout),
8656         (quit_timeout), (GST_START_TEST), (stress_suite):
8657         Test for #405284.
8658
8659 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8660
8661         Patch by: René Stadler <mail at renestadler de>
8662
8663         * docs/gst/gstreamer-sections.txt:
8664         * gst/gsttaglist.c: (_gst_tag_initialize):
8665         * gst/gsttaglist.h:
8666           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8667
8668 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8669
8670         * docs/libs/Makefile.am:
8671           Fix path to core docs.
8672
8673         * gst/gstbin.c: (gst_bin_get_by_interface),
8674         (gst_bin_iterate_all_by_interface):
8675           Refix docs by also renaming 'interface' to 'iface' in implementation.
8676
8677         * docs/gst/gstreamer-sections.txt:
8678         * gst/gstcaps.c:
8679         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8680         * gst/gstchildproxy.h:
8681         * gst/gstelementfactory.c:
8682         * gst/gstpadtemplate.h:
8683         * libs/gst/controller/gstcontroller.c:
8684         (gst_controlled_property_new):
8685           Document more.
8686
8687 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8688
8689         * gst/gstbin.h:(gst_bin_get_by_interface),
8690         (gst_bin_iterate_all_by_interface):
8691         Replace interface parameter name by iface as interface is 
8692         a reserved keyword in Visual Studio for C++ projects so it removes
8693         a build error for application developpers using VS.
8694         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8695         Fix a bug on Windows in uri format check. Now the prefix checked
8696         is file:// and next we check if the path after file:// is absolute.
8697         * win32/common/libgstbase.def:
8698         * win32/common/libgstdataprotocol.def:
8699         * win32/common/libgstgstreamer.def:
8700         Add new exported functions.
8701
8702 2007-02-09  Andy Wingo  <wingo@pobox.com>
8703
8704         * tests/check/pipelines/simple-launch-lines.c
8705         (simple_launch_lines_suite, test_tee): Disable tee test until I
8706         have time to fix it :-(
8707
8708         * tests/check/Makefile.am (noinst_HEADERS): 
8709         * tests/check/libs/libsabi.c: 
8710         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8711         * tests/check/gst/gstabi.c: 
8712         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8713
8714         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8715         tests for push and pull tee behavior.
8716
8717         * plugins/elements/gsttee.h: 
8718         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8719         mark as deprecated as well as unimplemented. It was a crack idea.
8720         Add support for tee operating in pull mode, off by default.
8721
8722         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8723         normal-case logs down to LOG, raise errors to WARNING.
8724         (gst_registry_xml_read_cache): Don't log before calling a function
8725         that logs.
8726
8727         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8728         exit (registry finalize).
8729         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8730         DEBUG log when we emit signals that people don't even have the
8731         chance to connect to.
8732         (gst_registry_scan_path_level): Less logging in the normal case.
8733
8734 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8735
8736         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8737
8738         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8739         Correctly generate EOS for non-seekable files. We don't have a total
8740         length for them and would get an unexpected end of file if we only
8741         special-cased for regular files. (Fixes: #404569)
8742
8743 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8744
8745         * tests/check/elements/filesrc.c: (GST_START_TEST),
8746         (filesrc_suite):
8747         Add unit test for the GstURIHandler interface in filesrc. This also
8748         tests the newly added file://localhost/foo/bar support.
8749
8750 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8751
8752         * gst/gstelementfactory.h:
8753           The klass string is not a hierarchy. Add reference to the design doc
8754           for more information and common types.
8755
8756 2007-02-02  Wim Taymans  <wim@fluendo.com>
8757
8758         * gst/gstquery.c: (gst_query_new_latency):
8759         Remove old structure field.
8760
8761 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8762
8763         * tools/gst-launch.1.in:
8764           Give example for network streaming (#351998)
8765
8766 2007-02-02  Wim Taymans  <wim@fluendo.com>
8767
8768         * docs/gst/gstreamer-sections.txt:
8769         Add docs for new methods.
8770
8771         * gst/gstevent.c: (gst_event_new_latency),
8772         (gst_event_parse_latency):
8773         * gst/gstevent.h:
8774         Add new LATENCY event to configure latency in a pipeline.
8775         API: gst_event_new_latency
8776         API: gst_event_parse_latency
8777
8778         * gst/gstmessage.c: (gst_message_new_buffering),
8779         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8780         (gst_message_new_latency), (gst_message_parse_buffering),
8781         (gst_message_parse_lost_preroll):
8782         * gst/gstmessage.h:
8783         Added messages used in draft-latency.
8784         API: gst_message_new_lost_preroll
8785         API: gst_message_parse_lost_preroll
8786         API: gst_message_new_prerolled
8787         API: gst_message_new_latency
8788
8789         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8790         (gst_query_parse_latency):
8791         * gst/gstquery.h:
8792         Implemented new latency query as in design doc.
8793         API: gst_query_new_latency
8794         API: gst_query_set_latency
8795         API: gst_query_parse_latency
8796
8797 2007-02-02  Wim Taymans  <wim@fluendo.com>
8798
8799         * docs/design/draft-latency.txt:
8800         Slight redesign to allow for dynamic latency adjustments.
8801
8802         * docs/design/part-negotiation.txt:
8803         Fix some typos.
8804
8805 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8806
8807         reviewed by: Wim Taymans <wim@fluendo.com>
8808
8809         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8810         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8811         Allow file://localhost/foo/bar URLs and correctly fail for every other
8812         hostname that one sets. This was gnomevfssrc is linked for those if
8813         installed as it can handle it (#403172)
8814
8815 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8816
8817         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8818
8819         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8820         (unref_data), (gst_collect_pads_add_pad_full):
8821         * libs/gst/base/gstcollectpads.h:
8822         Don't put the previously added destroy notify in the GstCollectData
8823         struct as all it's padding is already used and we don't want to break
8824         ABI. Instead put in the pad's GObject data for now. This should be
8825         cleaned up for 0.11 (#402393).
8826
8827 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8828
8829         reviewed by: Wim Taymans <wim@fluendo.com>
8830
8831         * docs/libs/gstreamer-libs-sections.txt:
8832         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8833         (unref_data), (gst_collect_pads_add_pad),
8834         (gst_collect_pads_add_pad_full):
8835         * libs/gst/base/gstcollectpads.h:
8836         API: Add function to specify a destroy notification for custom
8837         GstCollectData when adding new pads in GstCollectPads (#402393).
8838
8839 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8840
8841         * po/sv.po:
8842           Update Swedish translation (#378255).
8843
8844 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8845
8846         * docs/design/draft-klass.txt:
8847           Fix the previous change, this is a list of categories and not a hierarchy.
8848
8849 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8850
8851         * docs/design/draft-klass.txt:
8852           Add info about how to get a list of used classes.
8853
8854 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8855
8856         * plugins/elements/gsttypefindelement.c:
8857         (gst_type_find_element_chain_do_typefinding),
8858         (gst_type_find_element_change_state):
8859           Don't leak found caps in chain function (no idea why that never
8860           showed up as a leak anywhere).
8861
8862 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8863
8864         * gst/gstplugin.h:
8865           Fix and expand GstPluginDesc API docs.
8866
8867 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8868
8869         * gst/gstcaps.c:
8870         * gst/gstelementfactory.c:
8871         * gst/gstpadtemplate.h:
8872           api doc fixes
8873
8874         * libs/gst/controller/gstcontroller.c:
8875         (gst_controlled_property_new):
8876         * tests/examples/controller/audio-example.c:
8877           comment fixes
8878
8879 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8880
8881         * configure.ac:
8882           comment about refining the xml deps
8883
8884         * docs/manuals.mak:
8885           comments about moving away from jade for docs
8886         
8887         * gst/gst.c:
8888           recommit the ifdefs to use the binary registry
8889         
8890         * gst/gstbin.c: (gst_bin_change_state_func):
8891           this break is obsolete
8892
8893         * gst/gstelementfactory.h:
8894           better GST_ELEMENT_DETAILS docs, add comment about translation
8895
8896         * gst/gstinfo.h:
8897           remove eol slash
8898
8899         * gst/gstobject.c: (gst_signal_object_get_type):
8900           add G_UNLIKELY as usual
8901
8902         * gst/gstpad.c: (gst_pad_event_default):
8903           add fall trhu comment
8904
8905         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8906         (gst_registry_binary_initialize_magic),
8907         (gst_registry_binary_save_string),
8908         (gst_registry_binary_save_pad_template),
8909         (gst_registry_binary_save_feature),
8910         (gst_registry_binary_save_plugin),
8911         (gst_registry_binary_write_cache),
8912         (gst_registry_binary_check_magic),
8913         (gst_registry_binary_load_pad_template),
8914         (gst_registry_binary_load_feature),
8915         (gst_registry_binary_load_plugin),
8916         (gst_registry_binary_read_cache):
8917           comment typo and formatting
8918
8919         * gst/gstutils.c: (gst_element_state_get_name),
8920         (gst_element_state_change_return_get_name):
8921           remove obsolete breaks
8922
8923         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8924           add FIXME 0.11 and remove cpp comment
8925
8926 2007-01-29  Edward Hervey  <edward@fluendo.com>
8927
8928         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8929         Fix print statement in an even more portable way.
8930
8931 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8932
8933         * docs/gst/gstreamer-sections.txt:
8934         * gst/gstutils.h:
8935           API: add GST_ROUND_DOWN_* macros (#401781).
8936
8937 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8938
8939         * docs/gst/gstreamer.types.in:
8940         * gst/gstregistry.c: (gst_registry_class_init):
8941           Document registry signals and make gtk-doc pick them up (#401381).
8942
8943 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8944
8945         * docs/pwg/building-testapp.xml:
8946           Add some audioconverts and audioresample to the pipeline, and some
8947           more comments and error handling.
8948
8949 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8950
8951         * docs/manual/manual.xml:
8952         * docs/pwg/pwg.xml:
8953           Fix typo (#400987).
8954
8955 2007-01-26  Wim Taymans  <wim@fluendo.com>
8956
8957         * gst/gstcaps.c: (gst_static_caps_get):
8958         Init caps flags too.
8959
8960 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8961
8962         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8963
8964         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8965         If not using mmap'ed files try to seek to the end instead of the
8966         start to determine whether we can seek at all. This fixes the case
8967         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8968         seeks for everything afterwards fail. Fixes #400656
8969
8970 2007-01-25  Wim Taymans  <wim@fluendo.com>
8971
8972         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8973         Add some refcount debugging.
8974         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8975         in multiple streaming threads.
8976
8977 2007-01-25  Wim Taymans  <wim@fluendo.com>
8978
8979         Patch by: David Schleef <ds at schleef dot org>
8980
8981         * docs/libs/gstreamer-libs-sections.txt:
8982         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8983         * libs/gst/base/gstadapter.h:
8984         API: gst_adapter_copy() that can reduce the amount of memcpy when
8985         getting data from the adapter. Fixes #388201.
8986
8987 2007-01-25  Edward Hervey  <edward@fluendo.com>
8988
8989         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8990         In print statements, "%x" is for guint. Fixes build on macosx.
8991
8992 2007-01-24  Edward Hervey  <edward@fluendo.com>
8993
8994         * plugins/elements/gstmultiqueue.c:
8995         (gst_multi_queue_loop):
8996         Small fix.
8997         (single_queue_overrun_cb), (single_queue_underrun_cb),
8998         (single_queue_check_full), (gst_single_queue_new):
8999         Implement single queue growth system.
9000         This uses the extra-size properties, and will grow single queues by
9001         that much if one goes full whereas there are others empty. This is
9002         called extra-mode in the code.
9003         When a single queue's levels go back below the initial max-size
9004         limits, it is no longer in extra-mode. This is to ensure we don't
9005         consume too much memory.
9006         Fixes #399875
9007
9008 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
9009
9010         * gst/gst.c: (gst_init_get_option_group):
9011           Make warning about late g_thread_init() calls a bit more explicit,
9012           so that it's more obvious to application developers what they need
9013           to do if a user files a bug against their application.
9014
9015 2007-01-22  Edward Hervey  <edward@fluendo.com>
9016
9017         * plugins/elements/gstmultiqueue.c:
9018         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
9019         Remove previous hack of unsetting the flushing flag for the source pad
9020         instead of activating it. Instead, fix the source pad activate function
9021         so that it no longer depends on having a parent set or not.
9022
9023 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
9024
9025         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
9026
9027         * docs/manual/basics-bus.xml:
9028           Fix example code, gst_element_unref() doesn't exist any longer.
9029
9030 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
9031
9032         Patch by: Mark Nauwelaerts <manauw at skynet be>
9033
9034         * gst/gstpad.c:
9035           Fix two docs typoes (#399094).
9036
9037 2007-01-19  Edward Hervey  <edward@fluendo.com>
9038
9039         * docs/faq/gst-uninstalled:
9040         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
9041         depending on libgstbaseutils can work in uninstalled environment.
9042
9043 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
9044
9045         * gst/gsttaglist.h:
9046         * gst/gsttagsetter.c:
9047         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
9048         statement for new tag.
9049
9050 2007-01-17  Edward Hervey  <edward@fluendo.com>
9051
9052         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
9053         When dynamically creating single queues, activate sinkpad before adding
9054         it.
9055         We should be doing the same thing for the source pad, but we can't
9056         since it would call a method which needs the parent to be set in order
9057         to work propertly. Instead of activating the source pad, we just unset
9058         the flushing flag, which is the minimal requirement for adding a pad
9059         to an element in a state greater than READY.
9060
9061 2007-01-17  Edward Hervey  <edward@fluendo.com>
9062
9063         * docs/faq/gst-uninstalled:
9064         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
9065         Mac OS X.
9066
9067 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
9068
9069         * tests/check/gst/gstabi.c:
9070         * tests/check/gst/struct_hppa.h:
9071         * tests/check/libs/libsabi.c:
9072         * tests/check/libs/struct_hppa.h:
9073           Add ABI structs for HPPA (see #393796).
9074
9075 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
9076
9077         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9078           Actually write ABI structs to the file specified in the GST_ABI
9079           environment variable, as the message we print claims we would.
9080
9081 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9082
9083         * tests/check/gst/gsttask.c:
9084           Fix header comment.
9085
9086 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9087
9088         * gst/gsttaglist.c: (_gst_tag_initialize):
9089           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
9090           previous two entries.
9091
9092 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9093
9094         * docs/gst/gstreamer-sections.txt:
9095         * gst/gsttaglist.c: (_gst_tag_initialize):
9096         * gst/gsttaglist.h:
9097           Add tag support for beat-per-minute.
9098
9099 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9100
9101         * gst/gstregistrybinary.c: (gst_registry_binary_write),
9102         (gst_registry_binary_initialize_magic),
9103         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
9104         (gst_registry_binary_save_pad_template),
9105         (gst_registry_binary_save_feature),
9106         (gst_registry_binary_save_plugin),
9107         (gst_registry_binary_write_cache),
9108         (gst_registry_binary_check_magic),
9109         (gst_registry_binary_load_pad_template),
9110         (gst_registry_binary_load_feature),
9111         (gst_registry_binary_load_plugin),
9112         (gst_registry_binary_read_cache):
9113         * gst/gstregistrybinary.h:
9114           Use glib types, cleanup comments, impement interfaces and uri-types.
9115
9116 2007-01-13  Andy Wingo  <wingo@pobox.com>
9117
9118         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
9119         getrange() to return buffers with other caps, while we fix
9120         demuxers and typefind, or otherwise change part-negotiation.txt.
9121
9122 2007-01-12  Andy Wingo  <wingo@pobox.com>
9123
9124         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
9125         Factor start/stop into this private function instead of partially
9126         in activate functions and partially in the change_state function.
9127         Fixes setup before the element has changed from READY->PAUSED, as
9128         is the case in pull-mode pipelines.
9129         (gst_base_transform_sink_activate_push)
9130         (gst_base_transform_src_activate_pull): Refactor to use
9131         gst_base_transform_activate().
9132         (gst_base_transform_change_state): Removed, not needed any more.
9133
9134         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9135         Truncate before fixating.
9136         
9137         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9138         Don't set_caps() if the result of fixating is ANY, as it's not
9139         supported, and not necessary in the case of a link with no
9140         template caps on either side. Fixes tests/check/libs/basesrc in
9141         some pull-mode tests.
9142
9143         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
9144         (gst_base_transform_init, gst_base_transform_sink_activate_push)
9145         (gst_base_transform_src_activate_pull): 
9146         Track the activation mode.
9147         (gst_base_transform_setcaps): In pull mode, when activating the
9148         src pad, after activating the sink pad, activate the sink pad's
9149         peer, as discussed in part-negotiation.txt.
9150
9151         * libs/gst/base/gstbasesrc.h: 
9152         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
9153         vmethod, as in basesink.
9154
9155         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
9156
9157         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
9158         mode, first proxy the setcaps to the peer pad.
9159         (gst_base_sink_pad_fixate): Add a fixate function that calls the
9160         new fixate vmethod.
9161         (gst_base_sink_default_activate_pull): Rename from
9162         gst_base_sink_activate_pull.
9163         (gst_base_sink_negotiate_pull): New function, performs negotiation
9164         in pull mode before calling ::activate_pull().
9165         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
9166         vmethod instead of the default implementation. I have no idea how
9167         this worked before. Negotiate before calling activate_pull.
9168
9169         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
9170         sink pads in pull mode. In addition to being correct, fixes
9171         filesrc ! decodebin ! identity ! fakesink.
9172         (gst_pad_get_range, gst_pad_pull_range): Don't call
9173         gst_pad_set_caps() if the caps changes; instead error out with
9174         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
9175
9176 2007-01-12  Andy Wingo  <wingo@pobox.com>
9177
9178         * docs/design/part-negotiation.txt: Update with more policy.
9179
9180 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9181
9182         * libs/gst/check/gstbufferstraw.h:
9183         * libs/gst/check/gstcheck.h:
9184           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
9185           belongs.
9186
9187 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9188
9189         * tests/check/Makefile.am:
9190         * tests/check/gst/.cvsignore:
9191         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
9192         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
9193         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
9194         (GST_START_TEST), (gst_tag_setter_suite):
9195           Add minimal unit test for beforementioned GstTagSetter bug.
9196
9197 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9198
9199         Patch by: René Stadler <mail at renestadler dot de>
9200
9201         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
9202           gst_tag_list_merge() returns a new list, so it's not the best idea
9203           to ingore its return value. Effectively meant that tags could only
9204           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
9205           Also add function guard to require a non-NULL taglist as input (has
9206           always been so due to gst_tag_list_copy(), just making it explicit).
9207
9208 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9209
9210         * docs/random/draft-missing-plugins.txt:
9211           Some additions: mention new API that is supposed to be used at the
9212           various stages; short blob about new gst-inspect introspection
9213           option; mention potential future problem with plugins that have
9214           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
9215
9216 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9217
9218         * tools/gst-inspect.c:
9219         (print_plugin_automatic_install_info_codecs),
9220         (print_plugin_automatic_install_info_protocols),
9221         (print_plugin_automatic_install_info), (main):
9222         Add --print-plugin-auto-install-info option to gst-inspect, so we can
9223         introspect plugin files and get machine-parsable output that corresponds
9224         to the last bit of the missing-plugin installer string (small gotcha:
9225         doesn't take into account ranks).
9226
9227 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
9228
9229         * configure.ac:
9230         * docs/gst/gstreamer-sections.txt:
9231         * gst/Makefile.am:
9232         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
9233         (gst_registry_lookup_locked):
9234         * gst/gstregistry.h:
9235         * gst/gstregistrybinary.c: (gst_registry_binary_write),
9236         (gst_registry_binary_initialize_magic),
9237         (gst_registry_binary_save_string),
9238         (gst_registry_binary_save_pad_template),
9239         (gst_registry_binary_save_feature),
9240         (gst_registry_binary_save_plugin),
9241         (gst_registry_binary_write_cache),
9242         (gst_registry_binary_check_magic),
9243         (gst_registry_binary_load_pad_template),
9244         (gst_registry_binary_load_feature),
9245         (gst_registry_binary_load_plugin),
9246         (gst_registry_binary_read_cache):
9247         * gst/gstregistrybinary.h:
9248         * gst/gstregistryxml.c: (load_feature),
9249         (gst_registry_xml_read_cache):
9250           commit binary registry (disabled by default, see #359653)
9251
9252 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9253
9254         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
9255           Fix 'make check' too.
9256
9257 2007-01-10  Andy Wingo  <wingo@pobox.com>
9258
9259         * docs/design/part-negotiation.txt: Fix a typo, add a couple
9260         notes.
9261         
9262         * docs/design/part-negotiation.txt: Update with, um, one way that
9263         pull-mode negotiation might work?
9264
9265         * gst/gstpad.h: 
9266         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
9267         that the pad must be a src pad; makes sense to call it the other
9268         way in pull mode, and the logic is symmetric anyway.
9269
9270 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
9271
9272         * plugins/elements/gstfilesink.c:
9273           Include <stdio.h> for fseeko().
9274
9275 2007-01-10  Wim Taymans  <wim@fluendo.com>
9276
9277         * gst/gstevent.c:
9278         * gst/gstevent.h:
9279         Reserve LATENCY event.
9280
9281 2007-01-09  Wim Taymans  <wim@fluendo.com>
9282
9283         * docs/design/draft-latency.txt:
9284         Updates.
9285
9286 2007-01-09  Wim Taymans  <wim@fluendo.com>
9287
9288         * docs/design/draft-latency.txt:
9289         Updates.
9290
9291         * gst/gstelement.h:
9292         * gst/gststructure.c:
9293         * gst/gsttrace.c:
9294         Small typo fixes.
9295
9296 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9297
9298         * tests/check/.cvsignore:
9299           Ignore test-registry.xml as well.
9300
9301 2007-01-09  Wim Taymans  <wim@fluendo.com>
9302
9303         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9304         unref data at the end when we are done with the pad.
9305
9306 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9307
9308         * docs/gst/gstreamer-sections.txt:
9309         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9310         (init_post), (gst_deinit), (gst_update_registry):
9311         * gst/gst.h:
9312           API: add gst_update_registry() (#391296).
9313
9314         * tests/check/Makefile.am:
9315         * tests/check/gst/gstregistry.c:
9316         * tests/check/gst/.cvsignore:
9317           Simple unit test for the above.
9318
9319 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9320
9321         * gst/gstregistry.c: (gst_registry_scan_path_level):
9322           Plugin extension on HP-UX is .sl, add that to the list of approved
9323           plugin extensions (see #393796).
9324
9325         * tests/check/gst/gstpad.c: (GST_START_TEST):
9326           ulong => gulong. Fixes compilation with HP-UX compiler.
9327
9328         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9329           Fix compilation if valgrind headers are not available.
9330
9331 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
9332
9333         * win32/common/libgstreamer.def: 
9334           Add new exported function.
9335         * win32/vs6/libgstbase.dsp: 
9336           Add gstdataqueue.c to the build.
9337         * win32/vs6/libgstcoreelements.dsp:
9338           Add gstmultiqueue.c to the build.
9339         
9340 2007-01-06  Andy Wingo  <wingo@pobox.com>
9341
9342         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9343         activate_pull(), providing for a way to specialize the process of
9344         spawning a thread to pull on the sink pad. There is a default
9345         implementation.
9346
9347         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9348         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9349         (gst_base_sink_init): Renamed pad activation functions (inserting
9350         "_pad" in their names). Refactor to use the new activate_pull
9351         vmethod, as appropriate.
9352         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9353         default activate_pull function to start a task pulling from the
9354         sink pad, as before.
9355
9356         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9357         on the pads if necessary, as in push()/chain(). Update docs.
9358         Shouldn't affect existing pull() usage as it is currently only
9359         being used on buffers without caps.
9360
9361 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9362
9363         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9364         (init_pre):
9365           Call g_thread_init() first thing in gst_init() / gst_check_init().
9366           When initialisation is done via gst_init_get_option_group() and
9367           GOption parsing, issue a warning if the GLib thread system has not
9368           been initialised yet by the time gst_init_get_option_group() is
9369           called, as it's quite likely other GLib functions such as
9370           g_option_context_new() have been called already then, and
9371           g_thread_init() must be called before any other GLib function. The
9372           application in question must be fixed in that case, since memory
9373           corruption might happen otherwise.
9374           We issue the warning because even if the GLib folks decide to work
9375           around the problem on their end in future, this is still an issue
9376           with all GLib versions >= 2.10.0, so we should warn until we depend
9377           on a GLib version we know to be safe.
9378           Update documentation as well.
9379           Closes bug #391278.
9380
9381 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9382
9383         * tools/gst-inspect.c: (main):
9384         * tools/gst-launch.c: (main):
9385         * tools/gst-typefind.c: (main):
9386         * tools/gst-xmlinspect.c: (main):
9387           Call g_thread_init() really really early, before any other GLib
9388           function (see #342564 and recent discussion on gtk-devel-list).
9389
9390 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9391
9392         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
9393
9394         * gst/gst_private.h:
9395         * gst/gstconfig.h.in:
9396         * gst/gstinfo.h:
9397           On win32, all the __declspec stuff for symbol exporting is
9398           apparently only needed with MSVC, but doesn't work with MingW.
9399           Fixes compilation with MingW and #391909.
9400
9401 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9402
9403         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9404           Change some GST_ERROR_OBJECT that aren't really errors to
9405           GST_WARNING_OBJECT in order to reduce terminal spam.
9406
9407 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9408
9409         * tests/check/Makefile.am:
9410           disable test again, as there seem to be still race problems
9411
9412 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9413
9414         * tests/check/Makefile.am:
9415         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9416         (GST_START_TEST), (queue_suite):
9417           enable queue test again, add tests for the leaky behaviour
9418
9419 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
9420
9421         * configure.ac:
9422         * tests/examples/Makefile.am:
9423           Compile adapter test/example only if the required headers are
9424           available (fixes #391915).
9425
9426 2007-01-01  David Schleef  <ds@schleef.org>
9427
9428         * gst/gstplugin.c:
9429           Restore the previous signal handler for SIGSEGV instead of
9430           setting to default, since we may have stolen it away from
9431           someone.  (i.e., Mono)
9432
9433 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9434
9435         * docs/random/draft-missing-plugins.txt:
9436           Some small additions and clarifications.
9437
9438 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9439
9440         * gst/gstregistryxml.c: (gst_registry_save_escaped):
9441           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9442           since that can lead to random memory corruptions and crashes
9443           (may or may not be related to #383244, #386711, and #386711).
9444
9445 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9446
9447         * tests/check/.cvsignore:
9448         * tests/check/Makefile.am:
9449           sync .cvsignome and CLEANFILES
9450
9451 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9452
9453         * tests/check/Makefile.am:
9454           fix distcheck
9455
9456 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9457
9458         * docs/design/part-states.txt:
9459           two tiny additional comments
9460         
9461         * gst/gststructure.c:
9462           doc fixing
9463
9464         * tests/check/Makefile.am:
9465         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9466         (GST_START_TEST):
9467           disable test for now, unless it gets fixed
9468
9469 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9470
9471         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9472         (GST_START_TEST):
9473           fix race in underrun test
9474
9475 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9476
9477         * tests/check/elements/.cvsignore:
9478           ignore more
9479
9480         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9481         (GST_START_TEST):
9482           try to narrow test failure
9483
9484 2006-12-21  David Schleef  <ds@schleef.org>
9485
9486         * plugins/elements/gstfakesrc.c:
9487           Use g_random_int_range(), since it produces better random
9488           numbers in a range than almost-correct floating point code.
9489
9490 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9491
9492         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9493         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9494         (gst_check_teardown_sink_pad):
9495           do not automatically (de)activate pads
9496
9497         * tests/check/Makefile.am:
9498         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9499         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9500           add new, yet simple tests for queue
9501
9502         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9503         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9504         * tests/check/elements/filesrc.c: (cleanup_filesrc),
9505         (GST_START_TEST):
9506         * tests/check/elements/identity.c: (cleanup_identity):
9507           consistent pad (de)activation
9508
9509 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
9510
9511         Patch by: Sebastian Dröge  <slomo ubuntu com>
9512
9513         * libs/gst/base/gstcollectpads.c:
9514           Fix two doc typos (#387866).
9515
9516 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9517
9518         * docs/manual/advanced-dparams.xml:
9519           Fix typo (g_object_control_properties() doesn't exist).
9520
9521 2006-12-19  Edward Hervey  <edward@fluendo.com>
9522
9523         * gst/gstsegment.c: (gst_segment_set_seek):
9524         Fine tune the cases where the segment start/stop values are really
9525         updated.
9526         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9527         Add tests for the return values of gst_segment_set_seek().
9528
9529 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9530
9531         * gst/gst.c:
9532           Docs typo fix.
9533
9534         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9535         (gst_queue_init):
9536           Fix incorrect documentation and flesh it out a bit more.
9537           Set default values for the max properties on the GParamSpec as well,
9538           so it shows up correctly in gst-inspect.
9539
9540 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
9541
9542         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9543           Correct docs of queue, add more detail and crosslink it more.
9544
9545 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9546
9547         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9548           Print additional debug info when the stream isn't perfectly
9549           timestamped; don't try to use invalid durations.
9550
9551 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9552
9553         * docs/design/Makefile.am:
9554           Dist new design docs.
9555
9556 2006-12-16  Wim Taymans  <wim@fluendo.com>
9557
9558         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9559
9560         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9561         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9562         (gst_collect_pads_stop), (gst_collect_pads_event),
9563         (gst_collect_pads_chain):
9564         * libs/gst/base/gstcollectpads.h:
9565         Add refcounting to the collectpads data so we can track when it's safe
9566         to free the data. Fixes #383382.
9567
9568 2006-12-15  Wim Taymans  <wim@fluendo.com>
9569
9570         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9571         (gst_collect_pads_remove_pad):
9572         Automatically activate/deactivate pads when they are added to a
9573         started/stoped collectpads.
9574
9575 2006-12-15  Wim Taymans  <wim@fluendo.com>
9576
9577         * gst/gstelement.c: (gst_element_add_pad):
9578         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9579         * gst/gstpad.c: (gst_pad_init):
9580         Set pads to FLUSHING when they are created. Check, warn and fix when a
9581         demuxer adds an inactive pad to itself when running. Fixes #339326.
9582
9583 2006-12-15  Wim Taymans  <wim@fluendo.com>
9584
9585         * gst/gstelement.c: (gst_element_class_init),
9586         (gst_element_default_send_event), (gst_element_send_event),
9587         (gst_element_default_query), (gst_element_query):
9588         Expose default element send_event and query handling as vmethods that
9589         subclasses can chain up to.
9590
9591 2006-12-15  Wim Taymans  <wim@fluendo.com>
9592
9593         * gst/gstelement.c: (gst_element_set_state_func):
9594         Small documentation fixes.
9595
9596 2006-12-15  Wim Taymans  <wim@fluendo.com>
9597
9598         * docs/design/draft-latency.txt:
9599         Checked in draft for handling latency in pipelines.
9600
9601 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9602
9603         * Makefile.am:
9604         * gstreamer.doap:
9605         * gstreamer.spec.in:
9606           adding .doap file
9607
9608 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9609
9610         * gst/gst.c: (init_pre), (init_post):
9611           init_pre() and init_post() might be called via our GOptionGroup or
9612           from gst_init(), and we should skip both of them if we've already
9613           been initialised, otherwise we will init some things twice or add
9614           two default log functions.
9615
9616 2006-12-13  Edward Hervey  <edward@fluendo.com>
9617
9618         * docs/manual/basics-bus.xml:
9619         No, gst_main_loop does not exist. Its g_main_loop.
9620         Discovered by somebody who abused the copy-paste technique of coding :)
9621
9622 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9623
9624         * gst/gstghostpad.c:
9625           Log ghostpad debug stuff to the GST_PADS category as well rather
9626           than just to the default category.
9627
9628 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9629
9630         * configure.ac:
9631         * gst/gst.c: (init_pre):
9632           Add some basic system details such as OS and architecture
9633           to the debug output if possible, courtesy of uname().
9634
9635 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9636
9637         * docs/gst/running.xml:
9638           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9639           environment variables.
9640
9641 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9642
9643         * tests/check/gst/gstbin.c: (GST_START_TEST):
9644         It is acceptable to have a refcount of 2 or 3 at this point in the
9645         test, because the pipeline might be just posting its state_change
9646         message. The next line then waits for that message to appear using
9647         bus_poll, so that should be fine too.
9648
9649 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9650
9651         * gst/gst.c: (ensure_current_registry_forking):
9652         Ignore EINTR when reading from the child registry pipe.
9653         Explicitly ignore the return value from close, since it makes no
9654         difference.
9655
9656         * gst/gstminiobject.c: (gst_mini_object_ref),
9657         (gst_mini_object_unref):
9658         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9659
9660         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9661         When removing cached plugins, remove their features too, so they're
9662         not visible after they've disappeared.
9663
9664         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9665         In the unlikely case that we are linking pads with no parents, don't
9666         crash trying to get the non-existent parent bin.
9667
9668         * gst/parse/grammar.y:
9669         Output debug in the PIPELINE category
9670
9671 2005-03-08  Wim Taymans  <wim@fluendo.com>
9672
9673         Patch by: René Stadler <mail at renestadler dot de>
9674
9675         * gst/gstclock.c: (gst_clock_new_periodic_id):
9676         Reject invalid clock times for interval of periodic ids.
9677         Fixes ##383506.
9678
9679 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9680
9681         * gst/gstelementfactory.c: (gst_element_factory_create):
9682         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9683         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9684         * tools/gst-inspect.c: (print_element_info):
9685         Fix refcounting of gst_plugin_feature_load to match the docs. 
9686         Fixes: #380129
9687
9688 2006-12-07  Wim Taymans  <wim@fluendo.com>
9689
9690         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9691         (gst_base_sink_get_position):
9692         Improve debugging of events.
9693
9694 2006-12-07  Wim Taymans  <wim@fluendo.com>
9695
9696         Patch by: René Stadler <mail at renestadler dot de>
9697
9698         * gst/gstclock.c: (gst_clock_id_wait):
9699         Make period ids add the interval to the origial requested time instead
9700         of the possibly updated time which can be wrong when there are multiple
9701         waiters for the same id. Fixes #382592.
9702
9703         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9704         (gst_system_clock_id_wait_jitter_unlocked),
9705         (gst_system_clock_id_wait_jitter):
9706         Fix restart in the async notify thread when an async entry is added to
9707         the front of the list. Fixes #381492. 
9708
9709         * tests/check/gst/gstsystemclock.c: (store_callback),
9710         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9711         Added test for multiple async waits.
9712         Added test for async wait order.
9713
9714 2006-12-07  Wim Taymans  <wim@fluendo.com>
9715
9716         * gst/gstbin.c: (gst_bin_query):
9717         Add some more docs about the POSITION query.
9718
9719 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9720
9721         * configure.ac:
9722         Bump version nano - back to CVS.
9723
9724 === release 0.10.11 ===
9725
9726 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9727
9728         * configure.ac:
9729           releasing 0.10.11, "Love never runs on time"
9730
9731 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9732
9733         * win32/common/libgstbase.def:
9734         * win32/common/libgstreamer.def:
9735         * win32/vs8/libgstbase.vcproj:
9736         * win32/vs8/libgstcoreelements.vcproj:
9737         * win32/vs8/libgstreamer.vcproj:
9738         Fix compilation on win32 under VS8
9739         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9740         Partially fixes #381175
9741
9742 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9743
9744         * gst/gstvalue.c: (gst_value_compare_fraction):
9745         If someone is foolish enough to compare 2 fractions with denominator =
9746         0, return UNORDERED rather than aborting.
9747
9748 2006-11-28  Edward Hervey  <edward@fluendo.com>
9749
9750         * libs/gst/base/Makefile.am:
9751         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9752         (gst_data_queue_base_init), (gst_data_queue_class_init),
9753         (gst_data_queue_init), (gst_data_queue_new),
9754         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9755         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9756         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9757         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9758         (gst_data_queue_set_flushing), (gst_data_queue_push),
9759         (gst_data_queue_pop), (gst_data_queue_drop_head),
9760         (gst_data_queue_set_property), (gst_data_queue_get_property):
9761         * libs/gst/base/gstdataqueue.h:
9762         New GstDataQueue object for threadsafe queueing. Most useful for
9763         elements that need some queueing functionnality.
9764         * docs/libs/gstreamer-libs-docs.sgml:
9765         * docs/libs/gstreamer-libs-sections.txt:
9766         Insert documentation for GstDataQueue
9767         * plugins/elements/Makefile.am:
9768         * plugins/elements/gstelements.c:
9769         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9770         (gst_multi_queue_class_init), (gst_multi_queue_init),
9771         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9772         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9773         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9774         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9775         (gst_multi_queue_loop), (gst_multi_queue_chain),
9776         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9777         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9778         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9779         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9780         (wake_up_next_non_linked), (compute_next_non_linked),
9781         (single_queue_overrun_cb), (single_queue_underrun_cb),
9782         (single_queue_check_full), (gst_single_queue_new):
9783         * plugins/elements/gstmultiqueue.h:
9784         New multiqueue element, using GstDataQueue. Used for queuing multiple
9785         streams.
9786         Closes #344639 and #347785
9787
9788 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9789
9790         * docs/pwg/advanced-types.xml:
9791           add more missing type details
9792
9793         * tools/gst-run.c: (main):
9794           remove unused variable
9795
9796 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9797
9798         * docs/libs/Makefile.am:
9799         * docs/libs/gstreamer-libs.types:
9800           add types of base classes to enable gobject specific stuff in the docs
9801
9802         * docs/random/ensonic/embedded.txt:
9803           more ideas about isolating platform specific things
9804
9805 2006-11-20  Wim Taymans  <wim@fluendo.com>
9806
9807         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9808
9809         * libs/gst/check/gstcheck.h:
9810         Fix compilation and running against 0.9.4. Fixes #377332.
9811
9812 2006-11-20  Wim Taymans  <wim@fluendo.com>
9813
9814         * gst/gstsegment.c: (gst_segment_set_seek),
9815         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9816         (gst_segment_to_running_time):
9817         Fix boundary checking in to_running_time() and to_stream_time().
9818         Fixes #377183.
9819
9820         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9821         stream and running time can now be calculated for the complete
9822         clipped segment.
9823
9824 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9825
9826         * gst/gstpad.c: (gst_pad_push_event):
9827           Can't access event structure after giving away ownership of
9828           the event.
9829
9830 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9831
9832         * docs/random/ensonic/embedded.txt:
9833         * docs/random/ensonic/profiling.txt:
9834         * docs/random/ensonic/receipies.txt:
9835           more thinking
9836
9837 2006-11-13  Wim Taymans  <wim@fluendo.com>
9838
9839         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9840
9841         * gst/gstpad.c:
9842         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9843
9844 2006-11-13  Wim Taymans  <wim@fluendo.com>
9845
9846         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9847
9848         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9849         Store new length in segment duration so we don't keep on calling the
9850         potentially expensize get_size() call. Fixes #370865.
9851
9852 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9853
9854         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9855
9856         * win32/common/libgstreamer.def:
9857           Add two missing symbols (#366492).
9858
9859 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9860
9861         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9862         (gst_adapter_take_buffer):
9863         Fix format string to use all its arguments.
9864         Remove useless >= check on a guint
9865
9866 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9867
9868         * tests/examples/adapter/.cvsignore:
9869         Ignore build file as commanded by the build-bot
9870
9871 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9872
9873         * tests/examples/adapter/Makefile.am:
9874         * tests/examples/adapter/adapter_test.c: (run_test_take),
9875         (run_test_take_buffer), (run_tests), (main):
9876
9877         Add new files from the previous commit
9878
9879 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9880
9881         * Makefile.am:
9882         * configure.ac:
9883         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9884         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9885         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9886         * libs/gst/base/gstadapter.h:
9887         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9888         (GST_START_TEST), (gst_adapter_suite):
9889         * tests/examples/Makefile.am:
9890         Do some optimisation work in GstAdapter to avoid copies in more cases.
9891         It could still do slightly better by merging buffers when
9892         gst_buffer_is_span_fast is true, but is already faster. 
9893
9894         Also, avoid traversing a single-linked list to append each incoming 
9895         buffer inside the adapter.
9896
9897         Add simple test app that times the adapter behaviour in different
9898         situations, and extend the unit test to check that bytes enter and
9899         exit the adapter in their original order.
9900
9901 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9902
9903         * docs/random/draft-missing-plugins.txt:
9904           Update: use element message instead of adding a new message
9905           type to the core; don't provide GStreamer API to initiate the
9906           plugin download, just provide API to compose the strings needed
9907           and let an external libgimmestuff handle the rest.
9908
9909 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9910
9911         * tools/gst-inspect.c: (print_element_properties_info):
9912         Print a string instead of 'unknown type' for GValueArray properties
9913
9914 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9915
9916         * docs/random/draft-missing-plugins.txt:
9917         More small fixes.
9918
9919 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9920
9921         * tests/examples/typefind/typefind.c: (type_found), (main):
9922           Make typefind element example work again (#371894); add a
9923           license header.
9924
9925 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9926
9927         * docs/random/draft-missing-plugins.txt:
9928           Commit initial draft about how to deal with missing plugins,
9929           needs work (API too).
9930
9931 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9932
9933         * docs/pwg/advanced-types.xml:
9934           documents the new caps elements (see #363118)
9935
9936 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9937
9938         * gst/gstplugin.c: (gst_plugin_load_file):
9939         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9940         (gst_file_src_map_region), (gst_file_src_start):
9941         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9942         (gst_file_index_commit):
9943           Use g_strerror() instead of strerror() - we want UTF-8.
9944
9945 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9946
9947         Patch by: Peter Kjellerstedt <pkj at axis com>
9948
9949         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9950           Another printf fix (#371493).
9951
9952 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9953
9954         * tests/check/gst/gsttag.c:
9955           relicence (okay with author=company)
9956
9957 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9958
9959         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9960         (gst_pad_push_event):
9961           Enhance debug and improve docs
9962         
9963         * gst/gsturi.c:
9964           Fix docs
9965
9966 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9967
9968         * docs/random/ensonic/distributed.txt:
9969         * docs/random/ensonic/profiling.txt:
9970           more ideas
9971
9972 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9973
9974         * docs/gst/gstreamer-sections.txt:
9975           add new API and fix the build
9976           
9977         * gst/gstbin.c: (gst_bin_recalc_state):
9978         * gst/gstelement.c: (gst_element_message_full),
9979         (gst_element_get_state_func), (gst_element_set_state_func):
9980           use new API and improve logging
9981         
9982         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9983         * gst/gstutils.h:
9984           API: add function to get StateChangereturn names to improve logs 
9985
9986 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9987
9988         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9989           I'm considering shooting the next person to put strerror stuff
9990           in the translateable part of the message.
9991
9992 2006-11-03  Wim Taymans  <wim@fluendo.com>
9993
9994         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9995         Get the type and printf conversion specifiers right.
9996
9997 2006-11-03  Wim Taymans  <wim@fluendo.com>
9998
9999         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10000
10001         * gst/gstpad.c: (gst_pad_init), (pre_activate),
10002         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
10003         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
10004         Some small cleanups. Improve debugging.
10005         * gst/gstpad.h:
10006         Signal all waiting threads with a broadcast instead of just one.
10007         Fixes #369942.
10008
10009 2006-11-03  Wim Taymans  <wim@fluendo.com>
10010
10011         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
10012         (gst_fd_src_create):
10013         Add some debugging. 
10014         Only update fd when it's different from the old.
10015
10016 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10017
10018         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
10019           Printf fixes for PPC/OSX, take two (#369366).
10020
10021 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10022
10023         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
10024
10025         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10026         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10027         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
10028           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
10029           don't cast to long long for portability reasons, but use
10030           GLib's types instead.
10031
10032 2006-10-30  Michael Smith  <msmith@fluendo.com>
10033
10034         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10035           Get the arguments to lseek() the right way around.
10036           Fixes 367677.
10037
10038 2006-10-30  Wim Taymans  <wim@fluendo.com>
10039
10040         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
10041
10042         * gst/gstinfo.h:
10043         _declspec should be __declspec (two underscores, not one). Fixes 366572.
10044
10045 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
10046
10047         Patch by: Kjartan Maraas  <kmaraas at gnome org>
10048
10049         * docs/design/part-MT-refcounting.txt:
10050         * docs/random/wtay/capsnego2-docs:
10051         * gst/gstclock.c:
10052         * gst/gstxml.c:
10053           Typo fixes (#366212).
10054
10055 2006-10-28  Wim Taymans  <wim@fluendo.com>
10056
10057         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10058
10059         * gst/gst.c:
10060         * win32/common/libgstbase.def:
10061         * win32/common/libgstreamer.def:
10062         * win32/vs8/libgstbase.vcproj:
10063         * win32/vs8/libgstcontroller.vcproj:
10064         Add needed entries in .def files.
10065         Use HAVE_UNISTD_H.
10066         Rearrange def files in vs8 solutions. Fixes #366286.
10067
10068 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
10069
10070         * win32/common/gstconfig.h:
10071           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
10072           hand-made win32 gstconfig.h. Fixes #366321.
10073
10074 2006-10-27  Wim Taymans  <wim@fluendo.com>
10075
10076         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
10077         (gst_ghost_pad_new_full):
10078         Make acceptcaps return TRUE when we don't have a target, just like
10079         setcaps does.
10080
10081 2006-10-27  Wim Taymans  <wim@fluendo.com>
10082
10083         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10084         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
10085
10086 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
10087
10088         * gst/gststructure.c: (gst_structure_id_set_value):
10089           If someone tries to set a non-UTF8 string field on a structure,
10090           don't just print a warning, but also ignore the request and do
10091           not change/add that field to the structure.
10092
10093         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10094           Test for the above.
10095
10096 2006-10-25  David Schleef  <ds@schleef.org>
10097
10098         * gst/gstinfo.c:
10099           g_hash_table_insert() needs a cast to a non-const pointer duh.
10100
10101 2006-10-25  David Schleef  <ds@schleef.org>
10102
10103         * gst/gstinfo.c:
10104         * gst/gstinfo.h:
10105           Change name parameter of _gst_debug_register_funcptr to const
10106           to reflect the constness of its use in the function as well
10107           as to quiet a gcc warning.
10108
10109 2006-10-25  Edward Hervey  <edward@fluendo.com>
10110
10111         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10112         Don't push the buffer if it's empty.
10113         Closes #363095
10114
10115 2006-10-24  Wim Taymans  <wim@fluendo.com>
10116
10117         * gst/gstevent.h:
10118         Add small comment.
10119
10120         * libs/gst/base/gstbasetransform.c:
10121         (gst_base_transform_sink_eventfunc):
10122         Debug segment values *after* updating them as this is more
10123         interesting.
10124
10125 2006-10-23  Wim Taymans  <wim@fluendo.com>
10126
10127         * docs/design/part-events.txt:
10128         Update some docs.
10129
10130         * docs/design/part-block.txt:
10131         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10132         (gst_pad_push_event):
10133         Revert BLOCKING patch, it tries to be smart without really having a
10134         clear idea what or how. So, now we discard all FLUSHING events again on
10135         a blocking pad. Should fix gnonlin again.
10136
10137 2006-10-23  Wim Taymans  <wim@fluendo.com>
10138
10139         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10140
10141         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10142         (gst_base_src_start), (gst_base_src_activate_push):
10143         Make sure size is always initialized. Fixes #364388.
10144
10145 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
10146
10147         * docs/random/ensonic/distributed.txt:
10148           add some ideas about doing distributed processing
10149
10150         * docs/random/ensonic/profiling.txt:
10151           get_rusage look promising
10152
10153 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
10154
10155         * docs/manual/basics-helloworld.xml:
10156           Add a cast in example to fix compile warning
10157
10158 2006-10-18  Wim Taymans  <wim@fluendo.com>
10159
10160         * gst/gstsegment.c: (gst_segment_set_last_stop),
10161         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10162         Relax arg checking again, -1 is allowed.
10163
10164 2006-10-18  Wim Taymans  <wim@fluendo.com>
10165
10166         * gst/gstsegment.c: (gst_segment_set_last_stop),
10167         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10168         _set_last_stop() must be with a value != -1
10169         A _TYPE_SET to -1 means seek to 0.
10170         Calc last_stop correctly for negative rates.
10171         Make sure we work with positive durations when updating a segment.
10172
10173 2006-10-18  Wim Taymans  <wim@fluendo.com>
10174
10175         * docs/design/part-live-source.txt:
10176         * gst/gstclock.h:
10177         Small docs fixes.
10178
10179 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
10180
10181         * gst/gstbuffer.h:
10182           Add an explicit cast to GstBuffer** to keep old code that added an
10183           explicit cast to GstMiniObject** for gst_mini_object_replace()
10184           compiling without warning.
10185
10186 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
10187
10188         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
10189           check for validity of dates
10190
10191 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10192
10193         * docs/gst/gstreamer-sections.txt:
10194           Forgot this one, makes gtk-doc shut up.
10195
10196 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10197
10198         Patch by: Peter Kjellerstedt <pkj at axis com>
10199
10200         * gst/gstobject.h:
10201           Don't define xmlNodePtr to gpointer if the core was built with
10202           --disable-loadsave and --disable-registry, this will break
10203           applications that want to use libxml2 but are buildling against a
10204           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
10205           instead so we don't have to mess with the libxml2 namespace
10206           (#361675).
10207
10208 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10209
10210         * gst/gstbuffer.h:
10211           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
10212           type-punned pointer warnings.
10213
10214 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
10215
10216         * gst/gstelement.h:
10217           Add casts to the correct return type to state <=> state transition
10218           macros.
10219
10220 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
10221
10222         * docs/design/part-live-source.txt:
10223           describe howto handle latency
10224         
10225         * docs/random/ensonic/profiling.txt:
10226           more ideas
10227
10228         * tools/gst-plot-timeline.py:
10229           fix log parsing for solaris, remove unused function
10230
10231 2006-10-16  Wim Taymans  <wim@fluendo.com>
10232
10233         * docs/design/part-trickmodes.txt:
10234         * gst/gstevent.c:
10235         Update some docs regarding reverse playback.
10236
10237 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10238
10239         Patch by: Marcus Granado  <mrc dot gran at gmail com>
10240
10241         * win32/vs8/grammar.vcproj:
10242           Error out with a warning if glib-genmarshal.exe is not in path,
10243           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
10244
10245 2006-10-13  Wim Taymans  <wim@fluendo.com>
10246
10247         * gst/gstsegment.c: (gst_segment_set_seek):
10248         When seeking to stop -1, set last_stop (current position) to the
10249         duration of the segment.
10250
10251 2006-10-13  Wim Taymans  <wim@fluendo.com>
10252
10253         * gst/gstelement.h:
10254         Clarify _NO_PREROLL a bit more.
10255
10256         * gst/gstevent.c:
10257         Fix docs.
10258
10259         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10260         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
10261         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
10262         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
10263         due to wrong locking order. Fixes #361769.
10264         Remove some redundant/misplaced checks in pad_block.
10265
10266         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10267         For negative rates, count backwards from the duration.
10268
10269 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10270
10271         * gst/gsterror.c: (_gst_library_errors_init):
10272           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10273           up with something better).
10274
10275 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10276
10277         * win32/vs6/libgstreamer.dsp:
10278         * win32/vs7/libgstreamer.vcproj:
10279         * win32/vs8/libgstreamer.vcproj:
10280           Don't reference glib-compat.c which is currently not used and not
10281           disted; add gstquark.c which was recently added. Fixes #361730.
10282
10283 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10284
10285         * win32/common/libgstbase.def:
10286         * win32/common/libgstcontroller.def:
10287         * win32/common/libgstreamer.def:
10288           Add gst_caps_merge() and a bunch of other recently-added functions.
10289           Fixes #361732.
10290
10291 2006-10-11  Wim Taymans  <wim@fluendo.com>
10292
10293         * docs/plugins/gstreamer-plugins.args:
10294         * docs/plugins/inspect/plugin-coreelements.xml:
10295         * docs/plugins/inspect/plugin-coreindexers.xml:
10296         Update element args.
10297
10298         * gst/gstsystemclock.c:
10299         Small comment update.
10300
10301         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10302         (gst_tee_request_new_pad), (gst_tee_release_pad),
10303         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10304         (gst_tee_sink_activate_pull):
10305         * plugins/elements/gsttee.h:
10306         Some tee loving:
10307         Add default property defines.
10308         Implement release pad function.
10309         Give properties better blubs etc.
10310         Activate pads before adding them to a running tee.
10311         Do simple buffer_alloc on the first requested pad.
10312         Post error when activation fails.
10313
10314 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10315
10316         * gst/gst.c: (ensure_current_registry_forking):
10317           Check return value of write() to make compiler happy.
10318
10319 2006-10-11  Wim Taymans  <wim@fluendo.com>
10320
10321         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10322
10323         * plugins/elements/gstqueue.c: (gst_queue_chain):
10324         Recheck queue filledness after signalling the overrun when we're about
10325         to leak downstream because we released the lock when emitting the signal
10326         and the queue could be empty again. Fixes #352345.
10327
10328 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10329
10330         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10331           Fix refcounting here too, just like we did for _new_valist() a few
10332           days ago (#357180) (thanks to René Stadler). Also remove all those
10333           'Since: 0.9' from the gtk-doc blobs.
10334
10335         * tests/check/libs/controller.c: (controller_refcount_new_list),
10336         (gst_controller_suite):
10337           Unit test for the above.
10338
10339 2006-10-10  Wim Taymans  <wim@fluendo.com>
10340
10341         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10342
10343         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10344         (gst_pad_save_thyself):
10345         Update some docs.
10346         Write pad direction in XML output. Fixes #345496.
10347
10348 2006-10-10  Wim Taymans  <wim@fluendo.com>
10349
10350         Patch by: René Stadler <mail at renestadler dot de>
10351
10352         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10353         (gst_controller_new_list), (_gst_controller_dispose),
10354         (_gst_controller_finalize), (_gst_controller_class_init):
10355         Take ref to controlled object so that it cannot disappear. 
10356         Fixes #357432.
10357
10358 2006-10-10  Wim Taymans  <wim@fluendo.com>
10359
10360         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10361         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10362         (gst_check_teardown_sink_pad):
10363         Activate/deactivate pads in setup/teardown respectively.
10364
10365 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10366
10367         Patch by: Josep Torra Valles <josep@fluendo.com>
10368
10369         * gst/Makefile.am:
10370         Cast values when making gstenumtypes.h.  This pacifies Forte
10371         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10372         in the enumeration.
10373
10374 2006-10-09  Wim Taymans  <wim@fluendo.com>
10375
10376         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10377         Rename some more @cur to @start to fix docs. 
10378
10379         * gst/gstsegment.c: (gst_segment_set_seek):
10380         Fix typo.
10381         time and start must always stay in sync as defined in design doc.
10382
10383         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10384         Rename param to fix docs.
10385
10386         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10387         Check that start and time are in sync.
10388
10389         * tests/check/pipelines/parse-launch.c:
10390         (gst_parse_test_element_change_state):
10391         Activate pad before adding to the element.
10392
10393 2006-10-09  Wim Taymans  <wim@fluendo.com>
10394
10395         * docs/design/part-qos.txt:
10396         Fix typo.
10397
10398         * gst/gstevent.c:
10399         * gst/gstevent.h:
10400         Update seek event docs regarding negative rates.
10401         Rename @cur to @start. 
10402
10403         * gst/gstsegment.c: (gst_segment_set_seek):
10404         * gst/gstsegment.h:
10405         Update set_seek docs regarding negative rates.
10406         Correctly update last_stop to @stop when dealing with negative
10407         rates.
10408         Rename @cur to @start. 
10409
10410         * tests/check/gst/gstpad.c: (GST_START_TEST):
10411         Activate pads before trying to use them.
10412
10413         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10414         (gst_segment_suite):
10415         Add simple check for segments and negative rates.
10416
10417 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
10418
10419         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10420         * gst/gsttaglist.h:
10421         * docs/gst/gstreamer-sections.txt:
10422           API: add gst_tag_list_is_empty() (#360467).
10423
10424         * tests/check/gst/gsttag.c: (GST_START_TEST):
10425           And a test case.
10426
10427 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10428
10429         * gst/gstmessage.h:
10430         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10431         a value that doesn't fit on enumeration.
10432
10433 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10434
10435         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10436         Remove local debugging system and use Gstreamer's instead.
10437
10438 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10439
10440         Patch by: Josep Torra Valles <josep@fluendo.com>
10441
10442         * common/m4/gst-error.m4:
10443         Disable warning of statement not reached on Forte.
10444         * gst/gstmessage.h:
10445         Fix warning on Forte (value doesn't fit on enumeration).
10446         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10447         Fix warning on Forte (value doesn't fit on enumeration).
10448         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10449         DEBUG macro says it takes minimum of 2 args and so Forte
10450         complains about the use with just 1 arg.
10451         * plugins/elements/gstfdsink.c:
10452         * plugins/elements/gstfdsrc.c:
10453         * plugins/elements/gstfilesink.c:
10454         * plugins/elements/gstfilesrc.c:
10455         Use correct return type for the uri handler implementations.
10456
10457         All these fix warnings in Forte.  Fixes bug #360860.
10458
10459 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
10460
10461         * gst/gstelement.h:
10462           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10463           format string, so don't use G_GNUC_PRINTF for those versions.
10464
10465 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10466
10467         * gst/gsttaglist.c: (gst_is_tag_list):
10468         * gst/gsttaglist.h:
10469           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10470
10471         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10472           Small test for the above.
10473
10474 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10475
10476         * gst/gsttaglist.h:
10477           Less tabs, more spaces.
10478
10479 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
10480
10481         * gst/gstinfo.h:
10482           Those two function declarations do actually belong there, revert
10483           commit from yesterday that turned them intro macros.
10484
10485 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10486
10487         Patch by: Josep Torra Valles <josep@fluendo.com>
10488
10489         * gst/gst.c: (gst_init_get_option_group):
10490         Fix empty declaration and type mismatch.
10491         * gst/gstbin.c: (gst_bin_change_state_func):
10492         Fix type mismatch.
10493         * gst/gstelement.c: (gst_element_continue_state),
10494         (gst_element_set_state_func), (gst_element_change_state),
10495         (gst_element_change_state_func):
10496         Fix type mismatches.
10497         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10498         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10499         Cast as appropriate.
10500         * gst/gstobject.c: (gst_class_signal_connect):
10501         Cast as appropriate.  The function pointer parameter really
10502         has the wrong type but would break API if we change it.
10503         * gst/gstquery.c:
10504         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10505         order of including string.h.
10506         * gst/gstutils.c: (gst_element_state_get_name):
10507         Remove unreachable line.
10508         * gst/gstxml.c: (gst_xml_parse_doc):
10509         Fix type mismatch.
10510         All these caught by Forte.
10511
10512 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10513
10514         Patch by: Josep Torra Valles <josep@fluendo.com>
10515
10516         * common/m4/gst-error.m4:
10517         Fixed bug #360151.
10518         We need to disable warnings on Forte for empty declarations
10519         due to gst-indent adding ;s to lines that just use macros
10520         where the macro actually doesn't need a ; at end to end
10521         statement.
10522
10523 2006-10-06  Wim Taymans  <wim@fluendo.com>
10524
10525         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10526         (gst_file_sink_close_file), (gst_file_sink_event),
10527         (gst_file_sink_render):
10528         Add some FIXME for the NEWSEGMENT handling.
10529
10530 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10531
10532         * gst/parse/grammar.y:
10533         Remove static function gst_parse_element_lock as all it does
10534         is return.  Looks like cruft from 0.8.
10535
10536 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10537
10538         Patch by: Josep Torra Valles <josep@fluendo.com>
10539
10540         * common/m4/gst-error.m4:
10541         * configure.ac:
10542         * libs/gst/net/Makefile.am:
10543         Fix a compilation issue with Forte on Solaris.  inet_aton is in
10544         libresolv.
10545
10546 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10547
10548         * gst/gstpad.c: (pre_activate):
10549         * gst/gstregistry.c: (gst_registry_scan_path_level):
10550         * gst/gstregistryxml.c: (load_plugin):
10551         * libs/gst/controller/gstcontroller.c:
10552         (gst_controlled_property_set_interpolation_mode):
10553         * libs/gst/dataprotocol/dataprotocol.c:
10554         (gst_dp_packet_from_event_1_0):
10555         * libs/gst/net/gstnetclientclock.c:
10556         (gst_net_client_clock_observe_times):
10557         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10558           Printf fixes.
10559
10560 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10561
10562         * configure.ac:
10563         * docs/gst/gstreamer-sections.txt:
10564         * gst/gstconfig.h.in:
10565         * gst/gstelement.h:
10566         * gst/gstinfo.h:
10567           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10568           whether we can use G_GNUC_PRINTF in other header files and at
10569           least check the printf format/arguments of debug messages and
10570           GST_ELEMENT_ERROR messages when the printf extension is not
10571           being used.
10572           Replace more tabs with spaces in gstinfo.h and remove two spurious
10573           function declarations in GST_DISABLE_DEBUG part with macros.
10574
10575 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10576
10577         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10578           More docs for the sync-message signal (mention that it is not
10579           emitted by default); log message structures of messages posted on
10580           the bus as well.
10581
10582 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10583
10584         * gst/gst.c: (ensure_current_registry_forking):
10585         Use a pipe pair to receive status results from the forked child, and
10586         ignore the result from waitpid. Fixes #355499
10587
10588 2006-10-02  Wim Taymans  <wim@fluendo.com>
10589
10590         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10591         (gst_ghost_pad_suite):
10592         Fix leak in check.
10593
10594 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10595
10596         * gst/gstpad.c:
10597           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10598
10599 2006-10-02  Edward Hervey  <edward@fluendo.com>
10600
10601         * docs/design/part-block.txt:
10602         Further explain the use of flushing on blocked pads.
10603         * docs/gst/gstreamer-sections.txt:
10604         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10605         (gst_pad_push_event):
10606         * gst/gstpad.h:
10607         Added new GstPadFlag : GST_PAD_BLOCKING.
10608         Adds the notion of pads really blocking, which enables to properly
10609         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10610         Fixes #358999
10611         API: gst_pad_is_blocking()
10612         API: GST_PAD_IS_BLOCKING() macro
10613         API: GST_PAD_BLOCKING GstPadFlag
10614         
10615 2006-10-02  Wim Taymans  <wim@fluendo.com>
10616
10617         Patch by: mrcgran <mrc.gran at gmail dot com>
10618
10619         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10620         Filter the proxied caps against the padtemplate if we have one.
10621
10622         * gst/gstquery.c: (gst_query_new_segment):
10623         Add include for gstinfo.h so that compilation with
10624         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10625
10626 2006-10-02  Wim Taymans  <wim@fluendo.com>
10627
10628         Patch by: Alessandro Decina  <alessandro at nnva org>
10629
10630         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10631         (gst_file_sink_set_location), (gst_file_sink_open_file),
10632         (gst_file_sink_close_file), (gst_file_sink_event),
10633         (gst_file_sink_render):
10634         Set file to NULL when closing filesink so that we can set a new filename
10635         in READY. Fixes #358613.
10636
10637 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10638
10639         Patch by: Alessandro Decina  <alessandro at nnva org>
10640
10641         * gst/gstevent.c: (_gst_event_copy):
10642           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10643           with event structures by setting the parent refcount address of the
10644           copied structure to the address of the refcount member of the newly
10645           copied event rather than the address of the refcount member of the
10646           original event. Fixes #358737.
10647
10648         * tests/check/gst/gstevent.c: (GST_START_TEST):
10649           Unit test for the above.
10650
10651 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10652
10653         * docs/design/Makefile.am:
10654           Dist some more files.
10655
10656 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10657
10658         * tests/check/libs/controller.c: (GST_START_TEST),
10659         (gst_controller_suite):
10660           Add test for the previous fix; add some more tests
10661           for correct refcounting behaviour; fix a few leaks
10662           in test cases; call gst_controller_init() at start
10663           of all tests.
10664
10665 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10666
10667         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10668         (gst_controller_set_from_list):
10669           Don't g_return_val_if_fail() on timed values with invalid timestamps
10670           inside a critical section without unlocking the mutex. Spotted by
10671           René Stadler. (#357617)
10672           Also, fix up refcounting properly: when returning an existing
10673           controller, we should increase the reference only once and not
10674           once per property and when trying to control a property again
10675           we should also increase the refcount.
10676
10677 2006-09-29  Wim Taymans  <wim@fluendo.com>
10678
10679         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10680         * libs/gst/net/gstnettimeprovider.c:
10681         (gst_net_time_provider_thread):
10682         Stop reading commands when EOF as well.
10683
10684         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10685         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10686         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10687         Unify description of the dump property.
10688
10689 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10690
10691         * tests/examples/manual/.cvsignore:
10692         OK, so it's actually cvsignore that needs changing. Stop laughing.
10693
10694 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10695
10696         * tests/examples/manual/Makefile.am:
10697         Gah, declare vars *before* using them
10698
10699 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10700
10701         * gst/gst.c: (init_pre), (scan_and_update_registry),
10702         (ensure_current_registry_nonforking),
10703         (ensure_current_registry_forking), (ensure_current_registry),
10704         (init_post), (gst_debug_help), (gst_deinit):
10705         * gst/gst_private.h:
10706         * gst/gstregistry.c: (gst_registry_finalize),
10707         (gst_registry_remove_features_for_plugin_unlocked),
10708         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10709         (gst_registry_scan_path),
10710         (_priv_gst_registry_remove_cache_plugins),
10711         (_priv_gst_registry_cleanup):
10712         * gst/gstregistry.h:
10713         Re-commit the registry changes, along with an extra fix:
10714           When a cached plugin is encountered at a different file path,
10715           update the stored path in the registry cache so that the parent
10716           process knows where it actually is now when it re-reads the registry
10717           cache. Fixes the thing that broke distcheck with the previous commit.
10718
10719         * tests/check/Makefile.am:
10720         Clean up files named 'core' too when running make clean.
10721
10722         * tests/examples/manual/Makefile.am:
10723         Set up a registry path for running these tests, and clean it properly
10724         for distcheck.
10725
10726 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10727
10728         * configure.ac:
10729         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10730         want gmodule-no-export-2.0.pc instead so that we don't drag in
10731         --export-dynamic on every project that links to GStreamer.
10732
10733         Also, make our export regex only match the start of symbols, rather 
10734         than any symbol that contains '_gst' somewhere.
10735
10736         * libs/gst/check/Makefile.am:
10737         The libgstcheck we build does however need export-dynamic, as it
10738         produces some symbols that don't match our _gst... style regex.
10739         Fixes: #318031
10740
10741 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10742
10743         * gst/gst.c: (init_pre), (scan_and_update_registry),
10744         (ensure_current_registry_nonforking),
10745         (ensure_current_registry_forking), (ensure_current_registry),
10746         (init_post), (gst_debug_help), (gst_deinit):
10747         * gst/gst_private.h:
10748         * gst/gstregistry.c: (gst_registry_finalize),
10749         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10750         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10751         (_gst_registry_cleanup):
10752         * gst/gstregistry.h:
10753           Revert previous change until I figure out why it breaks distcheck.
10754
10755 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10756
10757         * gst/gst.c: (init_pre), (scan_and_update_registry),
10758         (ensure_current_registry_nonforking),
10759         (ensure_current_registry_forking), (ensure_current_registry),
10760         (init_post), (gst_debug_help), (gst_deinit):
10761
10762           Make init_pre and init_post take the full complement of GOptionFunc
10763           args so they can return useful GErrors. Make the registry updating
10764           functions do so.
10765
10766           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10767           ensure that the registry we're about to write out doesn't contain
10768           stale information about old-deleted plugin files.
10769
10770           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10771           that deletion of plugin files is considered a registry change.
10772
10773         * gst/gst_private.h:
10774         * gst/gstregistry.c: (gst_registry_finalize),
10775         (gst_registry_remove_features_for_plugin_unlocked),
10776         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10777         (gst_registry_scan_path),
10778         (_priv_gst_registry_remove_cache_plugins),
10779         (_priv_gst_registry_cleanup):
10780         * gst/gstregistry.h:
10781         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10782         by adding _priv prefix, so that they won't appear in the global
10783         symbol table. They still do atm though because of #318031. Move the
10784         prototypes to gst_private.h
10785
10786         When removing a plugin, remove all features for that plugin too. 
10787         Fixes #340878.
10788
10789 2006-09-27  Wim Taymans  <wim@fluendo.com>
10790
10791         * docs/random/moving-plugins:
10792         Make it clear that the "compiled-in descriptions" really mean
10793         the element details.
10794
10795         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10796         (gst_base_sink_wait_preroll):
10797         Update docs.
10798
10799         * docs/libs/gstreamer-libs-sections.txt:
10800         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10801         (gst_base_src_get_range), (gst_base_src_activate_push):
10802         * libs/gst/base/gstbasesrc.h:
10803         Added function to block while waiting for PLAYING, this function
10804         is used by live sources that block on the clock.
10805         API: gst_base_src_wait_playing()
10806
10807 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10808
10809         Patch by: Peter Kjellerstedt <pkj at axis com>
10810
10811         * Makefile.am:
10812           gst-element-check.m4 is generated and should therefore be
10813           copied from the build dir rather than the source dir (#357593).
10814           'make distcheck' hasn't noticed this because we were disting
10815           the file as well, so stop doing that.
10816
10817 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10818
10819         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10820           Add some tests for gst_caps_intersect().
10821
10822         * tools/gst-launch.c: (event_loop):
10823           Print all buffering percentages we get, even the 100% one.
10824
10825 2006-09-26  Wim Taymans  <wim@fluendo.com>
10826
10827         * tools/gst-inspect.c: (print_element_properties_info),
10828         (print_signal_info):
10829         Fix printing of flags to match the look of enums.
10830
10831 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10832
10833         * gst/gstelementfactory.c:
10834           Fix typo in docs blurb.
10835
10836 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10837
10838         * gst/gsturi.c: (search_by_entry):
10839           Don't assert/crash here if a uri handler doesn't return any
10840           supported protocols. The list of protocols could be generated
10841           dynamically at runtime or at plugin registration, and an error
10842           in the underlying library shouldn't be fatal (#353301).
10843
10844 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10845
10846         * gst/gstinfo.c:
10847           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10848           (spotted by Peter Kjellerstedt).
10849
10850 2006-09-23  Wim Taymans  <wim@fluendo.com>
10851
10852         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10853
10854         * libs/gst/base/gstbasesrc.c:
10855         (gst_base_src_default_check_get_range), (gst_base_src_start),
10856         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10857         (gst_base_src_change_state):
10858         Match _start/_stop calls in the activate functions. Remove redundant
10859         _stop call from the state change function. Fixes #356910.
10860         Turn failure DEBUG into ERROR. 
10861
10862 2006-09-22  Wim Taymans  <wim@fluendo.com>
10863
10864         * docs/design/part-buffering.txt:
10865         * gst/gstmessage.c: (gst_message_new_buffering),
10866         (gst_message_parse_buffering):
10867         Update docs about buffering.
10868
10869         * docs/design/part-trickmodes.txt:
10870         Fix typo.
10871
10872 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10873
10874         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10875         (gst_controller_new_list):
10876           Ref instances when returning them again (fixes #357180)
10877
10878 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10879
10880         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10881           Don't forget to release proxy lock when there's an error.
10882
10883 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10884
10885         * gst/gstcaps.h:
10886           Add extra initialisers for Caps things, to fix some plugin warnings
10887           when using -Wextra
10888
10889 2006-09-18  Wim Taymans  <wim@fluendo.com>
10890
10891         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10892           Also set template on the internal pad so that a getcaps from the 
10893           target pad returns the template caps.
10894
10895 2006-09-18  Wim Taymans  <wim@fluendo.com>
10896
10897         * gst/gstelement.c: (gst_element_post_message),
10898         (gst_element_dispose):
10899         Use _DEBUG_OBJECT some more.
10900
10901         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10902         Avoid typechecks.
10903
10904         * tools/gst-launch.c: (main):
10905         If the toplevel element is not a GstPipeline, it must be put in a
10906         pipeline so that a bus and clock is selected.
10907
10908 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10909
10910         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10911           JITTER, RATE, and LATENCY query should be handled by the
10912           default case and not by the CONVERT query code.
10913
10914 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10915
10916         * gst/gstformat.c: (gst_format_register):
10917           Fix locking order (must take lock before using n_values).
10918
10919         * gst/gstvalue.c: (gst_value_serialize_enum),
10920         (gst_value_deserialize_enum_iter_cmp),
10921         (gst_value_deserialize_enum):
10922           Fix serialisation/deserialisation of custom registered GstFormats.
10923
10924         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10925           Unit test for custom format serialisation/deserialisation.
10926
10927 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10928
10929         * docs/pwg/building-boiler.xml:
10930         * plugins/elements/gstcapsfilter.c:
10931         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10932         section.
10933
10934 2006-09-16  Edward Hervey  <edward@fluendo.com>
10935
10936         * libs/gst/base/gstbasetransform.c:
10937         (gst_base_transform_buffer_alloc):
10938         Check if requested caps are the same as the sinks caps IF
10939         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10940         is FALSE.
10941         This fixes the renegotiation issues stated in #352827.
10942
10943 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10944
10945         * configure.ac:
10946         * docs/manual/advanced-autoplugging.xml:
10947         * tests/examples/Makefile.am:
10948         * tests/examples/manual/.cvsignore:
10949         * tests/examples/manual/Makefile.am:
10950         * tests/examples/manual/extract.pl:
10951           Extract the manual examples again like we used to do.
10952           Fix one of them.
10953
10954 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10955
10956         * win32/common/config.h:
10957           update for version
10958
10959 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10960
10961         * gst/gsterror.c:
10962           Documents how to receive errors.
10963
10964 2006-09-15  Wim Taymans  <wim@fluendo.com>
10965
10966         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10967         (event_loop), (main):
10968         Added some comments here and there.
10969         Post an application message when an interrupt is caught instead of doing
10970         an uncontrolled state change.
10971         Clean up the event loop.
10972         Handle buffering messages, pause/resume the pipeline.
10973         Make shutdown because of an interrupt more reliable.
10974
10975 2006-09-15  Wim Taymans  <wim@fluendo.com>
10976
10977         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10978         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10979         (gst_base_sink_preroll_object):
10980         Make sure that our internal state is correct when we commit our state
10981         asynchronously. This solves a race where a state change to PLAYING
10982         could cause the sink to remain blocked in preroll in some situations.
10983
10984 2006-09-15  Wim Taymans  <wim@fluendo.com>
10985
10986         * tools/gst-inspect.c: (print_element_properties_info),
10987         (print_signal_info):
10988         List flags as hex so it's easier to deal with.
10989
10990 2006-09-15  Wim Taymans  <wim@fluendo.com>
10991
10992         * docs/libs/gstreamer-libs-sections.txt:
10993         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10994         (gst_base_sink_do_sync):
10995         * libs/gst/base/gstbasesink.h:
10996         Expose logic to wait for preroll so that subclasses such as audiosink
10997         can also use this method.
10998         API: gst_base_sink_wait_preroll()
10999
11000 2006-09-15  Wim Taymans  <wim@fluendo.com>
11001
11002         * gst/gstobject.c: (gst_object_set_parent):
11003         * gst/gstpipeline.c: (do_pipeline_seek):
11004         Small cleanups in docs and code.
11005
11006         * gst/gstsegment.c: (gst_segment_clip):
11007         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11008         if stop == start and start is in the segment, no clipping should be
11009         done. Also add a test for this.
11010
11011 2006-09-15  Wim Taymans  <wim@fluendo.com>
11012
11013         * docs/design/part-buffering.txt:
11014         * docs/gst/gstreamer-sections.txt:
11015         * gst/gstmessage.c: (gst_message_new_buffering),
11016         (gst_message_parse_buffering):
11017         * gst/gstmessage.h:
11018         Added methods to create and parse BUFFERING messages.
11019         Added preliminary docs about buffering.
11020         API: gst_message_new_buffering
11021         API: gst_message_parse_buffering
11022
11023 2006-09-06  Wim Taymans  <wim@fluendo.com>
11024
11025         * gst/gstbin.c:
11026         Update documentation.
11027
11028         * gst/gstelement.c: (gst_element_class_init),
11029         (gst_element_release_request_pad), (gst_element_set_clock),
11030         (gst_element_get_index), (gst_element_add_pad),
11031         (gst_element_remove_pad), (gst_element_get_random_pad),
11032         (gst_element_send_event), (gst_element_get_query_types),
11033         (gst_element_query), (gst_element_post_message),
11034         (gst_element_message_full), (gst_element_continue_state),
11035         (gst_element_lost_state), (gst_element_save_thyself),
11036         (gst_element_restore_thyself):
11037         Documentation updates.
11038         Rename last bit of the new-pad -> pad-added signal rename.
11039         Fix the case where an element query would only work if the source
11040         pad was linked.
11041         Avoid some useless type checking in message handling.
11042
11043         * gst/gstevent.c:
11044         * gst/gstevent.h:
11045         * gst/gstutils.c:
11046         Documentation updates.
11047
11048 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11049
11050         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11051           add an INFO line for when we actually update the fd
11052
11053 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11054
11055         * configure.ac:
11056           back to TRUNK
11057
11058 === release 0.10.10 ===
11059
11060 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
11061
11062         * configure.ac:
11063           releasing 0.10.10, "Pais"
11064
11065 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
11066
11067         * docs/manual/advanced-position.xml:
11068           Fix typo in sample code.
11069
11070 2006-09-05  Wim Taymans  <wim@fluendo.com>
11071
11072         * libs/gst/net/gstnetclientclock.c: (inet_aton),
11073         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11074         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
11075         * libs/gst/net/gstnetclientclock.h:
11076         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11077         * libs/gst/net/gstnettimepacket.h:
11078         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
11079         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
11080         (gst_net_time_provider_thread), (gst_net_time_provider_new):
11081         * libs/gst/net/gstnettimeprovider.h:
11082         Make stuff compile on windows. Fixes #345295.
11083
11084 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11085
11086         * gst/gst.c: (ensure_current_registry_forking):
11087           Print better details when child was terminated by signal.
11088
11089 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11090
11091         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
11092           Print a warning rather than g_assert() if a plugin feature
11093           is a URI handler but returns no protocols (#353976).
11094
11095 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
11096
11097         * docs/random/moving-plugins:
11098         Fix two typos.         
11099
11100 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
11101
11102         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
11103           Fix locking order, handle NULL function values properly.
11104
11105         * gst/gstinfo.h:
11106           Fix docs.
11107
11108         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
11109           Initialise variable before using it and fix debug statement to
11110           print the address of the function rather than the address of the
11111           variable on the stack holding the address of the function.
11112
11113 2006-09-01  Wim Taymans  <wim@fluendo.com>
11114
11115         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
11116         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
11117         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
11118         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
11119         (gst_ghost_pad_parent_unset),
11120         (gst_ghost_pad_internal_do_activate_push),
11121         (gst_ghost_pad_internal_do_activate_pull),
11122         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11123         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11124         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11125         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
11126         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
11127         (gst_ghost_pad_new_no_target_from_template),
11128         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
11129         More cleanups.
11130         Avoid needless typechecking in macros.
11131         Since the internal pad is always present and never changes, there is
11132         no need to locking or ref when retrieving it.
11133         Improve debugging a bit.
11134         Handle link errors when setting the target. Fixes #341029.
11135
11136 2006-09-01  Wim Taymans  <wim@fluendo.com>
11137
11138         * docs/libs/gstreamer-libs-sections.txt:
11139         * docs/plugins/gstreamer-plugins-sections.txt:
11140         Fix docs some more.
11141
11142         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11143         (gst_collect_pads_event):
11144         * libs/gst/base/gstcollectpads.h:
11145         Documentation updates.
11146         Free queued buffer when removing a pad.
11147
11148 2006-08-31  Michael Smith  <msmith@fluendo.com>
11149
11150         * gst/gstutils.c: (gst_element_link_pads),
11151         (gst_element_link_pads_filtered):
11152           Ensure that we set a capsfilter to NULL if we failed to link it
11153           when doing filtered linking, to avoid criticals.
11154
11155           No need to check for unreffing srcpad, which is explicly NULLed
11156           above (a trivial code cleanup).
11157
11158 2006-08-31  Wim Taymans  <wim@fluendo.com>
11159
11160         * docs/design/part-gstghostpad.txt:
11161         Update ascii art in documentation.
11162
11163         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
11164         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
11165         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11166         (gst_ghost_pad_internal_do_activate_push),
11167         (gst_ghost_pad_internal_do_activate_pull),
11168         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11169         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11170         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
11171         (gst_ghost_pad_set_target):
11172         Small cleanups and leak fixes.
11173         Remove some checks now that the internal pad is never NULL.
11174         Fix the case where linking pads without a target would create nasty
11175         criticals. Fixes #341029.
11176         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
11177         value of _set_target().
11178
11179         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11180         (gst_ghost_pad_suite):
11181         Some more tests for creating and linking untargeted ghostpads.
11182
11183 2006-08-31  Edward Hervey  <edward@fluendo.com>
11184
11185         * docs/gst/gstreamer-sections.txt:
11186         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
11187         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11188         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
11189         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
11190         (gst_ghost_pad_new_from_template),
11191         (gst_ghost_pad_new_no_target_from_template):
11192         * gst/gstghostpad.h:
11193         Refactored *_new() functions.
11194         Templates are now used as a g_object_new() parameter.
11195         Use template in _do_getcaps() if we don't have a target.
11196         Small documentation cleanups.
11197         Added two new constructors:
11198         gst_ghost_pad_new_from_template()
11199         gst_ghost_pad_new_no_target_from_template()
11200         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11201         (gst_ghost_pad_suite):
11202         Added tests for new ghostpad instanciation functions.
11203
11204         API additions: gst_ghost_pad_new_from_template,
11205         gst_ghost_pad_new_no_target_from_template
11206
11207 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
11208
11209         * docs/random/ensonic/profiling.txt:
11210           Ideas about qos profiling.
11211
11212 2006-08-29  Wim Taymans  <wim@fluendo.com>
11213
11214         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
11215         Code cleanups.
11216         Fix memleak.
11217
11218 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
11219
11220         * gst/gstxml.c:
11221           Improve and detypofy docs.
11222
11223         * tests/check/Makefile.am:
11224         * tests/check/gst/.cvsignore:
11225         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
11226           Add a basic test suite for GstXML.
11227
11228 2006-08-29  Wim Taymans  <wim@fluendo.com>
11229
11230         * gst/gstelement.c: (activate_pads), (clear_caps),
11231         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11232         Clear the pad caps when the element shut down all of the pads and
11233         is not streaming data that could modify the caps. 
11234         Fixes #352958.
11235
11236 2006-08-28  Michael Smith  <msmith@fluendo.com>
11237
11238         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11239           Revert previous change; I misunderstood single-segment mode.
11240
11241 2006-08-28  Michael Smith  <msmith@fluendo.com>
11242
11243         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11244           Unset DISCONT on buffers when using single-segment mode.
11245
11246 2006-08-28  Wim Taymans  <wim@fluendo.com>
11247
11248         * gst/gstcaps.c: (gst_caps_merge_structure):
11249         * gst/gstcaps.h:
11250         Fix docs and indentation again.
11251
11252         * tests/check/gst/gstquery.c: (GST_START_TEST):
11253         Fix leak in tests and add some more tests.
11254
11255 2006-08-28  Edward Hervey  <edward@fluendo.com>
11256
11257         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11258         Inform GstSegment of the last stop position in order for the current
11259         segment to have a proper duration if it doesn't have a specific stop
11260         position from which a duration could be calculated.
11261         This bug was noticeable when a non-flushing, non-update new segment was
11262         followed by another segment (all buffers from the new segment were being
11263         dropped).
11264
11265 2006-08-28  Wim Taymans  <wim@fluendo.com>
11266
11267         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11268         Small comment update.
11269
11270         * plugins/elements/gstidentity.c: (gst_identity_class_init),
11271         (gst_identity_transform_ip):
11272         Drop-probability is broken, mention this in the code with a 
11273         FIXME and also in the property description.
11274         Make silent also be silent about the drop messages.
11275
11276 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
11277
11278         * docs/manual/appendix-win32.xml:
11279           Remove mention of popt, we don't depend on that any
11280           longer (#353136). Add some comments pointing out that
11281           this section is slightly outdated.
11282
11283 2006-08-28  Wim Taymans  <wim@fluendo.com>
11284
11285         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11286
11287         * gst/gstquery.c: (gst_query_new_segment):
11288         * tests/check/gst/gstquery.c: (GST_START_TEST):
11289         Initialize variables when creating a new segment query.
11290         Fixes #353121.
11291
11292 2006-08-28  Wim Taymans  <wim@fluendo.com>
11293
11294         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11295
11296         * gst/gstelement.c: (gst_element_get_bus):
11297         * tests/check/gst/gstelement.c: (GST_START_TEST):
11298         Check for NULL before _reffing the bus. Fixes #353122.
11299
11300 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
11301
11302         * docs/manual/basics-bus.xml:
11303           Docs update: fix wrong callback return value explanation; add
11304           some lines about the implicit relationship between main loop
11305           and main context; remove duplicate main loop variable declaration.
11306
11307 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
11308
11309         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11310           Don't leak caps in unit test; add a few more simple
11311           checks. 
11312
11313 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
11314
11315         * docs/gst/gstreamer-sections.txt:
11316         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11317         (gst_caps_structure_is_subset), (gst_caps_merge),
11318         (gst_caps_merge_structure):
11319         * gst/gstcaps.h:
11320         * libs/gst/base/gstbasetransform.c:
11321         (gst_base_transform_transform_caps):
11322         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11323           implement caps merging (fixes #352580)
11324
11325 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
11326
11327         * tools/Makefile.am:
11328         * tools/gst-plot-timeline.py:
11329           add debug-log plotting developer tool (#340674)
11330
11331 2006-08-23  Wim Taymans  <wim@fluendo.com>
11332
11333         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11334         (gst_pad_stop_task):
11335         Improve debugging for task functions.
11336
11337         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11338         (gst_task_start), (gst_task_pause), (gst_task_join):
11339         Make sure that the task function started and finished after a 
11340         join(). 
11341         Don't try to push the task function on the threadpool multiple
11342         times.
11343         Improve the g_warning message with some useful suggestions
11344         about how to fix the problem. 
11345
11346 2006-08-23  Wim Taymans  <wim@fluendo.com>
11347
11348         * gst/gstutils.c: (gst_pad_proxy_getcaps):
11349         Handle RESYNC correctly in _proxy_getcaps.
11350
11351 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
11352
11353         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11354         (gst_xml_parse_memory), (gst_xml_get_element):
11355           Chain up to parent class in dispose function and also
11356           unref the elements in the toplevel_elements GList.
11357           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11358           Always return a reference in gst_xml_get_element() rather
11359           than only sometimes.
11360
11361         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11362           Don't leak GstXml object.
11363
11364 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
11365
11366         * docs/gst/gstreamer-sections.txt:
11367         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11368         (gst_caps_merge):
11369         * gst/gstcaps.h:
11370         * libs/gst/base/gstbasetransform.c:
11371         (gst_base_transform_transform_caps):
11372           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11373           in a better way
11374
11375 2006-08-21  Edward Hervey  <edward@fluendo.com>
11376
11377         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11378         Implement GObject::dispose virtual method in GstXML so we can free the
11379         top_elements GList.
11380
11381 2006-08-21  Wim Taymans  <wim@fluendo.com>
11382
11383         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11384         (gst_buffer_create_sub):
11385         Copy duration/offset_end/caps when creating a subbuffer of the
11386         complete parent.
11387         Make the subbuffer read-only when we make the metadata writable for
11388         now. Fixes #351768.
11389
11390         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11391         Added check for metadata copy when creating subbuffers.
11392
11393 2006-08-21  Edward Hervey  <edward@fluendo.com>
11394
11395         * libs/gst/base/gstbasetransform.c:
11396         (gst_base_transform_buffer_alloc):
11397         Only call downstream buffer_alloc if transform element is passthrough
11398         or always_in_place. Closes #350449.
11399
11400 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11401
11402         * ChangeLog:
11403           ChangeLog surgery to add comments to previous changes
11404
11405 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11406
11407         * gst/gst.c:
11408           Add comments
11409
11410         * gst/gstpad.c: (gst_pad_set_active):
11411           Be more verbose in the log
11412
11413         * libs/gst/base/gstbasetransform.c:
11414         (gst_base_transform_transform_caps):
11415           Simplify caps to get rid of duplicates, fixes #345444
11416
11417 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11418
11419         * gst/gstvalue.c:
11420         * gst/gstvalue.h:
11421           Use these optimizations only internally.
11422
11423 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11424
11425         * gst/gstvalue.c: (gst_value_compare_list),
11426         (gst_value_compare_fraction_range),
11427         (gst_value_intersect_fraction_fraction_range),
11428         (gst_value_intersect_fraction_range_fraction_range),
11429         (gst_value_subtract_fraction_fraction_range),
11430         (gst_value_subtract_fraction_range_fraction_range),
11431         (gst_value_get_compare_func), (gst_value_compare),
11432         (gst_value_compare_with_func):
11433         * gst/gstvalue.h:
11434           Saves the expensive lookup of the compare function in many cases
11435          (#345444)
11436
11437 2006-08-18  Edward Hervey  <edward@fluendo.com>
11438
11439         * tests/check/gst/gstinfo.c: (gst_info_suite):
11440         Disable test that require gstdebug if it wasn't built in core.
11441
11442 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11443
11444         * docs/random/ensonic/logging.txt:
11445           update ideas
11446           
11447         * gst/gstinfo.c: (gst_debug_log_default):
11448           reorder fields, save some columns, add optional color codes for log
11449           levels
11450
11451 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11452
11453         * docs/random/ensonic/logging.txt:
11454           add ideas about making the logs a bit more useful
11455
11456 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11457
11458         * docs/pwg/advanced-events.xml:
11459         * docs/pwg/titlepage.xml:
11460           Update for 0.10 API (#340627). Add myself
11461           to authors list.
11462
11463 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11464
11465         * docs/libs/gstreamer-libs-docs.sgml:
11466         * docs/libs/gstreamer-libs-sections.txt:
11467         * libs/gst/check/gstbufferstraw.c:
11468           Make gstcheck stuff show up in docs (still needs to
11469           be documented properly though).
11470
11471 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
11472
11473         * docs/gst/gstreamer-sections.txt:
11474         * gst/Makefile.am:
11475         * gst/gst.c: (init_post):
11476         * gst/gst_private.h:
11477         * gst/gstquark.c: (_priv_gst_quarks_initialize):
11478         * gst/gstquark.h:
11479         * gst/gstquery.c: (gst_query_new_position),
11480         (gst_query_set_position), (gst_query_parse_position),
11481         (gst_query_new_duration), (gst_query_set_duration),
11482         (gst_query_parse_duration), (gst_query_new_convert),
11483         (gst_query_set_convert), (gst_query_parse_convert),
11484         (gst_query_new_segment), (gst_query_set_segment),
11485         (gst_query_parse_segment), (gst_query_new_seeking),
11486         (gst_query_set_seeking), (gst_query_parse_seeking):
11487         Add internal helpers for pre-registering quarks from static strings
11488         and using the quark values directly instead of looking them up when
11489         creating and parsing queries. Can be used for event construction too.
11490         Closes #350432.
11491
11492 2006-08-16  Wim Taymans  <wim@fluendo.com>
11493
11494         * gst/gstbin.c:
11495         Fix bogus docs.
11496
11497 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11498
11499         * gst/gstutils.c: (gst_util_set_value_from_string):
11500           Fix memleak (#351502).
11501
11502         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11503           Add unit test for most of gst_util_set_value_from_string()
11504           (not that one would want to encourage use of this function).
11505
11506 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11507
11508         * libs/gst/check/gstcheck.h:
11509           Use const gchar * variables in fail_unless_equals_string
11510           macro to avoid compiler warnings (and don't use tabs for
11511           indenting).
11512
11513 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11514
11515         * tools/gst-launch.c: (print_tag):
11516           More space on the left for the tag names, to cater
11517           for the 'extended comment' tag (not touching the
11518           string for the first line since it's translated).
11519
11520 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11521
11522         * libs/gst/check/gstcheck.h:
11523           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11524           print something when they fail.
11525
11526 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11527
11528         * docs/gst/gstreamer-sections.txt:
11529         * gst/gsttaglist.c: (_gst_tag_initialize):
11530         * gst/gsttaglist.h:
11531           API: add GST_TAG_EXTENDED_COMMENT (#350935).
11532           Also change merge function for GST_TAG_COMMENT to
11533           use_first.
11534
11535 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11536
11537         * gst/gstinfo.c: (gst_debug_print_object):
11538           Make GST_PTR_FORMAT print messages as well.
11539
11540         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11541         (GST_START_TEST), (gst_info_suite):
11542           More tests.
11543
11544 2006-08-14  Edward Hervey  <edward@fluendo.com>
11545
11546         * gst/gstelementfactory.c: (gst_element_register):
11547         If the GstElementClass doesn't have a GstElementDetails with all fields
11548         filled up correctly (longname, description AND author), then error out
11549         nicely instead of crashing.
11550
11551 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11552
11553         * gst/gststructure.c:
11554           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11555
11556         * gst/gstvalue.h:
11557           Expand on the difference between arrays and lists as we use them.
11558           
11559 2006-08-14  Wim Taymans  <wim@fluendo.com>
11560
11561         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11562         If the parent state change function failed, don't assume we can safely
11563         stop the source, this will be done when the pads are deactivated.
11564
11565 2006-08-14  Wim Taymans  <wim@fluendo.com>
11566
11567         * gst/gstbuffer.c:
11568         * gst/gsttask.c: (gst_task_join):
11569         Small doc updates.
11570
11571         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11572         (gst_pad_stop_task):
11573         When pad (de)activation failed for some reason, restore the old
11574         activation mode and set the pad to flushing instead of assuming the
11575         pad is deactivated.
11576         If the _task_join() failed, reinstall the task on the pad so that it can
11577         be stopped later and return an error.
11578
11579 2006-08-11  Andy Wingo  <wingo@pobox.com>
11580
11581         * configure.ac:
11582         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11583         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11584         is only for users of API that don't want to see deprecated
11585         functions in the headers; people that want to compile out
11586         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11587         CFLAGS. Fixes the build of multifdsink, or will soon..
11588
11589 2006-08-11  Wim Taymans  <wim@fluendo.com>
11590
11591         * docs/gst/gstreamer-sections.txt:
11592         Add GstClockClass vmethod docs.
11593
11594         * gst/gstcaps.h:
11595         Mark #endif with comment for associated #if
11596
11597         * gst/gstclock.c: (gst_clock_id_wait):
11598         * gst/gstclock.h:
11599         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11600         most clock implementations.
11601         Document vmethods.
11602         Flesh out docs about resolution methods.
11603         API: GstClockClass::wait_jitter
11604
11605         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11606         (gst_system_clock_async_thread),
11607         (gst_system_clock_id_wait_jitter_unlocked),
11608         (gst_system_clock_id_wait_jitter):
11609         Use base class wait_jitter variant for improved performance
11610         due to less clock polling.
11611
11612 2006-08-11  Edward Hervey  <edward@fluendo.com>
11613
11614         * gst/gst.c: (gst_init_check), (init_post):
11615         Set gst as being initialized before scanning/updating the registry,
11616         since there might be my python plugin loader that calls gst_init() and
11617         we don't want to loop back in.
11618         Closes #350879
11619
11620 2006-08-11  Wim Taymans  <wim@fluendo.com>
11621
11622         * docs/design/part-qos.txt:
11623         Bring docs in line with the code. Mostly the sign of the jitter was
11624         wrong in the docs. Fixes #349943.
11625
11626         * gst/gstclock.c:
11627         Fix the docs for the jitter.
11628
11629         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11630         (gst_event_parse_tag), (gst_event_new_buffer_size),
11631         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11632         (gst_event_new_seek), (gst_event_parse_seek),
11633         (gst_event_new_navigation):
11634         Make sure the GstStructure has no parent when creating custom
11635         events.
11636         Add some more argument checking so that we avoid 0.0 rates.
11637         Flesh out the docs for the QoS event some more.
11638
11639 2006-08-11  Wim Taymans  <wim@fluendo.com>
11640
11641         * docs/gst/gstreamer-sections.txt:
11642         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11643         (ensure_current_registry_forking), (ensure_current_registry),
11644         (parse_one_option), (parse_goption_arg), (gst_deinit),
11645         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11646         * gst/gst.h:
11647         Doc updates.
11648         Added API and command line option to disable registry forking in
11649         addition to the environment variable.
11650         Constify some static arrays.
11651         Added some more debug.
11652         Don't deinit twice.
11653         API: gst_registry_fork_is_enabled()
11654         API: gst_registry_fork_set_enabled()
11655         API: --gst-disable-registry-fork command line option
11656         Fixes #348918.
11657
11658 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11659
11660         * gst/gst.c: (gst_init):
11661           Fix typo in error message.
11662
11663 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11664
11665         * libs/gst/controller/gstcontroller.h:
11666           fix ABI size-correction
11667
11668         * tests/check/libs/gdp.c: (gst_dp_suite):
11669           make tests that use deprecated API conditional
11670
11671 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11672
11673         * docs/libs/gstreamer-libs-sections.txt:
11674         * libs/gst/controller/gstcontroller.c:
11675         (_gst_controller_get_property), (_gst_controller_set_property),
11676         (_gst_controller_init), (_gst_controller_class_init):
11677         * libs/gst/controller/gstcontroller.h:
11678         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11679         (gst_object_set_control_rate):
11680           API: add gst_object_{s,g}et_control_rate(), add private data section,
11681           fix docs
11682
11683         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11684         * libs/gst/dataprotocol/dataprotocol.h:
11685           add deprecation guards to make gtk-doc happy and allow disabling cruft
11686
11687 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11688
11689         * tests/check/Makefile.am:
11690         * tests/check/gst/.cvsignore:
11691           Let's enable the new unit test as well.
11692
11693 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11694
11695         * configure.ac:
11696         * docs/gst/gstreamer-sections.txt:
11697         * gst/gstconfig.h.in:
11698         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11699         (_gst_info_printf_extension_ptr),
11700         (_gst_info_printf_extension_segment):
11701           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11702           register that lets us easily dump GstSegments into debug
11703           logs (#350419).
11704
11705         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11706         (info_segment_format_printf_extension), (gst_info_suite):
11707           Add simple unit test that logs a bunch of different segments (not
11708           valgrinded at the moment because of leaks in
11709           gst_debug_add_log_function).
11710
11711 2006-08-09  Edward Hervey  <edward@fluendo.com>
11712
11713         * libs/gst/base/gstbasetransform.c:
11714         (gst_base_transform_buffer_alloc):
11715         Even if we can't figure out the proper format to request downstream,
11716         call buffer_alloc() downstream with the input parameters without setting
11717         the caps on the srcpad. This will force negotiation in the chain
11718         function.
11719         Closes #350449
11720
11721 2006-08-08  Edward Hervey  <edward@fluendo.com>
11722
11723         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11724         Unlinking from a pad without a target is now a perfectly valid case
11725         which should NOT raise an assertion.
11726         This case would happen if a linked ghostpad its target set to NULL after
11727         it was previously linked.
11728
11729 2006-08-08  Edward Hervey  <edward@fluendo.com>
11730
11731         * tests/check/libs/gdp.c:
11732         Also comment out the test (see below).
11733
11734 2006-08-08  Edward Hervey  <edward@fluendo.com>
11735
11736         * tests/check/libs/gdp.c: (gst_dp_suite):
11737         Use the architecture information from config.h and not gcc macros
11738         in order to properly disable a test that fails on PPC64.
11739
11740 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11741
11742         * gst/gstelement.c: (gst_element_remove_pad):
11743           Don't crash printing the warning if the pad has no parent.
11744
11745 2006-08-02  Wim Taymans  <wim@fluendo.com>
11746
11747         * libs/gst/dataprotocol/dataprotocol.c:
11748         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11749         (gst_dp_crc), (gst_dp_header_payload_length),
11750         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11751         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11752         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11753         (gst_dp_event_from_packet), (gst_dp_validate_header),
11754         (gst_dp_validate_payload):
11755         Make debug category static
11756         Constify the crc table.
11757         Do some more arg checking in public functions.
11758         Fix some docs and do some small cleanups.
11759
11760         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11761         Add some more checks to see if GDP deals with bogus input.
11762
11763 2006-07-31  Wim Taymans  <wim@fluendo.com>
11764
11765         * gst/gstvalue.c: (gst_value_compare_list):
11766         Fix GstValueList comparison code. Fixes #347293.
11767
11768         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11769         Check to test GstValueList comparison.
11770
11771 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11772
11773         * gst/gstelementfactory.c: (gst_element_factory_create):
11774         Remove unnecessary ref/unref pair
11775
11776         * gst/parse/grammar.y:
11777         Make sure to free the parse buffer on all code paths.
11778         Move a g_free up to the error handler where it's easier to see.
11779
11780         * tests/check/gst/gstevent.c: (test_event):
11781         Extending timeout for downstream travelling events to 10 seconds to
11782         hopefully avoid intermittent failure on the buildbots.
11783
11784         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11785         Don't manually set the state of the src element - it will happen as a
11786         natural consequence of the pipeline changing state, and that way it
11787         will do it in the right order too.
11788
11789 2006-07-31  Wim Taymans  <wim@fluendo.com>
11790
11791         * libs/gst/base/gstbasetransform.c:
11792         (gst_base_transform_buffer_alloc):
11793         Use OBJECT_LOCK and refcounting to get the pad caps in the
11794         buffer_alloc function because the caps could change while we are
11795         busy with them. Fixes #349105
11796
11797 2006-07-31  Wim Taymans  <wim@fluendo.com>
11798
11799         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11800         Protect _PAD_CAPS with OBJECT_LOCK.
11801
11802 2006-07-31  Wim Taymans  <wim@fluendo.com>
11803
11804         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11805         (gst_pad_get_property), (gst_pad_activate_pull),
11806         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11807         (gst_pad_set_activate_function),
11808         (gst_pad_set_activatepull_function),
11809         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11810         (gst_pad_set_getrange_function),
11811         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11812         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11813         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11814         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11815         (gst_pad_set_acceptcaps_function),
11816         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11817         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11818         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11819         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11820         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11821         (gst_pad_configure_sink), (gst_pad_configure_src),
11822         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11823         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11824         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11825         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11826         (gst_pad_send_event):
11827         Use _DEBUG_OBJECT when it makes sense.
11828         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11829         Small cleanups and code reflows.
11830         Avoid caps refcounting in _accept_caps.
11831         Refactor alloc_buffer so that the code performed on the peer is in a
11832         separate function. Also if the pad does not implement a buffer alloc
11833         function, we should still check if the pad is flushing before falling
11834         back to the default allocator.
11835
11836 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11837
11838         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11839         Make all uses of identity and fakesink have silent=true to avoid
11840         serialising every passing data structure, which is breaking tests
11841         on FC4 for some unknown reason.
11842
11843 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11844
11845         * gst/parse/Makefile.am:
11846         * gst/parse/grammar.y:
11847         * gst/parse/parse.l:
11848           Reverted previous patch as it required to bump the flex dependency to
11849           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11850
11851 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11852
11853         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11854
11855         * gst/parse/Makefile.am:
11856         * gst/parse/grammar.y:
11857         * gst/parse/parse.l:
11858           push & pop the state of the lexer for reentrant use case
11859           Fixes #349180
11860
11861 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11862
11863         * libs/gst/base/gstbasesrc.h:
11864           Note in the docs that the ::newsegment vfunc is not actually used by
11865           GstBaseSrc.
11866
11867 2006-07-28  Wim Taymans  <wim@fluendo.com>
11868
11869         * libs/gst/base/gstcollectpads.c:
11870         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11871         (gst_collect_pads_clear), (gst_collect_pads_flush),
11872         (gst_collect_pads_event), (gst_collect_pads_chain):
11873         When flushing a pad, also clear the queued buffer so that we don't
11874         accidentally use it when we shouldn't.
11875         Fix leaks by inreffing incomming buffer.
11876         Flush out queued buffers in case of errors.
11877         Fixes #347452.
11878
11879 2006-07-28  Wim Taymans  <wim@fluendo.com>
11880
11881         * docs/random/phonon-gst:
11882         Random notes about a Phonon backend.
11883
11884 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11885
11886         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11887         Extra debug output
11888         * tests/check/libs/gdp.c: (gst_dp_suite):
11889         Take a whack at fixing the ppc compile using a different define to
11890         disable the broken test.
11891
11892         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11893         Remove excess g_print()
11894
11895 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11896
11897         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11898         Oops, meant to uncomment this line too to dampen the noise a bit.
11899
11900 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11901
11902         * gst/parse/grammar.y:
11903         * gst/parse/parse.l:
11904         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11905         (GST_START_TEST), (parse_suite):
11906         Fix some of the leaks exposed by extending the parse-launch testsuite,
11907         and move the 3 I can't figure out into a separate test that won't run
11908         the pipelines unless the appropriate line is uncommented.
11909
11910 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11911
11912         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11913           Requesting 0 bytes before the end of the file should result in
11914           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11915           unit test.
11916
11917 2006-07-27  Wim Taymans  <wim@fluendo.com>
11918
11919         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11920         Fix useless assert, a uint is always positive.
11921
11922         * gst/gststructure.c: (gst_structure_nth_field_name),
11923         (gst_structure_foreach), (gst_structure_map_in_place):
11924         Check input arguments for public functions to avoid obvious crashes.
11925
11926         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11927         * plugins/elements/gstfakesink.h:
11928         Do less useless typechecking.
11929
11930 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11931
11932         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11933           Do not use mmap() by default since there are a number of error
11934           conditions that we would like to handle in a non-fatal way that
11935           will result in a SIGBUS if we use mmap(). Examples: external
11936           devices (USB harddrive, portable music player) being unplugged
11937           while in use; file on mounted CD/DVD that can't be read because
11938           the medium is partly damaged. Fixes #348455 and #348475.
11939
11940 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11941
11942         * gst/gstquery.h:
11943         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11944         rates are a gdouble
11945
11946 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11947
11948         * gst/gstregistry.c:
11949           Move big documentation comment into class section header, so that it
11950           appears in the API docs.
11951
11952 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11953
11954         * docs/gst/gstreamer-sections.txt:
11955         Oops. Commit the docs additions too for new API.
11956         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11957
11958 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11959
11960         * gst/gststructure.c: (gst_structure_id_set),
11961         (gst_structure_id_set_valist):
11962         * gst/gststructure.h:
11963         Add API for setting values into structures without performing
11964         a quark lookup, if the appropriate quark is already known.
11965
11966         API: gst_structure_id_set
11967         API: gst_structure_id_set_valist
11968
11969         * gst/parse/grammar.y:
11970         * gst/parse/parse.l:
11971         Remove some dead code shown by the coverage information.
11972         Don't throw a critical g_warning when encountering a syntax error,
11973         just warn and let the normal error path handle it.
11974
11975         * plugins/elements/gstelements.c:
11976         Bump the rank of filesink up to PRIMARY so that it is preferred over
11977         gnomevfssink for file:// sink uri's
11978
11979         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11980         (GST_START_TEST), (run_delayed_test),
11981         (gst_parse_test_element_base_init),
11982         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11983         (gst_parse_test_element_change_state),
11984         (gst_register_parse_element), (parse_suite):
11985         Beef up the tests for parse syntax to check that more error cases
11986         fail as they are supposed to. Increases the test coverage a bit.
11987
11988 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11989
11990         * docs/manual/basics-elements.xml:
11991           Fix gst_element_link() example.
11992
11993         * gst/gstutils.c:
11994           Mention in API docs that one should usually gst_bin_add()
11995           elements to a bin or pipeline before doing the linking.
11996           
11997 2006-07-26  Wim Taymans  <wim@fluendo.com>
11998
11999         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
12000         (gst_subbuffer_get_type), (gst_buffer_create_sub):
12001         Avoid function call for known types by keeping the buffer and
12002         subbuffer GType global.
12003
12004         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12005         Random silly optimisations in read() path.
12006
12007 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
12008
12009         * tools/gst-launch.c: (main):
12010           If the top-level of the parse is a normal bin, it doesn't do the
12011           right logic to run as a top-level element, so place it inside a
12012           pipeline.
12013
12014 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
12015
12016         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
12017           Remove superfluous g_object_notify() calls, GObject does
12018           that for us automatically.
12019
12020 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
12021
12022         * gst/gstinfo.h:
12023           on Win32, use dllspec to export the debug category symbols
12024
12025 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
12026
12027         * gst/gsttaglist.c: (_gst_tag_initialize):
12028           Allow more than one GST_TAG_IMAGE per taglist.
12029
12030 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12031
12032         * gst/gstminiobject.c:
12033           update docs
12034         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
12035         (gst_fd_src_create):
12036           log recurring events at LOG level
12037           add more debug for when the fd gets set
12038
12039 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
12040
12041         * gst/gstparse.c: (gst_parse_launch):
12042           Also remove reentrance checks if flex is MT safe (#348179)
12043          Fix my empty ChangeLog entry below
12044
12045 2006-07-21  Andy Wingo  <wingo@pobox.com>
12046
12047         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
12048
12049         * libs/gst/check/Makefile.am
12050         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
12051         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
12052         * libs/gst/check/gstbufferstraw.h:
12053         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
12054         functions, thus proving I am still a GStreamer haxor. OK I wrote
12055         them a long time ago, but anyways.
12056
12057 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
12058
12059         * configure.ac:
12060         * gst/gstparse.c: (gst_parse_launch):
12061           Check for flex version and omit mutex if we have a MT save flex
12062           (fixes #348179)
12063
12064 2006-07-21  Wim Taymans  <wim@fluendo.com>
12065
12066         * gst/gstparse.c: (gst_parse_launch):
12067         Protect recursive calls to _parse with a recursive mutex
12068         and busy flag.
12069
12070 2006-07-21  Wim Taymans  <wim@fluendo.com>
12071
12072         * tests/check/gst/gstpad.c: (GST_START_TEST):
12073         Fix leak in test.
12074
12075 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
12076
12077         * gst/gstparse.c: (gst_parse_launch):
12078           Do not hang on recursive usage of gst_parse_launch()
12079
12080 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
12081
12082         * gst/gsttaglist.c:
12083           Add some more docs, comments and FIXME 0.11s here and there
12084           and also fix some typos.
12085
12086 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
12087
12088         * gst/gstsegment.h:
12089           Convert tabs to spaces for better readability. 
12090
12091 2006-07-20  Edward Hervey  <edward@fluendo.com>
12092
12093         * tests/check/libs/gdp.c: (gst_dp_suite):
12094         the test_buffer test fails at line 140 on ppc64 at the following
12095         check:
12096         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
12097                 GST_BUFFER_FLAG_IN_CAPS),
12098                 "GST_BUFFER_IN_CAPS flag should have been copied !");
12099         See bug #348114 for more details.
12100
12101 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
12102
12103         * docs/pwg/advanced-scheduling.xml:
12104         * gst/gstpad.c:
12105           Fix typos (#348000).
12106
12107 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
12108
12109         * docs/pwg/intro-basics.xml:
12110           Fix wrong links (#347927).
12111
12112 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
12113
12114         * gst/gstregistry.h:
12115         * gst/gstregistryxml.c: (load_feature),
12116         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
12117         * win32/common/config.h:
12118           make --disable-index work (#342564)
12119
12120 2006-07-18  Wim Taymans  <wim@fluendo.com>
12121
12122         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12123
12124         * gst/Makefile.am:
12125         * gst/gsttrace.h:
12126         The attached patch adds two missing defines to gsttrace.h when tracing
12127         is disabled.  It also corrects one existing define.
12128         Fixes #347756.
12129
12130 2006-07-17  Wim Taymans  <wim@fluendo.com>
12131
12132         * docs/gst/gstreamer-sections.txt:
12133         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
12134         * gst/gst.h:
12135         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
12136         Add two functions to check and change the SIGSEGV behaviour
12137         when loading plugins.
12138         Don't mess with the SIGSEGV handler when we were told not to.
12139         Fixes #347794.
12140         API: gst_segtrap_is_enabled
12141         API: gst_segtrap_set_enabled
12142
12143 2006-07-14  Wim Taymans  <wim@fluendo.com>
12144
12145         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12146         * tests/check/elements/filesrc.c: (GST_START_TEST):
12147         Revert fix for regression in #347408 after release.
12148
12149 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
12150
12151         Patch by: Antoine Tremblay <hexa00 at gmail com>
12152
12153         * gst/gstutils.c: (gst_element_unlink):
12154           Free iterator when done (#347311).
12155
12156         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12157           And add a test case for this.
12158
12159 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
12160
12161         * configure.ac:
12162         Bump nano back to CVS
12163
12164 === release 0.10.9 ===
12165
12166 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
12167
12168         * configure.ac:
12169           releasing 0.10.9, "On the road again"
12170
12171 2006-07-13  Wim Taymans  <wim@fluendo.com>
12172
12173         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12174         * tests/check/elements/filesrc.c: (GST_START_TEST):
12175         Revert pull-0 fix for release. Disable check. Fixes #347408.
12176
12177 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12178
12179         * libs/gst/dataprotocol/dataprotocol.c:
12180         (gst_dp_event_from_packet_1_0):
12181           Fixes #347337: failure to deserialize event packets with
12182           empty payload (only event type)
12183
12184 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12185
12186         * gst/Makefile.am:
12187           do not install a .c file in the header directory
12188
12189 2006-07-13  Edward Hervey  <edward@fluendo.com>
12190
12191         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12192         GhostPad no longer implicitely use the padtemplates of the targets.
12193         Fixes #347384
12194
12195 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
12196
12197         * gst/gstvalue.c: (gst_value_compare_list),
12198         (gst_value_compare_array), (_gst_value_initialize):
12199         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12200         Make GstValueArray comparison be order dependent as designed.
12201         Add checks for value lists and value array comparisons.
12202         Fixes #347221
12203
12204 2006-07-11  Edward Hervey  <edward@fluendo.com>
12205
12206         * gst/gstbin.c: (activate_pads),
12207         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
12208         (gst_bin_change_state_func):
12209         (de)activate src pads before calling state_change on the childs.
12210         This is to avoid the case where a src ghostpad is blocked (holding the
12211         stream lock), which would block the deactivation of the ghostpad's
12212         target pad.
12213         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
12214         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
12215         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
12216         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12217         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12218         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12219         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12220         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
12221         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
12222         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12223         (gst_ghost_pad_class_init),
12224         (gst_ghost_pad_internal_do_activate_push),
12225         (gst_ghost_pad_internal_do_activate_pull),
12226         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12227         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12228         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
12229         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
12230         GhostPads now create their internal GstProxyPad at creation (and not
12231         when they're linked, as it was being done previously).
12232         The internal and target pads are linked straight away.
12233         The data will also travel through the other pad in order to make
12234         pad blocking and probes non-hackish (the probe/block now really happens
12235         on the GhostPad and not on the target).
12236         * gst/gstpad.c: (gst_pad_set_blocked_async),
12237         (gst_pad_link_prepare), (gst_pad_push_event):
12238         Remove previous ghostpad cruft.
12239         * gst/gstutils.c: (gst_pad_add_data_probe),
12240         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12241         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12242         (gst_pad_remove_buffer_probe):
12243         Remove previous ghost pad cruft.
12244         Added more detailed debug statements.
12245         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12246         Fix the testsuite for refcounting changes.
12247         The comments about who has references were correct, but the refcount
12248         being checked wasn't the same (!?!).
12249
12250         Fixes #341029
12251
12252 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
12253
12254         * docs/gst/gstreamer-sections.txt:
12255         * gst/gstconfig.h.in:
12256         More docs for configuration options, add docs to gtk-doc.
12257
12258 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
12259
12260         * gst/Makefile.am:
12261         * gst/gstconfig.h.in:
12262         * win32/common/config.h:
12263         Fix build when disabling tracing (fixes #344016). Also start to document
12264         the defines that disable the sub-systems.
12265
12266 2006-07-10  Edward Hervey  <edward@fluendo.com>
12267
12268         * gst/gst.c: (ensure_current_registry_forking):
12269         let's make valgrind happy...
12270
12271 2006-07-09  Wim Taymans  <wim@fluendo.com>
12272
12273         * gst/gstelement.c: (activate_pads),
12274         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12275         Better pad activation code: Reset the collect value too on resync.
12276         Add some comments.
12277
12278 2006-07-09  Wim Taymans  <wim@fluendo.com>
12279
12280         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12281         (gst_pad_activate_push):
12282         Use some more macros where it makes sense.
12283         Allow pad mode switching instead of asserting. When a pad
12284         is activated in one mode and we activate it in another, 
12285         deactivate it first before activating it in a different mode.
12286         Fixes #329198.
12287
12288 2006-07-08  Andy Wingo  <wingo@pobox.com>
12289
12290         * tools/gst-launch.c (main): Handle err == NULL.
12291
12292         * gst/gst.c (init_post, ensure_current_registry)
12293         (ensure_current_registry_forking)
12294         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12295         factoring out the registry scanning into separate functions. Don't
12296         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12297         Better environment var name/interface suggestions accepted.
12298
12299 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12300
12301         * gst/gstobject.c: (gst_object_set_name_default),
12302         (gst_object_set_name):
12303           Random micro-optimisation: don't use a hash table
12304           with strings as keys and the usual strdup/strcmp
12305           involved, but rather just use the GQuark of the
12306           type name as key, since it needs to be looked up
12307           anyway to get the type name string.
12308
12309         * tests/check/gst/gstobject.c: (GST_START_TEST):
12310           Fix various leaks.
12311
12312 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12313
12314         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12315         (gst_bin_iterate_all_by_interface):
12316           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12317           GTypes are gulongs and thus the top 4 bytes might be cut
12318           off on some platforms when doing GPOINTER_TO_INT, leading
12319           to invalid GTypes and bad things happening (see RH bug #179654).
12320           Also add a check to make sure the type passed in is really
12321           an interface type.
12322
12323 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12324
12325         * .cvsignore:
12326           Ignore more.
12327
12328 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12329
12330         * Makefile.am:
12331         * configure.ac:
12332         * gst-element-check.m4:
12333         * gst-element-check.m4.in:
12334           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12335           instead of the unversioned gst-inspect (#324176, #168659).
12336
12337 2006-07-06  Wim Taymans  <wim@fluendo.com>
12338
12339         * gst/gstmessage.h:
12340         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12341         warnings.
12342
12343 2006-07-06  Wim Taymans  <wim@fluendo.com>
12344
12345         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12346         (gst_base_src_wait), (gst_base_src_update_length),
12347         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12348         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12349         (gst_base_src_loop), (gst_base_src_start),
12350         (gst_base_src_activate_pull):
12351         Update docs.
12352         blocksize == 0 now means the default blocksize when working in push
12353         based mode.
12354         Remove some pointless asserts in _wait function.
12355         Fix offset/length calculations and EOS handling. We can now pull 0
12356         bytes as well, which is allowed.
12357         use _check_get_range() to decide if we can operate in _pull based
12358         mode.
12359         Fix refcounting leak when check_get_range function was not 
12360         implemented.
12361         API GstBaseSrc::blocksize range can be 0 too now (default)
12362
12363         * tests/check/elements/filesrc.c: (GST_START_TEST),
12364         (filesrc_suite):
12365         Added check to test _get_range() behaviour.
12366
12367 2006-07-06  Wim Taymans  <wim@fluendo.com>
12368
12369         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12370         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12371         (gst_pad_pull_range):
12372         * gst/gstpad.h:
12373         Lots of comments and docs added to the pad functions.
12374         Flesh out the expected behaviour of the get_range() functions.
12375
12376 2006-07-06  Wim Taymans  <wim@fluendo.com>
12377
12378         * gst/gstbus.h:
12379         * gst/gstclock.h:
12380         * gst/gstevent.h:
12381         * gst/gstiterator.h:
12382         * gst/gstpad.h:
12383         * gst/gstplugin.h:
12384         * gst/gsttask.h:
12385         Remove comma at end of enumerator list. 
12386
12387 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
12388
12389         * win32/common/libgstbase.def:
12390         * win32/common/libgstdataprotocol.def:
12391         * win32/common/libsgtreamer.def:
12392         Add new exported functions.
12393
12394 2006-07-05  Wim Taymans  <wim@fluendo.com>
12395
12396         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12397         Add some more docs here and there.
12398
12399 2006-07-05  Wim Taymans  <wim@fluendo.com>
12400
12401         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12402         (gst_base_sink_loop), (gst_base_sink_get_position):
12403         When operating in pull mode update the offset so that we
12404         read sequentially.
12405
12406 2006-07-05  Wim Taymans  <wim@fluendo.com>
12407
12408         * gst/gstregistryxml.c: (read_string):
12409         Avoid strdup. (will happen in libxml, but hey!)
12410
12411         * gst/gsturi.c:
12412         Add some more docs.
12413
12414 2006-07-05  Wim Taymans  <wim@fluendo.com>
12415
12416         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12417         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12418         (gst_buffer_suite):
12419         No point in checking if the size of the subbuffer > 0, the
12420         code handles it correclty as demonstrated by unit test.
12421         Also add a unit test for the zero sized _new_and_alloc and
12422         _copy. Fixes #346663.
12423
12424 2006-07-05  Wim Taymans  <wim@fluendo.com>
12425
12426         * libs/gst/base/gstbasetransform.c:
12427         (gst_base_transform_prepare_output_buffer),
12428         (gst_base_transform_buffer_alloc),
12429         (gst_base_transform_handle_buffer):
12430         Make sure the buffer we pass to transform_ip has a refcount of
12431         1 and thus is writable. Fixes #343196
12432
12433 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
12434
12435         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12436         (gst_file_src_init), (gst_file_src_set_property),
12437         (gst_file_src_get_property), (gst_file_src_map_region):
12438         * plugins/elements/gstfilesrc.h:
12439         Add "sequential" property, off by default, to use madvise and hint
12440         to the kernel that sequential access is desired.
12441         Touch all retrieved pages by default to ensure they are pulled
12442         into memory. (Closes #345720)
12443
12444 2006-07-03  Wim Taymans  <wim@fluendo.com>
12445
12446         * docs/design/part-block.txt:
12447         * docs/design/part-dynamic.txt:
12448         Small docs updates.
12449
12450 2006-07-03  Wim Taymans  <wim@fluendo.com>
12451
12452         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12453         (gst_caps_unref), (gst_static_caps_get),
12454         (gst_caps_append_structure):
12455         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12456         Use GSlice when the glib we build against is >= 2.10
12457
12458 2006-07-03  Wim Taymans  <wim@fluendo.com>
12459
12460         * gst/gstelement.c: (gst_element_pads_activate):
12461         Small cleanup in pad activation code.
12462
12463 2006-07-03  Wim Taymans  <wim@fluendo.com>
12464
12465         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12466
12467         * gst/gst-i18n-app.h:
12468         * gst/gst-i18n-lib.h:
12469         * tools/gst-inspect.c: (print_signal_info):
12470         The attached patch will make the inclusion of gettext.h unconditional in
12471         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12472         libintl.h in tools/gst-inspect.c.
12473         This allows use of --disable-nls again and fixes #344642.
12474
12475 2006-07-03  Edward Hervey  <edward@fluendo.com>
12476
12477         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12478         Implement pad blocking on events according to part-block.txt.
12479         More comments on behaviour.
12480         * tests/check/gst/gstevent.c: (test_event):
12481         Send event to peer pad of blocked pad (else it will block).
12482
12483 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12484
12485         * libs/gst/check/gstcheck.c: (gst_check_message_error),
12486         (gst_check_run_suite):
12487           if we get the wrong message, give us the types as string
12488         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12489           Fix a translatable
12490         * tests/check/elements/filesrc.c: (GST_START_TEST):
12491           add a test for trying to open a non-existing file
12492
12493 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12494
12495         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12496           add a test for adding self
12497
12498 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12499
12500         * libs/gst/check/gstcheck.h:
12501           add some assert_ as alias for fail_unless_*
12502         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12503           increase test coverage
12504
12505 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12506
12507         * Makefile.am:
12508           include lcov.mak for lcov coverage generation
12509         * tools/Makefile.am:
12510           add to CLEANFILES
12511
12512 2006-07-02  Edward Hervey  <edward@fluendo.com>
12513
12514         * tests/check/elements/.cvsignore:
12515         moaping
12516
12517 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12518
12519         * configure.ac:
12520           don't set CFLAGS and friends for gcov, done from GST_GCOV now
12521         * tests/check/Makefile.am:
12522           clean up gcov files
12523
12524 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12525
12526         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12527           remove gst_caps_simplify; it was not declared and not used
12528           and deprecated in 0.8
12529
12530 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12531
12532         * docs/faq/gst-uninstalled:
12533           don't put empty paths on PYTHONPATH
12534         * docs/gst/gstreamer-sections.txt:
12535           remove some symbols that are not there
12536
12537 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12538
12539         * gst/gstcaps.c: (gst_caps_compare_structures):
12540           whitespace fixes
12541         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12542         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12543           add more tests
12544
12545 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12546
12547         * libs/gst/dataprotocol/Makefile.am:
12548           build dataprotocol test by linking to the lib, instead of
12549           compiling the source, so we get coverage
12550         * tests/check/Makefile.am:
12551         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12552         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12553           add a test for filesrc
12554
12555 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12556
12557         * tests/check/gst/gststructure.c: (GST_START_TEST),
12558         (gst_structure_suite):
12559           Push coverage from 59.04% to 70.00%
12560
12561 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12562
12563         * tests/check/Makefile.am:
12564           gst-inspect every element; this makes sure that we also get
12565           coverage on element's get/set functions
12566
12567 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12568
12569         * configure.ac:
12570           set CFLAGS and friends to -O0 if gcov is being used
12571           add GCOV LIBS
12572         * gst/Makefile.am:
12573         * libs/gst/base/Makefile.am:
12574         * libs/gst/check/Makefile.am:
12575         * libs/gst/controller/Makefile.am:
12576         * libs/gst/dataprotocol/Makefile.am:
12577         * libs/gst/net/Makefile.am:
12578         * plugins/elements/Makefile.am:
12579         * plugins/indexers/Makefile.am:
12580           add makefile rules to generate gcov data and clean up
12581         * tests/check/Makefile.am:
12582           add a coverage target that generates an html overview
12583           of coverage data
12584
12585 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12586
12587         * tests/check/elements/fakesink.c:
12588         * tests/check/elements/fakesrc.c:
12589         * tests/check/elements/fdsrc.c:
12590         * tests/check/elements/identity.c:
12591         * tests/check/generic/sinks.c: (gst_sinks_suite):
12592         * tests/check/generic/states.c:
12593         * tests/check/gst/gst.c:
12594         * tests/check/gst/gstabi.c:
12595         * tests/check/gst/gstbin.c:
12596         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12597         * tests/check/gst/gstbus.c: (gst_bus_suite):
12598         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12599         * tests/check/gst/gstelement.c:
12600         * tests/check/gst/gstevent.c: (gst_event_suite):
12601         * tests/check/gst/gstghostpad.c:
12602         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12603         * tests/check/gst/gstmessage.c: (gst_message_suite):
12604         * tests/check/gst/gstminiobject.c:
12605         * tests/check/gst/gstobject.c:
12606         * tests/check/gst/gstpad.c:
12607         * tests/check/gst/gstpipeline.c:
12608         * tests/check/gst/gstplugin.c:
12609         * tests/check/gst/gstquery.c: (gst_query_suite):
12610         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12611         * tests/check/gst/gststructure.c:
12612         * tests/check/gst/gstsystemclock.c:
12613         * tests/check/gst/gsttag.c:
12614         * tests/check/gst/gsttask.c: (gst_task_suite):
12615         * tests/check/gst/gstutils.c:
12616         * tests/check/gst/gstvalue.c:
12617         * tests/check/libs/adapter.c:
12618         * tests/check/libs/basesrc.c:
12619         * tests/check/libs/collectpads.c:
12620         * tests/check/libs/controller.c:
12621         * tests/check/libs/gdp.c: (gst_dp_suite):
12622         * tests/check/libs/gstnetclientclock.c:
12623         * tests/check/libs/gstnettimeprovider.c:
12624         * tests/check/libs/libsabi.c: (libsabi_suite):
12625         * tests/check/libs/typefindhelper.c:
12626         * tests/check/pipelines/cleanup.c:
12627         * tests/check/pipelines/parse-launch.c:
12628         * tests/check/pipelines/simple-launch-lines.c:
12629         * tests/check/pipelines/stress.c: (stress_suite):
12630           use the new macro
12631
12632 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12633
12634         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12635         * libs/gst/check/gstcheck.h:
12636           create a macro and function so that the simple unit test
12637           case can be just one macro to create main()
12638
12639 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12640
12641         * gst/gstbin.c: (gst_bin_restore_thyself):
12642         * gst/gstxml.c: (gst_xml_make_element):
12643           Fix deserialisation from XML. Set parent manually
12644           instead of using gst_bin_add(), since gst_bin_add()
12645           will unlink all pads of the element being added.
12646           Fixes #341667.
12647
12648 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12649
12650         Patch by: Peter Kjellerstedt <pkj at axis com>
12651
12652         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12653           Fix missing g_strdup() and double free when using the
12654           --gst-plugin-load command line option (#346097).
12655
12656 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12657
12658         * gst/gstinfo.c:
12659           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12660
12661         * libs/gst/net/gstnetclientclock.c:
12662         * libs/gst/net/gstnettimeprovider.c:
12663           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12664
12665 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12666
12667         * docs/manual/advanced-dataaccess.xml:
12668           Fix buffer probe example compilation in
12669           ADM (#345708).
12670         
12671 2006-06-22  Edward Hervey  <edward@fluendo.com>
12672
12673         * gst/gstelement.c: (gst_element_pads_activate):
12674         We need to deactivate src pads first and then sink pads.
12675         The reason is the src pads might be blocking while holding the streaming
12676         lock, so we need to deactivate them first so that deactivating the sink
12677         pads doesn't block (since it will require the streaming lock).
12678
12679 2006-06-22  Wim Taymans  <wim@fluendo.com>
12680
12681         * libs/gst/base/gstbasetransform.c:
12682         (gst_base_transform_buffer_alloc):
12683         Forgot to remove two unneeded unrefs.
12684         Simplify a check _is_equal allready checks the obvious case.
12685
12686 2006-06-22  Wim Taymans  <wim@fluendo.com>
12687
12688         * docs/design/part-block.txt:
12689         Some docs about what pad_block should do.
12690
12691 2006-06-22  Wim Taymans  <wim@fluendo.com>
12692
12693         * gst/gstcaps.c: (gst_caps_replace):
12694         Fix crasher when passed NULL. Doc clarification.
12695         Optimize for the trivial case.
12696
12697         * gst/gstpipeline.c: (gst_pipeline_change_state):
12698         Small cleanups.
12699
12700         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12701         Small documentation cleanup.
12702
12703         * libs/gst/base/gstbasetransform.c:
12704         (gst_base_transform_buffer_alloc):
12705         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12706         is what we need and it avoids a whole lot of redundant 
12707         refcount operations.
12708
12709 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12710
12711         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12712
12713         * docs/manual/advanced-dataaccess.xml:
12714           Fix 'Embedding static elements' section to use
12715           GST_PLUGIN_DEFINE_STATIC (#345607).
12716
12717 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12718
12719         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12720           Attempt to 'fix' spuriously failing test case: it seems like the
12721           timeout of half a second is simply too small when the system is under
12722           load otherwise, and the timeout doesn't really seem to serve any
12723           particular purpose here. Give the pipeline a few seconds to preroll
12724           first, and then give it another half a second to go from PAUSED to
12725           PLAYING and marshal the message into the main thread.
12726
12727 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12728
12729         * tools/gst-feedback-m.m:
12730           Don't only use unversioned tools, try versioned tools as well
12731           (#345086).
12732
12733 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12734
12735         * gst/gstbus.c: (gst_bus_class_init):
12736           Fix some typos, make docs more explicit.
12737
12738 2006-06-20  Wim Taymans  <wim@fluendo.com>
12739
12740         * tests/check/gst/gstghostpad.c: (block_callback),
12741         (GST_START_TEST), (gst_ghost_pad_suite):
12742         Added some more ghostpad tests, mainly blocking
12743         and probes.
12744
12745 2006-06-16  Wim Taymans  <wim@fluendo.com>
12746
12747         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12748         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12749         (gst_file_sink_event), (gst_file_sink_render):
12750         * plugins/elements/gstfilesink.h:
12751         Check if we can seek in the file instead of assuming
12752         we always can. Post an error when we are asked to seek in a
12753         non-seekable file (like a fifo). Fixes #343312.
12754         Some cleanups.
12755
12756 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12757
12758         * tools/gst-launch.1.in:
12759           Un-garble (fourcc) bit in filtered caps section.
12760
12761 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12762
12763         * docs/manual/advanced-autoplugging.xml:
12764         * docs/manual/basics-helloworld.xml:
12765         * docs/manual/highlevel-components.xml:
12766           Don't leak bus reference in sample code.
12767
12768 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12769
12770         * autogen.sh:
12771           Add default for new --enable-plugin-docs switch.
12772
12773         * configure.ac:
12774           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12775           Fixes #344039.
12776
12777         * docs/Makefile.am:
12778           Use new ENABLE_PLUGIN_DOCS conditional.
12779
12780 2006-06-14  Wim Taymans  <wim@fluendo.com>
12781
12782         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12783         Make it clear with a FIXME and a real define what the #if 0
12784         previously disabled.
12785
12786 2006-06-14  Wim Taymans  <wim@fluendo.com>
12787
12788         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12789         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12790         * libs/gst/base/gstbasetransform.c:
12791         (gst_base_transform_sink_eventfunc):
12792         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12793         Don't randomly and silently reset a segment when the format 
12794         changes as this is a bug somewhere upstream. Fixes #330379.
12795
12796 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12797
12798         Patch by: Wouter Paesen  <wouter at kangaroot net>
12799
12800         * libs/gst/controller/gstcontroller.c:
12801         (gst_controlled_property_new):
12802           Fix controlling of float properties (#344849).
12803
12804         * tests/check/libs/controller.c:
12805         (gst_test_mono_source_get_property),
12806         (gst_test_mono_source_set_property),
12807         (gst_test_mono_source_class_init), (GST_START_TEST):
12808           While we're at it, add some float stuff to unit test.
12809
12810 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12811
12812         * docs/README:
12813         * docs/images/gdp-header.svg:
12814           add a gdp image
12815         * docs/libs/Makefile.am:
12816         * docs/libs/gdp-header.png:
12817         * libs/gst/dataprotocol/dataprotocol.c:
12818           add it to the API docs
12819         * docs/manual/intro-motivation.xml:
12820           fix typo
12821
12822 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12823
12824         * gst/gst.c: (scan_and_update_registry), (init_post):
12825           If the fork()'ed child process can't write the updated registry cache
12826           file to disk for some reason, make it exit with a failure exit code,
12827           so that the parent can then re-scan the plugins itself and update the
12828           registry structures in memory and work with that (rather than failing
12829           when creating elements because seemingly no plugins are available).
12830           Refactor registry scanning code into separate function for this and
12831           also separate fork() and non-fork() code paths. Fixes #344748.
12832
12833 2006-06-13  Wim Taymans  <wim@fluendo.com>
12834
12835         * docs/manual/advanced-dataaccess.xml:
12836         Fix wrong PluginDesc. Fixes #344755.
12837
12838 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12839
12840         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12841           Fix silly bug that prevented us from creating
12842           ~/.gstreamer-0.10 and writing the registry in one
12843           go (the first call to g_mkstemp() would overwrite the
12844           placeholder in the template string, so the second call
12845           to g_mkstemp() after creating the missing directory
12846           would then error out with 'invalid argument').
12847
12848 2006-06-13  Edward Hervey  <edward@fluendo.com>
12849
12850         * gst/gst.c: (init_post):
12851         Free string.
12852
12853 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12854
12855         * gst/glib-compat-private.h:
12856         * gst/glib-compat.c:
12857         * gst/glib-compat.h:
12858         * gst/gstvalue.c: (gst_value_serialize_flags):
12859           remove GLib 2.6 compatibility code
12860
12861 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12862
12863         * gst/parse/Makefile.am:
12864           Fix build with 'make -j N' even more (#340016).
12865
12866 2006-06-12  Wim Taymans  <wim@fluendo.com>
12867
12868         * docs/gst/gstreamer-sections.txt:
12869         Fix docs.
12870
12871 2006-06-12  Wim Taymans  <wim@fluendo.com>
12872
12873         * gst/gstsegment.c: (gst_segment_set_duration),
12874         (gst_segment_set_last_stop), (gst_segment_set_seek),
12875         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12876         (gst_segment_to_running_time), (gst_segment_clip):
12877         Use G_UNLIKELY to help the compiler a bit.
12878
12879 2006-06-12  Wim Taymans  <wim@fluendo.com>
12880
12881         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12882
12883         * gst/gstevent.c: (gst_event_get_type):
12884         * gst/gstmessage.c:
12885         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12886         (gst_pad_push):
12887         constify quark registration strings. Fixes #344115
12888         Avoid unneeded type checking is _pad_push() by internally
12889         calling gst_pad_chain_unchecked().
12890
12891 2006-06-12  Wim Taymans  <wim@fluendo.com>
12892
12893         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12894         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12895         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12896         (gst_buffer_is_span_fast), (gst_buffer_span):
12897         Init _type for consistency.
12898         Use _FLAGS macro to avoid type check.
12899         Avoid unneeded type checks in subbufer code.
12900
12901 2006-06-12  Wim Taymans  <wim@fluendo.com>
12902
12903         * gst/gst.c: (gst_debug_help):
12904         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12905         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12906         (gst_plugin_feature_list_free):
12907         * gst/gstregistry.c: (gst_registry_add_plugin),
12908         (gst_registry_add_feature), (gst_registry_plugin_filter),
12909         (gst_registry_feature_filter), (gst_registry_find_plugin),
12910         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12911         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12912         * gst/gstregistryxml.c: (load_feature),
12913         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12914         * gst/gstminiobject.c: (gst_mini_object_unref),
12915         (gst_mini_object_replace), (gst_value_mini_object_free),
12916         (gst_value_mini_object_copy):
12917         Use _CAST macros to avoid unneeded type checking.
12918         Added some more G_UNLIKELY.
12919
12920 2006-06-12  Wim Taymans  <wim@fluendo.com>
12921
12922         * gst/gstbuffer.h:
12923         Avoid unneeded type checking.
12924         API: GST_BUFFER_IS_DISCONT
12925
12926         * gst/gstminiobject.h:
12927         Avoid type check in flag accessor.
12928
12929         * gst/gstelementfactory.h:
12930         * gst/gstplugin.h:
12931         * gst/gstpluginfeature.h:
12932         Add _CAST macros.
12933         API: GST_ELEMENT_FACTORY_CAST
12934         API: GST_PLUGIN_CAST
12935         API: GST_PLUGIN_FEATURE_CAST
12936
12937 2006-06-12  Wim Taymans  <wim@fluendo.com>
12938
12939         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12940         (gst_object_unref):
12941         Add G_UNLIKELY in type registration.
12942         Avoid type check in _ref/_unref since that is also
12943         done in glib.
12944
12945 2006-06-12  Wim Taymans  <wim@fluendo.com>
12946
12947         * gst/gsterror.c: (gst_g_error_get_type):
12948         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12949         (gst_static_pad_template_get_type):
12950         * gst/gsttaglist.c: (gst_tag_list_get_type):
12951         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12952         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12953         * gst/gsturi.c: (gst_uri_handler_get_type):
12954         * gst/gstvalue.c: (gst_date_get_type):
12955         * gst/gstxml.c: (gst_xml_get_type):
12956         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12957         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12958         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12959         Add G_UNLIKELY in type registration.
12960
12961 2006-06-12  Wim Taymans  <wim@fluendo.com>
12962
12963         * tools/gst-inspect.c: (print_signal_info):
12964         Properly print enum values.
12965
12966 2006-06-12  Wim Taymans  <wim@fluendo.com>
12967
12968         * gst/gstinfo.c: (gst_debug_set_active),
12969         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12970         * gst/gstinfo.h:
12971         Add some G_[UN]LIKELY.
12972         Maintain __gst_debug_min to avoid formatting the arguments of
12973         debug messages that will be dropped anyway to avoid a lot of 
12974         overhead from the debugging system.
12975
12976 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12977
12978         * po/POTFILES.in:
12979         * po/POTFILES.skip:
12980           add missing files containing translatable strings, tell intltool about
12981           one exception
12982
12983 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12984
12985         * tests/check/libs/.cvsignore:
12986         add test-binary to ignore list
12987
12988 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12989
12990         * docs/libs/gstreamer-libs-docs.sgml:
12991         reorder (put dp into a chapter) and indent
12992
12993 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12994
12995         * configure.ac:
12996           back to HEAD
12997
12998 === release 0.10.8 ===
12999
13000 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
13001
13002         * configure.ac:
13003           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
13004
13005 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13006
13007         * gst/gst.c: (init_post):
13008           move pid declaration to declaration block
13009
13010 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13011
13012         * gst/gst.c: (init_post):
13013           use _exit() instead of exit() in our forked child; this ensures
13014           that none of the registered exit handlers from whatever is using
13015           GStreamer get executed.  This fixes gnome-mixer-applet failing
13016           to load, because ORBit would shut down.
13017           Spotted by: Edward Hervey  <edward@fluendo.com>
13018           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
13019           Fixes #344474
13020
13021 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13022
13023         * configure.ac:
13024           back to TRUNK
13025
13026 === release 0.10.7 ===
13027
13028 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
13029
13030         * configure.ac:
13031           releasing 0.10.7, "Soepeke, ik zie ou"
13032
13033 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13034
13035         * configure.ac:
13036         * po/af.po:
13037         * po/az.po:
13038         * po/bg.po:
13039         * po/ca.po:
13040         * po/cs.po:
13041         * po/de.po:
13042         * po/en_GB.po:
13043         * po/fr.po:
13044         * po/it.po:
13045         * po/nb.po:
13046         * po/nl.po:
13047         * po/ru.po:
13048         * po/sq.po:
13049         * po/sr.po:
13050         * po/sv.po:
13051         * po/tr.po:
13052         * po/uk.po:
13053         * po/vi.po:
13054         * po/zh_CN.po:
13055         * po/zh_TW.po:
13056         * win32/common/config.h:
13057           0.10.6.2 prerelease
13058
13059 2006-06-07  Wim Taymans  <wim@fluendo.com>
13060
13061         * gst/gstindex.c: (gst_index_gtype_resolver):
13062         * tools/gst-xmlinspect.c: (print_plugin_info):
13063         Fix leak spotted by coverity checker. Fixes #343827
13064         Fix another other leak found by paolo borelli.
13065
13066 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13067
13068         * libs/gst/dataprotocol/dataprotocol.c:
13069         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13070         (gst_dp_version_get_type), (gst_dp_init),
13071         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
13072         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
13073         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
13074         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
13075         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
13076         (gst_dp_packetizer_free):
13077         * libs/gst/dataprotocol/dataprotocol.h:
13078           API: add a GstDPPacketizer object, and create/free functions
13079           API: add GstDPVersion enum
13080           Add 1.0 event function that uses the string serialization
13081           Serialize more useful buffer flags
13082           Fixes #343988
13083
13084 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13085
13086         * tests/check/Makefile.am:
13087         * tests/check/gst/gstabi.c:
13088         * tests/check/gst/struct_ppc64.h:
13089         * tests/check/libs/libsabi.c:
13090         * tests/check/libs/struct_ppc64.h:
13091           add ppc64 structure sizes
13092
13093 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13094
13095         * tests/check/Makefile.am:
13096         * tests/check/gst/gstabi.c:
13097         * tests/check/gst/struct_x86_64.h:
13098         * tests/check/libs/libsabi.c:
13099         * tests/check/libs/struct_x86_64.h:
13100           generate and add structure size lists for x86_64
13101
13102 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13103
13104         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
13105         * libs/gst/check/gstcheck.h:
13106           factor out the method from tests that checks size of structures,
13107           and add code to generate the header containing these sizes
13108         * tests/check/gst/gstabi.c: (GST_START_TEST):
13109         * tests/check/gst/struct_i386.h:
13110         * tests/check/libs/libsabi.c: (GST_START_TEST):
13111         * tests/check/libs/struct_i386.h:
13112           use it
13113
13114 2006-06-06  Michael Smith  <msmith@fluendo.com>
13115
13116         * gst/gstsegment.h:
13117           Don't use c++-style comments, fixes #343929
13118
13119 2006-06-05  Edward Hervey  <edward@fluendo.com>
13120
13121         * gst/gst.c:
13122         plugin_paths is not used if we build without registry support.
13123
13124         * gst/gstsegment.c: (gst_segment_copy): 
13125         _copy() was always returning NULL...
13126
13127 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13128
13129         * libs/gst/dataprotocol/dataprotocol.c:
13130         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13131         (gst_dp_packet_from_event):
13132           factor out CRC code
13133
13134 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13135
13136         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
13137           make sure we unset caps
13138
13139 2006-06-02  Michael Smith  <msmith@fluendo.com>
13140
13141         * libs/gst/check/gstcheck.c: (gst_check_init),
13142         (gst_check_chain_func):
13143         * libs/gst/check/gstcheck.h:
13144           Add a cond/mutex to the check support lib, signal this whenever we
13145           add to the buffers list. This will allow tests to not busy-wait on
13146           the buffer-list.
13147
13148 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13149
13150         * libs/gst/dataprotocol/dataprotocol.c:
13151         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13152         (gst_dp_packet_from_event):
13153           factor out some common header init code
13154
13155 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13156
13157         * docs/libs/gstreamer-libs-sections.txt:
13158         * docs/libs/tmpl/gstdataprotocol.sgml:
13159         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
13160         * libs/gst/dataprotocol/dataprotocol.h:
13161           API: make gst_dp_crc() public
13162
13163 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
13164
13165         * plugins/indexers/gstindexers.c: (plugin_init):
13166         conditionally register fileindexer (fixes #343598)
13167
13168 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
13169
13170         * gst/gsttagsetter.h:
13171         Can't cast ifaces to a class
13172
13173         * libs/gst/net/gstnetclientclock.h:
13174         * libs/gst/net/gstnettimeprovider.h:
13175         * plugins/elements/gstfakesink.h:
13176         * plugins/elements/gstfakesrc.h:
13177         * plugins/elements/gstfdsink.h:
13178         * plugins/elements/gstfdsrc.h:
13179         * plugins/elements/gstfilesink.h:
13180         * plugins/elements/gstfilesrc.h:
13181         * plugins/elements/gstidentity.h:
13182         * plugins/elements/gstqueue.h:
13183         * plugins/elements/gsttee.h:
13184         * plugins/indexers/gstfileindex.c:
13185         * plugins/indexers/gstmemindex.c:
13186         * tests/old/examples/plugins/example.h:
13187         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
13188
13189 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13190
13191         * libs/gst/dataprotocol/dataprotocol.c:
13192         (gst_dp_header_from_buffer):
13193           make sure we zero the whole ABI-compatible area
13194
13195 2006-06-01  Wim Taymans  <wim@fluendo.com>
13196
13197         Patch by: Alessandro Decina <alessandro at nnva dot org>
13198
13199         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
13200         Make sure the EOS flag is cleared from pads after a flush
13201         or stop. Fixes #343538.
13202
13203         * tests/check/libs/collectpads.c: (GST_START_TEST),
13204         (gst_collect_pads_suite):
13205         Added test for collectpads reusage after EOS.
13206
13207 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
13208
13209         * gst/gst.c:
13210          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
13211         * win32/common/libgstbase.def:
13212          export gst_collect_pads_set_flushing
13213         * win32/common/libgstreamer.def:
13214          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
13215          gst_value_fraction_multiply
13216         * win32/vs6/gst_inspect.dsp:
13217          add a link to intl.lib
13218
13219 2006-05-30  Wim Taymans  <wim@fluendo.com>
13220
13221         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13222         (gst_collect_pads_chain):
13223         Handle the case where a pad is removed from the collection
13224         that could cause the other pads to become collectable.
13225
13226 2006-05-30  Wim Taymans  <wim@fluendo.com>
13227
13228         * gst/gstelement.c:
13229         Clarify the use of _release_request_pad() and
13230         _get_request_pad() a bit better.
13231
13232         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
13233         (gst_adapter_take_buffer):
13234         Fix some doc and comment typos.
13235
13236 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13237
13238         * docs/gst/gstreamer-sections.txt:
13239         * docs/libs/gstreamer-libs-sections.txt:
13240           add declared symbols
13241
13242 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
13243
13244         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13245         Add debug that can be enabled using a #define at the top of the file,
13246         for dumping stats about how late/early we were when waking up from
13247         waiting on the clock.
13248
13249 2006-05-30  Wim Taymans  <wim@fluendo.com>
13250
13251         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
13252         When rebuilding the pad list, don't leak the previous list.
13253
13254 2006-05-30  Wim Taymans  <wim@fluendo.com>
13255
13256         Patch by: Lutz Mueller <lutz at topfrose dot de>
13257
13258         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13259         (gst_base_src_get_query_types), (gst_base_src_update_length):
13260         Publish supported query types.
13261         Update last_stop field in get_range mode so the position
13262         query works. Fixes #342321.
13263
13264 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
13265
13266         * docs/gst/gstreamer-sections.txt:
13267         * gst/gsttaglist.c: (_gst_tag_initialize):
13268         * gst/gsttaglist.h:
13269           API: add GST_TAG_PREVIEW_IMAGE (#343341).
13270
13271 2006-05-30  Wim Taymans  <wim@fluendo.com>
13272
13273         Patch by: Alessandro Decina <alessandro at nnva dot org>
13274
13275         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13276         Unlock mutex when removing an unknown pad.
13277         Fixes #343334.
13278
13279         * tests/check/Makefile.am:
13280         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13281         (push_event), (setup), (teardown), (GST_START_TEST),
13282         (gst_collect_pads_suite), (main):
13283         Added collecpads check, disabled for now as check crashes for
13284         some reason.
13285
13286 2006-05-29  Wim Taymans  <wim@fluendo.com>
13287
13288         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13289         Don't leak pads lists.
13290
13291 2006-05-29  Wim Taymans  <wim@fluendo.com>
13292
13293         * docs/libs/gstreamer-libs-sections.txt:
13294         * libs/gst/base/gstcollectpads.c:
13295         (gst_collect_pads_set_flushing_unlocked),
13296         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13297         (gst_collect_pads_stop):
13298         * libs/gst/base/gstcollectpads.h:
13299         API: gst_collect_pads_set_flushing()
13300         Added api to set the pads to flushing, useful for seeking
13301         code in elements using collectpads.
13302         Clear segment when receiving a flush.
13303
13304 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
13305
13306         * gst/gst.c: (add_path_func), (init_post):
13307           Don't scan registry paths passed via --gst-plugin-path immediately
13308           (will crash, because absolutely nothing is set up and no types are
13309           registered etc.); do this later in init_post(). Fixes #343057.
13310
13311 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13312
13313         * gst/gst.c: (init_post):
13314           if we have fork, fork while reading/rebuilding the registry
13315           so the parent doesn't take the hit of having all plugins loaded
13316           in memory.  Fixes #342777.
13317         * configure.ac:
13318           Check if we have fork()
13319         * win32/common/config.h.in:
13320           no fork() on win32
13321
13322 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13323
13324         * plugins/elements/gstelements.c:
13325         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13326         (gst_file_src_init), (gst_file_src_set_property),
13327         (gst_file_src_get_property), (gst_file_src_start):
13328         * plugins/elements/gstfilesrc.h:
13329           API: GstFileSrc::use-mmap
13330
13331         Add a use-mmap property to enable easier testing of all code paths.
13332         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13333         in the absence of gnomevfssrc. (Closes #340501)
13334
13335 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13336
13337         * tools/gst-inspect.c:
13338         Add missing include, removes warning of ngettext not being defined on
13339         some arches.
13340
13341 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13342
13343         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13344         Handle NULL input and output pointers silently as a failed conversion,
13345         rather than g_warnings.
13346
13347 2006-05-25  Wim Taymans  <wim@fluendo.com>
13348
13349         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13350         Initialize variable before using. Fixes #342820.
13351
13352 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
13353
13354         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13355           Fix off-by-one bug that would only allow peeks of N-1 bytes
13356           from the start even if the buffer to typefind on contains
13357           in fact N bytes of data (makes vorbis typefinding from a
13358           vorbis identification header buffer work).
13359
13360         * tests/check/Makefile.am:
13361         * tests/check/libs/.cvsignore:
13362         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13363         (gst_typefindhelper_suite), (main), (foobar_typefind),
13364         (plugin_init):
13365           Add very basic unit test for gst_type_find_helper_for_buffer()
13366           that checks for the problem fixed above.
13367
13368 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13369
13370         * tools/gst-inspect.c: (print_interfaces),
13371         (print_element_properties_info), (print_element_list), (main):
13372           add more translatable strings
13373
13374 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
13375
13376         Patch by: Julien Moutte  <julien at moutte net>
13377
13378         * docs/gst/gstreamer-sections.txt:
13379           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13380           
13381         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13382         (gst_fake_sink_preroll):
13383         * plugins/elements/gstfakesink.h:
13384           API: Add new GstFakeSink::preroll-handoff signal (#337100).
13385
13386 2006-05-23  Wim Taymans  <wim@fluendo.com>
13387
13388         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13389         * gst/gstpad.h:
13390         Added _CUSTOM error and success GstFlowReturn that can be
13391         used be elements internally. 
13392         Added macro to check for SUCCESS flowreturns.
13393         API: GST_FLOW_CUSTOM_SUCCESS
13394         API: GST_FLOW_CUSTOM_ERROR
13395         API: GST_FLOW_IS_SUCCESS
13396
13397         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13398         Added check for GstFlowReturn sanity.
13399
13400 2006-05-23  Wim Taymans  <wim@fluendo.com>
13401
13402         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13403
13404         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13405         (gst_collect_pads_event):
13406         clear/reset segment info in FLUSH_STOP.
13407         Fixes #336929.
13408
13409 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
13410
13411         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13412         (gst_collect_pads_check_collected):
13413         Flush queued buffer on _stop(), fixes playing again (#342454)
13414
13415 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13416
13417         * tests/check/gst/gststructure.c: (GST_START_TEST),
13418         (gst_structure_suite):
13419           add a test for a complete structure
13420
13421 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13422
13423         * docs/faq/developing.xml:
13424         * docs/faq/faq.xml:
13425         * docs/faq/troubleshooting.xml:
13426         * docs/faq/using.xml:
13427           Some minor FAQ updates that won't change the fact that
13428           our FAQ is badly structured, full of information hardly
13429           anyone new to GStreamer needs to know and lacking lots
13430           of information people constantly ask for.
13431           
13432 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
13433
13434         * gst/gstpad.c: (gst_pad_set_caps):
13435           Short-circuit gst_pad_set_caps if setting the existing
13436           caps pointer again, and avoid printing debug and 
13437           reffing/unreffing the caps.
13438
13439         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13440           There's actually no need to set the caps before pushing -
13441           the acceptcaps method will handle it anyway.
13442
13443 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13444
13445         * docs/gst/gstreamer-sections.txt:
13446         * win32/common/libgstreamer.def:
13447         * gst/gstutils.c: (gst_element_seek_simple):
13448         * gst/gstutils.h:
13449           API: add gst_element_seek_simple() (#342238).
13450
13451 2006-05-18  Edward Hervey  <edward@fluendo.com>
13452
13453         * gst/gsttypefind.c: (gst_type_find_get_type):
13454         * gst/gsttypefind.h:
13455         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13456         registered for GstTypeFind pointers. This allows wrapping the structure
13457         in bindings (i.e. gst-python).
13458
13459 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13460
13461         * gst/gsttagsetter.c:
13462           Docs additions and fixes (see #339918).
13463
13464 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
13465
13466         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13467         The caps intersection algorithm can produce multiple copies of the
13468         caps. Until that is fixed, we need to simplify the result to be
13469         sure whether the allowed caps are fixed or not.
13470
13471         * plugins/elements/gstqueue.c: (gst_queue_init),
13472         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13473         (gst_queue_push_one):
13474         Proxied buffer alloc should not set the caps on the source pad.
13475         When pushing buffers, we always accept the caps change that triggers.
13476         This prevents negotiation errors caused by caps changing mid-stream 
13477         and then being refused on our source pad (because upstream is now
13478         refusing those caps).
13479
13480 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13481
13482         * tests/examples/helloworld/helloworld.c: (main):
13483           Must plug audioconvert and audioresample between decoder
13484           and audio sink.
13485
13486 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
13487
13488         * gst/gstregistryxml.c: (read_string), (load_pad_template),
13489         (load_feature), (load_plugin):
13490         Allow empty strings for some of the plugin fields so we don't 
13491         drop valid plugin entries that were written out correctly
13492         (Fixes #341479)
13493
13494 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
13495         
13496         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13497           Use g_remove and g_rename instead of remove and rename that don't 
13498           handle utf8 characters. rename was failing for users who had specific
13499           characters in their name then the registry was built at each 
13500           gstreamer init.
13501         * win32/vs6/gst_inspect.dsp:
13502         * win32/vs6/gst_launch.dsp:
13503         * win32/vs6/libgstbase.dsp:
13504         * win32/vs6/libgstcoreelements.dsp:
13505         * win32/vs6/libgstreamer.dsp:
13506           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
13507           build of libgstreamer and clean unused libraries in projects link 
13508           settings.
13509
13510 2006-05-17  Edward Hervey  <edward@fluendo.com>
13511
13512         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13513         The queue is not responsible for pushing an EOS when receiving a fatal
13514         flow error. It's up to the real element driving the pipeline to do that.
13515
13516 2006-05-16  Edward Hervey  <edward@fluendo.com>
13517
13518         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13519         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13520         buffer returned a fatal error. It should just send an EOS and stop
13521         its task.
13522         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13523         when pushing buffers on the queue and will be able to handle the event.
13524
13525 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
13526
13527         * docs/manual/basics-bins.xml:
13528         * docs/manual/basics-init.xml:
13529           Fix typos and minor errors in sample code (#341856).
13530
13531 2006-05-16  Wim Taymans  <wim@fluendo.com>
13532
13533         * docs/design/part-qos.txt:
13534         Fix indexes in formulas to make more sense.
13535
13536 2006-05-15  Wim Taymans  <wim@fluendo.com>
13537
13538         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13539         Don't report POSITION based on clock time if sync is
13540         disabled in a sink.
13541
13542 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
13543
13544         * gst/gstobject.h:
13545           Add cast to make compiler happy - refcount variable was a gint
13546           in GstObject but is a guint in GObject and g_atomic_int_get()
13547           wants a gint *.
13548
13549 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13550
13551         * gst/parse/Makefile.am:
13552           chain commands using &&, which also makes parallel make work
13553
13554 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
13555
13556         * docs/gst/gstreamer-sections.txt:
13557         * gst/gstevent.c:
13558         * gst/gstevent.h:
13559         * gst/gstmessage.h:
13560           Minor docs fixes.
13561
13562 === release 0.10.6 ===
13563
13564 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
13565
13566         * configure.ac:
13567           releasing 0.10.6, "Take the cannoli"
13568
13569 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13570
13571         * tools/gst-launch.c: (print_tag):
13572           Fix use of uninitialized variable in the hypothetical
13573           case that some broken plugin creates a GST_TAG_IMAGE
13574           tag containing a NULL buffer (#341667).
13575
13576 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13577
13578         * tools/gst-launch.c: (print_tag):
13579           Print something more intelligible for image tags when
13580           using the -t switch (#341556).
13581
13582 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13583
13584         * Makefile.am:
13585           updates for win32
13586         * configure.ac:
13587           define GST_MAJORMINOR so we have it available in win32/common/config.h
13588           Possibly remove it from our Makefile.am files later
13589         * win32/common/config.h:
13590         * win32/common/config.h.in:
13591           added GST_MAJORMINOR
13592         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13593         * win32/common/gstversion.h:
13594           updated
13595
13596 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13597
13598         * win32/MANIFEST:
13599           Update win32 files listing.
13600         * win32/common/gstversion.h:
13601           Add GST_MAJORMINOR definition.
13602         * win32/common/libgstreamer.def:
13603           Add new exported functions.
13604           
13605 2006-05-12  Michael Smith  <msmith@fluendo.com>
13606
13607         * gst/gstplugin.c: (gst_plugin_load_file):
13608           If an so file has no plugin entry point, unload the module.
13609
13610 2006-05-11  Wim Taymans  <wim@fluendo.com>
13611
13612         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13613         (gst_queue_set_property):
13614         Don't forget to signal the _chain or _loop function 
13615         when the queue size or thresholds change since that might
13616         cause them to make progres again.
13617
13618 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13619
13620         * gst/gstclock.c: (gst_clock_class_init):
13621         * gst/gstindex.c: (gst_index_class_init):
13622         * gst/gstobject.c: (gst_object_class_init):
13623         * gst/gstpad.c: (gst_pad_class_init):
13624         * gst/gstpipeline.c: (gst_pipeline_class_init):
13625         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13626         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13627         * libs/gst/base/gstbasetransform.c:
13628         (gst_base_transform_class_init):
13629         * libs/gst/net/gstnetclientclock.c:
13630         (gst_net_client_clock_class_init):
13631         * libs/gst/net/gstnettimeprovider.c:
13632         (gst_net_time_provider_class_init):
13633         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13634         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13635         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13636         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13637         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13638         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13639         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13640         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13641         * plugins/elements/gsttee.c: (gst_tee_class_init):
13642         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13643         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13644           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13645
13646 2006-05-11  Wim Taymans  <wim@fluendo.com>
13647
13648         * gst/gstbuffer.c: (_gst_buffer_initialize):
13649         Register subbufer along with the buffer type so that
13650         it does not accidentally gets registered from N
13651         different streaming threads in a non threadsafe way.
13652
13653 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13654
13655         * gst/gstbuffer.h:
13656         * gst/gstevent.h:
13657         * gst/gstmessage.h:
13658           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13659           gst_event_ref() and gst_message_ref() functions again
13660           (ugly hack, please do fix if there's a better way besides
13661           overrides.txt, which doesn't seem to work).
13662
13663 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13664
13665         * libs/gst/check/gstcheck.h:
13666           add an assert for setting state to avoid lots of repetitive code
13667           in the future
13668
13669 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13670
13671         * gst/gstvalue.c: (gst_value_serialize_flags):
13672           fix a leak if no flags are set
13673         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13674           fix leak in tests
13675
13676 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13677
13678         * docs/manual/basics-pads.xml:
13679           Expand a bit on caps and filtered links and update
13680           examples that were still using the no longer existing
13681           gst_pad_link_filtered() (#338206).
13682
13683 2006-05-10  Wim Taymans  <wim@fluendo.com>
13684
13685         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13686         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13687         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13688         (gst_collect_pads_stop):
13689         * libs/gst/base/gstcollectpads.h:
13690         No need to call _stop in _finalize.
13691         Iterate the main pad list in _finalize.
13692         Added some more debug.
13693         Free lists and data in the right order.
13694         Also free data whem doing _remove_pad when stopped for
13695         backward compatibility protect ::started with PAD_LOCK as
13696         well.
13697
13698 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13699
13700         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13701         (gst_structure_parse_value):
13702           add some comments
13703           rename a method so that it actually says what it does better
13704
13705 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13706
13707         * gst/gstevent.c: (_gst_event_initialize):
13708         * gst/gstformat.c: (_gst_format_initialize):
13709           make sure some essential types used by events are registered
13710           as part of gst_init()
13711         * gst/gstvalue.c: (gst_value_serialize_flags):
13712           if no flags are set, serialize them to a value that represents NONE
13713           so that deserializing them works
13714         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13715           add tests for serialization and deserialization of flags
13716
13717 2006-05-10  Wim Taymans  <wim@fluendo.com>
13718
13719         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13720         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13721         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13722         (gst_collect_pads_event), (gst_collect_pads_chain):
13723         Update docs.
13724         Better debug info.
13725         Catch and return errors from the collect function
13726         Refuse data on eos pads.
13727
13728 2006-05-10  Edward Hervey  <edward@fluendo.com>
13729
13730         * gst/gstinterface.h:
13731         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13732         GInterface type checking.
13733         They were previously using non-defined macros.
13734
13735 2006-05-09  Wim Taymans  <wim@fluendo.com>
13736
13737         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13738         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13739         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13740         (gst_collect_pads_start), (gst_collect_pads_stop),
13741         (gst_collect_pads_peek), (gst_collect_pads_pop),
13742         (gst_collect_pads_available), (gst_collect_pads_read),
13743         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13744         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13745         (gst_collect_pads_chain):
13746         * libs/gst/base/gstcollectpads.h:
13747         Clean up the mess that is collectpads, add comments and
13748         FIXMEs where needed.
13749         Maintain a separate pad list so we can add pads while
13750         collecting the other ones. For this we need a new separate 
13751         lock (see comics).
13752         Fix memory leak in finalize.
13753         Refactor some weird code to set/unset pad flushing flags, mark
13754         with comments.
13755         Don't crash in _available, _read, _flush when we're EOS.
13756
13757         * tests/check/libs/.cvsignore:
13758         Ignore adapter check binary.
13759
13760 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13761
13762         * gst/gstindex.c: (gst_index_resolver_get_type):
13763         * plugins/elements/gstfakesink.c:
13764         (gst_fake_sink_state_error_get_type):
13765         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13766         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13767         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13768           Const-ify GEnumValue arrays.
13769
13770 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13771
13772         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13773           Add test case for flags + gst_buffer_make_metadata_writable().
13774
13775 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13776
13777         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13778           gst_buffer_make_metadata_writable() should maintain the
13779           buffer flags (those that make sense at least) (see #340859).
13780
13781 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13782
13783         * tools/gst-inspect.c:
13784         * tools/gst-launch.c:
13785         * tools/gst-typefind.c:
13786         * tools/gst-xmlinspect.c:
13787         * tools/tools.h:
13788           Fix up includes: need to include stdlib.h in tools.h for exit().
13789
13790 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13791
13792         * gst/gsttaglist.c: (_gst_tag_initialize):
13793         * gst/gsttaglist.h:
13794           API: add GST_TAG_IMAGE tag (#340721).
13795
13796 2006-05-08  Wim Taymans  <wim@fluendo.com>
13797
13798         * gst/gstquery.c:
13799         Added some docs for the segment query.
13800
13801 2006-05-08  Wim Taymans  <wim@fluendo.com>
13802
13803         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13804         (gst_base_src_loop), (gst_base_src_change_state):
13805         Always push non-flushing serialized events in the streaming 
13806         thread.
13807
13808 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13809
13810         * gst/gsterror.c: (_gst_stream_errors_init):
13811           Add a missing error string.
13812
13813 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13814
13815         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13816         Add applied_rate to the debug
13817
13818         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13819         Copy applied_rate into the outgoing NEWSEGMENT event
13820
13821 2006-05-08  Wim Taymans  <wim@fluendo.com>
13822
13823         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13824
13825         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13826         (gst_base_sink_change_state):
13827         call ::unlock before taking the PREROLL_LOCK so we can safely
13828         handle elements that lock in ::render.
13829         Fixes #340174.
13830
13831 2006-05-08  Edward Hervey  <edward@fluendo.com>
13832
13833         * autogen.sh: (CONFIGURE_DEF_OPT): 
13834         Darwin's libtoolize is in fact called glibtoolize.
13835         Adding glibtoolize to the list of accepted names for libtoolize.
13836
13837 2006-05-08  Wim Taymans  <wim@fluendo.com>
13838
13839         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13840         Unify error handling, don't post an error message
13841         when a push() returns EOS but perform our normal EOS
13842         handling code. Fixes #340772.
13843
13844 2006-05-08  Wim Taymans  <wim@fluendo.com>
13845
13846         * docs/design/part-overview.txt:
13847         Make upsteam/downstream concepts more clear.
13848         Give an example of serialized/non-serialized events.
13849
13850         * docs/design/part-events.txt:
13851         * docs/design/part-streams.txt:
13852         Mention applied_rate.
13853
13854         * docs/design/part-trickmodes.txt:
13855         Mention applied rate, flesh out some more use cases.
13856
13857         * gst/gstevent.c: (gst_event_new_new_segment),
13858         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13859         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13860         (gst_event_parse_tag), (gst_event_new_buffer_size),
13861         (gst_event_parse_buffer_size), (gst_event_new_qos),
13862         (gst_event_parse_qos), (gst_event_parse_seek),
13863         (gst_event_new_navigation):
13864         * gst/gstevent.h:
13865         Add applied_rate field to NEWSEGMENT event.
13866         API: gst_event_new_new_segment_full()
13867         API: gst_event_parse_new_segment_full()
13868
13869         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13870         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13871         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13872         * gst/gstsegment.h:
13873         Add applied_rate to GstSegment structure.
13874         Make calculation of stream_time and running_time more correct
13875         wrt rate/applied_rate.
13876         Add some more docs.
13877         API: GstSegment::applied_rate field
13878         API: gst_segment_set_newsegment_full();
13879
13880         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13881         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13882         * libs/gst/base/gstbasetransform.c:
13883         (gst_base_transform_sink_eventfunc),
13884         (gst_base_transform_handle_buffer):
13885         Parse and use applied_rate in the GstSegment field.
13886
13887         * tests/check/gst/gstevent.c: (GST_START_TEST):
13888         Add check for applied_rate field.
13889
13890         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13891         (gstsegments_suite):
13892         Add more checks for various GstSegment operations.
13893
13894 2006-05-08  Wim Taymans  <wim@fluendo.com>
13895
13896         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13897         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13898         (gst_base_sink_get_position), (gst_base_sink_change_state):
13899         Store the sync time of the buffer end position separatly in a
13900         new variable eos_rtime so we can properly sync the EOS event.
13901         Fixes #340697.
13902         Fix the docs for gst_base_sink_set_qos_enabled().
13903         Don't set segment start to invalid value when we receive a 
13904         non TIME newsegment.
13905         get closer to handling position reporting for negative rates 
13906         correctly.
13907
13908 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13909
13910         * gst/gstcaps.c:
13911         Docs about how to print caps for debug purposes.
13912
13913         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13914         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13915
13916 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13917
13918         * gst/gstelement.c:
13919           use full enum names and preprend a '%' in docs strings to make recent 
13920           gtk-doc turn that into a link
13921
13922 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13923
13924         * docs/manual/basics-bins.xml:
13925         * docs/manual/basics-bus.xml:
13926         * docs/manual/basics-pads.xml:
13927           Some typo fixes, some additions, some clarifications. 
13928
13929 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13930
13931         * tools/gst-inspect.c: (main):
13932         * tools/gst-launch.c: (main):
13933         * tools/gst-run.c: (main):
13934         * tools/gst-typefind.c: (main):
13935         * tools/gst-xmlinspect.c: (main):
13936           Use the string passed to g_option_context_new() for
13937           what it's intended for - the program name is already
13938           printed elsewhere.
13939
13940 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13941
13942         * tools/Makefile.am:
13943         * tools/gst-inspect.c: (main):
13944         * tools/gst-launch.c: (main):
13945         * tools/gst-xmlinspect.c: (main):
13946         * tools/tools.h:
13947           Add back --version command line option (#340460).
13948
13949         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13950           Add --version option and use GOption for argument parsing; refactor a
13951           bit; accept directories as arguments and recurse into them; lastly,
13952           print a decent error message when things go wrong.
13953
13954 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13955
13956         * docs/manual/basics-bins.xml:
13957         Don't mention GstThread (#340611)
13958         * docs/manual/basics-elements.xml:
13959         Update link to GObject tutorial (#340607)
13960         
13961 2006-05-05  Wim Taymans  <wim@fluendo.com>
13962
13963         * gst/gstbuffer.h:
13964         * gst/gstminiobject.c:
13965         Add note about refcounting and miniobject/buffer writeability
13966         to docs. Fixes #340604
13967
13968         * gst/gstelementfactory.h:
13969         Added some explanation about @klass.
13970
13971 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13972
13973         * docs/manual/intro-motivation.xml:
13974         * docs/manual/manual.xml:
13975         Avoid CORBA & Bonobo references (#340598)
13976
13977 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13978
13979         * docs/manual/basics-bus.xml:
13980         * docs/manual/basics-pads.xml:
13981         Fix up some inaccuracies and omissions (#340609)
13982         
13983 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13984
13985         * gst/gstghostpad.c:
13986           Small typo in docs (#340625)
13987
13988 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13989
13990         * gst/parse/Makefile.am:
13991           Make 'make -j' proof (see #340698).
13992
13993 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13994
13995         * configure.ac:
13996           Require GLib-2.8 here as well.
13997
13998 2006-05-05  Wim Taymans  <wim@fluendo.com>
13999
14000         * gst/glib-compat.c:
14001         * gst/gst.c: (init_pre):
14002         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
14003         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
14004         (gst_object_dispatch_properties_changed):
14005         * gst/gstobject.h:
14006         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14007         * gst/gststructure.c: (gst_structure_set_valist):
14008         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14009         Remove pre glib2.8 compatibility, fixes #340508
14010
14011 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
14012
14013         * gst/gsttaglist.h:
14014           Mention type of tags in doc blurbs.
14015
14016 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
14017
14018         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14019         (gst_pad_configure_src), (gst_pad_push):
14020         Restore acceptcaps checking behaviour now that good plugins have
14021         been released.
14022
14023 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
14024
14025         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
14026
14027         * gst/gst.c:
14028         * gst/gstbus.c:
14029         * gst/gstclock.c:
14030         * gst/gstevent.c:
14031         * gst/gstformat.c:
14032         * gst/gstmessage.c:
14033         * gst/gstparse.c:
14034         * gst/gstquery.c:
14035         * gst/gstutils.c:
14036         * gst/parse/Makefile.am:
14037         * libs/gst/base/gstadapter.c:
14038         * libs/gst/base/gstbasesrc.c:
14039         * libs/gst/base/gstpushsrc.c:
14040         * libs/gst/base/gsttypefindhelper.c:
14041         * plugins/elements/gstfakesrc.c:
14042         * plugins/elements/gstidentity.c:
14043           Make sure gstprivate.h and/or config.h are
14044           always included first, otherwise some of our
14045           defines (like _FILE_OFFSET_BITS) might be
14046           redefined in the system headers. Fixes build
14047           on opensolaris (#340016).
14048
14049 2006-05-04  Wim Taymans  <wim@fluendo.com>
14050
14051         * docs/libs/gstreamer-libs-sections.txt:
14052         API: addition: gst_adapter_take_buffer()
14053         
14054         * libs/gst/base/gstadapter.c: (gst_adapter_push),
14055         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
14056         (gst_adapter_available_fast):
14057         * libs/gst/base/gstadapter.h:
14058         Prepare for optimizing the hell out of this hugely inefficient
14059         piece of code. 
14060         Added gst_adapter_take_buffer() so we can at least start thinking
14061         about subbuffering and merging.
14062         Added some comments.
14063
14064         * tests/check/Makefile.am:
14065         * tests/check/libs/adapter.c: (GST_START_TEST),
14066         (gst_adapter_suite), (main):
14067         Added GstAdapter check.
14068
14069 2006-05-04  Wim Taymans  <wim@fluendo.com>
14070
14071         * docs/design/part-overview.txt:
14072         Fix some typos, add blurb about buffer flags.
14073
14074 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14075
14076         * docs/libs/gstreamer-libs-sections.txt:
14077           make sure GstBaseTransformClass shows up in the docs
14078         * libs/gst/base/gstbasetransform.c:
14079         * libs/gst/base/gstbasetransform.h:
14080           move docs so gtk-doc picks it up now
14081
14082 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
14083
14084         * docs/libs/gstreamer-libs-sections.txt:
14085           add missing symbols to docs
14086
14087 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
14088
14089         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14090           back out the newsegment handling change, see #340060 for ongoing
14091           discussion
14092
14093 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
14094
14095         * tools/gst-run.c: (get_candidates), (main):
14096           Fix wrong g_file_test() usage (see glib docs for why it doesn't
14097           work); fix typo in error message. Fixes #340079.
14098
14099 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14100
14101         * common/Makefile.am:
14102         * docs/Makefile.am:
14103         * docs/faq/Makefile.am:
14104         * docs/gst/Makefile.am:
14105         * docs/libs/Makefile.am:
14106         * docs/manual/Makefile.am:
14107         * docs/plugins/Makefile.am:
14108         * docs/pwg/Makefile.am:
14109         * docs/slides/Makefile.am:
14110         * docs/upload.mak:
14111         * common/upload.mak:
14112           move upload.mak to common
14113
14114 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14115
14116         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14117           add more asserts on refcounts
14118           do more cleanup at end of tests
14119           fix test leaks showing in FC5
14120
14121 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
14122
14123         * plugins/elements/gsttypefindelement.c:
14124         (gst_type_find_element_handle_event):
14125         reverted wrong change and reflowed code to avoid others falling into
14126         this trap
14127
14128 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14129
14130         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14131           fix changelog entry about last collectpads change,
14132           add notes about proper fix
14133
14134 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14135
14136         * gst/gst.c:
14137         * gst/gstregistry.c: (gst_registry_scan_path_level),
14138         (gst_registry_scan_path):
14139         * gst/gstregistry.h:
14140           only write out registry if it has changed, fixes #338339
14141
14142 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14143
14144         * gst/gstbin.c:
14145         * gst/gstpipeline.c:
14146         * plugins/elements/gstcapsfilter.c:
14147         * plugins/elements/gstfakesink.c:
14148         * plugins/elements/gstfakesrc.c:
14149         * plugins/elements/gstfdsink.c:
14150         * plugins/elements/gstfdsrc.c:
14151         * plugins/elements/gstfilesink.c:
14152         * plugins/elements/gstfilesrc.c:
14153         * plugins/elements/gstidentity.c:
14154         * plugins/elements/gstqueue.c:
14155         * plugins/elements/gsttee.c:
14156         * plugins/elements/gsttypefindelement.c:
14157         (gst_type_find_element_handle_event):
14158           make GstElementDetails const
14159
14160 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14161
14162         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
14163         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14164         (gst_collect_pads_is_collected), (gst_collect_pads_event):
14165           more detailed debug and formatting cleanup,
14166           forward newsegments to src-pad (so that e.g. adder not eats them)
14167
14168 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14169
14170         * gst/gstutils.c: (gst_element_link_pads):
14171           cleanup double code
14172
14173 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14174
14175         * libs/gst/controller/gstcontroller.c:
14176         (gst_controller_sync_values):
14177           some little tuning
14178         * tests/check/libs/controller.c: (GST_START_TEST),
14179         (gst_controller_suite):
14180           a new test for live value handling
14181
14182 2006-04-28  Wim Taymans  <wim@fluendo.com>
14183
14184         * gst/gstutils.c: (push_and_ref):
14185         Added some more docs.
14186         Fix refcount issue whith gst_element_found_tags() helper 
14187         function. Fixes #338335
14188
14189         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14190         Added testsuite for gst_element_found_tags().
14191
14192 2006-04-28  Michael Smith  <msmith@fluendo.com>
14193
14194         * gst/gstvalue.c: (gst_value_serialize_flags):
14195           Avoid NULL dereference when trying to serialize flags containing
14196           invalid values.
14197
14198 2006-04-28  Michael Smith  <msmith@fluendo.com>
14199
14200         * plugins/elements/gsttypefindelement.c:
14201         (gst_type_find_element_handle_event):
14202           If we get EOS before any data is accumulated, don't use
14203           uninitialised local variables.
14204
14205 2006-04-28  Michael Smith  <msmith@fluendo.com>
14206
14207         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14208         (gst_dp_event_from_packet):
14209           Fixes in reading/writing events over GDP (not currently used?) - 
14210           dereferencing NULL events for unknown/invalid event types, memory
14211           leak, and change g_warning to GST_WARNING.
14212
14213 2006-04-28  Wim Taymans  <wim@fluendo.com>
14214
14215         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
14216         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14217         (gst_base_sink_get_position), (gst_base_sink_change_state):
14218         When frame dropping is enabled, we should not ignore frames
14219         without a duration.
14220         Update some documentation.
14221
14222 2006-04-28  Wim Taymans  <wim@fluendo.com>
14223
14224         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14225         (gst_base_src_send_event), (gst_base_src_change_state):
14226         Documentation updates.
14227
14228 2006-04-28  Wim Taymans  <wim@fluendo.com>
14229
14230         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
14231         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
14232         handle EAGAIN, EINTR and short writes correctly. Also clean
14233         up some error cases, avoid a deadlock on bad file descriptors and
14234         use GST_DEBUG_OBJECT.
14235         Fixes #339843
14236
14237 2006-04-28  Wim Taymans  <wim@fluendo.com>
14238
14239         * gst/gstvalue.c: (gst_value_serialize_buffer),
14240         (gst_value_deserialize_buffer):
14241         Don't try to serialize a GValue with a NULL buffer. 
14242         Fixes #339821.
14243
14244         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14245         Added check for serialisation of NULL buffers.
14246
14247 2006-04-28  Wim Taymans  <wim@fluendo.com>
14248
14249         * gst/gstminiobject.c: (gst_value_take_mini_object):
14250         Taking a NULL miniobject is valid, fix the case where
14251         we try to unref the NULL miniobject.
14252
14253 2006-04-28  Wim Taymans  <wim@fluendo.com>
14254
14255         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14256
14257         * gst/gstbin.c: (gst_bin_handle_message_func):
14258         Update docs.
14259         Don't leak bin refcount when a state recalc is
14260         in progress and we delay another one #339808.
14261
14262 2006-04-28  Wim Taymans  <wim@fluendo.com>
14263
14264         * docs/design/part-TODO.txt:
14265         Mention QoS as an ongoing work item.
14266
14267         * docs/design/part-buffering.txt:
14268         New doc about buffering that needs to be fleshed out
14269         at some point.
14270
14271         * docs/design/part-qos.txt:
14272         More QoS policy for decoders/demuxers/transforms
14273
14274         * docs/design/part-trickmodes.txt:
14275         Small update.
14276
14277 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14278
14279         * configure.ac:
14280           back to HEAD
14281
14282 === release 0.10.5 ===
14283
14284 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
14285
14286         * configure.ac:
14287           releasing 0.10.5, "Fogo"
14288
14289 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14290
14291         patch by: Wim Taymans
14292
14293         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14294         (gst_pad_configure_src), (gst_pad_push):
14295         * gst/gstpipeline.c: (gst_pipeline_init):
14296           Fix internal data flow errors.  Fixes #338711.
14297
14298 2006-04-12  Wim Taymans  <wim@fluendo.com>
14299
14300         * tests/check/gst/gstelement.c: (GST_START_TEST):
14301         Don't leak the factory.
14302
14303 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14304
14305         * configure.ac:
14306         * win32/common/config.h:
14307           prerelease
14308
14309 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
14310
14311         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14312         (gst_controller_unset_all):
14313           Free allocated GstTimedValues when freeing list nodes.
14314           Should fix leaks 'make check-valgrind' complains about.
14315
14316         * win32/common/libgstcontroller.def:
14317           Add gst_controller_unset_all.
14318
14319 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
14320
14321         * docs/libs/gstreamer-libs-sections.txt:
14322         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14323         (gst_controller_unset_all):
14324         * libs/gst/controller/gstcontroller.h:
14325         API: Added new method gst_controller_unset_all()
14326         fixed gst_controller_unset()
14327         * tests/check/libs/controller.c: (GST_START_TEST),
14328         (gst_controller_suite):
14329         Added two testcases for new and fixed method
14330
14331 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
14332
14333         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14334           MSG_DONTWAIT is not defined on Cygwin, so work
14335           around that (fixes #317048).
14336           
14337 2006-04-11  Wim Taymans  <wim@fluendo.com>
14338
14339         * gst/gstelementfactory.c: (gst_element_register),
14340         (gst_element_factory_create), (gst_element_factory_make):
14341         Some cleanups.
14342         Fixed a FIXME.
14343         Updated docs (Fixes #131079)
14344
14345         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14346         Small cleanups.
14347
14348         * tests/check/gst/gstelement.c: (GST_START_TEST),
14349         (gst_element_suite):
14350         Added testcase for elementfactory class field.
14351
14352 2006-04-10  Wim Taymans  <wim@fluendo.com>
14353
14354         * gst/gstsegment.c:
14355         Added some more docs.
14356
14357         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14358         (gst_base_sink_reset_qos):
14359         Calculate more accurate rate values.
14360
14361 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
14362
14363         * gst/gst_private.h:
14364           add a new #ifdef to use __declspec(dllimport) only for
14365           other modules and not for gstreamer core
14366         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14367           use gst_guint64_to_gdouble for conversion
14368         * win32/common/libgstreamer.def:
14369           add new exported functions
14370         * win32/vs6/gst_inspect.dsp:
14371         * win32/vs6/gst_launch.dsp:
14372         * win32/vs6/libgstbase.dsp:
14373         * win32/vs6/libgstcontroller.dsp:
14374         * win32/vs6/libgstcoreelements.dsp:
14375         * win32/vs6/libgstdataprotocol.dsp:
14376         * win32/vs6/libgstnet.dsp:
14377           update project files
14378
14379 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14380
14381         * gst/gstbuffer.c: (gst_subbuffer_class_init):
14382         * gst/gstclock.c: (gst_clock_class_init):
14383         * gst/gstelement.c: (gst_element_class_init):
14384         * gst/gstindex.c: (gst_index_class_init):
14385         * gst/gstindexfactory.c: (gst_index_factory_class_init):
14386         * gst/gstobject.c: (gst_object_class_init),
14387         (gst_signal_object_class_init):
14388         * gst/gstpad.c: (gst_pad_class_init):
14389         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14390         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14391         * gst/gstregistry.c: (gst_registry_class_init):
14392         * gst/gstsystemclock.c: (gst_system_clock_class_init):
14393         * gst/gsttask.c: (gst_task_class_init):
14394         * gst/gstxml.c: (gst_xml_class_init):
14395         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14396         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14397         (gst_base_src_loop):
14398         * libs/gst/controller/gstcontroller.c:/
14399         (_gst_controller_class_init):
14400         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14401         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14402         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14403         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14404         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14405         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14406
14407 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
14408
14409         * gst/gstpad.c: (gst_pad_link):
14410           Must set peer pads before calling the link function, otherwise
14411           a task started from a link function might get a flow-not-linked
14412           result when trying to push because the other thread where the
14413           linking happens hasn't had a chance to set the peers yet. This
14414           might happen for example when a queue gets linked to a downstream
14415           element, as queue starts a streaming task when its source pad
14416           gets linked. Happens in real life when playing back flac/musepack
14417           files in playbin (#332390).
14418           
14419 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14420
14421         * gst/gstindex.h:
14422         * gst/gstxml.h:
14423         * libs/gst/base/gstadapter.h:
14424         * libs/gst/base/gstbasesink.h:
14425         * libs/gst/base/gstbasesrc.h:
14426         * libs/gst/base/gstbasetransform.h:
14427         * libs/gst/base/gstcollectpads.h:
14428         * libs/gst/base/gstpushsrc.h:
14429         Fix broken GObject macros
14430
14431 2006-04-07  Wim Taymans  <wim@fluendo.com>
14432
14433         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14434         Initialize start and stop times, thanks valgrind.
14435
14436 2006-04-07  Wim Taymans  <wim@fluendo.com>
14437
14438         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14439         Be a bit nicer to badly behaving upstream elements that expect
14440         us to deal with non TIME segments and timestamps (such as fakesrc
14441         in the testsuite).
14442
14443 2006-04-07  Wim Taymans  <wim@fluendo.com>
14444
14445         * gst/gstbus.c:
14446         Small documentation clarification about the signal watch.
14447
14448         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14449         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14450         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14451         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14452         (gst_base_sink_get_position_last),
14453         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14454         Convert and store timestamps in stream time and running time, the
14455         raw timestamps are not useful, also document this better.
14456         Use different window sizes for good and bad QoS observations so
14457         we react to badness a little quicker.
14458         Keep track of the amount of rendered and dropped buffers.
14459         Send QoS timestamps in running time.
14460
14461         * libs/gst/base/gstbasetransform.c:
14462         (gst_base_transform_sink_eventfunc),
14463         (gst_base_transform_handle_buffer):
14464         Compare QoS timestamps against running time.
14465
14466 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14467
14468         * gst/gstpad.c:
14469           Typo fixes in docs.
14470
14471 2006-04-06  Michael Smith  <msmith@fluendo.com>
14472
14473         * gst/gstpad.c: (gst_pad_set_property):
14474           Use g_value_get_object() instead of g_value_dup_gst_object(),
14475           to avoid double-reffing the pad template (which we then sink,
14476           so this worked previously if (and only if) the pad template
14477           was floating.
14478
14479         * gst/gstpadtemplate.c: (gst_pad_template_init),
14480         (gst_pad_template_pad_created):
14481           Never return floating references to pad templates, create
14482           them as initially-sunken.
14483
14484           Document an extra function (and make this stop sinking our
14485           pad template, since that is now guaranteed to do nothing,
14486           since we created it sunken).
14487
14488         * gst/gstghostpad.c:
14489           Fix docs typo.
14490
14491 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14492
14493         * gst/gstinfo.c: (__gst_in_valgrind):
14494           Add some newlines.
14495
14496         * plugins/elements/gsttypefindelement.c:
14497         (gst_type_find_element_chain):
14498           Don't leak buffer caps.
14499
14500 2006-04-06  Michael Smith  <msmith@fluendo.com>
14501
14502         * gst/parse/grammar.y:
14503           Fix a leak in parse-launch for any source-or-sink named element 
14504           references used.
14505
14506         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14507           Unref the pipeline if it exists after we've failed parsing.
14508
14509 2006-04-05  Michael Smith  <msmith@fluendo.com>
14510
14511         * gst/gstpipeline.c: (gst_pipeline_init):
14512           When we create a pipeline bus, initially create it in flushing mode.
14513           Fixes leaks in at least one test, and makes a new pipeline work the
14514           same as one that has gone to READY and then back to NULL.
14515
14516         * gst/gstelement.c:
14517           Typo fix in docs.
14518
14519 2006-04-05  Michael Smith  <msmith@fluendo.com>
14520
14521         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14522           Unref a pad we reffed.
14523         * tests/check/gst/gstutils.c: (GST_START_TEST):
14524           Unref bins
14525
14526 2006-04-05  Michael Smith  <msmith@fluendo.com>
14527
14528         * gst/gstquery.c: (gst_query_set_formats),
14529         (gst_query_set_formatsv):
14530           Fix leaking GValues in queries, as shown by valgrind/testsuite.
14531
14532 2006-04-05  Michael Smith  <msmith@fluendo.com>
14533
14534         * tests/check/generic/sinks.c: (GST_START_TEST):
14535           Fix a variety of memleaks in sinks check, which are only sometimes 
14536           shown by running the tests under valgrind (weird?).
14537
14538 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
14539
14540         * docs/version.entities.in:
14541           Fix the substituted entity name after thomas' changes on the
14542           weekend.
14543
14544 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14545
14546         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14547         VALGRIND_PRINTF
14548         
14549 2006-04-05  Andy Wingo  <wingo@pobox.com>
14550
14551         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14552
14553         * libs/gst/base/gstbasetransform.c
14554         (gst_base_transform_sink_eventfunc): When resetting our segment on
14555         FLUSH_STOP, also update the flag saying we haven't seen a
14556         newsegment.
14557
14558 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14559
14560         Patch by: Paolo Borelli  <pborelli at katamail dot com>
14561
14562         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14563         (gst_plugin_check_license):
14564           minor clean-ups: G_DEFINE_TYPE already takes care of the
14565           parent_class stuff, no need to do it twice. Mark array of
14566           license strings as constant. (#337103)
14567           
14568 2006-04-04  Michael Smith  <msmith@fluendo.com>
14569
14570         * tools/gst-inspect.c: (print_element_list):
14571           Free the right plugin list; fixes a memory leak.
14572
14573 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14574
14575         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14576
14577         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14578           Don't error out on empty buffers (#336945).
14579           
14580 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14581
14582         * docs/libs/gstreamer-libs-sections.txt:
14583         * gst/gsttaglist.c:
14584         * libs/gst/base/gstbasesink.c:
14585         * libs/gst/base/gstbasesink.h:
14586         * libs/gst/base/gstbasesrc.c:
14587         * libs/gst/base/gstbasesrc.h:
14588           Documentation updates. Make BaseSink and BaseSrc docs contain the
14589           class structure so that people can actually see the prototypes for
14590           virtual functions they're supposed to be overriding.
14591
14592 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14593
14594         * plugins/elements/gsttypefindelement.c:
14595         (gst_type_find_element_chain):
14596           More debug info; when skipping typefinding, send cached
14597           events in all cases.
14598
14599 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14600
14601         * configure.ac:
14602           use new AS_VERSION and AS_NANO macros
14603         * gst/gst-i18n-lib.h:
14604         * gst/gst.c:
14605         * gst/gsterror.c:
14606         * gst/gstversion.h.in:
14607         * win32/common/config.h:
14608         * win32/common/config.h.in:
14609           update accordingly
14610
14611 2006-03-31  Michael Smith  <msmith@fluendo.com>
14612
14613         * plugins/elements/gsttypefindelement.c:
14614         (gst_type_find_element_chain):
14615           Do not typefind content if the buffers already have caps.
14616           Neccesary for icydemux (#333657), and the right thing to do anyway.
14617
14618 2006-03-30  Wim Taymans  <wim@fluendo.com>
14619
14620         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14621         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14622         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14623         (gst_base_sink_record_qos_observation),
14624         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14625         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14626         (gst_base_sink_change_state):
14627         More QoS measurements as described in the design doc.
14628         Get rid of ringbuffer with observations, running average is
14629         more simple and equally good.
14630         Calculates valid proportion now.
14631         Added beginning of flood measurement.
14632
14633 2006-03-29  Wim Taymans  <wim@fluendo.com>
14634
14635         * docs/design/part-qos.txt:
14636         * gst/gstclock.c:
14637         Small documentation updates and additions.
14638
14639 2006-03-29  Wim Taymans  <wim@fluendo.com>
14640
14641         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14642         (gst_base_src_send_event), (gst_base_src_loop),
14643         (gst_base_src_change_state):
14644         Perform the EOS logic when we reach the segment stop position.
14645         Fix compilation on gcc4.1
14646
14647 2006-03-29  Wim Taymans  <wim@fluendo.com>
14648
14649         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14650
14651         * plugins/elements/gstqueue.c: (gst_queue_init),
14652         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14653         (gst_queue_set_property):
14654         * plugins/elements/gstqueue.h:
14655         In queue, when EOS is received, if minimum threshold > max_size -
14656         current_level, there is chance that queue blocks forever in conditional
14657         item del wait. This is because the queue is not emptied completely due
14658         to minimum threshold.  Here is another approach. Instead of setting
14659         cur_levels to max in EOS, just zero all minimum threshold levels. This
14660         should make sure that queue gives out all data. When going to READY
14661         (stop) state, just reset the original minimum threshold levels.
14662         Fixes #336336.
14663
14664 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14665
14666         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14667         (gst_type_find_element_handle_event),
14668         (gst_type_find_element_send_cached_events),
14669         (gst_type_find_element_change_state):
14670         * plugins/elements/gsttypefindelement.h:
14671           When typefinding is done in push mode, we should cache
14672           events we receive during typefinding instead of just
14673           dropping them (e.g. newsegment, custom events from
14674           dvdreadsrc etc.) and then send them out once we've
14675           determined the type of the stream (and decodebin
14676           has had a chance to plug in a decoder/demuxer).
14677           
14678 2006-03-27  Wim Taymans  <wim@fluendo.com>
14679
14680         * docs/design/part-qos.txt:
14681         First QoS ideas.
14682
14683 2006-03-27  Wim Taymans  <wim@fluendo.com>
14684
14685         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14686
14687         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14688         (gst_base_src_send_event), (gst_base_src_change_state):
14689         Handle element seek correctly when we are streaming.
14690         Fixes #326998.
14691
14692 2006-03-24  Michael Smith  <msmith@fluendo.com>
14693
14694         * docs/faq/gst-uninstalled:
14695           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14696           allow you to correctly run intalled applications built against old 
14697           core, using plugins that require updated core (e.g. running
14698           installed totem against a full uninstalled gstreamer stack)
14699
14700 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14701
14702         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14703         more debug details
14704
14705 2006-03-24  Wim Taymans  <wim@fluendo.com>
14706
14707         * docs/gst/gstreamer-sections.txt:
14708         Rearrange the order of the methods so that related methods
14709         are grouped together in sections.
14710
14711 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14712
14713         * gst/gstelement.c:
14714           Little clarification in the docs
14715
14716 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14717
14718         * docs/README:
14719         formatting fix
14720         * plugins/elements/gstidentity.c:
14721         * plugins/elements/gstqueue.c:
14722         * plugins/elements/gsttee.c:
14723         * plugins/elements/gsttypefindelement.c:
14724         GST_ELEMENT_DETAILS formatting
14725
14726 2006-03-24  Wim Taymans  <wim@fluendo.com>
14727
14728         * libs/gst/base/gstbasesink.h:
14729         Only add fields, not insert or we break ABI.
14730
14731 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14732
14733         * win32/common/libgstbase.def:
14734         * win32/common/libgstreamer.def:
14735           Update, add recently added functions.
14736
14737 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14738
14739         * docs/gst/gstreamer-sections.txt:
14740         * gst/gstutils.c: (gst_pad_query_peer_position),
14741         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14742         * gst/gstutils.h:
14743           API: add some new utility functions:
14744            - gst_pad_query_peer_position()
14745            - gst_pad_query_peer_duration()
14746            - gst_pad_query_peer_convert()
14747           
14748 2006-03-23  Wim Taymans  <wim@fluendo.com>
14749
14750         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14751         (gst_base_sink_init), (gst_base_sink_finalize),
14752         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14753         (gst_base_sink_set_property), (gst_base_sink_get_property),
14754         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14755         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14756         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14757         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14758         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14759         (gst_base_sink_preroll_object), (gst_base_sink_event),
14760         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14761         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14762         (gst_base_sink_query), (gst_base_sink_change_state):
14763         Decouple max-lateness and the fact that QoS messages are generated
14764         with a new property (qos).
14765         added API: GstBaseSink::async_play()
14766         Add vmethod so subclasses can be notified of ASYNC playing
14767         state changes.
14768         Collect timestamp start and stop to report better current
14769         position in EOS/PLAYING/PAUSED/READY/NULL.
14770         Refactor QoS/frame dropping and other measurements.
14771         API: GstBaseSrc::qos
14772         Fixes #326311
14773
14774         * libs/gst/base/gstbasesink.h:
14775         Added Private struct.
14776         API: gst_base_sink_set_qos_enabled()
14777         API: gst_base_sink_is_qos_enabled()
14778
14779 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14780
14781         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14782           If compiling against GLib-2.8 or newer, try to read the
14783           registry file using GMappedFile first before falling back
14784           to fopen() + fread() (#332151).
14785
14786 2006-03-22  Wim Taymans  <wim@fluendo.com>
14787
14788         * gst/gstinfo.c: (gst_debug_set_active),
14789         (gst_debug_category_set_threshold):
14790         Disable debugging unless explicitly activated.
14791         Fixes #335480.
14792
14793 2006-03-22  Wim Taymans  <wim@fluendo.com>
14794
14795         * gst/gstelement.c: (gst_element_set_locked_state),
14796         (gst_element_dispose):
14797         Cleanup the error case.
14798
14799         * gst/gstobject.c: (gst_object_dispose):
14800         print a critical when some object was disposed with
14801         a parent, also revive the object since it might
14802         crash the parent.
14803
14804 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14805
14806         * tools/gst-launch.1.in:
14807           Fix another typo.
14808
14809 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14810
14811         * configure.ac:
14812         * tests/check/Makefile.am:
14813           disable some tests when we don't have a registry
14814         * tests/check/gst/gstutils.c: (gst_utils_suite):
14815           don't build the part that needs parsing
14816
14817 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14818
14819         * gst/Makefile.am
14820         * tests/examples/Makefile.am:
14821           fix --disable-parse build
14822
14823 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14824
14825         * tools/gst-feedback.1.in:
14826           Fix typo: s/feeback/feedback/ (#133494).
14827
14828 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14829
14830         * tools/Makefile.am:
14831         * tools/gst-launch.1.in:
14832           Add FILES section and correct entry about GST_REGISTRY_PATH
14833           environment variable (#133495; #133494).
14834
14835 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14836
14837         * tools/Makefile.am:
14838         * tools/gst-md5sum.1.in:
14839         * tools/gst-md5sum.c:
14840           Remove gst-md5sum and man page (the md5sink element
14841           required was removed ages ago)
14842
14843 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14844
14845         * gst/gststructure.c: (gst_structure_id_set_value):
14846           Make sure that string fields in structures/taglists
14847           contain valid UTF-8 - we don't want to pass rubbish to
14848           applications because of a buggy plugin (cp. #334167).
14849
14850 2006-03-21  Edward Hervey  <edward@fluendo.com>
14851
14852         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14853         (gst_bin_handle_message_func):
14854         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14855         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14856         (gst_element_set_bus_func):
14857         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14858         * gst/gstminiobject.c: (gst_value_set_mini_object),
14859         (gst_value_take_mini_object):
14860         * gst/gstpad.c: (gst_pad_set_pad_template):
14861         * gst/gstpipeline.c: (gst_pipeline_dispose),
14862         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14863         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14864         (gst_collect_pads_chain):
14865         * libs/gst/net/gstnettimeprovider.c:
14866         (gst_net_time_provider_set_property):
14867         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14868         It's in fact all issues with gst_*object_replace().
14869
14870 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14871
14872         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14873         
14874         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14875         * pkgconfig/gstreamer-check.pc.in:
14876           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14877
14878 2006-03-21  Edward Hervey  <edward@fluendo.com>
14879
14880         * gst/gstbuffer.h:
14881         * gst/gstevent.h:
14882         * gst/gstmessage.h:
14883         gst_[buffer|event|message]_ref() macros are replaced by a static
14884         inline functions because gcc-4.1 will about if the return value
14885         isn't used.
14886         * tests/check/gst/gstevent.c: (event_probe):
14887         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14888
14889 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14890
14891         * gst/gstutils.h:
14892         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14893         the type' case. (Closes: #335195 for now). In the future, when we
14894         depend on GLib 2.10, we could also intern the type name using
14895         g_intern_static_string()
14896
14897 2006-03-20  Wim Taymans  <wim@fluendo.com>
14898
14899         * gst/gstbin.c: (gst_bin_handle_message_func),
14900         (bin_query_max_init), (bin_query_position_fold),
14901         (bin_query_position_done), (gst_bin_query):
14902         Position query should also take max of all streams.
14903
14904 2006-03-20  Wim Taymans  <wim@fluendo.com>
14905
14906         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14907         (gst_fake_src_finalize):
14908         Fix leaks in fakesrc.
14909
14910         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14911         Fix leaks in the testcase.
14912
14913 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14914
14915         * gst/gst_private.h:
14916           add win32 specific import decoration(__declspec(dllimport)) 
14917           for all extern GstDebugCategory * variables
14918         * win32/common/libgstbase.def:
14919         * win32/common/libgstcontroller.def:
14920         * win32/common/libgstreamer.def:
14921           Add some exports, remove empty lines
14922         * win32/common/libgstdataprotocol.def:
14923         * win32/common/libgstdataprotocol.dsp:
14924         * win32/common/libgstnet.def:
14925         * win32/common/libgstnet.dsp:
14926           new project files and exportation files added
14927         
14928 2006-03-19  Wim Taymans  <wim@fluendo.com>
14929
14930         * tests/check/libs/basesrc.c: (eos_event_counter):
14931         Use proper return value for probe.
14932
14933 2006-03-17  Wim Taymans  <wim@fluendo.com>
14934
14935         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14936         (gst_pad_push):
14937         Don't leak buffers, caps and pads on negotiation errors.
14938
14939 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14940
14941         * docs/faq/cvs.xml:
14942         * docs/faq/dependencies.xml:
14943         * docs/faq/developing.xml:
14944         * docs/faq/faq.xml:
14945         * docs/faq/general.xml:
14946         * docs/faq/getting.xml:
14947         * docs/faq/legal.xml:
14948         * docs/faq/troubleshooting.xml:
14949         * docs/faq/using.xml:
14950         Faq review and update.
14951
14952 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14953
14954         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14955         (gst_pad_push):
14956         Don't pound the cpu to pieces by checking get_caps when accept_caps
14957         is called with the same caps as the pad already has.
14958         Use GST_DEBUG_OBJECT when outputting caps change information.
14959
14960 2006-03-15  Wim Taymans  <wim@fluendo.com>
14961
14962         * gst/gstclock.c: (gst_clock_class_init):
14963         Fix docs.
14964
14965 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14966
14967         * gst/gstbuffer.h:
14968         Documentation fix.
14969
14970         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14971         (gst_pad_accept_caps), (gst_pad_configure_sink),
14972         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14973         Make the default acceptcaps behaviour be to check the requested 
14974         caps against the gst_pad_get_caps output. 
14975
14976         Ensure that gst_pad_accept_caps is used to check caps when a pad
14977         doesn't have a setcaps function, so that pads automatically refuse 
14978         caps that they don't allow in their pad template. (Fixes #332986)
14979
14980         When a buffer with attached caps is pushed, ensure that the source 
14981         pad receives those caps even if the element didn't call
14982         gst_pad_set_caps first.
14983
14984 2006-03-15  Wim Taymans  <wim@fluendo.com>
14985
14986         * libs/gst/base/gstadapter.c:
14987         Add some docs.
14988
14989 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14990
14991         * win32/common/libgstbase.def:
14992         * win32/common/libgstcontroller.def:
14993         * win32/common/libgstreamer.def:
14994           Add a whole bunch of missing functions (#334434).
14995
14996 2006-03-14  Wim Taymans  <wim@fluendo.com>
14997
14998         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14999         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15000         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
15001         Better debug info when we receive a segment event.
15002         Reorganize a bit so we can pass the get_times() results around.
15003         Use the segment format when calculating the running time.
15004         Don't do QoS is sync is disabled or we have no clock or the
15005         element does not want us to sync to the clock.
15006         Don't drop buffers if QoS is disabled for now.
15007
15008 2006-03-14  Wim Taymans  <wim@fluendo.com>
15009
15010         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
15011         Marked the stats property as unimplemented so people don't get
15012         wild ideas.
15013         Add debug message when regression goes wrong.
15014         Added some more docs.
15015
15016 2006-03-14  Wim Taymans  <wim@fluendo.com>
15017
15018         * gst/gstsegment.c: (gst_segment_to_stream_time):
15019         Return correct return type in case of errors.
15020
15021 2006-03-14  Wim Taymans  <wim@fluendo.com>
15022
15023         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
15024           Don't segfault on invalid formats.
15025
15026 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
15027
15028         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15029           Can't use gst_segment_to_running_time() when the segment
15030           is not in GST_TIME_FORMAT (like with filesink, for example).
15031           Stops flac encoding pipelines from spewing critical warnings
15032           at EOS (#331248).
15033           
15034 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
15035
15036         * gst/gstpipeline.c: (gst_pipeline_class_init):
15037           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
15038
15039         * plugins/elements/gsttypefindelement.c:
15040         (gst_type_find_element_handle_event):
15041           Don't try to typefind empty streams.
15042
15043 2006-03-14  Wim Taymans  <wim@fluendo.com>
15044
15045         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15046         (gst_base_sink_do_qos):
15047         Separate QoS calculation.
15048         Only drop buffers when lateness is bigger than the 
15049         duration of the buffer.
15050
15051 2006-03-13  Wim Taymans  <wim@fluendo.com>
15052
15053         * gst/gstpipeline.c: (gst_pipeline_set_property),
15054         (gst_pipeline_get_property), (do_pipeline_seek),
15055         (gst_pipeline_change_state), (gst_pipeline_set_delay),
15056         (gst_pipeline_get_delay):
15057         Don't deadlock when reading properties.
15058
15059 2006-03-13  Wim Taymans  <wim@fluendo.com>
15060
15061         * libs/gst/base/gstbasetransform.c:
15062         (gst_base_transform_class_init), (gst_base_transform_init),
15063         (gst_base_transform_sink_event),
15064         (gst_base_transform_sink_eventfunc),
15065         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
15066         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
15067         (gst_base_transform_set_property),
15068         (gst_base_transform_get_property),
15069         (gst_base_transform_change_state), (gst_base_transform_update_qos),
15070         (gst_base_transform_set_qos_enabled),
15071         (gst_base_transform_is_qos_enabled):
15072         * libs/gst/base/gstbasetransform.h:
15073         Make basetransform virtual method for src events too.
15074         Handle QOS in basetransform.
15075         API: gst_base_transform_update_qos()
15076         API: gst_base_transform_set_qos_enabled()
15077         API: gst_base_transform_is_qos_enabled()
15078
15079 2006-03-13  Wim Taymans  <wim@fluendo.com>
15080
15081         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15082         (gst_base_sink_do_sync):
15083         Small cleanups.
15084         Use QOS debug category.
15085
15086 2006-03-13  Wim Taymans  <wim@fluendo.com>
15087
15088         * plugins/elements/gstqueue.c:
15089         Very small doc update.
15090
15091 2006-03-13  Wim Taymans  <wim@fluendo.com>
15092
15093         * gst/gst_private.h:
15094         * gst/gstinfo.c: (_gst_debug_init):
15095         Added QOS debug category
15096
15097 2006-03-13  Wim Taymans  <wim@fluendo.com>
15098
15099         * docs/gst/gstreamer-sections.txt:
15100         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
15101         * gst/gstbin.h:
15102         * gst/gstbus.c: (gst_bus_class_init):
15103         * gst/gstbus.h:
15104         * gst/gstclock.c:
15105         * gst/gstelement.c: (gst_element_set_locked_state):
15106         * gst/gstsegment.c:
15107         Documentation updates.
15108
15109         * gst/gstpipeline.c: (gst_pipeline_get_type),
15110         (gst_pipeline_class_init), (gst_pipeline_init),
15111         (gst_pipeline_dispose), (gst_pipeline_set_property),
15112         (gst_pipeline_get_property), (do_pipeline_seek),
15113         (gst_pipeline_send_event), (gst_pipeline_change_state),
15114         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
15115         (gst_pipeline_get_delay):
15116         * gst/gstpipeline.h:
15117         Added methods for setting the delay.
15118         API: gst_pipeline_set_delay()
15119         API: gst_pipeline_get_delay()
15120         Add pipeline debug category
15121         Various cleanups.
15122         Updated docs.
15123         Don't reset stream time when seek failed.
15124
15125 2006-03-13  Wim Taymans  <wim@fluendo.com>
15126
15127         * docs/design/draft-klass.txt:
15128         * docs/design/part-clocks.txt:
15129         * docs/design/part-events.txt:
15130         * docs/design/part-gstbin.txt:
15131         * docs/design/part-gstpipeline.txt:
15132         * docs/design/part-messages.txt:
15133         * docs/design/part-negotiation.txt:
15134         * docs/design/part-overview.txt:
15135         * docs/design/part-preroll.txt:
15136         * docs/design/part-seeking.txt:
15137         * docs/design/part-states.txt:
15138         * docs/design/part-streams.txt:
15139         Documentation updates.
15140
15141 2006-03-12  Julien MOUTTE  <julien@moutte.net>
15142
15143         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
15144         us to leak strings...
15145
15146 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15147
15148         * libs/gst/net/gstnettimeprovider.c:
15149           fix docs
15150         * win32/common/config.h:
15151           update
15152
15153 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
15154
15155         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
15156
15157         * configure.ac:
15158           Don't check for libgnomeui (leftover from old examples
15159           that aren't built or disted any longer) (#334303).
15160           
15161 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
15162
15163         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
15164         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15165           Emit RESOURCE_NO_SPACE_LEFT error here as well when
15166           there's no space left on the device.
15167
15168 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
15169
15170         * gst/gstclock.h:
15171           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
15172           to cast the input to GstClockTime before comparing with
15173           another GstClockTime value.
15174
15175 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15176
15177         * configure.ac:
15178           back to trunk
15179
15180 === release 0.10.4 ===
15181
15182 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
15183
15184         * configure.ac:
15185           releasing 0.10.4, "Light"
15186
15187 2006-03-10  Michael Smith  <msmith@fluendo.com>
15188
15189         * libs/gst/dataprotocol/dataprotocol.c:
15190           Fix docs for dataprocotol to not get the return types completely
15191           wrong for a few functions.
15192
15193 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15194
15195         * docs/gst/gstreamer-sections.txt:
15196         * gst/gstpipeline.c: (gst_pipeline_class_init),
15197         (gst_pipeline_init), (gst_pipeline_set_property),
15198         (gst_pipeline_get_property), (gst_pipeline_change_state),
15199         (gst_pipeline_set_auto_flush_bus),
15200         (gst_pipeline_get_auto_flush_bus):
15201         * gst/gstpipeline.h:
15202           Add new API: gst_pipeline_set_auto_flush_bus() and
15203           gst_pipeline_get_auto_flush_bus() to disable automatic
15204           flushing of the pipeline's GstBus when going from READY
15205           to NULL state (#332045).
15206
15207 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15208
15209         * docs/gst/gstreamer-sections.txt:
15210         * gst/gsturi.c: (gst_uri_has_protocol):
15211         * gst/gsturi.h:
15212            Add new API: gst_uri_has_protocol() (#333779).
15213
15214 2006-03-09  Wim Taymans  <wim@fluendo.com>
15215
15216         * gst/gstclock.c: (gst_clock_entry_new),
15217         (gst_clock_id_compare_func), (gst_clock_id_wait),
15218         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
15219         (gst_clock_init), (gst_clock_get_internal_time),
15220         (gst_clock_set_master), (do_linear_regression),
15221         (gst_clock_add_observation), (gst_clock_set_property):
15222         * gst/gstclock.h:
15223         Review docs.
15224         Small cleanups.
15225         Fix a possible segfault when the window-size is made smaller.
15226         Calculate jitter before performing the clock wait. Ideally
15227         the clock implementation should calculate jitter but we need
15228         API breakage for that.
15229
15230         * gst/gstsystemclock.c: (gst_system_clock_init):
15231         Docs review.
15232         
15233         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15234         Remove leftover else
15235
15236         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
15237         (gst_systemclock_suite):
15238         Added check to test GST_CLOCK_DIFF.
15239
15240 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15241
15242         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
15243         (gst_type_find_helper_get_range):
15244           If we are provided with the size, we should implement
15245           GstTypeFind::get_length, so that typefind functions who
15246           want to can actually peek at the middle of a file.
15247
15248 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
15249
15250         * docs/manual/advanced-dataaccess.xml:
15251           Add some very very basic error checking.
15252
15253         * docs/pwg/appendix-checklist.xml:
15254           Some updates to the list of things to check when writing an element.
15255
15256 2006-03-08  Wim Taymans  <wim@fluendo.com>
15257
15258         * docs/design/part-element-transform.txt:
15259         Added some docs about the design of tranform elements.
15260
15261         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15262         (gst_base_src_loop), (gst_base_src_change_state):
15263         Mark buffers with the DISCONT flag.
15264
15265 2006-03-08  Michael Smith  <msmith@fluendo.com>
15266
15267         * gst/gstregistry.h:
15268         * gst/gstregistryxml.c: (gst_registry_save),
15269         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
15270         (gst_registry_xml_save_pad_template),
15271         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15272         (gst_registry_xml_write_cache):
15273           Rewrite registry-saving to avoid race conditions and check for
15274           failed writes.
15275
15276 2006-03-08  Wim Taymans  <wim@fluendo.com>
15277
15278         * libs/gst/base/gstbasetransform.c:
15279         (gst_base_transform_transform_caps),
15280         (gst_base_transform_transform_size),
15281         (gst_base_transform_prepare_output_buffer),
15282         (gst_base_transform_get_unit_size),
15283         (gst_base_transform_buffer_alloc),
15284         (gst_base_transform_handle_buffer),
15285         (gst_base_transform_change_state):
15286         Cleanups, separate normal flow from errors, add sensible
15287         DEBUG lines.
15288         Don't try to renegotiate when allocating an output buffer.
15289         Also copy DISCONT buffer flag when copying a buffer.
15290         Reset the transform after we finish streaming, not during.
15291
15292 2006-03-08  Wim Taymans  <wim@fluendo.com>
15293
15294         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15295         Use last buffer timestamp in qos message.
15296
15297 2006-03-07  Wim Taymans  <wim@fluendo.com>
15298
15299         Patch by: Christophe Fergeau
15300
15301         * docs/pwg/advanced-tagging.xml:
15302         * docs/pwg/building-pads.xml:
15303           fixes #333416
15304
15305 2006-03-07  Wim Taymans  <wim@fluendo.com>
15306
15307         * docs/libs/gstreamer-libs-sections.txt:
15308         Added basesink new methods.
15309
15310         * gst/gstevent.c:
15311         * gst/gstevent.h:
15312         Docs updates. Flesh out the QoS docs.
15313
15314         * libs/gst/base/gstadapter.c:
15315         Small doc clarification about ownership and flushing.
15316
15317         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15318         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15319         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15320         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15321         * libs/gst/base/gstbasesink.h:
15322         API additions: 
15323         Added new methods to allow subclass to control max-lateness 
15324         and sync.
15325         Generate very basic QoS events based on last sync observation.
15326         Updated docs, fix typo, added some QoS blurb.
15327
15328         * libs/gst/base/gstbasesrc.c:
15329         Remove obsolete _get_state() calls from docs.
15330
15331 2006-03-07  Wim Taymans  <wim@fluendo.com>
15332
15333         * docs/libs/gstreamer-libs-sections.txt:
15334         * libs/gst/base/gstbasetransform.h:
15335         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15336         Fix docs for GstBaseSrc.
15337
15338 2006-03-07  Wim Taymans  <wim@fluendo.com>
15339
15340         * docs/gst/gstreamer-sections.txt:
15341         * gst/gstbuffer.h:
15342         * gst/gstvalue.c:
15343         * libs/gst/base/gstbasetransform.h:
15344         Small documentation fixes.
15345
15346 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15347
15348         * gst/gstvalue.c:
15349           Document thread-unsafety of gst_value_register_foo_func()
15350           when used at the same time as gst_value_foo() (#322628).
15351
15352 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15353
15354         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15355         (gst_push_src_check_get_range):
15356           Push sources don't support pull mode by default.
15357
15358 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15359
15360         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15361         (gst_base_src_init), (gst_base_src_pad_check_get_range),
15362         (gst_base_src_default_check_get_range):
15363         * libs/gst/base/gstbasesrc.h:
15364           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15365           provide default implementation, and rename
15366           gst_base_src_check_get_range() to
15367           gst_base_src_pad_check_get_range() for clarity.
15368
15369 2006-03-06  Wim Taymans  <wim@fluendo.com>
15370
15371         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15372         Make property overridable.
15373
15374 2006-03-06  Wim Taymans  <wim@fluendo.com>
15375
15376         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15377         (gst_base_sink_init), (gst_base_sink_set_property),
15378         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15379         * libs/gst/base/gstbasesink.h:
15380         API addition: Make max-lateness a property.
15381
15382 2006-03-06  Wim Taymans  <wim@fluendo.com>
15383
15384         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15385         (gst_base_sink_do_sync), (gst_base_sink_render_object):
15386         Don't ever draw a frame that is >10ms late.
15387
15388 2006-03-06  Michael Smith  <msmith@fluendo.com>
15389
15390         * gst/gstmessage.c: (_gst_message_copy):
15391           When copying a message, set the parent_refcount of the enclosed
15392           structure to point at the copy, not the original message.
15393
15394 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15395
15396         Patch by: Christophe Fergeau
15397
15398         * gst/gstutils.h:
15399           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15400           usable in c++ code (#333417)
15401
15402 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15403
15404         * gst/gstclock.h:
15405           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15406
15407 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
15408
15409         * libs/gst/base/gstbasetransform.c:
15410         (gst_base_transform_transform_caps):
15411           Make sure caps are writable before passing them to
15412           gst_caps_append().
15413
15414 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15415
15416         * gst/gsterror.h:
15417           Fix some minor docs errors.
15418
15419 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15420
15421           Patch by: Ross Burton <ross at burtonini dot com>
15422
15423         * gst/gsterror.c: (_gst_resource_errors_init):
15424         * gst/gsterror.h:
15425           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15426
15427 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15428
15429         * gst/gst.c:
15430         Add a check and output a g_warning when GStreamer is built
15431         against GLib 2.6 but running against 2.8 or higher, and vice 
15432         versa. (Closes: #323542)
15433
15434 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15435
15436         * gst/parse/parse.l:
15437           Commit patch for parse_launch syntax from #331255. Removes 
15438           support for quoted strings and mimetypes when writing filtered 
15439           caps. See the bug report for more details - I'm pretty sure this
15440           obscure feature is not in use by _anyone_ anywhere.
15441
15442           With this simple change, the size of the gstreamer.so here 
15443           drops from 2193KB to 1565KB.
15444
15445 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15446
15447         * plugins/elements/gsttypefindelement.h:
15448         * plugins/elements/gsttypefindelement.c:
15449         (gst_type_find_element_src_event), (start_typefinding),
15450         (stop_typefinding), (gst_type_find_element_handle_event),
15451         (gst_type_find_element_chain),
15452         (gst_type_find_element_chain_do_typefinding):
15453           Use gst_type_find_helper_for_buffer() for chain-based
15454           typefinding.
15455
15456 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15457
15458         * plugins/elements/gsttypefindelement.c:
15459         (gst_type_find_element_class_init),
15460         (gst_type_find_element_set_property),
15461         (gst_type_find_element_get_property):
15462           Deprecate "maximum" property (not only was it only taken into
15463           account for typefinding in push-mode anyway, it also was never
15464           actually possible to set it in the first place because the
15465           property was registered with the numeric property ID for the
15466           "minimum" property). Register "maximum" property correctly,
15467           for the sake of future copy'n'pasters. Remove some cruft
15468           from property get/set functions.
15469
15470 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15471
15472         * plugins/elements/gsttypefindelement.c:
15473         (gst_type_find_element_activate):
15474           Use gst_type_find_helper_get_range() here, so we
15475           can honour the "minimum" property and also emit
15476           the signal with the correct probability of the found caps.
15477
15478 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
15479
15480         * docs/libs/gstreamer-libs-sections.txt:
15481         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15482         (helper_find_suggest), (gst_type_find_helper_get_range),
15483         (gst_type_find_helper):
15484         * libs/gst/base/gsttypefindhelper.h:
15485           New API: gst_type_find_helper_get_range() (#333042).
15486
15487 2006-03-02  Michael Smith  <msmith@fluendo.com>
15488
15489         * gst/gstregistryxml.c: (load_feature):
15490           Asserting on a failure to read part of the registry is Not Cool.
15491           Just log a warning and return NULL (which is already handled)
15492
15493 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
15494
15495         * win32/common/libgstbase.def:
15496           added export of gst_type_find_helper_for_buffer
15497         * win32/common/libgstbase.def:
15498           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15499           gst_ghost_pad_get_target
15500
15501 2006-02-28  Wim Taymans  <wim@fluendo.com>
15502
15503         * docs/design/draft-klass.txt:
15504         We use Filter now.
15505         Added Connector to mark elements that are only used to
15506         allow pipeline connections.
15507         Moved Debug to extra feature since most of them are 
15508         functionally something else.
15509
15510 2006-02-28  Wim Taymans  <wim@fluendo.com>
15511
15512         * docs/design/draft-klass.txt:
15513         Some updates and clarifications.
15514
15515 2006-02-28  Wim Taymans  <wim@fluendo.com>
15516
15517         * docs/design/draft-klass.txt:
15518         Proposal for klass field values.
15519
15520         * docs/design/part-streams.txt:
15521         Start of a doc describing stream anatomy.
15522
15523 2006-02-28  Wim Taymans  <wim@fluendo.com>
15524
15525         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15526         Help the compiler a bit with type registration.
15527         Use existing forward cod path instead of duplicating it when 
15528         handling a message.
15529         
15530         * gst/gstbus.c: (gst_bus_get_type):
15531         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15532         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15533         * gst/gstclock.c: (gst_clock_get_type):
15534         * gst/gstelement.c: (gst_element_get_type),
15535         * gst/gstelementfactory.c: (gst_element_factory_get_type):
15536         * gst/gstindexfactory.c: (gst_index_factory_get_type):
15537         * gst/gstminiobject.c: (gst_mini_object_get_type):
15538         * gst/gstpad.c: (gst_pad_get_type):
15539         * gst/gstsegment.c: (gst_segment_get_type):
15540         * gst/gststructure.c: (gst_structure_get_type):
15541         * gst/gstsystemclock.c: (gst_system_clock_get_type):
15542         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15543         * gst/gstvalue.c:
15544         Help compiler with type registration.
15545
15546         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15547         Small doc update.
15548
15549 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15550
15551         * plugins/elements/gsttypefindelement.c:
15552         (gst_type_find_element_handle_event):
15553           When we get an EOS event and have not found a type yet
15554           (most likely because we had not yet accumulated
15555           TYPE_FIND_MIN_SIZE of data yet), try to determine the
15556           type given the data we have so far. Fixes typefinding
15557           for very short streams again, most notably quicktime
15558           redirections as used on Apple's trailer site (#331701).
15559
15560 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15561
15562         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15563         (gst_type_find_helper):
15564           Try typefinding factories with the highest rank first.
15565
15566 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15567
15568         * docs/libs/gstreamer-libs-docs.sgml:
15569         * docs/libs/gstreamer-libs-sections.txt:
15570         * libs/gst/base/gsttypefindhelper.c:
15571           Add section for typefind helper and add documentation
15572           for the old and the new function.
15573
15574 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15575
15576         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15577         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15578         (gst_type_find_helper_for_buffer):
15579         * libs/gst/base/gsttypefindhelper.h:
15580           New API: gst_type_find_helper_for_buffer() (#332723).
15581           
15582 2006-02-27  Michael Smith  <msmith@fluendo.com>
15583
15584         Patch by: Loïc Minier
15585
15586         * configure.ac:
15587         * docs/Makefile.am:
15588         * docs/slides/Makefile.am:
15589           prevent CVS directories getting disted.
15590
15591 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15592
15593         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15594           Use the REFCOUNTING category for caps refcounting.
15595           
15596 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15597
15598         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15599           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15600
15601 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15602
15603         * plugins/elements/gsttypefindelement.c:
15604         (gst_type_find_element_activate):
15605           Use gst_pad_check_pull_range() before _activate_pull()
15606           to avoid unnecessary open/close (see #331690).
15607
15608 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15609
15610         * gst/gstutils.c:
15611           Docs enhancement: make it crystal clear what the
15612           gst_pad_add_*_probe() callbacks should look like.
15613
15614 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15615
15616         * libs/gst/base/gstbasesrc.c:
15617           Document how applications can stop recording from
15618           live sources (see #330996).
15619
15620 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15621
15622         * tests/check/Makefile.am:
15623         * tests/check/libs/basesrc.c: (eos_event_counter),
15624         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15625         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15626         (gst_basesrc_suite), (main):
15627           ... and add some tests for the base source EOS stuff.
15628
15629 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15630
15631         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15632           Test case originally showed the problem fixed below,
15633           but was then amended. Add checks back at the place
15634           where they used to be.
15635
15636 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15637
15638         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15639         (gst_base_src_init), (gst_base_src_loop),
15640         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15641         (gst_base_src_change_state):
15642         * libs/gst/base/gstbasesrc.h:
15643           Don't unconditionally send EOS when going from PAUSED to
15644           READY state, esp. make sure we don't send two EOS events
15645           in some cases (e.g. one when reaching EOS and one when
15646           going from PAUSED to READY). Also, we don't want to send
15647           EOS events when operating in pull mode. However, we do
15648           want to send an EOS event when shutting down a live
15649           source explicitly, for example (fixes #330996).
15650           
15651 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15652
15653         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15654           Update src->read_position after a seek when not using mmap.
15655           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15656
15657 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15658
15659         * gst/Makefile.am:
15660         * gst/gstparse.h:
15661         * gst/gstutils.c:
15662         * gst/gstutils.h:
15663         Make things work with --disable-parse as they do with 
15664         --disable-load-save - the symbols involved disappear, but the
15665         header is still installed and GST_DISABLE_PARSE is included via
15666         gstconfig.h
15667
15668 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15669
15670         * libs/gst/base/gstbasetransform.c:
15671         (gst_base_transform_change_state): Fix a stupid bug. I was 
15672         sure I compiled that.
15673
15674 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15675
15676         * gst/gstpad.c: (gst_pad_set_blocked_async):
15677         * gst/gstutils.c: (gst_pad_add_data_probe),
15678         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15679         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15680         (gst_pad_remove_buffer_probe): Make those function act on the
15681         ghostpad target when it's a ghostpad. (Closes #331727)
15682
15683 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15684
15685         * libs/gst/base/gstbasetransform.c:
15686         (gst_base_transform_change_state): Make basetransform reusable.
15687         (Closes #331898)
15688
15689 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15690
15691         * docs/random/release:
15692         Move the current documentation of how to do a release to the top
15693         of the file.
15694
15695         * gst/gstbin.c: (gst_bin_class_init),
15696         (gst_bin_handle_message_func):
15697         Allow multiple state-recalculation threads. (Closes #328873)
15698
15699 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15700
15701         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15702         * gst/gstpad.c: (gst_pad_set_event_function),
15703         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15704         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15705         2 strings. You can't use the STR_NULL macro on that.
15706
15707 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15708
15709         * gst/gstpad.c: (gst_pad_set_event_function),
15710         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15711         (gst_pad_set_getcaps_function)
15712         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15713           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15714           So now, we can use --gst-debug-level=5 on Windows
15715         * win32/common/libgstcontroller.def:
15716           Added export of gst_controller_init
15717         * win32/vs6/libgstcontroller.dsp:
15718           Fixed Release post build configuration
15719
15720 2006-02-17  Wim Taymans  <wim@fluendo.com>
15721
15722         * tests/check/gst/gstquery.c: (GST_START_TEST):
15723         Added another check.
15724
15725 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15726
15727         * plugins/elements/gsttypefindelement.c: (find_peek):
15728           We can do peeks at non-zero offsets, as long as they
15729           fall within the buffer we have.
15730
15731 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15732
15733         * tests/check/Makefile.am:
15734         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15735         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15736         (parse_suite), (main):
15737           Add testsuite for parse launch syntax
15738
15739 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15740
15741         * plugins/elements/gsttypefindelement.c:
15742         (gst_type_find_element_chain):
15743           When typefinding is unsuccessful in the chain function, don't
15744           error out immediately. Only error out with NO_CAPS_FOUND if
15745           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15746           otherwise simply wait for more data so we can try typefinding
15747           again with more data later. Also, don't attempt to typefind
15748           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15749           this should improve typefinding from network sources where the
15750           size of the first buffer can be somewhat random.
15751
15752 2006-02-14  Wim Taymans  <wim@fluendo.com>
15753
15754         * docs/gst/gstreamer-sections.txt:
15755         * gst/gstpadtemplate.c:
15756         * gst/gstpadtemplate.h:
15757         Fix padtemplate docs, fixes #328805.
15758
15759 2006-02-14  Wim Taymans  <wim@fluendo.com>
15760
15761         * tools/gst-launch.c: (main):
15762         NO_PREROLL is not an ERROR so don't send confusing messages
15763         to the user.
15764
15765 2006-02-14  Wim Taymans  <wim@fluendo.com>
15766
15767         Patch by: Torsten Schoenfeld
15768
15769         * gst/gstregistry.c: (gst_registry_get_default),
15770         (_gst_registry_cleanup):
15771         Protect default registry with lock and ref/sink it.
15772         Fixes #324818
15773
15774 2006-02-14  Wim Taymans  <wim@fluendo.com>
15775
15776         * gst/gstbuffer.c:
15777         * gst/gstquery.c: (gst_query_list_add_format),
15778         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15779         (gst_query_parse_formats_nth):
15780         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15781         Docs fixes.
15782
15783 2006-02-14  Wim Taymans  <wim@fluendo.com>
15784
15785         * docs/gst/gstreamer-sections.txt:
15786         Reworked query docs.
15787
15788         * gst/gstquery.c: (gst_query_new_formats),
15789         (gst_query_list_add_format), (gst_query_set_formats),
15790         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15791         (gst_query_parse_formats_nth):
15792         * gst/gstquery.h:
15793         Flesh out formats query, added some new methods.
15794         Fix part of #324398.
15795
15796         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15797         Added query creation tests.
15798
15799 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15800
15801         * gst/gstpad.c: (fixate_value):
15802         Add a default fixation for fraction lists.
15803
15804 2006-02-13  Wim Taymans  <wim@fluendo.com>
15805
15806         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15807         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15808         (gst_task_join):
15809         * gst/gsttask.h:
15810         Detect and warn for obvious deadlocks. fixes #320340
15811         Fix error case where lock was not released.
15812
15813         * tests/check/Makefile.am:
15814         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15815         (task_func), (gst_element_suite), (main):
15816         Add task check.
15817
15818 2006-02-13  Wim Taymans  <wim@fluendo.com>
15819
15820         * docs/gst/gstreamer-sections.txt:
15821         * gst/gstbus.c:
15822         Add new functions to docs.
15823
15824 2006-02-13  Wim Taymans  <wim@fluendo.com>
15825
15826         * docs/design/part-TODO.txt:
15827         Updated TODO list, basesrc supports seeking to non-bytes
15828         formats.
15829
15830         * docs/design/part-element-sink.txt:
15831         Update docs.
15832
15833         * gst/gstbin.c: (bin_replace_message),
15834         (gst_bin_handle_message_func):
15835         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15836         * gst/gstevent.c: (gst_event_finalize):
15837         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15838         (gst_pad_send_event):
15839         Use shiny new _TYPE_NAME macros.
15840
15841         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15842         Move debug statement up.
15843
15844         * gst/gstelement.c: (gst_element_set_locked_state):
15845         Add some debugging.
15846
15847 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15848
15849         * docs/gst/gstreamer-sections.txt:
15850         * gst/gstmessage.h:
15851         * gst/gstquery.h:
15852           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15853           macros (#330906). Also, document the already existing
15854           GST_QUERY_TYPE macro.
15855
15856 2006-02-13  Wim Taymans  <wim@fluendo.com>
15857
15858         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15859         (event_probe), (GST_START_TEST):
15860         Only events up to the pipeline EOS are counted, there are
15861         some more when going to NULL currently which we don't care
15862         about for now.
15863
15864 2006-02-13  Wim Taymans  <wim@fluendo.com>
15865
15866         * gst/gstpad.c: (gst_pad_send_event):
15867         Correctly check flushing and emit probes. fixes #330125
15868
15869 2006-02-10  Andy Wingo  <wingo@pobox.com>
15870
15871         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15872         structure.
15873         (gst_bus_init): Cache the location of the private data in the
15874         instance structure.
15875         (gst_bus_enable_sync_message_emission) 
15876         (gst_bus_disable_sync_message_emission): Implement new public
15877         functions.
15878         (gst_bus_post): Emit the sync-message signal if the user asked for
15879         it. Fixes #330684.
15880
15881         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15882         location of the bus-private structure.
15883         (gst_bus_enable_sync_message_emission)
15884         (gst_bus_disable_sync_message_emission): API addition
15885
15886 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15887
15888         Patch by: Vincent Torri
15889
15890         * docs/pwg/building-boiler.xml:
15891         PWG patch from #326800
15892
15893 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15894
15895         * configure.ac:
15896         * docs/Makefile.am:
15897         * docs/design/Makefile.am:
15898           Dist design docs.
15899
15900 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15901
15902         * configure.ac:
15903           back to CVS
15904
15905 === release 0.10.3 ===
15906
15907 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15908
15909         * configure.ac:
15910           releasing 0.10.3, "Like a virgin"
15911
15912 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15913
15914         * configure.ac:
15915           2nd prerelease of 0.10.3
15916           Bump libtool versioning.
15917
15918 2006-02-07  Andy Wingo  <wingo@pobox.com>
15919
15920         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15921         update last_stop if we're in TIME format and the timestamp is
15922         valid.
15923
15924         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15925         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15926         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15927         If we get a new newsegment with a different format, adapt
15928         accordingly.
15929
15930         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15931         of 0. Not a problem, really.
15932
15933         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15934         warn if sync=true.
15935
15936 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15937
15938         * configure.ac:
15939           Prelease of 0.10.3
15940
15941 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15942
15943         * win32/vs7:
15944           project files updated to the default vs7 configuration
15945         * win32/common/libgstbase.def:
15946         * win32/common/libgstreamer.def:
15947           added new symbols,
15948           removed empty lines,
15949           sorted all exported symbols alphabetically
15950         * win32/common/dirent.c:
15951         * win32/common/dirent.h:
15952         * win32/common/gchar.h:
15953           use windows line end.
15954           
15955 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15956
15957         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15958           Send EOS event when stopping.
15959
15960 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15961
15962         * docs/README:
15963           Tell folks what to do if the plugin-foobar.xml file
15964           hasn't been generated for a newly-added plugin.
15965
15966 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15967
15968         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15969         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15970         (gst_collect_pads_start), (gst_collect_pads_stop),
15971         (gst_collect_pads_event): Collectpads now holds a reference
15972         to the GstPad that was added. Indeed we don't want to look
15973         at pads that might just go away with no warning...
15974
15975 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15976
15977         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15978         (gst_collect_pads_start), (gst_collect_pads_stop),
15979         (gst_collect_pads_event), (gst_collect_pads_chain):
15980         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15981         Mark Nauwelaerts's patch on bug #328491.
15982
15983 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15984
15985         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15986         (gst_utils_suite):
15987           Add some simple tests for gst_parse_bin_from_description() and
15988           gst_bin_find_unconnected_pad() (#329069).
15989
15990 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15991
15992         * tools/gst-launch.c: (event_loop), (main):
15993           Catch errors during preroll (#320084).
15994
15995 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15996
15997         * plugins/elements/gsttypefindelement.c:
15998         (gst_type_find_element_activate):
15999           Post TYPE_NOT_FOUND error message when typefinding
16000           is unsuccessful in the activate function as well.
16001
16002 2006-02-02  Wim Taymans  <wim@fluendo.com>
16003
16004         * docs/design/part-element-sink.txt:
16005         Updated doc.
16006
16007 2006-02-02  Wim Taymans  <wim@fluendo.com>
16008
16009         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16010         (gst_base_sink_render_object),
16011         (gst_base_sink_queue_object_unlocked):
16012         Only keep track of prerollable items when we are 
16013         prerolling.
16014         Before rendering after preroll, always check if we
16015         have queued items.
16016         Added some more debugging.
16017
16018 2006-02-02  Wim Taymans  <wim@fluendo.com>
16019
16020         * gst/gstelement.c: (gst_element_continue_state),
16021         (gst_element_set_state_func), (gst_element_change_state):
16022         Fixed #326576, been running this for quite some time with
16023         no regressions at all.
16024
16025 2006-02-02  Wim Taymans  <wim@fluendo.com>
16026
16027         * common/gst.supp:
16028         Added more suppressions
16029
16030 2006-02-02  Wim Taymans  <wim@fluendo.com>
16031
16032         * docs/design/part-element-sink.txt:
16033         Updated document.
16034
16035         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16036         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
16037         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
16038         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16039         (gst_base_sink_do_sync), (gst_base_sink_render_object),
16040         (gst_base_sink_preroll_object),
16041         (gst_base_sink_queue_object_unlocked),
16042         (gst_base_sink_queue_object), (gst_base_sink_event),
16043         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
16044         (gst_base_sink_loop), (gst_base_sink_activate_pull),
16045         (gst_base_sink_get_position), (gst_base_sink_change_state):
16046         * libs/gst/base/gstbasesink.h:
16047         Totally refactored matching the design doc.
16048         Use two segments, one to clip incomming buffers and another to
16049         perform sync.
16050         Handle queueing correctly, bypass the queue when playing.
16051         Make EOS cancelable.
16052         Handle errors correctly when operating in pull based mode.
16053
16054         * tests/check/elements/fakesink.c: (GST_START_TEST),
16055         (fakesink_suite):
16056         Added new check for sinks.
16057
16058 2006-02-02  Wim Taymans  <wim@fluendo.com>
16059
16060         * gst/gstsegment.c: (gst_segment_clip):
16061         No reason to refuse to clip when start == -1
16062
16063 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
16064
16065         * docs/README:
16066         * docs/manual/intro-basics.xml:
16067         * docs/manual/intro-preface.xml:
16068         * docs/manual/manual.xml:
16069         * docs/pwg/advanced-dparams.xml:
16070         * docs/pwg/intro-basics.xml:
16071         * docs/pwg/intro-preface.xml:
16072         * docs/pwg/pwg.xml:
16073           describe dparams (controller) for plugins
16074           unify docs a little more
16075
16076 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
16077
16078         * docs/gst/gstreamer-sections.txt:
16079         * gst/gstutils.c: (element_find_unconnected_pad),
16080         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
16081         * gst/gstutils.h:
16082           Add new API: gst_parse_bin_from_description() and
16083           gst_bin_find_unconnected_pad() (#329069).
16084
16085 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
16086
16087         * docs/manual/README:
16088           uncover a nasty detail of the docs build
16089
16090 2006-01-31  Wim Taymans  <wim@fluendo.com>
16091
16092         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
16093         Don't cache duration messages if we're not going to use or
16094         free them.
16095
16096 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
16097
16098         * docs/manual/advanced-dparams.xml:
16099         * docs/pwg/advanced-dparams.xml:
16100           more dparam docs
16101         * gst/gstindex.c:
16102           fix docs
16103         * libs/gst/controller/lib.c: (gst_controller_init):
16104           init just once
16105
16106 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16107
16108         * gst/gstelement.c: (gst_element_message_full):
16109           also show file/line/func if no additional debug was given
16110
16111 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
16112         
16113         * win32/vs7/grammar.vcproj:
16114           activate copy of autogenerated files for Release mode
16115
16116 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
16117         
16118         * win32/common/libgstreamer.def:
16119           export gst_value_compare
16120
16121 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
16122
16123         * plugins/elements/Makefile.am:
16124         * plugins/elements/gstelements.c:
16125         * plugins/elements/gstfdsink.c: (_do_init),
16126         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
16127         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
16128         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
16129         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
16130         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
16131         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
16132         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
16133         * plugins/elements/gstfdsink.h:
16134         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
16135
16136 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
16137
16138         * docs/manual/advanced-dparams.xml:
16139           describe controller
16140         * docs/manual/advanced-position.xml:
16141         * docs/manual/basics-init.xml:
16142         * docs/manual/manual.xml:
16143         * docs/manual/titlepage.xml:
16144         * docs/pwg/pwg.xml:
16145         * docs/pwg/titlepage.xml:
16146           cleanup xml (more to come)
16147         * libs/gst/controller/gstcontroller.c:
16148           fix typo
16149
16150 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
16151         
16152         * win32/vs6/grammar.dsp:
16153           add autogen of gstmarshal.c,h for Release mode
16154                 
16155 2006-01-30  Wim Taymans  <wim@fluendo.com>
16156
16157         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16158         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
16159         (gst_base_sink_handle_object), (gst_base_sink_event),
16160         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
16161         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16162         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
16163         (gst_base_sink_deactivate), (gst_base_sink_activate),
16164         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16165         (gst_base_sink_query), (gst_base_sink_change_state):
16166         Basesink cleanups, remove some old code.
16167         Handle the case where a subclass can preroll in the render
16168         method (mostly audiosinks).
16169         Handle more events.
16170         Remove some locks around variables that are now protected
16171         with the PREROLL_LOCK (clock_id, flushing, ..).
16172         Optimize position query some more, do correct locking.
16173         Remove old code to push queue in state change, this is not
16174         needed anymore since preroll blocks on all prerollable items 
16175         now.
16176         Almost implemented as described in design doc.
16177
16178 2006-01-30  Wim Taymans  <wim@fluendo.com>
16179
16180         * tests/check/gst/gstbin.c: (GST_START_TEST):
16181         Wait for refcount to settle down before checking.
16182
16183 2006-01-30  Wim Taymans  <wim@fluendo.com>
16184
16185         * docs/design/part-element-sink.txt:
16186         Pseudo code overview of desired sink behaviour regarding
16187         preroll.
16188
16189 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16190         * win32/vs6/grammar.dsp:
16191           fix some bugs in Release mode for autogenerated files
16192                 
16193 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16194         * win32/common/libgstbase.def:
16195         * win32/common/libgstreamer.def:
16196           export some new symbols: gst_base_src_set_format,
16197           gst_iterator_next, gst_structure_set_valist
16198
16199 2006-01-29  Julien MOUTTE  <julien@moutte.net>
16200
16201         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
16202         Set pad functions unconditionally. Fixes #329105.
16203
16204 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16205         * win32/vs8:
16206           add vs8 project files created by Sergey Scobich
16207
16208 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
16209
16210         * gst/gstutils.c: (gst_element_unlink_pads):
16211         Don't leak pad references.
16212
16213         * tests/check/elements/fakesink.c: (GST_START_TEST):
16214         * tests/check/generic/sinks.c: (GST_START_TEST):
16215         * tests/check/generic/states.c: (GST_START_TEST):
16216         * tests/check/gst/gstbin.c: (GST_START_TEST):
16217         * tests/check/gst/gstcaps.c: (GST_START_TEST):
16218         * tests/check/gst/gstelement.c: (GST_START_TEST):
16219         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16220         * tests/check/gst/gstiterator.c: (GST_START_TEST):
16221         * tests/check/gst/gstvalue.c: (GST_START_TEST):
16222         Fix a bunch of leaks. Make generic/sinks.c
16223         use a bit less cpu by slowing the buffer rate
16224         between fakesrc and fakesink.
16225         
16226 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
16227         * gst/gstcaps.c:
16228         * gst/gstelement.c: (gst_element_send_event):
16229         * gst/gstevent.c:
16230         * gst/gstinfo.c:
16231         * gst/gstiterator.c:
16232         * gst/gstiterator.h:
16233         * gst/gstpad.c: (gst_pad_send_event):
16234         * gst/gststructure.c:
16235         * gst/gsturi.c:
16236         * gst/gstutils.c:
16237         * gst/gstvalue.c:
16238         * libs/gst/base/gstadapter.c:
16239           doc fixes, to link to function, just write gst_cool_function(), don't
16240           prefix with '#'
16241
16242 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16243
16244         * plugins/elements/gsttee.c: (gst_tee_do_push),
16245         (gst_tee_handle_buffer):
16246         Always prefer an actual return value from a src
16247         pad in place of NOT_LINKED. This means we return
16248         WRONG_STATE when all src pads are WRONG_STATE
16249         instead of NOT_LINKED.
16250
16251         Lock when replacing the last message to prevent
16252         racing with the get_property method.
16253
16254         Add debug output
16255
16256 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16257
16258         * tests/check/Makefile.am:
16259         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
16260         (main):
16261         Add a very simple check that should have caught the memleak I fixed
16262         last night (if not for the slice allocator hiding it)
16263
16264 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16265
16266         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16267         (gst_bin_remove_func), (gst_bin_handle_message_func),
16268         (bin_query_duration_fold), (bin_query_generic_fold):
16269         Clean up references to the clock provider when disposed or when
16270         handling a clock-lost message from it.
16271
16272         Unref sinks when performing a query via gst_iterator_fold, as the
16273         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16274
16275         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16276         (gst_clock_set_master):
16277         Drop our reference to the master clock, if any, when we are disposed.
16278
16279         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16280         Chain up in dispose. 
16281
16282 2006-01-26  Wim Taymans  <wim@fluendo.com>
16283
16284         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16285         Add some debugging.
16286
16287 2006-01-26  Julien MOUTTE  <julien@moutte.net>
16288
16289         * plugins/elements/gsttee.c: (gst_tee_do_push),
16290         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16291         handles pad being NOT_LINKED or in WRONG_STATE.
16292
16293 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16294
16295         * win32/MANIFEST:
16296           more updating
16297
16298 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16299
16300         * win32/MANIFEST:
16301           remove obsolete entry
16302
16303 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16304
16305         * docs/gst/gstreamer-sections.txt:
16306         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16307         (gst_bin_iterate_sources), (gst_bin_send_event):
16308         * gst/gstbin.h:
16309         * gst/gstelement.c: (gst_element_send_event):
16310         * gst/gstevent.c:
16311         * gst/gstpad.c: (gst_pad_send_event):
16312           added code for downstream events, reviewed docs in gstevent.c
16313
16314 2006-01-25  Julien MOUTTE  <julien@moutte.net>
16315
16316         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16317         We only query position using the clock in the playing state.
16318         Query peer in the other cases.
16319         * win32/common/config.h: Updates.
16320
16321 2006-01-24  Wim Taymans  <wim@fluendo.com>
16322
16323         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16324         A clock entry that is scheduled for the exact time of the
16325         clock is still in time.
16326
16327         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16328         (gst_base_sink_do_sync):
16329         Add some more debug info.
16330
16331 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16332
16333         * win32/vs7:
16334           Add new vs7 project files and solution.
16335
16336 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16337
16338         * win32/vs7:
16339           all files removed as they were out-dated.
16340
16341 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16342
16343         * docs/random/release:
16344           update notes
16345         * gst/gstbin.c: (gst_bin_init):
16346         * gst/gstbus.c: (gst_bus_new):
16347         * gst/gstbus.h:
16348         * gst/gstpipeline.c: (gst_pipeline_init):
16349           use gst_bus_new(), improve logging, fix docs
16350         * win32/common/config.h:
16351           update for cvs build
16352
16353 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16354
16355         * autogen.sh:
16356           up required version of automake to 1.7
16357
16358 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
16359
16360         * win32/common/libgstreamer.def:
16361           export gst_buffer_is_metadata_writable
16362
16363 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
16364
16365         * docs/gst/gstreamer-sections.txt:
16366         * gst/gstevent.h:
16367           Add gst_event_replace() (#327001)
16368
16369 2006-01-20  Wim Taymans  <wim@fluendo.com>
16370
16371         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16372         Make it actually compile too..
16373
16374 2006-01-20  Wim Taymans  <wim@fluendo.com>
16375
16376         * gst/gstcaps.c:
16377         Clarify behaviour of _is_equal() when passing NULL parameters.
16378
16379         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16380         (gst_pad_set_caps):
16381         Cleanups. Don't unref NULL caps.
16382         When setting the same caps, protect caps of the pad with
16383         proper lock.
16384         Use full functionality of _is_equal() when comparing caps.
16385
16386 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16387
16388         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16389         Don't loop infinitely if there are no buffers to present. Partially
16390         fixes #327197, but collectpads is just broken for reusing elements
16391         to do multiple encodes atm.
16392
16393 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16394
16395         * tools/gst-inspect.c: (print_element_features):
16396         * tools/gst-xmlinspect.c: (main):
16397         URL_HANDLER is not a plugin feature we can search for in
16398         the registry.
16399
16400 2006-01-19  Edward Hervey  <edward@fluendo.com>
16401
16402         * gst/gstelement.c: (gst_element_pads_activate): 
16403         When activating, do src pads first, then sink pads.
16404         When de-activating, do sink pads first, then src pads.
16405
16406 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16407
16408         * docs/gst/gstreamer-sections.txt:
16409         Add gst_index_add_associationv to the docs
16410
16411 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16412
16413         * gst/gstevent.c:
16414           Fix docs typo
16415
16416         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16417         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16418           Do some refactoring. Doesn't actually change functionality,
16419           but makes landing the DRAIN event easier later.
16420
16421 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
16422
16423         * docs/pwg/advanced-scheduling.xml:
16424           Update from 0.9.x to 0.10 API and make example a bit
16425           clearer.
16426
16427 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16428
16429         * docs/gst/gstreamer-sections.txt:
16430         Add gst_buffer_(is|make)_metadata_writable methods.
16431
16432 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16433
16434         * docs/design/part-sparsestreams.txt:
16435         Update sparse streams doc, hopefully for greater clarity
16436
16437 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
16438
16439         * docs/design/part-events.txt:
16440         Remove mention of FILLER events.
16441         Add DRAIN event.
16442
16443         * docs/design/part-sparsestreams.txt:
16444         Write some things about using NEWSEGMENT to keep sparse streams
16445         flowing.
16446
16447 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16448
16449         * gst/gstbin.c: (gst_bin_dispose):
16450           Guard gst_object_unref call against a NULL object (dispose
16451           can theoretically be called multiple times).
16452           
16453 2006-01-18  Wim Taymans  <wim@fluendo.com>
16454
16455         * gst/gstbin.c: (gst_bin_element_set_state):
16456         * gst/gstclock.c: (gst_clock_id_wait):
16457         Added some more debug info.
16458
16459         * libs/gst/base/gstadapter.c:
16460         Added more docs.
16461
16462         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16463         (gst_base_sink_do_sync), (gst_base_sink_chain):
16464         Added some comments.
16465
16466 2006-01-18  Wim Taymans  <wim@fluendo.com>
16467
16468         * tests/check/Makefile.am:
16469         * tests/check/elements/fakesink.c: (chain_async_buffer),
16470         (chain_async), (chain_async_return), (GST_START_TEST),
16471         (fakesink_suite), (main):
16472         Added fakesink test that checks prerolling and clipping
16473         behaviour.
16474
16475         * tests/check/gst/gstutils.c: (GST_START_TEST):
16476         Make check run faster so that buildbots don't timeout.
16477
16478 2006-01-18  Wim Taymans  <wim@fluendo.com>
16479
16480         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16481         (gst_base_sink_do_sync):
16482         Some cleanups.
16483         When the sink finishes blocking on the preroll buffer, it can
16484         immediatly render it instead of rendering when the next buffer
16485         arrives.
16486
16487 2006-01-18  Wim Taymans  <wim@fluendo.com>
16488
16489         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16490         (gst_base_sink_get_property), (gst_base_sink_do_sync),
16491         (gst_base_sink_chain):
16492         Small cleanups.
16493         GST_ELEMENT_CLOCK and sync are protected with LOCK.
16494         Don't store _last_stop if the buffer is dropped.
16495
16496 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16497
16498         * plugins/elements/gsttypefindelement.c:
16499         (gst_type_find_element_class_init):
16500           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16501           object method handler that sets the caps on the pad and we want
16502           that to happen before we emit the signal (fixes e.g. feeding a
16503           plain text file to decodebin).
16504
16505 2006-01-18  Christian Schaller  <Christian@fluendo.com>
16506
16507         * gst/gstplugin.c: Add MPL and Proprietary as license options
16508
16509 2006-01-18  Andy Wingo  <wingo@pobox.com>
16510
16511         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16512         symbol was exported before, it appears this was just an oversight.
16513         Fixes #168703.
16514         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16515
16516         * gst/gstindex.c (gst_index_add_associationv): Changed int in
16517         prototype to gint. OK since this prototype was not in the header.
16518
16519 2006-01-17  Andy Wingo  <wingo@pobox.com>
16520
16521         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16522         registry while we remove plugins.
16523
16524         * tools/gst-inspect.c (print_element_info): Don't unref the
16525         factory arg, that should be the responsibility of whatever code
16526         received the ref. Fixes a double-free when called from
16527         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16528         (main): Unref the factory if we have one.
16529         (print_element_list): No change -- relies on the
16530         plugin_feature_list_free to free the list of features.
16531
16532 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
16533
16534         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16535         (gst_buffer_make_metadata_writable):
16536         * gst/gstbuffer.h:
16537         * libs/gst/base/gstbasetransform.c:
16538         (gst_base_transform_prepare_output_buf):
16539         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16540         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16541           Replace gst_buffer_(make|is)_metadata_writable patch now
16542           that the release is out.
16543
16544 2006-01-17  Andy Wingo  <wingo@pobox.com>
16545
16546         * gst/gstregistry.c: Reflow design comment. Update so as to speak
16547         in the present tense without reference to versions.
16548
16549         * gst/gstregistry.c (gst_registry_add_plugin)
16550         (gst_registry_remove_plugin, gst_registry_remove_feature)
16551         (gst_registry_find_feature, gst_registry_get_feature_list)
16552         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16553         (gst_registry_lookup, gst_registry_scan_path)
16554         (_gst_registry_remove_cache_plugins)
16555         (gst_registry_get_feature_list_by_plugin): Add argument
16556         validation.
16557
16558 === release 0.10.2 ===
16559
16560 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
16561
16562         * configure.ac:
16563           releasing 0.10.2, "If man is five"
16564
16565 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16566
16567         * gst/gstbuffer.c:
16568         * gst/gstbuffer.h:
16569         * libs/gst/base/gstbasetransform.c:
16570         (gst_base_transform_prepare_output_buf):
16571         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16572         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16573           Back out patch until after the release.
16574
16575 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16576
16577         * gst/gstminiobject.c:
16578           Spelling fix in docs.
16579         * ChangeLog - remove conflict indicator
16580
16581 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16582
16583         Reviewed By: Andy Wingo
16584
16585         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16586         (gst_buffer_make_metadata_writable):
16587         * gst/gstbuffer.h:
16588           Add gst_buffer_(is|make)_metadata_writable as analogues of
16589           gst_buffer_(is|make)_writable.
16590
16591         * libs/gst/base/gstbasetransform.c:
16592         (gst_base_transform_prepare_output_buf):
16593         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16594           Use name gst_buffer_(is|make)_metadata_writable functions.
16595
16596         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16597           Test gst_buffer_(is|make)_metadata_writable
16598         
16599           (Closes: #324162)
16600
16601 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16602
16603         * docs/manual/Makefile.am:
16604           don't do parallel make
16605         * configure.ac:
16606           AC_SUBST HOST_CPU
16607         * win32/common/config.h.in:
16608           add generations for HOST_CPU and GST_MAJORMINOR
16609         * win32/common/config.h:
16610           commit generated result
16611
16612 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16613
16614         * docs/manual/appendix-integration.xml:
16615           Update GNOME integration section to use gst_init_get_option_group()
16616           instead of the old popt stuff (#322911). Also, GNOME applications
16617           should  now use gconf*sink and gconf*src instead of the old gconf
16618           helper lib we had.
16619
16620 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16621
16622
16623         * docs/gst/gstreamer-docs.sgml:
16624         * docs/gst/gstreamer-sections.txt:
16625         * docs/libs/gstreamer-libs-sections.txt:
16626           add new API entries to the docs
16627         * libs/gst/controller/Makefile.am:
16628         * libs/gst/controller/gstcontroller.c:
16629         * libs/gst/controller/gstcontroller.h:
16630         * libs/gst/controller/gstcontrollerprivate.h:
16631         * libs/gst/controller/gsthelper.c:
16632         * libs/gst/controller/gstinterpolation.c:
16633           move private structs to private header
16634         * po/README:
16635           gstreamer-0.7 -> gstreamer-0.10
16636         * tests/check/libs/struct_i386.h:
16637           remove private structs
16638
16639 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16640
16641         * plugins/indexers/Makefile.am:
16642           Fixes as part of #317048
16643
16644 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16645
16646         * plugins/indexers/Makefile.am:
16647           fix #316086 - compilation when mmap is missing
16648
16649 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16650
16651         * libs/gst/base/gstbasesink.c:
16652           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16653           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16654         * win32/common/config.h:
16655           added some defines GST_MAJORMINOR and HOST_CPU
16656         * win32/common/libgstbase.def:
16657         * win32/common/libgstreamer.def:
16658           added some exported functions.
16659
16660 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16661
16662         * libs/gst/controller/gstcontroller.c:
16663         (gst_controlled_property_set_interpolation_mode),
16664         (gst_controlled_property_new):
16665         * libs/gst/controller/gstcontroller.h:
16666         * libs/gst/controller/gstinterpolation.c:
16667         (interpolate_none_get_string_value_array):
16668           make G_TYPE_STRING controlable
16669
16670 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16671
16672         * tools/README:
16673         * tools/gst-feedback.1.in:
16674         * tools/gst-inspect.1.in:
16675         * tools/gst-launch.1.in:
16676         * tools/gst-md5sum.1.in:
16677         * tools/gst-typefind.1.in:
16678         * tools/gst-xmlinspect.1.in:
16679         * tools/gst-xmllaunch.1.in:
16680           cleanup man-pages, remove reference to gst-register, document env-vars
16681
16682 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16683
16684         * gst/gstbuffer.c: (gst_buffer_span):
16685           gst_buffer_span should copy the timestamp of the first buffer
16686           if they were both originally overlapping subbuffers of the 
16687           same parent, using the same logic as the 'slow copy' case.
16688
16689 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16690
16691         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16692           Need to awaken ALL the pads when we pop a buffer, otherwise
16693           collectpads only works when there is 2 input streams.
16694
16695 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16696
16697         * docs/random/ensonic/media-device-daemon.txt:
16698           more ideas (dbus)
16699         * gst/gstbuffer.c:
16700           fix doc example, add clarification
16701         * tools/gst-launch.1.in:
16702           add initial info about GST_PLUGIN_PATH, needs more work
16703
16704 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16705
16706         * docs/manual/basics-bins.xml:
16707         * docs/manual/basics-elements.xml:
16708         * docs/manual/intro-basics.xml:
16709           Some more minor docs additions and updates.
16710
16711 2006-01-11  Wim Taymans  <wim@fluendo.com>
16712
16713         * docs/manual/basics-bins.xml:
16714         * docs/manual/basics-elements.xml:
16715         Some small fixes as pointed out by Ser-ver on IRC.
16716
16717 2006-01-10  Edward Hervey  <edward@fluendo.com>
16718
16719         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16720         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16721         the single-segment mode.
16722
16723 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16724
16725         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16726
16727         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16728         (gst_base_src_perform_seek), (gst_base_src_send_event),
16729         (gst_base_src_set_property), (gst_base_src_get_property),
16730         (gst_base_src_loop), (gst_base_src_start),
16731         (gst_base_src_activate_push):
16732         * libs/gst/base/gstbasesrc.h:
16733           Name (private) union; makes Sun's Forte compiler happy (#324900).
16734
16735 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16736
16737         * README:
16738           gst-register is gone.
16739
16740 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16741
16742         * gst/gstvalue.c: (_gst_value_initialize):
16743           make the G_TYPE_DATE instantiation work if debug is disabled
16744
16745 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16746
16747         * gst/gstmessage.c: (gst_message_parse_tag),
16748         (gst_message_parse_error), (gst_message_parse_warning):
16749           Don't crash when return location for error/warning debug
16750           string is NULL; add fact that return locations can be
16751           NULL to docs where appropriate.
16752
16753 2006-01-05  Wim Taymans  <wim@fluendo.com>
16754
16755         * gst/gstplugin.c: (gst_plugin_load_file):
16756         Replace strdup by g_strdup.
16757
16758 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16759
16760         * docs/pwg/advanced-types.xml:
16761           fix doc borkage
16762
16763 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16764
16765         submitted by: Abel Cheung
16766
16767         * po/LINGUAS:
16768         * po/zh_TW.po:
16769           Added Chinese (traditional) translation
16770
16771 2006-01-04  Wim Taymans  <wim@fluendo.com>
16772
16773         * docs/manual/basics-pads.xml:
16774         * docs/plugins/Makefile.am:
16775         * docs/plugins/gstreamer-plugins-docs.sgml:
16776         * docs/plugins/gstreamer-plugins-sections.txt:
16777         * docs/pwg/advanced-clock.xml:
16778         * docs/pwg/advanced-scheduling.xml:
16779         * docs/pwg/advanced-types.xml:
16780         * plugins/elements/gstfdsink.c:
16781         * plugins/elements/gstfdsrc.c:
16782         * plugins/elements/gstfdsrc.h:
16783         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16784         * plugins/elements/gstidentity.h:
16785         * plugins/elements/gstqueue.h:
16786         * plugins/elements/gsttee.c:
16787         * plugins/elements/gsttee.h:
16788         * plugins/elements/gsttypefindelement.c:
16789         (gst_type_find_element_class_init):
16790         * plugins/elements/gsttypefindelement.h:
16791         Small updates to various docs.
16792         Added core plugins to docs.
16793
16794 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16795
16796         * common/gst.supp:
16797           add a suppression for liboil's uninitialized variable
16798
16799 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16800
16801         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16802
16803         * gst/gstutils.h:
16804           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16805           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16806           compiler switch is being used (#325429).
16807
16808 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16809
16810         * gst/gstbin.c: (gst_bin_query):
16811           Disable duration query caching in bins until it gets
16812           fixed (see #324807).
16813
16814 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16815
16816         * tools/gst-inspect.c: (print_element_properties_info):
16817           Handle properties of POINTER and BOXED type.
16818
16819 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16820
16821         * gst/gst.c: (init_post):
16822           Init tags stuff and some other things before loading
16823           any static plugins (there may be other static plugins
16824           than just the GStreamer ones, and they may want to
16825           register their own tags or formats or whatever, and
16826           preferably without segfaulting).
16827
16828         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16829           Print at least a warning in the debug logs if we drop a
16830           query just because we don't know how to adjust the value
16831           in the particular format.
16832
16833 2005-12-24  David Schleef  <ds@schleef.org>
16834
16835         * tools/gstreamer-completion:
16836           Replacement for gst-complete written in sh and sed.  Only
16837           completes names of features, but that's 90% of what I want
16838           it for.  Properties are not available in registry.xml.  (Maybe
16839           they should be...)
16840
16841 === release 0.10.1 ===
16842
16843 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16844
16845         * configure.ac:
16846           releasing 0.10.1, "Nollaig chridheil"
16847
16848 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16849
16850         * docs/faq/cvs.xml:
16851           Add missing quote, should be make ERROR_CFLAGS="".
16852
16853 2005-12-20  Wim Taymans  <wim@fluendo.com>
16854
16855         * docs/design/part-trickmodes.txt:
16856         More documentation on trickmodes.
16857
16858 2005-12-20  Edward Hervey  <edward@fluendo.com>
16859
16860         * gst/gstcaps.c: (gst_static_caps_get_type):
16861         * gst/gstcaps.h:
16862           API addition: GST_TYPE_STATIC_CAPS
16863         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16864         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16865         * gst/gstpadtemplate.h:
16866           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16867         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16868         bindings.
16869
16870 2005-12-18  Wim Taymans  <wim@fluendo.com>
16871
16872         * libs/gst/base/gstadapter.c:
16873         * libs/gst/base/gstadapter.h:
16874         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16875         (gst_base_sink_get_position):
16876         * libs/gst/base/gstbasesink.h:
16877         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16878         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16879         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16880         (gst_base_src_send_event), (gst_base_src_update_length),
16881         (gst_base_src_get_range), (gst_base_src_loop),
16882         (gst_base_src_start):
16883         * libs/gst/base/gstbasesrc.h:
16884         * libs/gst/base/gstbasetransform.h:
16885         * libs/gst/base/gstcollectpads.h:
16886         * libs/gst/base/gstpushsrc.c:
16887         * libs/gst/base/gstpushsrc.h:
16888         * libs/gst/dataprotocol/dataprotocol.c:
16889         * libs/gst/dataprotocol/dataprotocol.h:
16890         * libs/gst/net/gstnetclientclock.h:
16891         * libs/gst/net/gstnettimeprovider.h:
16892         Documentation updates.
16893
16894 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16895
16896         * docs/manual/basics-helloworld.xml:
16897           Remove superfluous closing bracket in helloworld example.
16898
16899 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16900
16901         * tools/gst-launch.1.in:
16902           Update gst-launch man page; add a section with useful
16903           environment variables. Fixes #323882.
16904
16905 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16906
16907         * gst/gst.c:
16908         * gst/gst_private.h:
16909           change some char* into char[]
16910
16911 2005-12-16  Wim Taymans  <wim@fluendo.com>
16912
16913         * gst/gstregistryxml.c: (load_feature):
16914         Cleanups.
16915         Don't use g_object_unref on GstObjects so that we avoid
16916         leaks on unsafe glibs.
16917
16918 2005-12-16  Wim Taymans  <wim@fluendo.com>
16919
16920         * gst/gstbin.c: (gst_bin_recalc_state):
16921         Small doc updates.
16922
16923 2005-12-16  Wim Taymans  <wim@fluendo.com>
16924
16925         * common/check.mak:
16926         Added make forever target for check.
16927
16928 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16929
16930         * gst/gst.c: (init_post):
16931           make the registry cache file HOST_CPU-dependent
16932
16933 2005-12-16  Andy Wingo  <wingo@pobox.com>
16934
16935         * plugins/elements/gstbufferstore.c
16936         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16937         return value.
16938
16939         * tests/check/gst/gstobject.c
16940         (test_fake_object_name_threaded_unique): Pay attention to
16941         g_list_sort return value.
16942
16943 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16944
16945         * tools/gst-feedback-m.m:
16946           Update for 0.9/0.10 (fixes #323870).
16947
16948 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16949
16950         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16951           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16952           
16953         * tests/check/gst/gstminiobject.c: (my_foo_init),
16954         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16955         (test_value_collection), (gst_mini_object_suite):
16956           Add test to ensure refcounts end up as expected when passing
16957           GstMiniObjects through g_object_get() and g_object_set().
16958
16959 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16960
16961         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16962         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16963         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16964         of collectpads. This version removes a lot of races without
16965         touching API/ABI. Yay !
16966
16967 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16968
16969         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16970           Don't allow activation of a srcpad in pull_range if it has no
16971           getrange function.
16972           Change some debug statements to be a little clearer
16973
16974         * plugins/elements/gsttypefindelement.c:
16975         (gst_type_find_handle_src_query):
16976           Check that we have a peer before executing queries thereupon.
16977
16978         * tests/examples/metadata/read-metadata.c: (message_loop):
16979           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16980           immediately return us any available message with 0 timeout.
16981
16982 2005-12-12  Michael Smith  <msmith@fluendo.com>
16983
16984         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16985           Don't unref factories after calling them.
16986         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16987         * plugins/elements/gsttypefindelement.c:
16988         (gst_type_find_element_chain):
16989           Free lists of factories after using them. Fixing typefinding memory
16990           leaks.
16991
16992 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16993
16994         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16995         (gst_plugin_feature_load):
16996           more meaningful debug output
16997         * configure.ac:
16998         * tests/Makefile.am:
16999         * tests/old/examples/Makefile.am:
17000           make make distcheck happy again
17001
17002 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
17003
17004         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17005           Catch the special case where we are operating chain-based,
17006           but the downstream peer pad has no chain function. Emit a
17007           custom error message in this case instead of letting the
17008           core generate one implying that this is some sort of core
17009           bug. It's not, it just means that whatever got plugged
17010           into the pipeline downstream when we announced the type
17011           can only operate pull-based, while our source can only
17012           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
17013           Error string has not been marked for translation yet, as
17014           it probably needs some more work first.
17015
17016         (gst_type_find_element_get_best_possibility):
17017           Add helper function to find the best of all available
17018           found possibilities that qualify given the min. threshold.
17019
17020         (gst_type_find_element_handle_event):
17021           Fix the case where we get an EOS while still in TYPEFIND
17022           mode (we want to chose the best of all possible types,
17023           not just the first type that happens to be in our unsorted
17024           list of possible types).
17025
17026         (gst_type_find_element_chain):
17027           Make sure we return GST_FLOW_ERROR when we errored out
17028           in stop_typefinding(); also, don't just find the best of
17029           all found type entries and then use the last examined
17030           type entry, but actually use the best entry.
17031
17032 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
17033
17034         * tests/examples/typefind/typefind.c: (type_found):
17035         * tests/examples/xml/runxml.c: (xml_loaded):
17036           More gcc4 fixes and a mem leak fix.
17037
17038 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17039
17040         * tests/examples/xml/createxml.c: (object_saved):
17041           gcc 4 fixes
17042
17043 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17044
17045         * tests/Makefile.am:
17046           enable the examples even more
17047
17048 2005-12-12  Andy Wingo  <wingo@pobox.com>
17049
17050         * libs/gst/net/gstnettimeprovider.c
17051         (gst_net_time_provider_class_init, gst_net_time_provider_init)
17052         (gst_net_time_provider_set_property)
17053         (gst_net_time_provider_get_property):
17054         API addition: Export "active" as a GObject property.
17055         (gst_net_time_provider_thread): Only respond to time queries if
17056         the time provider is active.
17057
17058         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
17059         NetTimeProvider, preserving binary compat.
17060
17061 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17062
17063         * tests/examples/controller/audio-example.c: (main):
17064         * tests/examples/launch/Makefile.am:
17065           convert comments again
17066
17067 2005-12-12  Wim Taymans  <wim@fluendo.com>
17068
17069         * libs/gst/base/gstpushsrc.c:
17070         Fix typo.
17071
17072 2005-12-12  Wim Taymans  <wim@fluendo.com>
17073
17074         * docs/libs/gstreamer-libs-sections.txt:
17075         Added new symbol to docs.
17076
17077         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17078         (gst_base_src_init), (gst_base_src_set_format),
17079         (gst_base_src_default_query), (gst_base_src_query),
17080         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
17081         (gst_base_src_perform_seek), (gst_base_src_send_event),
17082         (gst_base_src_default_event), (gst_base_src_event_handler),
17083         (gst_base_src_set_property), (gst_base_src_get_property),
17084         (gst_base_src_wait), (gst_base_src_do_sync),
17085         (gst_base_src_update_length), (gst_base_src_get_range),
17086         (gst_base_src_check_get_range), (gst_base_src_loop),
17087         (gst_base_src_default_negotiate), (gst_base_src_start),
17088         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17089         (gst_base_src_change_state):
17090         * libs/gst/base/gstbasesrc.h:
17091         Implement seeking to other formats than _BYTES.
17092         Implement more seeking methods correctly.
17093         Doc updates.
17094         Added query vmethod.
17095         Added do_seek vmethod to make life easier for subclasses
17096         when seeking.
17097         API addition: gst_base_src_set_format()
17098
17099 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17100
17101         * tests/examples/Makefile.am:
17102           added that too
17103
17104 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17105
17106         * configure.ac:
17107         * docs/random/ensonic/media-device-daemon.txt:
17108         * tests/examples/controller/.cvsignore:
17109         * tests/examples/controller/Makefile.am:
17110         * tests/examples/controller/audio-example.c: (main):
17111         * tests/examples/helloworld/.cvsignore:
17112         * tests/examples/helloworld/Makefile.am:
17113         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
17114         * tests/examples/launch/.cvsignore:
17115         * tests/examples/launch/Makefile.am:
17116         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
17117         * tests/examples/metadata/.cvsignore:
17118         * tests/examples/metadata/Makefile.am:
17119         * tests/examples/metadata/read-metadata.c: (message_loop),
17120         (make_pipeline), (print_tag), (main):
17121         * tests/examples/queue/.cvsignore:
17122         * tests/examples/queue/Makefile.am:
17123         * tests/examples/queue/queue.c: (event_loop), (main):
17124         * tests/examples/typefind/.cvsignore:
17125         * tests/examples/typefind/Makefile.am:
17126         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
17127         (main):
17128         * tests/examples/xml/.cvsignore:
17129         * tests/examples/xml/Makefile.am:
17130         * tests/examples/xml/createxml.c: (object_saved), (main):
17131         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
17132         * tests/old/examples/Makefile.am:
17133         * tests/old/examples/TODO:
17134         * tests/old/examples/controller/.cvsignore:
17135         * tests/old/examples/controller/Makefile.am:
17136         * tests/old/examples/controller/audio-example.c:
17137         * tests/old/examples/helloworld/.cvsignore:
17138         * tests/old/examples/helloworld/Makefile.am:
17139         * tests/old/examples/helloworld/helloworld.c:
17140         * tests/old/examples/launch/.cvsignore:
17141         * tests/old/examples/launch/Makefile.am:
17142         * tests/old/examples/launch/mp3parselaunch.c:
17143         * tests/old/examples/launch/mp3play:
17144         * tests/old/examples/manual/Makefile.am:
17145         * tests/old/examples/metadata/Makefile.am:
17146         * tests/old/examples/metadata/read-metadata.c:
17147         * tests/old/examples/queue/.cvsignore:
17148         * tests/old/examples/queue/Makefile.am:
17149         * tests/old/examples/queue/queue.c:
17150         * tests/old/examples/typefind/.cvsignore:
17151         * tests/old/examples/typefind/Makefile.am:
17152         * tests/old/examples/typefind/typefind.c:
17153         * tests/old/examples/xml/.cvsignore:
17154         * tests/old/examples/xml/Makefile.am:
17155         * tests/old/examples/xml/createxml.c:
17156         * tests/old/examples/xml/runxml.c:
17157           applied some simple fixing to some examples
17158           re-enabled the working examples
17159
17160 2005-12-12  Wim Taymans  <wim@fluendo.com>
17161
17162         * gst/gstsegment.c: (gst_segment_init),
17163         (gst_segment_set_last_stop), (gst_segment_set_seek),
17164         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17165         (gst_segment_to_running_time):
17166         Added more documentation.
17167         Make sure the last_pos value is updated properly.
17168         Make sure to_stream_time and to_running_time don't
17169         operate on wrong values.
17170
17171         * tests/check/gst/gstsegment.c: (GST_START_TEST):
17172         Update check.
17173
17174 2005-12-12  Michael Smith  <msmith@fluendo.com>
17175
17176         * plugins/elements/gsttypefindelement.c: (free_entry),
17177         (gst_type_find_element_chain):
17178           Now that we're not leaking factories, make sure we keep references
17179           to them while we need them.
17180
17181 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17182
17183         * tests/check/gst/struct_i386.h:
17184           ifdef out the XML structs
17185
17186 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17187
17188         * gst/gstvalue.c: (gst_value_transform_double_fraction):
17189           floor is not needed, F is always positive; this obviates the
17190           need for adding -lm when building without libxml
17191
17192 2005-12-12  Wim Taymans  <wim@fluendo.com>
17193
17194         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17195         Take current playback rate into account when reporting
17196         the position.
17197
17198 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17199
17200         * docs/manual/mime-world.fig:
17201           Let's try this again, this time with a file that is
17202           actually in XFig format.
17203
17204 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17205
17206         * docs/manual/mime-world.fig:
17207           Add audioconvert element to diagram so that it
17208           matches the text and the code (fixes #319526).
17209
17210 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17211
17212         * docs/pwg/building-chainfn.xml:
17213         * docs/pwg/building-pads.xml:
17214         * docs/pwg/building-state.xml:
17215         * docs/pwg/other-source.xml:
17216           Update state change stuff for 0.10 (fixes #322969).
17217
17218 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17219
17220         * docs/manual/advanced-dataaccess.xml:
17221         * docs/manual/appendix-checklist.xml:
17222         * docs/manual/appendix-programs.xml:
17223         * docs/manual/basics-pads.xml:
17224         * docs/manual/highlevel-components.xml:
17225         * docs/manual/manual.xml:
17226           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
17227           add converters in front of pipelines; remove curly
17228           brackets for threads stuff, they no longer exist; use
17229           GST_TYPE_FRACTION for framerates; update some pieces of
17230           code to 0.10, but there's plenty more to do.
17231
17232         * docs/manual/appendix-porting.xml:
17233           Expand on asynchroneous state changes; s/0.9/0.10/;
17234           mention disappearance of gst_init_get_popt_table()
17235           (fixes #322916).
17236
17237 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17238
17239         * docs/faq/using.xml:
17240           Spider no longer exists, and neither does gst-launch-ext.
17241           Update examples to use decodebin and playbin and put
17242           converters in front of sinks (fixes #323726).
17243
17244 2005-12-09  Michael Smith  <msmith@fluendo.com>
17245
17246         * plugins/elements/gsttypefindelement.c: (find_peek),
17247         (gst_type_find_element_chain):
17248           Fix leaking element factories in typefinding.
17249           Fix problem where we forgot about a probable type on non-seekable
17250           files, and thus later mis-typefound it.
17251
17252 2005-12-09  Michael Smith  <msmith@fluendo.com>
17253
17254         * common/m4/gst-makecontext.m4:
17255         * common/m4/gst-mcsc.m4:
17256         * configure.ac:
17257         * win32/common/config.h:
17258         * win32/common/config.h.in:
17259           Remove makecontext stuff; not used in 0.10 and causes problems on
17260           HPUX according to bug #322441
17261
17262 2005-12-07  Wim Taymans  <wim@fluendo.com>
17263
17264         * tests/check/Makefile.am:
17265         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
17266         (main):
17267         * tests/check/libs/struct_i386.h:
17268         Added ABI check for libs
17269
17270 2005-12-07  Wim Taymans  <wim@fluendo.com>
17271
17272         * tests/check/Makefile.am:
17273         And add the struct_i386.h to dist.
17274
17275 2005-12-07  Wim Taymans  <wim@fluendo.com>
17276
17277         * tests/check/Makefile.am:
17278         * tests/check/gst/.cvsignore:
17279         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17280         (main):
17281         * tests/check/gst/struct_i386.h:
17282         Added check for ABI compatibility.
17283
17284 2005-12-07  Wim Taymans  <wim@fluendo.com>
17285
17286         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17287         (gst_fake_src_get_times), (gst_fake_src_create):
17288         Fix broken sync option, fixes #323259
17289
17290 2005-12-07  Wim Taymans  <wim@fluendo.com>
17291
17292         * gst/gstbuffer.c:
17293         Small docs update.
17294
17295         * gst/gstcaps.c: (gst_caps_is_equal):
17296         Don't assert on NULL <--> X. Fixes #323260
17297
17298         * gst/gstminiobject.c: (gst_mini_object_replace):
17299         If we're doing atomic operations, we might just as well use
17300         the proper way to get an atomic pointer.
17301
17302         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17303         Clean up debugging.
17304
17305 2005-12-07  Michael Smith  <msmith@fluendo.com>
17306
17307         * gst/parse/grammar.y:
17308           Remove handling of { } for threads.
17309
17310 2005-12-06  David Schleef  <ds@schleef.org>
17311
17312         * libs/gst/base/gstbasetransform.c: speling fix.
17313
17314 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17315
17316         * docs/libs/tmpl/gstdataprotocol.sgml:
17317         * docs/random/omega/testing/gstobject.c:
17318         * gst/gst.c:
17319         * gst/gstclock.c:
17320         * gst/gstelement.c:
17321         * gst/gstelementfactory.c:
17322         * gst/gsterror.c:
17323         * gst/gstevent.c:
17324         * gst/gstghostpad.c:
17325         * gst/gstinfo.c:
17326         * gst/gstpadtemplate.c:
17327         * gst/gstregistryxml.c:
17328         * gst/gsttaglist.c:
17329         * gst/gsttagsetter.c:
17330         * gst/gsttypefind.c:
17331         * gst/gstvalue.c:
17332         * libs/gst/base/gstbasesrc.c:
17333         * libs/gst/net/gstnetclientclock.c:
17334         * libs/gst/net/gstnettimeprovider.c:
17335         * plugins/elements/gstfakesrc.c:
17336         * plugins/elements/gstfdsrc.c:
17337         * plugins/elements/gstfilesrc.c:
17338         * plugins/elements/gstidentity.c:
17339         * plugins/elements/gstqueue.c:
17340         * plugins/elements/gsttypefindelement.c:
17341         * plugins/indexers/gstfileindex.c:
17342         * plugins/indexers/gstmemindex.c:
17343         * tests/check/gst/gsttag.c:
17344         * tests/old/examples/cutter/cutter.c:
17345         * tests/old/examples/mixer/mixer.c:
17346         * tests/old/examples/xml/runxml.c: (main):
17347         * tests/old/testsuite/caps/normalisation.c:
17348         * tests/old/testsuite/debug/global.c:
17349         * tests/old/testsuite/parse/parse1.c:
17350         * tools/gst-xmlinspect.c:
17351         * win32/common/dirent.c:
17352           expand tabs
17353
17354 === release 0.10.0 ===
17355
17356 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17357
17358         * configure.ac:
17359           releasing 0.10.0, "Maroilles"
17360
17361 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17362
17363         submitted by: Funda Wang <fundawang@linux.net.cn>
17364
17365         * po/LINGUAS:
17366         * po/zh_CN.po:
17367           added Chinese (Traditional) translation
17368
17369 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17370
17371         * docs/gst/gstreamer-sections.txt:
17372         * docs/libs/tmpl/gstdataprotocol.sgml:
17373         * docs/random/thomasvs/TODO:
17374         * gst/gstutils.c:
17375         * gst/gstutils.h:
17376           fix docs
17377
17378 2005-12-05  Andy Wingo  <wingo@pobox.com>
17379
17380         patch by: Wim Taymans <wim@fluendo.com>
17381
17382         * libs/gst/base/gstbasetransform.c
17383         (gst_base_transform_prepare_output_buf)
17384         (gst_base_transform_buffer_alloc):
17385         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17386         alloc_buffer_and_set_caps.
17387
17388         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17389         set_caps on the source pad.
17390         (gst_pad_alloc_buffer_and_set_caps): New function, does what
17391         alloc_buffer used to do. Fixes #322874.
17392
17393         * docs/gst/gstreamer-sections.txt: 
17394         * docs/design/part-negotiation.txt: 
17395         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17396         changes.
17397
17398 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17399
17400         patch by: Sebastien Moutte
17401
17402         * win32/MANIFEST:
17403         * win32/common/config.h.in:
17404         * win32/vs6/libgstcontroller.dsp:
17405           win32 build fixes
17406
17407 2005-12-05  Wim Taymans  <wim@fluendo.com>
17408
17409         * gst/gstcaps.c: (gst_caps_is_equal):
17410         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17411         (gst_fake_src_create):
17412         Back out previous code changes, leave doc updates, file bugs 
17413         instead. 
17414
17415 2005-12-05  Wim Taymans  <wim@fluendo.com>
17416
17417         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17418         (gst_fake_src_get_times), (gst_fake_src_create):
17419         * plugins/elements/gstfakesrc.h:
17420         Fix broken sync code.
17421
17422 2005-12-05  Wim Taymans  <wim@fluendo.com>
17423
17424         * gst/gstcaps.c: (gst_caps_is_equal):
17425         Comparing NULL against !NULL yields different caps, not a
17426         failure.
17427
17428 2005-12-05  Wim Taymans  <wim@fluendo.com>
17429
17430         * gst/gstpipeline.c:
17431         Fix small typo in docs.
17432
17433 2005-12-05  Andy Wingo  <wingo@pobox.com>
17434
17435         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
17436
17437         * gst/gst.c (init_post): remove hard-coded 0.9 location for
17438         registries/plugins with a MAJORMINOR one.
17439         (plugin_desc): Rename library from gstcoreleements to
17440         staticelements. Fixes #323222.
17441
17442 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
17443
17444         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17445           Change debug category to 'collectpads' from 'collect_pads'
17446           (fixes #323250).
17447
17448 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17449
17450         patch by: Sebastien Moutte
17451
17452         * libs/gst/controller/gstinterpolation.c:
17453           use convert function for uint64/double
17454         * win32/vs6/libgstcontroller.dsp:
17455           link to GLib
17456
17457 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17458
17459         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17460         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17461         * gst/gstutils.h:
17462         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17463           add tests that seem to show that the guint64/gdouble conversions
17464           are correct.
17465
17466 2005-12-02  Wim Taymans  <wim@fluendo.com>
17467
17468         * gst/gstregistry.c: (gst_registry_add_path):
17469         * gst/gstregistry.h:
17470         * gst/gstregistryxml.c:
17471         Fix docs again.
17472
17473 2005-12-02  Wim Taymans  <wim@fluendo.com>
17474
17475         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17476         (gst_util_uint64_scale_int):
17477         Small cleanup.
17478
17479         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17480         Add debug log line.
17481
17482         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17483         Add FIXME.
17484
17485 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17486
17487         * win32/MANIFEST:
17488         * win32/common/config.h:
17489         * win32/vs6/gstreamer.dsw:
17490         * win32/vs6/libgstcoreelements.dsp:
17491         * win32/vs6/libgstelements.dsp:
17492           renamed core elements plugin
17493
17494 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17495
17496         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17497         (get_candidates):
17498           do piece-wise major/minor comparison so 0.9 < 0.10
17499           also allow .exe extensions for tools
17500
17501 2005-12-02  Michael Smith  <msmith@fluendo.com>
17502
17503         * gst/gst.c:
17504           Escape a % to make gtkdoc happier; bug 322958.
17505
17506 === release 0.9.7 ===
17507
17508 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17509
17510         * configure.ac:
17511           releasing 0.9.7, "My Dog Has No Nose"
17512
17513 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17514
17515         * common/gst-xmlinspect.py:
17516         * configure.ac:
17517         * docs/libs/tmpl/gstdataprotocol.sgml:
17518         * docs/random/release:
17519         * po/af.po:
17520         * po/az.po:
17521         * po/bg.po:
17522         * po/ca.po:
17523         * po/cs.po:
17524         * po/de.po:
17525         * po/en_GB.po:
17526         * po/fr.po:
17527         * po/it.po:
17528         * po/nb.po:
17529         * po/nl.po:
17530         * po/ru.po:
17531         * po/sq.po:
17532         * po/sr.po:
17533         * po/sv.po:
17534         * po/tr.po:
17535         * po/uk.po:
17536         * po/vi.po:
17537         * win32/common/config.h:
17538         * win32/common/config.h.in:
17539         * win32/vs6/gst_inspect.dsp:
17540         * win32/vs6/gst_launch.dsp:
17541         * win32/vs6/libgstbase.dsp:
17542         * win32/vs6/libgstelements.dsp:
17543         * win32/vs6/libgstreamer.dsp:
17544         * win32/vs7/GStreamer.vcproj:
17545         * win32/vs7/gst-inspect.vcproj:
17546         * win32/vs7/gst-launch.vcproj:
17547         * win32/vs7/libgstbase.vcproj:
17548           bump GST_MAJORMINOR to 0.10
17549           reset libtool version
17550
17551 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17552
17553         * po/LINGUAS:
17554         * po/bg.po:
17555           Added Bulgarian translation by (Alexander Shopov)
17556
17557 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17558
17559         * tests/check/gst/gstplugin.c:
17560           fix test
17561
17562 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17563
17564         * common/gst-xmlinspect.py:
17565         * common/gtk-doc-plugins.mak:
17566         * configure.ac:
17567         * docs/Makefile.am:
17568         * docs/gst/Makefile.am:
17569         * docs/gst/gstreamer-docs.sgml:
17570         * docs/gst/gstreamer-sections.txt:
17571         * docs/gst/gstreamer.types:
17572         * docs/gst/gstreamer.types.in:
17573         * docs/plugins/Makefile.am:
17574         * docs/plugins/gstreamer-plugins-docs.sgml:
17575         * docs/plugins/gstreamer-plugins-sections.txt:
17576         * docs/plugins/gstreamer-plugins.types:
17577         * docs/plugins/inspect.stamp:
17578         * docs/plugins/inspect/plugin-coreelements.xml:
17579         * docs/plugins/inspect/plugin-coreindexers.xml:
17580         * docs/plugins/scanobj-build.stamp:
17581         * gstreamer.spec.in:
17582         * plugins/elements/Makefile.am:
17583         * plugins/elements/gstelements.c:
17584         * plugins/elements/gstfakesink.c:
17585         * plugins/elements/gstfakesrc.c:
17586         * plugins/elements/gstfilesink.c:
17587         * plugins/elements/gstfilesrc.c:
17588         * plugins/elements/gstqueue.c:
17589         * plugins/indexers/Makefile.am:
17590         * plugins/indexers/gstindexers.c:
17591           document core plugins in a separate document just like all the
17592           others
17593           rename these plugins to something starting with core
17594
17595 2005-12-01  Andy Wingo  <wingo@pobox.com>
17596
17597         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17598         padding here before, but it missed the commit.
17599
17600 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17601
17602         * libs/gst/controller/gstinterpolation.c:
17603           whitespace prices have crashed, we should feel free to use some now
17604           use gst_guint64_to_gdouble
17605
17606 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17607
17608         * libs/gst/controller/gstcontroller.c:
17609         * libs/gst/controller/gsthelper.c:
17610         * libs/gst/controller/gstinterpolation.c:
17611         * libs/gst/controller/lib.c:
17612           wrap config.h include
17613
17614 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17615
17616         * docs/gst/gstreamer-sections.txt:
17617           update docs
17618
17619 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17620
17621         * plugins/elements/gstelements.c:
17622         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17623         (gst_fd_sink__class_init), (gst_fd_sink__init),
17624         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17625         (gst_fd_sink__get_property):
17626         * plugins/elements/gstfdsink.h:
17627         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17628         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17629         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17630         (gst_fd_src_unlock), (gst_fd_src_set_property),
17631         (gst_fd_src_get_property), (gst_fd_src_create),
17632         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17633         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17634         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17635         (gst_fd_src_uri_handler_init):
17636         * plugins/elements/gstfdsrc.h:
17637         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17638           more anal cleanup
17639
17640 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17641
17642         * docs/gst/Makefile.am:
17643         * docs/gst/gstreamer.types.in:
17644         * gst/Makefile.am:
17645           fix the docs build
17646
17647 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17648
17649         * configure.ac:
17650         * gst/Makefile.am:
17651         * gst/gst.c:
17652         * gst/gstplugin.h:
17653         * gst/gstregistry.h:
17654         * tests/benchmarks/complexity.c:
17655         * tests/benchmarks/mass-elements.c:
17656         * tests/check/Makefile.am:
17657         * tools/Makefile.am:
17658         * tools/gst-inspect.c:
17659         * tools/gst-xmlinspect.c:
17660           various fixes to make
17661           --disable-nls --disable-registry --disable-loadsave
17662           --disable-parse --disable-gst-debug
17663           work and get the core .so down to 360444 bytes after stripping
17664
17665 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17666
17667         * Makefile.am:
17668         * configure.ac:
17669           descend into tests
17670         * docs/random/thomasvs/TODO:
17671         * tests/Makefile.am:
17672         * tests/README:
17673           add a README
17674
17675 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17676
17677         * win32/GStreamer.vcproj:
17678         * win32/MANIFEST:
17679         * win32/Makefile:
17680         * win32/Makefile.inspect:
17681         * win32/Makefile.launch:
17682         * win32/Makefile.register:
17683         * win32/README.txt:
17684         * win32/gst-inspect.vcproj:
17685         * win32/gst-launch.vcproj:
17686         * win32/gst-register.vcproj:
17687         * win32/gstelements.vcproj:
17688         * win32/gstgetbits.def:
17689         * win32/gstgetbits.vcproj:
17690         * win32/gstreamer-dbg.def:
17691         * win32/gstreamer.def:
17692         * win32/libgstbase.def:
17693         * win32/libgstbase.vcproj:
17694         * win32/link_oldruntime.c:
17695         * win32/mman.c:
17696         * win32/mman.h:
17697         * win32/mman.inl:
17698         * win32/msvc71.sln:
17699           move even more stuff, win32/ is nice and clean now
17700
17701 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17702
17703         * libs/gst/control/.cvsignore:
17704         * win32/MANIFEST:
17705         * win32/config.h:
17706         * win32/dirent.c:
17707         * win32/dirent.h:
17708         * win32/gstbytestream.def:
17709         * win32/gstbytestream.vcproj:
17710         * win32/gstconfig.h:
17711         * win32/gstenumtypes.c:
17712         * win32/gstenumtypes.h:
17713         * win32/gstoptimalscheduler.vcproj:
17714         * win32/gstversion.h:
17715         * win32/gtchar.h:
17716         * win32/testsuite/bins.vcproj:
17717         * win32/testsuite/bytestream.vcproj:
17718         * win32/testsuite/caps.vcproj:
17719         * win32/testsuite/cleanup.vcproj:
17720         * win32/testsuite/clock.vcproj:
17721         * win32/testsuite/debug.vcproj:
17722         * win32/testsuite/dlopen.vcproj:
17723         * win32/testsuite/dynparams.vcproj:
17724         * win32/testsuite/elements.vcproj:
17725         * win32/testsuite/ghostpads.vcproj:
17726         * win32/testsuite/indexers.vcproj:
17727         * win32/testsuite/negotiation.vcproj:
17728         * win32/testsuite/parse.vcproj:
17729         * win32/testsuite/plugin.vcproj:
17730         * win32/testsuite/refcounting.vcproj:
17731         * win32/testsuite/schedulers.vcproj:
17732         * win32/testsuite/states.vcproj:
17733         * win32/testsuite/tags.vcproj:
17734         * win32/testsuite/threads.vcproj:
17735           remove old win32 stuff that isn't maintained and should be
17736           reorganized
17737
17738 2005-11-30  Andy Wingo  <wingo@pobox.com>
17739
17740         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17741         loading the gst.interfaces python module bork.
17742
17743         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17744         available since GLib 2.2. Fixes #318031.
17745
17746 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17747
17748         * Makefile.am:
17749         * check/.cvsignore:
17750         * check/Makefile.am:
17751         * check/elements/.cvsignore:
17752         * check/elements/fakesrc.c:
17753         * check/elements/fdsrc.c:
17754         * check/elements/identity.c:
17755         * check/generic/.cvsignore:
17756         * check/generic/states.c:
17757         * check/gst-libs/.cvsignore:
17758         * check/gst-libs/controller.c:
17759         * check/gst-libs/gdp.c:
17760         * check/gst/.cvsignore:
17761         * check/gst/capslist.h:
17762         * check/gst/gst.c:
17763         * check/gst/gstbin.c:
17764         * check/gst/gstbuffer.c:
17765         * check/gst/gstbus.c:
17766         * check/gst/gstcaps.c:
17767         * check/gst/gstelement.c:
17768         * check/gst/gstevent.c:
17769         * check/gst/gstghostpad.c:
17770         * check/gst/gstiterator.c:
17771         * check/gst/gstmessage.c:
17772         * check/gst/gstminiobject.c:
17773         * check/gst/gstobject.c:
17774         * check/gst/gstpad.c:
17775         * check/gst/gstpipeline.c:
17776         * check/gst/gstplugin.c:
17777         * check/gst/gstsegment.c:
17778         * check/gst/gststructure.c:
17779         * check/gst/gstsystemclock.c:
17780         * check/gst/gsttag.c:
17781         * check/gst/gstutils.c:
17782         * check/gst/gstvalue.c:
17783         * check/net/.cvsignore:
17784         * check/net/gstnetclientclock.c:
17785         * check/net/gstnettimeprovider.c:
17786         * check/pipelines/.cvsignore:
17787         * check/pipelines/cleanup.c:
17788         * check/pipelines/simple_launch_lines.c:
17789         * check/pipelines/stress.c:
17790         * check/states/.cvsignore:
17791         * check/states/sinks.c:
17792         * configure.ac:
17793         * examples/Makefile.am:
17794         * examples/appreader/.cvsignore:
17795         * examples/appreader/Makefile.am:
17796         * examples/appreader/appreader.c:
17797         * examples/controller/.cvsignore:
17798         * examples/controller/Makefile.am:
17799         * examples/controller/audio-example.c:
17800         * examples/cutter/.cvsignore:
17801         * examples/cutter/Makefile.am:
17802         * examples/cutter/cutter.c:
17803         * examples/cutter/cutter.h:
17804         * examples/events/Makefile.am:
17805         * examples/events/seek.c:
17806         * examples/helloworld/.cvsignore:
17807         * examples/helloworld/Makefile.am:
17808         * examples/helloworld/helloworld.c:
17809         * examples/helloworld2/.cvsignore:
17810         * examples/helloworld2/Makefile.am:
17811         * examples/helloworld2/helloworld2.c:
17812         * examples/launch/.cvsignore:
17813         * examples/launch/Makefile.am:
17814         * examples/launch/mp3parselaunch.c:
17815         * examples/launch/mp3play:
17816         * examples/manual/.cvsignore:
17817         * examples/manual/Makefile.am:
17818         * examples/manual/extract.pl:
17819         * examples/metadata/Makefile.am:
17820         * examples/metadata/read-metadata.c:
17821         * examples/mixer/.cvsignore:
17822         * examples/mixer/Makefile.am:
17823         * examples/mixer/mixer.c:
17824         * examples/mixer/mixer.h:
17825         * examples/pingpong/.cvsignore:
17826         * examples/pingpong/Makefile.am:
17827         * examples/pingpong/pingpong.c:
17828         * examples/plugins/.cvsignore:
17829         * examples/plugins/Makefile.am:
17830         * examples/plugins/example.c:
17831         * examples/plugins/example.h:
17832         * examples/pwg/.cvsignore:
17833         * examples/pwg/Makefile.am:
17834         * examples/pwg/extract.pl:
17835         * examples/queue/.cvsignore:
17836         * examples/queue/Makefile.am:
17837         * examples/queue/queue.c:
17838         * examples/queue2/.cvsignore:
17839         * examples/queue2/Makefile.am:
17840         * examples/queue2/queue2.c:
17841         * examples/queue3/.cvsignore:
17842         * examples/queue3/Makefile.am:
17843         * examples/queue3/queue3.c:
17844         * examples/queue4/.cvsignore:
17845         * examples/queue4/Makefile.am:
17846         * examples/queue4/queue4.c:
17847         * examples/retag/.cvsignore:
17848         * examples/retag/Makefile.am:
17849         * examples/retag/retag.c:
17850         * examples/retag/transcode.c:
17851         * examples/thread/.cvsignore:
17852         * examples/thread/Makefile.am:
17853         * examples/thread/thread.c:
17854         * examples/typefind/.cvsignore:
17855         * examples/typefind/Makefile.am:
17856         * examples/typefind/typefind.c:
17857         * examples/xml/.cvsignore:
17858         * examples/xml/Makefile.am:
17859         * examples/xml/createxml.c:
17860         * examples/xml/runxml.c:
17861         * tests/Makefile.am:
17862         * tests/check/Makefile.am:
17863         * testsuite/.cvsignore:
17864         * testsuite/Makefile.am:
17865         * testsuite/Rules:
17866         * testsuite/caps/.cvsignore:
17867         * testsuite/caps/Makefile.am:
17868         * testsuite/caps/app_fixate.c:
17869         * testsuite/caps/audioscale.c:
17870         * testsuite/caps/caps.c:
17871         * testsuite/caps/caps.h:
17872         * testsuite/caps/caps_strings:
17873         * testsuite/caps/compatibility.c:
17874         * testsuite/caps/deserialize.c:
17875         * testsuite/caps/enumcaps.c:
17876         * testsuite/caps/eratosthenes.c:
17877         * testsuite/caps/filtercaps.c:
17878         * testsuite/caps/fixed.c:
17879         * testsuite/caps/fraction-convert.c:
17880         * testsuite/caps/fraction-multiply-and-zero.c:
17881         * testsuite/caps/intersect2.c:
17882         * testsuite/caps/intersection.c:
17883         * testsuite/caps/normalisation.c:
17884         * testsuite/caps/random.c:
17885         * testsuite/caps/renegotiate.c:
17886         * testsuite/caps/sets.c:
17887         * testsuite/caps/simplify.c:
17888         * testsuite/caps/string-conversions.c:
17889         * testsuite/caps/structure.c:
17890         * testsuite/caps/subtract.c:
17891         * testsuite/caps/union.c:
17892         * testsuite/debug/.cvsignore:
17893         * testsuite/debug/Makefile.am:
17894         * testsuite/debug/category.c:
17895         * testsuite/debug/commandline.c:
17896         * testsuite/debug/global.c:
17897         * testsuite/debug/output.c:
17898         * testsuite/debug/printf_extension.c:
17899         * testsuite/dlopen/.cvsignore:
17900         * testsuite/dlopen/Makefile.am:
17901         * testsuite/dlopen/dlopen_gst.c:
17902         * testsuite/dlopen/loadgst.c:
17903         * testsuite/elements/.cvsignore:
17904         * testsuite/elements/Makefile.am:
17905         * testsuite/elements/gst-inspect-check.in:
17906         * testsuite/elements/struct_i386.h:
17907         * testsuite/elements/struct_size.c:
17908         * testsuite/indexers/.cvsignore:
17909         * testsuite/indexers/Makefile.am:
17910         * testsuite/indexers/cache1.c:
17911         * testsuite/indexers/indexdump.c:
17912         * testsuite/parse/.cvsignore:
17913         * testsuite/parse/Makefile.am:
17914         * testsuite/parse/parse1.c:
17915         * testsuite/parse/parse2.c:
17916         * testsuite/plugin/.cvsignore:
17917         * testsuite/plugin/Makefile.am:
17918         * testsuite/plugin/README:
17919         * testsuite/plugin/dynamic.c:
17920         * testsuite/plugin/linked.c:
17921         * testsuite/plugin/loading.c:
17922         * testsuite/plugin/registry.c:
17923         * testsuite/plugin/static.c:
17924         * testsuite/plugin/static2.c:
17925         * testsuite/plugin/testplugin.c:
17926         * testsuite/plugin/testplugin2.c:
17927         * testsuite/plugin/testplugin2_s.c:
17928         * testsuite/plugin/testplugin_s.c:
17929         * testsuite/refcounting/.cvsignore:
17930         * testsuite/refcounting/Makefile.am:
17931         * testsuite/refcounting/bin.c:
17932         * testsuite/refcounting/element.c:
17933         * testsuite/refcounting/element_pad.c:
17934         * testsuite/refcounting/mainloop.c:
17935         * testsuite/refcounting/mem.c:
17936         * testsuite/refcounting/mem.h:
17937         * testsuite/refcounting/object.c:
17938         * testsuite/refcounting/pad.c:
17939         * testsuite/refcounting/sched.c:
17940         * testsuite/refcounting/thread.c:
17941         * testsuite/states/.cvsignore:
17942         * testsuite/states/Makefile.am:
17943         * testsuite/states/bin.c:
17944         * testsuite/states/locked.c:
17945         * testsuite/states/parent.c:
17946         * testsuite/threads/.cvsignore:
17947         * testsuite/threads/159566.c:
17948         * testsuite/threads/159852.c:
17949         * testsuite/threads/Makefile.am:
17950         * testsuite/threads/queue.c:
17951         * testsuite/threads/signals.c:
17952         * testsuite/threads/staticrec.c:
17953         * testsuite/threads/thread.c:
17954         * testsuite/threads/threadb.c:
17955         * testsuite/threads/threadc.c:
17956         * testsuite/threads/threadd.c:
17957         * testsuite/threads/threade.c:
17958         * testsuite/threads/threadf.c:
17959         * testsuite/threads/threadg.c:
17960         * testsuite/threads/threadh.c:
17961         * testsuite/threads/threadi.c:
17962           move all of these under tests
17963
17964 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17965
17966         * configure.ac:
17967         * tests/Makefile.am:
17968           fix distcheck
17969
17970 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17971
17972         * docs/gst/gstreamer-sections.txt:
17973         * tests/sched/.cvsignore:
17974         * tests/sched/Makefile.am:
17975         * tests/sched/cases/(fs-fs).xml:
17976         * tests/sched/cases/(fs-i-fs).xml:
17977         * tests/sched/cases/(fs-i-i-fs).xml:
17978         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17979         * tests/sched/dynamic-pipeline.c:
17980         * tests/sched/interrupt1.c:
17981         * tests/sched/interrupt2.c:
17982         * tests/sched/interrupt3.c:
17983         * tests/sched/runtestcases:
17984         * tests/sched/runxml.c:
17985         * tests/sched/sched-stress.c:
17986         * tests/sched/sort.c:
17987         * tests/sched/testcases:
17988         * tests/sched/testcases1.tc:
17989         * tests/seeking/.cvsignore:
17990         * tests/seeking/Makefile.am:
17991         * tests/seeking/seeking1.c:
17992         * tests/threadstate/.cvsignore:
17993         * tests/threadstate/Makefile.am:
17994         * tests/threadstate/test1.c:
17995         * tests/threadstate/test2.c:
17996         * tests/threadstate/threadstate1.c:
17997         * tests/threadstate/threadstate2.c:
17998         * tests/threadstate/threadstate3.c:
17999         * tests/threadstate/threadstate4.c:
18000         * tests/threadstate/threadstate5.c:
18001           remove obsolete tests
18002         * configure.ac:
18003         * tests/bench-complexity.scm:
18004         * tests/bench-mass_elements.scm:
18005         * tests/complexity.c:
18006         * tests/complexity.gnuplot:
18007         * tests/instantiate/.cvsignore:
18008         * tests/instantiate/Makefile.am:
18009         * tests/instantiate/caps.c:
18010         * tests/mass_elements.c:
18011         * tests/network-clock-utils.scm:
18012         * tests/network-clock.scm:
18013         * tests/plot-data:
18014         First pass at cleaning up tests/ dir before moving the rest
18015         Combined with CVS surgery
18016
18017 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18018
18019         * po/POTFILES.in:
18020           queue has moved, update
18021
18022 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18023
18024         * docs/gst/gstreamer-sections.txt:
18025           remove double entries from the docs
18026         * gst/gst_private.h:
18027         * gst/gstinfo.c: (_gst_debug_init):
18028           remove the THREAD debug category
18029         * gst/Makefile.am:
18030         * gst/gstqueue.c:
18031         * gst/gstqueue.h:
18032         * docs/gst/gstreamer.types:
18033         * plugins/elements/gstqueue.c: (gst_queue_get_type),
18034         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
18035           completely move queue and fix up debugging categories
18036
18037 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18038
18039         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18040           make initialization portable, using LL is not
18041
18042 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18043
18044         * win32/common/gstconfig.h:
18045           add large padding
18046
18047 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18048
18049         * win32/common/libgstreamer.def:
18050           rename symbols; sort base section
18051
18052 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18053
18054         * gst/gstclock.c: (do_linear_regression):
18055           remove crack non-portable handrolled DEBUG macro
18056
18057 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18058
18059         * docs/random/release:
18060           update notes
18061         * win32/common/gstenumtypes.c: (register_gst_object_flags),
18062         (gst_object_flags_get_type), (register_gst_bin_flags),
18063         (gst_bin_flags_get_type), (register_gst_buffer_flag),
18064         (gst_buffer_flag_get_type), (register_gst_bus_flags),
18065         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18066         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
18067         (gst_caps_flags_get_type), (register_gst_clock_return),
18068         (gst_clock_return_get_type), (register_gst_clock_entry_type),
18069         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18070         (gst_clock_flags_get_type), (register_gst_state),
18071         (gst_state_get_type), (register_gst_state_change_return),
18072         (gst_state_change_return_get_type), (register_gst_state_change),
18073         (gst_state_change_get_type), (register_gst_element_flags),
18074         (gst_element_flags_get_type), (register_gst_core_error),
18075         (gst_core_error_get_type), (register_gst_library_error),
18076         (gst_library_error_get_type), (register_gst_resource_error),
18077         (gst_resource_error_get_type), (register_gst_stream_error),
18078         (gst_stream_error_get_type), (register_gst_event_type_flags),
18079         (gst_event_type_flags_get_type), (register_gst_event_type),
18080         (gst_event_type_get_type), (register_gst_seek_type),
18081         (gst_seek_type_get_type), (register_gst_seek_flags),
18082         (gst_seek_flags_get_type), (register_gst_format),
18083         (gst_format_get_type), (register_gst_index_certainty),
18084         (gst_index_certainty_get_type), (register_gst_index_entry_type),
18085         (gst_index_entry_type_get_type),
18086         (register_gst_index_lookup_method),
18087         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18088         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18089         (gst_index_resolver_method_get_type), (register_gst_index_flags),
18090         (gst_index_flags_get_type), (register_gst_debug_level),
18091         (gst_debug_level_get_type), (register_gst_debug_color_flags),
18092         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18093         (gst_iterator_result_get_type), (register_gst_iterator_item),
18094         (gst_iterator_item_get_type), (register_gst_message_type),
18095         (gst_message_type_get_type), (register_gst_mini_object_flags),
18096         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18097         (gst_pad_link_return_get_type), (register_gst_flow_return),
18098         (gst_flow_return_get_type), (register_gst_activate_mode),
18099         (gst_activate_mode_get_type), (register_gst_pad_direction),
18100         (gst_pad_direction_get_type), (register_gst_pad_flags),
18101         (gst_pad_flags_get_type), (register_gst_pad_presence),
18102         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18103         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18104         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18105         (gst_plugin_error_get_type), (register_gst_plugin_flags),
18106         (gst_plugin_flags_get_type), (register_gst_rank),
18107         (gst_rank_get_type), (register_gst_query_type),
18108         (gst_query_type_get_type), (register_gst_tag_merge_mode),
18109         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18110         (gst_tag_flag_get_type), (register_gst_task_state),
18111         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18112         (gst_alloc_trace_flags_get_type),
18113         (register_gst_type_find_probability),
18114         (gst_type_find_probability_get_type), (register_gst_uri_type),
18115         (gst_uri_type_get_type), (register_gst_parse_error),
18116         (gst_parse_error_get_type):
18117         * win32/common/gstenumtypes.h:
18118         * win32/common/gstversion.h:
18119           update visual studio generated files
18120
18121 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18122
18123         * win32/vs6/libgstbase.dsp:
18124         * win32/vs6/libgstelements.dsp:
18125           update project files for new locations
18126
18127 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18128
18129         * Makefile.am:
18130           remove some files
18131         * README:
18132           reinstate and update
18133         * DEVEL:
18134         * REQUIREMENTS:
18135           removed
18136         * LICENSE:
18137         * docs/random/LICENSE:
18138           moved to random
18139
18140 2005-11-30  Edward Hervey  <edward@fluendo.com>
18141
18142         * gst/gsttypefind.c: (gst_type_find_register):
18143         * gst/gsttypefind.h:
18144         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
18145         (gst_type_find_factory_dispose):
18146         * gst/gsttypefindfactory.h:
18147         Fix memory leak in GstTypeFindFactory.
18148
18149 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18150
18151         * gst/gst.c:
18152         * plugins/elements/Makefile.am:
18153         * plugins/elements/gstelements.c:
18154         * plugins/elements/gstqueue.c:
18155           move queue from core to the elements plugin
18156
18157 2005-11-29  Andy Wingo  <wingo@pobox.com>
18158
18159         * libs/gst/base/gstbasetransform.h: 
18160         * libs/gst/base/gstbasesrc.h: 
18161         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
18162
18163         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
18164         of pointers by which to pad very extensible base classes (like the
18165         ones in libs/gst/base).
18166
18167 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18168
18169         * docs/gst/gstreamer-docs.sgml:
18170         * docs/gst/gstreamer-sections.txt:
18171         * docs/libs/gstreamer-libs-docs.sgml:
18172         * docs/libs/gstreamer-libs-sections.txt:
18173           moving documentation from core to lib
18174
18175 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18176
18177         * check/Makefile.am:
18178         * configure.ac:
18179         * docs/gst/Makefile.am:
18180         * gst/Makefile.am:
18181         * gst/base/.cvsignore:
18182         * gst/base/Makefile.am:
18183         * gst/base/README:
18184         * gst/base/gstadapter.c:
18185         * gst/base/gstadapter.h:
18186         * gst/base/gstbasesink.c:
18187         * gst/base/gstbasesink.h:
18188         * gst/base/gstbasesrc.c:
18189         * gst/base/gstbasesrc.h:
18190         * gst/base/gstbasetransform.c:
18191         * gst/base/gstbasetransform.h:
18192         * gst/base/gstcollectpads.c:
18193         * gst/base/gstcollectpads.h:
18194         * gst/base/gstpushsrc.c:
18195         * gst/base/gstpushsrc.h:
18196         * gst/base/gsttypefindhelper.c:
18197         * gst/base/gsttypefindhelper.h:
18198         * gst/check/Makefile.am:
18199         * gst/check/gstcheck.c:
18200         * gst/check/gstcheck.h:
18201         * gst/net/Makefile.am:
18202         * gst/net/gstnet.h:
18203         * gst/net/gstnetclientclock.c:
18204         * gst/net/gstnetclientclock.h:
18205         * gst/net/gstnettimepacket.c:
18206         * gst/net/gstnettimepacket.h:
18207         * gst/net/gstnettimeprovider.c:
18208         * gst/net/gstnettimeprovider.h:
18209         * libs/gst/Makefile.am:
18210         * libs/gst/base/Makefile.am:
18211         * libs/gst/base/gstbasetransform.c:
18212         * libs/gst/check/Makefile.am:
18213         * plugins/elements/Makefile.am:
18214         * po/POTFILES.in:
18215           CVS surgery + support to move base, check, and net out of gst
18216           and into libs/gst
18217
18218 2005-11-29  Andy Wingo  <wingo@pobox.com>
18219
18220         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
18221
18222         * gst/gststructure.h (struct _GstStructure): Only one pointer of
18223         padding.
18224
18225         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
18226
18227         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
18228
18229         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
18230
18231         * gst/gstobject.h: (struct _GstObject): Only one pointer of
18232         padding; reduces object size by about 30%. We don't expect
18233         anything else to go into gstobject.
18234
18235         * gst/gstminiobject.h (struct _GstMiniObject)
18236         (struct _GstMiniObjectClass): Only one pointer of padding; the
18237         payload is only a pointer and two ints anyway. For the class there
18238         are only two methods as well.
18239         
18240         * gst/gstelement.h (struct _GstElementClass): Removed
18241         the state_changed signal callback, it is not used.
18242
18243 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18244
18245         * docs/gst/gstreamer.types:
18246           fix includes, though they are a little dinky
18247
18248 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18249
18250         * check/Makefile.am:
18251           look in the right place for elements, a lot more chance of
18252           success
18253         * gst/Makefile.am:
18254           remove indexers and elements subdirs
18255         * plugins/Makefile.am:
18256           make indexers conditional
18257
18258 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18259
18260         * Makefile.am:
18261         * configure.ac:
18262         * plugins/elements/Makefile.am:
18263         * plugins/elements/gstcapsfilter.c:
18264         * plugins/elements/gstfilesink.c:
18265         * plugins/elements/gstfilesrc.c:
18266         * plugins/elements/gstidentity.c:
18267         * plugins/indexers/Makefile.am:
18268           do CVS surgery and related build fixery to move elements
18269           and indexers in a new gstreamer/plugins directory, out of the
18270           gst/ directory
18271
18272 2005-11-29  Andy Wingo  <wingo@pobox.com>
18273
18274         * check/Makefile.am:
18275         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18276         * pkgconfig/gstreamer-net.pc.in:
18277         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18278         #322257.
18279
18280 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18281
18282         * tools/Makefile.am:
18283         * tools/gst-complete.1.in:
18284         * tools/gst-complete.c:
18285         * tools/gst-compprep.1.in:
18286         * tools/gst-compprep.c:
18287           removing -compprep and -complete
18288
18289 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18290
18291         * gst/gstevent.c: (gst_event_new_new_segment),
18292         (gst_event_parse_new_segment):
18293         * gst/gstevent.h:
18294           fix #320529 - clean up new_segment API and structure.
18295           Let's hope everyone was using the methods, and not the structure.
18296
18297 2005-11-29  Edward Hervey  <edward@fluendo.com>
18298
18299         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18300         (gst_base_sink_event), (gst_base_sink_do_sync),
18301         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18302         Properly handle non GST_FORMAT_TIME segment
18303         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18304         Properly handle non GST_FORMAT_TIME segment
18305         * gst/gstsegment.c:
18306         This function is valid if the accumulator is 0 and the format
18307         is different from the requested format.
18308         
18309 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18310
18311         * docs/gst/gstreamer-sections.txt:
18312         Add gst_query_new_seeking and gst_query_parse_seeking to the
18313         docs.
18314
18315 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18316
18317         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18318           Treat a pad alloc with new caps the same as if we were not
18319           negotiated, in order to allow a changing upstream output
18320           to produce a new format of data.
18321
18322 2005-11-29  Edward Hervey  <edward@fluendo.com>
18323
18324         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18325         (gst_base_transform_event), (gst_base_transform_eventfunc):
18326         The event virtual method is now properly implemented, with a default
18327         handler
18328         Sub classes should call the parent_class event method. They should
18329         return FALSE if they had a problem handling the given event, or don't
18330         want GstBaseTransform to send that even downstream
18331         * gst/elements/gstidentity.c: (gst_identity_class_init),
18332         (gst_identity_init), (gst_identity_event),
18333         (gst_identity_transform_ip), (gst_identity_set_property),
18334         (gst_identity_get_property):
18335         * gst/elements/gstidentity.h:
18336         Added the single-segment boolean property.
18337         If set to TRUE, it will output a single segment of data, starting from
18338         0, will eat up all incoming newsegment, and modify the timestamp of the
18339         buffers accordingly
18340
18341 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
18342
18343         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18344           Don't ref NULL target pad (#322751). Improve docs.
18345
18346 2005-11-29  Michael Smith  <msmith@fluendo.com>
18347
18348         * gst/gstregistryxml.c: (load_plugin):
18349           Don't crash if we failed to load a feature from a plugin. 
18350
18351 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18352
18353         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18354         (GST_START_TEST):
18355           use more check API and less GLib API
18356
18357 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18358
18359         * Makefile.am:
18360           don't run checks if we don't have check
18361         * common/check.mak:
18362           remove the registry when running make torture
18363         * docs/gst/gstreamer-sections.txt:
18364           remove second multiply
18365         * gst/gstqueue.c: (gst_queue_loop):
18366           fix a compile warning when disabling debug
18367
18368 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18369
18370         * gst/gstinfo.h:
18371         Hey! Let's print the pad name if the pointer != NULL instead
18372         of when it == NULL :-)
18373
18374 2005-11-28  Wim Taymans  <wim@fluendo.com>
18375
18376         * check/gst/gstutils.c: (GST_START_TEST):
18377         Updated check, add some scaling accuracy checking code.
18378
18379         * gst/gstutils.c: (gst_util_div128_64),
18380         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18381         (gst_util_uint64_scale_int):
18382         Fix 6 times faster division code. Optimize for common 
18383         1/1 and less common X/1 cases.
18384
18385 2005-11-28  Wim Taymans  <wim@fluendo.com>
18386
18387         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18388         More checks.
18389
18390         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18391         (do_linear_regression), (gst_clock_add_observation):
18392         Cleanups.
18393         Release lock when the clock cannot be slaved.
18394         Catch the case where the regression returned an invalid denominator.
18395
18396         * gst/gstutils.c: (gst_util_div128_64_iterate),
18397         (gst_util_div128_64), (gst_util_uint64_scale_int64),
18398         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18399         Add protentially more performant non-iterative 128/64 divide function
18400         that unfortunatly does not work yet.
18401         Shortcut the trivial 0/X = 0 case.
18402         Remove the warnings on overflow.
18403
18404 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18405
18406         * gst/gstplugin.c: (gst_plugin_register_func):
18407           everything causing a plugin not to load should be at least a WARNING
18408
18409 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
18410
18411         * docs/random/ensonic/dparams.txt:
18412           some TODOs for the next dev cycle
18413         * libs/gst/controller/gstcontroller.c:
18414         (gst_controlled_property_set_interpolation_mode),
18415         (gst_controlled_property_new):
18416         * libs/gst/controller/gstcontroller.h:
18417           use base type to assign acccessor functions
18418
18419 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18420
18421         * check/Makefile.am:
18422         Oops, that should have been top_srcdir
18423
18424 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18425
18426         * check/Makefile.am:
18427         * check/elements/fdsrc.c: (GST_START_TEST):
18428         Use a cmdline define to specify the location of a file to use for
18429         testing, to avoid breaking distcheck.
18430
18431 2005-11-28  Andy Wingo  <wingo@pobox.com>
18432
18433         * gst/gstpad.c (fixate_value): Use array functions for arrays.
18434
18435 2005-11-28  Edward Hervey  <edward@fluendo.com>
18436
18437         * tools/gst-launch.c: (main):
18438         Clarify the output strings, makes it easier to translate.
18439         Fixes #322626
18440
18441 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18442
18443         * gst/Makefile.am:
18444           don't try and build net if we don't even have <sys/socket.h>
18445
18446 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
18447
18448         * check/Makefile.am:
18449         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18450         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18451           Add tests for fdsrc seekability
18452
18453         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18454         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18455         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18456         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18457         * gst/elements/gstfdsrc.h:
18458           fdsrc should not be a 'live' source.
18459           Implement seeking on seekable fd's.
18460
18461         * gst/gstquery.c: (gst_query_new_seeking),
18462         (gst_query_parse_seeking):
18463         * gst/gstquery.h:
18464           Implement SEEKING query functions: 
18465             *_new_seeking and *_parse_seeking
18466
18467 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
18468
18469         * gst/gstelement.c: (gst_element_dispose):
18470           don't loop forever
18471
18472         * gst/gstiterator.c:
18473         * gst/gststructure.c:
18474           doc fixes
18475
18476         * libs/gst/controller/gstcontroller.c:
18477         (gst_controlled_property_set_interpolation_mode):
18478         * libs/gst/controller/gstcontroller.h:
18479         * libs/gst/controller/gstinterpolation.c:
18480         (interpolate_none_get_enum_value_array):
18481           support controlling enums
18482
18483 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18484
18485         * gst/gstvalue.c:
18486           Improve documentation for gst_value_union().
18487
18488         * gst/gstvalue.h:
18489           Change return value for union, intersect and subtract functions
18490           from gint to gboolean.
18491
18492 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18493
18494         * gst/gstvalue.c: (gst_value_serialize_any_list),
18495         (gst_value_transform_any_list_string),
18496         (gst_value_deserialize_list), (gst_value_deserialize_array),
18497         (gst_value_set_int_range), (gst_value_deserialize_int_range),
18498         (gst_value_set_double_range), (gst_value_deserialize_double_range),
18499         (gst_value_set_fraction_range_full),
18500         (gst_value_deserialize_fraction_range),
18501         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18502         (gst_value_deserialize_boolean),
18503         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18504         (gst_value_serialize_float), (gst_value_deserialize_float),
18505         (gst_string_wrap), (gst_value_deserialize_string),
18506         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18507         (gst_value_union_int_range_int_range),
18508         (gst_value_intersect_int_range_int_range),
18509         (gst_value_intersect_double_range_double_range),
18510         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18511         (gst_value_subtract_int_range_int_range),
18512         (gst_value_subtract_double_double_range),
18513         (gst_value_subtract_double_range_double_range),
18514         (gst_value_deserialize_fraction):
18515         * gst/gstvalue.h:
18516           Use gint, gdouble and gchar in our API instead of int, double and
18517           char (and make usage in gstvalue.c more consistent).
18518
18519 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18520
18521         * check/Makefile.am:
18522         * libs/gst/controller/Makefile.am:
18523         * libs/gst/dataprotocol/Makefile.am:
18524           fix up Makefile.am and remove GST_ENABLE_NEW
18525
18526 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18527
18528         * configure.ac:
18529         * gst/Makefile.am:
18530         * gst/base/Makefile.am:
18531         * gst/check/Makefile.am:
18532         * gst/elements/Makefile.am:
18533         * gst/net/Makefile.am:
18534           update LDFLAGS use some more
18535
18536 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18537
18538         * common/m4/gst-doc.m4:
18539           Fixes #312589
18540
18541 2005-11-26  Edward Hervey  <edward@fluendo.com>
18542
18543         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18544         This shouldn't issue a g_warning since it returns NULL if it
18545         couldn't find the plugin, and all functions using this behave
18546         properly on a NULL return. Switching to a GST_WARNING.
18547
18548 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
18549
18550         * gst/gstbin.c: (gst_bin_handle_message_func):
18551         Don't leak clock messages.
18552
18553 2005-11-25  Wim Taymans  <wim@fluendo.com>
18554
18555         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18556         (gst_util_uint64_scale_int):
18557         Optimisations, remove unneeded vars.
18558
18559 2005-11-25  Wim Taymans  <wim@fluendo.com>
18560
18561         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18562         Added more checks for the high precision uint64 cases.
18563
18564         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18565         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18566         Implement high precision (guint64 * guint64) / guint64.
18567
18568 2005-11-24  Wim Taymans  <wim@fluendo.com>
18569
18570         * gst/base/gstbasesrc.c: (gst_base_src_query):
18571         Fix wrong percentage query.
18572
18573         * gst/gstutils.c: (gst_util_uint64_scale),
18574         (gst_util_uint64_scale_int):
18575         Add some more common cases that can be handled 
18576         efficiently to _scale.
18577
18578 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18579
18580         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18581         (gst_mini_object_suite):
18582           don't use check calls from threads; check probably isn't
18583           threadsafe and using a lock to make it threadsafe would
18584           defeat the purpose of this check
18585         * gst/check/gstcheck.c:
18586         * gst/check/gstcheck.h:
18587           use GST_DEBUG some more
18588
18589 2005-11-24  Wim Taymans  <wim@fluendo.com>
18590
18591         * gst/gstutils.c: (gst_util_uint64_scale),
18592         (gst_util_uint64_scale_int):
18593         Chain trivial case to _scale_int.
18594
18595 2005-11-24  Wim Taymans  <wim@fluendo.com>
18596
18597         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18598         Added test for scaling.
18599
18600         * gst/gstclock.h:
18601         Small doc fix.
18602
18603         * gst/gstutils.c: (gst_util_uint64_scale_int):
18604         Implemented high precision scaling code.
18605
18606 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18607
18608         * gst/gstinfo.h:
18609           do not crash on pad==NULL
18610
18611 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18612
18613         Patch by: Stefan Kost
18614
18615         * common/gtk-doc.mak:
18616         * docs/gst/Makefile.am:
18617         * docs/libs/Makefile.am:
18618           Fix distcheck issues for the libraries docs build
18619           Closes #319599.
18620
18621 2005-11-24  Michael Smith <msmith@fluendo.com>
18622
18623         * docs/manual/basics-helloworld.xml:
18624           Fix bug #315027: memory leak in example code in docs.
18625
18626 2005-11-24  Michael Smith <msmith@fluendo.com>
18627
18628         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18629           Unlock the PREROLL_LOCK in a failure case.
18630
18631 2005-11-24  Wim Taymans  <wim@fluendo.com>
18632
18633         * docs/gst/gstreamer-sections.txt:
18634         * gst/base/gstadapter.h:
18635         * gst/base/gstbasesink.h:
18636         * gst/base/gstbasesrc.h:
18637         * gst/base/gstbasetransform.h:
18638         * gst/base/gstpushsrc.h:
18639         * gst/elements/gstfakesink.h:
18640         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18641         * gst/elements/gstfakesrc.h:
18642         * gst/elements/gstfilesink.h:
18643         * gst/elements/gstfilesrc.h:
18644         * gst/gst.c:
18645         * gst/gstbin.c:
18646         * gst/gstbuffer.c: (_gst_buffer_copy):
18647         * gst/gstbus.h:
18648         * gst/gstcaps.c:
18649         * gst/gstchildproxy.c:
18650         * gst/gstclock.c:
18651         * gst/gstelement.c:
18652         * gst/gstelementfactory.c:
18653         * gst/gstelementfactory.h:
18654         * gst/gstevent.c:
18655         * gst/gstghostpad.h:
18656         * gst/gstindex.h:
18657         * gst/gstinterface.h:
18658         * gst/gstminiobject.c:
18659         * gst/gstminiobject.h:
18660         * gst/gstpad.c:
18661         * gst/gstpad.h:
18662         * gst/gstpadtemplate.h:
18663         * gst/gstpipeline.h:
18664         * gst/gstpluginfeature.h:
18665         * gst/gstquery.h:
18666         * gst/gstqueue.h:
18667         * gst/gsttaglist.c:
18668         * gst/gsttaglist.h:
18669         * gst/gsttagsetter.c:
18670         * gst/gsttagsetter.h:
18671         * gst/gsttrace.c:
18672         * gst/gsttrace.h:
18673         * gst/gsttypefind.h:
18674         * gst/gsturi.h:
18675         * gst/gstvalue.c:
18676         * gst/net/gstnetclientclock.c:
18677         * gst/net/gstnetclientclock.h:
18678         * gst/net/gstnettimepacket.c:
18679         * gst/net/gstnettimeprovider.c:
18680         * gst/net/gstnettimeprovider.h:
18681         Doc fixes.
18682
18683 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18684
18685         * configure.ac: back to HEAD
18686
18687 === release 0.9.6 ===
18688
18689 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18690
18691         * configure.ac:
18692           releasing 0.9.6, "Always On Time"
18693
18694 2005-11-23  Wim Taymans  <wim@fluendo.com>
18695
18696         * docs/gst/gstreamer-sections.txt:
18697         * gst/glib-compat.c:
18698         * gst/gsttagsetter.c:
18699         * gst/gstvalue.c:
18700         * gst/net/gstnetclientclock.c:
18701         * gst/net/gstnettimepacket.h:
18702         Doc updates.
18703
18704 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18705
18706         * docs/faq/using.xml:
18707         * docs/libs/tmpl/gstcontrol.sgml:
18708         * docs/manual/advanced-dparams.xml:
18709         * docs/manual/appendix-checklist.xml:
18710         * docs/manual/basics-elements.xml:
18711         * docs/pwg/other-source.xml:
18712         * docs/random/moving-plugins:
18713         * gst/gstpad.c:
18714         * tools/gst-launch.1.in:
18715           remove mentions of sinesrc
18716
18717 2005-11-23  Michael Smith <msmith@fluendo.com>
18718
18719         * docs/gst/gstreamer-sections.txt:
18720           Update for new API and API changes.
18721         * gst/gstobject.h:
18722           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18723         * gst/gstvalue.c:
18724           Documentation typo fix.
18725         * gst/net/gstnettimepacket.c:
18726           Documentation fixes for arguments.
18727
18728 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18729
18730         * gst/gststructure.c: (gst_structure_get_fraction),
18731         (gst_structure_parse_value),
18732         (gst_structure_fixate_field_nearest_fraction):
18733         * gst/gststructure.h:
18734         * gst/gstutils.c: (gst_util_uint64_scale_int):
18735         * gst/gstutils.h:
18736         * scripts/update-funcnames:
18737         API Changes. 
18738         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18739         Make gst_structure_fixate_field_nearest_fraction take a numerator
18740         and denominator argument instead of a GValue
18741         add gst_structure_get_fraction helper function.
18742
18743 2005-11-23  Wim Taymans  <wim@fluendo.com>
18744
18745         * docs/design/part-TODO.txt:
18746         Update TODO.
18747
18748         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18749         * gst/net/gstnetclientclock.h:
18750         Use parent fields for timeout and window_size.
18751
18752 2005-11-23  Andy Wingo  <wingo@pobox.com>
18753
18754         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18755         rate_num/rate_denom change.
18756
18757         * gst/net/gstnetclientclock.c
18758         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18759         OBJECT_LOCK. Don't call add_observation with the lock.
18760
18761         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18762         fraction.
18763         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18764         rate fraction.
18765         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18766         deal with rate as a fraction whose numerator and denominator are
18767         GstClockTime values.
18768         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18769         master; the other fields are protected by the SLAVE_LOCK.
18770         (do_linear_regression): Note that this must be called with the
18771         SLAVE_LOCK.
18772         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18773         OBJECT_LOCK. Call set_calibration instead of touching the
18774         variables directly.
18775         (gst_clock_set_property, gst_clock_get_property): Protect
18776         master/slave parameters with the SLAVE_LOCK.
18777
18778         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18779         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18780         note that all of the instance variables that add_observation and
18781         the set_master functions use are protected by that lock and not
18782         the OBJECT_LOCK.
18783         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18784
18785         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18786         the caller to take the object lock.
18787
18788 2005-11-23  Wim Taymans  <wim@fluendo.com>
18789
18790         * gst/gsterror.c: (_gst_core_errors_init):
18791         * gst/gsterror.h:
18792         Add error for clock stuff.
18793
18794         * gst/gstpipeline.c: (gst_pipeline_change_state),
18795         (gst_pipeline_set_clock):
18796         Post clock error when clock cannot be used in a pipeline.
18797
18798 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18799
18800         * docs/gst/gstreamer-sections.txt:
18801           make two symbols from gstinfo private for the docs
18802         * gst/base/gstcollectpads.h:
18803         * gst/gstutils.c:
18804           fix doc typos, update docs
18805
18806 2005-11-22  Wim Taymans  <wim@fluendo.com>
18807
18808         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18809         (gst_base_sink_wait), (gst_base_sink_do_sync),
18810         (gst_base_sink_handle_event):
18811         * gst/base/gstbasesink.h:
18812         No need to store the clock, the parent element class already
18813         has it.
18814
18815         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18816         Updates for clock_set returning a gboolean
18817
18818         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18819         (gst_clock_id_wait_async), (gst_clock_class_init),
18820         (gst_clock_init), (gst_clock_finalize),
18821         (gst_clock_get_internal_time), (gst_clock_get_time),
18822         (gst_clock_slave_callback), (gst_clock_set_master),
18823         (gst_clock_get_master), (do_linear_regression),
18824         (gst_clock_add_observation), (gst_clock_set_property),
18825         (gst_clock_get_property):
18826         * gst/gstclock.h:
18827         Implement master/slave. When setting a clock as a slave, a
18828         periodic timeout is scheduled to sample master and slave times.
18829         Then the slave clock is recalibrated to match offset and rate
18830         of the master clock.
18831         Update logging a bit.
18832         Add flag so that a clock can state that is cannot be slaved to
18833         another clock.
18834
18835         * gst/gstelement.c: (gst_element_set_clock):
18836         * gst/gstelement.h:
18837         The set clock returns a gboolean for when an element cannot
18838         deal with the selected clock in the pipeline. 
18839
18840         * gst/gstpipeline.c: (gst_pipeline_change_state),
18841         (gst_pipeline_set_clock):
18842         * gst/gstpipeline.h:
18843         Handle the case where the selected clock cannot be set on
18844         the pipeline.
18845
18846         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18847         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18848         (gst_net_client_clock_set_property),
18849         (gst_net_client_clock_get_property),
18850         (gst_net_client_clock_observe_times):
18851         * gst/net/gstnetclientclock.h:
18852         Use regression code in GstClock parent, remove duplicated
18853         functionality.
18854
18855 2005-11-22  Michael Smith <msmith@fluendo.com>
18856
18857         * gst/gstutils.c: (gst_util_clock_time_scale):
18858         * gst/gstutils.h:
18859         * docs/gst/gstreamer-sections.txt:
18860           Rename method to have extra underscore.
18861
18862 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18863
18864         * gst/elements/Makefile.am:
18865         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18866         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18867         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18868         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18869         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18870         * gst/elements/gstfakesrc.h:
18871         * gst/gstqueue.c: (queue_leaky_get_type):
18872           correctly fix GEnumValues so that nick is the short lowercase
18873           dashed tag
18874         * tools/gst-inspect.c: (print_element_properties_info):
18875           also show the nick, since it's useful to use from parse_launch
18876           syntax
18877           Fixes #322139
18878
18879 2005-11-22  Michael Smith <msmith@fluendo.com>
18880
18881         * gst/gstutils.c: (gst_util_clocktime_scale):
18882         * gst/gstutils.h:
18883         * docs/gst/gstreamer-sections.txt:
18884           Add util method for scaling a clocktime by a fraction. Useful 
18885           implementation is left as an exercise for the reader.
18886
18887 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18888
18889         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18890         If needed, allocate storage in the destination value during
18891         collection.
18892
18893 2005-11-22  Edward Hervey  <edward@fluendo.com>
18894
18895         * docs/gst/gstreamer-sections.txt:
18896         * gst/Makefile.am:
18897         * gst/gst.h:
18898         * gst/gsturitype.c:
18899         * gst/gsturitype.h:
18900         * gst/gstutils.c: (gst_util_set_object_arg):
18901         * tools/gst-compprep.c: (main):
18902         * tools/gst-inspect.c: (print_element_properties_info):
18903         Removed GstURI, closes bug #321061
18904
18905 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18906
18907         * check/gst/gststructure.c: (GST_START_TEST):
18908         * gst/gststructure.c: (gst_structure_parse_value):
18909           Oops, broke automatic string type parsing.
18910           Add a test to catch it in future.
18911
18912 2005-11-22  Andy Wingo  <wingo@pobox.com>
18913
18914         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18915         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18916         Actually rename the function implementations. Grr.
18917
18918 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18919
18920         * check/gst/capslist.h:
18921           Comment test cases
18922         * check/gst/gststructure.c: (GST_START_TEST),
18923         (gst_structure_suite):
18924           Test automatic value type detection in gst_structure_from_string.
18925         * gst/gststructure.c: (gst_structure_parse_value):
18926           Add fraction as a type we try and guess automatically in
18927           caps/structure strings.
18928
18929 2005-11-22  Andy Wingo  <wingo@pobox.com>
18930
18931         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18932
18933         * gst/gsttagsetter.h:
18934         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18935         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18936         (gst_tag_setter_add_tag_valist)
18937         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18938         _add_values, _add_valist, and _add_valist_values. Since this is an
18939         interface the function suffixes should be more explicit so
18940         language binding don't end up with element.add_valist ->
18941         gst_tag_setter_add_valist, for example. Fixes #322069.
18942
18943 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18944
18945         * check/gst/gstcaps.c: (GST_START_TEST):
18946           Extend caps string tests to check that a caps to string
18947           conversion is reversible and produces the same caps.
18948
18949         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18950           Output "fraction" as the generic type fraction range, so caps
18951           serialisation and deserialisation works.
18952         * check/gst/capslist.h:
18953         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18954           Support 'MIN' and 'MAX' for deserialising fractions.
18955
18956 2005-11-22  Andy Wingo  <wingo@pobox.com>
18957
18958         * gst/gstevent.h (gst_event_new_new_segment)
18959         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18960         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18961         Renamed from *_newsegment, *_buffersize, *_notarget.
18962
18963         * scripts/update-funcnames: New script, performs the changes
18964         listed above.
18965
18966 2005-11-22  Wim Taymans  <wim@fluendo.com>
18967
18968         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18969         Make sure the GstFlowReturn is returned.
18970
18971         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18972         (gst_bus_add_signal_watch):
18973         * gst/gstbus.h:
18974         add gst_bus_add_signal_watch_full.
18975
18976         * gst/gstplugin.c: (gst_plugin_load_file):
18977         Small style cleanup.
18978
18979 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18980
18981         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18982           Block the fakesrc srcpad when we send an event, to avoid
18983           contention on the stream_lock causing random test failures.
18984
18985 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18986
18987         * check/gst/gstvalue.c: (GST_START_TEST):
18988         * gst/gstvalue.c: (gst_value_fraction_subtract):
18989           Fix subtraction.
18990
18991 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18992
18993         * gst/gst.h:
18994           include "gstchildproxy.h"
18995         * gst/gstchildproxy.h:
18996         * libs/gst/controller/gstcontroller.h:
18997           use G_GNUC_NULL_TERMINATED
18998
18999 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
19000
19001         * check/gst/capslist.h:
19002         * check/gst/gstcaps.c: (GST_START_TEST):
19003         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19004         * gst/gststructure.c: (gst_structure_parse_range),
19005         (gst_structure_fixate_field_nearest_fraction):
19006         * gst/gststructure.h:
19007         * gst/gstvalue.c: (gst_value_init_fraction_range),
19008         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
19009         (gst_value_collect_fraction_range),
19010         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
19011         (gst_value_set_fraction_range_full),
19012         (gst_value_get_fraction_range_min),
19013         (gst_value_get_fraction_range_max),
19014         (gst_value_serialize_fraction_range),
19015         (gst_value_transform_fraction_range_string),
19016         (gst_value_compare_fraction_range),
19017         (gst_value_deserialize_fraction_range),
19018         (gst_value_intersect_fraction_fraction_range),
19019         (gst_value_intersect_fraction_range_fraction_range),
19020         (gst_value_subtract_fraction_fraction_range),
19021         (gst_value_subtract_fraction_range_fraction),
19022         (gst_value_subtract_fraction_range_fraction_range),
19023         (gst_value_collect_fraction), (gst_value_fraction_multiply),
19024         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
19025         (gst_value_transform_string_fraction), (_gst_value_initialize):
19026         * gst/gstvalue.h:
19027           Implement fraction ranges and extend GstFraction to support
19028           arithmetic subtraction, as well as deserialization from integer
19029           strings such as "100"
19030           Add a testsuite as for int and double range set operations
19031
19032 2005-11-21  Andy Wingo  <wingo@pobox.com>
19033
19034         * gst/gsttaglist.h: 
19035         * gst/gstcaps.h: 
19036         * gst/gststructure.h: Add glib-compat.h.
19037
19038 2005-11-21  Wim Taymans  <wim@fluendo.com>
19039
19040         * gst/gstbin.c: (gst_bin_change_state_func):
19041         Fix for #321595
19042
19043 2005-11-21  Wim Taymans  <wim@fluendo.com>
19044
19045         * gst/gstsegment.h:
19046         And add a nice define too.
19047
19048 2005-11-21  Wim Taymans  <wim@fluendo.com>
19049
19050         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
19051         (gst_segment_new), (gst_segment_free), (gst_segment_init),
19052         (gst_segment_set_duration), (gst_segment_set_last_stop),
19053         (gst_segment_set_seek), (gst_segment_set_newsegment),
19054         (gst_segment_to_stream_time), (gst_segment_to_running_time),
19055         (gst_segment_clip):
19056         * gst/gstsegment.h:
19057         Make binding friendly.
19058
19059 2005-11-21  Andy Wingo  <wingo@pobox.com>
19060
19061         * gst/gsttagsetter.h: 
19062         * gst/gsttaglist.h: 
19063         * gst/gststructure.h: 
19064         * gst/gstcaps.h: 
19065         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
19066         #319940.
19067
19068         * gst/gsterror.c (_gst_core_errors_init):
19069         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
19070         category.
19071
19072         * gst/Makefile.am (gst_headers): Add glib-compat.h.
19073         (noinst_HEADERS): noinst the -private.
19074
19075 2005-11-21  Michael Smith <msmith@fluendo.com>
19076
19077         * gst/gstplugin.h:
19078         * gst/gstregistry.h:
19079           Remove unimplemented declarations for which we can see no sensible
19080           use.
19081
19082 2005-11-21  Andy Wingo  <wingo@pobox.com>
19083
19084         * gst/gst.h: Include glib-compat.h.
19085
19086         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
19087
19088         * gst/glib-compat.c: Include the public and the private header.
19089
19090         * gst/glib-compat-private.h: Copied here from glib-compat.h.
19091
19092         * gst/gstvalue.c: 
19093         * gst/gstpad.c: 
19094         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
19095
19096         * check/gst/gstevent.c (create_custom_events): Check that
19097         FLUSH_STOP is serialized.
19098
19099         * check/elements/identity.c (event_func): 
19100         * check/elements/fakesrc.c (event_func): No stream lock, the core
19101         takes it.
19102
19103         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
19104         stream lock taking, yay.
19105
19106         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
19107         ensure that core takes the stream lock.
19108
19109         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
19110         lock name change.
19111
19112         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
19113         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
19114         it already. For the flush start we do take it though so we get the
19115         right preroll state change messages.
19116
19117         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
19118         the stream lock here, the core does it for us.
19119
19120         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
19121         GST_STREAM_GET_LOCK.
19122         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
19123         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
19124         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
19125         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
19126         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
19127         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
19128
19129         * gst/gstpad.c: Update for stream lock name change.
19130
19131         * gst/base/gstbasesink.c: Update for preroll lock name change.
19132
19133 2005-11-21  Wim Taymans  <wim@fluendo.com>
19134
19135         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
19136         (gst_clock_get_master):
19137         * gst/gstclock.h:
19138         * gst/gstsystemclock.c: (gst_system_clock_init):
19139         Convert Clock flags to object flags.
19140         Added methods to manage master/slave clocks.
19141
19142 2005-11-21  Wim Taymans  <wim@fluendo.com>
19143
19144         * check/gst/gstsegment.c: (GST_START_TEST):
19145         * docs/design/part-TODO.txt:
19146         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19147         (gst_base_sink_event), (gst_base_sink_do_sync),
19148         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
19149         (gst_base_sink_query), (gst_base_sink_change_state):
19150         * gst/base/gstbasesink.h:
19151         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19152         (gst_base_src_default_newsegment),
19153         (gst_base_src_configure_segment), (gst_base_src_do_seek),
19154         (gst_base_src_get_range), (gst_base_src_loop),
19155         (gst_base_src_change_state):
19156         * gst/base/gstbasesrc.h:
19157         * gst/base/gstbasetransform.c:
19158         (gst_base_transform_prepare_output_buf),
19159         (gst_base_transform_event), (gst_base_transform_change_state):
19160         * gst/base/gstbasetransform.h:
19161         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
19162         (gst_collect_pads_event):
19163         * gst/base/gstcollectpads.h:
19164         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
19165         (gst_fake_src_create):
19166         * gst/elements/gstfakesrc.h:
19167         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19168         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19169         (gst_segment_set_last_stop), (gst_segment_set_seek),
19170         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
19171         (gst_segment_to_running_time), (gst_segment_clip):
19172         * gst/gstsegment.h:
19173         More segment updates, replace code in plugins with segment
19174         helper functions.
19175
19176 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19177
19178         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
19179         Don't ignore sscanf results
19180
19181 2005-11-21  Andy Wingo  <wingo@pobox.com>
19182
19183         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
19184
19185         * *.h:
19186         * *.c: Ran scripts/update-macros. Oh yes.
19187
19188         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
19189         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
19190         GST_GET_LOCK, etc.
19191
19192         * scripts/update-macros: New script. Run it on your files to
19193         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
19194         well.
19195
19196 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
19197
19198         * docs/gst/Makefile.am:
19199         * docs/gst/gstreamer-docs.sgml:
19200         * docs/gst/gstreamer-sections.txt:
19201         * docs/gst/gstreamer.types:
19202         * gst/gstinfo.h:
19203           more docs fixes, add new api to the docs
19204
19205 2005-11-21  Andy Wingo  <wingo@pobox.com>
19206
19207         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
19208         state_broadcast call.
19209
19210         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
19211
19212 2005-11-21  Julien MOUTTE  <julien@moutte.net>
19213
19214         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
19215         function calls for arrays.
19216
19217 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
19218
19219         * docs/random/ensonic/media-device-daemon.txt:
19220           wild idea, can this be done?
19221         * docs/gst/gstreamer-sections.txt:
19222         * gst/gsterror.h:
19223         * gst/gstfilter.c:
19224         * gst/gstfilter.h:
19225         * gst/gstplugin.h:
19226         * gst/gstpluginfeature.c:
19227         * gst/gsttrace.c:
19228         * gst/gstvalue.c:
19229         * gst/gstvalue.h:
19230           doc fixes and additions
19231
19232 2005-11-21  Andy Wingo  <wingo@pobox.com>
19233
19234         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
19235         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
19236         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
19237         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
19238         private to the basesrc implementation.
19239
19240         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
19241         behalf of event function if necessary. It should no longer be
19242         necessary to take the stream lock in pad's event functions. Fixes
19243         #320299.
19244
19245 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19246         * docs/gst/gstreamer-sections.txt:
19247         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
19248         (gst_structure_fixate_field_nearest_double),
19249         (gst_structure_fixate_field_boolean):
19250         * gst/gststructure.h:
19251         * win32/common/libgstreamer.def:
19252         * win32/gstreamer.def:
19253
19254         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
19255         (#322027)
19256
19257 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19258
19259         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
19260         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
19261         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
19262         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
19263         (gst_fdsrc_uri_handler_init):
19264         * gst/elements/gstfdsrc.h:
19265           Port fd:// URI handler from 0.8 to fdsrc
19266
19267 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19268
19269         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
19270         (gst_value_serialize_fourcc):
19271         * gst/gstvalue.h:
19272           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19273           consistent with our other format defines (#320324).
19274
19275 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19276
19277         * gst/gstvalue.c: (gst_value_is_fixed):
19278           Revert previous commit. Value lists are by definition
19279           not fixed, as they are a list of possible values.
19280
19281 2005-11-21  Andy Wingo  <wingo@pobox.com>
19282
19283         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19284         during the stable series if we need it. Fixes #319178.
19285
19286         * gst/gstevent.c (gst_event_new_filler): Removed.
19287
19288         * check/gst/gstevent.c: Update comment about filler events.
19289
19290 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19291
19292         * gst/gstvalue.c: (gst_value_is_fixed):
19293           Should handle both value arrays and value lists.
19294
19295 2005-11-21  Andy Wingo  <wingo@pobox.com>
19296
19297         patch by: Alessandro Dessina <alessandro nnva org>
19298
19299         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19300         functions to access arrays. Fixes #321962.
19301
19302 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19303
19304         * docs/gst/gstreamer.types:
19305           gst_collectpads_get_type => gst_collect_pads_get_type.
19306           
19307         * gst/base/gstbasetransform.c:
19308           Remove unused SIGNAL_HANDOFF enum.
19309
19310 2005-11-21  Andy Wingo  <wingo@pobox.com>
19311
19312         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19313         the event type (upstream, downstream, serialized). Renamed
19314         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19315         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19316         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19317
19318         * gst/gstevent.c: Update for new CUSTOM event names.
19319
19320         * check/gst/gstevent.c: Update check for new CUSTOM event names.
19321
19322         * gst/gstevent.h:
19323         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19324         bug #319392.
19325
19326 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19327
19328         * docs/gst/gstreamer-sections.txt:
19329         * win32/common/libgstbase.def:
19330         * win32/libgstbase.def:
19331         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19332         (gst_collect_pads_class_init), (gst_collect_pads_init),
19333         (gst_collect_pads_finalize), (gst_collect_pads_new),
19334         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19335         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19336         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19337         (gst_collect_pads_start), (gst_collect_pads_stop),
19338         (gst_collect_pads_peek), (gst_collect_pads_pop),
19339         (gst_collect_pads_available), (gst_collect_pads_read),
19340         (gst_collect_pads_flush), (gst_collect_pads_event),
19341         (gst_collect_pads_chain):
19342         * gst/base/gstcollectpads.h:
19343           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19344           unimplemented functions as unimplemented. Add padding to
19345           GstCollectData. (#320766, #320423)
19346
19347 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19348
19349         * gst/gstmessage.c:
19350           Improve docs for DURATION message (usage of duration parameter)
19351           (#320113)
19352
19353 2005-11-20  Wim Taymans  <wim@fluendo.com>
19354
19355         * check/Makefile.am:
19356         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19357         (main):
19358         * gst/Makefile.am:
19359         * gst/gst.h:
19360         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19361         (gst_segment_set_seek), (gst_segment_set_newsegment),
19362         (gst_segment_to_stream_time), (gst_segment_to_running_time),
19363         (gst_segment_clip):
19364         * gst/gstsegment.h:
19365         Added segment helper structure and methods. Not fully implemented
19366         yet.
19367         Added segment check.
19368
19369 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
19370
19371         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19372           Add a deserialisation test for fractions
19373         * examples/metadata/read-metadata.c: (message_loop),
19374         (make_pipeline), (main):
19375           Fix up metadata reading sample.
19376         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19377           Debug format fix
19378         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19379           Don't try and fixate empty caps
19380         * gst/gst_private.h:
19381           Wrap in G_BEGIN_DECLS/G_END_DECLS
19382         * gst/gstvalue.c: (gst_value_collect_fraction),
19383         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19384         (gst_value_transform_string_fraction),
19385         (gst_value_compare_fraction):
19386           Add some extra guards to ensure that we don't end up 
19387           with an invalid denominator of 0 in a gstfraction and
19388           that fractions always get reduced.
19389
19390 2005-11-20  Wim Taymans  <wim@fluendo.com>
19391
19392         * docs/gst/gstreamer-sections.txt:
19393         * gst/gstbuffer.h:
19394         * gst/gstelement.c:
19395         * gst/gstformat.c:
19396         * gst/gstformat.h:
19397         * gst/gstindex.h:
19398         * gst/gstquery.c:
19399         * gst/gstquery.h:
19400         * gst/gstvalue.c:
19401         Doc fixes.
19402
19403 2005-11-20  Wim Taymans  <wim@fluendo.com>
19404
19405         * docs/design/part-TODO.txt:
19406         * gst/gstcaps.h:
19407         Make a proper enum of the flag.
19408
19409 2005-11-19  Wim Taymans  <wim@fluendo.com>
19410
19411         * docs/design/part-TODO.txt:
19412         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19413         (gst_format_to_quark), (gst_format_register):
19414         * gst/gstformat.h:
19415         * gst/gstquery.c: (_gst_query_initialize),
19416         (gst_query_type_get_name), (gst_query_type_to_quark),
19417         (gst_query_type_register):
19418         * gst/gstquery.h:
19419         Add type to quark and type to string conversions.
19420
19421 2005-11-19  Andy Wingo  <wingo@pobox.com>
19422
19423         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19424         #320097.
19425
19426 2005-11-19  Wim Taymans  <wim@fluendo.com>
19427
19428         * docs/design/part-TODO.txt:
19429         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19430         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19431         (gst_bin_handle_message_func):
19432         * gst/gstbin.h:
19433         Make message handling overridable.
19434
19435 2005-11-19  Andy Wingo  <wingo@pobox.com>
19436
19437         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19438
19439         * gst/gstclock.h:
19440         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19441         be a GstClockTime.
19442         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19443         is a GstClockTime. Fixes #321710.
19444
19445         * gst/gstclock.h (GstClock): Remove offset property. Add
19446         internal_calibration and external_calibration. Fix padding. Pad
19447         also by GstClockTime so we don't run into problems.
19448
19449         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19450         (gst_clock_get_rate_offset): Remove.
19451         (gst_clock_set_time_adjust): Remove. Fixes #321712.
19452
19453         * gst/gstutils.h:
19454         * gst/gstutils.c (g_static_rec_cond_wait)
19455         (g_static_rec_cond_timed_wait): Removed, no longer needed.
19456
19457         * gst/gstbin.c: Remove terrible continue_state prototype.
19458
19459         * gst/gstelement.h (gst_element_continue_state): Make public.
19460
19461         * gst/gstelement.h:
19462         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19463         by continue_state. Fixes #319389.
19464
19465         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19466         Really fixes #168438. However I don't see anywhere where the
19467         filter function is called... stupid GStreamer...
19468         
19469         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19470         don't have a dispose function, so it won't get called when the
19471         object is unreffed, but oh well!
19472
19473         * gst/gstindex.c (gst_index_set_filter_full): New API function,
19474         allows a destroy function to be set so user_data can be freed.
19475         Fixes #168438.
19476         (gst_index_set_filter): Call gst_index_set_filter_full.
19477
19478         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19479
19480         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19481         string should produce an error, given the lack of a way to
19482         represent NULL strings. Fixes #165650.
19483         
19484         * gst/gstvalue.h: 
19485         * gst/gstvalue.c (gst_value_array_append_value) 
19486         (gst_value_array_prepend_value, gst_value_array_get_size) 
19487         (gst_value_array_get_value): New API, copied from
19488         gst_value_list_*, only operates on arrays.
19489         (gst_value_list_append_value, gst_value_list_prepend_value) 
19490         (gst_value_list_concat, gst_value_list_get_size) 
19491         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19492
19493         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19494         init_list, because it works on both.
19495         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19496         (gst_value_copy_list_or_array): Renamed from copy_list.
19497         (gst_value_free_list_or_array): Renamed from free_list.
19498         (gst_value_collect_list_or_array): Renamed from collect_list.
19499         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19500         (gst_value_list_or_array_peek_pointer): Renamed from
19501         list_peek_pointer.
19502         (_gst_value_array_value_table, _gst_value_list_value_table):
19503         Update value table functions.
19504         (gst_value_compare_list_or_array): Renamed from compare_list.
19505
19506         * gsttaglist.h: Whoops, foreach function returns void. Also fix
19507         some constness.
19508
19509         * gst/gsttaglist.c:
19510         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19511         GstTagList*. Fixes #143472.
19512
19513         * gst/gststructure.h: Clarify what the foreach/map functions can
19514         or can't do to their arguments.
19515
19516 2005-11-18  Wim Taymans  <wim@fluendo.com>
19517
19518         * gst/gstclock.c: (gst_clock_set_calibration),
19519         (gst_clock_get_calibration):
19520         Doc and API fixes.
19521         Calibration can be set with internal time equal to current
19522         internal time too.
19523
19524 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19525
19526         * gst/gsterror.c:
19527         * gst/gsterror.h:
19528           document
19529
19530 2005-11-18  Andy Wingo  <wingo@pobox.com>
19531
19532         * configure.ac: 
19533         * pkgconfig/gstreamer-net.pc.in:
19534         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19535         * pkgconfig/Makefile.am: Add net pkgconfig files.
19536
19537 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
19538
19539         * gst/gstcaps.c:
19540         * gst/gstghostpad.c:
19541         * gst/gsttrace.c:
19542         * gst/gstvalue.c:
19543         * gst/gstvalue.h:
19544           docs fixes
19545
19546 2005-11-18  Andy Wingo  <wingo@pobox.com>
19547
19548         * gst/net/gstnetclientclock.c: Turn off debugging.
19549
19550         * check/net/gstnetclientclock.c (test_functioning): Assert that the
19551         times connverge somewhat. Can't make a real test.
19552
19553         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19554         integer arithmetic. Return the minimum of the domain, which can be
19555         set as "internal" for gst_clock_set_calibration.
19556         (gst_net_client_clock_observe_times): Call _set_calibration.
19557         (gst_net_client_clock_new): Call _set_calibration instead of
19558         rate_offset.
19559
19560         * check/net/gstnetclientclock.c (test_functioning): Use the right
19561         adjustment api.
19562
19563         * gst/gstclock.h:
19564         * gst/gstclock.c (gst_clock_get_calibration) 
19565         (gst_clock_set_calibration): New functions, obsolete the ones I
19566         added yesterday. Doh. Precision issues mean we have to extrapolate
19567         from a point in the more recent past than 1970.
19568         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19569         obsolete.
19570         (gst_clock_adjust_unlocked): Use the right calibration data.
19571
19572 2005-11-18  Edward Hervey  <edward@fluendo.com>
19573
19574         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19575         Also reset the ->current_* values in READY->PAUSED
19576
19577 2005-11-18  Andy Wingo  <wingo@pobox.com>
19578
19579         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19580         Whoops, check the right fd. Also add some debugging.
19581         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19582         (do_linear_regression): Add a crapload of debugging. Subtract off
19583         the minimum values from the input series to discard unneeded bits.
19584         Use only int arithmetic. There is still double arithmetic when
19585         calculating the intercept that needs fixing. Return boolean to
19586         indicate success; FALSE would mean the domain or range is too
19587         great. Still needs fixes.
19588
19589 2005-11-18  Wim Taymans  <wim@fluendo.com>
19590
19591         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19592         For the current position in stream time, we need to subtract
19593         accumulated time.
19594         
19595         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19596         Release lock before calling the callback function of async
19597         entries.
19598
19599 2005-11-18  Andy Wingo  <wingo@pobox.com>
19600
19601         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19602         Port goes all the way to MAXUINT16.
19603
19604         * gst/net/gstnettimeprovider.c: Make the port range the same as
19605         for the kernel: 0 assigns, otherwise ports are less than
19606         MAXUINT16.
19607
19608         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19609         port change.
19610
19611         * check/net/gstnetclientclock.c (test_functioning): Add the start
19612         of another test. 
19613
19614 2005-11-18  Wim Taymans  <wim@fluendo.com>
19615
19616         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19617         (gst_bin_remove_func), (bin_bus_handler):
19618         * gst/gstbin.h:
19619         Removing a clock provider from a bin, triggers a clock lost message
19620         so that a new clock will be selected.
19621         Adding a clock to a bin triggers a clock provider message.
19622         Make sure we reselect a clock when we received a clock lost message.
19623         Keep a reference to the element that provided the clock.
19624
19625 2005-11-18  Andy Wingo  <wingo@pobox.com>
19626
19627         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19628         the clock initially so it produces values around the base time.
19629         (gst_net_client_clock_class_init): Typo fix.
19630         (gst_net_client_clock_thread): Add note on when the socket gets
19631         closed.
19632
19633 2005-11-17  Wim Taymans  <wim@fluendo.com>
19634
19635         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19636         Free remote and local time arrays.
19637
19638 2005-11-17  Wim Taymans  <wim@fluendo.com>
19639
19640         * gst/net/gstnetclientclock.c: (do_linear_regression),
19641         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19642         Fix compilation, uninitialized vars and a forgotten continue.
19643
19644 2005-11-17  Andy Wingo  <wingo@pobox.com>
19645
19646         * check/Makefile.am (check_PROGRAMS): 
19647         * check/net/gstnetclientclock.c: Add a most minimal test for the
19648         net client clock. More to come later.
19649
19650         * gst/net/gstnet.h: 
19651         * gst/net/Makefile.am: Add netclientclock.
19652
19653         * gst/net/gstnetclientclock.h:
19654         * gst/net/gstnetclientclock.c: New files, implement an untested
19655         GstClock that takes its time from a network time provider.
19656         Implements the algorithm in network-clock.scm.
19657
19658         * tests/network-clock.scm (*window-size*): Rename from
19659         *queue-length*.
19660         * tests/network-clock.scm (network-time): 
19661         * tests/network-clock-utils.scm (q-push): Update callers.
19662
19663 2005-11-17  Wim Taymans  <wim@fluendo.com>
19664
19665         * gst/gstbin.c: (gst_bin_provide_clock_func),
19666         (gst_bin_sort_iterator_new):
19667         And unref the child too..
19668
19669 2005-11-17  Wim Taymans  <wim@fluendo.com>
19670
19671         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19672         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19673         Refactor the sort iterator so it can be used while holding the
19674         LOCK too.
19675         Make clock selection select a clock closest to the source.
19676
19677 2005-11-17  Michael Smith <msmith@fluendo.com>
19678
19679         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19680         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19681         * gst/gstclock.h:
19682           Anonymous structs are a gcc (and some other compilers) extension, so
19683           don't use them. Since this is only for ABI-compatibility, and our
19684           API/ABI freeze is over in a few days, this whole thing will only
19685           last a few days, so don't bother trying to think up a meaningful
19686           name for the struct.
19687
19688 2005-11-17  Andy Wingo  <wingo@pobox.com>
19689
19690         * gst/gstclock.h (GstClock): Add rate and offset properties,
19691         preserving ABI stability. Add rate/offset accessors. Will file bug
19692         for the freeze break.
19693
19694         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19695         and offset, trying to keep precision and avoiding
19696         underflow/overflow.
19697         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19698         functions. Make gst_clock_set_time_adjust obsolete.
19699         (gst_clock_set_time_adjust): Note that this function is obsolete.
19700         Will file bug soon.
19701
19702         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19703         greppable by using GST_PADDING-1+1.
19704
19705 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19706
19707         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19708
19709         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19710           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19711
19712         * gst/gstpadtemplate.h:
19713         * gst/gstpluginfeature.h:
19714           Don't use c++ style comments in headers (#321638).
19715
19716 2005-11-16  Andy Wingo  <wingo@pobox.com>
19717
19718         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19719         buffer.
19720
19721         * check/net/gstnettimeprovider.c: Check to see that the time
19722         provider actually provides times. Works, yo!
19723
19724 2005-11-16  Wim Taymans  <wim@fluendo.com>
19725
19726         * check/Makefile.am:
19727         Enable more tests.
19728
19729         * check/elements/fakesrc.c: (GST_START_TEST):
19730         Set element to NULL before disposing it.
19731
19732 2005-11-16  Andy Wingo  <wingo@pobox.com>
19733
19734         * gst/net/Makefile.am:
19735         * gst/net/gstnet.h:
19736         * gst/net/gstnettimeprovider.c: 
19737         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19738         provider, include it from gstnet.h, and add it to the build.
19739
19740         * gst/net/gstnettimepacket.h: 
19741         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19742         sending and receiving.
19743
19744 2005-11-16  Wim Taymans  <wim@fluendo.com>
19745
19746         * check/Makefile.am:
19747         Enable valgrind check.
19748
19749         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19750         (gst_fake_src_alloc_buffer):
19751         Fix memleak.
19752
19753 2005-11-16  Wim Taymans  <wim@fluendo.com>
19754
19755         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19756         Call parent finalize too.
19757
19758 2005-11-16  Wim Taymans  <wim@fluendo.com>
19759
19760         * check/Makefile.am:
19761         Enable valgrind check that should work fine now.
19762
19763         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19764         * gst/gstqueue.c: (gst_queue_init):
19765         Fix memleaks in pad allocation.
19766
19767 2005-11-16  Andy Wingo  <wingo@pobox.com>
19768
19769         * gst/net/Makefile.am:
19770         * gst/net/gstnet.h: New part of core to hold network elements and
19771         objects. Put in core because it exposes API that applications want
19772         to use. The library is named libgstnet-tempname right now because
19773         of the existing libgstnet in gst-plugins-base. Solution is
19774         probably to rename the one in plugins-base; will file a bug for
19775         the freeze break.
19776
19777         * gst/net/gstnettimeprovider.c: 
19778         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19779         get_time call over the network.
19780
19781         * configure.ac: 
19782         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19783
19784         * check/Makefile.am:
19785         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19786         get additions shortly.
19787
19788 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19789
19790         * gst/gstpad.c: (gst_pad_new_from_static_template):
19791         * gst/gstpad.h:
19792           add gst_pad_new_from_static_template functions
19793         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19794         (gst_check_setup_sink_pad):
19795         * gst/elements/gsttee.c: (gst_tee_init):
19796           and use them
19797
19798 2005-11-16  Wim Taymans  <wim@fluendo.com>
19799
19800         * gst/gstpad.c: (gst_pad_pause_task):
19801         Removed warning, it's not really an error either.
19802
19803 2005-11-16  Wim Taymans  <wim@fluendo.com>
19804
19805         * gst/base/gstbasetransform.c:
19806         (gst_base_transform_prepare_output_buf),
19807         (gst_base_transform_event):
19808         Check if the caps are NULL, this can happen if the element
19809         is shutting down and the pad caps are set to NULL.
19810
19811 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19812
19813         * gst/elements/gsttee.c: (gst_tee_init):
19814           fix pad template leak in tee
19815
19816 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19817
19818         * gst/glib-compat.c: (g_value_dup_gst_object):
19819         * gst/glib-compat.h:
19820         * gst/gstpad.c: (gst_pad_set_property):
19821           use gst_object_ref when setting the pad template; this will
19822           trigger the pad template leaks on GLib 2.6 and the slaves
19823
19824 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19825
19826         * gst/glib-compat.c: (gst_flags_get_first_value):
19827         * gst/glib-compat.h:
19828         * gst/gstregistryxml.c:
19829           remove functions copied from GLib 2.6
19830
19831 2005-11-16  Michael Smith <msmith@fluendo.com>
19832
19833         * gst/Makefile.am:
19834           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19835           do, but only breaks with newer valgrind versions. We're not a
19836           valgrind tool, we have no link-time dependencies on libcoregrind.
19837
19838 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19839
19840         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19841           some debug changes
19842         * gst/gstmessage.h:
19843           typo fixes
19844
19845 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19846
19847         * gst/base/gstbasesrc.c: (gst_base_src_init):
19848         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19849         * gst/gstqueue.c: (gst_queue_init):
19850         * gst/gstregistryxml.c: (load_feature):
19851           Revert all these unrefs, they don't even pass make check !
19852
19853 2005-11-15  Johan Dahlin  <johan@gnome.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         Free pad templates, fixes a couple of leaks.
19859
19860 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19861
19862         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19863
19864         * gst/gstpad.c: (gst_pad_get_property):
19865           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19866           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19867           (#321452)
19868
19869 2005-11-15  Wim Taymans  <wim@fluendo.com>
19870
19871         * gst/gstevent.c:
19872         Small doc update.
19873
19874 2005-11-15  Andy Wingo  <wingo@pobox.com>
19875
19876         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19877
19878         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19879         using GST_CLOCK_TIME_NONE to disable base time management.
19880         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19881         time if it was NONE before.
19882         (gst_pipeline_change_state): Only munge the base time if
19883         stream_time != GST_CLOCK_TIME_NONE.
19884
19885         * check/gst/gstpipeline.c (test_base_time): Punt around the
19886         problem of the probe not being called, because that's not the
19887         issue I'm looking at. Add a check that setting stream_time to NONE
19888         disables base time management.
19889         
19890 2005-11-15  Wim Taymans  <wim@fluendo.com>
19891
19892         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19893         segment_stop == -1 at startup.
19894
19895         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19896         (gst_base_transform_change_state):
19897         Init segment values at start.
19898
19899 2005-11-15  Wim Taymans  <wim@fluendo.com>
19900
19901         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19902         0 segment values are 0 in any format.
19903
19904         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19905         * gst/base/gstbasetransform.h:
19906         Parse newsegment correctly in basetransform
19907
19908         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19909         Sync to clock using updated segment values.
19910
19911 2005-11-15  Andy Wingo  <wingo@pobox.com>
19912
19913         * check/gst/gstpipeline.c (test_base_time): Add check that the
19914         base time and stream time are reset correctly.
19915
19916 2005-11-15  Wim Taymans  <wim@fluendo.com>
19917
19918         * docs/design/part-TODO.txt:
19919         Some more TODO items.
19920
19921 2005-11-15  Andy Wingo  <wingo@pobox.com>
19922
19923         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19924         error if the user selected "no clock" as the clocking method.
19925
19926         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19927         timestamps with live capture.
19928
19929         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19930         is 0 but we are a live source, timestamp the buffers using the
19931         element's clock.
19932
19933 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19934
19935         * docs/gst/gstreamer-sections.txt:
19936         * gst/gsterror.c:
19937         * gst/gstghostpad.c:
19938         * gst/gstobject.h:
19939         * gst/gstxml.c:
19940           more section docs
19941
19942 2005-11-14  Wim Taymans  <wim@fluendo.com>
19943
19944         * common/gst.supp:
19945           add suppressions from Wim's Debian machine
19946
19947 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19948
19949         * common/gst.supp:
19950           add suppressions from Andy's AMD64 Ubuntu machine
19951
19952 2005-11-14  Andy Wingo  <wingo@pobox.com>
19953
19954         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19955         STATE_LOCK not necessary. Fixes #311489.
19956
19957         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19958         #305291.
19959
19960         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19961         this function is not implemented.
19962
19963 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19964
19965         * gst/base/gstbasetransform.c:
19966         (gst_base_transform_prepare_output_buf):
19967         Ref the source pad caps while we need them.
19968         Fixes (#321386)
19969
19970 2005-11-11  Wim Taymans  <wim@fluendo.com>
19971
19972         * docs/gst/gstreamer-sections.txt:
19973         Added some docs for GstCollectData.
19974
19975         * gst/base/gstadapter.c:
19976         Some small code example fix.
19977
19978         * gst/base/gstcollectpads.c:
19979         * gst/base/gstcollectpads.h:
19980         Document some more.
19981
19982 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19983
19984         * configure.ac: back to HEAD
19985
19986 === release 0.9.5 ===
19987
19988 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19989
19990         * configure.ac:
19991           releasing 0.9.5, "Bike Lunch Day"
19992
19993 2005-11-11  Wim Taymans  <wim@fluendo.com>
19994
19995         * gst/gstbuffer.c: (_gst_buffer_copy):
19996         Copy more flags.
19997
19998         * gst/gstcaps.c: (gst_caps_is_equal):
19999         Fix some docs.
20000         Make _is_equal fast in the trivial cases.
20001
20002         * gst/gstminiobject.c:
20003         * gst/gstminiobject.h:
20004         More docs. Spifify .h file.
20005
20006         * gst/gstutils.c:
20007         Small doc update.
20008
20009 2005-11-11  Wim Taymans  <wim@fluendo.com>
20010
20011         * gst/base/gstbasetransform.c:
20012         (gst_base_transform_prepare_output_buf),
20013         (gst_base_transform_handle_buffer):
20014         Small cleanups.
20015         If we're processing a buffer and need to allocate an output
20016         buffer, we cannot accept a format change. If we did get a 
20017         format change, we have to alloc a buffer ourselves of the 
20018         right size.
20019
20020 2005-11-11  Wim Taymans  <wim@fluendo.com>
20021
20022         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
20023         While checking the flag for reentrancy in the gstcaps function
20024         is nice to detect recursive invocations, it also makes it 
20025         impossible to call getcaps from multiple threads, which must be
20026         possible. So, checking for recursive calls has to go.
20027
20028 2005-11-11  Michael Smith <msmith@fluendo.com>
20029
20030         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20031           Don't sync on buffers that fall partially outside our current
20032           segment. Prevents an assertion failure/abort playing some files.
20033
20034 2005-11-10  Andy Wingo  <wingo@pobox.com>
20035
20036         * check/gst/gstbin.c (test_message_state_changed_children): Style
20037         fix..
20038
20039         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
20040         gst_bus_poll with the signal watch. Ensures that poll and a signal
20041         watch see the same messages.
20042
20043         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
20044         a poll and a watch at the same time get the same messages.
20045
20046 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20047
20048         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
20049         * gst/gstcaps.c: (gst_caps_intersect):
20050           Don't call gst_caps_do_simplify - it doesn't respect order of caps
20051           and it's not needed.
20052
20053 2005-11-10  Wim Taymans  <wim@fluendo.com>
20054
20055         * docs/design/part-TODO.txt:
20056         Updated todo.
20057
20058 2005-11-10  Wim Taymans  <wim@fluendo.com>
20059
20060         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20061         * gst/base/gstbasesrc.c: (gst_base_src_wait),
20062         (gst_base_src_do_sync), (gst_base_src_get_range):
20063         Implement clock sync in base class.
20064
20065 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20066
20067         patch by: Tim-Philipp Müller <tim at centricular dot net>
20068
20069         * gst/gststructure.c: (gst_structure_parse_field),
20070         (gst_structure_from_string):
20071           Forward-port a 0.8 patch to handle escaped spaces in structure string,
20072           so that gst_parse_launch() can deal with spaces in filtered link
20073           caps (fixes #164479)
20074         * check/gst/capslist.h:
20075         * check/gst/gststructure.c: (GST_START_TEST):
20076           add unit tests for this change
20077
20078 2005-11-10  Wim Taymans  <wim@fluendo.com>
20079
20080         * docs/gst/gstreamer-sections.txt:
20081         * gst/gstelement.c:
20082         * gst/gstelement.h:
20083         Fix docs, move some STATE macros to private.
20084
20085 2005-11-10  Wim Taymans  <wim@fluendo.com>
20086
20087         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20088         Added check for bug #317341
20089
20090         * gst/gstbuffer.c:
20091         * gst/gstbuffer.h:
20092         Some more spiffifying.
20093
20094         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
20095         Call peer linkfunction if we are a source pad. Totally fixes
20096         #317341
20097
20098         * gst/gstpad.c:
20099         Update docs, source pads should call the peer linkfunction
20100         so they can atomically perform the pad link.
20101
20102 2005-11-09  Wim Taymans  <wim@fluendo.com>
20103
20104         * gst/gstbuffer.c:
20105         * gst/gstbuffer.h:
20106         Uber-spiffy-spiffify some more.
20107
20108 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
20109
20110         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
20111         * gst/elements/gstfilesink.c: (gst_file_sink_init):
20112         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20113         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
20114         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
20115         * gst/gstpad.c: (gst_pad_init):
20116           Use GST_DEBUG_FUNCPTR() more extensively.
20117
20118 2005-11-09  Wim Taymans  <wim@fluendo.com>
20119
20120         * gst/gstobject.c: (gst_object_class_init):
20121         * gst/gstobject.h:
20122         Documentation fixes.
20123
20124 2005-11-09  Edward Hervey  <edward@fluendo.com>
20125
20126         * gst/gsttypefindfactory.c:
20127         Fix docs.
20128         
20129 2005-11-09  Edward Hervey  <edward@fluendo.com>
20130
20131         * gst/base/gsttypefindhelper.c:
20132         * gst/gsttypefind.c:
20133         * gst/gsttypefind.h:
20134         Fix docs.
20135
20136 2005-11-09  Wim Taymans  <wim@fluendo.com>
20137
20138         * gst/gstiterator.c:
20139         Fix revision data.
20140
20141         * gst/gsttask.c:
20142         * gst/gsttask.h:
20143         Fix docs.
20144
20145 2005-11-09  Wim Taymans  <wim@fluendo.com>
20146
20147         * gst/gstevent.h:
20148         * gst/gsturi.h:
20149         Fix docs.
20150
20151 2005-11-09  Wim Taymans  <wim@fluendo.com>
20152
20153         * docs/gst/gstreamer-sections.txt:
20154         Moved the message async delivery private lock and cond
20155         to the private section.
20156
20157         * gst/gstmessage.c:
20158         * gst/gstmessage.h:
20159         Fixed docs.
20160
20161 2005-11-09  Edward Hervey  <edward@fluendo.com>
20162
20163         * docs/gst/gstreamer-sections.txt:
20164         * gst/gsturi.c:
20165         * gst/gsturi.h:
20166         Document GstURIHandler
20167
20168 2005-11-09  Wim Taymans  <wim@fluendo.com>
20169
20170         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
20171         (gst_iterator_find_custom):
20172         * gst/gstiterator.h:
20173         Fix iterator docs.
20174
20175 2005-11-09  Wim Taymans  <wim@fluendo.com>
20176
20177         * gst/gstbin.h:
20178         Document another field.
20179
20180         * gst/gststructure.c:
20181         * gst/gststructure.h:
20182         Document.
20183
20184 2005-11-09  Wim Taymans  <wim@fluendo.com>
20185
20186         * gst/gstbin.h:
20187         Documented structs.
20188
20189 2005-11-09  Wim Taymans  <wim@fluendo.com>
20190
20191         * docs/gst/gstreamer-sections.txt:
20192         Added some new macros.
20193
20194         * gst/gstclock.c:
20195         * gst/gstclock.h:
20196         * gst/gstobject.h:
20197         Docs updates.
20198
20199 2005-11-09  Wim Taymans  <wim@fluendo.com>
20200
20201         * docs/design/part-TODO.txt:
20202         Some more items for the TODO
20203
20204         * gst/gstcaps.c:
20205         * gst/gstcaps.h:
20206         Document GstCaps.
20207
20208 2005-11-09  Andy Wingo  <wingo@pobox.com>
20209
20210         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
20211         to work on something else now tho...
20212
20213         * gst/base/gstadapter.c: More adapter docs.
20214
20215         * gst/elements/gstfilesink.c (gst_file_sink_start) 
20216         (gst_file_sink_stop): New functions, replace the state change
20217         handler.
20218         (gst_file_sink_class_init): Hook up the start and stop functions.
20219         (gst_file_sink_base_init): Don't set the state change handler any
20220         more. It was a bit ugly too, being set from here...
20221         (gst_file_sink_get_property, gst_file_sink_set_property):
20222         Cleanups...
20223         (gst_file_sink_set_location): More robust check that doesn't call
20224         GST_STATE. Ugggggg.
20225
20226 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
20227
20228         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20229           Hold STREAM_LOCK while pushing newsegment or tag events as well.
20230
20231 2005-11-08  Wim Taymans  <wim@fluendo.com>
20232
20233         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20234         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20235         (gst_base_sink_chain), (gst_base_sink_change_state):
20236         * gst/base/gstbasesink.h:
20237         * gst/base/gstbasesrc.h:
20238         * gst/gstelement.h:
20239         * gst/gstevent.h:
20240         Avoid excessive typechecking in macros.
20241
20242         * gst/gstminiobject.c: (gst_mini_object_get_type),
20243         (gst_mini_object_init), (gst_mini_object_new),
20244         (gst_mini_object_free):
20245         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20246         (gst_object_finalize):
20247         Remove cruft code, optimize alloc_trace.
20248
20249 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
20250
20251         * docs/faq/gst-uninstalled:
20252           fix up PS1 for systems that try to reset it
20253
20254 2005-11-07  Wim Taymans  <wim@fluendo.com>
20255
20256         * gst/base/gstbasesrc.c: (gst_base_src_init),
20257         (gst_base_src_get_range):
20258         Set the segment_end to -1 initially. Fixed typefind.
20259
20260 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
20261
20262         * gst/base/gstadapter.c:
20263           Debug category should be 'adapter', not 'GstAdapter'.
20264           
20265         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
20266         (gst_collectpads_class_init), (gst_collectpads_init),
20267         (gst_collectpads_peek), (gst_collectpads_pop),
20268         (gst_collectpads_event), (gst_collectpads_chain):
20269           Add debug category and some debugging output. Use boilerplate
20270           macros. Remove some extraneous words from docs.
20271
20272 2005-11-05  Andy Wingo  <wingo@pobox.com>
20273
20274         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20275         macro.
20276
20277 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20278
20279         * docs/gst/gstreamer-sections.txt:
20280         * gst/gstcaps.h:
20281         * gst/gstinfo.c:
20282         * gst/gstminiobject.h:
20283         * gst/gstobject.h:
20284         * gst/gstutils.h:
20285           more docs added
20286
20287 2005-11-04  Wim Taymans  <wim@fluendo.com>
20288
20289         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20290         Small update to stop at the configured segment_end
20291         position.
20292
20293 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20294
20295         * gst/gstregistry.c:
20296         * gst/gstregistry.h:
20297           added missing docs
20298
20299 2005-11-04  Edward Hervey  <edward@fluendo.com>
20300
20301         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20302         Check if we are doing a segment seek and have arrived at the
20303         end of that segment.
20304
20305 2005-11-04  Wim Taymans  <wim@fluendo.com>
20306
20307         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20308         Don't leak a mutex unlock in case of an error.
20309
20310         * gst/gstbus.h:
20311         Doc fixes.
20312
20313 2005-11-04  Wim Taymans  <wim@fluendo.com>
20314
20315         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20316         (gst_bus_post):
20317         Get the context to wake up only once.
20318
20319 2005-11-03  Wim Taymans  <wim@fluendo.com>
20320
20321         * check/states/sinks.c: (GST_START_TEST):
20322         Uncomment fixed check.
20323
20324         * docs/design/part-TODO.txt:
20325         Updated TODO.
20326
20327         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20328         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20329         (gst_base_sink_get_position):
20330         If we are going to PLAYING, post the right pending state
20331         when we post the intermediate paused message.
20332
20333         * gst/gstelement.c: (gst_element_continue_state),
20334         (gst_element_set_state_func), (gst_element_change_state):
20335         Don't post state changes that were between the same state
20336         and were not ASYNC.
20337
20338 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20339
20340         * docs/gst/gstreamer-sections.txt:
20341         * gst/gstcaps.h:
20342         * gst/gstinfo.c:
20343         * gst/gstminiobject.h:
20344         * gst/gstobject.h:
20345         * gst/gstutils.h:
20346           more docs and doc style fixes
20347
20348 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20349
20350         * docs/gst/gstreamer-sections.txt:
20351         * gst/gstelement.c:
20352         * gst/gstminiobject.c:
20353         doc fixes
20354
20355 2005-11-03  Andy Wingo  <wingo@pobox.com>
20356
20357         * check/states/sinks.c (test_livesrc_sink): Add checks that the
20358         state-changed messages actually have the right order and the right
20359         values.
20360
20361 2005-11-03  Wim Taymans  <wim@fluendo.com>
20362
20363         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20364         Added some more checks. Specifically the case where NO_PREROLL
20365         elements are in the pipeline.
20366
20367         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20368         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20369         (gst_base_sink_get_position):
20370         Post READY->PAUSED state change messages too.
20371         Fix bug where VOID was posted as pending state...
20372
20373         * gst/gstbin.c: (gst_bin_recalc_state):
20374         use _element_continue_state() to continue the state change.
20375
20376         * gst/gstelement.c: (gst_element_continue_state),
20377         (gst_element_commit_state), (gst_element_set_state_func),
20378         (gst_element_change_state), (gst_element_change_state_func):
20379         Lots of state change cleanups, assign the STATE_RETURN in
20380         a new continue_state() function that also propagates the
20381         last return value from a state change to the app.
20382         Update some debug statements with proper category.
20383
20384 2005-11-03  Wim Taymans  <wim@fluendo.com>
20385
20386         * docs/design/part-events.txt:
20387         * docs/design/part-gstpipeline.txt:
20388         * docs/design/part-messages.txt:
20389         * docs/design/part-overview.txt:
20390         * docs/design/part-seeking.txt:
20391         * docs/design/part-states.txt:
20392         * docs/design/part-trickmodes.txt:
20393         * docs/manual/advanced-position.xml:
20394         Small docs updates.
20395
20396         * gst/gstobject.h:
20397         People think !! is ugly, this looks better.
20398
20399         * gst/gstpad.c: (gst_pad_set_blocked_async):
20400         Remove !! since it's fixed elsewhere now.
20401
20402 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20403
20404         * gst/gstminiobject.h:
20405         * gst/gstobject.h:
20406           Add !! to _FLAG_IS_SET macros to make the result boolean.
20407
20408 2005-11-03  Edward Hervey  <edward@fluendo.com>
20409
20410         * gst/gstpad.c: (gst_pad_set_blocked_async):
20411         comparing a flag and a gboolean rarely returns coherent results...
20412         Added two characters (!!) to make that work correctly.
20413         
20414 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20415
20416         * gst/gstbus.c: (gst_bus_class_init):
20417           Fix some typos.
20418           
20419         * gst/gstqueue.c: (gst_queue_loop):
20420           Don't assume a miniobject that isn't a buffer is an
20421           event (it could be that there is a refcounting
20422           problem somewhere and the pointer is stale and
20423           refers to an already destroyed miniobject).
20424
20425 2005-11-03  Julien MOUTTE  <julien@moutte.net>
20426
20427         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20428
20429 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20430
20431         * docs/manual/advanced-position.xml:
20432           Update seek example and explanations to current 0.9 API.
20433
20434         * gst/elements/gsttypefindelement.c:
20435         (gst_type_find_element_activate):
20436           Remove FIXME comment now that the found caps
20437           are unreffed.
20438
20439 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20440
20441         * gst/gstregistryxml.c: (load_feature):
20442           Add another GST_STR_NULL instance
20443
20444 2005-11-02  Edward Hervey  <edward@fluendo.com>
20445
20446         * gst/gstpad.c: (handle_pad_block):
20447         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20448         
20449 2005-11-02  Wim Taymans  <wim@fluendo.com>
20450
20451         * gst/gstbin.c:
20452         Fix typo in docs.
20453
20454         * gst/gstelement.c: (gst_element_commit_state):
20455         Remove unused value.
20456
20457         * gst/gstiterator.c:
20458         Mention that the returned element is reffed in the docs.
20459
20460 2005-11-02  Wim Taymans  <wim@fluendo.com>
20461
20462         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20463         (gst_pad_push), (gst_pad_push_event):
20464         Unlock blocked pads when they are flushed.
20465
20466 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20467
20468         * docs/README:
20469         * docs/gst/gstreamer-sections.txt:
20470         * gst/gstbin.c:
20471           doc updates
20472         * gst/gstregistry.c: (gst_registry_scan_path_level):
20473           fix for a nasty little missed situation where an installed plug-in
20474           which was in the cache did not get overridden by an uninstalled one
20475           which was earlier in the plugin path because the newly created plugin
20476           for the uninstalled one (not in the registry) didn't get its
20477           ->registered set to TRUE
20478
20479 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20480
20481         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20482         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20483         (gst_collectpads_is_active), (gst_collectpads_collect),
20484         (gst_collectpads_collect_range), (gst_collectpads_start),
20485         (gst_collectpads_stop), (gst_collectpads_peek),
20486         (gst_collectpads_pop), (gst_collectpads_available),
20487         (gst_collectpads_read), (gst_collectpads_flush):
20488           Guard public API with assertions.
20489         
20490         * gst/gstpad.c:
20491           Fix docs for gst_pad_set_link_function().
20492
20493 2005-11-02  Johan Dahlin  <johan@gnome.org>
20494
20495         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
20496         Unref found_caps after we used it.
20497
20498 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20499
20500         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20501           Don't try to ref NULL.
20502
20503 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20504
20505         * win32/common/config.h.in:
20506           provide a GST_FUNCTION that just gives a string for now
20507
20508 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20509
20510         * win32/common/gstenumtypes.c: (register_gst_object_flags),
20511         (gst_object_flags_get_type), (register_gst_bin_flags),
20512         (gst_bin_flags_get_type), (register_gst_buffer_flag),
20513         (gst_buffer_flag_get_type), (register_gst_bus_flags),
20514         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20515         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20516         (gst_clock_return_get_type), (register_gst_clock_entry_type),
20517         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20518         (gst_clock_flags_get_type), (register_gst_state),
20519         (gst_state_get_type), (register_gst_state_change_return),
20520         (gst_state_change_return_get_type), (register_gst_state_change),
20521         (gst_state_change_get_type), (register_gst_element_flags),
20522         (gst_element_flags_get_type), (register_gst_core_error),
20523         (gst_core_error_get_type), (register_gst_library_error),
20524         (gst_library_error_get_type), (register_gst_resource_error),
20525         (gst_resource_error_get_type), (register_gst_stream_error),
20526         (gst_stream_error_get_type), (register_gst_event_type),
20527         (gst_event_type_get_type), (register_gst_seek_type),
20528         (gst_seek_type_get_type), (register_gst_seek_flags),
20529         (gst_seek_flags_get_type), (register_gst_format),
20530         (gst_format_get_type), (register_gst_index_certainty),
20531         (gst_index_certainty_get_type), (register_gst_index_entry_type),
20532         (gst_index_entry_type_get_type),
20533         (register_gst_index_lookup_method),
20534         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20535         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20536         (gst_index_resolver_method_get_type), (register_gst_index_flags),
20537         (gst_index_flags_get_type), (register_gst_debug_level),
20538         (gst_debug_level_get_type), (register_gst_debug_color_flags),
20539         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20540         (gst_iterator_result_get_type), (register_gst_iterator_item),
20541         (gst_iterator_item_get_type), (register_gst_message_type),
20542         (gst_message_type_get_type), (register_gst_mini_object_flags),
20543         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20544         (gst_pad_link_return_get_type), (register_gst_flow_return),
20545         (gst_flow_return_get_type), (register_gst_activate_mode),
20546         (gst_activate_mode_get_type), (register_gst_pad_direction),
20547         (gst_pad_direction_get_type), (register_gst_pad_flags),
20548         (gst_pad_flags_get_type), (register_gst_pad_presence),
20549         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20550         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20551         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20552         (gst_plugin_error_get_type), (register_gst_plugin_flags),
20553         (gst_plugin_flags_get_type), (register_gst_rank),
20554         (gst_rank_get_type), (register_gst_query_type),
20555         (gst_query_type_get_type), (register_gst_tag_merge_mode),
20556         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20557         (gst_tag_flag_get_type), (register_gst_task_state),
20558         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20559         (gst_alloc_trace_flags_get_type),
20560         (register_gst_type_find_probability),
20561         (gst_type_find_probability_get_type), (register_gst_uri_type),
20562         (gst_uri_type_get_type), (register_gst_parse_error),
20563         (gst_parse_error_get_type):
20564         * win32/common/gstversion.h:
20565           update win32 copies
20566
20567 2005-11-01  Luca Ognibene  <luogni@tin.it>
20568
20569         * gst/gst.c:
20570           fix docs. popt is dead, long live GOption.
20571
20572 2005-10-31  Wim Taymans  <wim@fluendo.com>
20573
20574         * gst/gstbuffer.h:
20575         Small doc fix.
20576
20577 2005-10-31  Andy Wingo  <wingo@pobox.com>
20578
20579         * Boo!
20580
20581         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20582
20583         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20584         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20585         the possibility of deadlocks here if code calling notify() or
20586         set() has a lock that can be taken in another notify handler (ABBA
20587         with class lock and e.g. python GIL state lock).
20588
20589 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20590
20591         * gst/gstbus.c: Doc updates.
20592
20593 2005-10-28  Wim Taymans  <wim@fluendo.com>
20594
20595         * docs/design/part-TODO.txt:
20596         * gst/gstiterator.c:
20597         * gst/gstsystemclock.c:
20598         * gst/gstsystemclock.h:
20599         Doc updates.
20600
20601 2005-10-28  Edward Hervey  <edward@fluendo.com>
20602
20603         * docs/gst/gstreamer-docs.sgml:
20604         * docs/gst/gstreamer-sections.txt:
20605         the GstURIType documentation page is private, it only defines GstURIType
20606         which should be defined in the GstURIHandler page
20607         
20608 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20609
20610         * gst/gstbin.c: (gst_bin_class_init):
20611         * gst/gstbin.h:
20612         * gst/gstutils.c:
20613         Documentation updates.
20614
20615 2005-10-28  Wim Taymans  <wim@fluendo.com>
20616
20617         * docs/gst/gstreamer-sections.txt:
20618         * gst/gstclock.c:
20619         * gst/gstclock.h:
20620         Documented the clocks.
20621
20622 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20623
20624         * docs/gst/gstreamer-sections.txt:
20625           move some macros to private sections
20626         * gst/gstminiobject.c:
20627         * gst/gstminiobject.h:
20628           add descriptions provided by ds and some more
20629         * gst/gstpad.h:
20630           mark macro as to be removed
20631
20632 2005-10-28  Wim Taymans  <wim@fluendo.com>
20633
20634         * docs/design/part-TODO.txt:
20635         Add an item to TODO.
20636
20637         * gst/gstiterator.c: (gst_iterator_fold),
20638         (gst_iterator_find_custom):
20639         * gst/gstiterator.h:
20640         Add iterator docs.
20641
20642 2005-10-28  Wim Taymans  <wim@fluendo.com>
20643
20644         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20645         (gst_base_transform_init):
20646         Don't leak class.
20647
20648         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20649         An EOS event marks the queue as completely filled.
20650
20651 2005-10-27  Wim Taymans  <wim@fluendo.com>
20652
20653         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20654         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20655         Some more debugging.
20656
20657         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20658         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20659         (gst_base_transform_event), (gst_base_transform_getrange),
20660         (gst_base_transform_chain):
20661         * gst/base/gstbasetransform.h:
20662         Fix debugging,
20663         Protect transform and concurrent buffer alloc with a new lock.
20664         Try not to break ABI/API.
20665
20666 2005-10-27  Wim Taymans  <wim@fluendo.com>
20667
20668         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20669         (gst_base_src_init), (gst_base_src_query),
20670         (gst_base_src_default_newsegment),
20671         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20672         (gst_base_src_send_event), (gst_base_src_event_handler),
20673         (gst_base_src_pad_get_range), (gst_base_src_loop),
20674         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20675         (gst_base_src_start), (gst_base_src_deactivate),
20676         (gst_base_src_activate_push), (gst_base_src_change_state):
20677         Move some stuff around and cleanup things.
20678
20679 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20680
20681         * gst/base/gstbasesrc.c: (gst_base_src_query):
20682           Add missing break statements.
20683
20684 2005-10-27  Wim Taymans  <wim@fluendo.com>
20685
20686         * check/gst/gstbin.c: (GST_START_TEST):
20687         An extra refcount is taken in basesrc.
20688
20689         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20690         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20691         (gst_base_src_loop):
20692         Small cleanups, check for flushing after being unlocked from the 
20693         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20694         Don't send out EOS when going to READY.
20695
20696 2005-10-27  Wim Taymans  <wim@fluendo.com>
20697
20698         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20699         (gst_base_sink_get_position):
20700         Some more debug.
20701
20702         * gst/gstbin.c: (message_check), (bin_replace_message),
20703         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20704         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20705         (bin_query_duration_init), (bin_query_duration_fold),
20706         (bin_query_duration_done), (bin_query_generic_fold),
20707         (gst_bin_query):
20708         * tools/gst-launch.c: (main):
20709         Remove old option.
20710
20711 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20712
20713         * examples/controller/audio-example.c: (main):
20714         * examples/queue/queue.c: (event_loop):
20715         * gst/base/gstbasetransform.h:
20716         * gst/gstelement.c: (gst_element_send_event):
20717         * gst/gstevent.h:
20718         * gst/gstpad.c: (gst_pad_send_event):
20719           fixing examples
20720           fixing docs typos
20721           changing log priority in error situations
20722
20723 2005-10-25  Wim Taymans  <wim@fluendo.com>
20724
20725         * gst/gstbin.c: (message_check), (bin_replace_message),
20726         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20727         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20728         (bin_query_duration_init), (bin_query_duration_fold),
20729         (bin_query_duration_done), (bin_query_generic_fold),
20730         (gst_bin_query):
20731         Some doc and debug updates.
20732         Cache previously requested query DURATION for speed. invalidate
20733         cached duration if element posts a DURATION message.
20734
20735 2005-10-25  Wim Taymans  <wim@fluendo.com>
20736
20737         * docs/design/part-TODO.txt:
20738         Update TODO.
20739
20740         * gst/gstbin.c: (message_check), (bin_replace_message),
20741         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20742         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20743         (bin_query_duration_init), (bin_query_duration_fold),
20744         (bin_query_duration_done), (bin_query_generic_fold),
20745         (gst_bin_query):
20746         Handle SEGMENT_START/DONE messages correctly.
20747         More evolved query algorithm that handles duration queries
20748         correctly.
20749
20750         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20751         (gst_element_get_state_func), (gst_element_abort_state),
20752         (gst_element_commit_state), (gst_element_lost_state):
20753         Some more debugging.
20754
20755         * gst/gstmessage.h:
20756         Added doc.
20757
20758 2005-10-25  Wim Taymans  <wim@fluendo.com>
20759
20760         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20761         Don't use invalid stream_time.
20762
20763         * gst/gstevent.c: (gst_event_new_newsegment):
20764         stream_time in newsegment cannot be undefined.
20765
20766 2005-10-24  Wim Taymans  <wim@fluendo.com>
20767
20768         * gst/gstbus.c:
20769         Doc fix.
20770
20771         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20772         (gst_queue_loop):
20773         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20774
20775 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20776
20777         * docs/libs/tmpl/gstdparam.sgml:
20778         * docs/libs/tmpl/gstdplinint.sgml:
20779         * docs/libs/tmpl/gstdpman.sgml:
20780         * docs/libs/tmpl/gstdpsmooth.sgml:
20781         * docs/libs/tmpl/gstunitconvert.sgml:
20782           these are obsolete
20783
20784 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20785
20786         * configure.ac:
20787           back to HEAD
20788
20789 === release 0.9.4 ===
20790
20791 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20792
20793         * configure.ac:
20794           releasing 0.9.4, "Tyrannosaurus Rex"
20795
20796 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20797
20798         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20799         (gst_file_sink_get_current_offset):
20800           Use fseeko() and ftello() if available. When falling back on
20801           lseek() to get the current offset, fflush() first to make sure
20802           everything is up-to-date and we get the right offset.
20803
20804 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20805
20806         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20807         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20808         * gst/gsterror.c: (_gst_stream_errors_init):
20809         * gst/gsterror.h:
20810         * gst/gstqueue.c: (gst_queue_loop):
20811         * po/POTFILES.in:
20812           remove prematurely added error category and clean up the instances
20813
20814 2005-10-21  Wim Taymans  <wim@fluendo.com>
20815
20816         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20817         (gst_base_sink_get_position), (gst_base_sink_query),
20818         (gst_base_sink_change_state):
20819         Simply set the right flag when going to playing, that's all
20820         we need to do instead of calling a function inside the object
20821         lock (that could take the lock as well and deadlock)
20822
20823 2005-10-21  Wim Taymans  <wim@fluendo.com>
20824
20825         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20826         (gst_base_src_loop):
20827         Don't warn, the peer element knows what to do best when
20828         the seek failed, it might try something else.
20829
20830 2005-10-21  Wim Taymans  <wim@fluendo.com>
20831
20832         * gst/base/gstbasesrc.c: (gst_base_src_init),
20833         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20834         Fix seeking.
20835
20836 2005-10-21  Wim Taymans  <wim@fluendo.com>
20837
20838         * docs/design/part-segments.txt:
20839         More docs.
20840
20841         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20842         Correctly set caps, even on the subbufer.
20843
20844 2005-10-21  Wim Taymans  <wim@fluendo.com>
20845
20846         * docs/gst/gstreamer-docs.sgml:
20847         * docs/gst/gstreamer-sections.txt:
20848         * gst/gstelement.h:
20849         * gst/gstevent.c:
20850         * gst/gstevent.h:
20851         * gst/gstmessage.h:
20852         * gst/gstpad.h:
20853         * gst/gstparse.h:
20854         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20855         * gst/gsttask.h:
20856         * gst/gstutils.c:
20857         * gst/gstutils.h:
20858         And 2% more doc coverage.
20859
20860 2005-10-21  Andy Wingo  <wingo@pobox.com>
20861
20862         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20863         position reporting.
20864
20865 2005-10-20  Wim Taymans  <wim@fluendo.com>
20866
20867         * gst/gsterror.c: (gst_error_get_message):
20868         * gst/gstparse.h:
20869         * gst/gstquery.h:
20870         * gst/gststructure.c:
20871         * gst/gsttrace.c:
20872         * gst/gstutils.c:
20873         More docs.
20874
20875 2005-10-20  Wim Taymans  <wim@fluendo.com>
20876
20877         * gst/gstbuffer.h:
20878         * gst/gstpad.c:
20879         * gst/gstparse.c:
20880         Another 1% more coverage.
20881
20882 2005-10-20  Wim Taymans  <wim@fluendo.com>
20883
20884         * docs/gst/gstreamer-sections.txt:
20885         * gst/gstelement.c: (gst_element_get_state_func),
20886         (gst_element_abort_state), (gst_element_commit_state),
20887         (gst_element_lost_state):
20888         * gst/gstevent.h:
20889         * gst/gstquery.c: (gst_query_set_position),
20890         (gst_query_parse_position), (gst_query_set_duration),
20891         (gst_query_parse_duration), (gst_query_new_convert):
20892         * gst/gstutils.c:
20893         Yay! 1% more docs coverage.
20894
20895 2005-10-20  Wim Taymans  <wim@fluendo.com>
20896
20897         * gst/gstpad.h:
20898         * gst/gstquery.c: (gst_query_set_position),
20899         (gst_query_parse_position), (gst_query_set_duration),
20900         (gst_query_parse_duration), (gst_query_new_convert):
20901         * gst/gstquery.h:
20902         * gst/gstutils.c: (gst_element_query_convert):
20903         * gst/gstutils.h:
20904         Docs and consistency fixes.
20905
20906 2005-10-20  Wim Taymans  <wim@fluendo.com>
20907
20908         * gst/gsttask.c:
20909         * gst/gsttask.h:
20910         More docs.
20911
20912 2005-10-20  Wim Taymans  <wim@fluendo.com>
20913
20914         * gst/gstbin.c: (message_check), (bin_replace_message),
20915         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20916         (update_degree), (gst_bin_sort_iterator_next),
20917         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20918         Reworked the message handling a bit, cache the messages instead of
20919         only the senders. alows us to do more in the future.
20920
20921 2005-10-20  Wim Taymans  <wim@fluendo.com>
20922
20923         * docs/design/part-TODO.txt:
20924         Update TODO
20925
20926         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20927         (gst_base_sink_query):
20928         Don't use clock time to report position when in EOS.
20929
20930 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20931
20932         * tools/gst-inspect.c: (print_interfaces),
20933         (print_element_properties_info), (print_element_info):
20934           Fix interface output with gst-inspect -a; don't print
20935           newlines after double/float properties.
20936
20937 2005-10-20  Wim Taymans  <wim@fluendo.com>
20938
20939         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20940         (gst_base_sink_query):
20941         Speed up current position calculation.
20942
20943         * gst/base/gstbasesrc.c: (gst_base_src_query),
20944         (gst_base_src_default_newsegment):
20945         Correctly set stream position in newsegment.
20946
20947         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20948         (update_degree), (gst_bin_sort_iterator_next),
20949         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20950         * gst/gstmessage.c: (gst_message_new_custom):
20951         Clean up debugging info
20952
20953         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20954         (gst_queue_loop), (gst_queue_handle_src_query):
20955         Pause task faster.
20956
20957 2005-10-19  Wim Taymans  <wim@fluendo.com>
20958
20959         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20960         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20961         Fix query handling again.
20962
20963 2005-10-19  Wim Taymans  <wim@fluendo.com>
20964
20965         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20966         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20967         * gst/base/gstbasesrc.c: (gst_base_src_query):
20968         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20969         * gst/elements/gsttypefindelement.c:
20970         (gst_type_find_handle_src_query), (find_element_get_length),
20971         (gst_type_find_element_activate):
20972         API change fix.
20973
20974         * gst/gstquery.c: (gst_query_new_position),
20975         (gst_query_set_position), (gst_query_parse_position),
20976         (gst_query_new_duration), (gst_query_set_duration),
20977         (gst_query_parse_duration), (gst_query_set_segment),
20978         (gst_query_parse_segment):
20979         * gst/gstquery.h:
20980         Bundling query position/duration is not a good idea since duration
20981         does not change much and we don't want to recalculate it for every
20982         position query, so they are separated again..
20983         Base value in segment query is not needed.
20984
20985         * gst/gstqueue.c: (gst_queue_handle_src_query):
20986         * gst/gstutils.c: (gst_element_query_position),
20987         (gst_element_query_duration), (gst_pad_query_position),
20988         (gst_pad_query_duration):
20989         * gst/gstutils.h:
20990         Updates for query API change.
20991         Added some docs here and there.
20992
20993 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20994
20995         * check/gst/gstbin.c: (GST_START_TEST):
20996         * check/gst/gstghostpad.c: (GST_START_TEST):
20997         * check/pipelines/cleanup.c: (GST_START_TEST):
20998           wait on thread to die so we can check refcount correctly
20999
21000 2005-10-18  Wim Taymans  <wim@fluendo.com>
21001
21002         * check/pipelines/stress.c: (GST_START_TEST):
21003         Make check a little more time consuming.
21004
21005 2005-10-18  Wim Taymans  <wim@fluendo.com>
21006
21007         * check/Makefile.am:
21008         * check/pipelines/stress.c: (GST_START_TEST),
21009         (simple_launch_lines_suite), (main):
21010         Small state change torture test.
21011
21012         * docs/design/part-states.txt:
21013         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21014         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
21015         (gst_base_sink_change_state):
21016         Never take state lock from streaming thread, clean up ugly
21017         hacks. Unfortunatly core does not yet support nice ways to
21018         async commit state.
21019         
21020         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
21021         (bin_bus_handler):
21022         Start state recalc if a STATE_DIRTY message is posted, but only
21023         on the toplevel bin.
21024
21025         * gst/gstelement.c: (gst_element_sync_state_with_parent),
21026         (gst_element_get_state_func), (gst_element_abort_state),
21027         (gst_element_commit_state), (gst_element_lost_state),
21028         (gst_element_set_state_func), (gst_element_change_state):
21029         * gst/gstelement.h:
21030         State variables are now protected with the LOCK, the state
21031         lock is only used to serialize _set_state().
21032
21033 2005-10-18  Wim Taymans  <wim@fluendo.com>
21034
21035         * check/gst/gstbin.c: (GST_START_TEST):
21036         * check/gst/gstmessage.c: (GST_START_TEST):
21037         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21038         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
21039         (bin_bus_handler):
21040         * gst/gstelement.c: (gst_element_abort_state),
21041         (gst_element_commit_state), (gst_element_lost_state):
21042         * gst/gstmessage.c: (gst_message_new_state_changed),
21043         (gst_message_new_state_dirty), (gst_message_new_segment_start),
21044         (gst_message_new_segment_done), (gst_message_new_duration),
21045         (gst_message_parse_state_changed),
21046         (gst_message_parse_segment_start),
21047         (gst_message_parse_segment_done), (gst_message_parse_duration):
21048         * gst/gstmessage.h:
21049         * tools/gst-launch.c: (event_loop):
21050         Seriously, this is better than a previous commit as we only need
21051         to notify the fact that an element changed state in a streaming
21052         thread, marking the state of the parents dirty, hence the 
21053         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
21054         message.
21055
21056 2005-10-18  Wim Taymans  <wim@fluendo.com>
21057
21058         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
21059         (gst_bin_recalc_func):
21060         * gst/gstelement.c: (gst_element_set_clock),
21061         (gst_element_abort_state), (gst_element_lost_state):
21062         Cleanups, prepare for state change fixes.
21063
21064 2005-10-18  Wim Taymans  <wim@fluendo.com>
21065
21066         * gst/gstbin.h:
21067         * gst/gstelement.c: (gst_element_class_init),
21068         (gst_element_set_state), (gst_element_set_state_func):
21069         * gst/gstelement.h:
21070         Pending ABI changes.
21071         GThreadPool in GstBinClass to monitor async state changes.
21072         state_cookie in GstElement to detect concurrent gst/set state.
21073         set_state is now virtual too in case a very complicated element
21074         has to be constructed.
21075
21076 2005-10-18  Wim Taymans  <wim@fluendo.com>
21077
21078         * check/gst/gstbin.c: (GST_START_TEST):
21079         * check/gst/gstmessage.c: (GST_START_TEST):
21080         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21081         * gst/gstbin.c: (bin_bus_handler):
21082         * gst/gstelement.c: (gst_element_commit_state),
21083         (gst_element_lost_state):
21084         * gst/gstmessage.c: (gst_message_new_state_changed),
21085         (gst_message_new_segment_start), (gst_message_new_segment_done),
21086         (gst_message_new_duration), (gst_message_parse_state_changed),
21087         (gst_message_parse_segment_start),
21088         (gst_message_parse_segment_done), (gst_message_parse_duration):
21089         * gst/gstmessage.h:
21090         * tools/gst-launch.c: (event_loop):
21091         Make messages future proof.
21092         state-change gets a flag if it was a message comming from the
21093         streaming thread.
21094         segment-start/stop can also be specified in other formats.
21095         A message to notify an app that a pipeline changed playback 
21096         duration.
21097         Also fix a GstMessage leak in -launch
21098
21099 2005-10-18  Andy Wingo  <wingo@pobox.com>
21100
21101         * gst/gstelement.c (gst_element_dispose): More helpful message.
21102
21103 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21104
21105         reviewed by: <delete if not using a buddy>
21106
21107         * common/gtk-doc.mak:
21108
21109 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21110
21111         * gst/gstregistry.c: (gst_registry_scan_path_level):
21112           unref a plug-in we get that was already initialized
21113
21114 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
21115
21116         * docs/gst/gstreamer-sections.txt:
21117         * docs/libs/gstreamer-libs-sections.txt:
21118         * gst/gstelement.h:
21119           add new api entries
21120           hide internal macro
21121
21122 2005-10-17  Andy Wingo  <wingo@pobox.com>
21123
21124         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
21125         cleanup.
21126
21127         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
21128
21129         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
21130
21131         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
21132         (gst_element_get_state_func): Better debug message.
21133         (gst_element_commit_state): s/INFO/DEBUG/.
21134         (gst_element_lost_state, gst_element_change_state): 
21135
21136         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
21137         (gst_message_new_custom): s/INFO/LOG/.
21138
21139 2005-10-17  Michael Smith <msmith@fluendo.com>
21140
21141         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21142           Check if end time is valid using end time, not start time.
21143
21144 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
21145
21146         * check/gst-libs/controller.c: (GST_START_TEST),
21147         (gst_controller_suite):
21148         * libs/gst/controller/gstcontroller.c:
21149         (gst_controlled_property_set_interpolation_mode):
21150         * libs/gst/controller/gstcontroller.h:
21151         * libs/gst/controller/gstinterpolation.c:
21152         * testsuite/controller/.cvsignore:
21153         * testsuite/controller/Makefile.am:
21154         * testsuite/controller/interpolator.c:
21155           merge controller testsuites
21156           fix broken tests
21157           remove mem-chunk from docs
21158
21159 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21160
21161         * gst/gstmemchunk.c:
21162         * gst/gstmemchunk.h:
21163         * gst/gsttrashstack.c:
21164         * gst/gsttrashstack.h:
21165           out.  get out.  you're fired.  to the Attic !
21166
21167 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21168
21169         * gst/gstcaps.c: (gst_caps_intersect):
21170           fix signedness issues in a (hopefully) correct way
21171         * gst/gstelement.c: (gst_element_pads_activate):
21172           some debugging
21173         * gst/gstobject.c: (gst_object_set_parent):
21174           some debugging
21175
21176 2005-10-17  Julien MOUTTE  <julien@moutte.net>
21177
21178         * gst/gstvalue.h: Fix prototypes.
21179
21180 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21181
21182         * docs/gst/gstreamer-sections.txt:
21183         * gst/gst.c: (gst_version_string):
21184         * gst/gst.h:
21185         * gst/gstversion.h.in:
21186         * win32/common/libgstreamer.def:
21187           add gst_version_string ()
21188
21189 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21190
21191         * configure.ac:
21192           clean up further
21193         * gst/gst.c: (init_post):
21194         * win32/common/config.h.in:
21195           it's PLUGINDIR now
21196         * gst/gstcaps.c: (gst_caps_intersect):
21197           use gint64, the range could be bigger than a guint
21198
21199 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21200
21201         * gst/gstclock.h:
21202           document potential problem in 2038
21203
21204 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21205
21206         * gst/gstcaps.c: (gst_caps_intersect):
21207           Fix guint j diving under 0
21208
21209 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21210
21211         * configure.ac:
21212         * win32/common/config.h:
21213         * win32/common/config.h.in:
21214           check for process.h, declares getpid() on Windows
21215         * gst/gstinfo.c:
21216           include process.h if we have it
21217         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
21218         * gst/gstmemchunk.h:
21219           fix signedness issues
21220         * win32/common/libgstreamer.def:
21221           fix get_type's
21222
21223 2005-10-16  Julien MOUTTE  <julien@moutte.net>
21224
21225         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
21226         fix. Because of unsigned ints, caps intersection was going nuts and
21227         trying to access structures with G_MAXUINT index. That fixes
21228         videotestsrc ! ffmpegcolorspace ! fakesink
21229         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
21230         consistency.
21231
21232 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21233
21234         * configure.ac:
21235           use the gettext macro
21236         * gst/elements/gstelements.c:
21237         * gst/gst.c:
21238         * gst/indexers/gstindexers.c:
21239           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
21240         * win32/common/config.h:
21241           updated config.h
21242         * win32/common/config.h.in:
21243           add the template to generate config.h
21244         * win32/common/gstenumtypes.c:
21245         * win32/common/gstversion.h:
21246           updated copies
21247
21248 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21249
21250         * gst/gst.c: (gst_version):
21251         * gst/gstversion.h.in:
21252           add the nano
21253
21254 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
21255
21256         * gst/gstevent.h:
21257           Oops, add missing closing bracket.
21258
21259 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21260
21261         * configure.ac:
21262           use common m4's for argument checking
21263
21264 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
21265
21266         * docs/gst/gstreamer-sections.txt:
21267         * gst/gstevent.h:
21268           Add GST_EVENT_TYPE_NAME() macro.
21269
21270 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21271
21272         * gst/gstinfo.c:
21273         * gst/gstpluginfeature.c:
21274         * gst/gsttask.c:
21275           privatize more symbols
21276
21277 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21278
21279         * configure.ac:
21280           add srcdir, builddir includes to GST_ALL_CFLAGS, since
21281           everything that uses GStreamer API should have the includes
21282
21283 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21284
21285         * docs/gst/gstreamer-sections.txt:
21286         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21287         * gst/gstvalue.h:
21288           give each value a _get_type, removes the DATA exports
21289
21290 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21291
21292         * gst/gst.c:
21293         * gst/gst.h:
21294           remove _gst_registry_auto_load, not used anymore
21295         * gst/gstbin.c: (gst_bin_get_type):
21296         * gst/gstbin.h:
21297         * gst/gstelement.c: (gst_element_get_type):
21298         * gst/gstelement.h:
21299         * gst/gstobject.c: (gst_object_get_type):
21300         * gst/gstobject.h:
21301         * gst/gstpad.c: (gst_pad_get_type):
21302         * gst/gstpad.h:
21303           make _get_type functions similar, fixes data export from library
21304
21305 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21306
21307         * configure.ac:
21308           correctly make conditionals
21309         * gst/elements/Makefile.am:
21310         * gst/elements/gstelements.c:
21311           fix typo causing fdsrc not to build
21312
21313 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21314
21315         * testsuite/Makefile.am:
21316         * testsuite/bytestream/.cvsignore:
21317         * testsuite/bytestream/Makefile.am:
21318         * testsuite/bytestream/filepadsink.c:
21319         * testsuite/bytestream/gstbstest.c:
21320         * testsuite/bytestream/test1.c:
21321         * testsuite/bytestream/testfile1:
21322         * testsuite/caps/normalisation.c:
21323         * testsuite/caps/random.c: (main):
21324         * testsuite/cleanup/.cvsignore:
21325         * testsuite/cleanup/Makefile.am:
21326         * testsuite/cleanup/cleanup1.c:
21327         * testsuite/cleanup/cleanup2.c:
21328         * testsuite/cleanup/cleanup3.c:
21329         * testsuite/cleanup/cleanup4.c:
21330         * testsuite/cleanup/cleanup5.c:
21331         * testsuite/controller/interpolator.c:
21332         * testsuite/debug/printf_extension.c: (main):
21333         * testsuite/elements/tee.c:
21334         * testsuite/negotiation/.cvsignore:
21335         * testsuite/negotiation/Makefile.am:
21336         * testsuite/negotiation/pad_link.c:
21337         * testsuite/pad/Makefile.am:
21338         * testsuite/pad/chainnopull.c:
21339         * testsuite/pad/getnopush.c:
21340         * testsuite/pad/link.c:
21341         * testsuite/refcounting/sched.c: (create_pipeline):
21342         * testsuite/registry/Makefile.am:
21343         * testsuite/registry/gst-print-formats.c:
21344         * testsuite/schedulers/.cvsignore:
21345         * testsuite/schedulers/142183-2.c:
21346         * testsuite/schedulers/142183.c:
21347         * testsuite/schedulers/143777-2.c:
21348         * testsuite/schedulers/143777.c:
21349         * testsuite/schedulers/147713.c:
21350         * testsuite/schedulers/147819.c:
21351         * testsuite/schedulers/147894-2.c:
21352         * testsuite/schedulers/147894.c:
21353         * testsuite/schedulers/Makefile.am:
21354         * testsuite/schedulers/group_link.c:
21355         * testsuite/schedulers/queue_link.c:
21356         * testsuite/schedulers/relink.c:
21357         * testsuite/schedulers/unlink.c:
21358         * testsuite/schedulers/unref.c:
21359         * testsuite/schedulers/useless_iteration.c:
21360         * testsuite/states/bin.c:
21361           clean out/remove some stuff from the testsuite directories
21362
21363 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21364
21365         * configure.ac:
21366           check for some headers
21367         * gst/elements/Makefile.am:
21368         * gst/elements/gstelements.c:
21369           don't compile fdsrc without sys/socket.h
21370         * gst/indexers/Makefile.am:
21371         * gst/indexers/gstindexers.c: (plugin_init):
21372           don't compile fileindex without mmap
21373
21374 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21375
21376         * configure.ac:
21377           reorganize
21378           clean up
21379           document more
21380           remove cruft
21381         * check/Makefile.am:
21382         * docs/gst/Makefile.am:
21383         * examples/helloworld/Makefile.am:
21384         * gst/Makefile.am:
21385         * gst/base/Makefile.am:
21386         * gst/check/Makefile.am:
21387         * gst/elements/Makefile.am:
21388         * gst/indexers/Makefile.am:
21389         * gst/parse/Makefile.am:
21390         * libs/gst/controller/Makefile.am:
21391         * libs/gst/dataprotocol/Makefile.am:
21392         * examples/helloworld/helloworld.c: (event_loop):
21393           compile fixes, though it's not being compiled currently
21394
21395 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21396
21397         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21398           Add some simple tests for the new taglist date API.
21399
21400 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21401
21402         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21403         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21404           Beautify 'last-message' output: print 'none' for buffer timestamps
21405           and durations if none is set; improve alignment with next messages.
21406
21407 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21408
21409         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21410         * gst/gstpluginfeature.h:
21411         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21412         * gst/gstregistry.h:
21413         * docs/gst/gstreamer-sections.txt:
21414           Add new API to check plugin feature version requirements.
21415
21416         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21417           Some basic tests for the above.         
21418
21419 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21420
21421         * gst/gststructure.c: (gst_structure_to_string):
21422           guard against NULL printf - happens when for example
21423           a message structure with GstClock gets serialized
21424
21425 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21426
21427         * gst/base/gstcollectpads.c: (gst_collectpads_event):
21428           Fix presumable copy'n'pasto.
21429
21430 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21431
21432         * gst/elements/gstfakesrc.h:
21433         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21434         * gst/elements/gsttypefindelement.c:
21435           fix some signedness
21436         * gst/elements/gstfilesink.c: (gst_file_sink_render):
21437           I wonder if this could actually write +2GB files before
21438
21439 2005-10-13  Andy Wingo  <wingo@pobox.com>
21440
21441         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21442         Fix Timmeke Waymans bug.
21443         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21444         string of the proper length to gst_caps_from_string. There's a
21445         potential for, before this fix, that this could cause someone
21446         connecting over the network to cause a segfault if the payload is
21447         not NUL-terminated.
21448
21449 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21450
21451         * docs/design/draft-push-pull.txt:
21452         * docs/design/part-overview.txt:
21453         * docs/random/TODO-pre-0.9:
21454         * docs/random/old/ChangeLog.gstreamer:
21455         * gst/base/gstpushsrc.c:
21456         * gst/gstclock.c:
21457           fixed typos
21458
21459 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21460
21461         * gst/glib-compat.c: (gst_flags_get_first_value):
21462         * gst/glib-compat.h:
21463         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21464         (gst_value_compare_double), (gst_value_serialize_flags):
21465           GLib 2.6 g_flags_get_first_value has a bug that triggers an
21466           infinite loop
21467
21468 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21469
21470         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21471         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21472           fix up debugging
21473         * tools/gst-launch.c: (event_loop):
21474           print out clock nicely
21475
21476 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21477
21478         * docs/gst/gstreamer-sections.txt:
21479         * gst/gsttaglist.h:
21480         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21481         (gst_tag_list_get_date_index):
21482           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21483           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21484
21485 2005-10-13  Julien MOUTTE  <julien@moutte.net>
21486
21487         * gst/base/gstcollectpads.c: (gst_collectpads_event),
21488         (gst_collectpads_chain):
21489         * gst/base/gstcollectpads.h: Handle newsegment and store informations
21490         in CollectData.
21491
21492 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21493
21494         * docs/gst/gstreamer-sections.txt:
21495         * gst/gst.c:
21496         * gst/gsterror.h:
21497         * tools/gst-inspect.c: (main):
21498         * tools/gst-launch.c: (main):
21499         * tools/gst-run.c: (main):
21500         * tools/gst-xmlinspect.c: (main):
21501           fix GOption context leaks
21502           doc fixes
21503
21504 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21505
21506         * gst/gstbus.c:
21507           use HAVE_UNISTD_H
21508         * win32/common/config.h:
21509           update config
21510         * win32/vs6/grammar.dsp:
21511         * win32/vs6/libgstelements.dsp:
21512         * win32/vs6/libgstreamer.dsp:
21513           update vs6 files
21514
21515 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21516
21517         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21518         * gst/base/gstbasesrc.c: (gst_base_src_query):
21519           fix more guint64<->gdouble conversions
21520
21521 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21522
21523         * Makefile.am:
21524           add win32-update target
21525         * win32/common/gstconfig.h:
21526         * win32/common/gstenumtypes.c:
21527         * win32/common/gstenumtypes.h:
21528         * win32/common/gstversion.h:
21529           add files that visual studio can't generate
21530
21531 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21532
21533         * Makefile.am:
21534           add a win32-update target
21535         * configure.ac:
21536
21537 2005-10-12  Wim Taymans  <wim@fluendo.com>
21538
21539         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21540         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21541         * gst/gstelement.c: (gst_element_commit_state),
21542         (gst_element_set_state):
21543         Protect flags with proper lock.
21544         unref provided cached clock in dispose.
21545
21546 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21547
21548         * gst/gst.c:
21549         * gst/gstminiobject.h:
21550         * gst/gstpad.h:
21551         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21552           removed unused flags from miniobject
21553           doc fixes
21554
21555 2005-10-12  Wim Taymans  <wim@fluendo.com>
21556
21557         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21558         (gst_file_sink_event), (gst_file_sink_render):
21559         Flush before seeking.
21560
21561 2005-10-12  Andy Wingo  <wingo@pobox.com>
21562
21563         * gst/gst.c (gst_init_check): Ignore unknown options, as has
21564         always been the case.
21565
21566 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21567
21568         * check/gst/gstbin.c: (GST_START_TEST):
21569         * docs/gst/gstreamer-sections.txt:
21570         * gst/base/gstbasesink.c: (gst_base_sink_init):
21571         * gst/base/gstbasesrc.c: (gst_base_src_init),
21572         (gst_base_src_get_range), (gst_base_src_check_get_range),
21573         (gst_base_src_start), (gst_base_src_stop):
21574         * gst/base/gstbasesrc.h:
21575         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21576         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21577         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21578         (bin_bus_handler):
21579         * gst/gstbin.h:
21580         * gst/gstbuffer.h:
21581         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21582         * gst/gstbus.h:
21583         * gst/gstelement.c: (gst_element_is_locked_state),
21584         (gst_element_set_locked_state), (gst_element_commit_state),
21585         (gst_element_set_state):
21586         * gst/gstelement.h:
21587         * gst/gstindex.c: (gst_index_init):
21588         * gst/gstindex.h:
21589         * gst/gstminiobject.h:
21590         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21591         (gst_object_set_parent):
21592         * gst/gstobject.h:
21593         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21594         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21595         * gst/gstpad.h:
21596         * gst/gstpadtemplate.h:
21597         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21598         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21599         * gst/gstpipeline.h:
21600         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21601         (gst_file_index_commit):
21602         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21603         * testsuite/pad/link.c: (gst_test_src_init),
21604         (gst_test_filter_init), (gst_test_sink_init):
21605         * testsuite/states/locked.c: (main):
21606           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21607           moved bitshift from macro to enum definition
21608
21609 2005-10-12  Wim Taymans  <wim@fluendo.com>
21610
21611         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21612         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21613         (gst_file_sink_render):
21614         Some more debugging info.
21615
21616 2005-10-12  Wim Taymans  <wim@fluendo.com>
21617
21618         * docs/design/part-states.txt:
21619         * tools/gst-launch.c: (main):
21620         Some doc updates.
21621         Revert non-intentional change.
21622
21623 2005-10-12  Wim Taymans  <wim@fluendo.com>
21624
21625         * check/gst/gstbin.c: (GST_START_TEST):
21626         * check/gst/gstelement.c: (GST_START_TEST):
21627         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21628         * check/gst/gstghostpad.c: (GST_START_TEST):
21629         * check/gst/gstpipeline.c: (GST_START_TEST):
21630         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21631         * check/states/sinks.c: (GST_START_TEST):
21632         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21633         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21634         (gst_bin_remove_func), (gst_bin_get_state_func),
21635         (gst_bin_recalc_state), (gst_bin_change_state_func),
21636         (bin_bus_handler):
21637         * gst/gstelement.c: (gst_element_get_state_func),
21638         (gst_element_get_state), (gst_element_abort_state),
21639         (gst_element_commit_state), (gst_element_set_state),
21640         (gst_element_change_state), (gst_element_change_state_func):
21641         * gst/gstelement.h:
21642         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21643         (gst_pipeline_provide_clock_func):
21644         * gst/gstutils.c: (gst_element_link_pads_filtered):
21645         * tools/gst-launch.c: (main):
21646         * tools/gst-typefind.c: (main):
21647         Use GstClockTime in _get_state() instead of GTimeVal.
21648         Remove old code in gstutils.c
21649
21650 2005-10-12  Andy Wingo  <wingo@pobox.com>
21651
21652         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21653         removed.
21654
21655         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21656         there is no task. Shouldn't affect any code, as nothing in our
21657         plugins checks this return value.
21658         (gst_pad_stop_task): Also take the stream lock if the pad has no
21659         task. Docs updated.
21660
21661 2005-10-12  Wim Taymans  <wim@fluendo.com>
21662
21663         * gst/gstpad.c: (pre_activate), (post_activate),
21664         (gst_pad_activate_pull), (gst_pad_activate_push):
21665         Cleanup activation code. Reset old state if
21666         activation failed.
21667
21668 2005-10-12  Wim Taymans  <wim@fluendo.com>
21669
21670         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21671         (gst_base_sink_change_state):
21672         No need to prerol after receiving EOS.
21673
21674         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21675         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21676         * gst/elements/gstidentity.c: (gst_identity_event):
21677         Print events more verbosely.
21678
21679 2005-10-12  Wim Taymans  <wim@fluendo.com>
21680
21681         * check/Makefile.am:
21682         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21683         * check/states/sinks2.c:
21684         Moved sinks2 testcode in sinks check.
21685
21686         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21687         (gst_bin_remove_func), (gst_bin_recalc_state),
21688         (gst_bin_change_state_func), (bin_bus_handler):
21689         Fix potential race condition when _get_state() iterated over an
21690         ASYNC element right before it posted a state completion.
21691
21692         * gst/gstclock.h:
21693         Do proper cast here.
21694
21695         * gst/gstevent.c: (gst_event_new_newsegment),
21696         (gst_event_parse_newsegment):
21697         A playback rate of 0.0 is not allowed.
21698
21699 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21700
21701         * win32/common/config.h:
21702         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21703         (_trewinddir), (_ttelldir), (_tseekdir):
21704         * win32/common/dirent.h:
21705         * win32/common/gtchar.h:
21706         * win32/common/libgstbase.def:
21707         * win32/common/libgstreamer.def:
21708         * win32/vs6/grammar.dsp:
21709         * win32/vs6/gst_inspect.dsp:
21710         * win32/vs6/gst_launch.dsp:
21711         * win32/vs6/gstreamer.dsw:
21712         * win32/vs6/libgstbase.dsp:
21713         * win32/vs6/libgstelements.dsp:
21714         * win32/vs6/libgstreamer.dsp:
21715           Visual Studio 6 project files, and a new common directory.
21716           Phear.
21717
21718 2005-10-11  Wim Taymans  <wim@fluendo.com>
21719
21720         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21721         (gst_base_sink_do_sync), (gst_base_sink_query),
21722         (gst_base_sink_change_state):
21723         * gst/base/gstbasesink.h:
21724         Correctly parse newsegment info.
21725
21726 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21727
21728         * gst/gst.c: (init_post):
21729           split plugin paths correctly
21730
21731 2005-10-11  Wim Taymans  <wim@fluendo.com>
21732
21733         * check/gst/gstevent.c: (GST_START_TEST):
21734         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21735         (gst_base_sink_change_state):
21736         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21737         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21738         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21739         * gst/gstevent.c: (gst_event_new_newsegment),
21740         (gst_event_parse_newsegment):
21741         * gst/gstevent.h:
21742         Added extra flag to newsegment for future API freeze.
21743         Updated check and base elements.
21744
21745 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21746
21747         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21748         (gst_collectpads_add_pad), (gst_collectpads_pop),
21749         (gst_collectpads_event), (gst_collectpads_chain):
21750         * gst/base/gstcollectpads.h: Handle EOS correctly.
21751
21752 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21753
21754         * tools/gst-launch.c: (main):
21755           more null protecting
21756
21757 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21758
21759         * gst/gst-i18n-lib.h:
21760           check for ENABLE_NLS, not GETTEXT_PACKAGE
21761         * gst/gstregistry.c: (gst_registry_add_plugin),
21762         (gst_registry_scan_path_level),
21763         (_gst_registry_remove_cache_plugins):
21764           protect possibly NULL strings
21765         * gst/parse/types.h:
21766           config.h already included before
21767         * tools/gst-inspect.c: (main):
21768           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21769           check for ENABLE_NLS, not GETTEXT_PACKAGE
21770         * tools/gst-launch.c: (main):
21771           check for ENABLE_NLS, not GETTEXT_PACKAGE
21772
21773 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21774
21775         * configure.ac:
21776           if we don't have glib, fail before testing 2.8
21777         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21778           fix a leak, should fix plugins-base testsuite
21779
21780 2005-10-11  Andy Wingo  <wingo@pobox.com>
21781
21782         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21783         take the mode we're going to as an arg. Go head and set the mode
21784         and flushing flags now, so that if the activate function starts a
21785         thread all the flags will be in the right state.
21786         (post_activate): Renamed also. Just handle making sure streaming
21787         finishes for the deactivation case, and setting the deactivated
21788         mode.
21789         (gst_pad_set_active): Complain loudly if deactivation fails.
21790         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21791         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21792         remove the terrible hack.
21793
21794 2005-10-11  Wim Taymans  <wim@fluendo.com>
21795
21796         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21797         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21798         (gst_bin_recalc_state), (gst_bin_change_state_func),
21799         (gst_bin_dispose), (bin_bus_handler):
21800         * gst/gstbin.h:
21801         Prepare to make current EOS message queue more generic.
21802         Fix some typos.
21803
21804         * gst/gstevent.c: (gst_event_new_newsegment),
21805         (gst_event_parse_newsegment):
21806         * gst/gstevent.h:
21807         Rename base to stream_time.
21808
21809         * gst/gstmessage.h:
21810         Fix typo in docs.
21811
21812 2005-10-11  Wim Taymans  <wim@fluendo.com>
21813
21814         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21815         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21816         (gst_bin_change_state_func), (bin_bus_handler):
21817         * gst/gstbin.h:
21818         Work on proper clock selection.
21819
21820 2005-10-11  Edward Hervey  <edward@fluendo.com>
21821
21822         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21823         * libs/gst/controller/gstcontroller.h:
21824         Added GList* version of _remove_properties() in order to be able to wrap
21825         it in bindings.
21826
21827 2005-10-11  Wim Taymans  <wim@fluendo.com>
21828
21829         * docs/design/part-states.txt:
21830         Some more docs.
21831
21832         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21833         (gst_bin_change_state_func), (bin_bus_handler):
21834         Doc updates. Don't distribute the same clock over and over again.
21835
21836         * gst/gstclock.c:
21837         * gst/gstclock.h:
21838         Doc updates.
21839
21840         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21841         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21842         (gst_pad_send_event):
21843         * gst/gstpad.h:
21844         Make probe emission threadsafe again.
21845         Register quarks and move _get_name() from utils.
21846         Doc updates.
21847
21848         * gst/gstpipeline.c: (gst_pipeline_class_init),
21849         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21850         Only redistribute the clock of it changed.
21851
21852         * gst/gstsystemclock.h:
21853         Doc updates. 
21854
21855         * gst/gstutils.c:
21856         * gst/gstutils.h:
21857         Moved the _flow_get_name() to GstPad.
21858
21859 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21860
21861         * check/gst-libs/gdp.c: (GST_START_TEST):
21862         * check/gst/gstcaps.c: (GST_START_TEST):
21863         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21864         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21865         (gst_dp_packet_from_caps):
21866           fix more valgrind warnings before turning up the heat
21867
21868 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21869
21870         * gst/parse/grammar.y:
21871           some cleanup before the hacking
21872
21873 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21874
21875         * gst/base/gstbasesrc.c: (gst_base_src_query):
21876           use conversions
21877         * gst/gstutils.c: (gst_guint64_to_gdouble),
21878         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21879         * gst/gstutils.h:
21880           externalize, basesrc uses it
21881           obviously the implementation needs testing
21882
21883 2005-10-10  Wim Taymans  <wim@fluendo.com>
21884
21885         * tests/sched/Makefile.am:
21886         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21887         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21888
21889 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21890
21891         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21892           apparently converting from guint64 to double is not implemented
21893           on MSVC
21894
21895 2005-10-10  Wim Taymans  <wim@fluendo.com>
21896
21897         * check/Makefile.am:
21898         * check/generic/states.c: (GST_START_TEST):
21899         * check/gst/gstbin.c: (GST_START_TEST):
21900         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21901         * check/states/sinks.c: (GST_START_TEST):
21902         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21903         (main):
21904         Check fixes, use API as stated in design docs, remove hacks.
21905
21906         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21907         (gst_base_sink_change_state):
21908         Catch stopping our task while we're shutting down.
21909
21910         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21911         (gst_bin_remove_func), (gst_bin_get_state_func),
21912         (gst_bin_recalc_state), (gst_bin_change_state_func),
21913         (bin_bus_handler):
21914         * gst/gstbin.h:
21915         * gst/gstelement.c: (gst_element_init),
21916         (gst_element_get_state_func), (gst_element_abort_state),
21917         (gst_element_commit_state), (gst_element_lost_state),
21918         (gst_element_set_state), (gst_element_change_state),
21919         (gst_element_change_state_func):
21920         * gst/gstelement.h:
21921         New state change algorithm (see #318116)
21922
21923         * gst/gstpipeline.c: (gst_pipeline_class_init),
21924         (gst_pipeline_init), (gst_pipeline_set_property),
21925         (gst_pipeline_get_property), (do_pipeline_seek),
21926         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21927         * gst/gstpipeline.h:
21928         Remove crude state change hacks.
21929
21930         * gst/gstutils.h:
21931         Remove crude hacks.
21932
21933         * tools/gst-launch.c: (main):
21934         Fixes for state change. Needs some more work to fully use the
21935         new stuff.
21936
21937 2005-10-10  Andy Wingo  <wingo@pobox.com>
21938
21939         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21940
21941         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21942         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21943         issue.
21944
21945 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21946
21947         * gst/gstiterator.c: (gst_iterator_new):
21948           Fix my previous commit: GTypes passed to gst_iterator_new()
21949           can be fundamental types.
21950
21951 2005-10-10  Wim Taymans  <wim@fluendo.com>
21952
21953         * gst/gstelement.c: (gst_element_iterate_pad_list),
21954         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21955         (gst_element_iterate_sink_pads):
21956         Use src/sink pads lists for the respective iterators instead
21957         of filtering.
21958
21959 2005-10-10  Andy Wingo  <wingo@pobox.com>
21960
21961         Merged in popt removal + GOption addition patch from Ronald, bug
21962         #169772.
21963
21964         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21965         GstElement macros around, remove popt-related symbols, add goption
21966         stuff.
21967
21968         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21969         
21970         * docs/gst/Makefile.am:
21971         * docs/libs/Makefile.am: No POPT_CFLAGS.
21972         
21973         * examples/manual/Makefile.am:
21974         * docs/manual/basics-init.xml: Doc updates with an example.
21975         
21976         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21977         (gst_init), (parse_one_option), (parse_goption_arg):
21978         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21979         bit of hand merging and debugging to get the GOption stuff working
21980         tho.
21981         
21982         * tests/Makefile.am:
21983         * tools/Makefile.am:
21984         * tools/gst-inspect.c: (main):
21985         * tools/gst-launch.c: (main):
21986         * tools/gst-run.c: (main):
21987         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21988
21989 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21990
21991         * gst/gstiterator.c: (gst_iterator_new):
21992           Add assertions to make sure passed GType is likely to really
21993           be a GType (as the compiler won't catch it if the size and
21994           GType arguments get mixed up, see #318447).
21995
21996 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21997
21998         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21999
22000         * gst/gstbin.c: (gst_bin_iterate_sorted):
22001           Pass GType and size arguments to gst_iterator_new() in the right
22002           order (maybe we should make _new() take the GType as first argument
22003           just like _new_list()?) (#318447).
22004           
22005
22006 2005-10-10  Wim Taymans  <wim@fluendo.com>
22007
22008         * gst/gstelement.c: (gst_element_finalize):
22009         And free the GStaticRecMutex too
22010
22011 2005-10-10  Andy Wingo  <wingo@pobox.com>
22012
22013         * gst/gstelement.c (gst_element_init, gst_element_finalize):
22014         Allocate and free the mutex properly.
22015
22016         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
22017         New macros.
22018         (GstElement): The state_lock is now recursive. Rebuild your
22019         plugins, suckers. Old macros adapted.
22020
22021         * docs/gst/gstreamer-sections.txt: Doc updates.
22022
22023         * gst/gstutils.h:
22024         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
22025         (g_static_rec_cond_wait): Ported from state changes patch, while
22026         we wait on bug #317802 to be solved in a well-distributed GLib.
22027
22028         * gst/gstelement.c (gst_element_change_state_func): Renamed from
22029         gst_element_change_state, variable name changes.
22030         (gst_element_change_state): Split out of gst_element_set_state in
22031         preparation for the state change merge. Doesn't pay attention to
22032         the 'transition' argument.
22033         (gst_element_set_state): Updates, hopefully purely cosmetic.
22034         (gst_element_sync_state_with_parent): MT-safety. Ported from the
22035         state change patch.
22036         (gst_element_get_state_func): Renamed from get_state, cosmetic
22037         changes.
22038
22039 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22040
22041         * gst/elements/gstelements.c:
22042         * win32/GStreamer.vcproj:
22043         * win32/config.h:
22044         * win32/dirent.c: (_tseekdir):
22045         * win32/gst-inspect.vcproj:
22046         * win32/gst-launch.vcproj:
22047         * win32/gstconfig.h:
22048         * win32/gstelements.vcproj:
22049         * win32/gstenumtypes.c: (gst_object_flags_get_type):
22050         * win32/gstreamer.def:
22051         * win32/msvc71.sln:
22052           updates for the win32 build (patch from Sebastien Moutte)
22053
22054 2005-10-10  Andy Wingo  <wingo@pobox.com>
22055
22056         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
22057         gst_bin_get_state, cleaned up (but no logic changes).
22058         (bin_element_is_sink): Comment updates.
22059         (sink_iterator_filter): Remove needless cast.
22060         (gst_bin_iterate_sinks): Doc update.
22061         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
22062         cleaned up (but no logic changes).
22063
22064         * check/states/sinks.c (test_src_sink): Cleanups from the state
22065         change patch.
22066         (test_livesrc_sink): Sync on the state.
22067
22068         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
22069         the state change patch.
22070
22071         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
22072         change patch.
22073
22074         * check/gst/gstbin.c: Merge in some style fixes and additional
22075         checks from Wim's state change patch.
22076
22077 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
22078
22079         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22080         (gst_type_find_helper):
22081           Check whether we have the requested data already in our list of
22082           cached buffers before pulling a new buffer; also make the buffer
22083           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
22084
22085 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22086
22087         * gst/gstcaps.c:
22088         * gst/gstevent.c:
22089           doc updates
22090         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22091           don't use long long, it's not portable.  Replacing with
22092           gint64 seems to work; let's hope no skeletons fall out of the closet.
22093
22094 2005-10-10  Andy Wingo  <wingo@pobox.com>
22095
22096         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
22097
22098 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
22099
22100         * docs/gst/gstreamer-sections.txt:
22101         * gst/gstevent.c:
22102         * gst/gstevent.h:
22103         * gst/gstinfo.c:
22104         * gst/gstinfo.h:
22105         * gst/gstmessage.c: (gst_message_parse_state_changed):
22106         * gst/gstpad.c:
22107         * gst/gstpad.h:
22108           more docs, fix compilation
22109
22110 2005-10-09  Philippe Khalaf <burger@speedy.org>
22111         * gst/gstmessage.c:
22112           Fixed a few forgotten variables on previous commit
22113
22114 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
22115
22116         * gst/base/gsttypefindhelper.c: (helper_find_peek):
22117           Fix evil typefind crasher: getrange() might return a short
22118           buffer at the end of a file, but gst_type_find_peek() must
22119           either return the full data as requested or NULL, but
22120           never a short buffer.
22121
22122 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22123
22124         * gst/gstmessage.c: (gst_message_new_state_changed),
22125         (gst_message_parse_state_changed):
22126         * gst/gstmessage.h:
22127           don't use "new", it's a C++ keyword
22128
22129 2005-10-08  Wim Taymans  <wim@fluendo.com>
22130
22131         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
22132         * gst/gstelement.c: (gst_element_post_message):
22133         * gst/gstpipeline.c: (gst_pipeline_change_state):
22134         Small docs and debug updates.
22135
22136 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
22137
22138         * docs/gst/gstreamer-sections.txt:
22139         * gst/gstelementfactory.c:
22140         * gst/gstevent.c:
22141         * gst/gsttaglist.c:
22142           more docs
22143
22144 2005-10-08  Wim Taymans  <wim@fluendo.com>
22145
22146         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
22147         (gst_bin_dispose), (bin_bus_handler):
22148         Fix typos, add comments.
22149         Clear EOS list when going to PAUSED from any direction and do it
22150         in a threadsafe way.
22151         Get base time in a threadsafe way too.
22152         Fix confusing debug in the change_state function.
22153         Various other small cleanups.
22154         
22155         * gst/gstelement.c: (gst_element_post_message):
22156         Fix very verbose bus posting code.
22157
22158         * gst/gstpipeline.c: (gst_pipeline_class_init),
22159         (gst_pipeline_set_property), (gst_pipeline_get_property),
22160         (gst_pipeline_change_state):
22161         Small ARG_ -> PROP_ cleanup
22162
22163 2005-10-08  Wim Taymans  <wim@fluendo.com>
22164
22165         * gst/gstbin.c: (is_eos), (bin_bus_handler):
22166         Do a less CPU demanding EOS check because we can.
22167
22168 2005-10-08  Wim Taymans  <wim@fluendo.com>
22169
22170         * libs/gst/dataprotocol/dataprotocol.c:
22171         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
22172         (gst_dp_packet_from_event):
22173         * libs/gst/dataprotocol/dataprotocol.h:
22174         * libs/gst/dataprotocol/dp-private.h:
22175         It's about time we bump the version number.
22176         Since event types don't fit in the guint8 anymore describing
22177         the payload type, make payload type 16 bits wide.
22178
22179 2005-10-08  Wim Taymans  <wim@fluendo.com>
22180
22181         * docs/design/part-TODO.txt:
22182         * docs/design/part-clocks.txt:
22183         * docs/design/part-events.txt:
22184         * docs/design/part-gstbin.txt:
22185         * docs/design/part-gstelement.txt:
22186         * docs/design/part-gstpipeline.txt:
22187         * docs/design/part-live-source.txt:
22188         * docs/design/part-messages.txt:
22189         * docs/design/part-overview.txt:
22190         * docs/design/part-states.txt:
22191         Many doc updates.
22192
22193 2005-10-08  Wim Taymans  <wim@fluendo.com>
22194
22195         * gst/gstevent.c:
22196         * gst/gstevent.h:
22197         Fix event quark registration.
22198         Add some space between events so we can insert them in the
22199         right groups.
22200
22201 2005-10-08  Wim Taymans  <wim@fluendo.com>
22202
22203         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22204         (gst_base_sink_handle_buffer):
22205         Better log message.
22206
22207         * gst/gstbus.h:
22208         * gst/gstelement.h:
22209         More docs.
22210
22211         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22212         (gst_queue_set_property), (gst_queue_get_property):
22213         * gst/gstqueue.h:
22214         Remove old unused properties.
22215
22216 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
22217         * docs/gst/gstreamer-sections.txt:
22218         * gst/gstmessage.c:
22219         * gst/gstmessage.h:
22220         * gst/gstminiobject.c:
22221         * gst/gstminiobject.h:
22222         * gst/gstobject.h:
22223         * gst/gstpad.h:
22224         * gst/gstutils.h:
22225           lots of new docs and doc fixes
22226
22227 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22228
22229         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
22230         * gst/gstplugin.h:
22231         * gst/gstregistry.c: (gst_registry_lookup_locked),
22232         (gst_registry_scan_path_level):
22233         * gst/gstregistryxml.c: (load_plugin):
22234           Only ever load one plugin for a given plugin basename.
22235           This ensures correct overriding of GST_PLUGIN_PATH over
22236           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
22237           system installed plugins.
22238
22239 2005-10-08  Wim Taymans  <wim@fluendo.com>
22240
22241         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22242         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
22243         Prepare for doing QOS.
22244
22245 2005-10-08  Wim Taymans  <wim@fluendo.com>
22246
22247         * check/gst/gstbin.c: (GST_START_TEST):
22248         * check/pipelines/cleanup.c: (GST_START_TEST):
22249         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22250         Allow new clock message too.
22251
22252 2005-10-08  Wim Taymans  <wim@fluendo.com>
22253
22254         * gst/gstmessage.c: (gst_message_new_error),
22255         (gst_message_new_warning), (gst_message_new_tag),
22256         (gst_message_new_state_changed), (gst_message_new_clock_provide),
22257         (gst_message_new_clock_lost), (gst_message_new_new_clock),
22258         (gst_message_new_segment_start), (gst_message_new_segment_done),
22259         (gst_message_parse_state_changed),
22260         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
22261         (gst_message_parse_new_clock):
22262         * gst/gstmessage.h:
22263         Also carry the clock in question.
22264
22265 2005-10-08  Wim Taymans  <wim@fluendo.com>
22266
22267         * gst/gstmessage.c: (gst_message_new_custom),
22268         (gst_message_new_eos), (gst_message_new_error),
22269         (gst_message_new_warning), (gst_message_new_tag),
22270         (gst_message_new_state_changed), (gst_message_new_clock_provide),
22271         (gst_message_new_new_clock), (gst_message_new_segment_start),
22272         (gst_message_new_segment_done), (gst_message_parse_state_changed),
22273         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22274         * gst/gstmessage.h:
22275         Clean up.
22276         Added clock related messages.
22277
22278         * gst/gstpipeline.c: (gst_pipeline_change_state):
22279         Post message when the clock changed.
22280
22281         * tools/gst-launch.c: (event_loop):
22282         Print new clock.
22283
22284 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
22285
22286         * tools/gst-inspect.c: (print_element_properties_info):
22287           Can't pass NULL strings to g_print() on windows.
22288
22289 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22290
22291         * docs/Makefile.am:
22292         * docs/gst/Makefile.am:
22293         * docs/gst/gstreamer-docs.sgml:
22294         * docs/gst/running.xml:
22295         * docs/version.entities.in:
22296           add a chapter on running GStreamer.
22297           document GST_DEBUG and GST_PLUGIN* env vars
22298
22299 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22300
22301         * Makefile.am:
22302           remove include dir
22303         * configure.ac:
22304           remove PLUGINS_BUILDDIR stuff
22305         * gst/gst.c: (init_post):
22306           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22307         * idiottest.mak:
22308           remove, it was condescending and not needed
22309
22310 2005-10-08  Wim Taymans  <wim@fluendo.com>
22311
22312         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22313         (gst_base_sink_handle_object), (gst_base_sink_event),
22314         (gst_base_sink_wait), (gst_base_sink_handle_event),
22315         (gst_base_sink_change_state):
22316         * gst/base/gstbasesink.h:
22317         Repost EOS message while going to PLAYING if still EOS.
22318         Make sure that when receiving a FLUSH_START we don't attempt
22319         to sync on the clock anymore.
22320
22321 2005-10-08  Wim Taymans  <wim@fluendo.com>
22322
22323         * tools/gst-launch.c: (event_loop):
22324         Better message printout.
22325
22326 2005-10-08  Wim Taymans  <wim@fluendo.com>
22327
22328         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22329         (gst_bin_child_proxy_get_children_count):
22330         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22331         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22332         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22333         (gst_child_proxy_set_valist):
22334         * gst/parse/grammar.y:
22335         Make ChildProxy threadsafe and fix mem leaks.
22336
22337 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22338
22339         * gst/gst.c: (init_post):
22340           debug the GST_PLUGIN_ env vars
22341
22342 2005-10-08  Wim Taymans  <wim@fluendo.com>
22343
22344         * check/gst/gstbin.c: (GST_START_TEST):
22345         * check/gst/gstmessage.c: (GST_START_TEST):
22346         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22347         * gst/gstelement.c: (gst_element_commit_state),
22348         (gst_element_lost_state):
22349         * gst/gstmessage.c: (gst_message_new_state_changed),
22350         (gst_message_parse_state_changed):
22351         * gst/gstmessage.h:
22352         * tools/gst-launch.c: (event_loop):
22353         Added extra field to STATE_CHANGE message with the pending
22354         state, which will be different from the new state soon.
22355
22356 2005-10-08  Wim Taymans  <wim@fluendo.com>
22357
22358         * gst/gstbus.c: (gst_bus_pop):
22359         * gst/gstclock.c:
22360         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22361         Small cleanups and doc updates.
22362
22363 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22364
22365         * gst/gst.c: (init_pre):
22366         * gst/gstbin.c: (gst_bin_add_func):
22367           log distributing clocks and base time
22368         * gst/gstregistry.c: (gst_registry_add_plugin),
22369         (gst_registry_scan_path_level), (gst_registry_scan_path):
22370           clean up the debugging output a little
22371         * gst/gstutils.c: (gst_element_state_get_name):
22372           warn about a memleak (I've actually seen this be used, though
22373           it was probably a bug)
22374
22375 2005-10-07  Wim Taymans  <wim@fluendo.com>
22376
22377         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22378         (gst_base_src_init), (gst_base_src_default_newsegment),
22379         (gst_base_src_newsegment), (gst_base_src_do_seek),
22380         (gst_base_src_loop), (gst_base_src_start):
22381         * gst/base/gstbasesrc.h:
22382         Make the newsegment event customizable by subclasses.
22383
22384 2005-10-07  Wim Taymans  <wim@fluendo.com>
22385
22386         * gst/gstevent.c: (gst_event_new_buffersize),
22387         (gst_event_parse_buffersize):
22388         * gst/gstevent.h:
22389         New event for future idea.
22390
22391 2005-10-07  Andy Wingo  <wingo@pobox.com>
22392
22393         * gst/gstelement.c (gst_element_post_message): Doc update.
22394
22395         * docs/gst/gstreamer-sections.txt: Update.
22396
22397         * gst/gstmessage.c (gst_message_new_application): Made into a
22398         function like honest API calls.
22399         (gst_message_new_element): New message type.
22400
22401         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22402
22403         * check/elements/fakesrc.c (test_no_preroll): New check, checks
22404         that setting a live fakesrc to PAUSED returns NO_PREROLL both
22405         times.
22406
22407         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22408         NO_PREROLL from gst_element_change_state to fall through.
22409
22410 2005-10-07  Wim Taymans  <wim@fluendo.com>
22411
22412         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22413         (gst_ghost_pad_do_activate_push):
22414         Activating a ghostpad with no internal pad in push mode
22415         is ok.
22416
22417 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22418
22419         * gst/gstobject.h:
22420           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22421           Fixes compilation on Windows.
22422
22423 2005-10-07  Michael Smith <msmith@fluendo.com>
22424
22425         * tools/gst-inspect.c:
22426           Print out feature and plugin count at the end when printing out
22427           all features.
22428
22429 2005-10-04  Michael Smith <msmith@fluendo.com>
22430
22431         * gst/gsterror.c: (_gst_stream_errors_init):
22432           Add another error string used in a few existing plugins.
22433
22434         * gst/gstplugin.c:
22435         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22436         * tools/gst-inspect.c: (print_element_info):
22437           When a feature disappears from a plugin (and the feature exists in
22438           the cached registry file), things went horribly wrong. This isn't a
22439           complete fix, we should actually be removing the 'missing' features
22440           from the features list when we load the actual plugin. That's not
22441           yet implemented. 
22442
22443 2005-10-04  Johan Dahlin  <johan@gnome.org>
22444
22445         * check/gst/gstiterator.c: (GST_START_TEST):
22446         * gst/gstbin.c: (gst_bin_iterate_elements),
22447         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22448         * gst/gstelement.c: (gst_element_iterate_pads):
22449         * gst/gstformat.c: (gst_format_iterate_definitions):
22450         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22451         (gst_iterator_new_list), (gst_iterator_filter):
22452         * gst/gstiterator.h:
22453         * gst/gstquery.c: (gst_query_type_iterate_definitions):
22454         Add a GType to GstIterator, update callsites and tests.
22455
22456 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22457
22458         * gst/gstpad.c: (gst_pad_event_default_dispatch):
22459           give events a chance to be handled by event probes when the pad
22460           is not linked
22461
22462 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22463
22464         * gst/gstevent.c: (gst_event_type_get_name),
22465         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22466         * gst/gstevent.h:
22467           add string representations for event types
22468
22469 2005-10-06  Wim Taymans  <wim@fluendo.com>
22470
22471         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22472         Don't use NULL pointers.
22473
22474 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22475
22476         * gst/gst_private.h:
22477         * gst/gstbus.c:
22478         * gst/gstelement.c:
22479         * gst/gstinfo.c:
22480         * gst/gstpluginfeature.c:
22481           widen the debug category in output to fit the biggest one we have
22482           add a bus category and use it
22483           play with the colors
22484           fix up some categories
22485
22486 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22487
22488         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22489           add push activation of sink ghost pads.
22490           Andye, please verify
22491
22492 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22493
22494         * gst/gstutils.c: (gst_element_link_pads):
22495           fix a bug in the case where neither element has a pad
22496         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22497           add a test for that case
22498
22499 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22500
22501         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22502           emit have-data before checking for peers.  This allows
22503           for probe handlers to connect elements.  This helps autopluggers.
22504         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22505         (gst_pad_suite):
22506           add six checks, linked/unlinked with no/true/false probe
22507
22508 2005-10-04  Wim Taymans  <wim@fluendo.com>
22509
22510         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22511         (gst_fake_sink_event), (gst_fake_sink_preroll),
22512         (gst_fake_sink_render), (gst_fake_sink_change_state):
22513         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22514         (gst_fake_src_get_property), (gst_fake_src_create),
22515         (gst_fake_src_stop):
22516         * gst/elements/gstidentity.c: (gst_identity_stop):
22517         Protect last_message with lock.
22518
22519 2005-10-04  Edward Hervey  <edward@fluendo.com>
22520
22521         * gst/gstformat.h: 
22522         Added precision in the comments for GST_FORMAT_DEFAULT
22523
22524 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
22525
22526         * tools/gst-launch.c: (main):
22527           Don't try to run erroneous pipelines.
22528
22529 2005-10-04  Julien MOUTTE  <julien@moutte.net>
22530
22531         * gst/gstbus.c: We don't need this header.
22532
22533 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22534
22535         * configure.ac:
22536           back to development
22537
22538 === release 0.9.3 ===
22539
22540 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22541
22542         * README:
22543         * configure.ac:
22544           Releasing 0.9.3, "Unregistered"
22545
22546 2005-10-03  Andy Wingo  <wingo@pobox.com>
22547
22548         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22549         whereby calling a pad's activatepush() function can start a thread
22550         that starts to push or pull before the pad gets the FLUSHING flag
22551         unset. Hack around it by holding the stream lock until the flag is
22552         set. Need to replace this with a proper solution. Together with
22553         the ghost pad fixes, this fixes mp3 playing/tagreading.
22554
22555         * docs/design/part-gstghostpad.txt: Add a note about activation of
22556         proxy pads outside of ghost pads.
22557
22558         * gst/gstghostpad.c: Implement the ghost pad activation design.
22559
22560 2005-10-02  Andy Wingo  <wingo@pobox.com>
22561
22562         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22563         It is volatile, after all.
22564
22565         * docs/design/part-gstghostpad.txt: Flesh out activation with
22566         ghost pads.
22567
22568         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22569         GST_DEBUG_FUNCPTR.
22570
22571 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22572
22573         * configure.ac:
22574           Fix (unused) AM_CONDITIONAL tests.
22575
22576 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22577
22578         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22579
22580         * gst/gstutils.c: (gst_pad_query_convert):
22581           Add assertion that makes sure src_val is >=0, just like
22582           gst_query_new_convert() has. (#315895)
22583
22584 2005-09-30  Edward Hervey  <edward@fluendo.com>
22585
22586         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22587         Let's not iterate pads we're not interested in, it avoids getting 
22588         sky-high refcounts on sinkpad.
22589
22590 2005-09-30  Wim Taymans  <wim@fluendo.com>
22591
22592         * gst/gstelement.c: (gst_element_set_state),
22593         (gst_element_change_state):
22594         Small tweak, element in ASYNC remains ASYNC.
22595
22596 2005-09-30  Wim Taymans  <wim@fluendo.com>
22597
22598         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22599         Only error is an error.
22600
22601         * gst/gstbin.c: (gst_bin_change_state):
22602         Better debugging.
22603
22604         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22605         Also call pad_block in pad alloc.
22606
22607         * gst/gstutils.c: (gst_flow_get_name):
22608         Better debugging.
22609
22610 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22611
22612         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22613         (gst_base_src_get_range):
22614           Fix documentation typos. Add some more debug info.
22615
22616 2005-09-29  David Schleef  <ds@schleef.org>
22617
22618         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22619           more end-user friendly.
22620         * tools/gst-inspect.c: (main): Check if command-line argument is
22621           a file and attempt to load that file as a plugin.
22622
22623 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22624
22625         * check/gst/gstbin.c:
22626         * check/states/sinks.c:
22627           fix tests for the new warning
22628         * check/gst/gstpipeline.c:
22629           add a test for pipeline and bus interaction
22630         * gst/gstelement.c:
22631           elements should be NULL if they get disposed; add a warning if not
22632
22633 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22634
22635         * gst/gstobject.c:
22636           for 2.6 refcounting, make debug log more correct by printing
22637           the actual refcounts at the time of swap (Wim)
22638
22639 2005-09-29  Andy Wingo  <wingo@pobox.com>
22640
22641         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22642         removes signal watches previously added via
22643         gst_bus_add_signal_watch.
22644         (gst_bus_add_signal_watch): Don't return the source id, just store
22645         it on the bus if there wasn't an id already.
22646
22647         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22648         add_signal_watch and remove_signal_watch.
22649
22650 2005-09-29  Edward Hervey  <edward@fluendo.com>
22651
22652         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22653         Better if we actually iterate the list :)
22654
22655 2005-09-29  Wim Taymans  <wim@fluendo.com>
22656
22657         * check/gst/gstbin.c: (GST_START_TEST):
22658         Change for new bus API.
22659
22660         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22661         (send_messages), (GST_START_TEST), (gstbus_suite):
22662         Change for new bus signal API.
22663
22664         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22665         (gst_bus_source_prepare), (gst_bus_source_check),
22666         (gst_bus_create_watch), (gst_bus_add_watch_full),
22667         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22668         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22669         * gst/gstbus.h:
22670         Remove support for multiple GSources operating on different
22671         message types as it is too complex and unneeded when using
22672         signals.
22673         Added support for receiving signals from the bus.
22674
22675 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22676
22677         * docs/libs/tmpl/gstdataprotocol.sgml:
22678         * docs/manual/advanced-dataaccess.xml:
22679         * gst/elements/gstcapsfilter.c:
22680         * gst/gstutils.c:
22681           rename filter-caps to caps property
22682
22683 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22684
22685         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22686           More robust fraction string parsing.
22687
22688         * docs/pwg/appendix-porting.xml:
22689           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22690
22691 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22692
22693         * gst/gstcaps.c: (gst_caps_do_simplify):
22694           Thou shalt not free a structure and then continue using it
22695           in the next loop iteration.
22696
22697         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22698         (gst_caps_suite):
22699           Add test case for caps simplification.
22700
22701 2005-09-29  Wim Taymans  <wim@fluendo.com>
22702
22703         * check/gst/gstbin.c: (GST_START_TEST):
22704         Oops.
22705
22706 2005-09-29  Wim Taymans  <wim@fluendo.com>
22707
22708         * check/gst/gstbin.c: (GST_START_TEST):
22709         Add bus to bin.
22710
22711         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22712         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22713         (find_element), (gst_bin_sort_iterator_next),
22714         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22715         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22716         (gst_bin_change_state), (gst_bin_dispose):
22717         A bin does not have a bus, it gets the bus from the parent.
22718
22719         * gst/gstelement.c: (gst_element_requires_clock),
22720         (gst_element_provides_clock), (gst_element_is_indexable),
22721         (gst_element_is_locked_state), (gst_element_change_state),
22722         (gst_element_set_bus_func):
22723         Small cleanups.
22724
22725         * gst/gstpipeline.c: (gst_pipeline_class_init),
22726         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22727         The pipeline provides a bus.
22728
22729 2005-09-28  Johan Dahlin  <johan@gnome.org>
22730
22731         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22732         gst_structure_get_enum instead of gst_structure_get_int
22733
22734         * gst/gststructure.c (gst_structure_get_enum): Impl.
22735
22736         * gst/gststructure.h (gst_structure_get_enum): Add
22737
22738         * docs/gst/gstreamer-sections.txt: Ditto
22739
22740         * gst/gstmessage.c (gst_message_new_state_changed): Use
22741         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22742         which does introspection.
22743         Reviewed by Christian Schaller
22744
22745 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22746
22747         * gst/gstinfo.c: (gst_debug_log_default):
22748           don't do dummy g_strdup()s
22749         * libs/gst/controller/gstcontroller.c:
22750         (on_object_controlled_property_changed),
22751         (gst_controlled_property_new), (gst_controller_new_valist),
22752         (gst_controller_new_list),
22753         (gst_controller_remove_properties_valist), (gst_controller_set),
22754         (gst_controller_get), (gst_controller_sync_values),
22755         (gst_controller_get_value_array), (_gst_controller_class_init),
22756         (gst_controller_get_type):
22757         * libs/gst/controller/gstcontroller.h:
22758         * libs/gst/controller/gstinterpolation.c:
22759         (gst_controlled_property_find_timed_value_node):
22760           convert // to /**/ comments
22761
22762 2005-09-28  Wim Taymans  <wim@fluendo.com>
22763
22764         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22765         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22766         (gst_bus_sync_signal_handler):
22767         * gst/gstbus.h:
22768         Added async-message and sync-message signals to the bus.
22769         Added helper BusFunc to emit signals for all posted messages.
22770
22771         * gst/gstmessage.c: (gst_message_type_get_name),
22772         (gst_message_type_to_quark), (gst_message_get_type):
22773         * gst/gstmessage.h:
22774         Register quarks for message names.
22775
22776 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22777
22778         * docs/libs/gstreamer-libs-sections.txt:
22779         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22780         (gst_controller_new_list):
22781         * libs/gst/controller/gstcontroller.h:
22782           added another constructor for language bindings
22783
22784 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22785
22786         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22787           add another check
22788         * gst/gstbus.c:
22789           add some doc
22790         * gst/gstinfo.c: (_gst_debug_init):
22791           slightly more readable color for refcount debugging
22792
22793 2005-09-28  Wim Taymans  <wim@fluendo.com>
22794
22795         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22796         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22797         (find_element), (gst_bin_sort_iterator_next),
22798         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22799         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22800         (gst_bin_change_state), (gst_bin_dispose):
22801         Small doc fixes. get_clock -> provide_clock.
22802
22803         * gst/gstelement.c: (gst_element_class_init),
22804         (gst_element_provides_clock), (gst_element_provide_clock),
22805         (gst_element_get_clock), (gst_element_commit_state),
22806         (gst_element_lost_state):
22807         * gst/gstelement.h:
22808         Make get/set_clock() symetric. Add provide_clock vmethod since
22809         that is actually what this function does.
22810
22811         * gst/gstpipeline.c: (gst_pipeline_class_init),
22812         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22813         (gst_pipeline_get_clock):
22814         get_clock -> provide_clock.
22815
22816 2005-09-28  Andy Wingo  <wingo@pobox.com>
22817
22818         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22819         lieu of real docs...
22820
22821         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22822
22823 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22824
22825         * gst/elements/gstcapsfilter.c:
22826         * gst/elements/gstfakesink.c:
22827         * gst/elements/gstfakesrc.c:
22828         * gst/elements/gstfdsink.c:
22829         * gst/elements/gstfdsrc.c:
22830         * gst/elements/gstfilesink.c:
22831         * gst/elements/gstfilesrc.c:
22832         * gst/elements/gstidentity.c:
22833         * gst/elements/gsttee.c:
22834         * gst/elements/gsttypefindelement.c:
22835           Make element details static.
22836
22837 2005-09-28  Wim Taymans  <wim@fluendo.com>
22838
22839         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22840         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22841         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22842         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22843         (gst_bin_change_state), (gst_bin_dispose):
22844         Some documentation updates.
22845         Clean up dispose handlers.
22846
22847         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22848         * gst/gstpad.c: (gst_pad_dispose):
22849         Clean up dispose handler.
22850
22851         * gst/gstpipeline.c: (gst_pipeline_change_state):
22852         Removed spurious UNLOCK.
22853
22854 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22855
22856         * docs/gst/gstreamer-sections.txt:
22857         * gst/base/gstbasesrc.h:
22858         * gst/gstelement.h:
22859         * gst/gstevent.h:
22860         * gst/gstobject.h:
22861         * gst/gstpad.h:
22862         * gst/gstpipeline.c:
22863         * gst/gstpipeline.h:
22864         * gst/gstutils.h:
22865         * gst/gstxml.h:
22866           added two new functions to the docs
22867                 documents all undocumented GstXXXFlags
22868                 completed some incomplete docs 
22869
22870 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22871
22872         * gst/gstbin.c: (gst_bin_dispose):
22873         * gst/gstelement.c: (gst_element_dispose):
22874           remove now useless and leaky resurrection code in dispose
22875         * gst/base/gstbasesrc.c: (gst_base_src_init):
22876         * gst/gstelementfactory.c: (gst_element_factory_create):
22877         * gst/gstobject.c: (gst_object_set_parent):
22878           add some debugging
22879
22880 2005-09-27  Wim Taymans  <wim@fluendo.com>
22881
22882         * docs/design/part-TODO.txt:
22883         Update TODO.
22884
22885         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22886         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22887         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22888         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22889         (gst_bin_change_state):
22890         * gst/gstelement.h:
22891         Remove element variable, we keep element info in the iterator now.
22892
22893 2005-09-27  Andy Wingo  <wingo@pobox.com>
22894
22895         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22896         values.
22897
22898 2005-09-27  Wim Taymans  <wim@fluendo.com>
22899
22900         * check/gst/gstbin.c: (GST_START_TEST):
22901         Enable check that works now.
22902
22903         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22904         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22905         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22906         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22907         (gst_bin_change_state):
22908         * gst/gstbin.h:
22909         Redid the state change algorithm using a topological sort algo.
22910         Handles all cases correctly.
22911         Exposed iterator for state change order.
22912
22913         * gst/gstelement.h:
22914         Temp storage for state changes. Need to get rid of this soon.
22915
22916 2005-09-27  Wim Taymans  <wim@fluendo.com>
22917
22918         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22919         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22920         (link_fold_func), (gst_pad_proxy_setcaps):
22921         Leak fixes, the fold functions need to unref the passed object and
22922         _get_parent_*() returns ref to parent.
22923
22924 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22925
22926         * check/gst/gstbuffer.c: (test_make_writable):
22927           Plug leak in test case and fix 'make check-valgrind'
22928
22929 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22930
22931         * gst/gstbuffer.c: (gst_subbuffer_init):
22932           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22933           works correctly in all circumstances (we could have just copied
22934           the parent buffer's readonly flag, but conceptually it seems
22935           cleaner to mark all subbuffers as read-only). (based on patch
22936           by Alessandro Decina, #314710).
22937         
22938         * check/gst/gstbuffer.c: (create_read_only_buffer),
22939         (test_make_writable), (test_subbuffer_make_writable),
22940         (gst_test_suite):
22941           Add some tests for gst_buffer_make_writable().
22942
22943 2005-09-27  Wim Taymans  <wim@fluendo.com>
22944
22945         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22946         use gst_object_has_ancestor().
22947
22948         * gst/gstobject.c: (gst_object_has_ancestor):
22949         * gst/gstobject.h:
22950         gst_object_has_ancestor() copied from gstbin.c as it is a
22951         useful function.
22952
22953         * tests/instantiate/create.c: (create_all_elements):
22954         * tests/lat.c: (handoff_src), (handoff_sink):
22955         * tests/sched/runxml.c: (main):
22956         * tests/seeking/seeking1.c: (main):
22957         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22958         (main):
22959         Fix compilation of some tests.
22960
22961 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22962
22963         * gst/gsterror.h:
22964           Remove comment. GST_TYPE_G_ERROR is here to stay,
22965           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22966           (#316961, #300610).
22967
22968 2005-09-26  Wim Taymans  <wim@fluendo.com>
22969
22970         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22971         Added check that shows error in state change order.
22972
22973 2005-09-26  Wim Taymans  <wim@fluendo.com>
22974
22975         * gst/gstbin.c: (gst_bin_change_state):
22976         Make state change function use 3 queues again, we were
22977         adding elements in the wrong order.
22978
22979         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22980         Some debug info,
22981
22982         * gst/gstpad.c: (gst_pad_dispose):
22983         Added some debug info first.
22984
22985 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22986
22987         * docs/design/draft-push-pull.txt:
22988         * docs/design/part-events.txt:
22989         * docs/design/part-overview.txt:
22990         * docs/design/part-scheduling.txt:
22991           Replace all _pull_region() with _pull_range()
22992           
22993 2005-09-26  Andy Wingo  <wingo@pobox.com>
22994
22995         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22996
22997         * check/gst-libs/controller.c: Update for controller api change.
22998
22999         * configure.ac: 
23000         * tests/Makefile.am:
23001         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
23002         over by GLib bug 118439.
23003         
23004         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
23005         routines to a function.
23006
23007         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
23008
23009         * libs/gst/controller/gsthelper.c:
23010         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
23011         (gst_object_sync_values): Renamed from sink_values. Ugh.
23012
23013         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
23014
23015         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
23016         Renamed from controller_key, as it is exported.
23017
23018         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
23019
23020 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
23021
23022         * gst/Makefile.am:
23023         * gst/gst.h:
23024         * gst/gstpad.h:
23025         * gst/gstpadtemplate.h:
23026         * gst/gstquery.c:
23027         * gst/gstquery.h:
23028         * gst/gstqueryutils.c:
23029         * gst/gstqueryutils.h:
23030           remove queryutils headers after moving the two used functions
23031           to gstquery.  also fixes build problem for gstsiddec
23032
23033 2005-09-26  Michael Smith <msmith@fluendo.com>
23034
23035         * tools/gst-launch.1.in:
23036         Correct documentation in manpage of debug syntax
23037
23038 2005-09-26  Wim Taymans  <wim@fluendo.com>
23039
23040         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23041         (gst_base_src_is_seekable), (gst_base_src_change_state):
23042         Some more debugging info.
23043
23044 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
23045
23046         * docs/gst/gstreamer-sections.txt:
23047         * gst/base/gstbasetransform.h:
23048         * gst/gstindex.h:
23049           added more docs
23050
23051 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
23052
23053         * docs/gst/.cvsignore:
23054         * docs/gst/tmpl/.cvsignore:
23055         * docs/gst/tmpl/gstpipeline.sgml:
23056         * docs/gst/tmpl/gstplugin.sgml:
23057         * gst/gstpipeline.c:
23058         * gst/gstplugin.c:
23059         * gst/gstplugin.h:
23060           inlined the last two docs files
23061           removed the tmpl directory from cvs (no more conflicts here!)
23062
23063 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
23064
23065         * docs/gst/gstreamer-sections.txt:
23066         * docs/gst/tmpl/.cvsignore:
23067         * docs/gst/tmpl/gstpad.sgml:
23068         * docs/gst/tmpl/gstpadtemplate.sgml:
23069         * gst/Makefile.am:
23070         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
23071         (gst_pad_finalize), (gst_pad_set_pad_template):
23072         * gst/gstpad.h:
23073         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
23074         (gst_pad_template_class_init), (gst_pad_template_init),
23075         (gst_pad_template_dispose), (name_is_valid),
23076         (gst_static_pad_template_get), (gst_pad_template_new),
23077         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
23078         (gst_pad_template_pad_created):
23079         * gst/gstpadtemplate.h:
23080           inlined two more docs
23081           factored gstpadtemplate out of gstpad
23082
23083 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
23084
23085         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23086         (test_children_state_change_order_semi_sink):
23087           Fix test case: we can't rely on a fixed state change order when
23088           going from READY => PAUSED because the sink might commit its 
23089           new state first when the first buffer created by the source 
23090           reaches the sink before the source has finished its change state.
23091           (Test case still fails at times, see #316856, comment 5 onwards)
23092
23093 2005-09-24  Wim Taymans  <wim@fluendo.com>
23094
23095         * docs/design/part-events.txt:
23096         * docs/design/part-gstbus.txt:
23097         * docs/design/part-gstpipeline.txt:
23098         * docs/design/part-messages.txt:
23099         * docs/design/part-overview.txt:
23100         * docs/design/part-segments.txt:
23101         * gst/gstbin.c:
23102         * gst/gstbuffer.c:
23103         * gst/gstclock.c:
23104         * gst/gstelement.c:
23105         * gst/gstevent.c:
23106         * gst/gstfilter.c:
23107         * gst/gstiterator.c:
23108         Various documentation updates.
23109
23110 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23111
23112         * gst/gstclock.h:
23113           Well, that's embarassing.  Luckily we weren't using
23114           GST_CLOCK_DIFF anywhere.
23115
23116 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23117
23118         * common/gtk-doc.mak:
23119           don't fail on building XML, FC4 slave shows a bunch of doc
23120           missing bits that I don't get
23121         * gst/gstpad.c:
23122         * gst/gstpipeline.c:
23123         * gst/gststructure.c:
23124           some doc updates
23125
23126 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
23127
23128         * docs/design/part-gstbin.txt:
23129         * docs/design/part-gstbus.txt:
23130         * gst/gstbus.c:
23131           Add blurb about how the bus goes into flushing mode and
23132           drops all messages when its bin goes from READY into NULL 
23133           state.
23134
23135 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23136
23137         * docs/gst/gstreamer-sections.txt:
23138         * gst/gststructure.c: (gst_structure_get_clock_time):
23139         * gst/gststructure.h:
23140           add a method to get a GstClockTime out of a structure
23141
23142 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
23143
23144         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23145         (test_children_state_change_order_semi_sink), (gst_bin_suite):
23146           Added test to check state change order in bins (can still be made
23147           to fail here under heavy disk load; bails out with 'Push on pad
23148           fakesink:sink0, but it was not activated in push mode').
23149
23150         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
23151           Fix state change order when there is only a semi sink (#316856)
23152
23153         * gst/gstbus.c: (gst_bus_class_init):
23154           Use _class_peek_parent(), not _class_ref(); fix docs to say
23155           'default main context' instead of 'mainloop' where that is
23156           what's meant.
23157
23158         * gst/gstelement.c: (gst_element_commit_state),
23159         (gst_element_set_state):
23160           Fix typos in debug messages
23161
23162 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23163
23164         * docs/README:
23165         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
23166         * gst/gstpluginfeature.c:
23167         * gst/gstutils.c:
23168           various doc updates
23169         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23170           change an assert into an error until it gets fixed properly
23171
23172 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
23173
23174         * docs/gst/gstreamer-sections.txt:
23175         * docs/gst/tmpl/.cvsignore:
23176         * docs/gst/tmpl/gstelement.sgml:
23177         * docs/gst/tmpl/gstinfo.sgml:
23178         * docs/gst/tmpl/gstobject.sgml:
23179         * gst/gstelement.c:
23180         * gst/gstelement.h:
23181         * gst/gstinfo.c:
23182         * gst/gstinfo.h:
23183         * gst/gstobject.c: (gst_object_class_init):
23184         * gst/gstobject.h:
23185           inlined 3 more biiiig doc files and added some missing docs on the fly
23186
23187 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23188
23189         * check/gst/.cvsignore:
23190         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
23191         * gst/gstregistryxml.c: (load_plugin),
23192         (gst_registry_xml_save_plugin):
23193           put back source in registry.  add checks for find_plugin.
23194         * testsuite/states/bin.c: (assert_state), (empty_bin),
23195         (test_adding_one_element), (main):
23196         * testsuite/states/locked.c: (main):
23197           some compile/run fixes
23198
23199 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23200
23201         * check/gst/gstvalue.c: (GST_START_TEST):
23202           fix leaks in the test itself
23203
23204 2005-09-22  Wim Taymans  <wim@fluendo.com>
23205
23206         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23207         (gst_base_sink_send_event), (gst_base_sink_peer_query),
23208         (gst_base_sink_query):
23209         Prepare for more accurate position reporting and query
23210         handling.
23211
23212         * gst/gstelement.c: (gst_element_send_event),
23213         (gst_element_set_state):
23214         Add some comment.
23215
23216 2005-09-22  Wim Taymans  <wim@fluendo.com>
23217
23218         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
23219         (gst_query_parse_segment):
23220         * gst/gstquery.h:
23221         More documentation.
23222         Add segment query for future use.
23223
23224 2005-09-22  Wim Taymans  <wim@fluendo.com>
23225
23226         * gst/gstbin.c: (gst_bin_add_func):
23227         Some more debug info.
23228
23229         * gst/gstelement.c: (gst_element_send_event):
23230         Simplify send_event
23231
23232         * gst/gstelement.h:
23233         Don't know how flags got broken.
23234
23235         * gst/gstquery.h:
23236         Added new query.
23237
23238 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
23239
23240         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
23241           Add simplistic test suite for GST_TYPE_DATE serialisation and
23242           deserialisation.
23243
23244 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
23245
23246         * docs/gst/gstreamer-sections.txt:
23247         * gst/gststructure.c: (gst_structure_set_valist),
23248         (gst_structure_get_date):
23249         * gst/gststructure.h:
23250         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
23251         (gst_date_copy), (gst_value_compare_date),
23252         (gst_value_serialize_date), (gst_value_deserialize_date),
23253         (gst_value_transform_date_string),
23254         (gst_value_transform_string_date), (_gst_value_initialize):
23255         * gst/gstvalue.h:
23256           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
23257           bunch of utility functions along with a hack that checks that
23258           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
23259           is required. Part of the grand scheme in #170777.
23260
23261 2005-09-22  Andy Wingo  <wingo@pobox.com>
23262
23263         * gst/gstconfig.h.in: Psych out gtk-doc.
23264
23265         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
23266
23267         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
23268
23269         * tools/gst-inspect.c (print_element_list): Plug some
23270         inconsequential leaks.
23271
23272         * gst/gstregistry.c (gst_registry_get_default): Doc.
23273
23274         * check/gst/gstplugin.c: 
23275         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23276         * gst/gstelementfactory.c (gst_element_factory_create): 
23277         * gst/gstindexfactory.c (gst_index_factory_create): Update for
23278         refcount changes.
23279
23280         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23281         (gst_plugin_feature_load): Doc, don't eat refs.
23282
23283         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23284         (gst_plugin_list_free): Doc.
23285         (gst_plugin_load_file): Doc updates.
23286
23287         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23288         accessors returning refcounted objects, return a ref.
23289
23290         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23291         accessor for caps. IDEMPOTENCE. Oh yes.
23292
23293 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
23294
23295         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23296
23297         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23298         (_gst_debug_register_funcptr):
23299           Add mutex to serialise access to the hash table with
23300           the function pointer => function name string mapping;
23301           make that hash table static scope (#316809).
23302
23303         * gst/registries/.cvsignore:
23304           Remove left-over file.
23305
23306 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23307
23308         * docs/pwg/appendix-porting.xml:
23309           And something about newsegment events and caps-on-buffers to
23310           the porting guide (feel free to improve).
23311
23312 2005-09-21  Andy Wingo  <wingo@pobox.com>
23313
23314         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23315         data and event probes on the same pad.
23316         (test_buffer_probe_once): Test that removing probes from within
23317         the probe functions works.
23318
23319 2005-09-21  Andy Wingo  <wingo@pobox.com>
23320
23321         * check/gst/gstutils.c: New file.
23322         (test_buffer_probe_n_times): A simple buffer probe test. More to
23323         come, foolios.
23324
23325         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23326         have-data::buffer, not have-data.
23327         (gst_pad_add_event_probe): Likewise for have-data::event.
23328         (gst_pad_add_data_probe): More docs. The part about 'resolving the
23329         peer' isn't quite right yet though.
23330         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
23331         (gst_pad_remove_data_probe): Change to take the guint handler_id
23332         as their arg, not the function+data, which is more glib-like.
23333
23334         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23335         the signal emission to indicate if the data is a buffer or an
23336         event.
23337         (gst_pad_get_type): Initialize buffer and event quarks.
23338         (gst_pad_class_init): have-data is now a detailed signal, yes it
23339         is.
23340
23341 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23342
23343         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23344         * gst/gstutils.c: (gst_util_set_value_from_string),
23345         (gst_util_set_object_arg):
23346           Don't put functional code in g_return_if_fail() or
23347           g_return_val_if_fail() statements, otherwise things will 
23348           break when G_DISABLE_CHECKS is defined during compilation.
23349
23350 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23351
23352         * docs/gst/tmpl/.cvsignore:
23353         * docs/gst/tmpl/gstvalue.sgml:
23354         * gst/gstvalue.c:
23355         * gst/gstvalue.h:
23356           inlied another one and added  some obvious docs
23357
23358 2005-09-21  Wim Taymans  <wim@fluendo.com>
23359
23360         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23361         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23362         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23363         (gst_fdsrc_get_property), (gst_fdsrc_create):
23364         * gst/elements/gstfdsrc.h:
23365         Properly implement fdsrc. Removed signal and timeout,
23366         better implemented somewhere else.
23367
23368 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23369
23370         * docs/gst/tmpl/.cvsignore:
23371         * docs/gst/tmpl/gstimplementsinterface.sgml:
23372         * gst/gstinterface.c:
23373           inlined more docs
23374
23375 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23376
23377         * docs/gst/gstreamer-sections.txt:
23378         * docs/gst/tmpl/.cvsignore:
23379         * docs/gst/tmpl/gstenumtypes.sgml:
23380           remove obsolete doc file
23381
23382 2005-09-21  David Schleef  <ds@schleef.org>
23383
23384         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23385         little beer, fix a little leak.
23386
23387 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23388
23389         * docs/gst/gstreamer-docs.sgml:
23390         * docs/gst/gstreamer-sections.txt:
23391         * docs/gst/tmpl/.cvsignore:
23392         * gst/Makefile.am:
23393         * gst/gst.h:
23394         * gst/gstbin.c:
23395         * gst/gstelement.h:
23396         * gst/gstindex.c: (gst_index_class_init):
23397         * gst/gstindex.h:
23398         * gst/gstindexfactory.c: (gst_index_factory_get_type),
23399         (gst_index_factory_class_init), (gst_index_factory_init),
23400         (gst_index_factory_finalize), (gst_index_factory_new),
23401         (gst_index_factory_destroy), (gst_index_factory_find),
23402         (gst_index_factory_create), (gst_index_factory_make):
23403         * gst/gstindexfactory.h:
23404         * gst/gstpluginfeature.c:
23405         * gst/gstpluginfeature.h:
23406         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23407           more docs inlined, splitted gstindex.{c,h}
23408
23409 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23410
23411         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23412           fix a leak
23413
23414 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23415
23416         * gst/elements/gstfilesink.c: (gst_file_sink_init):
23417           Set sync to FALSE by default.
23418
23419 2005-09-20  Wim Taymans  <wim@fluendo.com>
23420
23421         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23422         (gst_base_sink_init):
23423         Make sync property settable from subclass.
23424
23425         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23426         (gst_fake_sink_change_state):
23427         Set sync to FALSE by default.
23428
23429 2005-09-20  Wim Taymans  <wim@fluendo.com>
23430
23431         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23432         * tools/gst-launch.c: (main):
23433         The timeout handler should have lower priority than the source
23434         so we don't timeout before popping a message with 0 timeout.
23435         Dump error messages after failed state change.
23436
23437 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23438
23439         * tools/gst-inspect.c: (print_element_properties_info):
23440           Fix two typos.
23441
23442 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23443
23444         * check/gst/gstevent.c:
23445         * gst/elements/gstfakesink.c:
23446         * gst/elements/gstfakesink.h:
23447           remove the sync property from fakesink.
23448           has the side effect of setting sync TRUE
23449           for fakesink, which is a change.  Anyone who knows how
23450           to fix this nicely in a GObject-y way, feel free.
23451
23452 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23453
23454         * docs/gst/gstreamer-docs.sgml:
23455           remove probe refsection
23456
23457 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23458
23459         * check/Makefile.am:
23460           disable valgrinding the controller test again
23461         * docs/gst/gstreamer-sections.txt:
23462           update for api-changes
23463
23464 2005-09-20  Wim Taymans  <wim@fluendo.com>
23465
23466         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23467         (gst_base_sink_set_property), (gst_base_sink_get_property),
23468         (gst_base_sink_do_sync):
23469         * gst/base/gstbasesink.h:
23470         Added sync property to basesink to disable clock sync.
23471
23472 2005-09-20  Andy Wingo  <wingo@pobox.com>
23473
23474         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23475         eating the caller's refcount.
23476
23477         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
23478         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23479         refcount.
23480
23481         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23482         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23483         of GLib 2.8 public, so we can know which refcount to check in
23484         tests.
23485
23486         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23487         (gst_object_init): Only set the gst refcount if we're going ahead
23488         with the refcount hack.
23489
23490 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23491
23492         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23493         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23494           more leaks plumbed, added more debug-logging
23495         * gst/gstmacros.h:
23496           whitespace fix
23497
23498 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23499
23500         * gst/gstmessage.c:
23501           remove include of gstmemchunk.h
23502
23503 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23504
23505         * gst/gstclock.c: (_gst_clock_id_free):
23506           Commit from the Political Party For More Atomic CVS Commits,
23507           so that people don't waste too much of their day fishing
23508           out obvious leaks out of massive commits.
23509           Oh, and fix a pretty damn obvious leak in the memchunk
23510           removal code.
23511
23512 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23513
23514         * check/Makefile.am:
23515         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23516           plug mem-leak, re-add to valgrindable tests
23517
23518 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23519
23520         * gst/gstplugin.h:
23521           unbreak the build for those who have chronic arthritis
23522           and typing "make check" is just too taxing on the hands
23523
23524 2005-09-20  Andy Wingo  <wingo@pobox.com>
23525
23526         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23527         really want it out, you should fix plugins at the same time.
23528
23529 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
23530
23531         * configure.ac:
23532         * docs/gst/gstreamer-sections.txt:
23533         * gst/gstobject.c:
23534           added missing symbols to api docs
23535           disable ref-count hack if we have glib >= 2.8
23536
23537 2005-09-19  David Schleef  <ds@schleef.org>
23538
23539         * docs/gst/Makefile.am: Ignore a few more internal headers
23540         * docs/gst/gstreamer-docs.sgml: Remove old sections
23541         * docs/gst/gstreamer-sections.txt: Remove old sections
23542         * docs/gst/tmpl/gstobject.sgml: update
23543         * docs/gst/tmpl/gstplugin.sgml: update
23544         * docs/gst/tmpl/gstpluginfeature.sgml: update
23545         * docs/random/ds/0.9-suggested-changes: update.
23546         * gst/Makefile.am: remove memchunk and trashstack, since they're
23547           not used.
23548         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23549         * gst/gst.h: don't include some headers
23550         * gst/gstchildproxy.c: add gstmarshal.h
23551         * gst/gstclock.c: Don't use memchunks
23552         * gst/gstminiobject.c: Add some docs
23553         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23554         * gst/gstobject.h: same
23555         * gst/gstplugin.c: include gstmacros.h
23556         * gst/gstplugin.h: don't include gstmacros.h, since it's private
23557         * gst/gstquery.c: don't use memchunks
23558         * gst/gstregistry.c: rename gst_registry_deinit()
23559         * gst/gstregistry.h: same
23560
23561 2005-09-19  David Schleef  <ds@schleef.org>
23562
23563         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23564         * docs/libs/gstreamer-libs-sections.txt:
23565         * docs/libs/tmpl/gstgetbits.sgml:
23566         * docs/libs/tmpl/gstputbits.sgml:
23567
23568 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23569
23570         * win32/gstenumtypes.c:
23571         * win32/gstenumtypes.h:
23572           Update.
23573
23574 2005-09-19  Wim Taymans  <wim@fluendo.com>
23575
23576         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23577         Automatically PAUSE and RESUME a pipeline when a flushing seek
23578         is performed.
23579
23580 2005-09-19  Andy Wingo  <wingo@pobox.com>
23581
23582         * gst/gstregistry.h: Spacing fixen.
23583
23584 2005-09-19  Wim Taymans  <wim@fluendo.com>
23585
23586         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23587         Handle state change failure more correctly.
23588
23589 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23590
23591         * check/Makefile.am:
23592         * check/pipelines/cleanup.c: (run_pipeline):
23593         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23594         (GST_START_TEST):
23595           enable cleanup again after fixing the leak
23596         * docs/README:
23597           some more info on docs
23598
23599 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23600
23601         * check/Makefile.am:
23602           re-enable tests now that leaks are plugged
23603         * check/gst/gst.c:
23604         * check/gst/gstbin.c:
23605         * check/gst/gstpipeline.c:
23606           add some more tests while fixing leaks
23607         * common/check.mak:
23608           make sure binaries are uptodate when valgrinding/gdbing
23609         * gst/gst.c:
23610         * gst/gstelementfactory.c:
23611           remove a ref too many, and add a FIXME for when we get
23612           round to disposing of classes
23613         * gst/gstplugin.c:
23614           fix the refcounting when loading a plugin from a file and
23615           the code pretends that the pointer is the same even though
23616           of course it can change
23617         * gst/gstpluginfeature.c:
23618           unref plugins marked cached (a bit confusing as a name)
23619           as the docs state should be done
23620           various doc additions to explain refcounting
23621         * gst/gstregistry.c:
23622         * gst/gstregistryxml.c:
23623           debugging
23624
23625 2005-09-19  Wim Taymans  <wim@fluendo.com>
23626
23627         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23628         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23629         (send_messages), (GST_START_TEST), (gstbus_suite):
23630         * check/gst/gstpipeline.c: (GST_START_TEST):
23631         * check/pipelines/cleanup.c: (run_pipeline):
23632         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23633         (GST_START_TEST):
23634         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23635         (gst_bus_source_check), (gst_bus_source_dispatch),
23636         (gst_bus_create_watch), (gst_bus_add_watch_full),
23637         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23638         * gst/gstbus.h:
23639         * tools/gst-launch.c: (event_loop):
23640         * tools/gst-md5sum.c: (event_loop):
23641         GstBusHandler -> GstBusFunc, return value has the same meaning as
23642         any other GSource (FALSE == remove source).
23643         _add_watch() and _add_watch_full() now take a MessageType mask to
23644         only handle specific types of messages.
23645         _poll() returns the GstMessage instead of the message type to avoid
23646         race conditions.
23647         _have_pending() takes a MessageType mask now too.
23648         Added testsuite for multiple bus watches.
23649         Fix testsuites and applications for new bus API.
23650
23651 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23652
23653         * check/Makefile.am:
23654           mark a bunch of the tests as to fix until we fix them
23655
23656 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23657
23658         * common/check.mak:
23659           use GST_PLUGIN settings for valgrind tests as well, so we're
23660           valgrinding the correct thing
23661         * gst/gst.c: (init_post):
23662           plug another leak
23663
23664 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23665
23666         * gst/gst.c: (init_post), (gst_deinit):
23667         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23668         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23669         * gst/gstindex.c: (gst_index_factory_class_init),
23670         (gst_index_factory_finalize):
23671         * gst/gstobject.c: (gst_object_dispose):
23672         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23673         (gst_plugin_load_file), (gst_plugin_desc_free):
23674         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23675         (gst_plugin_feature_finalize):
23676         * gst/gstregistry.c: (gst_registry_class_init),
23677         (gst_registry_init), (gst_registry_finalize),
23678         (gst_registry_get_default), (gst_registry_deinit):
23679         * gst/gstregistry.h:
23680         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23681           various cleanups and memleak plugging.  make valgrind is happy now.
23682
23683 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23684
23685         * common/check.mak:
23686           add a check-valgrind target
23687
23688 2005-09-18  David Schleef  <ds@schleef.org>
23689
23690         * tools/gst-inspect.c: Revert the GOption code.
23691
23692 2005-09-17  David Schleef  <ds@schleef.org>
23693
23694         * check/Makefile.am: Fix environment variables.
23695         * check/gst/gstplugin.c: Fix for API changes.
23696         * tools/gst-inspect.c: Fix for API changes.
23697         * tools/gst-xmlinspect.c: Fix for API changes.
23698         * gst/gstelementfactory.c:
23699         * gst/gstplugin.c:
23700         * gst/gstplugin.h:
23701         * gst/gstpluginfeature.c:
23702         * gst/gstpluginfeature.h:
23703         * gst/gstregistry.c:
23704         * gst/gstregistry.h:
23705         * gst/gstregistryxml.c:
23706         * gst/gsttypefind.c:
23707         * gst/gsttypefindfactory.c:
23708         * gst/indexers/gstfileindex.c:
23709         * gst/indexers/gstmemindex.c:
23710         * gst/schedulers/Makefile.am:
23711           Change registry to keep track of both plugins and features,
23712           removing the feature tracking from plugins themselves.
23713
23714 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23715
23716         * check/Makefile.am:
23717         * tools/gst-register.1.in:
23718           remove gst-register
23719
23720 2005-09-15  David Schleef  <ds@schleef.org>
23721
23722         * check/gst/gstplugin.c:
23723         * gst/gstelementfactory.c:
23724         * gst/gstplugin.c:
23725         * gst/gstpluginfeature.c:
23726         * gst/gstregistry.c:
23727           Getting tired of debugging.  Disabled all the unreffing of
23728           plugins and features, which fixes the segfaults, but of
23729           course leaks like crazy.  At least playbin works.
23730
23731 2005-09-15  David Schleef  <ds@schleef.org>
23732
23733         * check/gst/gstplugin.c: (register_check_elements),
23734         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23735         More testing
23736         * gst/elements/gsttypefindelement.c: Fix refcounting.
23737         * gst/gsttypefind.c:
23738         * gst/gsttypefindfactory.c:
23739         * gst/gsttypefindfactory.h:
23740
23741 2005-09-15  David Schleef  <ds@schleef.org>
23742
23743         * gst/gstindex.c: get refcounting correct.
23744         * gst/gstregistry.c: Handle the case where a feature/plugin is
23745           not found.
23746
23747 2005-09-15  David Schleef  <ds@schleef.org>
23748
23749         * check/Makefile.am:
23750         * check/gst/gstplugin.c: Add test
23751         * gst/gstplugin.c: Fix problems noticed by testsuite
23752         * gst/gstplugin.h:
23753         * gst/gstregistry.c: 
23754         * gst/gstregistry.h:
23755
23756 2005-09-15  David Schleef  <ds@schleef.org>
23757
23758         * gst/gstplugin.c: Implement semi-decent recounting and locking
23759           in plugins and plugin features.
23760         * gst/gstplugin.h:
23761         * gst/gstpluginfeature.c:
23762         * gst/gstpluginfeature.h:
23763         * gst/gstregistry.c:
23764
23765 2005-09-15  Michael Smith <msmith@fluendo.com>
23766
23767         * gst/gstregistry.c: (gst_registry_get_feature_list):
23768           Implement this. Makes oggdemux work; decodebin still broken.
23769
23770 2005-09-14  David Schleef  <ds@schleef.org>
23771
23772         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23773           #316076)
23774         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23775         * gst/check/Makefile.am:
23776         * libs/gst/controller/Makefile.am:
23777         * libs/gst/dataprotocol/Makefile.am:
23778
23779 2005-09-14  David Schleef  <ds@schleef.org>
23780
23781         * configure.ac: Remove getbits library.  Nothing uses it, and
23782           it should be in something like liboil if someone did want
23783           to use it.
23784         * libs/gst/Makefile.am:
23785         * libs/gst/getbits/Makefile.am:
23786         * libs/gst/getbits/gbtest.c:
23787         * libs/gst/getbits/getbits.c:
23788         * libs/gst/getbits/getbits.h:
23789         * libs/gst/getbits/gstgetbits_generic.c:
23790         * libs/gst/getbits/gstgetbits_i386.s:
23791         * libs/gst/getbits/gstgetbits_inl.h:
23792
23793 2005-09-14  David Schleef  <ds@schleef.org>
23794
23795         * gst/Makefile.am: Dist glib-compat.h
23796
23797 2005-09-14  David Schleef  <ds@schleef.org>
23798
23799         * configure.ac: Remove gst/registries, since it's no longer used.
23800         * gst/registries/Makefile.am:
23801         * gst/registries/gstlibxmlregistry.c:
23802         * gst/registries/gstlibxmlregistry.h:
23803         * gst/registries/gstxmlregistry.c:
23804         * gst/registries/gstxmlregistry.h:
23805         * gst/registries/registrytest.c:
23806
23807 2005-09-14  David Schleef  <ds@schleef.org>
23808
23809         * gst/glib-compat.h:
23810         * gst/gstregistryxml.c:
23811           Convergence is near.  Seriously.
23812
23813 2005-09-14  David Schleef  <ds@schleef.org>
23814
23815         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23816         * gst/glib-compat.h:
23817           Attempt #4 to appease the buildbots.
23818
23819 2005-09-14  David Schleef  <ds@schleef.org>
23820
23821         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23822           Attempt #3.
23823
23824 2005-09-14  David Schleef  <ds@schleef.org>
23825
23826         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23827         Attempt #2.
23828
23829 2005-09-14  David Schleef  <ds@schleef.org>
23830
23831         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23832           the new functions.
23833
23834 2005-09-14  David Schleef  <ds@schleef.org>
23835
23836         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23837         * gst/glib-compat.h: Add some functions that are in newer versions
23838           of glib than we care to require.
23839         * gst/gstregistryxml.c: Use them.
23840
23841 2005-09-14  David Schleef  <ds@schleef.org>
23842
23843         * po/POTFILES.in: remove gst-register.c
23844
23845 2005-09-14  David Schleef  <ds@schleef.org>
23846
23847         * docs/gst/gstreamer-docs.sgml:
23848         * docs/gst/gstreamer-sections.txt:
23849         * docs/gst/gstreamer.types:
23850         * docs/gst/tmpl/gstelement.sgml:
23851         * docs/gst/tmpl/gstplugin.sgml:
23852         * docs/gst/tmpl/gstpluginfeature.sgml:
23853           Documentation updates for registry changes.
23854
23855 2005-09-14  David Schleef  <ds@schleef.org>
23856
23857         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23858           because we don't require glib-2.8.
23859
23860 2005-09-14  David Schleef  <ds@schleef.org>
23861
23862         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23863           registries directory.
23864
23865 2005-09-14  David Schleef  <ds@schleef.org>
23866
23867         * check/Makefile.am:
23868         * check/generic/states.c:
23869         * gst/Makefile.am:
23870         * gst/gst.c:
23871         * gst/gst.h:
23872         * gst/gst_private.h:
23873         * gst/gstelementfactory.c:
23874         * gst/gstindex.c:
23875         * gst/gstinfo.c:
23876         * gst/gstplugin.c:
23877         * gst/gstplugin.h:
23878         * gst/gstpluginfeature.c:
23879         * gst/gstpluginfeature.h:
23880         * gst/gstregistry.c:
23881         * gst/gstregistry.h:
23882         * gst/gstregistrypool.c: remove
23883         * gst/gstregistrypool.h: remove
23884         * gst/gsttypefind.c:
23885         * gst/gsttypefindfactory.c:
23886         * gst/gsturi.c:
23887         * tools/Makefile.am:
23888         * tools/gst-compprep.c:
23889         * tools/gst-inspect.c:
23890         * tools/gst-register.c: remove
23891         * tools/gst-xmlinspect.c:
23892           Registry rewrite.  Changes registry from being a file created
23893           by a tool into a simple cache file created automatically by 
23894           libgstreamer.  Removed gst-register (because it's no longer
23895           needed).  Remove registry pools, because we only have one
23896           registry implementation (XML).  Fix up other subsystems as
23897           necessary.
23898
23899 2005-09-13  Michael Smith <msmith@fluendo.com>
23900
23901         * gst/gstconfig.h.in:
23902           Don't Use windows linking attributes for MinGW. Fixes #316157
23903
23904 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23905
23906         * gst/gstutils.c: (set_state_async_thread_func),
23907         (gst_element_set_state_async):
23908           Apparently people think it's better if this function doesn't
23909           try to set the state to whatever state was asked for on the first
23910           call to this function for any object.  Seriously.
23911
23912 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23913
23914         * check/gst/gstpipeline.c: (GST_START_TEST):
23915         * docs/gst/gstreamer-sections.txt:
23916         * gst/gstutils.c: (set_state_async_thread_func),
23917         (gst_element_set_state_async):
23918         * gst/gstutils.h:
23919           add a "gst_element_set_state_async" method that
23920           sets the state and starts a thread to make sure the state
23921           change completes as best as it can
23922
23923 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23924
23925         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23926           codify design+behaviour in testsuite after discussion
23927
23928 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23929
23930         * docs/gst/tmpl/gstelement.sgml:
23931         * docs/manual/appendix-quotes.xml:
23932           add a quote
23933         * gst/gstelement.c: (gst_element_set_state):
23934           add some debug
23935
23936 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23937
23938         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23939         (gst_base_transform_prepare_output_buf),
23940         (gst_base_transform_handle_buffer):
23941         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23942         (gst_capsfilter_prepare_buf):
23943           Remove the requirement for sub-classes to call the parent
23944           implementation of prepare_output_buffer with a wrapper function.
23945           
23946         * gst/gsttaglist.h:
23947         * gst/gsttagsetter.h:
23948           Fix #define wrapper
23949
23950 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23951
23952         * docs/gst/gstreamer-sections.txt:
23953           more doc cleanups
23954
23955 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23956
23957         * docs/gst/gstreamer-sections.txt:
23958         * docs/gst/tmpl/gstelement.sgml:
23959         * docs/gst/tmpl/gstplugin.sgml:
23960         * gst/gstminiobject.c:
23961         * gst/gstvalue.h:
23962           docs now stop throwing warnings
23963
23964 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23965
23966         * docs/gst/gstreamer-sections.txt:
23967         * docs/gst/gstreamer.types:
23968         * docs/gst/tmpl/gstpad.sgml:
23969         * docs/gst/tmpl/gsttypes.sgml:
23970         * gst/base/gstadapter.h:
23971         * gst/base/gstbasesink.h:
23972         * gst/base/gstbasesrc.h:
23973         * gst/gstbin.h:
23974         * gst/gstbuffer.h:
23975         * gst/gstbus.h:
23976         * gst/gstcaps.h:
23977         * gst/gstclock.h:
23978         * gst/gstelement.h:
23979         * gst/gstevent.h:
23980         * gst/gstmessage.h:
23981         * gst/gstpad.h:
23982         * gst/gststructure.c:
23983         * gst/registries/gstlibxmlregistry.h:
23984           various documentation fixes
23985
23986 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23987
23988         * docs/gst/gstreamer-sections.txt:
23989         * docs/gst/tmpl/gstvalue.sgml:
23990           rearrange gstvalue section
23991         * gst/gstutils.c: (gst_element_state_get_name):
23992           NONE -> VOID
23993         * gst/gstvalue.c: (_gst_value_initialize):
23994         * gst/gstvalue.h:
23995           doc updates
23996
23997 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23998
23999         * check/gst-libs/controller.c:
24000           Header include fix.
24001         * gst/base/gstbasetransform.c:
24002         (gst_base_transform_default_prepare_buf),
24003         (gst_base_transform_handle_buffer):
24004         * gst/base/gstbasetransform.h:
24005           Some more basetransform changes and fixes to enable sub-classes
24006           that modify buffer metadata only.
24007         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24008         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
24009         (gst_capsfilter_prepare_buf):
24010           If the output pad has fixed allowed caps and input buffers 
24011           don't have any, set the fixed caps on outgoing buffers.
24012
24013 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
24014         * check/elements/identity.c: (GST_START_TEST):
24015           Make the error a little clearer when the test fails because
24016           identity made a copy of the buffer.
24017         * docs/gst/gstreamer-sections.txt:
24018           New symbols in gstbasetransform.h
24019         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
24020         (gst_base_transform_init), (gst_base_transform_transform_size),
24021         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24022         (gst_base_transform_default_prepare_buf),
24023         (gst_base_transform_get_unit_size),
24024         (gst_base_transform_buffer_alloc),
24025         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
24026         (gst_base_transform_change_state),
24027         (gst_base_transform_set_passthrough),
24028         (gst_base_transform_set_in_place),
24029         (gst_base_transform_is_in_place):
24030         * gst/base/gstbasetransform.h:
24031           Change BaseTransform to separate in_place operate from same_caps
24032           output. in_place implies that the element can perform the transform
24033           on incoming buffers in-place, even if the caps on the output are
24034           different.
24035           Sub-class elements can now implement special buffer allocation
24036           methods for outgoing buffers if they wish to.
24037           Big documentation addition.
24038         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
24039         * gst/elements/gstelements.c:
24040           Changes for basetransform modifications.
24041         * gst/elements/Makefile.am:
24042         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
24043           Compile fix. Extra debug output.
24044
24045 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24046
24047         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
24048         (gst_pad_suite):
24049           add tests for valid pad naming
24050         * gst/check/gstcheck.c: (gst_check_log_message_func),
24051         (gst_check_log_critical_func):
24052           add ASSERT_WARNING
24053           remove printing of code, it is fragile when the code contains
24054           % and the line number is enough info
24055         * gst/check/gstcheck.h:
24056         * gst/gstpad.c: (gst_pad_template_new):
24057           fix memleaks
24058
24059 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24060
24061         * configure.ac:
24062           say what CHECK flags we use
24063         * docs/libs/gstreamer-libs.types:
24064         * libs/gst/controller/Makefile.am:
24065         * libs/gst/controller/gst-controller.c:
24066         * libs/gst/controller/gst-controller.h:
24067         * libs/gst/controller/gst-helper.c:
24068         * libs/gst/controller/gst-interpolation.c:
24069         * libs/gst/controller/gstcontroller.c:
24070         * libs/gst/controller/gsthelper.c:
24071         * libs/gst/controller/gstinterpolation.c:
24072         * tools/gst-inspect.c: (print_plugin_info):
24073           we don't use dashes in header names
24074
24075 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24076
24077         * check/Makefile.am:
24078         * check/gst/.cvsignore:
24079         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
24080         (gst_pipeline_suite), (main):
24081           adding a test for pipelines and state changes
24082         * gst/gstutils.c: (get_state_func):
24083           add some debugging
24084         * gstreamer.spec.in:
24085           fix up spec file
24086
24087 2005-09-08  Michael Smith <msmith@fluendo.com>
24088
24089         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
24090         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
24091         (gst_file_src_is_seekable), (gst_file_src_get_size),
24092         (gst_file_src_start):
24093         * gst/elements/gstfilesrc.h:
24094           Various fixes for unseekable, unmmapable, and non-normal files, so
24095           that fallback to read() rather than mmap() works.
24096         * gst/gstevent.c: (gst_event_new_newsegment):
24097           Allow newsegment events with segment_start == segment_end, as will
24098           correctly happen if you use filesrc on a zero-size file, for
24099           example.
24100
24101 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
24102
24103         * gst/gstplugin.c: (gst_plugin_load_file):
24104           Call g_module_close when we don't load the module
24105
24106         * gst/registries/gstlibxmlregistry.c:
24107         (gst_xml_registry_get_property):
24108           Port leak fix from 0.8
24109
24110 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24111
24112         * docs/gst/gstreamer-docs.sgml:
24113         * docs/gst/tmpl/.cvsignore:
24114         * docs/gst/tmpl/gsttrace.sgml:
24115         * docs/gst/tmpl/gsttrashstack.sgml:
24116         * gst/Makefile.am:
24117         * gst/gst.h:
24118         * gst/gstelement.h:
24119         * gst/gstevent.h:
24120         * gst/gstmessage.c:
24121         * gst/gstmessage.h:
24122         * gst/gsttag.c:
24123         * gst/gsttag.h:
24124         * gst/gsttaginterface.c:
24125         * gst/gsttaginterface.h:
24126         * gst/gsttaglist.c:
24127         * gst/gsttaglist.h:
24128         * gst/gsttagsetter.c:
24129         * gst/gsttagsetter.h:
24130         * gst/gsttrace.c:
24131         * gst/gsttrace.h:
24132         * gst/gsttrashstack.c:
24133           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
24134           inlined docs for gsttrace, gsttrashstack
24135
24136 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24137
24138         * gst/Makefile.am:
24139         * gst/elements/gstbufferstore.h:
24140         * gst/elements/gsttypefindelement.c:
24141         * gst/elements/gsttypefindelement.h:
24142         * gst/gst.h:
24143         * gst/gsttypefind.c:
24144         * gst/gsttypefind.h:
24145         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
24146         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
24147         (gst_type_find_factory_dispose),
24148         (gst_type_find_factory_unload_thyself),
24149         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
24150         (gst_type_find_factory_get_caps),
24151         (gst_type_find_factory_get_extensions),
24152         (gst_type_find_factory_call_function):
24153         * gst/gsttypefindfactory.h:
24154         * gst/registries/gstlibxmlregistry.c:
24155         * gst/registries/gstxmlregistry.c:
24156           splitted gsttypefind into gsttypefind, gsttypefindfactory
24157
24158 2005-09-07  Andy Wingo  <wingo@pobox.com>
24159
24160         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
24161         condition whereby the pad's task function is entered before the
24162         pad_mode variable was set.
24163
24164 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
24165
24166         * gst/gstpad.c: (gst_pad_alloc_buffer):
24167           Catch misbehaving pad_alloc functions that don't
24168           set up caps and do it for them.
24169
24170 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24171
24172         * check/pipelines/simple_launch_lines.c: (run_pipeline):
24173           test for pipe!=NULL
24174         * docs/gst/tmpl/.cvsignore:
24175         * docs/gst/tmpl/gstmemchunk.sgml:
24176         * docs/gst/tmpl/gstparse.sgml:
24177         * docs/gst/tmpl/gsttaglist.sgml:
24178         * docs/gst/tmpl/gsttagsetter.sgml:
24179         * docs/gst/tmpl/gsttypefind.sgml:
24180         * docs/gst/tmpl/gsttypefindfactory.sgml:
24181         * gst/gstmemchunk.c:
24182         * gst/gstparse.c:
24183         * gst/gsttag.c:
24184         * gst/gsttaginterface.c:
24185         * gst/gsttypefind.c:
24186         * gst/gsttypefind.h:
24187           inlined more docs
24188
24189 === release 0.9.2 ===
24190
24191 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24192
24193         * NEWS:
24194         * RELEASE:
24195         * configure.ac:
24196           releasing 0.9.2, "South"
24197
24198 2005-09-05  Andy Wingo  <wingo@pobox.com>
24199
24200         * gst/registries/gstxmlregistry.h:
24201         * gst/registries/gstxmlregistry.c: Um... resurrect...
24202         
24203         * gst/registries/gstxmlregistry.h:
24204         * gst/registries/gstxmlregistry.c: and update to newer API.
24205         Incidentally they should be a bit faster now that they don't have
24206         to parse the caps.
24207         
24208 2005-09-05  Andy Wingo  <wingo@pobox.com>
24209
24210         * gst/registries/gstxmlregistry.h:
24211         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
24212         replaced by the libxml registry a while back
24213
24214 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24215
24216         * docs/gst/tmpl/gstplugin.sgml:
24217         * gst/elements/gstelements.c:
24218         * gst/gst.c:
24219         * gst/gstplugin.c: (gst_plugin_register_func),
24220         (gst_plugin_desc_copy), (gst_plugin_desc_free),
24221         (gst_plugin_get_source):
24222         * gst/gstplugin.h:
24223         * gst/registries/gstlibxmlregistry.c: (load_plugin),
24224         (gst_xml_registry_save_plugin):
24225         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
24226         (gst_xml_registry_save_plugin):
24227         * tools/gst-inspect.c: (print_plugin_info):
24228           add a "source" plugin description field, to represent the source
24229           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
24230           will set it to PACKAGE, which is automake's idea of the name of
24231           the source project.
24232
24233 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24234
24235         * Makefile.am:
24236         * autogen.sh:
24237         * configure.ac:
24238         * docs/Makefile.am:
24239         * docs/faq/Makefile.am:
24240         * docs/gst/tmpl/gstelement.sgml:
24241         * docs/gst/tmpl/gsttypes.sgml:
24242         * docs/htmlinstall.mak:
24243         * docs/manual/Makefile.am:
24244         * docs/pwg/Makefile.am:
24245           reorganize doc build a little
24246           split out docbook and gtk-doc stuff
24247           have two separate --enable's and enable them through autogen
24248           but disable by default in configure (to be similar to other
24249           projects)
24250         * gstreamer.spec.in:
24251           clean up docs install
24252         * po/af.po:
24253         * po/az.po:
24254         * po/ca.po:
24255         * po/cs.po:
24256         * po/de.po:
24257         * po/en_GB.po:
24258         * po/fr.po:
24259         * po/it.po:
24260         * po/nb.po:
24261         * po/nl.po:
24262         * po/ru.po:
24263         * po/sq.po:
24264         * po/sr.po:
24265         * po/sv.po:
24266         * po/tr.po:
24267         * po/uk.po:
24268         * po/vi.po:
24269           translation updates
24270
24271 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
24272
24273         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24274           Add comment.
24275           
24276         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24277         (gst_fake_sink_change_state):
24278           Make state change function thread-safe.
24279           
24280         * gst/gstpad.c: (gst_pad_alloc_buffer):
24281           Set offset on generic buffer allocated by fallback.
24282
24283 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
24284
24285         * docs/gst/gstreamer-sections.txt:
24286         * docs/gst/tmpl/gstelement.sgml:
24287         * gst/gstpad.c:
24288         * libs/gst/controller/gst-controller.c:
24289         (gst_controlled_property_set_interpolation_mode),
24290         (gst_controlled_property_new),
24291         (gst_controller_find_controlled_property):
24292          run the wingo-magic script against the docs
24293
24294 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24295
24296         * docs/gst/gstreamer-docs.sgml:
24297         * docs/gst/gstreamer-sections.txt:
24298         * docs/gst/tmpl/.cvsignore:
24299         * docs/gst/tmpl/gstelementdetails.sgml:
24300         * docs/gst/tmpl/gstelementfactory.sgml:
24301         * gst/gst.c:
24302         * gst/gstbus.c:
24303         * gst/gstelementfactory.c:
24304         * gst/gstelementfactory.h:
24305           merged elementdetails docs into elementfactory docs
24306           inlined both
24307
24308 2005-09-02  Andy Wingo  <wingo@pobox.com>
24309
24310         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24311         consider this enum an enum and not a flags.
24312
24313 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24314
24315         * docs/gst/gstreamer-docs.sgml:
24316         * docs/gst/tmpl/.cvsignore:
24317         * docs/gst/tmpl/gstghostpad.sgml:
24318         * docs/gst/tmpl/gstiterator.sgml:
24319         * docs/gst/tmpl/gstmacros.sgml:
24320         * docs/gst/tmpl/gstrealpad.sgml:
24321         * docs/gst/tmpl/gstregistry.sgml:
24322         * docs/gst/tmpl/gstregistrypool.sgml:
24323         * docs/gst/tmpl/gststructure.sgml:
24324         * docs/gst/tmpl/gstsystemclock.sgml:
24325         * docs/gst/tmpl/gsttrace.sgml:
24326         * gst/gstghostpad.c:
24327         * gst/gstmacros.h:
24328         * gst/gstmemchunk.c:
24329         * gst/gstmemchunk.h:
24330         * gst/gstqueue.c:
24331         * gst/gstregistry.c:
24332         * gst/gstregistrypool.c:
24333         * gst/gststructure.c:
24334         * gst/gstsystemclock.c:
24335           more docs inlined
24336
24337 2005-09-02  Andy Wingo  <wingo@pobox.com>
24338
24339         * gst/gstelement.h (GstState): Renamed from GstElementState,
24340         changed to be a normal enum instead of flags.
24341         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24342         munged to be GST_STATE_CHANGE_*.
24343         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24344         work with the new state representation.
24345         (GstStateChange): New enumeration of possible state transitions.
24346         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24347         (GstElementClass::change_state): Pass the GstStateChange along as
24348         an argument. Helps language bindings, so they don't have to use
24349         tricky lock-needing macros like GST_STATE_CHANGE ().
24350
24351         * scripts/update-states (file): New script. Run it on a file to
24352         update it for state naming and API changes. Updates files in
24353         place.
24354
24355         * All files updated for the new API.
24356
24357 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24358
24359         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24360         * gst/gstutils.c: (gst_util_set_value_from_string),
24361         (gst_util_set_object_arg):
24362           fix a bunch of unchecked return values
24363         * tools/gst-complete.c: (main):
24364         * gstreamer.spec.in:
24365           clean up a little
24366
24367 2005-09-01  Wim Taymans  <wim@fluendo.com>
24368
24369         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24370         (gst_base_sink_event), (gst_base_sink_do_sync),
24371         (gst_base_sink_handle_event):
24372         * gst/base/gstbasesink.h:
24373         Handle newsegments more correctly.
24374
24375         * gst/gstbus.c:
24376         Fix docs.
24377
24378         * gst/gstevent.c: (gst_event_new_newsegment):
24379         A newsegment cannot have a start_time of -1
24380
24381 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
24382
24383         * win32/gstenumtypes.c:
24384         * win32/gstenumtypes.h:
24385           Update
24386
24387 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24388
24389         * libs/gst/controller/gst-controller.c:
24390         (gst_controlled_property_set_interpolation_mode),
24391         (gst_controlled_property_new):
24392          fixed boolean again
24393
24394 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
24395
24396         * docs/faq/gst-uninstalled:
24397           add -good
24398         * gst/gstevent.c:
24399         * gst/gstevent.h:
24400           remove wrong docs
24401         * gst/gstutils.c: (gst_element_link_filtered):
24402         * gst/gstutils.h:
24403           add gst_element_link_filtered
24404
24405 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24406
24407         * docs/gst/gstreamer-docs.sgml:
24408         * docs/gst/gstreamer-sections.txt:
24409         * docs/gst/tmpl/.cvsignore:
24410         * docs/gst/tmpl/gsterror.sgml:
24411         * docs/gst/tmpl/gstfilter.sgml:
24412         * docs/gst/tmpl/gsturihandler.sgml:
24413         * docs/gst/tmpl/gsturitype.sgml:
24414         * docs/gst/tmpl/gstutils.sgml:
24415         * docs/gst/tmpl/gstxml.sgml:
24416         * gst/gsterror.c:
24417         * gst/gsterror.h:
24418         * gst/gstfilter.c:
24419         * gst/gsturi.c:
24420         * gst/gsturitype.c:
24421         * gst/gstutils.c:
24422         * gst/gstxml.c:
24423           inlined more docs, fixed double id-ref
24424
24425 2005-08-31  Wim Taymans  <wim@fluendo.com>
24426
24427         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24428         (gst_base_transform_handle_buffer):
24429         Passthrough elements don't need the caps as they don't care.
24430
24431 2005-08-31  Wim Taymans  <wim@fluendo.com>
24432
24433         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24434         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24435         Don't leak refcounts on buffers.
24436
24437 2005-08-31  Wim Taymans  <wim@fluendo.com>
24438
24439         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24440         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24441         (gst_base_transform_chain), (gst_base_transform_change_state):
24442         * gst/base/gstbasetransform.h:
24443         Handle the case where we are not negotiated more gracefully.
24444
24445 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
24446
24447         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24448         (gst_file_src_map_region):
24449           Set READONLY flag on mmap'ed buffers, otherwise
24450           gst_buffer_make_writable() won't work properly (#314708).
24451
24452 2005-08-31  Wim Taymans  <wim@fluendo.com>
24453
24454         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24455         passthrough elements can even do inplace on non writable
24456         buffers (as they don't touch them).
24457
24458 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24459
24460         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24461         (gst_test_mono_source_set_property),
24462         (gst_test_mono_source_class_init), (GST_START_TEST),
24463         (gst_controller_suite):
24464           more tests (hehe I have the most)
24465         * gst/gstbus.c:
24466           describe popping messages whenusing mulltiple sources
24467         * libs/gst/controller/gst-controller.c:
24468         (gst_controlled_property_set_interpolation_mode),
24469         (gst_controlled_property_new):
24470         * libs/gst/controller/gst-controller.h:
24471         * libs/gst/controller/gst-interpolation.c:
24472           implement boolean properties
24473
24474 2005-08-31  Wim Taymans  <wim@fluendo.com>
24475
24476         * gst/gstminiobject.c: (gst_mini_object_ref):
24477         Cannot assert that the refcount has to be positive
24478         since a disposed object can be resurrected.
24479
24480 2005-08-31  Wim Taymans  <wim@fluendo.com>
24481
24482         * gst/gstpad.c: (gst_pad_init):
24483         Revert change, need to first fix badly behaving 
24484         apps.
24485
24486 2005-08-30  Wim Taymans  <wim@fluendo.com>
24487
24488         * check/elements/fakesrc.c: (setup_fakesrc):
24489         * check/elements/identity.c: (setup_identity):
24490         Activate pads before using them.
24491
24492 2005-08-30  Wim Taymans  <wim@fluendo.com>
24493
24494         * gst/base/gstadapter.c: (gst_adapter_flush):
24495         Flushing out 0 bytes is ok for this function.
24496
24497         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24498         no newsegment gives a warning and sets the start/stop to 
24499         invalid.
24500
24501         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24502         (gst_base_transform_set_passthrough):
24503         Some debug info.
24504
24505         * gst/gstminiobject.c: (gst_mini_object_ref):
24506         Check refcount here too.
24507
24508         * gst/gstpad.c: (gst_pad_init):
24509         Pads are initially flushing and refusing data.
24510
24511         * gst/gstutils.c: (gst_element_link_pads_filtered):
24512         When adding a capsfilter element make sure it has the
24513         same state as the parent bin.
24514
24515 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24516
24517         * docs/gst/tmpl/.cvsignore:
24518         * docs/gst/tmpl/gstformat.sgml:
24519         * docs/gst/tmpl/gstversion.sgml:
24520         * gst/gstbus.h:
24521         * gst/gstformat.c:
24522         * gst/gstformat.h:
24523         * gst/gstversion.h.in:
24524           more docs and two more inlined
24525
24526 2005-08-30  Wim Taymans  <wim@fluendo.com>
24527
24528         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24529         Don't sync to clock.
24530
24531 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24532
24533         * docs/gst/gstreamer-sections.txt:
24534           ultral33t func10ns deserve to appear in the docs actually
24535         * docs/gst/tmpl/.cvsignore:
24536         * docs/gst/tmpl/gstcompat.sgml:
24537         * docs/gst/tmpl/gstconfig.sgml:
24538         * gst/check/gstcheck.c:
24539         * gst/gstcompat.h:
24540         * gst/gstconfig.h.in:
24541           inlined more docs
24542
24543 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24544
24545         * docs/gst/tmpl/.cvsignore:
24546         * docs/gst/tmpl/gstquery.sgml:
24547         * docs/gst/tmpl/gstutils.sgml:
24548         * gst/gstquery.c:
24549         * gst/gstquery.h:
24550           inlined and extended docs
24551
24552 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24553
24554         * check/gst-libs/controller.c: (GST_START_TEST),
24555         (gst_controller_suite):
24556           more tests
24557         * docs/gst/tmpl/gstutils.sgml:
24558         * docs/libs/gstreamer-libs-sections.txt:
24559         * docs/libs/tmpl/gstdataprotocol.sgml:
24560           include path fixes
24561         * examples/controller/audio-example.c: (main):
24562           controller example works now
24563         * gst/gstclock.h:
24564           doc fixes
24565         * tools/gst-inspect.c: (print_element_properties_info):
24566           show param spec flags
24567
24568 2005-08-29  Andy Wingo  <wingo@pobox.com>
24569
24570         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24571
24572 2005-08-28  Andy Wingo  <wingo@pobox.com>
24573
24574         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24575         as having two arguments instead of just one. Allows superclasses
24576         to access information on subclasses -- see the terrible for() loop
24577         in gtype.c:g_type_create_instance for the reason why. All callers
24578         changed.
24579
24580 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24581
24582         * docs/design/part-messages.txt:
24583           update info
24584         * docs/gst/tmpl/.cvsignore:
24585         * docs/gst/tmpl/gstcaps.sgml:
24586         * docs/gst/tmpl/gstclock.sgml:
24587         * gst/gstbus.c:
24588         * gst/gstcaps.c:
24589         * gst/gstcaps.h:
24590         * gst/gstclock.c:
24591         * gst/gstclock.h:
24592         * gst/gstmessage.c:
24593           added descriptions for bus and message
24594           inline caps and clock docs
24595
24596 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24597
24598         * gst/gstmessage.c:
24599         * gst/gstmessage.h:
24600           doc fixes
24601
24602 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24603
24604         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24605           fix div-by-zero
24606
24607 2005-08-26  Andy Wingo  <wingo@pobox.com>
24608
24609         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24610         element_set_state's return val.
24611         (test_2_elements): Add test that's been disabled for months.
24612
24613         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24614         can-activate-pull properties.
24615
24616         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24617         can-activate-pull properties. Implement is_seekable so fakesrc can
24618         operate in pull mode.
24619
24620         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24621         properties.
24622         (gst_base_sink_activate, gst_base_sink_activate_pull)
24623         (gst_base_sink_activate_push): Make activation mode choosing work.
24624         Cleanups.
24625         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24626         is right. Make pull mode work. Post an eos before pausing in pull
24627         mode.
24628         (gst_base_sink_change_state): Pay attention to the core's
24629         change_state() return val.
24630         
24631         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24632         has-getrange properties. Cleanups.
24633         
24634         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24635         has_getrange and replace with can_activate_pull and
24636         can_activate_push.
24637
24638         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24639         locking comments. Remove has_loop, has_chain and replace with
24640         can_activate_pull and can_activate_push.
24641
24642 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24643
24644         * configure.ac:
24645         * examples/Makefile.am:
24646         * examples/metadata/Makefile.am:
24647         * examples/metadata/read-metadata.c: (message_loop),
24648         (have_pad_handler), (make_pipeline), (print_tag), (main):
24649           Add metadata reading example that loops over a list of filenames,
24650           dumping any tags found.
24651
24652         * gst/gstbus.c: (gst_bus_dispose):
24653         * gst/gstelement.c: (gst_element_dispose):
24654           Release a few potentially-held references in dispose.
24655
24656 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24657
24658         * docs/gst/tmpl/gstminiobject.sgml:
24659           do *not* add tmpl/*.sgml files to CVS!
24660
24661 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24662
24663         * libs/gst/bytestream/.cvsignore:
24664         * libs/gst/bytestream/Makefile.am:
24665         * libs/gst/bytestream/adapter.c:
24666         * libs/gst/bytestream/adapter.h:
24667         * libs/gst/bytestream/bytestream.c:
24668         * libs/gst/bytestream/bytestream.h:
24669         * libs/gst/bytestream/filepad.c:
24670         * libs/gst/bytestream/filepad.h:
24671           removing obsolete files
24672
24673 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24674
24675         * docs/gst/gstreamer-docs.sgml:
24676         * docs/libs/gstreamer-libs-docs.sgml:
24677           disabed additional index entries again, as this makes docs-gen just
24678           slow and they aren't useful yet
24679         * docs/libs/gstreamer-libs-sections.txt:
24680           little -section.txt cleanup for libs
24681
24682 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24683
24684         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24685         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24686           fix up some debugging
24687         (gst_base_transform_get_unit_size),
24688         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24689         (gst_base_transform_handle_buffer):
24690         * gst/base/gstbasetransform.h:
24691           handle and store timed NEWSEGMENT events so that subclasses that
24692           calculate time by counting samples have a segment_start time they
24693           need to add to their timestamps - see audioresample
24694
24695 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24696
24697         * gst/gstbin.h:
24698           removed ';' from the end of macro defs
24699         * docs/gst/gstreamer-docs.sgml:
24700         * docs/gst/gstreamer-sections.txt:
24701         * docs/gst/tmpl/.cvsignore:
24702         * gst/gstbus.h:
24703         * gst/gstelement.c: (gst_element_class_init),
24704         (gst_element_set_state), (activate_pads),
24705         (gst_element_save_thyself):
24706         * gst/gstevent.c: (gst_event_new_newsegment):
24707         * gst/gstevent.h:
24708         * gst/gstiterator.c:
24709         * gst/gstiterator.h:
24710         * gst/gstpad.c:
24711         * gst/gstprobe.h:
24712         * gst/gstutils.c: (gst_pad_query_convert):
24713         * gst/gstutils.h:
24714           fixed parameter name mismatches between source, header and docs
24715           added some more docs, resolved the last batch of unused elements in
24716           docs (now someone needs to doc them)
24717
24718 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24719
24720         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24721         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24722           don't walk through the plugins backwards.  Where is all this
24723           reversed logic coming from ?
24724
24725 2005-08-25  Wim Taymans  <wim@fluendo.com>
24726
24727         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24728         (gst_base_transform_transform_size),
24729         (gst_base_transform_configure_caps),
24730         (gst_base_transform_get_unit_size),
24731         (gst_base_transform_buffer_alloc),
24732         (gst_base_transform_change_state):
24733         * gst/base/gstbasetransform.h:
24734         Cache caps unit_size.
24735         Make sure we cannot negotiate up and downstream at the
24736         same time.
24737
24738 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24739
24740         * gst/gst.c: (init_pre), (init_post):
24741           register the installed plugin path after the env var
24742         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24743         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24744           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24745           directories, so the tests can prefer uninstalled over installed
24746
24747 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24748
24749         * gst/base/gstbasetransform.h:
24750           comment
24751         * gst/gstpad.c:
24752           add to docs
24753
24754 2005-08-25  Wim Taymans  <wim@fluendo.com>
24755
24756         * gst/gstbin.c: (bin_bus_handler):
24757         Be a bit more conservative about the posted message.
24758         
24759         * gst/gstbus.c: (gst_bus_post):
24760         Some cleanups, warn wrong return values.
24761
24762 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24763
24764         * check/gst/gstbin.c: (GST_START_TEST):
24765         * gst/gstbin.c: (bin_bus_handler):
24766         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24767         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24768         (gst_message_new_warning), (gst_message_new_tag),
24769         (gst_message_new_state_changed), (gst_message_new_segment_start),
24770         (gst_message_new_segment_done), (gst_message_new_custom):
24771         * gst/gstmessage.h:
24772         * tools/gst-launch.c: (event_loop):
24773         * tools/gst-md5sum.c: (event_loop):
24774           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24775
24776 2005-08-25  Wim Taymans  <wim@fluendo.com>
24777
24778         * check/generic/states.c: (GST_START_TEST):
24779         Cleanup can be done at the end.
24780
24781         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24782         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24783         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24784         Oh boy.. Thanks for finding this, Thomas. 
24785
24786 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24787
24788         * docs/gst/gstreamer.types:
24789           added missing types
24790
24791 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24792
24793         * docs/gst/gstreamer-docs.sgml:
24794         * docs/gst/gstreamer-sections.txt:
24795         * docs/gst/tmpl/.cvsignore:
24796         * gst/gstbin.c:
24797         * gst/gstiterator.c:
24798         * gst/gstutils.c:
24799         * gst/registries/gstxmlregistry.h:
24800           added missing classes and symbols (123 more to go)
24801           removed removed symbols from section file
24802           fixed many doc-comments
24803
24804 2005-08-24  Wim Taymans  <wim@fluendo.com>
24805
24806         * check/generic/states.c: (GST_START_TEST):
24807         Make sure all tasks are stopped.
24808
24809         * check/gst/gstbin.c: (GST_START_TEST):
24810         Unref after usage for proper valgrinding.
24811
24812         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24813         Really wait for the task to stop before destroying the
24814         mutex.
24815
24816         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24817         (gst_queue_src_activate_push):
24818         Small cleanups. Don't stop the task when we did not start
24819         it.
24820
24821         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24822         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24823         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24824         (gst_task_join):
24825         * gst/gsttask.h:
24826         Protect the stream lock with the object lock.
24827         Disallow setting the stream lock when running.
24828         Add cleanup_all to wait for the threadpool to finish.
24829         Remove code to autoallocate a mutex if none was provided.
24830         Add _join() to wait for a task to stop.
24831         Protect the thread pool with a global lock.
24832
24833 2005-08-24  Wim Taymans  <wim@fluendo.com>
24834
24835         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24836         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24837         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24838         * gst/base/gstbasesink.h:
24839         Handle newsegment events correctly.
24840         Drop buffers out of the segment range.
24841
24842 2005-08-22  Andy Wingo  <wingo@pobox.com>
24843
24844         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24845         macro, implements an interface and gstimplementsinterface for a
24846         new type.
24847
24848 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24849
24850         * check/Makefile.am:
24851         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24852           add a test that does a bunch of state changes on elements
24853           needs some fixing for valgrind
24854         * check/states/sinks.c: (gst_object_suite):
24855           whitespace
24856         * gst/gstcaps.h:
24857           add prototype for gst_caps_is_equal_fixed
24858         * gst/gstplugin.c:
24859         * gst/gstregistrypool.c:
24860           doc fixes
24861
24862 2005-08-24  Andy Wingo  <wingo@pobox.com>
24863
24864         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24865         convert a negative value. Doesn't make much sense. Mostly this is
24866         here to force callers to ensure -1 maps to -1.
24867
24868 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24869
24870         * docs/pwg/advanced-types.xml:
24871           Well done to Michael for catching my deliberate introduction
24872           of this spelling mistake. 
24873         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24874         * gst/gstelement.h:
24875           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24876           unlink pads before removing the element from the bin.
24877
24878 2005-08-24  Andy Wingo  <wingo@pobox.com>
24879
24880         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24881         the same thing as GST_DEBUG=*:4.
24882         (parse_debug_level, parse_debug_category): New helper parsers.
24883
24884 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24885
24886         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24887         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24888         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24889         (gst_base_transform_buffer_alloc),
24890         (gst_base_transform_handle_buffer):
24891           use gboolean return values and pointers to size so we can use the
24892           full GST_BUFFER_SIZE range (guint) for buffer sizes
24893           use GstPadDirection for transform_caps
24894         * gst/base/gstbasetransform.h:
24895           rename get_size to get_unit_size since that's what it is
24896         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24897           use GstPadDirection for transform_caps
24898         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24899         * gst/gstutils.h:
24900           cleanup and debugging
24901
24902 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24903
24904         * gst/gstelement.c: (gst_element_class_init),
24905         (gst_element_set_state), (activate_pads),
24906         (gst_element_save_thyself):
24907         * tools/gst-compprep.c: (main):
24908         * tools/gst-inspect.c: (print_element_properties_info):
24909         * tools/gst-xmlinspect.c: (print_element_properties):
24910           Fixed long standing mem-leak
24911
24912 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24913
24914         * check/gst/gstbin.c: (GST_START_TEST):
24915         * gst/gstbin.c: (bin_bus_handler):
24916         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24917         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24918         (gst_message_new_warning), (gst_message_new_tag),
24919         (gst_message_new_state_changed), (gst_message_new_segment_start),
24920         (gst_message_new_segment_done), (gst_message_new_custom):
24921         * gst/gstmessage.h:
24922         * tools/gst-launch.c: (event_loop):
24923         * tools/gst-md5sum.c: (event_loop):
24924           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24925           that applications can sensibly post custom messages with references
24926           to their own objects.
24927
24928 2005-08-24  Andy Wingo  <wingo@pobox.com>
24929
24930         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24931         already.
24932
24933 2005-08-24  Wim Taymans  <wim@fluendo.com>
24934
24935         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24936         (gst_base_transform_transform_caps),
24937         (gst_base_transform_transform_size),
24938         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24939         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24940         (gst_base_transform_handle_buffer):
24941         * gst/base/gstbasetransform.h:
24942         Many fixes and new features added by Thomas. Can now also do
24943         transforms with variable sizes and a custom fixate_caps function.
24944
24945 2005-08-24  Wim Taymans  <wim@fluendo.com>
24946
24947         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24948         Some debugging.
24949
24950         * gst/gstclock.h:
24951         Cast to ClockTime before formatting to time.
24952
24953         * gst/gstutils.h:
24954         Cleanups.
24955
24956 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24957
24958         * check/gst-libs/controller.c: (GST_START_TEST),
24959         (gst_controller_suite):
24960         * docs/gst/tmpl/gstcaps.sgml:
24961         * docs/gst/tmpl/gstghostpad.sgml:
24962         * docs/gst/tmpl/gstquery.sgml:
24963         * docs/gst/tmpl/gstutils.sgml:
24964         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24965         (gst_object_sink_values), (gst_object_get_value_arrays),
24966         (gst_object_get_value_array):
24967           gracefully handle helper method calls to objects that are not beeing
24968           controlled, added test case for that          
24969
24970 2005-08-23  Wim Taymans  <wim@fluendo.com>
24971
24972         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24973         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24974         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24975         (gst_event_parse_qos), (gst_event_new_seek),
24976         (gst_event_parse_seek):
24977         * gst/gstevent.h:
24978         Some more debugging output and doc cleanups.
24979
24980         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24981         Fix possible deadlock.
24982
24983 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24984
24985         * docs/gst/gstreamer-docs.sgml:
24986         * docs/gst/gstreamer-sections.txt:
24987         * docs/gst/gstreamer.types:
24988         * docs/gst/tmpl/.cvsignore:
24989         * gst/gstbin.h:
24990         * gst/gstbus.c:
24991         * gst/gstelement.c:
24992         * gst/gstevent.h:
24993           added 100 symbols from gstreamer-unused.txt to the right sections
24994           fixed more broken comments
24995           added GstBus to docs
24996
24997 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24998
24999         * docs/gst/gstreamer-sections.txt:
25000         * docs/gst/tmpl/.cvsignore:
25001         * docs/gst/tmpl/gstbin.sgml:
25002         * docs/gst/tmpl/gstbuffer.sgml:
25003         * gst/base/gstbasesrc.c:
25004         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
25005         * gst/gstbuffer.c:
25006         * gst/gstbuffer.h:
25007         * tools/gst-launch.1.in:
25008           inlined more doc comments, added missing comments and fixed comments
25009           fixed typos
25010
25011 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
25012
25013         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25014           some debugging
25015         * gst/gstcaps.h:
25016           whitespace fixes
25017         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
25018           more debugging
25019         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
25020         * gst/gststructure.h:
25021           add a fixate function for booleans; add a FIXME that these func
25022           names should probably be gst_structure_fixate_*
25023
25024 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
25025
25026         * docs/gst/gstreamer-docs.sgml:
25027         * docs/gst/gstreamer-sections.txt:
25028         * gst/Makefile.am:
25029         * gst/gstbin.c: (gst_bin_get_type),
25030         (gst_bin_child_proxy_get_child_by_index),
25031         (gst_bin_child_proxy_get_children_count),
25032         (gst_bin_child_proxy_init):
25033         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
25034         (gst_child_proxy_get_child_by_index),
25035         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
25036         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
25037         (gst_child_proxy_get), (gst_child_proxy_set_property),
25038         (gst_child_proxy_set_valist), (gst_child_proxy_set),
25039         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
25040         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
25041         * gst/gstchildproxy.h:
25042         * gst/parse/grammar.y:
25043         * tools/gst-inspect.c: (print_interfaces),
25044         (print_element_properties_info), (print_element_info):
25045           ported gstchildproxy over from 0.8
25046           ported gst-inspect fixes and enhancements over from 0.8
25047
25048 2005-08-22  Wim Taymans  <wim@fluendo.com>
25049
25050         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25051         (gst_base_transform_handle_buffer):
25052         Also call the transform function if we have ANY caps.
25053
25054         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
25055         Fix debug info.
25056
25057 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
25058
25059         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
25060           Don't pretend to handle seek events if the source is not seekable
25061
25062 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
25063
25064         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25065           Remove extra parameter to debug output
25066
25067         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25068         (gst_base_src_do_seek), (gst_base_src_activate_push):
25069           Fix seek event handling.
25070
25071         * gst/gstpipeline.c: (gst_pipeline_change_state):
25072         * gst/gstqueue.c: (gst_queue_handle_sink_event),
25073         (gst_queue_src_activate_push):
25074           Don't start the src pad task on FLUSH_STOP if the pad
25075           isn't linked.
25076           Debug changes.
25077
25078 2005-08-22  Wim Taymans  <wim@fluendo.com>
25079
25080         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
25081         Added check for gst_static_caps_get() refcounting.
25082
25083 2005-08-22  Wim Taymans  <wim@fluendo.com>
25084
25085         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
25086         Make _static_caps_get() refcounting sane.
25087         
25088         * gst/gstelement.c: (gst_element_set_state):
25089         Add g_return_val_if_fail() to protect against segfaults.
25090
25091 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
25092
25093         * docs/gst/tmpl/gstevent.sgml:
25094         * gst/gstevent.c:
25095         * gst/gstevent.h:
25096           inlined remaining docs, added missing doc comments
25097
25098 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25099
25100         * check/gst/gstbin.c: (GST_START_TEST):
25101           since we don't know when preroll is done, use refcount range
25102           check for the sink
25103         * gst/check/gstcheck.h:
25104           add macro for checking refcount range
25105
25106 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25107
25108         * check/Makefile.am:
25109           clean up environment for when registry gets built versus
25110           when actual tests are run; valgrind seems to not report
25111           leaks if GST_PLUGIN_PATH is set to some specific values
25112         * check/gst/gstbin.c: (GST_START_TEST):
25113           add more refcounting checks; maybe this exposes a
25114           preroll lock bug ?
25115         * common/check.mak:
25116         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25117         * gst/check/gstcheck.h:
25118         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
25119         (gst_bin_change_state):
25120         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
25121           add/fix debugging/whitespace
25122
25123 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
25124
25125         * check/gst/gstevent.c: (event_probe), (test_event),
25126         (GST_START_TEST):
25127          Er, don't call gst_bin_watch_for_state_change you idiot.
25128
25129 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
25130
25131         * check/Makefile.am:
25132           Use CHECK_CFLAGS and CHECK_LIBS
25133         * check/gst/gstevent.c: (event_probe), (test_event),
25134         (GST_START_TEST):
25135           Don't leak events.
25136         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25137         (gst_base_src_start), (gst_base_src_stop),
25138         (gst_base_src_activate_push), (gst_base_src_activate_pull),
25139         (gst_base_src_change_state):
25140           Sprinkle gst_base_src_stop liberally around error paths to fix
25141           problems reusing a source after failed state changes.
25142         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25143         (helper_find_suggest), (gst_type_find_helper):
25144           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
25145         * gst/gstevent.h:
25146         * docs/gst/tmpl/gstevent.sgml:
25147           Migrate part of the docs from the SGML file. Wait for ensonic to
25148           tell me how I did it wrong ;)
25149         * tools/gst-typefind.c: (main):
25150           Extra robustness to state changes between files.
25151
25152 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25153
25154         * check/Makefile.am:
25155           don't valgrind the controller test - it's leaking - Stefan, HELP
25156         * gst/check/gstcheck.c: (gst_check_message_error),
25157         (gst_check_chain_func), (gst_check_setup_element),
25158         (gst_check_teardown_element), (gst_check_setup_src_pad),
25159         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
25160         (gst_check_teardown_sink_pad):
25161         * gst/check/gstcheck.h:
25162           add a bunch of methods to set up elements, and src and sink pads
25163         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
25164         * check/elements/identity.c: (setup_identity), (cleanup_identity),
25165         (GST_START_TEST):
25166           use them
25167         * gst/gstmessage.c:
25168         * gst/gsttag.h:
25169           whitespace/doc fixes
25170
25171 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25172
25173         * gst/gstelement.h:
25174           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
25175           be handled by the application and not always printed as well
25176
25177 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25178
25179         * check/Makefile.am:
25180           set GST_TOOLS_DIR
25181         * gst/check/gstcheck.c: (gst_check_message_error):
25182         * gst/check/gstcheck.h:
25183           add a fail_unless_equals_int
25184           add fail_unless for error messages
25185
25186 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25187
25188         * check/Makefile.am:
25189         * check/gst.supp:
25190         * common/Makefile.am:
25191         * common/check.mak:
25192         * common/gst.supp:
25193           factor out some of the common stuff so we can use it
25194
25195 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25196
25197         * check/Makefile.am:
25198         * check/gst/gstiterator.c: (GST_START_TEST):
25199         * check/gst/gstsystemclock.c: (GST_START_TEST),
25200         (gst_systemclock_suite):
25201         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25202         * gst/gstclock.c:
25203           valgrind more tests
25204
25205 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25206
25207         * check/elements/.cvsignore:
25208         * check/elements/gstfakesrc.c:
25209           rename to name of element
25210         * check/elements/identity.c: (chain_func), (event_func),
25211         (setup_identity), (cleanup_identity), (GST_START_TEST),
25212         (identity_suite), (main):
25213           add a test for identity
25214         * check/Makefile.am:
25215         * pkgconfig/Makefile.am:
25216         * pkgconfig/gstreamer-check.pc.in:
25217         * pkgconfig/gstreamer-check-uninstalled.pc.in:
25218         * gst/check:
25219         * gst/Makefile.am:
25220         * configure.ac:
25221           move the check stuff to a library that gets installed
25222         * check/gst-libs/controller.c: (GST_START_TEST):
25223         * check/gst-libs/gdp.c:
25224         * check/gst/gst.c: (GST_START_TEST):
25225         * check/gst/gstbin.c:
25226         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25227         * check/gst/gstbus.c:
25228         * check/gst/gstcaps.c: (GST_START_TEST):
25229         * check/gst/gstelement.c:
25230         * check/gst/gstghostpad.c:
25231         * check/gst/gstiterator.c:
25232         * check/gst/gstmessage.c:
25233         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
25234         * check/gst/gstobject.c:
25235         * check/gst/gstpad.c: (GST_START_TEST):
25236         * check/gst/gststructure.c: (GST_START_TEST):
25237         * check/gst/gstsystemclock.c: (GST_START_TEST),
25238         (gst_systemclock_suite):
25239         * check/gst/gsttag.c: (gst_tag_suite):
25240         * check/gst/gstvalue.c:
25241         * check/pipelines/cleanup.c:
25242         * check/pipelines/simple_launch_lines.c:
25243         * check/states/sinks.c:
25244           change include statement
25245
25246         * docs/gst/gstreamer-sections.txt:
25247         * docs/gst/tmpl/gstpad.sgml:
25248           document more pad stuff
25249         * gst/gstminiobject.c: (gst_mini_object_ref),
25250         (gst_mini_object_unref):
25251           debug refcounting
25252
25253 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
25254
25255         * docs/gst/tmpl/gst.sgml:
25256         * gst/gst.c:
25257           eliminate another tmpl file, fix spelling in the long-description
25258
25259 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25260
25261         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25262         (test_event), (timediff), (gstevents_suite):
25263           Should fix build on 64-bit arch's
25264
25265 2005-08-18  Andy Wingo  <wingo@pobox.com>
25266
25267         Make sure that when a pipeline goes to PLAYING, that data has
25268         actually hit the sink.
25269
25270         * check/states/sinks.c (test_sink): A sink that doesn't get any
25271         data shouldn't return SUCCESS for going to either PLAYING or
25272         PAUSED. Test also the return values on the way back down.
25273
25274         * gst/gstelement.c (gst_element_set_state): When changing the
25275         state of an element currently changing state asynchronously, go to
25276         lost-state after commiting the pending state. Makes future calls
25277         to get_state continue to return ASYNC.
25278
25279         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25280         ASYNC when going to PLAYING if we still don't have preroll, as can
25281         happen with live sources.
25282
25283 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25284
25285         * docs/pwg/advanced-types.xml:
25286           Hack long paragraph into 2 chunks as a workaround for buggy
25287           jadetex version in sid and breezy that loops infinitely and
25288           eats all RAM.
25289
25290 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25291
25292         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25293         (test_event), (timediff), (gstevents_suite):
25294           Provide more error margin in clock measurements to allow for 
25295           g_get_current_time inaccuracies.
25296
25297 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25298
25299         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25300         (test_event), (timediff), (gstevents_suite):
25301            Fix error message output so I might be able to tell why the
25302            test works here but fails on the build farm.
25303
25304 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25305
25306         * check/Makefile.am:
25307         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25308         (test_event), (timediff), (gstevents_suite), (main):
25309           I wrote a test!
25310
25311         * docs/design/part-seeking.txt:
25312           Spelling correction
25313
25314         * docs/gst/tmpl/gstevent.sgml:
25315         * docs/gst/tmpl/gstfakesrc.sgml:
25316           Docs updates.
25317
25318         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25319           Treat a buffer-without-newsegment the same as a receiving 
25320           a newsegment not in time format, and disable syncing to the clock
25321           with a warning.
25322
25323         * gst/gstbus.c: (gst_bus_set_sync_handler):
25324           Assert if anyone tries to replace the existing sync_handler for bus, 
25325           as only the owner should be setting it.
25326
25327         * gst/gstevent.h:
25328           Have a fixed set of custom event enums with events identified by
25329           their structure name (as in 0.8), rather than a free-for-all
25330           allowing collisions between enum values from different plugins.
25331
25332         * gst/gstpad.c: (gst_pad_class_init):
25333           Docs change.
25334           
25335         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25336           Handle out-of-band downstream events from the sending thread.
25337
25338 2005-08-17  Andy Wingo  <wingo@pobox.com>
25339
25340         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25341         play-timeout==0 to mean no timeout at all. In that case, don't
25342         bother with a get_state or a warning, just return directly, even
25343         if it's ASYNC.
25344
25345         * gst/base/gstbasetransform.c: Debug changes.
25346
25347         * gst/gstutils.h:
25348         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25349         ensure bins post state change messages. A bit of a hack but I can't
25350         think of a way to avoid it.
25351
25352         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25353
25354 2005-08-16  Andy Wingo  <wingo@pobox.com>
25355
25356         * gst/base/gstadapter.h:
25357         * gst/base/gstadapter.c (gst_adapter_take): New function, like
25358         peek() but you own the data. Not terribly efficient atm.
25359
25360 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25361
25362         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25363         (gst_element_found_tags):
25364         * gst/gstutils.h:
25365           Add two utility functions for tag handling.
25366
25367 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25368
25369         * docs/manual/advanced-dataaccess.xml:
25370         * docs/manual/basics-helloworld.xml:
25371           Fix docs to use _bin_add() before _link(), which fixes the examples
25372           with recent core versions (reported by Madhan Raj M
25373           <raj_madan@rediffmail.com>, #313199).
25374
25375 2005-08-16  Wim Taymans  <wim@fluendo.com>
25376
25377         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25378         Added subtract checks.
25379
25380         * docs/design/part-events.txt:
25381         Some more docs about newsegment
25382
25383         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25384         Fix FIXME
25385
25386         * gst/gstcaps.c: (gst_caps_to_string):
25387         Add comments, cleanups.
25388         
25389         * gst/gstelement.c: (gst_element_save_thyself):
25390         cleanups
25391         
25392         * gst/gstvalue.c: (gst_value_collect_int_range),
25393         (gst_string_unwrap), (gst_value_union_int_int_range),
25394         (gst_value_union_int_range_int_range),
25395         (gst_value_intersect_int_int_range),
25396         (gst_value_intersect_int_range_int_range),
25397         (gst_value_intersect_double_double_range),
25398         (gst_value_intersect_double_range_double_range),
25399         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25400         (gst_value_subtract_int_range_int),
25401         (gst_value_subtract_double_range_double),
25402         (gst_value_subtract_double_range_double_range),
25403         (gst_value_subtract_from_list), (gst_value_subtract_list),
25404         (gst_value_can_compare), (gst_value_compare_fraction):
25405         Cleanups, add comments, remove unneeded asserts.
25406
25407 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25408
25409         * tools/gst-launch.c: (event_loop):
25410           don't convert NULL structures to strings
25411
25412 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
25413
25414         * docs/gst/gstreamer-sections.txt:
25415           made some defines private
25416         * docs/gst/tmpl/gstconfig.sgml:
25417         * docs/gst/tmpl/gstqueue.sgml:
25418         * docs/gst/tmpl/gsttaglist.sgml:
25419         * docs/gst/tmpl/gsttypes.sgml:
25420         * docs/gst/tmpl/gstutils.sgml:
25421         * docs/pwg/appendix-porting.xml:
25422         * gst/base/gstbasesink.h:
25423         * gst/base/gstbasesrc.c:
25424         * gst/base/gstbasesrc.h:
25425         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25426         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25427         * gst/gstelement.c: (gst_element_class_init):
25428         * gst/gstpad.c: (gst_pad_class_init):
25429         * gst/gstqueue.c: (gst_queue_class_init):
25430         * gst/gstxml.c: (gst_xml_class_init):
25431           documented all undocumented signal inline
25432         * libs/gst/controller/gst-controller.h:
25433           added padding
25434
25435 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25436
25437         * docs/pwg/appendix-porting.xml:
25438           Document _set_link_function -> _set_setcaps_function.
25439
25440 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25441
25442         * check/Makefile.am:
25443           add a .check target for running the check
25444         * check/gst-libs/controller.c: (GST_START_TEST):
25445           cosmetic fixups
25446         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25447           complete checks for gstbuffer; would be nice if I could get the
25448           gcov stuff to work so I can see if I actually completed gstbuffer.c
25449         * check/gstcheck.h:
25450           add ASSERT_BUFFER_REFCOUNT
25451
25452 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
25453
25454         * docs/gst/gstreamer-sections.txt:
25455         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25456         * gst/gsttag.h:
25457           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25458           spew out a warning if a tag that is already registered
25459           is re-registered, unless it is re-registered with a 
25460           different type (#308438).
25461
25462 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
25463
25464         * docs/pwg/appendix-porting.xml:
25465         * docs/pwg/building-state.xml:
25466           Add some paragraphs about state changes in 0.9 to the PWG
25467           and the porting guide, in particular about the new meaning
25468           of GST_STATE_PAUSED and how to write state change functions
25469           with concurrent access by multiple threads in mind.
25470
25471 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
25472
25473         * docs/gst/gstreamer-docs.sgml:
25474         * docs/libs/gstreamer-libs-docs.sgml:
25475           added deprecation and since indexes
25476         * libs/gst/controller/gst-controller.c:
25477         * libs/gst/controller/gst-helper.c:
25478           added since tags
25479
25480
25481 2005-08-11  Wim Taymans  <wim@fluendo.com>
25482
25483         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25484         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25485         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25486         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25487         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25488         (gst_ghost_pad_set_target):
25489         Actually implement (re)setting the target on a ghostpad
25490         as described in the docs.
25491
25492 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25493
25494         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25495           Check whether GST_DEBUG_NO_COLOR environment variable is
25496           set and disable coloured debug output if that is the case.
25497
25498 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25499
25500         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25501         (gst_type_find_helper):
25502           The memory returned by gst_type_find_peek() needs to
25503           stay valid until the end of a typefind function, and
25504           typefind functions may keep results from different 
25505           offsets around, so we can't just unref the buffer from
25506           the previous _peek(), but have to save all buffers 
25507           returned by _peek() until typefinding is done and only
25508           free them then.
25509
25510 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
25511
25512         * docs/gst/gstreamer-sections.txt:
25513         * gst/gstutils.h:
25514           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25515
25516 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25517
25518         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25519           Fix a pretty good memleak.
25520
25521 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25522
25523         * gst/gstiterator.h:
25524           Fix wrong include and 'make distcheck'.
25525
25526 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25527
25528         * gst/gstbin.c: (bin_bus_handler):
25529           Use gst_element_post_message() instead.
25530
25531 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25532
25533         * gst/base/gstadapter.h:
25534         * gst/base/gstbasesink.h:
25535         * gst/base/gstbasesrc.h:
25536         * gst/base/gstbasetransform.h:
25537         * gst/base/gstcollectpads.h:
25538         * gst/base/gstpushsrc.h:
25539         * gst/gstiterator.h:
25540           Add padding to our base elements' class and instance structs and
25541           to GstIterator (you will need to rebuild all plugins and apps!)
25542
25543 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25544
25545         * gst/gstbin.c: (bin_bus_handler):
25546           Make default message forwarding from child->bus to bin->bus
25547           threadsafe and make it not emit warnings if the parent has no bus.
25548
25549 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25550
25551         * gst/gstelement.c: (activate_pads):
25552           On paused->ready, set pad->caps to NULL, as is the documented
25553           behaviour in this state change. Fixes playback of series of
25554           media files when visualization is enabled in Totem.
25555
25556 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25557
25558         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25559           Allow NULL as filter-caps (which means "any").
25560
25561 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25562
25563         * docs/libs/gstreamer-libs-sections.txt:
25564         * libs/gst/controller/gst-controller.c:
25565         * libs/gst/controller/gst-controller.h:
25566         * libs/gst/controller/gst-helper.c:
25567           adding more entries to the docs and fix small doc-bugs
25568
25569 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25570
25571         * docs/gst/gstreamer-docs.sgml:
25572         * docs/gst/gstreamer-sections.txt:
25573         * docs/gst/gstreamer.types:
25574         * docs/gst/tmpl/gstbasesink.sgml:
25575         * docs/gst/tmpl/gstbasesrc.sgml:
25576         * docs/gst/tmpl/gstbasetransform.sgml:
25577         * docs/gst/tmpl/gstfakesrc.sgml:
25578         * gst/base/gstcollectpads.c:
25579         * gst/base/gstcollectpads.h:
25580         * libs/gst/controller/gst-controller.c:
25581         * libs/gst/controller/gst-controller.h:
25582         * libs/gst/controller/gst-helper.c:
25583         * libs/gst/controller/gst-interpolation.c:
25584         * libs/gst/controller/lib.c:
25585           added long/short desc for controller docs
25586           added collectpads base class docs
25587           added correct includes to base-class docs
25588
25589 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25590
25591         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25592         (gst_test_mono_source_set_property),
25593         (gst_test_mono_source_class_init), (GST_START_TEST),
25594         (gst_controller_suite):
25595         * docs/gst/gstreamer-docs.sgml:
25596         * docs/gst/gstreamer-sections.txt:
25597         * docs/gst/gstreamer.types:
25598         * docs/libs/gstreamer-libs-docs.sgml:
25599         * docs/libs/gstreamer-libs-sections.txt:
25600         * gst/base/gstadapter.c:
25601         * libs/gst/controller/gst-controller.c:
25602         (gst_controlled_property_new), (gst_controlled_property_free),
25603         (gst_controller_new_valist),
25604         (gst_controller_remove_properties_valist),
25605         (gst_controller_sink_values), (_gst_controller_finalize):
25606         * libs/gst/controller/gst-controller.h:
25607         * libs/gst/controller/gst-helper.c:
25608         (gst_object_control_properties), (gst_object_uncontrol_properties),
25609         (gst_object_get_controller), (gst_object_set_controller),
25610         (gst_object_sink_values), (gst_object_get_value_arrays),
25611         (gst_object_get_value_array):
25612           more tests (and fixes) for the controller
25613           more docs for the controller
25614           integrated companies docs for the adapter 
25615
25616 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25617
25618         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25619         (GST_START_TEST), (fakesrc_suite):
25620           add tests for sizetype
25621
25622 2005-08-04  Andy Wingo  <wingo@pobox.com>
25623
25624         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25625         fixes buffer_alloc proxying among other things.
25626
25627         * gst/base/gstbasetransform.c:
25628         * gst/base/gstbasetransform.h:
25629         Revert patch to gstbasetransform from 7-28 removing
25630         delay_configure.
25631
25632         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25633         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25634         Semantics changed, should return not the size of the output buffer
25635         but the byte size of a buffer with a given caps.
25636
25637         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25638         debug object.
25639         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25640         out) are not the pad caps until setcaps finishes.
25641         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25642         not-in-place case as well. Deal with changing from in-place to
25643         not-in-place within calling pad_alloc_buffer. Still a bit
25644         concerned about the overhead here...
25645
25646 2005-08-03  Andy Wingo  <wingo@pobox.com>
25647
25648         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25649         fixating is an error.
25650
25651 2005-08-04  Edward Hervey  <edward@fluendo.com>
25652
25653         * gst/base/gstadapter.h: 
25654         Added gst_adapter_get_type() to the header
25655
25656 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25657
25658         * check/Makefile.am:
25659         * check/gst-libs/controller.c:
25660         * libs/gst/controller/gst-controller.c:
25661         (gst_controller_new_valist):
25662           added check test suite for the controller
25663         * gst/base/gstpushsrc.c:
25664           fixed a doc typo
25665
25666 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25667
25668         * docs/gst/Makefile.am:
25669         * docs/gst/gstreamer-docs.sgml:
25670         * docs/gst/gstreamer-sections.txt:
25671         * docs/gst/gstreamer.types:
25672         * docs/gst/tmpl/gstfakesrc.sgml:
25673         * gst/base/README:
25674         * gst/base/gstbasesink.c:
25675         * gst/base/gstbasesink.h:
25676         * gst/base/gstbasesrc.c:
25677         * gst/base/gstbasesrc.h:
25678         * gst/base/gstbasetransform.c:
25679         * gst/base/gstpushsrc.c:
25680         * gst/base/gstpushsrc.h:
25681           add short/long description docs to base classes
25682           add pushsrc to the docs
25683           remove consolidated doc fragments
25684
25685 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25686
25687         * configure.ac:
25688         * docs/libs/Makefile.am:
25689         * docs/libs/gstreamer-libs-docs.sgml:
25690         * docs/libs/gstreamer-libs-sections.txt:
25691         * docs/libs/gstreamer-libs.types:
25692         * examples/Makefile.am:
25693         * examples/controller/.cvsignore:
25694         * examples/controller/Makefile.am:
25695         * examples/controller/audio-example.c: (main):
25696         * libs/gst/Makefile.am:
25697         * libs/gst/controller/.cvsignore:
25698         * libs/gst/controller/Makefile.am:
25699         * libs/gst/controller/gst-controller.c:
25700         (on_object_controlled_property_changed), (gst_timed_value_compare),
25701         (gst_timed_value_find),
25702         (gst_controlled_property_set_interpolation_mode),
25703         (gst_controlled_property_new), (gst_controlled_property_free),
25704         (gst_controller_find_controlled_property),
25705         (gst_controller_new_valist), (gst_controller_new),
25706         (gst_controller_remove_properties_valist),
25707         (gst_controller_remove_properties), (gst_controller_set),
25708         (gst_controller_set_from_list), (gst_controller_unset),
25709         (gst_controller_get), (gst_controller_get_all),
25710         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25711         (gst_controller_get_value_array),
25712         (gst_controller_set_interpolation_mode),
25713         (_gst_controller_finalize), (_gst_controller_init),
25714         (_gst_controller_class_init), (gst_controller_get_type):
25715         * libs/gst/controller/gst-controller.h:
25716         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25717         (g_object_uncontrol_properties), (g_object_get_controller),
25718         (g_object_set_controller), (g_object_sink_values),
25719         (g_object_get_value_arrays), (g_object_get_value_array):
25720         * libs/gst/controller/gst-interpolation.c:
25721         (gst_controlled_property_find_timed_value_node),
25722         (interpolate_none_get), (interpolate_trigger_get),
25723         (interpolate_trigger_get_value_array):
25724         * libs/gst/controller/lib.c: (gst_controller_init):
25725         * pkgconfig/Makefile.am:
25726         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25727         * pkgconfig/gstreamer-control.pc.in:
25728         * testsuite/Makefile.am:
25729         * testsuite/controller/.cvsignore:
25730         * testsuite/controller/Makefile.am:
25731         * testsuite/controller/interpolator.c: (main):
25732           added controller code
25733           removed dparam pc files
25734
25735 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25736         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25737         (gst_collectpads_stop):
25738           Broadcast the condition when shutting down, to make sure we wake all
25739           threads up. Shut down pads on finalize, for safety.
25740
25741 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25742         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25743         (gst_base_transform_handle_buffer),
25744         (gst_base_transform_change_state):
25745           Handle PAUSED->READY->PAUSED transition after negotiation
25746           occurred already.
25747         * gst/gstmessage.c: (gst_message_init):
25748           Extra piece of debug for new messages.
25749
25750 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25751
25752         * configure.ac:
25753         * docs/gst/tmpl/gstbasesrc.sgml:
25754         * docs/gst/tmpl/gstelement.sgml:
25755         * docs/gst/tmpl/gstevent.sgml:
25756         * docs/gst/tmpl/gstfakesrc.sgml:
25757         * docs/gst/tmpl/gstformat.sgml:
25758         * docs/gst/tmpl/gstghostpad.sgml:
25759         * docs/gst/tmpl/gstpad.sgml:
25760         * docs/gst/tmpl/gstquery.sgml:
25761         * docs/gst/tmpl/gststructure.sgml:
25762         * docs/gst/tmpl/gsttaglist.sgml:
25763         * docs/gst/tmpl/gstvalue.sgml:
25764         * docs/libs/gstreamer-libs-docs.sgml:
25765         * docs/libs/gstreamer-libs-sections.txt:
25766         * docs/libs/gstreamer-libs.types:
25767         * libs/gst/Makefile.am:
25768         * libs/gst/control/.cvsignore:
25769         * libs/gst/control/Makefile.am:
25770         * libs/gst/control/control.c:
25771         * libs/gst/control/control.h:
25772         * libs/gst/control/dparam.c:
25773         * libs/gst/control/dparam.h:
25774         * libs/gst/control/dparam_smooth.c:
25775         * libs/gst/control/dparam_smooth.h:
25776         * libs/gst/control/dparamcommon.h:
25777         * libs/gst/control/dparammanager.c:
25778         * libs/gst/control/dparammanager.h:
25779         * libs/gst/control/dplinearinterp.c:
25780         * libs/gst/control/dplinearinterp.h:
25781         * libs/gst/control/unitconvert.c:
25782         * libs/gst/control/unitconvert.h:
25783         * testsuite/Makefile.am:
25784         * testsuite/dynparams/.cvsignore:
25785         * testsuite/dynparams/Makefile.am:
25786         * testsuite/dynparams/dparamstest.c:
25787         * tools/Makefile.am:
25788         * tools/gst-inspect.c: (print_element_info), (main):
25789         * tools/gst-xmlinspect.c: (print_element_info), (main):
25790           deactivate and remove dparams (libgstcontrol)
25791
25792 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25793
25794         * gst/elements/gsttypefindelement.c:
25795         (gst_type_find_element_have_type), (gst_type_find_element_init),
25796         (stop_typefinding), (gst_type_find_element_handle_event),
25797         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25798         * gst/elements/gsttypefindelement.h:
25799           Set caps on all outgoing buffers, not just the first one.
25800
25801 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25802
25803         * gst/elements/gsttypefindelement.c:
25804         (gst_type_find_element_have_type),
25805         (gst_type_find_element_check_set_buffer_caps),
25806         (gst_type_find_element_init), (stop_typefinding),
25807         (gst_type_find_element_handle_event),
25808         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25809         * gst/elements/gsttypefindelement.h:
25810           Set caps on first outgoing buffer when we've found the type.
25811
25812 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25813
25814         * docs/gst/gstreamer-docs.sgml:
25815         * docs/gst/gstreamer-sections.txt:
25816         * docs/gst/tmpl/gstscheduler.sgml:
25817         * docs/gst/tmpl/gstschedulerfactory.sgml:
25818           Remove some old cruft from docs.
25819
25820 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25821
25822         * gst/gstpad.h:
25823           Fix inline docs for GstPadLinkReturn.
25824           
25825         * gst/gststructure.c: (gst_structure_has_name):
25826         * gst/gststructure.h:
25827         * docs/gst/gstreamer-sections.txt:
25828           New API: gst_structure_has_name().
25829
25830 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25831
25832         * configure.ac:
25833           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25834           and _LARGEFILE_SOURCE in config.h as required. Do not 
25835           export those flags in our .pc files any longer (#142209).
25836
25837           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25838
25839         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25840         (gst_file_sink_do_seek), (gst_file_sink_event),
25841         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25842           Redo seek/tell calls with large file support in mind; add some
25843           debugging messages; add log message that tells us when large
25844           file support is unavailable or not enabled for some reason.
25845
25846         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25847           Add log message that tells us when large file support 
25848           is unavailable or not enabled for some reason.
25849
25850 2005-07-29  Wim Taymans  <wim@fluendo.com>
25851
25852         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25853         Added test for removing an element with ghostpad from a bin.
25854         Fixed test as current implementation does the right thing.
25855
25856         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25857         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25858         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25859         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25860         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25861         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25862         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25863         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25864         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25865         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25866         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25867         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25868         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25869         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25870         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25871         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25872         * gst/gstghostpad.h:
25873         Clean up ghostpads, remove properties for internal stuff.
25874         Make threadsafe.
25875         Fix refcounting.
25876         Prepare for switching targets, not all use cases work yet.
25877
25878 2005-07-29  Wim Taymans  <wim@fluendo.com>
25879
25880         * docs/design/part-gstghostpad.txt:
25881         Small update.
25882
25883         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25884         (gst_bin_remove_func):
25885         Unlinking pads while holding the bin LOCK is not a good
25886         idea.
25887
25888         * gst/gstpad.c: (gst_pad_class_init),
25889         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25890         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25891         No prob setting template after creating the pad.
25892
25893 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25894
25895         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25896         (gst_bus_peek), (gst_bus_source_dispatch),
25897         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25898         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25899           gst_bus_poll may be called from other threads. Handle
25900           this nicely by not making poll_data disappear off the
25901           stack once gst_bus_poll returns.
25902           gst_bus_peek now increments the refcount on the returned
25903           message.
25904
25905 2005-07-29  Wim Taymans  <wim@fluendo.com>
25906
25907         * docs/design/part-gstghostpad.txt:
25908         Overview of current GhostPad datastructures and use
25909         cases for changing the target.
25910
25911 2005-07-28  Wim Taymans  <wim@fluendo.com>
25912
25913         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25914         Added checks for hierarchy consistency whan adding linked
25915         elements to bins.
25916
25917         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25918         Added check to test element scheduling without bin/pipeline.
25919
25920         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25921         First add elements to bin, then link.
25922         
25923         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25924         (gst_bin_remove_func):
25925         Unlink pads from elements added/removed from bin to maintain
25926         hierarchy consistency.
25927
25928 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25929
25930         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25931         (gst_base_transform_handle_buffer):
25932         * gst/base/gstbasetransform.h:
25933           Remove broken delay_configure (fixes renegotiation of software
25934           scaling pipelines); remove some leftover printf()s.
25935
25936 2005-07-28  Wim Taymans  <wim@fluendo.com>
25937
25938         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25939         Added some more tests for wrong hierarchy
25940
25941         * docs/design/part-overview.txt:
25942         Some updates.
25943
25944         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25945         Cleanups.
25946
25947         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25948         (gst_element_dispose):
25949         Some more cleanups.
25950
25951         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25952         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25953         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25954         (gst_pad_set_caps), (gst_pad_send_event):
25955         Check for correct hierarchy when linking pads. Moving to
25956         strict requirement for ghostpads when linking elements in
25957         different bins.
25958
25959         * gst/gstpad.h:
25960         Clean ups. Added WRONG_HIERARCHY return value.
25961
25962 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25963
25964         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25965           Better debug if no transform is possible.
25966
25967 2005-07-27  Wim Taymans  <wim@fluendo.com>
25968
25969         * docs/random/wtay/network-transp:
25970         Some old doc I had.
25971
25972 2005-07-27  Wim Taymans  <wim@fluendo.com>
25973
25974         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25975         (gst_dp_event_from_packet):
25976         Fix serialization of seek events.
25977
25978 2005-07-27  Wim Taymans  <wim@fluendo.com>
25979
25980         * check/gst-libs/gdp.c: (GST_START_TEST):
25981         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25982         Fix compilation and fix event serialization.
25983
25984 2005-07-27  Wim Taymans  <wim@fluendo.com>
25985
25986         * CHANGES-0.9:
25987         * docs/design/part-TODO.txt:
25988         * docs/design/part-events.txt:
25989         Some docs updates
25990
25991         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25992         (gst_base_sink_event), (gst_base_sink_do_sync),
25993         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25994         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25995         (gst_base_src_do_seek), (gst_base_src_event_handler),
25996         (gst_base_src_loop):
25997         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25998         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25999         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26000         (gst_base_transform_event), (gst_base_transform_handle_buffer),
26001         (gst_base_transform_set_passthrough),
26002         (gst_base_transform_is_passthrough):
26003         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
26004         * gst/elements/gstfilesink.c: (gst_file_sink_event):
26005         Event updates.
26006
26007         * gst/gstbuffer.h:
26008         Use faster casts.
26009
26010         * gst/gstelement.c: (gst_element_seek):
26011         * gst/gstelement.h:
26012         Update gst_element_seek.
26013
26014         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
26015         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
26016         (gst_event_new_flush_start), (gst_event_new_flush_stop),
26017         (gst_event_new_eos), (gst_event_new_newsegment),
26018         (gst_event_parse_newsegment), (gst_event_new_tag),
26019         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
26020         (gst_event_parse_qos), (gst_event_new_seek),
26021         (gst_event_parse_seek), (gst_event_new_navigation):
26022         * gst/gstevent.h:
26023         Make GstEvent use GstStructure. Add parsing code, make sure the
26024         API is sufficiently generic.
26025         Mark possible directions of events and serialization.
26026
26027         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
26028         (_gst_message_copy), (gst_message_new_segment_start),
26029         (gst_message_new_segment_done), (gst_message_new_custom),
26030         (gst_message_parse_segment_start),
26031         (gst_message_parse_segment_done):
26032         Small cleanups.
26033
26034         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26035         (gst_pad_set_caps), (gst_pad_send_event):
26036         Update for new events. 
26037         Catch events sent in wrong directions.
26038
26039         * gst/gstqueue.c: (gst_queue_link_src),
26040         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26041         (gst_queue_handle_src_query):
26042         Event updates.
26043
26044         * gst/gsttag.c:
26045         * gst/gsttag.h:
26046         Remove event code from this file.
26047
26048         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26049         (gst_dp_event_from_packet):
26050         Event updates.
26051
26052 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26053
26054         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
26055         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26056         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
26057           Make debugging actually useful.
26058
26059 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26060
26061         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
26062         (gst_pad_fixate_caps):
26063           Implement default fixation once again, so that gst_pad_fixate()
26064           actually does anything at all. This probably needs to be some
26065           sort of a last resort, and use profile-based fixation first, but
26066           since that doesn't exist yet, this is the best we have. Fixes
26067           visualization in Totem.
26068
26069 2005-07-22  Wim Taymans  <wim@fluendo.com>
26070
26071         * docs/design/part-events.txt:
26072         Small update.
26073
26074         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26075         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
26076         (gst_base_sink_activate_pull):
26077         Some more comments.
26078
26079         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
26080         (gst_fake_src_create):
26081         Fix handoff marshall.
26082
26083         * gst/elements/gstidentity.c: (gst_identity_class_init),
26084         (gst_identity_transform_ip):
26085         We're a real inplace element.
26086
26087         * gst/gstbus.c: (gst_bus_post):
26088         Added some comments.
26089
26090         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
26091         * tests/muxing/case1.c: (main):
26092         * tests/sched/dynamic-pipeline.c: (main):
26093         * tests/sched/interrupt1.c: (main):
26094         * tests/sched/interrupt2.c: (main):
26095         * tests/sched/interrupt3.c: (main):
26096         * tests/sched/runxml.c: (main):
26097         * tests/sched/sched-stress.c: (main):
26098         * tests/seeking/seeking1.c: (event_received), (main):
26099         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
26100         (main):
26101         * tests/threadstate/threadstate3.c: (main):
26102         * tests/threadstate/threadstate4.c: (main):
26103         * tests/threadstate/threadstate5.c: (main):
26104         Fix the tests.
26105
26106 2005-07-21  Wim Taymans  <wim@fluendo.com>
26107
26108         * docs/design/part-seeking.txt:
26109         Some small additions.
26110
26111         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26112         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26113         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26114         * gst/base/gstbasesink.h:
26115         discont values are gint64, handle the math correctly.
26116
26117         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26118         Make the basesrc report error if the source pad is not linked.
26119
26120         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
26121         (gst_queue_loop), (gst_queue_handle_src_query),
26122         (gst_queue_src_activate_push):
26123         Make queue collect data even if the srcpad is not linked.
26124         Start pushing out data as soon as it is linked.
26125
26126         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
26127         * gst/gstutils.h:
26128         Added gst_flow_get_name() to ease error reporting.
26129
26130 2005-07-20  Wim Taymans  <wim@fluendo.com>
26131
26132         * gst/gstmessage.c: (gst_message_new_segment_start),
26133         (gst_message_new_segment_done), (gst_message_parse_segment_start),
26134         (gst_message_parse_segment_done):
26135         * gst/gstmessage.h:
26136         Added a bunch of messages for advanced seeking.
26137
26138         * gst/parse/grammar.y:
26139         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
26140         (gst_dpman_state_changed):
26141         Fix some new-pad -> pad-added signals
26142
26143 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26144
26145         * docs/manual/appendix-porting.xml:
26146         * docs/pwg/appendix-porting.xml:
26147           Document new-pad/state-change signal renames and the FixedList
26148           type rename.
26149
26150 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26151
26152         * docs/manual/advanced-autoplugging.xml:
26153         * docs/manual/basics-helloworld.xml:
26154         * docs/manual/basics-pads.xml:
26155         * docs/random/ds/0.9-suggested-changes:
26156         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
26157         * gst/gstelement.h:
26158         * gst/gstevent.h:
26159         * gst/gstformat.h:
26160         * gst/gstquery.h:
26161         * gst/gststructure.c: (gst_structure_value_get_generic_type),
26162         (gst_structure_parse_array), (gst_structure_parse_value):
26163         * gst/gstvalue.c: (gst_type_is_fixed),
26164         (gst_value_list_prepend_value), (gst_value_list_append_value),
26165         (gst_value_list_get_size), (gst_value_list_get_value),
26166         (gst_value_transform_array_string), (gst_value_serialize_array),
26167         (gst_value_deserialize_array), (gst_value_intersect_array),
26168         (gst_value_is_fixed), (_gst_value_initialize):
26169         * gst/gstvalue.h:
26170           GstElement::new-pad -> pad-added, GstElement::state-change ->
26171           state-changed, GstValueFixedList -> GstValueArray, add format and
26172           flags as their own arguments in gst_element_seek() (should improve
26173           "bindeability"), remove function generators since they don't work
26174           under a whole bunch of compilers (they were deprecated already
26175           anyway).
26176
26177 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26178
26179         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
26180         (_gst_debug_register_funcptr):
26181         * gst/gstinfo.h:
26182           Fix illegal cast on some platforms (#309253).
26183
26184 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26185
26186         * gst/gstmessage.c: (gst_message_new_custom):
26187         * gst/gstmessage.h:
26188           Add _new_custom, make _new_application a macro to _new_custom.
26189
26190 2005-07-20  Wim Taymans  <wim@fluendo.com>
26191
26192         * gst/base/gstbasesrc.c: (gst_base_src_init),
26193         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
26194         * gst/base/gstbasesrc.h:
26195         Add a gboolean to decide when to push out a discont.
26196
26197         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26198         (gst_queue_loop), (gst_queue_handle_src_query),
26199         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
26200         (gst_queue_set_property), (gst_queue_get_property):
26201         Some cleanups.
26202
26203         * tests/threadstate/threadstate1.c: (main):
26204         Make a thread test compile and run... very silly..
26205
26206
26207 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26208
26209         * docs/manual/appendix-porting.xml:
26210           Mention removal of libgstgconf-0.9.la and existence of gconf
26211           elements.
26212
26213 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26214
26215         * docs/pwg/advanced-clock.xml:
26216         * docs/pwg/appendix-porting.xml:
26217         * docs/pwg/intro-preface.xml:
26218         * docs/pwg/other-base.xml:
26219         * docs/pwg/other-manager.xml:
26220         * docs/pwg/other-nton.xml:
26221         * docs/pwg/other-ntoone.xml:
26222         * docs/pwg/other-oneton.xml:
26223         * docs/pwg/pwg.xml:
26224           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
26225           demuxer), remove n-to-n (was never written), fix some code examples
26226           and links and update the porting section to include all this.
26227
26228 2005-07-19  Wim Taymans  <wim@fluendo.com>
26229
26230         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
26231         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
26232         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
26233         (gst_queue_src_activate_push), (gst_queue_change_state),
26234         (gst_queue_get_property):
26235         * gst/gstqueue.h:
26236         Propagate GstFlowReturn more intelligently upstream and output
26237         an ERROR/EOS when streaming stopped due to fatal error.
26238
26239 2005-07-19  Wim Taymans  <wim@fluendo.com>
26240
26241         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26242         Don't block forever for the state change to complete, the
26243         pipeline already did with a sensible timeout.
26244
26245 2005-07-19  Wim Taymans  <wim@fluendo.com>
26246
26247         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
26248         Make sure we never call the create function is we
26249         got deactivated.
26250
26251 2005-07-19  Andy Wingo  <wingo@pobox.com>
26252
26253         * gst/parse/parse.l: Attempt to solve bug #172815.
26254
26255 2005-07-19  Wim Taymans  <wim@fluendo.com>
26256
26257         * docs/design/part-clocks.txt:
26258         * docs/design/part-events.txt:
26259         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
26260         Small docs updates.
26261         Only update the seeking values when we are not
26262         busy streaming.
26263
26264 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
26265
26266         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26267           Oops, ignore the result of gst_pad_push_event here.
26268
26269 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
26270
26271         * gst/base/gstbasesrc.c: (gst_base_src_loop),
26272         (gst_base_src_activate_push):
26273           Send discont event from the loop function, as pads
26274           aren't activated yet in the activate_push handler.
26275
26276         * gst/gstbin.c: (bin_bus_handler):
26277           Don't leak element name.
26278
26279 2005-07-18  Andy Wingo  <wingo@pobox.com>
26280
26281         * configure.ac: Use AS_LIBTOOL_TAGS.
26282
26283 2005-07-18  Wim Taymans  <wim@fluendo.com>
26284
26285         * docs/gst/gstreamer.types:
26286         Remove deleted types.
26287
26288 2005-07-18  Wim Taymans  <wim@fluendo.com>
26289
26290         * check/elements/gstfakesrc.c: (GST_START_TEST):
26291         * configure.ac:
26292         * gst/Makefile.am:
26293         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26294         (init_popt_callback):
26295         * gst/gst.h:
26296         * gst/gst_private.h:
26297         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26298         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26299         * gst/gstbin.h:
26300         * gst/gstbus.h:
26301         * gst/gstconfig.h.in:
26302         * gst/gstelement.c: (gst_element_class_init),
26303         (gst_element_set_base_time), (gst_element_get_base_time),
26304         (iterator_fold_with_resync), (gst_element_change_state),
26305         (gst_element_dispose), (gst_element_get_bus):
26306         * gst/gstelement.h:
26307         * gst/gstelementfactory.h:
26308         * gst/gsterror.c: (_gst_core_errors_init):
26309         * gst/gsterror.h:
26310         * gst/gstevent.h:
26311         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26312         * gst/gstindex.c:
26313         * gst/gstinfo.c: (_gst_debug_init):
26314         * gst/gstmessage.c: (_gst_message_copy):
26315         * gst/gstmessage.h:
26316         * gst/gstminiobject.h:
26317         * gst/gstobject.c:
26318         * gst/gstobject.h:
26319         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26320         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26321         * gst/gstpad.h:
26322         * gst/gstparse.h:
26323         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26324         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26325         (gst_pipeline_get_last_stream_time):
26326         * gst/gstpipeline.h:
26327         * gst/gstpluginfeature.h:
26328         * gst/gstquery.h:
26329         * gst/gstscheduler.c:
26330         * gst/gstscheduler.h:
26331         * gst/gststructure.h:
26332         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26333         (gst_task_finalize), (gst_task_func), (gst_task_create),
26334         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26335         (gst_task_stop), (gst_task_pause):
26336         * gst/gsttask.h:
26337         * gst/gsttypefind.h:
26338         * gst/gsttypes.h:
26339         * gst/registries/gstlibxmlregistry.c: (load_feature),
26340         (gst_xml_registry_load), (gst_xml_registry_save_feature):
26341         * gst/registries/gstxmlregistry.c:
26342         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26343         * gst/schedulers/threadscheduler.c:
26344         * libs/gst/control/dparammanager.h:
26345         * tools/gst-inspect.c: (print_element_list),
26346         (print_plugin_features), (print_element_features):
26347         * tools/gst-xmlinspect.c: (print_element_list),
26348         (print_plugin_info), (main):
26349         Removed plugable schedulers.
26350         Removed Scheduler/Manager from elements.
26351         Removed gsttypes.h, rearranged includes.
26352         Removed dependency pad<->element, element<>pipeline, and
26353         various others,  fix includes.
26354         implement gst_pad_get_parent() with gst_object_get_parent()
26355         Make GstTask sefcontained.
26356         Fix _get_state() on GstBin, it did not return ASYNC with a 0
26357         timeout.
26358         Fix endless loop in iterator_fold_with_resync.
26359
26360
26361 2005-07-18  Wim Taymans  <wim@fluendo.com>
26362
26363         * gst/Makefile.am:
26364         * gst/gstarch.h:
26365         Remove old file.
26366
26367 2005-07-18  Wim Taymans  <wim@fluendo.com>
26368
26369         * gst/Makefile.am:
26370         No more cothreads.h
26371
26372 2005-07-18  Wim Taymans  <wim@fluendo.com>
26373
26374         * gst/cothreads.c:
26375         * gst/cothreads.h:
26376         Let's remove these.
26377
26378 2005-07-18  Wim Taymans  <wim@fluendo.com>
26379
26380         * docs/design/part-dynamic.txt:
26381         * docs/design/part-events.txt:
26382         * docs/design/part-seeking.txt:
26383         Some more docs in the works.
26384
26385         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26386         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26387         (gst_base_transform_setcaps), (gst_base_transform_get_size),
26388         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26389         (gst_base_transform_handle_buffer),
26390         (gst_base_transform_sink_activate_push),
26391         (gst_base_transform_src_activate_pull),
26392         (gst_base_transform_set_passthrough),
26393         (gst_base_transform_is_passthrough):
26394         Refcounting fixes.
26395
26396         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26397         Cleanups.
26398
26399         * gst/gstevent.c: (gst_event_finalize):
26400         Set SRC to NULL.
26401
26402         * gst/gstutils.c: (gst_element_unlink),
26403         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26404         (gst_pad_proxy_setcaps):
26405         * gst/gstutils.h:
26406         Add _get_parent_element() to get a pads parent as an element.
26407
26408 2005-07-18  Wim Taymans  <wim@fluendo.com>
26409
26410         * check/gst/gstbin.c: (GST_START_TEST):
26411         Remove bogus test.
26412
26413 2005-07-18  Wim Taymans  <wim@fluendo.com>
26414
26415         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26416         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26417         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26418         (gst_base_sink_event), (gst_base_sink_do_sync),
26419         (gst_base_sink_chain), (gst_base_sink_loop),
26420         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26421         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26422         Refcounting fixes.
26423         Fix logic for returning ASYNC when not prerolled.
26424
26425 2005-07-18  Wim Taymans  <wim@fluendo.com>
26426
26427         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26428         Fix nasty refcount bug.
26429
26430 2005-07-16 Philippe Khalaf <burger@speedy.org>
26431
26432         * gst/elements/gstfdsrc.c:
26433         * gst/elements/gstfdsrc.h:
26434         * gst/elements/gstelements.c:
26435         * gst/elements/Makefile.am:
26436         Ported fdsrc to 0.9.
26437
26438 2005-07-16  Wim Taymans  <wim@fluendo.com>
26439
26440         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26441         (gst_base_sink_do_sync):
26442         Fix compile error.
26443
26444 2005-07-16  Wim Taymans  <wim@fluendo.com>
26445
26446         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26447         (gst_base_sink_event), (gst_base_sink_get_times),
26448         (gst_base_sink_do_sync), (gst_base_sink_change_state):
26449         * gst/base/gstbasesink.h:
26450         Store and use discont values when syncing buffers as described
26451         in design docs.
26452         
26453         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26454         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26455         (gst_base_src_activate_push):
26456         Push discont event when starting.
26457
26458         * gst/elements/gstidentity.c: (gst_identity_transform):
26459         Small cleanups.
26460
26461         * gst/gstbin.c: (gst_bin_change_state):
26462         Small cleanups in base_time  distribution.
26463
26464         * gst/gstelement.c: (gst_element_set_base_time),
26465         (gst_element_get_base_time), (gst_element_change_state):
26466         * gst/gstelement.h:
26467         Added methods for the base_time of the element.
26468         Some MT fixes.
26469
26470         * gst/gstpipeline.c: (gst_pipeline_send_event),
26471         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26472         (gst_pipeline_get_last_stream_time):
26473         * gst/gstpipeline.h:
26474         MT fixes.
26475         Handle seeking as described in design doc, remove stream_time
26476         hack.
26477         Cleanups clock and stream_time selection code. Added accessors
26478         for the stream_time.
26479         
26480
26481 2005-07-16  Andy Wingo  <wingo@pobox.com>
26482
26483         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26484         (#305291).
26485
26486 2005-07-16  Wim Taymans  <wim@fluendo.com>
26487
26488         * check/gst/gstbin.c: (GST_START_TEST):
26489         Make elements silent as the deep_notify refs the
26490         parent, which might make the test fail.
26491
26492         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26493         Don't hold the lock for too long.
26494
26495 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
26496
26497         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26498           Don't unref the caps we passed to gst_caps_make_writable() after
26499           passing them. gst_caps_make_writable() will do that for us.
26500
26501 2005-07-15  Andy Wingo  <wingo@pobox.com>
26502
26503         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26504         (#157311).
26505
26506         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26507         own marshalling function for the handoff signal. Properly type the
26508         buffer as a buffer. Fixes some warnings. Should do a more general
26509         solution.
26510         (gst_identity_class_init): Plug into the right marshaller.
26511
26512 2005-07-15  Wim Taymans  <wim@fluendo.com>
26513
26514         * docs/design/part-TODO.txt:
26515         * docs/design/part-clocks.txt:
26516         * docs/design/part-element-sink.txt:
26517         * docs/design/part-events.txt:
26518         * docs/design/part-gstpipeline.txt:
26519         Updated docs, mostly DISCONT related.
26520
26521 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
26522
26523         * docs/pwg/building-pads.xml:
26524           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26525
26526 2005-07-15  Andy Wingo  <wingo@pobox.com>
26527
26528         * tools/gst-typefind.c: Update, add copyright block.
26529
26530         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26531         Normalize and truncate caps before fixation.
26532
26533         * gst/gstcaps.h:
26534         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26535         discards all but the first structure from its argument.
26536
26537 2005-07-15  Wim Taymans  <wim@fluendo.com>
26538
26539         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26540         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26541         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26542         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26543         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26544         (gst_base_transform_chain), (gst_base_transform_change_state),
26545         (gst_base_transform_set_passthrough),
26546         (gst_base_transform_is_passthrough):
26547         * gst/base/gstbasetransform.h:
26548         Make passthrough work using the bufferpools.
26549         Changed API a bit, subclasses have to write into a buffer
26550         provided by the base class.
26551         More debug info in nego functions.
26552         
26553         * gst/elements/gstidentity.c: (gst_identity_init),
26554         (gst_identity_transform):
26555         Port to new base class.
26556
26557 2005-07-15  Wim Taymans  <wim@fluendo.com>
26558
26559         * gst/gstmessage.c: (gst_message_new_state_changed):
26560         * tools/gst-launch.c: (event_loop), (main):
26561         Totally dump messages in -launch with the -m option.
26562         Fix message name for State messages,
26563
26564 2005-07-14  Wim Taymans  <wim@fluendo.com>
26565
26566         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26567         Post error messages on errors.
26568
26569 2005-07-14  Wim Taymans  <wim@fluendo.com>
26570
26571         * gst/gstcaps.c: (gst_caps_do_simplify):
26572         Remove debug info.
26573
26574         * gst/gsterror.h:
26575         Define error for stream stopped.
26576
26577         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26578         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26579         Do proper return values.
26580
26581         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26582         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26583         (gst_pad_get_range):
26584         Better return values.
26585
26586         * gst/gstpad.h:
26587         Reorganise return values, add macro to check for fatal errors.
26588
26589         * gst/gstqueue.c: (gst_queue_chain):
26590         Return proper GstFlowReturn values,
26591
26592 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26593
26594         * docs/gst/gstreamer-sections.txt:
26595         * docs/gst/gstreamer.types:
26596         * docs/gst/tmpl/gst.sgml:
26597         * docs/gst/tmpl/gstbasesink.sgml:
26598         * docs/gst/tmpl/gstbasesrc.sgml:
26599         * docs/gst/tmpl/gstbasetransform.sgml:
26600         * docs/gst/tmpl/gstbin.sgml:
26601         * docs/gst/tmpl/gstbuffer.sgml:
26602         * docs/gst/tmpl/gstcaps.sgml:
26603         * docs/gst/tmpl/gstclock.sgml:
26604         * docs/gst/tmpl/gstcompat.sgml:
26605         * docs/gst/tmpl/gstconfig.sgml:
26606         * docs/gst/tmpl/gstelement.sgml:
26607         * docs/gst/tmpl/gstelementdetails.sgml:
26608         * docs/gst/tmpl/gstelementfactory.sgml:
26609         * docs/gst/tmpl/gstenumtypes.sgml:
26610         * docs/gst/tmpl/gsterror.sgml:
26611         * docs/gst/tmpl/gstevent.sgml:
26612         * docs/gst/tmpl/gstfakesink.sgml:
26613         * docs/gst/tmpl/gstfakesrc.sgml:
26614         * docs/gst/tmpl/gstfilesink.sgml:
26615         * docs/gst/tmpl/gstfilesrc.sgml:
26616         * docs/gst/tmpl/gstfilter.sgml:
26617         * docs/gst/tmpl/gstformat.sgml:
26618         * docs/gst/tmpl/gstghostpad.sgml:
26619         * docs/gst/tmpl/gstimplementsinterface.sgml:
26620         * docs/gst/tmpl/gstindex.sgml:
26621         * docs/gst/tmpl/gstindexfactory.sgml:
26622         * docs/gst/tmpl/gstinfo.sgml:
26623         * docs/gst/tmpl/gstiterator.sgml:
26624         * docs/gst/tmpl/gstmacros.sgml:
26625         * docs/gst/tmpl/gstmemchunk.sgml:
26626         * docs/gst/tmpl/gstminiobject.sgml:
26627         * docs/gst/tmpl/gstobject.sgml:
26628         * docs/gst/tmpl/gstpad.sgml:
26629         * docs/gst/tmpl/gstpadtemplate.sgml:
26630         * docs/gst/tmpl/gstparse.sgml:
26631         * docs/gst/tmpl/gstpipeline.sgml:
26632         * docs/gst/tmpl/gstplugin.sgml:
26633         * docs/gst/tmpl/gstpluginfeature.sgml:
26634         * docs/gst/tmpl/gstquery.sgml:
26635         * docs/gst/tmpl/gstqueue.sgml:
26636         * docs/gst/tmpl/gstregistry.sgml:
26637         * docs/gst/tmpl/gstregistrypool.sgml:
26638         * docs/gst/tmpl/gstscheduler.sgml:
26639         * docs/gst/tmpl/gstschedulerfactory.sgml:
26640         * docs/gst/tmpl/gststructure.sgml:
26641         * docs/gst/tmpl/gstsystemclock.sgml:
26642         * docs/gst/tmpl/gsttaglist.sgml:
26643         * docs/gst/tmpl/gsttagsetter.sgml:
26644         * docs/gst/tmpl/gsttrace.sgml:
26645         * docs/gst/tmpl/gsttrashstack.sgml:
26646         * docs/gst/tmpl/gsttypefind.sgml:
26647         * docs/gst/tmpl/gsttypefindfactory.sgml:
26648         * docs/gst/tmpl/gsttypes.sgml:
26649         * docs/gst/tmpl/gsturihandler.sgml:
26650         * docs/gst/tmpl/gsturitype.sgml:
26651         * docs/gst/tmpl/gstutils.sgml:
26652         * docs/gst/tmpl/gstvalue.sgml:
26653         * docs/gst/tmpl/gstversion.sgml:
26654         * docs/gst/tmpl/gstxml.sgml:
26655         * docs/libs/tmpl/gstcontrol.sgml:
26656         * docs/libs/tmpl/gstdataprotocol.sgml:
26657         * docs/libs/tmpl/gstdparam.sgml:
26658         * docs/libs/tmpl/gstdplinint.sgml:
26659         * docs/libs/tmpl/gstdpman.sgml:
26660         * docs/libs/tmpl/gstdpsmooth.sgml:
26661         * docs/libs/tmpl/gstgetbits.sgml:
26662         * docs/libs/tmpl/gstunitconvert.sgml:
26663         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26664         (gst_push_src_base_init), (gst_push_src_class_init),
26665         (gst_push_src_init), (gst_push_src_create):
26666         * gst/base/gstpushsrc.h:
26667         * gst/elements/gstelements.c:
26668         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26669         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26670         (gst_fake_sink_init), (gst_fake_sink_set_property),
26671         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26672         (gst_fake_sink_event), (gst_fake_sink_preroll),
26673         (gst_fake_sink_render), (gst_fake_sink_change_state):
26674         * gst/elements/gstfakesink.h:
26675         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26676         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26677         (gst_fake_src_base_init), (gst_fake_src_class_init),
26678         (gst_fake_src_init), (gst_fake_src_event_handler),
26679         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26680         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26681         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26682         (gst_fake_src_create_buffer), (gst_fake_src_create),
26683         (gst_fake_src_start), (gst_fake_src_stop):
26684         * gst/elements/gstfakesrc.h:
26685         * gst/elements/gstfilesink.c: (_do_init),
26686         (gst_file_sink_base_init), (gst_file_sink_class_init),
26687         (gst_file_sink_init), (gst_file_sink_dispose),
26688         (gst_file_sink_set_location), (gst_file_sink_set_property),
26689         (gst_file_sink_get_property), (gst_file_sink_open_file),
26690         (gst_file_sink_close_file), (gst_file_sink_query),
26691         (gst_file_sink_event), (gst_file_sink_render),
26692         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26693         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26694         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26695         * gst/elements/gstfilesink.h:
26696         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26697         (gst_file_src_class_init), (gst_file_src_init),
26698         (gst_file_src_finalize), (gst_file_src_set_location),
26699         (gst_file_src_set_property), (gst_file_src_get_property),
26700         (gst_file_src_map_region), (gst_file_src_map_small_region),
26701         (gst_file_src_create_mmap), (gst_file_src_create_read),
26702         (gst_file_src_create), (gst_file_src_is_seekable),
26703         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26704         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26705         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26706         (gst_file_src_uri_handler_init):
26707         * gst/elements/gstfilesrc.h:
26708           more autistic cleanliness in functions/names/defines
26709
26710 2005-07-13  Andy Wingo  <wingo@pobox.com>
26711
26712         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26713         source couldn't negotiate.
26714
26715         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26716         connections again.
26717
26718         * gst/gstutils.h:
26719         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26720         function. I am channeling Hades. Put your boots on suckers!!!
26721
26722 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26723
26724         * testsuite/caps/Makefile.am:
26725         * testsuite/caps/value_compare.c:
26726         * testsuite/caps/value_intersect.c:
26727         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26728           move two testsuite apps over to the check dir
26729
26730 2005-07-12  Wim Taymans  <wim@fluendo.com>
26731
26732         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26733         Added more debug info in the negotiate process.
26734
26735         * gst/gstmessage.h:
26736         Prepare for segment playback.
26737
26738         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26739         Better debugging.
26740
26741         * gst/gstutils.c:
26742         Some more docs.
26743
26744         * tools/gst-launch.c: (main):
26745         NULL pipeline on errors.
26746
26747 2005-07-12  Andy Wingo  <wingo@pobox.com>
26748
26749         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26750         not it comes from a malloc region. Make sure our copy gets freed.
26751
26752 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26753
26754         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26755         * check/gst/gstmessage.c: (GST_START_TEST):
26756         * check/gst/gststructure.c: (GST_START_TEST),
26757         (gst_structure_suite), (main):
26758           more testing
26759         * gst/gstelement.c: (gst_element_message_full):
26760           clean up GError and debug string now that they get copied
26761         * gst/gstmessage.c: (gst_message_new_error),
26762         (gst_message_new_warning), (gst_message_parse_error),
26763         (gst_message_parse_warning):
26764           use GST_TYPE_G_ERROR for structure_new, and take copies of
26765           arguments, so that we don't mess up refcounting
26766
26767 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26768
26769         * check/Makefile.am:
26770           add per-test valgrind targets
26771         * check/gst-libs/gdp.c: (GST_START_TEST),
26772         (gst_data_protocol_suite), (main):
26773           clean up
26774
26775 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26776
26777         * check/Makefile.am:
26778           instate more valgrindable tests
26779         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26780         (GST_START_TEST), (fakesrc_suite):
26781         * check/gst/gstpad.c: (GST_START_TEST):
26782         * check/gst/gststructure.c: (GST_START_TEST):
26783           fix test leaks
26784         * docs/gst/tmpl/gstminiobject.sgml:
26785         * gst/gstpad.c: (gst_pad_finalize):
26786           fix the static mutex leak
26787
26788 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26789
26790         * check/Makefile.am:
26791           add two more tests for valgrinding
26792         * check/gst/gstvalue.c: (GST_START_TEST):
26793           test refcount of deserialized buffer, found a leak
26794         * docs/gst/gstreamer-docs.sgml:
26795         * docs/gst/gstreamer-sections.txt:
26796         * docs/gst/gstreamer.types:
26797         * docs/gst/tmpl/gstminiobject.sgml:
26798           add miniobject to docs
26799         * gst/gstminiobject.c:
26800           add some docs
26801         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26802         (gst_string_unwrap):
26803           fix a hard-to-find invalid write for one of the tests
26804           fix a leak for deserialized buffers
26805
26806 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26807
26808         * docs/pwg/advanced-events.xml:
26809         * docs/pwg/advanced-request.xml:
26810         * docs/pwg/advanced-scheduling.xml:
26811         * docs/pwg/appendix-porting.xml:
26812         * docs/pwg/building-boiler.xml:
26813         * docs/pwg/intro-preface.xml:
26814         * docs/pwg/other-ntoone.xml:
26815           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26816           of example code and explanation for pad activation, loop() and
26817           getrange() functions and a bit more. Remove old comments pointing
26818           to loop-functions.
26819         * examples/pwg/Makefile.am:
26820           Add loop/getrange examples.
26821
26822 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26823
26824         * configure.ac:
26825           check for valgrind binary + some fixes
26826         * check/gst.supp:
26827           valgrind suppressions for the tests
26828         * check/Makefile.am:
26829           add a valgrind: target that valgrinds the unit tests
26830         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26831         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26832         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26833         * check/gst/gstghostpad.c:
26834           added some cleanup
26835         * check/gst/gstdata.c:
26836           removed
26837         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26838         (thread_unref), (gst_mini_object_suite), (main):
26839           added
26840         * gst/gst.c: (gst_deinit):
26841         * gst/gst.h:
26842           add a method to clean up.
26843         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26844         (gst_system_clock_obtain):
26845           allow for disposing the system clock.
26846         * tools/gst-launch.c: (main):
26847           deinit
26848
26849 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26850
26851         * docs/gst/tmpl/gstbasesrc.sgml:
26852         * docs/gst/tmpl/gstfakesrc.sgml:
26853         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26854         (gst_base_src_init), (gst_base_src_set_property),
26855         (gst_base_src_get_property), (gst_base_src_get_range),
26856         (gst_base_src_start):
26857         * gst/base/gstbasesrc.h:
26858           add num-buffers property
26859         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26860         (gst_fakesrc_init), (gst_fakesrc_set_property),
26861         (gst_fakesrc_get_property), (gst_fakesrc_create),
26862         (gst_fakesrc_start):
26863           remove num-buffers property
26864
26865 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26866
26867         * docs/gst/gstreamer-sections.txt:
26868         * docs/gst/tmpl/gstbasesink.sgml:
26869         * docs/gst/tmpl/gstbasesrc.sgml:
26870         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26871         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26872         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26873         (gst_base_sink_set_property), (gst_base_sink_get_property),
26874         (gst_base_sink_handle_object), (gst_base_sink_event),
26875         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26876         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26877         (gst_base_sink_loop), (gst_base_sink_deactivate),
26878         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26879         (gst_base_sink_change_state):
26880         * gst/base/gstbasesink.h:
26881         * gst/base/gstbasesrc.h:
26882         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26883         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26884         (gst_filesink_init):
26885           more macro splitting
26886
26887 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26888
26889         * gst/gstelement.c: (gst_element_get_bus):
26890           add debug
26891         * tools/gst-launch.c: (check_intr), (event_loop):
26892           fix bus leaks
26893
26894 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26895
26896         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26897           fix a caps leak
26898
26899 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26900
26901         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26902         (gst_base_src_finalize):
26903           add finalize method and clean up properly
26904         * gst/gstpipeline.c: (gst_pipeline_dispose):
26905           add debug
26906
26907 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26908
26909         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26910         (gst_bin_suite):
26911           add more things to check
26912         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26913         * gst/gstelement.c:
26914           more debug
26915
26916 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26917
26918         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26919         (GST_START_TEST), (fakesrc_suite):
26920         * check/gst-libs/gdp.c: (GST_START_TEST):
26921         * check/gst/gst.c: (GST_START_TEST):
26922         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26923         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26924         * check/gst/gstbus.c: (GST_START_TEST):
26925         * check/gst/gstcaps.c: (GST_START_TEST):
26926         * check/gst/gstdata.c: (GST_START_TEST):
26927         * check/gst/gstelement.c: (GST_START_TEST):
26928         * check/gst/gstghostpad.c: (GST_START_TEST):
26929         * check/gst/gstiterator.c: (GST_START_TEST):
26930         * check/gst/gstmessage.c: (GST_START_TEST):
26931         * check/gst/gstobject.c: (GST_START_TEST):
26932         * check/gst/gstpad.c: (GST_START_TEST):
26933         * check/gst/gststructure.c: (GST_START_TEST):
26934         * check/gst/gstsystemclock.c: (GST_START_TEST),
26935         (gst_systemclock_suite):
26936         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26937         * check/gst/gstvalue.c: (GST_START_TEST):
26938         * check/pipelines/cleanup.c: (GST_START_TEST):
26939         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26940         * check/states/sinks.c: (GST_START_TEST):
26941         * check/gstcheck.c: (gst_check_init):
26942         * check/gstcheck.h:
26943           add debugging category
26944           use GST_START_TEST now, so we add a debug line
26945
26946 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26947
26948         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26949           add test for state change message on a bin
26950         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26951           add another test
26952         * gst/gstbin.c: (gst_bin_init):
26953         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26954         * gst/gstelement.c: (gst_element_post_message),
26955         (gst_element_set_state):
26956         * gst/gstelementfactory.c: (gst_element_factory_create):
26957         * gst/gstmessage.c: (gst_message_new):
26958         * gst/gstscheduler.c:
26959           various debugging additions and cleanups
26960
26961 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26962
26963         * check/Makefile.am:
26964         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26965         (main):
26966           adding tests for elements
26967         * gst/gstelement.c: (gst_element_dispose):
26968
26969 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26970
26971         * gst/registries/gstlibxmlregistry.c: (load_feature):
26972           plug more leaks.  A simple gst_init() now is leakfree, yay.
26973
26974 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26975
26976         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26977         (gst_xml_registry_load):
26978           plug another memleak
26979
26980 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26981
26982         * configure.ac:
26983           use GST_SET_ERROR_CFLAGS
26984         * docs/faq/cvs.xml:
26985           change to ERROR_CFLAGS
26986
26987 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26988
26989         * configure.ac:
26990           make GST_ERROR_CFLAGS overridable and re-enable Werror
26991         * docs/faq/cvs.xml:
26992           add a note about error CFLAGS
26993         * docs/gst/tmpl/gstfakesrc.sgml:
26994         * gst/elements/gstfakesrc.c:
26995           comment out some unused code
26996         * gst/gst.c: (split_and_iterate):
26997         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26998         (load_feature):
26999           plug some memleaks
27000
27001 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
27002
27003         * common/Makefile.am:
27004         * common/gtk-doc.mak:
27005         * docs/gst/Makefile.am:
27006           factor out gtk-doc.mak
27007
27008 2005-07-07  Wim Taymans  <wim@fluendo.com>
27009
27010         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
27011         (gst_thread_scheduler_dispose):
27012         Unlock the STREAM_LOCK completely.
27013
27014 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
27015
27016         * check/Makefile.am:
27017         * check/elements/.cvsignore:
27018         * check/elements/gstfakesrc.c: (chain_func), (event_func),
27019         (START_TEST), (fakesrc_suite), (main):
27020         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27021         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27022         (gst_fakesrc_create), (gst_fakesrc_start):
27023         * gst/elements/gstfakesrc.h:
27024           adding a first element test
27025
27026 2005-07-07  Andy Wingo  <wingo@pobox.com>
27027
27028         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
27029         debug message.
27030
27031 2005-07-07  Wim Taymans  <wim@fluendo.com>
27032
27033         * gst/gstquery.c:
27034         * gst/gstquery.h:
27035         Remove old types
27036
27037 2005-07-07  Wim Taymans  <wim@fluendo.com>
27038
27039         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
27040         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
27041         Allow subclasses to implement their own negotiation.
27042
27043 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
27044
27045         * docs/design/part-gstbin.txt:
27046         * docs/design/part-gstpipeline.txt:
27047           Update design notes to reflect the movement of
27048           responsibility for bus handling from GstPipeline to
27049           GstBin
27050
27051 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
27052
27053         * configure.ac:
27054           Remove unnecessary queue2/3/4 examples.
27055
27056 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
27057
27058         * examples/Makefile.am:
27059         * examples/helloworld/helloworld.c: (event_loop), (main):
27060         * examples/queue/queue.c: (event_loop), (main):
27061         * examples/queue2/queue2.c: (main):
27062           Update a couple of the examples to work again.
27063
27064         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27065         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
27066          Spelling corrections and extra debug.
27067         
27068         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
27069         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
27070         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
27071         * gst/gstbin.h:
27072         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27073         (gst_pipeline_change_state):
27074         * gst/gstpipeline.h:
27075           Move the bus handler for children to the GstBin, and create a
27076           separate bus for receiving messages from children to the one the
27077           bus sends 'upwards' on.
27078
27079 2005-07-06  Wim Taymans  <wim@fluendo.com>
27080
27081         * gst/base/README:
27082         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27083         (gst_base_sink_handle_object), (gst_base_sink_loop),
27084         (gst_base_sink_change_state):
27085         * gst/base/gstbasesink.h:
27086         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27087         (gst_base_src_init), (gst_base_src_setcaps),
27088         (gst_base_src_getcaps), (gst_base_src_loop),
27089         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
27090         (gst_base_src_start), (gst_base_src_change_state):
27091         * gst/base/gstbasesrc.h:
27092         Make basesrc negotiate.
27093         Handle the case where preroll fails in basesink.
27094         Update README.
27095
27096 2005-07-06  Wim Taymans  <wim@fluendo.com>
27097
27098         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
27099         Implement the fixate function.
27100         Clean up acceptcaps.
27101
27102 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27103
27104         * docs/pwg/building-filterfactory.xml:
27105         * docs/pwg/pwg.xml:
27106           Remove never-written filter-factory chapter; I'll add the various
27107           base classes to part 4 ("other element types") later on.
27108
27109 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27110
27111         * docs/pwg/advanced-negotiation.xml:
27112         * docs/pwg/building-boiler.xml:
27113         * docs/pwg/building-pads.xml:
27114         * docs/pwg/pwg.xml:
27115         * examples/pwg/Makefile.am:
27116           Add a chapter on caps negotiation, simplify the original code
27117           samples a bit w.r.t. caps negotiation, add link to the advanced
27118           section. Add a bunch of examples showing different use cases of
27119           different types of caps negotiation. Upstream renegotiation isn't
27120           fully documented yet since nobody knows how that works.
27121
27122 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
27123
27124         * check/gst/gstpad.c:
27125         * check/gstcheck.c:
27126         * gst/gstpad.c: (gst_pad_get_internal_links_default):
27127           if pad has no parent, return NULL as list of internal links
27128
27129 2005-07-05  Andy Wingo  <wingo@pobox.com>
27130
27131         * gst/elements/gstfilesrc.c:
27132         * gst/elements/gstfakesrc.c: 
27133         * gst/base/gstpushsrc.c:
27134         * gst/base/gstbasesrc.h: 
27135         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
27136         
27137 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
27138
27139         * Makefile.am:
27140           better report generation target (lcov needs a patch)
27141
27142 2005-07-05  Andy Wingo  <wingo@pobox.com>
27143
27144         * gst/elements, testsuite: Null if we got it...
27145
27146 2005-07-05  Wim Taymans  <wim@fluendo.com>
27147
27148         * configure.ac:
27149         * libs/gst/dataprotocol/Makefile.am:
27150         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
27151         * libs/gst/dataprotocol/dataprotocol.h:
27152         * pkgconfig/Makefile.am:
27153         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
27154         * pkgconfig/gstreamer-dataprotocol.pc.in:
27155         Ported dataprotol to 0.9. 
27156         Added pkgconfig files.
27157
27158 2005-07-05  Andy Wingo  <wingo@pobox.com>
27159
27160         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
27161         Default to returning TRUE for the case when tranform_caps returns
27162         a fixed caps, like for identity or volume.
27163
27164         * check/gst/gstbus.c (pound_bus_with_messages): 
27165         * check/gst/gstmessage.c (START_TEST): 
27166         * check/pipelines/simple_launch_lines.c (got_handoff): Application
27167         message API change.
27168
27169         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
27170         logic weaks here: always run transform_caps, trying passthrough
27171         operation only if the original caps intersects with the transform.
27172
27173         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
27174         source and sink caps.
27175
27176         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
27177         Intersect the peer caps with the pad template before going into
27178         transform_caps.
27179         (gst_base_transform_transform_caps): More debugging.
27180
27181         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
27182         src argument.
27183
27184 2005-07-04  Edward Hervey  <edward@fluendo.com>
27185
27186         * gst/gstutils.c:
27187         * gst/gstutils.h:
27188         (gst_pad_add_*_probe): now returns the signal id for better wrapping
27189         in bindings.
27190
27191 2005-07-04  Andy Wingo  <wingo@pobox.com>
27192
27193         * check/gst/gstpad.c: Only set explicit caps on pads.
27194
27195 2005-07-01  Andy Wingo  <wingo@pobox.com>
27196
27197         * tests/network-clock.scm: Commentary update.
27198
27199         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
27200         Didn't really make sense, not implementable with basetransform,
27201         etc.
27202         (gst_identity_transform): Unref inbuf via make_writable. Feeble
27203         attempt at implementing the sync property, needs an unlock method.
27204
27205         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
27206         New func, by default returns the same caps (the identity
27207         transformation).
27208         (gst_base_transform_getcaps): Uses transform_caps to return
27209         something sensible.
27210         (gst_base_transform_setcaps): Complicated logic to get caps on
27211         both pads, even if they are different, and to call set_caps once
27212         for every time both pads get their caps set.
27213         (gst_base_transform_handle_buffer): Give the ref to the transform
27214         function. Allows in-place modification of the buffer.
27215
27216         * gst/base/gstbasetransform.h (transform_caps): New class method.
27217         Given caps on one side, what can I do on the other.
27218         (set_caps): Take two caps, one for each side of the element.
27219
27220         * gst/gstpad.h:
27221         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
27222         caps in place. This is safe because we can check the mutability of
27223         the caps, and a good idea because fixate functions are just called
27224         as a matter of last resort. (Not actually implemented.)
27225         (gst_pad_set_caps): If the caps we're setting is actually the same
27226         as the existing pad caps, just update the pointer without calling
27227         setcaps. Assert that caps is either NULL or fixed, as per the
27228         docs.
27229
27230         * gst/gstghostpad.c: Update for fixate changes.
27231
27232 2005-07-02  Andy Wingo  <wingo@pobox.com>
27233
27234         * gst/gstcaps.c:
27235         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
27236         two refcounts makes it immutable, which is enough. Doc more.
27237
27238 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
27239
27240         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
27241           Put the mini_object into GValue as a mini_object,
27242           not a gpointer, since that's how we declared
27243           the signal.
27244
27245 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27246
27247         * examples/pwg/Makefile.am:
27248           Fix buildbot again.
27249
27250 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27251
27252         * docs/pwg/building-testapp.xml:
27253           Add extra check.
27254         * examples/pwg/Makefile.am:
27255           Fix buildbot.
27256
27257 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27258
27259         * configure.ac:
27260         * examples/Makefile.am:
27261         * examples/pwg/Makefile.am:
27262         * examples/pwg/extract.pl:
27263           Enable building the PWG examples.
27264         * docs/pwg/advanced-interfaces.xml:
27265           Add URI interface stub.
27266         * docs/pwg/advanced-types.xml:
27267         * docs/pwg/other-autoplugger.xml:
27268         * docs/pwg/appendix-porting.xml:
27269         * docs/pwg/pwg.xml:
27270           Add porting guide (mostly stubs), remove autoplugging (see ADM).
27271         * docs/pwg/building-boiler.xml:
27272         * docs/pwg/building-chainfn.xml:
27273         * docs/pwg/building-pads.xml:
27274         * docs/pwg/building-props.xml:
27275         * docs/pwg/building-state.xml:
27276         * docs/pwg/building-testapp.xml:
27277           Update the building-*.xml parts for 0.9 changes. All examples
27278           code blocks compile in examples/pwg/*.
27279
27280 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27281
27282         * docs/manual/advanced-autoplugging.xml:
27283         * docs/manual/appendix-checklist.xml:
27284         * docs/manual/appendix-integration.xml:
27285         * docs/manual/highlevel-components.xml:
27286           Fix playbin/decodebin examples, update docs a bit, mention bus
27287           instead of signals in various places, mention kmplayer and
27288           kaffeine since they have a working GStreamer backend in the KDE
27289           section.
27290
27291 2005-06-30  Wim Taymans  <wim@fluendo.com>
27292
27293         * CHANGES-0.9:
27294         * docs/design/draft-ghostpads.txt:
27295         * docs/design/draft-push-pull.txt:
27296         * docs/design/draft-query.txt:
27297         * docs/design/part-TODO.txt:
27298         * docs/design/part-query.txt:
27299         Added CHANGES-0.9 doc, updated status of other docs.
27300         
27301         * gst/gstquery.h:
27302         Remove "hmm" macro
27303
27304 2005-06-30  Wim Taymans  <wim@fluendo.com>
27305
27306         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27307         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27308         (gst_base_sink_change_state):
27309         * gst/base/gstbasesink.h:
27310         Some tweaks, only EOS and a buffer complete a preroll.
27311
27312 2005-06-30  Andy Wingo  <wingo@pobox.com>
27313
27314         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27315         activate_push down to the internal pad as well.
27316
27317 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
27318
27319         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27320
27321         * gst/gsttaginterface.c:
27322           Some documentation fixes (#307394 and #307397).
27323
27324 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
27325
27326         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27327
27328         * gst/gstvalue.c: (gst_value_intersect_list):
27329           Fix memleak (#309125).
27330
27331 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27332
27333         * docs/manual/advanced-dataaccess.xml:
27334           Fix fakesrc example to compile; doesn't work, bug somewhere...?
27335         * docs/manual/basics-pads.xml:
27336           Add reference for filtered caps to above chapter.
27337
27338 2005-06-30  Wim Taymans  <wim@fluendo.com>
27339
27340         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27341         (gst_bin_change_state):
27342         Probes are gone.
27343         Lame attempt at making the state change function a bit
27344         more readable.
27345
27346 2005-06-30  Wim Taymans  <wim@fluendo.com>
27347
27348         * docs/design/part-clocks.txt:
27349         * docs/design/part-element-sink.txt:
27350         * docs/design/part-events.txt:
27351         * docs/design/part-preroll.txt:
27352         * docs/design/part-states.txt:
27353         Some more tweeks and additions to the docs.
27354
27355 2005-06-30  Wim Taymans  <wim@fluendo.com>
27356
27357         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27358         (default_have_data), (gst_pad_class_init), (gst_pad_init),
27359         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27360         (gst_pad_check_pull_range), (gst_pad_get_range),
27361         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27362         * gst/gstpad.h:
27363         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27364         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27365         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27366         (gst_pad_remove_buffer_probe):
27367         Removed atomic operations, use existing LOCK.
27368         Move exception handling out of main code path.
27369
27370 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27371
27372         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27373         (silly_return_true_function), (gst_pad_class_init),
27374         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27375         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27376         (gst_pad_send_event):
27377           Fix accumulator, add default value by using _emitv() instead
27378           of _emit() for signal emission.
27379
27380 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27381
27382         * docs/manual/advanced-dataaccess.xml:
27383         * examples/manual/Makefile.am:
27384           Add probe example.
27385         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27386           Make work (??).
27387
27388 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
27389
27390         * gst/elements/gstfilesink.c: (gst_filesink_render):
27391           Simplify code so that we don't have to handle short
27392           writes and return GST_FLOW_ERROR if an error occured.
27393
27394 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27395
27396         * docs/gst/gstreamer-docs.sgml:
27397           Remove probes more.
27398
27399 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27400
27401         * docs/gst/gstreamer-sections.txt:
27402         * docs/gst/tmpl/gstpad.sgml:
27403         * docs/gst/tmpl/gstprobe.sgml:
27404         * gst/Makefile.am:
27405         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27406         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27407         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27408         (gst_pad_push_event), (gst_pad_send_event):
27409         * gst/gstpad.h:
27410         * gst/gstutils.c: (gst_pad_add_data_probe),
27411         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27412         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27413         (gst_pad_remove_buffer_probe):
27414         * gst/gstutils.h:
27415           Remove old probes, add new g-signal-based probes and some utility
27416           functions.
27417
27418 2005-06-29  Edward Hervey  <edward@fluendo.com>
27419
27420         * gst/gstelementfactory.c:
27421         * gst/gstutils.h:
27422         * gst/gstutils.c:
27423         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27424         the definition to the header file.
27425
27426 2005-06-29  Andy Wingo  <wingo@pobox.com>
27427
27428         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27429         plugins from the source directory.
27430
27431 2005-06-29  Wim Taymans  <wim@fluendo.com>
27432
27433         * docs/gst/tmpl/gstbuffer.sgml:
27434         * docs/gst/tmpl/gstclock.sgml:
27435         Some fixings for blantently wrong text.
27436
27437 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27438
27439         * check/Makefile.am:
27440         * gst/gst.c: (add_path_func), (init_pre):
27441         * gst/gstregistry.c: (gst_registry_add_path):
27442           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27443           only scan the GST_PLUGIN_PATH locations, and not add
27444           system locations
27445
27446 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27447
27448         * docs/gst/gstreamer-sections.txt:
27449         * docs/gst/tmpl/gstbasesrc.sgml:
27450         * gst/gstelement.c:
27451         * gst/gstelement.h:
27452         * gst/gstevent.c:
27453         * gst/gstutils.c:
27454           doc fixes
27455
27456 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27457
27458         * docs/manual/advanced-autoplugging.xml:
27459           Fix autoplugging example.
27460
27461 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27462
27463         * docs/manual/advanced-autoplugging.xml:
27464         * docs/manual/mime-world.fig:
27465           Try to get autoplugging working, fix type detection. Fix text
27466           in hello-world image.
27467
27468 2005-06-29  Wim Taymans  <wim@fluendo.com>
27469
27470         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27471         (gst_base_sink_change_state):
27472         Small debug line.
27473
27474         * gst/gstclock.h:
27475         map SIGNAL and BROADCAST to the right function.
27476
27477         * gst/gstobject.h:
27478         Remove redundant braces.
27479
27480         * gst/gstpad.c: (gst_pad_set_caps):
27481         Don't call setcaps function when reseting caps to NULL.
27482
27483         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27484         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27485         (gst_system_clock_id_unschedule):
27486         Use BROADCAST as this is what we do.
27487
27488 2005-06-29  Wim Taymans  <wim@fluendo.com>
27489
27490         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27491         We are actually prerolling before commiting the state
27492         change. 
27493
27494 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27495
27496         * docs/manual/advanced-clocks.xml:
27497         * docs/manual/advanced-interfaces.xml:
27498         * docs/manual/advanced-metadata.xml:
27499         * docs/manual/advanced-position.xml:
27500         * docs/manual/advanced-schedulers.xml:
27501         * docs/manual/advanced-threads.xml:
27502         * docs/manual/appendix-porting.xml:
27503         * docs/manual/basics-bins.xml:
27504         * docs/manual/basics-bus.xml:
27505         * docs/manual/basics-elements.xml:
27506         * docs/manual/basics-helloworld.xml:
27507         * docs/manual/basics-pads.xml:
27508         * docs/manual/highlevel-components.xml:
27509         * docs/manual/manual.xml:
27510         * docs/manual/thread.fig:
27511           Update (until threads/scheduling) Application Development Manual;
27512           remove GstThread, add GstBus, add simple porting checklist, add
27513           documentation for tag writing, clocks, make all examples until this
27514           part compile and run.
27515         * examples/manual/Makefile.am:
27516           Update from changes to Application Development Manual; add bus
27517           example, remove thread example.
27518
27519 2005-06-28  Wim Taymans  <wim@fluendo.com>
27520
27521         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27522         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27523         (gst_bus_source_dispatch):
27524         Add debugging messages.
27525         Make internal methods static.
27526         Handle the case where the bus is flushed in the handler.
27527         
27528         * gst/gstelement.c: (gst_element_get_bus):
27529         Fix refcount in _get_bus();
27530
27531         * gst/gstpipeline.c: (gst_pipeline_change_state),
27532         (gst_pipeline_get_clock_func):
27533         Clock refcounting fixes.
27534         Handle the case where preroll timed out more gracefully.
27535         
27536         * gst/gstsystemclock.c: (gst_system_clock_dispose):
27537         Clean up the internal thread in dispose. This is needed
27538         for subclasses that actually get disposed.
27539         
27540         * gst/schedulers/threadscheduler.c:
27541         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27542         (gst_thread_scheduler_dispose):
27543         Free thread pool in dispose.
27544
27545 2005-06-28  Andy Wingo  <wingo@pobox.com>
27546
27547         * tests/network-clock-utils.scm (debug, print-event): New utils.
27548
27549         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27550         (*packet-loss*): Unified loss probability.
27551         (network-time): Report out-of-band events.
27552
27553         * tests/plot-data: Add support for out-of-band events. Hack it
27554         into this script instead of passing it down the pipe; should fix
27555         this later.
27556
27557 2005-06-28  Wim Taymans  <wim@fluendo.com>
27558
27559         * docs/gst/gstreamer.types:
27560         * docs/gst/tmpl/gstbasesrc.sgml:
27561         * docs/gst/tmpl/gstpad.sgml:
27562         Docs fixes.
27563
27564 2005-06-28  Wim Taymans  <wim@fluendo.com>
27565
27566         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27567         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27568         (gst_proxy_pad_do_fixatecaps):
27569         Correctly proxy the check_pull_range function.
27570
27571 2005-06-28  Andy Wingo  <wingo@pobox.com>
27572
27573         * tests/network-clock.scm: Removed need for slib.
27574         
27575 2005-06-28  Wim Taymans  <wim@fluendo.com>
27576
27577         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27578         (gst_basesink_preroll_queue_flush):
27579         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27580         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27581         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27582         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27583         (gst_proxy_pad_set_property):
27584         * gst/gstpad.c:
27585         * gst/gstpad.h:
27586         * gst/gstqueue.c: (gst_queue_init):
27587         The deprecated pad loop function is removed now.
27588
27589 2005-06-28  Andy Wingo  <wingo@pobox.com>
27590
27591         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27592         New parameters, simulate network packet loss.
27593
27594         * tests/network-clock-utils.scm: Initialize the RNG.
27595
27596 2005-06-28  Wim Taymans  <wim@fluendo.com>
27597
27598         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27599         (gst_basesink_event), (gst_basesink_deactivate):
27600         Flushing the preroll queue always needs to unlock the waiters.
27601
27602 2005-06-28  Edward Hervey  <edward@fluendo.com>
27603
27604         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27605         Wheen a seek was successful on a pipeline, set the stream_time to the
27606         seek offset in order to have a synchronized stream_time.
27607
27608 2005-06-28  Wim Taymans  <wim@fluendo.com>
27609
27610         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27611         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27612         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27613         (gst_proxy_pad_do_fixatecaps):
27614         Call wrapper function instead of just calling the function
27615         pointers. This takes care of any locking and whatmore.
27616
27617 2005-06-28  Wim Taymans  <wim@fluendo.com>
27618
27619         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27620         (gst_pad_pull_range):
27621         * gst/gstpad.h:
27622         CONNECTED -> LINKED.
27623
27624 2005-06-28  Andy Wingo  <wingo@pobox.com>
27625
27626         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27627         source-munging commit!!!
27628
27629         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27630         (gst_object_sink): Take gpointer arguments, not GstObject --
27631         avoids casts. Like GLib.
27632
27633         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27634         activate.
27635
27636 2005-06-27  Andy Wingo  <wingo@pobox.com>
27637
27638         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27639         remaining buffer.
27640
27641         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27642         returns a sorted copy of the trace list.
27643         (gst_alloc_trace_print_live): New API, only prints traces with
27644         live objects. Sort the list.
27645         (gst_alloc_trace_print_all): Sort the list.
27646         (gst_alloc_trace_print): Align columns.
27647
27648         * gst/elements/gstttypefindelement.c:
27649         * gst/elements/gsttee.c:
27650         * gst/base/gstbasesrc.c:
27651         * gst/base/gstbasesink.c:
27652         * gst/base/gstbasetransform.c:
27653         * gst/gstqueue.c: Adapt for pad activation changes.
27654
27655         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27656         sched.
27657         (gst_pipeline_dispose): Drop ref on sched.
27658
27659         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27660         (gst_pad_activate_default): Push mode by default.
27661         (pre_activate_switch, post_activate_switch): New stubs, things to
27662         do before and after switching activation modes on pads.
27663         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27664         the pad's activate function to choose which mode to activate.
27665         Shortcut on deactivation and call the right function directly.
27666         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27667         mode.
27668         (gst_pad_activate_push): New API, same for push mode.
27669         (gst_pad_set_activate_function) 
27670         (gst_pad_set_activatepull_function) 
27671         (gst_pad_set_activatepush_function): Setters for new API.
27672
27673         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27674         Trace all miniobjects.
27675         (gst_mini_object_make_writable): Unref the arg if we copy, like
27676         gst_caps_make_writable.
27677
27678         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27679
27680         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27681         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27682         Adapt for new pad API.
27683
27684         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27685
27686         * gst/gstelement.h:
27687         * gst/gstelement.c (gst_element_iterate_src_pads) 
27688         (gst_element_iterate_sink_pads): New API functions.
27689         
27690         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27691         should fold into gstiterator.c in some form.
27692         (gst_element_pads_activate): Simplified via use of fold and
27693         delegation of decisions to gstpad->activate.
27694
27695         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27696         help in debugging.
27697
27698         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27699         class once in init, like gstmessage. Didn't run into this issue
27700         but it seems correct. Don't initialize a trace, gstminiobject does
27701         that.
27702
27703         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27704         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27705         to the bus.
27706         (assert_live_count): New util function, uses alloc traces to check
27707         cleanup.
27708
27709         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27710         To be modified when unlink drops the internal pad.
27711
27712 2005-06-27  Wim Taymans  <wim@fluendo.com>
27713
27714         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27715         (gst_bin_change_state):
27716         Cleanup the get_state() function a little, make sure it
27717         iterates the same set of elements.
27718         Added stub iterate_state_order().
27719
27720 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27721
27722         * docs/gst/gstreamer-docs.sgml:
27723         * docs/gst/gstreamer-sections.txt:
27724         * docs/gst/gstreamer.types:
27725         * docs/gst/tmpl/gstbasesink.sgml:
27726         * docs/gst/tmpl/gstbasesrc.sgml:
27727         * docs/gst/tmpl/gstbasetransform.sgml:
27728         * docs/gst/tmpl/gstelement.sgml:
27729         * docs/gst/tmpl/gstiterator.sgml:
27730         * gst/base/gstbasesrc.c:
27731         * gst/base/gstbasesrc.h:
27732         * gst/base/gstbasetransform.h:
27733         * gst/gstelement.c:
27734         * gst/gstiterator.h:
27735           adding basetransform and iterator docs
27736
27737 2005-06-27  Andy Wingo  <wingo@pobox.com>
27738
27739         * docs/design/part-activation.txt: Notes on how activation should
27740         work -- not quite implemented yet.
27741
27742 2005-06-25  Wim Taymans  <wim@fluendo.com>
27743
27744         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27745         At least get the chain function correct, needs more
27746         fixing.
27747
27748 2005-06-25  Wim Taymans  <wim@fluendo.com>
27749
27750         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27751         (gst_basesink_handle_object), (gst_basesink_event),
27752         (gst_basesink_do_sync), (gst_basesink_handle_event),
27753         (gst_basesink_change_state):
27754         * gst/gsttask.h:
27755         Right, two problems here: ghostpads don't take locks and
27756         glib _rec_mutex_lock_full() with depth==0 still locks.
27757         Catch illegal locking and g_warn them.
27758
27759 2005-06-25  Wim Taymans  <wim@fluendo.com>
27760
27761         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27762         Have to check for completion now...
27763
27764 2005-06-25  Wim Taymans  <wim@fluendo.com>
27765
27766         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27767         (gst_basesink_handle_object), (gst_basesink_event),
27768         (gst_basesink_do_sync), (gst_basesink_handle_event),
27769         (gst_basesink_change_state):
27770         * gst/gstpad.h:
27771         Unlock STREAM_LOCK whatever the recursion was.
27772
27773 2005-06-25  Wim Taymans  <wim@fluendo.com>
27774
27775         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27776         (gst_basesink_preroll_queue_empty),
27777         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27778         (gst_basesink_event), (gst_basesink_do_sync),
27779         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27780         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27781         (gst_basesink_change_state):
27782         Reworked the base sink, handle event and buffer serialisation
27783         correctly and removed possible deadlock.
27784         Handle EOS correctly.
27785
27786 2005-06-25  Wim Taymans  <wim@fluendo.com>
27787
27788         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27789         (gst_pipeline_change_state):
27790         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27791         Allow elements to post EOS in the state change function.
27792         Fix up -launch, make it exit the poll loop when the
27793         pipeline actually changed state.
27794         Fix up warning parsing in -launch.
27795
27796 2005-06-25  Wim Taymans  <wim@fluendo.com>
27797
27798         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27799         (gst_tee_sink_activate):
27800         Core takes STREAM_LOCK for us now.
27801
27802 2005-06-25  Wim Taymans  <wim@fluendo.com>
27803
27804         * gst/gstelement.c: (gst_element_get_state_func),
27805         (gst_element_set_state):
27806         * gst/gstelement.h:
27807         * gst/gstmessage.c: (gst_message_parse_error),
27808         (gst_message_parse_warning):
27809         Keep track of current target state while performing a state
27810         change so that subclasses can do something interesting.
27811         Fix parsing of warning/error messages when GError is NULL.
27812
27813 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27814
27815         * docs/gst/Makefile.am:
27816         * docs/gst/gstreamer-docs.sgml:
27817         * docs/gst/gstreamer-sections.txt:
27818         * docs/gst/gstreamer.types:
27819         * docs/gst/tmpl/gstbasesink.sgml:
27820         * docs/gst/tmpl/gstbasesrc.sgml:
27821         * docs/gst/tmpl/gstbin.sgml:
27822         * docs/gst/tmpl/gstcompat.sgml:
27823         * docs/gst/tmpl/gstfakesink.sgml:
27824         * docs/gst/tmpl/gstfakesrc.sgml:
27825         * docs/gst/tmpl/gstfilesink.sgml:
27826         * docs/gst/tmpl/gstfilesrc.sgml:
27827         * docs/gst/tmpl/gstindex.sgml:
27828         * docs/manual/appendix-quotes.xml:
27829         * gst/base/gstbasesrc.h:
27830         * gst/elements/gstfakesrc.h:
27831         * gst/gstmessage.h:
27832           start pulling in base classes and elements in our docs
27833
27834 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27835
27836         * docs/gst/Makefile.am:
27837         * docs/libs/Makefile.am:
27838           fixed make distcheck with gtk-doc 1.3
27839
27840 2005-06-23  Wim Taymans  <wim@fluendo.com>
27841
27842         * gst/gstelement.c: (gst_element_get_state_func),
27843         (gst_element_set_state), (gst_element_change_state):
27844         When the state did not change, also report NO_PREROLL
27845         when it matters.
27846
27847 2005-06-23  Wim Taymans  <wim@fluendo.com>
27848
27849         * gst/gstpad.c: (gst_pad_event_default):
27850         * gst/gstqueue.c: (gst_queue_loop):
27851         No unsafe task pausing please.
27852
27853 2005-06-23  Wim Taymans  <wim@fluendo.com>
27854
27855         * gst/schedulers/threadscheduler.c:
27856         (gst_thread_scheduler_task_start),
27857         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27858         Ref the task before pushing it on the threadpool. This
27859         makes sure that we have a ref when the threadfunction is
27860         actually called.
27861
27862 2005-06-23  Andy Wingo  <wingo@pobox.com>
27863
27864         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27865         offset is greater than the file's size.
27866
27867         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27868         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27869         * gst/gstobject.c (gst_object_class_init): Make the class lock
27870         recursive. Wim won't let me drop deep_notify. Decodebin works
27871         again, whoopdy doo.
27872
27873         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27874         internal pad, and hacks accordingly. Doesn't do it on the target
27875         pad because we change its caps. Probably catches all cases of
27876         interest tho.
27877         (gst_ghost_pad_set_property): Connect to notify::caps as
27878         appropritate.
27879
27880         * tests/network-clock.scm (plot-simulation): Pipe data to the
27881         elite python skript.
27882
27883         * tests/network-clock-utils.scm (define-parameter): New macro,
27884         defines a parameter that can be set via the command line.
27885         (set-parameter!, parse-parameter-arguments): Command line args
27886         parser.
27887
27888         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27889         stdin.
27890
27891 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27892
27893         * gst/elements/gsttypefindelement.c:
27894         (gst_type_find_element_handle_event):
27895           Don't restart typefinding on a discont.
27896         * gst/gstelement.c: (gst_element_set_state):
27897           Debug spelling fix.
27898         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27899           Allow changing mode of an active pad.
27900           Debug output fixes.
27901         * gst/registries/gstlibxmlregistry.c: (load_feature):
27902           Don't cast a static pad template to a normal pad template.
27903
27904 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27905
27906         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27907         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27908           remove gst_strtoll completely, since it didn't actually do
27909           anything more than what g_ascii_strtoull already does.
27910           check for range errors when deserializing
27911           do a cast for the unsigned cases; but further fixing needs
27912           a decision on what the interpretation of "(int)" and
27913           deserialization should be for values that fall outside the
27914           type's boundaries (ie, refuse, or interpret as casting)
27915
27916 2005-06-23  Wim Taymans  <wim@fluendo.com>
27917
27918         * check/Makefile.am:
27919         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27920         * docs/design/part-live-source.txt:
27921         * docs/design/part-states.txt:
27922         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27923         (gst_basesrc_set_live), (gst_basesrc_is_live),
27924         (gst_basesrc_get_range), (gst_basesrc_activate),
27925         (gst_basesrc_change_state):
27926         * gst/base/gstbasesrc.h:
27927         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27928         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27929         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27930         * gst/gstelement.c: (gst_element_get_state_func),
27931         (gst_element_set_state):
27932         * gst/gstelement.h:
27933         * gst/gsttypes.h:
27934         * tools/gst-launch.c: (event_loop), (main):
27935         Added support for live sources and other elements that
27936         cannot do preroll.
27937         Updated design docs, added live-source design doc.
27938         Implemented live source functionality in basesrc
27939         Fix error condition in _bin_get_state()
27940         Implement live source handling in -launch.
27941         Added check for live sources.
27942         Fixed case in GstBin where elements were changed state
27943         multiple times.
27944
27945
27946 2005-06-23  Andy Wingo  <wingo@pobox.com>
27947
27948         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27949         borken refcounting.
27950
27951         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27952         gst_caps_replace takes care of this for us.
27953
27954         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27955         gst_pad_set_caps on the target, not just its setcaps() function.
27956
27957         * tests/network-clock.scm: 
27958         * tests/network-clock-utils.scm: A network clock simulator.
27959         Something of an algorithmic testbed before doing something in C.
27960
27961 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27962
27963         * check/Makefile.am:
27964         * check/gst/capslist.h:
27965           copy over from 0.8, and add two with bitmasks specified with
27966           (int) 0xFF...
27967         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27968           add test to parse everything from capslist.h
27969         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27970         (main):
27971           add test for structure deserialization
27972         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27973           add tests for deserialization of strings to int types
27974         * gst/gststructure.c: (gst_structure_nth_field_name):
27975         * gst/gststructure.h:
27976           add a way to get the name of a field referenced by index
27977         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27978           instead of checking if the resulting long long lies between
27979           min and max, we check if the long long would fit into
27980           a number of bytes for the final type.
27981           This fixes cases where a string represents 2^32 - 1, which
27982           when cast to int would be the (valid) -1, but is bigger than
27983           G_MAXINT
27984
27985 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27986
27987         * gst/parse/grammar.y:
27988           add a log line for type deserialization
27989
27990 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27991
27992         * check/gst/gstvalue.c: (START_TEST):
27993         * gst/gstvalue.c: (gst_value_deserialize):
27994           return long long, not int, so gint64 deserialization actually
27995           works.  Is there any flag that makes the compiler check this ?
27996           Fixes #308559
27997
27998 2005-06-22  Wim Taymans  <wim@fluendo.com>
27999
28000         * gst/gstbuffer.h:
28001         Added convenience macros for setting buffers in GValue.
28002
28003 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
28004
28005         * check/gst/.cvsignore:
28006         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28007           add a test deserializing int64, and comment part out because
28008           it fails, yay !
28009
28010 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
28011
28012         * check/Makefile.am:
28013         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
28014         * testsuite/Makefile.am:
28015         * testsuite/caps/Makefile.am:
28016         * testsuite/caps/value_serialize.c:
28017         * testsuite/test_gst_init.c:
28018           move a value_serialize test over
28019
28020 2005-06-20  Wim Taymans  <wim@fluendo.com>
28021
28022         * gst/gstpad.c:
28023         Small doc updates.
28024         
28025         * gst/gstvalue.c: (gst_value_compare_buffer),
28026         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
28027         (gst_value_compare_flags), (gst_value_serialize_flags),
28028         (gst_value_deserialize_flags), (_gst_value_initialize):
28029         Fix serialisation of buffers, they are not boxed types anymore
28030
28031 2005-06-20  Wim Taymans  <wim@fluendo.com>
28032
28033         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
28034         Testcase to show error in buffer-on-caps serialisation.
28035
28036 2005-06-20  Andy Wingo  <wingo@pobox.com>
28037
28038         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
28039         will be adding to later.
28040
28041         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
28042         if its socks fill with rocks.
28043         (gst_system_clock_obtain): Set the name on object construction.
28044         Avoid double-checked locking.
28045
28046 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
28047
28048         * gst/gsturi.c: (gst_element_make_from_uri):
28049           Fix potential endless loop.
28050
28051 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28052
28053         * check/Makefile.am:
28054           add gsttag
28055         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
28056         (main):
28057           move over from testsuite dir and clean up
28058         * configure.ac:
28059         * gst/gsttag.c:
28060         * testsuite/Makefile.am:
28061         * testsuite/tags/.cvsignore:
28062         * testsuite/tags/Makefile.am:
28063         * testsuite/tags/merge.c:
28064           remove testsuite/tags
28065
28066 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28067
28068         * docs/gst/gstreamer-sections.txt:
28069         * docs/gst/tmpl/gstenumtypes.sgml:
28070         * win32/gstenumtypes.c:
28071           clean up documentation build a little
28072
28073 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28074
28075         * check/gstcheck.h:
28076           add macros for checking refcounts on objects and caps
28077         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
28078           add some more unit tests
28079         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
28080         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
28081           fix leaked refcounts (I hope :)) so unittest works
28082         * gst/gstpad.h:
28083           whitespace removal
28084
28085 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28086
28087         * configure.ac: back to HEAD
28088
28089 === release 0.9.1 ===
28090
28091 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28092
28093         * NEWS:
28094         * RELEASE:
28095           updated
28096
28097 2005-06-17  Andy Wingo  <wingo@pobox.com>
28098
28099         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
28100         assert; it's always possible that the pad gets deactivated in
28101         between the checks in gstpad.c and the implementation. Rely on
28102         finish_preroll() to return a FLUSHING or similar instead of on the
28103         assert.
28104         
28105         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
28106         clock and post an EOS message if we come out of finish_preroll in
28107         the playing state.
28108
28109 2005-06-16  David Schleef  <ds@schleef.org>
28110
28111         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
28112         (gst_capsfilter_set_property): Allow NULL as possible value
28113         for filter_caps property, indicating GST_CAPS_ANY.
28114
28115 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28116
28117         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
28118           fix debug output
28119         * gst/schedulers/Makefile.am:
28120           use libgst prefix
28121         * gstreamer.spec.in:
28122           fix spec for it
28123
28124 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28125
28126         * gstreamer.spec.in:
28127           clean up
28128
28129 2005-06-08  Andy Wingo  <wingo@pobox.com>
28130
28131         * gst/gstutils.c: RPAD fixes all around.
28132         (gst_element_link_pads): Refcounting fixes.
28133
28134         * tools/gst-inspect.c:
28135         * tools/gst-xmlinspect.c:
28136         * parse/grammar.y:
28137         * gst/base/gsttypefindhelper.c:
28138         * gst/base/gstbasesink.c:
28139         * gst/gstqueue.c: RPAD fixes.
28140
28141         * gst/gstghostpad.h:
28142         * gst/gstghostpad.c: New ghost pad implementation as full proxy
28143         pads. The tricky thing is they provide both source and sink
28144         interfaces, since they proxy the internal pad for the external
28145         pad, and vice versa. Implement with lower-level ProxyPad objects,
28146         with the interior proxy pad as a child of the exterior ghost pad.
28147         Should write a doc on this.
28148         
28149         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
28150         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
28151         gst_object API.
28152         
28153         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
28154         pads are real pads. No ghost pads in this file. Not documenting
28155         the myriad s/RPAD/PAD/ and REALIZE fixes.
28156         (gst_pad_class_init): Add properties for "direction" and
28157         "template". Both are construct-only, so they can't change during
28158         the life of the pad. Fixes properly deriving from GstPad.
28159         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
28160         derived objects, just set properties when creating the objects via
28161         g_object_new.
28162         (gst_pad_get_parent): Implement as a function, return NULL if the
28163         parent is not an element.
28164         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
28165         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
28166         
28167         * gst/gstobject.c (gst_object_class_init): Make name a construct
28168         property. Don't set it in the object init.
28169
28170         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
28171         with UNKNOWN direction.
28172         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
28173         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
28174         (gst_element_remove_pad): Remove ghost-pad special cases.
28175         (gst_element_pads_activate): Remove rpad cruft.
28176
28177         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
28178         catch the pad's-parent-not-an-element case.
28179
28180         * gst/gst.h: Include gstghostpad.h.
28181
28182         * gst/gst.c (init_post): No more real, ghost pads.
28183
28184         * gst/Makefile.am: Add gstghostpad.[ch].
28185
28186         * check/Makefile.am:
28187         * check/gst/gstbin.c:
28188         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
28189         into a bin creates ghost pads, and that the refcounts are right.
28190         Partly moved from gstbin.c.
28191
28192 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28193
28194         * check/gst-libs/.cvsignore:
28195         * check/gst/.cvsignore:
28196         * check/pipelines/.cvsignore:
28197           ignore more
28198         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
28199         (START_TEST), (cleanup_suite), (main):
28200           add some tests related to cleanup after running pipelines
28201
28202 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28203
28204         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
28205           add a testsuite for GstBuffer
28206
28207 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28208
28209         * gst/gstminiobject.h:
28210           add defines for accessing the refcount
28211
28212 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
28213
28214         * Makefile.am: added support for html unit test coverage reports
28215
28216 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
28217
28218         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
28219           Free existing caps if the capsfilter changes. Add a FIXME about
28220           setting those caps on the pads.
28221
28222         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
28223           Before adding a ghost pad to a parent bin, check that there isn't
28224           already one for the element on the bin. Prevents infinite recursion
28225           when using decodebin in parse pipelines. Andy says he'll rewrite the
28226           way this works anyway, so ignore the hack.
28227
28228 2005-06-02  Andy Wingo  <wingo@pobox.com>
28229
28230         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
28231         file size, pass it on to the type find helper.
28232
28233         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
28234         segment_start and segment_end properly according to the seek
28235         method. Segment_end is still a bit flaky because offset can be
28236         negative for CUR and END cases, but it takes -1 as an "unset"
28237         value.
28238
28239 2005-06-02  Wim Taymans  <wim@fluendo.com>
28240
28241         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
28242         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
28243         (gst_basesink_activate):
28244         * gst/base/gstbasesink.h:
28245         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28246         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28247         (gst_pad_query), (gst_pad_start_task):
28248         * gst/gstpad.h:
28249         * gst/gstqueue.c: (gst_queue_bufferalloc),
28250         (gst_queue_handle_sink_event), (gst_queue_chain):
28251         Bufferalloc: return GstFlowReturn to more accuratly report
28252         why allocation failed.
28253
28254 2005-06-02  Wim Taymans  <wim@fluendo.com>
28255
28256         * gst/gstpipeline.c: (gst_pipeline_send_event):
28257         Take snapshot of state without blocking.
28258
28259 2005-06-02  Wim Taymans  <wim@fluendo.com>
28260
28261         * docs/design/part-TODO.txt:
28262         * docs/design/part-caps.txt:
28263         * docs/design/part-clocks.txt:
28264         * docs/design/part-negotiation.txt:
28265         * docs/design/part-preroll.txt:
28266         Small doc updates 
28267
28268 2005-05-30  Wim Taymans  <wim@fluendo.com>
28269
28270         * gst/elements/gstidentity.c: (gst_identity_event),
28271         (gst_identity_transform), (gst_identity_get_property):
28272         Protect last_message property as it is accessed from
28273         multiple threads.
28274
28275 2005-05-30  Wim Taymans  <wim@fluendo.com>
28276
28277         * gst/gstelement.c: (gst_element_init),
28278         (gst_element_pads_activate), (gst_element_change_state):
28279         Slicker pad activation code.
28280
28281 2005-05-30  Wim Taymans  <wim@fluendo.com>
28282
28283         * gst/Makefile.am:
28284         * gst/gstelement.h:
28285         * gst/gstelementfactory.h:
28286         * gst/gsttypes.h:
28287         Move elementfactory methods to separate .h file.
28288
28289 2005-05-30  Wim Taymans  <wim@fluendo.com>
28290
28291         * docs/design/part-overview.txt:
28292         * gst/gstsystemclock.h:
28293         Small typo fixes, doc updates.
28294
28295 2005-05-30  Wim Taymans  <wim@fluendo.com>
28296
28297         * gst/gst.c: (gst_init_get_popt_table), (init_post),
28298         (init_popt_callback):
28299         Remove cpu-opt flag.
28300
28301 2005-05-30  Wim Taymans  <wim@fluendo.com>
28302
28303         * gst/gstbuffer.c: (gst_subbuffer_finalize),
28304         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28305         * gst/gstbuffer.h:
28306         Avoid typechecking in places where not needed.
28307         Added accessor for malloc_data.
28308
28309 2005-05-30  Wim Taymans  <wim@fluendo.com>
28310
28311         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28312         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28313         (gst_pad_configure_sink), (gst_pad_configure_src),
28314         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28315         (gst_pad_start_task):
28316         Propagate errors from _set_caps() in configure_src/sink
28317         functions instead of returning TRUE.
28318         FLUSH events can travel up and downstream
28319
28320
28321 2005-05-30  Wim Taymans  <wim@fluendo.com>
28322
28323         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28324         (gst_basesink_activate):
28325         Handle EOS in preroll.
28326
28327 2005-05-30  Wim Taymans  <wim@fluendo.com>
28328
28329         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28330         (gst_queue_loop), (gst_queue_handle_src_event):
28331         Remove old pieces of code
28332         Flushing the queue in an upstream event is a very bad idea.
28333
28334 2005-05-26  Andy Wingo  <wingo@pobox.com>
28335
28336         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28337         gst_value_set_mini_object so as to add a ref on the object (which
28338         will be removed when the value is unset).
28339
28340         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28341         arg type in ::handoff.
28342
28343         * gst/gstelement.c (gst_element_change_state): Also deactivate
28344         pads in READY->NULL, just in case the element didn't make it to
28345         PAUSED. Wingo tested, Wim approved.
28346
28347 2005-05-26  Wim Taymans  <wim@fluendo.com>
28348
28349         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28350         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28351         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28352         A flushing pad cannot be used to alloc_buffer from.
28353
28354 2005-05-26  Wim Taymans  <wim@fluendo.com>
28355
28356         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28357         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28358         (gst_bus_source_dispatch), (gst_bus_source_finalize),
28359         (gst_bus_create_watch), (gst_bus_add_watch_full):
28360         * gst/gstbus.h:
28361         Implement a real GSource and use g_main_context_wakeup() to
28362         signal new messages instead of the socketpair.
28363
28364 2005-05-25  Wim Taymans  <wim@fluendo.com>
28365
28366         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28367         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28368         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28369         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28370         (gst_pad_send_event), (gst_pad_start_task):
28371         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28372         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28373         (gst_queue_sink_activate), (gst_queue_src_activate),
28374         (gst_queue_change_state):
28375         * gst/gstqueue.h:
28376         Fix state changes for non sinks. We now change sinks, then elements
28377         with unconnected srcpads, then the rest.
28378         More efficient queue unlocking in flush and state changes.
28379         Set the pad activate mode even if it does not have an activate
28380         function.
28381
28382 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28383
28384         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28385           Don't go in pull mode for non-seekable sources.
28386         * gst/elements/gsttypefindelement.h:
28387         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28388         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28389         (free_entry), (stop_typefinding),
28390         (gst_type_find_element_handle_event), (find_peek),
28391         (gst_type_find_element_chain), (do_pull_typefind),
28392         (gst_type_find_element_change_state):
28393           Allow typefinding (w/o seeking) in push-mode, simplified version
28394           of what was in 0.8.
28395         * gst/gstutils.c: (gst_buffer_join):
28396         * gst/gstutils.h:
28397           gst_buffer_join() from 0.8.
28398
28399 2005-05-25  Wim Taymans  <wim@fluendo.com>
28400
28401         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28402         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28403         (gst_pad_send_event), (gst_pad_start_task):
28404         Disable attempt at mode switching until it is figured out.
28405
28406 2005-05-25  Wim Taymans  <wim@fluendo.com>
28407
28408         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28409         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28410         (gst_basesink_finish_preroll), (gst_basesink_chain),
28411         (gst_basesink_loop), (gst_basesink_activate),
28412         (gst_basesink_change_state):
28413         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28414         (gst_basesrc_get_range), (gst_basesrc_loop),
28415         (gst_basesrc_activate):
28416         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28417         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28418         (gst_real_pad_init), (gst_real_pad_set_property),
28419         (gst_real_pad_get_property), (gst_pad_set_active),
28420         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28421         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28422         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28423         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28424         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28425         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28426         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28427         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28428         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28429         (gst_pad_stop_task):
28430         * gst/gstpad.h:
28431         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28432         (gst_queue_loop), (gst_queue_src_activate):
28433         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28434         (gst_task_get_state):
28435         * gst/gsttask.h:
28436         * gst/schedulers/threadscheduler.c:
28437         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28438         Implement gst_pad_pause/start/stop_task(), take STREAM lock
28439         in task function.
28440         Remove ACTIVE pad flag, use FLUSHING everywhere
28441         Added _pad_chain(), _pad_get_range() to call chain/getrange 
28442         functions.
28443         Add locks around IS_FLUSHING when reading.
28444         Take STREAM lock in chain(), get_range() functions so plugins
28445         don't need to take it anymore.
28446         
28447
28448
28449 2005-05-25  Wim Taymans  <wim@fluendo.com>
28450
28451         * tools/gst-launch.c: (event_loop):
28452         Unref message after using its contents instead of
28453         before.
28454
28455 2005-05-24  Wim Taymans  <wim@fluendo.com>
28456
28457         * docs/design/draft-ghostpads.txt:
28458         * docs/design/draft-push-pull.txt:
28459         * docs/design/draft-query.txt:
28460         * docs/design/part-overview.txt:
28461         Docs updates, added general overview doc.
28462
28463 2005-05-21  David Schleef  <ds@schleef.org>
28464
28465         * docs/gst/tmpl/old/GstBin.sgml:
28466         * docs/gst/tmpl/old/GstBuffer.sgml:
28467         * docs/gst/tmpl/old/GstCaps.sgml:
28468         * docs/gst/tmpl/old/GstClock.sgml:
28469         * docs/gst/tmpl/old/GstCompat.sgml:
28470         * docs/gst/tmpl/old/GstData.sgml:
28471         * docs/gst/tmpl/old/GstElement.sgml:
28472         * docs/gst/tmpl/old/GstEvent.sgml:
28473         * docs/gst/tmpl/old/GstIndex.sgml:
28474         * docs/gst/tmpl/old/GstStructure.sgml:
28475         * docs/gst/tmpl/old/GstTag.sgml:
28476         * docs/gst/tmpl/old/cothreads.sgml:
28477         * docs/gst/tmpl/old/cothreads_compat.sgml:
28478         * docs/gst/tmpl/old/gettext.sgml:
28479         * docs/gst/tmpl/old/gobject2gtk.sgml:
28480         * docs/gst/tmpl/old/grammar.tab.sgml:
28481         * docs/gst/tmpl/old/gst-i18n-app.sgml:
28482         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28483         * docs/gst/tmpl/old/gst_private.sgml:
28484         * docs/gst/tmpl/old/gstaggregator.sgml:
28485         * docs/gst/tmpl/old/gstarch.sgml:
28486         * docs/gst/tmpl/old/gstatomic_impl.sgml:
28487         * docs/gst/tmpl/old/gstbufferstore.sgml:
28488         * docs/gst/tmpl/old/gstdata_private.sgml:
28489         * docs/gst/tmpl/old/gstdisksink.sgml:
28490         * docs/gst/tmpl/old/gstdisksrc.sgml:
28491         * docs/gst/tmpl/old/gstelementfactory.sgml:
28492         * docs/gst/tmpl/old/gstextratypes.sgml:
28493         * docs/gst/tmpl/old/gstfakesink.sgml:
28494         * docs/gst/tmpl/old/gstfakesrc.sgml:
28495         * docs/gst/tmpl/old/gstfdsink.sgml:
28496         * docs/gst/tmpl/old/gstfdsrc.sgml:
28497         * docs/gst/tmpl/old/gstfilesink.sgml:
28498         * docs/gst/tmpl/old/gstfilesrc.sgml:
28499         * docs/gst/tmpl/old/gsthttpsrc.sgml:
28500         * docs/gst/tmpl/old/gstidentity.sgml:
28501         * docs/gst/tmpl/old/gstindexfactory.sgml:
28502         * docs/gst/tmpl/old/gstmarshal.sgml:
28503         * docs/gst/tmpl/old/gstmd5sink.sgml:
28504         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28505         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28506         * docs/gst/tmpl/old/gstpadtemplate.sgml:
28507         * docs/gst/tmpl/old/gstpipefilter.sgml:
28508         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28509         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28510         * docs/gst/tmpl/old/gstshaper.sgml:
28511         * docs/gst/tmpl/old/gstspider.sgml:
28512         * docs/gst/tmpl/old/gstspideridentity.sgml:
28513         * docs/gst/tmpl/old/gststatistics.sgml:
28514         * docs/gst/tmpl/old/gsttee.sgml:
28515         * docs/gst/tmpl/old/gsttimecache.sgml:
28516         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28517         * docs/gst/tmpl/old/gstxmlregistry.sgml:
28518         * docs/gst/tmpl/old/gthread-cothreads.sgml:
28519         * docs/gst/tmpl/old/types.sgml:
28520           I didn't intend to add these or check them in.
28521
28522 2005-05-19  David Schleef  <ds@schleef.org>
28523
28524         * configure.ac: Use -no-common everywhere.  In a sane world, it
28525           would be the default in libtool, because without it, you can't
28526           build DLLs on Windows.
28527         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28528         * docs/gst/gstreamer-sections.txt:
28529         * docs/gst/tmpl/gstcpu.sgml:
28530         * docs/gst/tmpl/gstdata.sgml:
28531         * docs/gst/tmpl/gstthread.sgml:
28532
28533 2005-05-19  David Schleef  <ds@schleef.org>
28534
28535         * gst/gstminiobject.c: (gst_value_set_mini_object),
28536         (gst_value_take_mini_object), (gst_value_get_mini_object):
28537         * gst/gstminiobject.h: Add GValue set/get functions.
28538
28539 2005-05-19  Wim Taymans  <wim@fluendo.com>
28540
28541         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28542         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28543         (gst_subbuffer_init), (gst_buffer_is_span_fast):
28544         * gst/gstbuffer.h:
28545         * gst/gstbus.c: (gst_bus_post):
28546         * gst/gstelement.c: (gst_element_get_random_pad):
28547         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28548         Make subbufer unref the parent in finalize.
28549         some more debugging info.
28550
28551
28552 2005-05-19  Wim Taymans  <wim@fluendo.com>
28553
28554         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28555         (gst_basesink_init), (gst_basesink_finalize),
28556         (gst_basesink_activate), (gst_basesink_change_state):
28557         Don't free preroll queue too early.
28558
28559 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28560
28561         * gst/Makefile.am:
28562         * gst/ROADMAP:
28563           Hi, I'm outdated. Please shoot me.
28564
28565 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28566
28567         * gst/gstpipeline.c: (gst_pipeline_send_event):
28568           Do not access variables after they have been deleted.
28569
28570 2005-05-19  Wim Taymans  <wim@fluendo.com>
28571
28572         * tools/gst-inspect.c: (print_plugin_features):
28573         A plugin feature does unfortunatly not use the
28574         object name yet...
28575
28576 2005-05-18  Wim Taymans  <wim@fluendo.com>
28577
28578         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28579         Port _span() functions to new subbuffers.
28580
28581 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28582
28583         * gst/gstbin.c: (gst_bin_add_func):
28584           Fix clock settery in bins when adding kids after the clock has
28585           been selected.
28586
28587 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28588
28589         * gst/elements/gstidentity.c: (gst_identity_class_init):
28590           Workaround until signals support GstMiniObject.
28591
28592 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28593
28594         * gst/gstbuffer.c:
28595         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28596
28597 2005-05-18  Wim Taymans  <wim@fluendo.com>
28598
28599         * gst/base/Makefile.am:
28600         * gst/base/gstadapter.c: (gst_adapter_base_init),
28601         (gst_adapter_class_init), (gst_adapter_init),
28602         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28603         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28604         (gst_adapter_flush), (gst_adapter_available),
28605         (gst_adapter_available_fast):
28606         * gst/base/gstadapter.h:
28607         Ported and added adapter to the base classes.
28608
28609 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28610
28611         * gst/gst.c:
28612         * gst/gstmessage.c:
28613           Make sure the class is reffed/unreffed once before threads can be
28614           used.  Fixes #304551.
28615
28616 2005-05-17  Wim Taymans  <wim@fluendo.com>
28617
28618         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28619         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28620         * gst/gstminiobject.c: (gst_mini_object_get_type),
28621         (gst_mini_object_free):
28622         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28623         (gst_pad_push), (gst_pad_push_event):
28624         * gst/gstqueue.c: (gst_queue_change_state):
28625         Don't queue buffers in basesink when we are flushing.
28626         Unref buffer when flushing in basesink.
28627         Flush queue when going to READY
28628         Unref buffer when _push() returns an error.
28629         Don't free MiniObject instance when refcount is incremented
28630         in _finalize() so that we can recover objects.
28631
28632 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28633
28634         * docs/manual/advanced-schedulers.xml:
28635         * docs/manual/appendix-checklist.xml:
28636         * docs/pwg/advanced-clock.xml:
28637         * docs/pwg/advanced-interfaces.xml:
28638         * docs/pwg/advanced-request.xml:
28639         * docs/pwg/advanced-types.xml:
28640         * docs/pwg/intro-preface.xml:
28641         * examples/plugins/example.c: (gst_example_get_type),
28642         (gst_example_class_init), (gst_example_chain),
28643         (gst_example_set_property), (gst_example_get_property),
28644         (gst_example_change_state), (plugin_init):
28645         * examples/plugins/example.h:
28646           small doc fixes
28647
28648 2005-05-17  Wim Taymans  <wim@fluendo.com>
28649
28650         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28651         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28652         * gst/gstqueue.c: (gst_queue_change_state):
28653         Clear queue when going to READY.
28654         Remove IN_SETCAPS flag too.
28655
28656 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28657
28658         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28659           Remove implicit cast from gboolean to GstElementStateReturn;
28660           make sure we still return failure in paused => ready case if
28661           the parent class fails to change state and our own stop 
28662           vfunc succeeds.
28663
28664 2005-05-17  Wim Taymans  <wim@fluendo.com>
28665
28666         * tools/gst-launch.c: (event_loop):
28667         Message was unreffed too soon.
28668
28669 2005-05-16  Andy Wingo  <wingo@pobox.com>
28670
28671         * gst/gstbin.c (sink_iterator_filter): Err... um...
28672
28673         * check/gst/gstbin.c (test_ghost_pads): New test for the
28674         ghosting-if-elements-not-in-same-bin behavior.
28675
28676 2005-05-16  David Schleef  <ds@schleef.org>
28677
28678         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28679         accessing refcount directly.
28680
28681 2005-05-15  David Schleef  <ds@schleef.org>
28682
28683         * check/Makefile.am: remove GstData checks
28684         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28685         * gst/Makefile.am: add miniobject, remove data
28686         * gst/gst.h: add miniobject, remove data
28687         * gst/gstdata.c: remove
28688         * gst/gstdata.h: remove
28689         * gst/gstdata_private.h: remove
28690         * gst/gsttypes.h: remove GstEvent and GstMessage
28691         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28692         * gst/gstmarshal.list: change BOXED -> OBJECT
28693
28694         Implement GstMiniObject.
28695         * gst/gstminiobject.c:
28696         * gst/gstminiobject.h:
28697
28698         Modify to be subclasses of GstMiniObject.
28699         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28700         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28701         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28702         (gst_subbuffer_get_type), (gst_subbuffer_init),
28703         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28704         (gst_buffer_span):
28705         * gst/gstbuffer.h:
28706         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28707         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28708         (_gst_event_copy), (gst_event_new):
28709         * gst/gstevent.h:
28710         * gst/gstmessage.c: (_gst_message_initialize),
28711         (gst_message_get_type), (gst_message_class_init),
28712         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28713         (gst_message_new), (gst_message_new_error),
28714         (gst_message_new_warning), (gst_message_new_tag),
28715         (gst_message_new_state_changed), (gst_message_new_application):
28716         * gst/gstmessage.h:
28717         * gst/gstprobe.c: (gst_probe_perform),
28718         (gst_probe_dispatcher_dispatch):
28719         * gst/gstprobe.h:
28720         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28721         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28722         (_gst_query_copy), (gst_query_new):
28723
28724         Update elements for GstData -> GstMiniObject changes
28725         * gst/gstquery.h:
28726         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28727         (gst_queue_chain), (gst_queue_loop):
28728         * gst/elements/gstbufferstore.c:
28729         (gst_buffer_store_add_buffer_func),
28730         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28731         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28732         (gst_fakesink_render):
28733         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28734         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28735         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28736         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28737         (gst_filesrc_create_read):
28738         * gst/elements/gstidentity.c: (gst_identity_class_init):
28739         * gst/elements/gsttypefindelement.c:
28740         (gst_type_find_element_src_event), (free_entry_buffers),
28741         (gst_type_find_element_handle_event):
28742         * libs/gst/dataprotocol/dataprotocol.c:
28743         (gst_dp_header_from_buffer):
28744         * libs/gst/dataprotocol/dataprotocol.h:
28745         * libs/gst/dataprotocol/dp-private.h:
28746
28747 2005-05-15  David Schleef  <ds@schleef.org>
28748
28749         * gst/elements/gstelements.c: Don't include headers that were
28750         just removed.
28751
28752 2005-05-15  David Schleef  <ds@schleef.org>
28753
28754         * gst/elements/Makefile.am: Remove some elements that don't
28755         need to be in the core (or even exist at all).
28756         * gst/elements/gstaggregator.c:
28757         * gst/elements/gstaggregator.h:
28758         * gst/elements/gstmd5sink.c:
28759         * gst/elements/gstmd5sink.h:
28760         * gst/elements/gstmultifilesrc.c:
28761         * gst/elements/gstmultifilesrc.h:
28762         * gst/elements/gstpipefilter.c:
28763         * gst/elements/gstpipefilter.h:
28764         * gst/elements/gstshaper.c:
28765         * gst/elements/gstshaper.h:
28766         * gst/elements/gststatistics.c:
28767         * gst/elements/gststatistics.h:
28768         * po/POTFILES.in: Remove above files.
28769
28770 2005-05-14  Andy Wingo  <wingo@pobox.com>
28771
28772         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28773         so as to get the refs right.
28774         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28775         unreffing objects that don't pass the filter.
28776
28777         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28778         gst_element_set_bus.
28779         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28780         normal cases, this will destroy the bus.
28781
28782         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28783         object.
28784
28785         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28786         has no sinks.
28787
28788 2005-05-13  Andy Wingo  <wingo@pobox.com>
28789
28790         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28791         gst_pad_link, call pad_link_maybe_ghosting,
28792         (pad_link_maybe_ghosting): Links pads, making sure that the
28793         elements being linked are in the same bin.
28794         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28795         Helpers for pad_link_maybe_ghosting.
28796
28797 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28798
28799         * configure.ac:
28800           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28801
28802 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28803
28804         * docs/design/part-element-source.txt:
28805           Mention GstPushSrc
28806
28807 2005-05-12  Wim Taymans  <wim@fluendo.com>
28808
28809         * gst/base/gstbasesink.c: (gst_basesink_init),
28810         (gst_basesink_activate):
28811         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28812         (gst_basesrc_is_seekable):
28813         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28814         (bin_element_is_sink), (gst_bin_change_state):
28815         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28816         * gst/gstelement.h:
28817         Identify sinks by their flag to avoid overly complicated
28818         checks (fow now).
28819         Do state changes even for elements not reachable from the
28820         sinks.
28821         BaseSink is a sink now :)
28822         Some more debugging info in the basesrc.
28823
28824
28825 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28826
28827         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28828           Implement _query on a bin, similar to _send_event.
28829
28830 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28831
28832         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28833           Discont event offset format should be GST_FORMAT_BYTES,
28834           not GST_FORMAT_TIME.
28835
28836 2005-05-12  Wim Taymans  <wim@fluendo.com>
28837
28838         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28839         Same fix as Ronald's but without the signal. 
28840
28841 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28842
28843         * gst/gstutils.c: (gst_element_query_position):
28844           No, an element is not a pad.
28845
28846 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28847
28848         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28849         (gst_bin_get_state):
28850           If a child is removed from a bin while we remove the child from
28851           the bin and while we're retrieving its state, signal this to the
28852           get_state function so we abort the wait (instead of waiting for
28853           a timeout) and can immediately re-iterate over all other elements.
28854
28855 2005-05-12  Wim Taymans  <wim@fluendo.com>
28856
28857         * gst/base/Makefile.am:
28858         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28859         (gst_basesrc_start):
28860         * gst/base/gstbasesrc.h:
28861         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28862         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28863         (gst_pushsrc_init), (gst_pushsrc_create):
28864         * gst/base/gstpushsrc.h:
28865         Added is_seekable to BaseSrc
28866         Added simple PushSrc.
28867
28868 2005-05-11  Wim Taymans  <wim@fluendo.com>
28869
28870         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28871         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28872         (gst_element_link_pads), (gst_element_query_position),
28873         (gst_element_query_convert), (intersect_caps_func),
28874         (gst_pad_query_position), (gst_pad_query_convert):
28875         Fix refcounting in utils function.
28876         No point in trying to activate a pad when it's added, it could
28877         be added from the state change function and then we deadlock, the
28878         element has to decide what to do.
28879
28880 2005-05-10  Andy Wingo  <wingo@pobox.com>
28881
28882         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28883         *all* the arguments.
28884
28885         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28886         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28887         lock (according to the docs -- if this is wrong change the docs).
28888
28889         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28890         flush messages in the NULL state.
28891
28892         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28893         message immediately and return.
28894         (gst_bus_set_flushing): New function. If a bus is flushing, it
28895         flushes out any queued messages and immediately unrefs new
28896         messages. This is so when an element goes to NULL, all of the
28897         unhandled messages coming from it can be freed, and their
28898         references to the element dropped. In other words: message source
28899         ref considered harmful :P
28900
28901         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28902         we're finished with it.
28903
28904         * gst/gstmessage.c (gst_message_new_state_changed): 
28905
28906 2005-05-10  Wim Taymans  <wim@fluendo.com>
28907
28908         * gst/gstvalue.c: (gst_value_compare_flags),
28909         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28910         (_gst_value_initialize):
28911         Added flags serialize/deserialize/compare code.
28912
28913 2005-05-09  Andy Wingo  <wingo@pobox.com>
28914
28915         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28916         Intersect the peer's caps with our caps.
28917
28918 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28919
28920         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28921         * gst/elements/gsttypefindelement.c: (find_peek):
28922           Handle negative offsets better. Fixes decodebin.
28923
28924 2005-05-09  Wim Taymans  <wim@fluendo.com>
28925
28926         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28927         (gst_base_transform_event):
28928         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28929         Implement accept_caps.
28930         Fix silly lock/unlock mismatch in base class.
28931
28932 2005-05-09  Wim Taymans  <wim@fluendo.com>
28933
28934         * docs/design/draft-push-pull.txt:
28935         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28936         * gst/elements/gstfilesink.c: (gst_filesink_init),
28937         (gst_filesink_query):
28938         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28939         (gst_type_find_handle_src_query), (find_element_get_length):
28940         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28941         * gst/gstelement.h:
28942         * gst/gstmessage.c:
28943         * gst/gstmessage.h:
28944         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28945         (gst_real_pad_get_caps_unlocked),
28946         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28947         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28948         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28949         (gst_real_pad_dispose), (gst_real_pad_finalize),
28950         (gst_pad_load_and_link), (gst_pad_save_thyself),
28951         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28952         (gst_pad_check_pull_range), (gst_pad_pull_range),
28953         (gst_pad_template_get_type), (gst_pad_template_class_init),
28954         (gst_pad_template_init), (gst_pad_template_dispose),
28955         (name_is_valid), (gst_static_pad_template_get),
28956         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28957         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28958         (gst_pad_get_element_private), (gst_pad_start_task),
28959         (gst_pad_pause_task), (gst_pad_stop_task),
28960         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28961         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28962         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28963         (gst_ghost_pad_new):
28964         * gst/gstpad.h:
28965         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28966         (gst_query_new_position), (gst_query_set_position),
28967         (gst_query_parse_position), (gst_query_new_convert),
28968         (gst_query_set_convert), (gst_query_parse_convert):
28969         * gst/gstquery.h:
28970         * gst/gstqueryutils.c:
28971         * gst/gstqueryutils.h:
28972         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28973         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28974         (gst_queue_handle_src_query):
28975         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28976         (gst_element_query_position), (gst_element_query_convert),
28977         (intersect_caps_func), (gst_pad_query_position),
28978         (gst_pad_query_convert):
28979         * gst/gstutils.h:
28980         * tools/gst-inspect.c: (print_pad_info):
28981         * tools/gst-xmlinspect.c: (print_element_info):
28982         Remove old query functions. Ported old code.
28983         Added position/convert helper functions to gstutils.
28984         Reordered gstpad.c code, grouping relevant things.
28985         Remove gst_message_new(), always need to speficy a specific
28986         message.
28987
28988
28989 2005-05-09  Andy Wingo  <wingo@pobox.com>
28990
28991         * gst/gstiterator.h: Add some includes.
28992
28993         * gst/gstqueryutils.h: Include more headers.
28994
28995         * gst/gstpad.h:
28996         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28997         some uses of gst_pad_query.
28998
28999         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
29000         NULL out parameters.
29001         (gst_query_new_position): New proc, allocates a new position
29002         query.
29003
29004         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
29005         gstqueryutils.c to the build.
29006
29007         * gst/gststructure.c (gst_structure_set_valist): Implement with
29008         the generic G_VALUE_COLLECT.
29009         
29010 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
29011
29012         * gst/Makefile.am: (gst_headers):
29013         Added gstqueryutils.h to the list of headers to install, that was
29014         a 'nachty' move wingo :)
29015
29016 2005-05-06  Andy Wingo  <wingo@pobox.com>
29017
29018         * gst/gstquery.h
29019         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
29020         GstData, init a memchunk.
29021         (standard_definitions): Add a few query types, deprecate a few.
29022         (gst_query_get_type): New proc.
29023         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
29024         implementation.
29025         (gst_query_new_application, gst_query_get_structure): New public
29026         procs.
29027
29028         * docs/design/draft-query.txt: Removed LINKS from the query types,
29029         because all the rest can be dispatched to other pads -- seemed
29030         ugly to have a query that couldn't be dispatched. internal_links
29031         is fine as a pad method.
29032
29033         * gst/gstpad.h: Add query2 as a pad method, add the new functions
29034         in gstpad.c, but maintain binary compatibility for the moment.
29035         Will fix before 0.9 is out.
29036
29037         * gst/gstqueryutils.c: 
29038         * gst/gstqueryutils.h: New files, implement 3 methods for each
29039         query type: parse_query, parse_response, and set. Probably need an
29040         allocator as well.
29041
29042         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
29043
29044         * gst/elements/gstfilesink.c (gst_filesink_query2):
29045         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
29046         query_types, and formats methods.
29047
29048         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
29049         (gst_pad_set_query2_function): New functions.
29050         (gst_real_pad_init): Set query2_default as the default query2
29051         function. Basically just dispatches to internally linked pads.
29052
29053         Needs review!
29054         
29055         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
29056         without using the atomic operations. Only one thread can possibly
29057         be accessing the data at this point. Changed so as to avoid
29058         gst_atomic operations.
29059
29060 2005-05-06  Wim Taymans  <wim@fluendo.com>
29061
29062         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
29063         Also set caps if we use the fallback buffer alloc.
29064
29065 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
29066
29067         * docs/gst/Makefile.am:
29068         * docs/gst/gstreamer-docs.sgml:
29069         * docs/gst/gstreamer-sections.txt:
29070         * docs/gst/tmpl/gstatomic.sgml:
29071         * docs/gst/tmpl/gstmemchunk.sgml:
29072         * testsuite/elements/struct_i386.h:
29073         * win32/GStreamer.vcproj:
29074         * win32/Makefile:
29075           Purge GstAtomic stuff from docs and win32 makefiles as well
29076
29077 2005-05-06  Wim Taymans  <wim@fluendo.com>
29078
29079         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
29080         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
29081         * gst/gstpad.c: (gst_pad_peer_get_caps):
29082         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
29083         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
29084         (gst_queue_src_activate), (gst_queue_change_state):
29085         * gst/gstqueue.h:
29086         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29087         (intersect_caps_func):
29088         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
29089         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
29090         Some fixes for the peer_get_caps() change.
29091
29092 2005-05-06  Wim Taymans  <wim@fluendo.com>
29093
29094         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29095         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
29096         (gst_basesink_activate):
29097         Actually do something with error codes returned from the push
29098         functions.
29099
29100 2005-05-06  Wim Taymans  <wim@fluendo.com>
29101
29102         * docs/design/part-element-sink.txt:
29103         * docs/design/part-element-source.txt:
29104         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29105         (gst_basesink_event), (gst_basesink_activate):
29106         * gst/base/gstbasesink.h:
29107         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
29108         (gst_basesrc_activate):
29109         * gst/base/gstbasesrc.h:
29110         * gst/gstelement.c: (gst_element_pads_activate):
29111         Some more documentation.
29112         Fixed scheduling decision in _pads_activate().
29113
29114 2005-05-05  Andy Wingo  <wingo@pobox.com>
29115
29116         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
29117         the test suite.
29118
29119 2005-05-05  Wim Taymans  <wim@fluendo.com>
29120
29121         * gst/base/Makefile.am:
29122         * gst/base/gstbasesink.h:
29123         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29124         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
29125         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
29126         (gst_collectpads_class_init), (gst_collectpads_init),
29127         (gst_collectpads_finalize), (gst_collectpads_new),
29128         (gst_collectpads_set_function), (gst_collectpads_add_pad),
29129         (find_pad), (gst_collectpads_remove_pad),
29130         (gst_collectpads_is_active), (gst_collectpads_collect),
29131         (gst_collectpads_collect_range), (gst_collectpads_start),
29132         (gst_collectpads_stop), (gst_collectpads_peek),
29133         (gst_collectpads_pop), (gst_collectpads_available),
29134         (gst_collectpads_read), (gst_collectpads_flush),
29135         (gst_collectpads_chain):
29136         * gst/base/gstcollectpads.h:
29137         * gst/elements/Makefile.am:
29138         * gst/elements/gstelements.c:
29139         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29140         (gst_fakesink_get_times), (gst_fakesink_event),
29141         (gst_fakesink_preroll), (gst_fakesink_render):
29142         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
29143         (gst_filesink_init), (gst_filesink_set_location),
29144         (gst_filesink_open_file), (gst_filesink_close_file),
29145         (gst_filesink_pad_query), (gst_filesink_event),
29146         (gst_filesink_render), (gst_filesink_change_state):
29147         * gst/elements/gstfilesink.h:
29148         Added object to help in making collect pad based elements.
29149         Ported filesink.
29150         Make event function in sink baseclass return gboolean.
29151
29152 2005-05-05  Wim Taymans  <wim@fluendo.com>
29153
29154         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
29155         (gst_bin_get_by_name):
29156         * gst/gstbuffer.h:
29157         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
29158         (gst_clock_finalize):
29159         * gst/gstdata.c: (gst_data_replace):
29160         * gst/gstdata.h:
29161         * gst/gstelement.c: (gst_element_request_pad),
29162         (gst_element_pads_activate):
29163         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
29164         (gst_object_unref):
29165         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29166         (gst_pad_set_checkgetrange_function),
29167         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
29168         (gst_pad_check_pull_range), (gst_pad_pull_range),
29169         (gst_static_pad_template_get_caps), (gst_pad_start_task),
29170         (gst_pad_pause_task), (gst_pad_stop_task):
29171         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29172         (gst_element_request_pad), (gst_pad_proxy_getcaps):
29173         Fix name lookup in GstBin.
29174         Added _data_replace() function and _buffer_replace()
29175         Use finalize method to clean up clock.
29176         Fix refcounting on request pads.
29177         Fix pad schedule mode error.
29178         Some more object refcounting debug info,
29179
29180
29181 2005-05-04  Andy Wingo <wingo@pobox.com>
29182
29183         * check/Makefile.am:
29184         * docs/gst/tmpl/gstatomic.sgml:
29185         * docs/gst/tmpl/gstplugin.sgml:
29186         * gst/base/gstbasesink.c: (gst_basesink_activate):
29187         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
29188         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
29189         (gst_basesrc_query), (gst_basesrc_set_property),
29190         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
29191         (gst_basesrc_activate):
29192         * gst/base/gstbasesrc.h:
29193         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
29194         (gst_base_transform_src_activate):
29195         * gst/elements/gstelements.c:
29196         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29197         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29198         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29199         * gst/elements/gsttypefindelement.c: (find_element_get_length),
29200         (gst_type_find_element_checkgetrange),
29201         (gst_type_find_element_activate):
29202         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
29203         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
29204         (gst_caps_load_thyself):
29205         * gst/gstelement.c: (gst_element_pads_activate),
29206         (gst_element_save_thyself), (gst_element_restore_thyself):
29207         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
29208         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
29209         * gst/gstpad.h:
29210         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
29211         (gst_xml_parse_file), (gst_xml_parse_memory),
29212         (gst_xml_get_element), (gst_xml_make_element):
29213         * gst/indexers/gstfileindex.c: (gst_file_index_load),
29214         (_file_index_id_save_xml), (gst_file_index_commit):
29215         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
29216         (read_enum), (load_pad_template), (load_feature), (load_plugin),
29217         (load_paths):
29218         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
29219         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
29220         * tools/gst-complete.c: (main):
29221         * tools/gst-compprep.c: (main):
29222         * tools/gst-inspect.c: (print_element_properties_info):
29223         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
29224         * tools/gst-xmlinspect.c: (print_element_properties):
29225         GCC 4 fixen.
29226         
29227 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
29228
29229         * gst/gstplugin.c: (gst_plugin_check_module),
29230         (gst_plugin_check_file), (gst_plugin_load_file):
29231             apply patch from #172526 to make register work on MacOSX
29232
29233 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29234
29235         * docs/gst/tmpl/gstconfig.sgml:
29236         * gst/gstconfig.h.in:
29237           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
29238         * testsuite/debug/printf_extension.c: (main):
29239           Do not use GST_PTR_FORMAT on pointers to types with
29240           sizeof < sizeof(gpointer).  Fixes test on 64-bit
29241         * testsuite/elements/property.h:
29242           use correct printf format
29243
29244 2005-05-02  Wim Taymans  <wim@fluendo.com>
29245
29246         * docs/design/draft-push-pull.txt:
29247         * docs/design/draft-query.txt:
29248         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
29249         (gst_basesrc_start):
29250         Added draft for new query API.
29251         Added draft for better selecting scheduling methods.
29252         Make basesrc ignore length if the subclass does not support
29253         it.
29254
29255 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29256
29257         * gst/Makefile.am:
29258           possible fixes for automake-1.5 - _LIBADD is reserved
29259
29260 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29261
29262         * docs/faq/Makefile.am:
29263         * docs/manual/Makefile.am:
29264         * docs/manuals.mak:
29265         * docs/pwg/Makefile.am:
29266         * gst/Makefile.am:
29267           possible fixes for automake-1.5
29268
29269 2005-04-28  Wim Taymans  <wim@fluendo.com>
29270
29271         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29272         (gst_basesink_pad_getcaps), (gst_basesink_init),
29273         (gst_basesink_do_sync):
29274         * gst/gstclock.c: (gst_clock_entry_new):
29275         * gst/gstevent.c: (gst_event_discont_get_value):
29276         * gst/gstpipeline.c: (pipeline_bus_handler),
29277         (gst_pipeline_change_state):
29278         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29279         Better debugging of clocking info.
29280         Allow NULL values when getting discont values.
29281
29282 2005-04-27  Wim Taymans  <wim@fluendo.com>
29283
29284         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29285         * check/gst/gstpad.c: (gst_pad_suite):
29286         Increase timeout for checks.
29287
29288 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29289
29290         * check/Makefile.am:
29291           fix the broken rule for cleanup.  Apparently this rule is
29292           only needed on FC2, so maybe this warrants further autotool
29293           inspection.
29294
29295 2005-04-26  Wim Taymans  <wim@fluendo.com>
29296
29297         * gst/gsttrashstack.h:
29298         Ooohh. a nasty one! After having a failed pop() from the stack,
29299         it's possible that the stack is empty. In that case, don't
29300         follow the NULL pointer.
29301
29302 2005-04-25  Wim Taymans  <wim@fluendo.com>
29303
29304         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29305         (gst_pad_set_checkgetrange_function),
29306         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29307         (gst_pad_check_pull_range), (gst_pad_pull_range),
29308         (gst_static_pad_template_get_caps), (gst_pad_start_task),
29309         (gst_pad_pause_task), (gst_pad_stop_task):
29310         * gst/gstplugin.c: (gst_plugin_load):
29311         * gst/gstplugin.h:
29312         Remove gst_library_load as it does more harm than good with
29313         the new g_module flags.
29314         Revert bogus caps template check in pad linking, pad caps
29315         are important when linking not the template, which is more
29316         general than the current caps.
29317
29318 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29319
29320         * gst/autoplug/.cvsignore:
29321         * gst/autoplug/Makefile.am:
29322         * gst/autoplug/gstsearchfuncs.c:
29323         * gst/autoplug/gstsearchfuncs.h:
29324         * gst/autoplug/gstspider.c:
29325         * gst/autoplug/gstspider.h:
29326         * gst/autoplug/gstspideridentity.c:
29327         * gst/autoplug/gstspideridentity.h:
29328         * gst/autoplug/spidertest.c:
29329           Die, spider, die.
29330
29331 2005-04-25  Wim Taymans  <wim@fluendo.com>
29332
29333         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29334         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29335         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29336         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29337         * gst/gstpad.h:
29338         Added stubs for unimplemented functions. 
29339
29340 2005-04-24  David Schleef  <ds@schleef.org>
29341
29342         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
29343         please fix.
29344
29345 2005-04-24  David Schleef  <ds@schleef.org>
29346
29347         Convert everything from GstAtomicInt to g_atomic_int_*, and
29348         remove gstatomic.
29349         * gst/Makefile.am:
29350         * gst/gstatomic.c:
29351         * gst/gstatomic.h:
29352         * gst/gstatomic_impl.h:
29353         * gst/gstbuffer.c:
29354         * gst/gstcaps.c:
29355         * gst/gstcaps.h:
29356         * gst/gstclock.c:
29357         * gst/gstclock.h:
29358         * gst/gstdata.c:
29359         * gst/gstdata.h:
29360         * gst/gstdata_private.h:
29361         * gst/gstevent.c:
29362         * gst/gstinfo.c:
29363         * gst/gstinfo.h:
29364         * gst/gstmessage.c:
29365         * gst/gstobject.c:
29366         * gst/gstobject.h:
29367         * gst/gststructure.c:
29368         * gst/gststructure.h:
29369         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29370         * gst/gstutils.h:
29371
29372 2005-04-24  David Schleef  <ds@schleef.org>
29373
29374         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29375         make the regressions tests work.  Remove some code that is no
29376         longer true.
29377         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29378         Disable warning for pads without templates.
29379
29380 2005-04-24  David Schleef  <ds@schleef.org>
29381
29382         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
29383         functions that handle filtered links.
29384         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29385         removed functions.
29386         * gst/gstutils.c: Fix/remove utility functions that handle
29387         filtered caps.
29388         * gst/gstutils.h:
29389         * gst/gstvalue.c: Add serialization/deserialization of caps
29390         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
29391         requires fixing so that the filter caps notation creates
29392         a capsfilter element and sets the filter_caps property.  I
29393         think everyone probably wants to keep the shorthand notation.
29394         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29395         * docs/gst/tmpl/gstpad.sgml:
29396
29397         * gst/elements/gstelements.c: Register capsfilter element.
29398         * gst/Makefile.am: fix spacing
29399         * docs/random/ds/0.9-suggested-changes: random
29400
29401 2005-04-23  David Schleef  <ds@schleef.org>
29402
29403         * gst/elements/Makefile.am:
29404         * gst/elements/gstcapsfilter.c: New element that acts like an
29405         identity, but filters caps.  Will eventually replace filtered
29406         caps in pad linking.
29407         * gst/gstutils.c: (gst_element_create_all_pads): New function
29408         to create all the ALWAYS pads that are registered with an
29409         element class.  This functionality should eventually be
29410         merged in with GstElement initialization.
29411         * gst/gstutils.h:
29412         * testsuite/trigger/README: part of trigger test code that should
29413         have been checked in a long time ago.
29414
29415 2005-04-23  David Schleef  <ds@schleef.org>
29416
29417         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
29418         needed with new versions of libtool (nobody will confirm this),
29419         and hard to carry around.
29420         * gst/autoplug/Makefile.am:
29421         * gst/base/Makefile.am:
29422         * gst/elements/Makefile.am:
29423         * gst/indexers/Makefile.am:
29424         * gst/schedulers/Makefile.am:
29425         * libs/gst/bytestream/Makefile.am:
29426         * libs/gst/control/Makefile.am:
29427         * libs/gst/dataprotocol/Makefile.am:
29428         * libs/gst/getbits/Makefile.am:
29429
29430 2005-04-21  Wim Taymans  <wim@fluendo.com>
29431
29432         * docs/design/draft-push-pull.txt:
29433         * docs/design/part-MT-refcounting.txt:
29434         * docs/design/part-TODO.txt:
29435         * docs/design/part-caps.txt:
29436         * docs/design/part-events.txt:
29437         * docs/design/part-gstbus.txt:
29438         * docs/design/part-gstpipeline.txt:
29439         * docs/design/part-messages.txt:
29440         * docs/design/part-push-pull.txt:
29441         * docs/design/part-query.txt:
29442         Some more docs.
29443
29444 2005-04-21  Wim Taymans  <wim@fluendo.com>
29445
29446         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29447         (gst_message_new), (gst_message_new_error),
29448         (gst_message_new_warning), (gst_message_new_tag),
29449         (gst_message_new_state_changed), (gst_message_new_application),
29450         (gst_message_get_structure):
29451         * gst/gstmessage.h:
29452         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29453         (gst_structure_copy_conditional):
29454         Use parent refcount in GstMessage to ensure GstStructure
29455         consistency.
29456         Cleaned up headers a bit.
29457         
29458
29459 2005-04-20  Wim Taymans  <wim@fluendo.com>
29460
29461         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29462         (gst_basesink_pad_getcaps), (gst_basesink_init),
29463         (gst_basesink_chain_unlocked):
29464         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29465         (gst_type_find_helper):
29466         * gst/elements/gsttypefindelement.c:
29467         (gst_type_find_element_have_type), (gst_type_find_element_init),
29468         (stop_typefinding), (gst_type_find_element_handle_event),
29469         (find_suggest), (gst_type_find_element_chain),
29470         (gst_type_find_element_checkgetrange),
29471         (gst_type_find_element_getrange), (do_typefind),
29472         (gst_type_find_element_activate):
29473         * gst/gstbuffer.c: (_gst_buffer_sub_free),
29474         (gst_buffer_default_free), (gst_buffer_default_copy),
29475         (gst_buffer_set_caps):
29476         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29477         (gst_caps_replace):
29478         * gst/gstmessage.c: (gst_message_new),
29479         (gst_message_new_state_changed):
29480         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29481         (gst_pad_set_checkgetrange_function),
29482         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29483         (gst_pad_set_caps), (gst_pad_check_pull_range),
29484         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29485         * gst/gstpad.h:
29486         * gst/gsttypefind.c: (gst_type_find_register):
29487         Make gst_caps_replace() work like other _replace() functions.
29488         Use _caps_replace() where possible.
29489         Make sure _message_new() initialises its field.
29490         Add gst_static_pad_template_get_caps()
29491
29492
29493 2005-04-18  Andy Wingo  <wingo@pobox.com>
29494
29495         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29496         on the peer, not the pad. I think that was a typo. Pass an extra
29497         arg to see if random access is possible. Activate the pads as
29498         PULL_RANGE if possible.
29499
29500         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29501
29502         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
29503         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29504         to PROP_....
29505
29506 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29507
29508         * docs/faq/using.xml:
29509           Add note on gstreamer-properties (#154996).
29510
29511 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29512
29513         * docs/random/bbb/optional-properties:
29514           Some analysis on optional properties.
29515
29516 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29517
29518         * docs/gst/tmpl/gstelementfactory.sgml:
29519         * gst/gstelement.h:
29520         * gst/gstelementfactory.c: (gst_element_factory_init),
29521         (gst_element_factory_cleanup), (gst_element_register),
29522         (__gst_element_factory_add_static_pad_template),
29523         (gst_element_factory_get_static_pad_templates),
29524         (gst_element_factory_can_src_caps),
29525         (gst_element_factory_can_sink_caps):
29526         * gst/registries/Makefile.am:
29527         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29528         (gst_xml_registry_class_init), (gst_xml_registry_init),
29529         (gst_xml_registry_new), (gst_xml_registry_set_property),
29530         (gst_xml_registry_get_property), (get_time), (make_dir),
29531         (gst_xml_registry_get_perms_func),
29532         (plugin_times_older_than_recurse), (plugin_times_older_than),
29533         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29534         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29535         (add_to_char_array), (read_string), (read_uint), (read_enum),
29536         (load_pad_template), (load_feature), (load_plugin), (load_paths),
29537         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29538         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29539         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29540         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29541         (gst_xml_registry_rebuild):
29542         * gst/registries/gstlibxmlregistry.h:
29543         * tools/gst-compprep.c: (main):
29544         * tools/gst-inspect.c: (print_pad_templates_info):
29545         * tools/gst-xmlinspect.c: (print_element_info):
29546           Use libxml2 for registry parsing, use staticpadtemplates in
29547           elementfactories. Makes gst_init() +/- 10x faster.
29548
29549 2005-04-12  Wim Taymans  <wim@fluendo.com>
29550
29551         * gst/base/Makefile.am:
29552         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29553         (gst_basesink_pad_getcaps), (gst_basesink_init),
29554         (gst_basesink_event), (gst_basesink_change_state):
29555         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29556         (gst_basesrc_init), (gst_basesrc_query),
29557         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29558         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29559         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29560         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29561         (gst_basesrc_stop), (gst_basesrc_activate),
29562         (gst_basesrc_change_state):
29563         * gst/base/gsttypefindhelper.c: (helper_find_peek),
29564         (helper_find_suggest), (gst_type_find_helper):
29565         * gst/base/gsttypefindhelper.h:
29566         * gst/elements/Makefile.am:
29567         * gst/elements/gstelements.c:
29568         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29569         (gst_fakesink_get_times), (gst_fakesink_event),
29570         (gst_fakesink_preroll), (gst_fakesink_render):
29571         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29572         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29573         (gst_fakesrc_get_property), (gst_fakesrc_create),
29574         (gst_fakesrc_start), (gst_fakesrc_stop):
29575         * gst/elements/gstfakesrc.h:
29576         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29577         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29578         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29579         (gst_filesrc_create_read), (gst_filesrc_create),
29580         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29581         (gst_filesrc_start):
29582         * gst/elements/gsttypefindelement.c:
29583         (gst_type_find_element_have_type), (gst_type_find_element_init),
29584         (start_typefinding), (stop_typefinding), (push_buffer_store),
29585         (gst_type_find_element_handle_event),
29586         (gst_type_find_element_chain),
29587         (gst_type_find_element_checkgetrange),
29588         (gst_type_find_element_getrange), (do_typefind),
29589         (gst_type_find_element_activate),
29590         (gst_type_find_element_change_state):
29591         * gst/elements/gsttypefindelement.h:
29592         * gst/gstpipeline.c: (pipeline_bus_handler):
29593         Added typefind helper.
29594         Small preroll fix in the base sink.
29595         Disable typefind code in basesrc.
29596         Crude port of typefindelement.
29597         Fakesrc cleanups.
29598
29599
29600 2005-04-11  Wim Taymans  <wim@fluendo.com>
29601
29602         * check/gst/gstbus.c: (gstbus_suite):
29603         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29604         * check/gstcheck.h:
29605           Fix up the timeout so that the test does not fail.
29606
29607 2005-04-06  Wim Taymans  <wim@fluendo.com>
29608
29609         * gst/base/README:
29610         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29611         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29612         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29613         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29614         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29615         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29616         (gst_basesrc_stop), (gst_basesrc_activate),
29617         (gst_basesrc_change_state), (basesrc_find_peek),
29618         (basesrc_find_suggest), (gst_basesrc_type_find):
29619         * gst/base/gstbasesrc.h:
29620         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29621         (gst_filesrc_class_init), (gst_filesrc_init),
29622         (gst_filesrc_finalize), (gst_filesrc_set_location),
29623         (gst_filesrc_set_property), (gst_filesrc_get_property),
29624         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29625         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29626         (gst_filesrc_create_read), (gst_filesrc_create),
29627         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29628         * gst/elements/gstfilesrc.h:
29629         * gst/gstelement.c: (gst_element_get_state_func),
29630         (gst_element_lost_state), (gst_element_pads_activate):
29631         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29632         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29633         (gst_pad_pull_range):
29634         * gst/gstpad.h:
29635         More work on the generic source base class, implement seeking,
29636         query.
29637         Make filesrc extend the base source class.
29638         Added gst_pad_set_checkgetrange_function to GstPad.
29639
29640 2005-04-06  Andy Wingo  <wingo@pobox.com>
29641
29642         * pkgconfig/gstreamer-base.pc.in:
29643         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29644
29645         * pkgconfig/Makefile.am:
29646         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29647
29648 2005-04-04  Wim Taymans  <wim@fluendo.com>
29649
29650         * gst/base/Makefile.am:
29651         * gst/base/README:
29652         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29653         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29654         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29655         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29656         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29657         (gst_basesrc_base_init), (gst_basesrc_class_init),
29658         (gst_basesrc_init), (gst_basesrc_get_formats),
29659         (gst_basesrc_get_query_types), (gst_basesrc_query),
29660         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29661         (gst_basesrc_set_property), (gst_basesrc_get_property),
29662         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29663         (gst_basesrc_loop), (gst_basesrc_activate),
29664         (gst_basesrc_change_state):
29665         * gst/base/gstbasesrc.h:
29666         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29667         (gst_fakesrc_class_init), (gst_fakesrc_init),
29668         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29669         (gst_fakesrc_get_property), (gst_fakesrc_create):
29670         * gst/elements/gstfakesrc.h:
29671         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29672         (gst_filesrc_open_file), (gst_filesrc_loop),
29673         (gst_filesrc_activate), (filesrc_find_peek),
29674         (gst_filesrc_type_find):
29675         Made base source class, make fakesrc extend it.
29676         Add comments to basesink class.
29677         Some filesrc cleanup.
29678
29679 2005-03-31  David Schleef  <ds@schleef.org>
29680
29681         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29682         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29683         expected to link against libgstreamer.
29684         * gst/base/Makefile.am: link against libgstreamer
29685         * gst/elements/Makefile.am: same
29686
29687 2005-03-31  Andy Wingo  <wingo@pobox.com>
29688
29689         * tests/instantiate/Makefile.am:
29690         * tests/instantiate/caps.c: Add test to test speed of caps copy
29691         and free.
29692
29693         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29694         GMemChunk to be fair.
29695
29696         * gst/gsttrashstack.h: Remove warning about using the fallback
29697         trash stack implementation, it's still faster than malloc.
29698
29699 2005-03-30  Andy Wingo  <wingo@pobox.com>
29700
29701         * tests/complexity.c: Add a copyright.
29702
29703 2005-03-31  Wim Taymans  <wim@fluendo.com>
29704
29705         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29706         (gst_base_transform_class_init), (gst_base_transform_init),
29707         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29708         (gst_base_transform_get_property),
29709         (gst_base_transform_sink_activate),
29710         (gst_base_transform_src_activate),
29711         (gst_base_transform_change_state):
29712         * gst/base/gstbasetransform.h:
29713         * gst/elements/gstidentity.c: (gst_identity_class_init),
29714         (gst_identity_event), (gst_identity_check_perfect),
29715         (gst_identity_transform), (gst_identity_start),
29716         (gst_identity_stop):
29717         Added start/stop methods to transform base class so subclasses 
29718         don't need to deal with state changes even.
29719
29720 2005-03-31  Wim Taymans  <wim@fluendo.com>
29721
29722         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29723         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29724         * gst/gstevent.h:
29725         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29726         (gst_pad_pull_range):
29727         Added rate to the discont event to prepare for variable speed
29728         and reverse playback.
29729
29730 2005-03-29  David Schleef  <ds@schleef.org>
29731
29732         * configure.ac:
29733         * testsuite/trigger/Makefile.am:
29734         * testsuite/trigger/trigger.c: A little example program to show
29735         how trigger-based elements can work.
29736
29737 2005-03-29  Wim Taymans  <wim@fluendo.com>
29738
29739         * gst/base/Makefile.am:
29740         * gst/base/README:
29741         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29742         (gst_basesink_base_init), (gst_basesink_class_init),
29743         (gst_basesink_pad_getcaps), (gst_basesink_init),
29744         (gst_basesink_activate), (gst_basesink_change_state):
29745         * gst/base/gstbasesink.h:
29746         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29747         (gst_base_transform_base_init), (gst_base_transform_finalize),
29748         (gst_base_transform_class_init), (gst_base_transform_init),
29749         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29750         (gst_base_transform_event), (gst_base_transform_getrange),
29751         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29752         (gst_base_transform_set_property),
29753         (gst_base_transform_get_property),
29754         (gst_base_transform_sink_activate),
29755         (gst_base_transform_src_activate),
29756         (gst_base_transform_change_state):
29757         * gst/base/gstbasetransform.h:
29758         * gst/elements/gstidentity.c: (gst_identity_finalize),
29759         (gst_identity_class_init), (gst_identity_init),
29760         (gst_identity_event), (gst_identity_check_perfect),
29761         (gst_identity_transform), (gst_identity_set_property),
29762         (gst_identity_get_property), (gst_identity_change_state):
29763         * gst/elements/gstidentity.h:
29764         * gst/gstelement.c: (gst_element_get_state_func),
29765         (gst_element_lost_state), (gst_element_pads_activate):
29766         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29767         (gst_pad_check_pull_range), (gst_pad_pull_range):
29768         * gst/gstpad.h:
29769         Simplify pad activation.
29770         Added function to check if pull_range can be performed.
29771         Error out when pulling inactive or flushing pads.
29772         Removed const from refcounted types as it does not make sense.
29773         Simplify pad templates in basesink
29774         Added base class for simple 1-to-1 transforms.
29775         Make identity subclass the base transform.
29776
29777 2005-03-29  Andy Wingo  <wingo@pobox.com>
29778
29779         * docs/libs/gstreamer-libs-overrides.txt: 
29780         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29781         really don't understand what's going on, but like whatever. I want
29782         green buildbot!
29783
29784         * docs/gst/Makefile.am:
29785         * docs/libs/Makefile.am: Dist the overrides files.
29786
29787         * check/Makefile.am (clean-local): Remove .libs directories.
29788
29789         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29790         elements to EXTRA_DIST, so po/ files are happy.
29791
29792         * po/POTFILES.in: Er, remove it here.
29793
29794         * po/POTFILES: Remove gstspider.c.
29795
29796         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29797
29798         * docs/libs/gstreamer-libs-docs.sgml: 
29799         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29800         bytestream.
29801
29802         * tests/complexity.c (main): Set the length of the preroll queue
29803         on the sinks to prevent a lockup.
29804
29805         * libs/gst/dataprotocol/Makefile.am: 
29806         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29807         the same as the one in check/gst-libs/gdp.c.
29808
29809         * po/, docs/gst/: Commit automatic changes to docs and po files.
29810
29811         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29812         the versioned libgstbase.
29813
29814         * check/Makefile.am: Depend on an unversioned gst-register, seems
29815         to make autoconf happier.
29816
29817         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29818
29819 2005-03-28  Wim Taymans  <wim@fluendo.com>
29820
29821         * configure.ac:
29822         * docs/design/part-gstelement.txt:
29823         * docs/design/part-negotiation.txt:
29824         * docs/design/part-preroll.txt:
29825         * docs/design/part-scheduling.txt:
29826         * docs/design/part-states.txt:
29827         * gst/Makefile.am:
29828         * gst/base/Makefile.am:
29829         * gst/base/README:
29830         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29831         (gst_basesink_base_init), (gst_basesink_class_init),
29832         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29833         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29834         (gst_basesink_set_pad_functions),
29835         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29836         (gst_basesink_set_property), (gst_basesink_get_property),
29837         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29838         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29839         (gst_basesink_preroll_queue_push),
29840         (gst_basesink_preroll_queue_empty),
29841         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29842         (gst_basesink_event), (gst_basesink_get_times),
29843         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29844         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29845         (gst_basesink_loop), (gst_basesink_activate),
29846         (gst_basesink_change_state):
29847         * gst/base/gstbasesink.h:
29848         * gst/elements/Makefile.am:
29849         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29850         (gst_fakesink_class_init), (gst_fakesink_init),
29851         (gst_fakesink_set_property), (gst_fakesink_get_property),
29852         (gst_fakesink_get_times), (gst_fakesink_event),
29853         (gst_fakesink_preroll), (gst_fakesink_render),
29854         (gst_fakesink_change_state):
29855         * gst/elements/gstfakesink.h:
29856         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29857         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29858         * gst/gstelement.c: (gst_element_add_pad),
29859         (gst_element_get_state_func), (gst_element_abort_state),
29860         (gst_element_commit_state), (gst_element_lost_state),
29861         (gst_element_set_state), (gst_element_pads_activate):
29862         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29863         * gst/gstpipeline.c: (gst_pipeline_send_event),
29864         (gst_pipeline_change_state):
29865         Added state change code.
29866         Added/updated docs.
29867         Added sink base class, make fakesink extend the base class.
29868         Small cleanups in GstPipeline.
29869
29870 2005-03-26  David Schleef  <ds@schleef.org>
29871
29872         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29873         is broken and should be implemented in a different library.
29874         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29875         * gst/gst.h: remove gstcpu.h
29876         * gst/gstcpu.c: remove
29877         * gst/gstcpu.h: remove
29878         * gst/Makefile.am.future: Remove this file.  It's ancient.
29879
29880 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29881
29882         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29883         (gst_bin_send_event):
29884           Add default event/set_manager handlers. The set_manager handler
29885           takes care that the manager is distributed over kids that were
29886           already in the bin before the manager was set. The event handler
29887           is a utility virtual function that sends the event over all sinks,
29888           so that gst_element_send_event (bin, event); has the expected
29889           behaviour.
29890         * gst/gstpad.c: (gst_pad_event_default):
29891           Re-install default event handling for discontinuities, so that
29892           seeking works without requiring hacks in applications or extra
29893           code in sinks.
29894         * gst/gstpipeline.c: (gst_pipeline_class_init),
29895         (gst_pipeline_send_event):
29896           Half hack, half utility: set a pipeline to PAUSED for seek events,
29897           since that is the only way we can guarantee a/v sync. Means that
29898           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29899           and it "just works".
29900
29901 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29902
29903         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29904           Lock/unlock mismatch.
29905
29906 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29907
29908         * docs/faq/gst-uninstalled:
29909           add gst-plugins-base
29910         * docs/gst/Makefile.am:
29911           don't error out until docs are fixed
29912         * docs/gst/gstreamer.types:
29913           remove thread
29914
29915 2005-03-22  Wim Taymans  <wim@fluendo.com>
29916
29917         * check/Makefile.am:
29918         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29919         * gst/gststructure.c: (gst_structure_set_valist),
29920         (gst_structure_copy_conditional):
29921         Activated more tests.
29922         Added message test.
29923         Added G_TYPE_POINTER to GstStructure.
29924         
29925
29926 2005-03-22  Wim Taymans  <wim@fluendo.com>
29927
29928         * docs/design/part-TODO.txt:
29929         * docs/design/part-events.txt:
29930         * docs/design/part-gstbin.txt:
29931         * docs/design/part-gstbus.txt:
29932         * docs/design/part-gstpipeline.txt:
29933         * docs/design/part-messages.txt:
29934         * gst/gstbus.c:
29935         * gst/gstmessage.c:
29936         Docs updates
29937
29938 2005-03-21  Wim Taymans  <wim@fluendo.com>
29939
29940         * gst/gstbus.c: (gst_bus_post):
29941         Fix copy-and-paste error.
29942
29943 2005-03-21  Wim Taymans  <wim@fluendo.com>
29944
29945         * check/Makefile.am:
29946         * gst/Makefile.am:
29947         * gst/elements/Makefile.am:
29948         * gst/elements/gstelements.c:
29949         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29950         (gst_fakesink_event), (gst_fakesink_chain):
29951         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29952         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29953         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29954         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29955         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29956         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29957         (gst_fakesrc_loop), (gst_fakesrc_activate),
29958         (gst_fakesrc_change_state):
29959         * gst/elements/gstfakesrc.h:
29960         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29961         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29962         (gst_filesrc_open_file), (gst_filesrc_loop),
29963         (gst_filesrc_activate), (gst_filesrc_change_state),
29964         (filesrc_find_peek), (filesrc_find_suggest),
29965         (gst_filesrc_type_find):
29966         * gst/elements/gstidentity.c: (gst_identity_finalize),
29967         (gst_identity_class_init), (gst_identity_init),
29968         (gst_identity_proxy_getcaps), (identity_queue_push),
29969         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29970         (gst_identity_getrange), (gst_identity_chain),
29971         (gst_identity_sink_loop), (gst_identity_src_loop),
29972         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29973         (gst_identity_set_property), (gst_identity_get_property),
29974         (gst_identity_change_state):
29975         * gst/elements/gstidentity.h:
29976         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29977         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29978         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29979         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29980         (gst_tee_sink_activate):
29981         * gst/elements/gsttee.h:
29982         * gst/gst.c: (gst_register_core_elements), (init_post):
29983         * gst/gst.h:
29984         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29985         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29986         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29987         (gst_bin_change_state):
29988         * gst/gstbin.h:
29989         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29990         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29991         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29992         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29993         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29994         (bus_watch_callback), (bus_watch_destroy),
29995         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29996         (poll_timeout), (gst_bus_poll):
29997         * gst/gstbus.h:
29998         * gst/gstcaps.h:
29999         * gst/gstdata.h:
30000         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30001         (gst_element_post_message), (gst_element_message_full),
30002         (gst_element_get_state_func), (gst_element_get_state),
30003         (gst_element_abort_state), (gst_element_commit_state),
30004         (gst_element_lost_state), (gst_element_set_state),
30005         (gst_element_pads_activate), (gst_element_change_state),
30006         (gst_element_dispose), (gst_element_set_manager_func),
30007         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
30008         (gst_element_set_manager), (gst_element_get_manager),
30009         (gst_element_set_bus), (gst_element_get_bus),
30010         (gst_element_set_scheduler), (gst_element_get_scheduler):
30011         * gst/gstelement.h:
30012         * gst/gstevent.c: (gst_event_new_segment_seek),
30013         (gst_event_new_flush):
30014         * gst/gstevent.h:
30015         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
30016         (_gst_message_free), (gst_message_get_type), (gst_message_new),
30017         (gst_message_new_eos), (gst_message_new_error),
30018         (gst_message_new_warning), (gst_message_new_tag),
30019         (gst_message_new_state_changed), (gst_message_new_application),
30020         (gst_message_get_structure), (gst_message_parse_tag),
30021         (gst_message_parse_state_changed), (gst_message_parse_error),
30022         (gst_message_parse_warning):
30023         * gst/gstmessage.h:
30024         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
30025         (gst_real_pad_set_property), (gst_pad_set_active),
30026         (gst_pad_is_active), (gst_pad_set_blocked_async),
30027         (gst_pad_set_blocked), (gst_pad_is_blocked),
30028         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
30029         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
30030         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
30031         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
30032         (gst_pad_link_filtered), (gst_pad_relink_filtered),
30033         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
30034         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
30035         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
30036         (gst_pad_set_caps), (gst_pad_configure_sink),
30037         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
30038         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
30039         (gst_real_pad_dispose), (gst_real_pad_finalize),
30040         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
30041         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30042         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
30043         * gst/gstpad.h:
30044         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
30045         (pipeline_bus_handler), (gst_pipeline_change_state),
30046         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
30047         * gst/gstpipeline.h:
30048         * gst/gstprobe.h:
30049         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
30050         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
30051         (gst_queue_link_src), (gst_queue_bufferalloc),
30052         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
30053         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
30054         (gst_queue_loop), (gst_queue_handle_src_event),
30055         (gst_queue_handle_src_query), (gst_queue_src_activate),
30056         (gst_queue_change_state):
30057         * gst/gstqueue.h:
30058         * gst/gstscheduler.c: (gst_scheduler_init),
30059         (gst_scheduler_dispose), (gst_scheduler_create_task),
30060         (gst_scheduler_factory_create):
30061         * gst/gstscheduler.h:
30062         * gst/gststructure.c: (gst_structure_get_type),
30063         (gst_structure_copy_conditional):
30064         * gst/gststructure.h:
30065         * gst/gsttaginterface.h:
30066         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
30067         (gst_task_init), (gst_task_dispose), (gst_task_create),
30068         (gst_task_get_state), (gst_task_start), (gst_task_stop),
30069         (gst_task_pause):
30070         * gst/gsttask.h:
30071         * gst/gstthread.c:
30072         * gst/gstthread.h:
30073         * gst/gsttypes.h:
30074         * gst/schedulers/Makefile.am:
30075         * gst/schedulers/cothreads_compat.h:
30076         * gst/schedulers/entryscheduler.c:
30077         * gst/schedulers/faircothreads.c:
30078         * gst/schedulers/faircothreads.h:
30079         * gst/schedulers/fairscheduler.c:
30080         * gst/schedulers/gstbasicscheduler.c:
30081         * gst/schedulers/gstoptimalscheduler.c:
30082         * gst/schedulers/gthread-cothreads.h:
30083         * gst/schedulers/threadscheduler.c:
30084         (gst_thread_scheduler_task_get_type),
30085         (gst_thread_scheduler_task_class_init),
30086         (gst_thread_scheduler_task_init),
30087         (gst_thread_scheduler_task_start),
30088         (gst_thread_scheduler_task_stop),
30089         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
30090         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
30091         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
30092         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
30093         (plugin_init):
30094         * libs/gst/Makefile.am:
30095         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
30096         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
30097         (gst_file_pad_parent_set):
30098         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
30099         (gst_dp_event_from_packet):
30100         * tests/complexity.c: (main):
30101         * tests/mass_elements.c: (main):
30102         * testsuite/states/locked.c: (message_received), (main):
30103         * testsuite/states/parent.c: (main):
30104         * tools/gst-inspect.c: (print_element_flag_info),
30105         (print_implementation_info), (print_pad_info):
30106         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
30107         (main):
30108         * tools/gst-md5sum.c: (event_loop), (main):
30109         * tools/gst-typefind.c: (main):
30110         * tools/gst-xmlinspect.c: (print_element_info):
30111         Next big merge.
30112         Added GstBus for mainloop integration.
30113         Added GstMessage for sending notifications on the bus.
30114         Added GstTask as an abstraction for pipeline entry points.
30115         Removed GstThread.
30116         Removed Schedulers.
30117         Simplified GstQueue for multithreaded core.
30118         Made _link threadsafe, removed old capsnego.
30119         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
30120         Added pad blocking functions.
30121         Reworked scheduling functions in GstPad to prepare for
30122         scheduling updates soon.
30123         Moved events out of data stream.
30124         Simplified GstEvent types.
30125         Added return values to push/pull.
30126         Removed clocking from GstElement.
30127         Added prototypes for state change function for next merge.
30128         Removed iterate from bins and state change management.
30129         Fixed some elements, disabled others for now.
30130         Fixed -inspect and -launch.
30131         Added check for GstBus.
30132
30133 2005-03-10  Wim Taymans  <wim@fluendo.com>
30134
30135         * docs/design/part-MT-refcounting.txt:
30136         * docs/design/part-clocks.txt:
30137         * docs/design/part-gstelement.txt:
30138         * docs/design/part-gstobject.txt:
30139         * docs/design/part-standards.txt:
30140         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30141         (gst_bin_remove_func), (gst_bin_remove):
30142         * gst/gstbin.h:
30143         * gst/gstbuffer.c:
30144         * gst/gstcaps.h:
30145         * testsuite/clock/clock1.c: (main):
30146         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
30147         (main):
30148         * testsuite/dlopen/loadgst.c: (do_test):
30149         * testsuite/refcounting/bin.c: (add_remove_test1),
30150         (add_remove_test2), (main):
30151         * testsuite/refcounting/element.c: (main):
30152         * testsuite/refcounting/element_pad.c: (main):
30153         * testsuite/refcounting/pad.c: (main):
30154         * tools/gst-launch.c: (sigint_handler_sighandler):
30155         * tools/gst-typefind.c: (main):
30156         Doc updates.
30157         Added doc about clock.
30158         removed gst_bin_iterate_recurse_up(), marked methods
30159         for removal.
30160         Fix more testsuites.
30161
30162 2005-03-09  Wim Taymans  <wim@fluendo.com>
30163
30164         * gst/gstpad.c: (gst_pad_get_direction),
30165         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
30166         (gst_pad_collect_valist):
30167         * testsuite/bins/interface.c: (main):
30168         * testsuite/caps/audioscale.c: (test_caps):
30169         * testsuite/caps/caps.c: (test1), (test2), (test3):
30170         * testsuite/caps/deserialize.c: (main):
30171         * testsuite/caps/enumcaps.c: (main):
30172         * testsuite/caps/filtercaps.c: (main):
30173         * testsuite/caps/intersect2.c: (main):
30174         * testsuite/caps/random.c: (main):
30175         * testsuite/caps/renegotiate.c: (my_fixate), (main):
30176         * testsuite/caps/sets.c: (check_caps):
30177         * testsuite/caps/simplify.c: (check_caps), (main):
30178         * testsuite/caps/subtract.c: (check_caps):
30179         Fix _pad_get_direction wrt ghostpads.
30180         Fix caps testsuite.
30181
30182 2005-03-09  Wim Taymans  <wim@fluendo.com>
30183
30184         * check/Makefile.am:
30185         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
30186         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
30187         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
30188         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
30189         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
30190         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
30191         (gst_bin_remove), (gst_bin_iterate_recurse_up),
30192         (bin_element_is_sink), (gst_bin_iterate_sinks),
30193         (gst_bin_iterate_all_by_interface):
30194         * gst/gstbin.h:
30195         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
30196         (gst_element_change_state), (gst_element_dispose),
30197         (gst_element_finalize), (gst_element_set_loop_function):
30198         * gst/gstelement.h:
30199         * gst/gstiterator.c: (find_custom_fold_func):
30200         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30201         (gst_pad_collectv), (gst_pad_collect_valist),
30202         (gst_pad_template_new):
30203         * gst/gstpipeline.c: (gst_pipeline_class_init),
30204         (gst_pipeline_dispose), (gst_pipeline_set_property),
30205         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
30206         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
30207         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
30208         * gst/gstutils.h:
30209         * gst/schedulers/entryscheduler.c:
30210         * gst/schedulers/gstbasicscheduler.c:
30211         (gst_basic_scheduler_cothreaded_chain),
30212         (gst_basic_scheduler_chain_add_element):
30213         * testsuite/bins/interface.c: (main):
30214         Added GstBin test.
30215         Added GstSystemClock test.
30216         Implemented clock distribution code in GstBin.
30217         Implemented iterate sinks method for future use.
30218         Rearranged gstelement.h
30219         Fix GstIterator comparison bug.
30220         Moved some code to GstPipeline, mostly clocking related.
30221
30222 2005-03-09  Wim Taymans  <wim@fluendo.com>
30223
30224         * configure.ac:
30225         * gst/gst_private.h:
30226         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30227         (gst_bin_remove_func), (gst_bin_remove),
30228         (gst_bin_get_by_name_recurse_up):
30229         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
30230         (gst_clock_id_compare_func), (gst_clock_id_wait),
30231         (gst_clock_id_wait_async), (gst_clock_init),
30232         (gst_clock_adjust_unlocked), (gst_clock_get_time):
30233         * gst/gstelement.h:
30234         * gst/gstinfo.c: (_gst_debug_init):
30235         * gst/gstobject.h:
30236         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30237         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
30238         * gst/gstpad.h:
30239         Bump version number, we're now 0.9.0
30240         Add future debugging category.
30241         Fix NULL _unref() in _get_by_name_recurse_up
30242         Rearrange gstpad.h.
30243         Update some docs.
30244
30245 2005-03-08  Wim Taymans  <wim@fluendo.com>
30246
30247         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
30248         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
30249         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30250         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
30251         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
30252         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
30253         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
30254         * gst/elements/gstidentity.c: (gst_identity_class_init):
30255         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
30256         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
30257         * gst/elements/gstshaper.c: (gst_shaper_class_init):
30258         * gst/elements/gststatistics.c: (gst_statistics_class_init):
30259         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
30260         (gst_tee_link):
30261         * gst/gstelement.c: (gst_element_class_init),
30262         (gst_element_base_class_init), (gst_element_init),
30263         (gst_element_get_random_pad), (gst_element_wait_state_change),
30264         (gst_element_change_state), (gst_element_dispose),
30265         (gst_element_finalize), (gst_element_set_loop_function):
30266         * gst/gstelement.h:
30267         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
30268         * gst/gstthread.c: (gst_thread_class_init),
30269         (gst_thread_release_children_locks), (gst_thread_change_state):
30270         * gst/schedulers/gstbasicscheduler.c:
30271         (gst_basic_scheduler_loopfunc_wrapper),
30272         (gst_basic_scheduler_chain_wrapper),
30273         (gst_basic_scheduler_src_wrapper),
30274         (gst_basic_scheduler_remove_element):
30275         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30276         Remove threadsafe properties. Fix elements because GObject
30277         complains when installing a property before declaring a
30278         set/get_property handler.
30279         Rearrange gstelement.h file, use STATE macros for state locks.
30280         Free mutexes in the finalize method instead of dispose.
30281
30282 2005-03-08  Wim Taymans  <wim@fluendo.com>
30283
30284         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30285         * gst/gstthread.c: (gst_thread_release_children_locks):
30286         Added parentage check.
30287         Fix build og GstThread again.
30288
30289 2005-03-08  Wim Taymans  <wim@fluendo.com>
30290
30291         * docs/design/part-MT-refcounting.txt:
30292         * docs/design/part-conventions.txt:
30293         * docs/design/part-gstobject.txt:
30294         * docs/design/part-relations.txt:
30295         * docs/design/part-standards.txt:
30296         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30297         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30298         (gst_bin_get_by_name), (gst_bin_get_by_interface),
30299         (gst_bin_iterate_all_by_interface):
30300         * gst/gstbuffer.h:
30301         * gst/gstclock.h:
30302         * gst/gstelement.c: (gst_element_class_init),
30303         (gst_element_change_state), (gst_element_set_loop_function):
30304         * gst/gstelement.h:
30305         * gst/gstiterator.c:
30306         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30307         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30308         (gst_object_dispatch_properties_changed), (gst_object_set_name),
30309         (gst_object_set_parent), (gst_object_unparent),
30310         (gst_object_check_uniqueness):
30311         * gst/gstobject.h:
30312         Docs updates, clean up some headers.
30313
30314 2005-03-07  Wim Taymans  <wim@fluendo.com>
30315
30316         * check/.cvsignore:
30317         * check/Makefile.am:
30318         * check/gst-libs/.cvsignore:
30319         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30320         * check/gst/.cvsignore:
30321         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30322         (START_TEST), (gstbus_suite), (main):
30323         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30324         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30325         (gst_data_suite), (main):
30326         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30327         (add_fold_func), (gstiterator_suite), (main):
30328         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30329         (thread_name_object), (thread_name_object_default),
30330         (gst_object_name_compare), (gst_object_suite), (main):
30331         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30332         (gst_pad_suite), (main):
30333         * check/gstcheck.c: (gst_check_log_message_func),
30334         (gst_check_log_critical_func), (gst_check_init):
30335         * check/gstcheck.h:
30336         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30337         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30338         Added checks.
30339
30340 2005-03-07  Wim Taymans  <wim@fluendo.com>
30341
30342         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30343         (gst_list_iterator_next), (gst_list_iterator_resync),
30344         (gst_list_iterator_free), (gst_iterator_new_list),
30345         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30346         (gst_iterator_free), (gst_iterator_push), (filter_next),
30347         (filter_resync), (filter_uninit), (filter_free),
30348         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30349         (gst_iterator_foreach), (find_custom_fold_func),
30350         (gst_iterator_find_custom):
30351         * gst/gstiterator.h:
30352         Added missing files.
30353
30354 2005-03-07  Wim Taymans  <wim@fluendo.com>
30355
30356         * Makefile.am:
30357         * configure.ac:
30358         * docs/design/part-MT-refcounting.txt:
30359         * docs/design/part-conventions.txt:
30360         * docs/design/part-gstobject.txt:
30361         * docs/design/part-relations.txt:
30362         * examples/mixer/mixer.c: (main):
30363         * examples/thread/thread.c: (eos), (main):
30364         * gst/Makefile.am:
30365         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30366         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30367         (gst_spider_plug_from_srcpad):
30368         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30369         (gst_spider_identity_change_state),
30370         (gst_spider_identity_sink_loop_type_finding):
30371         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30372         * gst/elements/gstidentity.c: (gst_identity_init):
30373         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30374         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30375         * gst/elements/gsttypefindelement.c: (free_entry):
30376         * gst/gst.c:
30377         * gst/gst.h:
30378         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30379         (gst_bin_set_clock_func), (gst_bin_auto_clock),
30380         (gst_bin_set_index), (gst_bin_set_element_sched),
30381         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30382         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30383         (gst_bin_iterate_elements), (iterate_child_recurse),
30384         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30385         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30386         (compare_interface), (gst_bin_get_by_interface),
30387         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30388         * gst/gstbin.h:
30389         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30390         (gst_buffer_default_free), (gst_buffer_default_copy),
30391         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30392         (gst_buffer_create_sub):
30393         * gst/gstbuffer.h:
30394         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30395         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30396         (gst_caps_unref), (gst_static_caps_get),
30397         (gst_caps_remove_and_get_structure), (gst_caps_append),
30398         (gst_caps_append_structure), (gst_caps_remove_structure),
30399         (gst_caps_copy_nth), (gst_caps_set_simple),
30400         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30401         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30402         (gst_caps_structure_intersect_field), (gst_caps_intersect),
30403         (gst_caps_structure_subtract_field), (gst_caps_subtract),
30404         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30405         (gst_caps_structure_figure_out_union),
30406         (gst_caps_switch_structures), (gst_caps_do_simplify),
30407         (gst_caps_replace), (gst_caps_from_string),
30408         (gst_caps_copy_conditional):
30409         * gst/gstcaps.h:
30410         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30411         (_gst_clock_id_free), (gst_clock_id_unref),
30412         (gst_clock_id_compare_func), (gst_clock_id_wait),
30413         (gst_clock_id_wait_async), (gst_clock_class_init),
30414         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30415         (gst_clock_get_time), (gst_clock_set_time_adjust),
30416         (gst_clock_set_property), (gst_clock_get_property):
30417         * gst/gstclock.h:
30418         * gst/gstcompat.h:
30419         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30420         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30421         * gst/gstdata.h:
30422         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30423         (gst_element_requires_clock), (gst_element_provides_clock),
30424         (gst_element_set_clock), (gst_element_clock_wait),
30425         (gst_element_wait), (gst_element_set_time_delay),
30426         (gst_element_is_indexable), (gst_element_add_pad),
30427         (gst_element_add_ghost_pad), (gst_element_remove_pad),
30428         (pad_compare_name), (gst_element_get_static_pad),
30429         (gst_element_request_pad), (gst_element_get_request_pad),
30430         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30431         (gst_element_class_get_pad_template_list),
30432         (gst_element_class_get_pad_template), (gst_element_error_func),
30433         (gst_element_get_random_pad), (gst_element_get_event_masks),
30434         (gst_element_send_event), (gst_element_seek),
30435         (gst_element_get_query_types), (gst_element_query),
30436         (gst_element_get_formats), (gst_element_convert),
30437         (gst_element_is_locked_state), (gst_element_set_locked_state),
30438         (gst_element_sync_state_with_parent), (gst_element_change_state),
30439         (gst_element_finalize), (gst_element_yield),
30440         (gst_element_interrupt), (gst_element_set_scheduler),
30441         (gst_element_get_scheduler), (gst_element_set_loop_function):
30442         * gst/gstelement.h:
30443         * gst/gstevent.h:
30444         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30445         (gst_format_get_by_nick), (gst_format_get_details),
30446         (gst_format_iterate_definitions):
30447         * gst/gstformat.h:
30448         * gst/gstindex.c: (gst_index_gtype_resolver):
30449         * gst/gstinfo.c:
30450         * gst/gstinfo.h:
30451         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30452         (gst_mem_chunk_free):
30453         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30454         (gst_object_ref), (gst_object_unref), (gst_object_sink),
30455         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30456         (gst_object_dispatch_properties_changed),
30457         (gst_object_set_name_default), (gst_object_set_name),
30458         (gst_object_get_name), (gst_object_set_name_prefix),
30459         (gst_object_get_name_prefix), (gst_object_set_parent),
30460         (gst_object_get_parent), (gst_object_unparent),
30461         (gst_object_check_uniqueness), (gst_object_save_thyself),
30462         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30463         (gst_object_set_property), (gst_object_get_property),
30464         (gst_object_get_path_string):
30465         * gst/gstobject.h:
30466         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30467         (gst_real_pad_init), (gst_real_pad_get_property),
30468         (gst_pad_custom_new), (gst_pad_get_direction),
30469         (gst_pad_set_active), (gst_pad_is_active),
30470         (gst_pad_set_event_function), (gst_pad_is_linked),
30471         (gst_pad_link_free), (gst_pad_link_intersect),
30472         (gst_pad_link_fixate), (gst_pad_set_caps),
30473         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30474         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30475         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30476         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30477         (gst_pad_get_caps), (gst_pad_peer_get_caps),
30478         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30479         (gst_pad_realize), (gst_pad_get_allowed_caps),
30480         (gst_real_pad_dispose), (gst_real_pad_finalize),
30481         (gst_pad_collectv), (gst_pad_collect_valist),
30482         (gst_pad_template_dispose), (gst_pad_template_new),
30483         (gst_pad_get_internal_links):
30484         * gst/gstpad.h:
30485         * gst/gstpipeline.c: (gst_pipeline_dispose),
30486         (gst_pipeline_change_state):
30487         * gst/gstpipeline.h:
30488         * gst/gstplugin.c:
30489         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30490         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30491         * gst/gstpluginfeature.h:
30492         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30493         * gst/gstquery.c: (_gst_query_type_initialize),
30494         (gst_query_type_register), (gst_query_type_get_by_nick),
30495         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30496         * gst/gstquery.h:
30497         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30498         * gst/gstscheduler.c: (gst_scheduler_add_element),
30499         (gst_scheduler_factory_create):
30500         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30501         (gst_structure_free), (gst_structure_set_name),
30502         (gst_structure_id_set_value), (gst_structure_set_value),
30503         (gst_structure_set_valist), (gst_structure_remove_field),
30504         (gst_structure_remove_fields),
30505         (gst_structure_remove_fields_valist),
30506         (gst_structure_remove_all_fields), (gst_structure_foreach),
30507         (gst_structure_map_in_place),
30508         (gst_caps_structure_fixate_field_nearest_int),
30509         (gst_caps_structure_fixate_field_nearest_double):
30510         * gst/gststructure.h:
30511         * gst/gstsystemclock.c: (gst_system_clock_class_init),
30512         (gst_system_clock_init), (gst_system_clock_dispose),
30513         (gst_system_clock_async_thread),
30514         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30515         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30516         * gst/gstsystemclock.h:
30517         * gst/gsttag.c: (gst_tag_list_add_value_internal),
30518         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30519         * gst/gsttaginterface.c:
30520         * gst/gstthread.c: (gst_thread_dispose),
30521         (gst_thread_release_children_locks), (gst_thread_change_state),
30522         (gst_thread_main_loop):
30523         * gst/gsttrashstack.h:
30524         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30525         * gst/gsttypes.h:
30526         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30527         (gst_element_request_pad), (gst_element_get_pad_from_template),
30528         (gst_element_request_compatible_pad),
30529         (gst_element_get_compatible_pad_filtered),
30530         (gst_element_get_compatible_pad), (gst_element_state_get_name),
30531         (gst_element_link_pads_filtered), (gst_element_link_filtered),
30532         (gst_element_link_many), (gst_element_link),
30533         (gst_element_link_pads), (gst_element_unlink_pads),
30534         (gst_element_unlink_many), (gst_element_unlink),
30535         (gst_pad_can_link_filtered), (gst_pad_can_link),
30536         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30537         (gst_object_default_error), (gst_bin_add_many),
30538         (gst_bin_remove_many), (gst_element_populate_std_props),
30539         (gst_element_class_install_std_props), (gst_buffer_merge),
30540         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30541         (link_fold_func), (gst_pad_proxy_setcaps):
30542         * gst/gstutils.h:
30543         * gst/gstvalue.c: (gst_value_deserialize_string):
30544         * gst/parse/grammar.y:
30545         * gst/schedulers/gstbasicscheduler.c:
30546         (gst_basic_scheduler_cothreaded_chain),
30547         (gst_basic_scheduler_chain_recursive_add),
30548         (gst_basic_scheduler_pad_link):
30549         * gst/schedulers/gstoptimalscheduler.c:
30550         (get_group_schedule_function),
30551         (gst_opt_scheduler_state_transition),
30552         (gst_opt_scheduler_add_element), (element_get_reachables_func):
30553         * libs/gst/bytestream/bytestream.c:
30554         * libs/gst/dataprotocol/dataprotocol.c:
30555         (gst_dp_header_from_buffer):
30556         * po/nb.po:
30557         * po/ru.po:
30558         * tests/threadstate/threadstate2.c: (eos):
30559         * tools/gst-compprep.c: (main):
30560         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30561         (print_pad_info), (print_children_info):
30562         * tools/gst-launch.c: (idle_func), (main):
30563         * tools/gst-md5sum.c: (idle_func), (main):
30564         * tools/gst-xmlinspect.c: (print_element_info):
30565         First THREADED backport attempt, focusing on adding locks and
30566         making sure the API is threadsafe. Needs more work. More docs
30567         follow this week.
30568
30569 2005-02-24  Andy Wingo  <wingo@pobox.com>
30570
30571         * tests/bench-complexity.scm:
30572         * tests/complexity.gnuplot: New files, good for running complexity
30573         benchmarks.
30574
30575         * tests/Makefile.am:
30576         * tests/complexity.c: New test, sets up N elements, at each level
30577         teeing into M streams per element. Eeeenteresting.
30578
30579         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30580         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30581         running bench-mass_elements.scm.
30582
30583         * tests/bench-mass_elements.scm: New script, runs mass_elements
30584         for various numbers of identities, outputting the results to a
30585         file. Requires guile 1.6. Just for testing.
30586
30587 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30588
30589         * gst/schedulers/fairscheduler.c:
30590           compile with debug disabled
30591
30592 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30593
30594         * configure.ac:
30595           hunting season on 0.9 is now OPEN