docs/libs/gstreamer-libs-sections.txt: Add new function:
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * docs/libs/gstreamer-libs-sections.txt:
4         Add new function:
5         API: GstBaseTransform::gst_base_transform_suggest()
6
7         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
8         (gst_base_transform_init), (gst_base_transform_transform_caps),
9         (gst_base_transform_transform_size),
10         (gst_base_transform_configure_caps),
11         (gst_base_transform_can_transform),
12         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
13         (gst_base_transform_prepare_output_buffer),
14         (gst_base_transform_buffer_alloc),
15         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16         (gst_base_transform_chain), (gst_base_transform_activate),
17         (gst_base_transform_set_passthrough),
18         (gst_base_transform_is_passthrough),
19         (gst_base_transform_set_in_place),
20         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
21         (gst_base_transform_set_qos_enabled),
22         (gst_base_transform_is_qos_enabled),
23         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
24         (gst_base_transform_reconfigure):
25         * libs/gst/base/gstbasetransform.h:
26         Rewrite of basetransform to perform negotiation outside of the
27         buffer_alloc functions.  Fixes #545853.
28
29         * tests/check/libs/transform1.c: (GST_START_TEST),
30         (buffer_alloc_ct2):
31         Update unit test.
32
33 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
34
35         * tests/check/gst/gstpreset.c:
36           Only run preset tests when $HOME is writable. Preliminary fix for
37           #545433.
38
39 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
40
41         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
42         (gst_bin_change_state_func), (bin_handle_async_done),
43         (gst_bin_handle_message_func):
44         Fix race for bins that simulate ASYNC state changes by inserting
45         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
46         pending ASYNC messages even when the bin does not have ASYNC children.
47         We note detect this behaviour because we will receive an ASYNC message
48         that is originating from the bin itself. 
49         Fixes races with decodebin2 state changes.
50
51         * tests/check/gst/gstbin.c: (GST_START_TEST):
52         Add some more debug.
53
54 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
55
56         * gst/gsttaglist.c: (_gst_tag_initialize):
57           Fix typo.
58
59 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
60
61         * gst/gsttaglist.c:
62           Argh. actually save the text before committing. Now adds
63           gst_tag_merge_strings_with_comma() to gst_tag_register().
64
65 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
66
67         * gst/gsttaglist.c:
68         * gst/gsttaglist.h:
69           Do as tim pointed out and actually register the new tag. Also improve
70           te docs and use gst_tag_merge_strings_with_comma() method to allow
71           retriving all keywords merged in one list.
72
73 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
74
75         * configure.ac:
76         * docs/gst/gstreamer.types:
77           Revert 'accidential' change of the configure option removal. We still
78           need to generate the types file in configure --disable-load-save.
79
80 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
81
82         * docs/gst/gstreamer-sections.txt:
83         * gst/gsttaglist.h:
84           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
85
86 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
87
88         * gst/gstpadtemplate.c:
89           (gst_pad_template_class_init), (gst_static_pad_template_get),
90           (gst_pad_template_new), (gst_pad_template_pad_created),
91           (gst_pad_template_set_property), (gst_pad_template_get_property):
92           Add "name-template", "direction", "presence" and "caps" properties,
93           so that gst_pad_template_new() is just a thin wrapper around
94           g_object_new(), which is better for bindings. (Fixes: #539772)
95
96 2008-07-31  Michael Smith <msmith@songbirdnest.com>
97
98         * gst/gsturi.c:
99           Be more liberal in what URIs we accept.
100           Do not unescape bits of the URI for no apparent reason before passing to
101           the element. Fixes #545352.
102
103 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
104
105         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
106
107         * gst/gst.c:
108         Include gstconfig.h as macros from it are used. Fixes bug #545607.
109
110 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
111
112         * configure.ac:
113         * docs/gst/gstreamer-sections.txt:
114         * docs/gst/gstreamer.types:
115         * docs/gst/gstreamer.types.in:
116         * gst/Makefile.am:
117         * gst/gst.c:
118         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
119         * gst/gstconfig.h.in:
120         * gst/gstelement.c: (gst_element_get_index):
121         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
122         (gst_registry_binary_load_feature),
123         (gst_registry_binary_read_cache):
124         * gst/gstregistryxml.c: (load_feature),
125         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
126         * plugins/Makefile.am:
127         * tools/gst-indent:
128         * tools/gst-inspect.c: (print_index_info), (print_element_list),
129         (print_plugin_features), (print_element_features):
130         * tools/gst-xmlinspect.c: (print_event_masks),
131         (print_element_info):
132         * win32/common/gstconfig.h:
133         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
134
135         Disabling the indexers and URI handler code will only reduce the
136         required amount of memory by a very small amount but on the other hand
137         requires much more maintaince work. Apart from that many places of
138         code are broken when disabling them.
139
140         Disabling the enum types doesn't reduce the required amount of memory
141         by more than a few bytes and makes it hard to fix bugs like #539772,
142         i.e. use the enums as GObject properties.
143
144 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
145
146         * docs/design/part-TODO.txt:
147         Add some thoughts and problems with upstream renegotiation.
148
149 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
150
151         * gst/gstpad.c: (gst_pad_acceptcaps_default),
152         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
153         Remove silly redundant debug.
154         Add some more debug info.
155         Clarify the docs regarding new caps received from pad_alloc.
156
157 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
158
159         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
160         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
161         Make setting the caps more threadsafe.
162
163 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
164
165         * docs/design/part-element-transform.txt:
166         Update docs.
167
168 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
169
170         * plugins/elements/gstqueue.c: (gst_queue_init),
171         (gst_queue_acceptcaps):
172         Add and use a custom acceptcaps function instead of falling back to the
173         potentially less optimized default implementation.
174
175 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
176
177         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
178           Only sanity-check the buffer size if requested_caps == buffer_caps
179           (ie. don't take pad caps into account, they're not relevant here)
180
181 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
182
183         * plugins/elements/gsttee.c:
184         * plugins/elements/gsttee.h:
185           Reverting as not everything is clear yet. Needs some general design
186           work.
187
188 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
189
190         * ChangeLog:
191           ChangeLog surgery for tee commit.
192
193 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
194
195         * docs/gst/gstreamer-sections.txt:
196           Cleanup section-file.
197
198 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
199
200         * plugins/elements/gsttee.c:
201         * plugins/elements/gsttee.h:
202           Relay tag events in tee. Fixes parts of #474016.
203           Downgrades 3 reoccurring debugs to log.
204
205 2008-07-28  Michael Smith <msmith@songbirdnest.com>
206
207         * configure.ac:
208         * libs/gst/Makefile.am:
209           Build the net library if we have winsock2.
210
211 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
212
213         patch by: Luc Pionchon <luc.pionchon@nokia.com>
214
215         * docs/manual/advanced-threads.xml:
216         * docs/manual/diagrams-pipelines.svg:
217         * docs/manual/hello-world.png:
218         * docs/manual/linked-elements.png:
219         * docs/manual/mime-world.png:
220         * docs/manual/queue.png:
221         * docs/manual/thread-buffering.png:
222         * docs/manual/thread-synchronizing.png:
223           Replace one diagram with two separate ones and updates others.
224           Fixes #542401.
225
226 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
227
228         * gst/gstelement.h:
229         Fix link in documentation.
230
231 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
232
233         * gst/gstmessage.c:
234         Fix confusing documentation.
235
236 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
237
238         * libs/gst/base/gstbasesrc.h:
239         revert the changes to the header file for the ABI.
240
241 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
242
243         * libs/gst/base/gstbasesrc.c:
244         * libs/gst/base/gstbasesrc.h:
245         Don't cache the seekable status.
246         Fixes bug #544174
247
248 2008-07-24  Rene Stadler  <mail@renestadler.de>
249
250         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
251         code to close the pipeline graph.  This prevents the program from
252         printing internal data flow errors.
253
254 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
255
256         * docs/manual/basics-bus.xml:
257         Correct typo. Fixes bug #544320.
258
259 2008-07-22  Michael Smith <msmith@songbirdnest.com>
260
261         * configure.ac:
262           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
263           Add check (taken from -base) for winsock, adds WIN32_LIBS
264         * gst/Makefile.am:
265           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
266           winsock.
267           Define GST_EXPORTS when building libgstreamer (only used on win32)
268         * gst/gst_private.h:
269         * gst/gstinfo.h:
270           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
271           for symbols that we need to export in both these files.
272         * gst/gstpoll.c:
273           Include gst_private.h higher up to avoid some compile problems on win32.
274
275 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
276
277         * gst/gstvalue.c:
278         Fix typos.
279
280 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
281
282         * gst/gstcaps.c:
283         Previous commit was wrong NULL caps does not exist
284         and indicate an error, so also add a FIXME to
285         gst_caps_is_equal where NULL caps are accepted.
286
287 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
288
289         * gst/gstcaps.c:
290         Allow passing of NULL to gst_caps_union
291
292 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
293
294         * gst/gstghostpad.c:
295         Add in doc that gst_ghost_pad_set_target can accept
296         NULL to clear target
297
298 2008-07-15  Michael Smith <msmith@songbirdnest.com>
299
300         * gst/gstplugin.c:
301         * gst/gstregistry.c:
302           GstRegistryPool doesn't exist; don't refer to it in docs.
303           Don't refer to functions that don't exist in docs, it's
304           unhelpful.
305
306 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
307
308         * gst/gst.c:
309         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
310
311 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
312
313         Patch by: tmatth <le dot businessman at gmail dot com>
314
315         * docs/pwg/building-testapp.xml:
316         Don't use an undeclared variable in the example program.
317         Fixes bug #542573.
318
319 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
320
321         * gst/gstdebugutils.c:
322           Squeeze ghost-pad links and remove <> from classname labels to save
323           more horizontal space.
324
325 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
326
327         * gst/gstdebugutils.c:
328           Give request and sometimes pads a different shpe style. Condense the
329           graphs a little more.
330
331 2008-07-09  Michael Smith <msmith@songbirdnest.com>
332
333         * configure.ac:
334           Don't require flex and bison if the parser is disabled.
335
336 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
337
338         * libs/gst/controller/gstinterpolationcontrolsource.c:
339         (_list_find_sorted_custom):
340         Don't use declarations after statements.
341
342 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
343
344         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
345         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
346         of the the child-added / -removed signals as GstChildProxy
347         only supports GstObjects.
348
349 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
350
351         * gst/gstdebugutils.c:
352         Fix memleak
353
354 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
355
356         Patch by: Alessandro Decina <alessandro at nnva dot org>
357
358         * gst/gstpoll.c:
359         Fix "ignored return value" compiler warning with newer glibc.
360
361 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
362
363         * gst/gstchildproxy.c:
364         Fix copy&paste error in gst_child_proxy_removed() documentation.
365
366 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
367
368         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
369           Print error debug message if plugin description fields that should
370           be set are NULL.
371
372         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
373           Don't crash if the string to serialise is NULL (it really should
374           not be, but apparently this used to work with the xml registry ...).
375
376 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
377
378         * tools/gst-plot-timeline.py:
379         Fix parsing of log messages
380
381 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
382
383         * win32/common/libgstbase.def::
384           Sort alphabetically so make check-exports doesn't barf.
385
386 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
387
388         * gst/gstevent.c:
389           Use gst_format_get_name() to improve debug output.
390
391         * gst/gstpreset.c:
392           Remove #ifdef'ed code. Add TODO comment.
393
394         * gst/gstsegment.c:
395           Add debug output to ease spotting format != segment.format assertions.
396
397 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
398
399         * tests/check/libs/gdp.c: (gst_dp_suite):
400         Also enable the GDP unit test again on PPC now that the bug
401         is fixed.
402
403 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
404
405         * libs/gst/dataprotocol/dataprotocol.c:
406         Don't write to the same region of memory as a uint64 and uint16
407         as this breaks strict aliasing rules and apparantly breaks on PPC
408         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
409
410 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
411
412         * libs/gst/controller/gstinterpolationcontrolsource.c:
413           Optimize list handling. Use own find function. Exploit that fact that
414           the list is sorted. Also pass back the node before, so that we can
415           insert quickly. Have a fast path for append.
416
417 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
418
419         * docs/design/draft-framestep.txt:
420         * docs/design/part-negotiation.txt:
421           Fix two typos.
422
423 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
424
425         * configure.ac:
426           Show configuration sumary after configure run. Based on patch by
427           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
428
429 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
430
431         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
432
433         * docs/manual/advanced-autoplugging.xml:
434         * docs/manual/advanced-threads.xml:
435         * docs/manual/basics-bins.xml:
436         * docs/manual/basics-elements.xml:
437         * docs/manual/basics-helloworld.xml:
438         * docs/manual/basics-pads.xml:
439           Add scale factor for pdf output.
440
441         * docs/manual/intro-basics.xml:
442           Switched sections "pads" and "bins" and added a pipeline diagram.
443
444         * docs/manual/intro-gstreamer.xml:
445           Added more info on gstreamer.
446
447         * docs/manual/intro-motivation.xml:
448           Commented out the whole section "current problem", which sounds
449           historical and somehow osolete; it could be turned in a positive
450           way and reused to improve the design principles.
451
452         * docs/manual/intro-preface.xml:
453           - Update URLs to library.gnome.org. 
454           - Do not mention GTK+ in preliminary reading (irrelevant). 
455           - Mention Plugin Writer's Manual and further reading only in the
456             previous section.
457           - Added a list of most relevant GObject/glib topics.
458
459         * docs/manual/Makefile.am:
460         * docs/manual/bin-element-ghost.fig:
461         * docs/manual/bin-element-ghost.png:
462         * docs/manual/bin-element-noghost.fig:
463         * docs/manual/bin-element-noghost.png:
464         * docs/manual/bin-element.fig:
465         * docs/manual/bin-element.png:
466         * docs/manual/filter-element-multi.fig:
467         * docs/manual/filter-element-multi.png:
468         * docs/manual/filter-element.fig:
469         * docs/manual/filter-element.png:
470         * docs/manual/gstreamer-overview.png:
471         * docs/manual/hello-world.fig:
472         * docs/manual/hello-world.png:
473         * docs/manual/linked-elements.fig:
474         * docs/manual/linked-elements.png:
475         * docs/manual/mime-world.fig:
476         * docs/manual/mime-world.png:
477         * docs/manual/queue.fig:
478         * docs/manual/queue.png:
479         * docs/manual/simple-player.png:
480         * docs/manual/sink-element.fig:
481         * docs/manual/sink-element.png:
482         * docs/manual/src-element.fig:
483         * docs/manual/src-element.png:
484         * docs/manual/diagrams-general.svg:
485         * docs/manual/diagrams-pipelines.svg:
486           Removed .fig, added .png counterpart.
487           
488           Fixes: #539137
489
490 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
491
492         * plugins/elements/gstmultiqueue.c:
493         * plugins/elements/gstmultiqueue.h:
494         revert extra-size-buffers stuff, caused some race conditions
495         and extra-size-buffers is not used anymore. Docs needs some updates
496
497 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
498
499         * win32/common/config.h:
500         * win32/common/gstenumtypes.c:
501         * win32/common/gstenumtypes.h:
502         * win32/common/gstversion.h:
503           Update win32 files.
504
505 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
506
507         * gst/gstdebugutils.h: (GstDebugGraphDetails),
508           (GST_DEBUG_BIN_TO_DOT_FILE):
509           Add missing Since' markers to gtk-doc blurbs.
510
511 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
512
513         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
514         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
515         (set_caps_1), (set_caps_ct1), (transform_ct1),
516         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
517         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
518         (transform_size_ct2), (buffer_alloc_ct2):
519         Add some more tests with switching caps in buffer_alloc.
520
521 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
522
523         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
524         (gst_test_trans_class_init), (result_sink_chain),
525         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
526         (gst_test_trans_push), (gst_test_trans_pop):
527         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
528         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
529         (set_caps_1), (set_caps_ct1), (transform_ct1),
530         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
531         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
532         (transform_size_ct2), (buffer_alloc_ct2),
533         (gst_basetransform_suite):
534         More tests, prepare for tests with switching caps in buffer_alloc.
535
536 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
537
538         * plugins/elements/gstmultiqueue.c:
539         * plugins/elements/gstmultiqueue.h:
540         Fix dead-lock in underrun_cb
541
542 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
543
544         * docs/design/part-states.txt:
545         Fix device open/close docs.
546
547 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
548
549         * ChangeLog:
550           Mention bugnumber for last commit.
551
552 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
553
554         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
555
556         * docs/manual/manual.xml:
557         - Reorganised the previous "introduction" bundle into Foreword,
558         Introduction, and About GStreamer. The two first are <preface>
559         docbook elements. The later is the first part of the book.
560         - added intro-gstreamer.xml (content partially from
561         intro-preface.xml)
562         - moved appendix-win32.xml into appendix-integration.xml
563
564         * docs/manual/intro-preface.xml: gstreamer section moved...
565         * docs/manual/intro-gstreamer.xml: ...here. new file.
566
567         * docs/manual/appendix-win32.xml: removed file. Content moved...
568         * docs/manual/appendix-integration.xml: ...here.
569         
570         * docs/manual/highlevel-components.xml: section about GstEditor moved...
571         * docs/manual/appendix-checklist.xml: ...here.
572         
573         Fixes: 538764
574
575 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
576
577         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
578
579         * docs/manual/basics-helloworld.xml:
580         * docs/manual/hello-world.fig:
581           - Explicitely include glib.h.
582           - Do not use global variables.
583           - Use g_printerr() instead of g_print().
584           - Minor formating/renaming to increase readibility.
585           - Renamed new_pad() to on_pad_added()
586           - Improved explenatory comments.
587           - renamed ogg parser to ogg demuxer
588           - Use "autoaudiosink" instead of "alsasink".
589           Fixes: #538619
590
591 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
592
593         * ChangeLog:
594           Remove cvs conflict marker.
595
596 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
597
598         * docs/README:
599           Document that for plgin-docs we extraxt he short-desc from the element
600           details.
601
602         * docs/design/part-states.txt:
603           Tell that devices should be closed in PAUSED -> READY.
604
605         * docs/manual/README:
606           Document how tests in the manual are handled.
607
608         * docs/manuals.mak:
609           Typo in comment.
610
611 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
612
613         * gst/gstbin.c: (bin_query_latency_fold):
614         Only care about latency min and max when the sink is actually a live
615         sink.
616
617 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
618
619         * docs/design/part-block.txt:
620         Fix typo.
621
622         * docs/design/part-element-transform.txt:
623         Add notes about why transform needs to know input/output sizes.
624         Add some issues that need to be solved.
625         Add some more use cases.
626
627         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
628         (gst_test_trans_class_init), (result_sink_chain),
629         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
630         (gst_test_trans_push), (gst_test_trans_pop):
631         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
632         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
633         (set_caps_1), (set_caps_ct1), (transform_ct1),
634         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
635         (gst_basetransform_suite):
636         Add suport for different pad templates and buffer-alloc.
637         Add more checks for caps and buffer-alloc.
638         Add checks for proxy buffer alloc.
639         Add unit test for copy transform.
640
641 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
642
643         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
644
645         * docs/manual/appendix-integration.xml:
646         * docs/manual/appendix-licensing.xml:
647         * docs/manual/basics-elements.xml:
648         * docs/manual/basics-helloworld.xml:
649         * docs/manual/basics-pads.xml:
650         * docs/manual/highlevel-components.xml:
651         * docs/manual/highlevel-xml.xml:
652         * docs/manual/intro-basics.xml:
653         * docs/manual/intro-preface.xml:
654           Typo and formatting fixes (#538594).
655
656 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
657
658         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
659         Fix some memory leaks and uses of object instances that we don't
660         actually own.
661
662 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
663
664         * plugins/elements/gstmultiqueue.c:
665         Add functionality to extra-size-buffers property.
666
667 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
668
669         * plugins/elements/gstmultiqueue.c:
670         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
671         activate the pads if they are added in STATE_NULL.
672
673 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
674
675         * docs/libs/gstreamer-libs-sections.txt:
676         Add new API to doc
677         * libs/gst/check/gstcheck.c:
678         * libs/gst/check/gstcheck.h:
679         API: gst_check_teardown_pad_by_name
680
681 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
682
683         * libs/gst/check/gstcheck.c:
684         * libs/gst/check/gstcheck.h:
685         Also setup request pads and allow setup pads by name (#537812)
686         API: gst_check_setup_src_pad_by_name
687         API: gst_check_setup_sink_pad_by_name
688
689 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
690
691         * tests/check/gst/gstbuffer.c:
692         * tests/check/pipelines/parse-launch.c:
693           Use HAVE_VALGRIND_H some more.
694
695 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
696
697         * scripts/cvs-update.sh:
698           Pass arguments to make.
699           Run autoregen.sh if Makefile is not there.
700
701 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
702
703         * configure.ac:
704         * gst/gstinfo.c:
705           Don't assume that <valgrind/valgrind.h> exists just because
706           the binary is there.
707
708 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
709
710         * tests/check/Makefile.am:
711         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
712         (gst_test_trans_class_init), (gst_test_trans_init),
713         (gst_test_trans_set_data), (result_sink_chain),
714         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
715         (gst_test_trans_pop):
716         * tests/check/libs/transform1.c: (GST_START_TEST),
717         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
718         Add some test basetransform element and the beginnings of various
719         unit tests for it.
720
721 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
722
723         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
724         Increase code readability.
725         Don't try to compare buffer offsets when ther are invalid.
726
727 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
728
729         * docs/design/Makefile.am:
730           Dist some more design docs.
731
732         * docs/random/moving-plugins:
733           Small addition: good plugins mustn't have functional code
734           within assertion macros.
735
736 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
737
738         * docs/design/draft-framestep.txt:
739         Some ideas about a framestep API
740
741         * docs/design/part-element-transform.txt:
742         Start design and use cases for basetransform in order to get it
743         fixed soon.
744
745 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
746
747         * gst/gsttaglist.h:
748           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
749           be in UTF-8 encoding.
750
751 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
752
753         * gst/gstbus.c:
754           Make it known that gst_bus_poll() is pure evil (fixes #538810).
755
756 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
757
758         * plugins/elements/gstcapsfilter.c:
759         * plugins/elements/gstfakesink.c:
760         * plugins/elements/gstfakesrc.c:
761         * plugins/elements/gstfdsink.c:
762         * plugins/elements/gstfdsrc.c:
763         * plugins/elements/gstfilesink.c:
764         * plugins/elements/gstfilesrc.c:
765         * plugins/elements/gstidentity.c:
766         * plugins/elements/gstmultiqueue.c:
767         * plugins/elements/gstqueue.c:
768         * plugins/elements/gsttee.c:
769         * plugins/elements/gsttypefindelement.c:
770           Remove short_description. Add basic docs for gsttypefindelement.
771           Simplify markup for fakesrc/fdsrc.
772
773 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
774
775         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
776         Added Since doc.
777
778 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
779
780         Patch by: joel larsson <tilljoel at gmail dot com>
781
782         * docs/plugins/gstreamer-plugins.args:
783         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
784         (gst_fd_src_init), (gst_fd_src_update_fd),
785         (gst_fd_src_set_property), (gst_fd_src_get_property),
786         (gst_fd_src_create):
787         * plugins/elements/gstfdsrc.h:
788         Add timeout property like udpsrc. Fixes #538628.
789         Add some more docs and example pipelines.
790
791 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
792
793         * docs/libs/gstreamer-libs-sections.txt:
794         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
795         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
796         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
797         (gst_base_sink_do_sync):
798         * libs/gst/base/gstbasesink.h:
799         * win32/common/libgstbase.def:
800         Add method to allow sinks to specify additional delay between the sync
801         times and the actual rendering of the data.
802         API: gst_base_sink_set_render_delay()
803         API: gst_base_sink_get_render_delay()
804
805 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
806
807         * configure.ac:
808         Bump version number back to dev -> 0.10.20.1
809
810 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
811
812         * docs/gst/gstreamer-sections.txt:
813         * gst/gsttaglist.c: (_gst_tag_initialize):
814         * gst/gsttaglist.h:
815         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
816         Fixes bug #538568.
817
818 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
819
820         * libs/gst/controller/gstcontroller.c:
821           Revert one change, that make ret value possible uninitialized.
822
823 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
824
825         * libs/gst/controller/gstcontroller.c:
826           Use freeze/thaw notify to sync notify emission a bit (its also more
827           efficient). Move debug output to LOG (is called a lot in a loop).
828           Always unset g_values if the have been initialized.
829
830 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
831
832         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
833         (gst_base_sink_wait_eos), (gst_base_sink_event):
834         If we have not seen a buffer before EOS, use the segment values to
835         report the current position instead of invalid positions.
836
837 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
838
839         * docs/plugins/tmpl/.cvsignore:
840         * tests/check/gst/.cvsignore:
841           Ignore more.
842
843 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
844
845         * libs/gst/controller/gstinterpolation.c:
846         * libs/gst/controller/gstinterpolationcontrolsource.c:
847         * tests/check/libs/controller.c:
848           Rewrite handling of default values. Fix overflow with unsigned types
849           in linear interpolation. Remove now obsolete _first_value() function.
850           Add more tests. Fixes #538201.
851
852 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
853
854         * libs/gst/base/gstbasetransform.c:
855         (gst_base_transform_class_init), (gst_base_transform_init),
856         (gst_base_transform_transform_caps),
857         (gst_base_transform_prepare_output_buffer):
858         Add debug info.
859         When a buffer is writable, its metadata is also writable so we don't
860         need to subbuffer (which then makes the buffer not-writable anymore).
861
862 === release 0.10.20 ===
863
864 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
865
866         * configure.ac:
867           releasing 0.10.20, "You Crazy Diamond"
868
869 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
870
871         * configure.ac:
872         0.10.19.3 pre-release
873
874 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
875
876         * configure.ac:
877         * gst/gstpreset.c:
878         Rename DATADIR to GST_DATADIR to avoid build problems
879         on win32. Patch By: David Schleef <ds@schleef.org>
880         Fixes: #536857
881
882 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
883
884         * configure.ac:
885         Explicitely link with -ldl if dladdr() is found there. Before it was
886         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
887         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
888
889 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
890
891         * gst/gsterror.c: (_gst_stream_errors_init):
892           Fix typo (spotted by Fabricio Godoy, #536723).
893
894 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
895
896         * configure.ac:
897         0.10.19.2 pre-release
898
899 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
900
901         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
902         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
903         Add some debug.
904         Make sure we don't generate invalid QoS messages.
905
906 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
907
908         * gst/gstevent.c: (gst_event_new_qos):
909         Add some assert and docs for invalid input to the qos function.
910
911 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
912
913         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
914         (gst_base_sink_get_position):
915         The reported position must always be smaller than the last seen
916         timestamps (or timestamp + duration for reverse).
917
918 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
919
920         Patch by: Rob Bradford <rob at robster dot org dot uk>
921
922         * gst/gstregistry.c: (gst_registry_scan_path_level):
923         Don't recurse into .debug directories as some distros install
924         the debugging symbols next to the plugins in .debug directories
925         and dlopen() crashes on them sometimes. Fixes bug #508070.
926
927         Add FIXME for 0.11 to not recurse into directories at all because
928         it's very inconsistent to the behaviour of other PATH environment
929         variables.
930
931 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
932
933         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
934         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
935         Fix position query range checks in reverse playback.
936
937 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
938
939         * gst/gstelement.c:
940         * gst/gstelement.h:
941         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
942         clear of the reference to the resulting pad must be released later
943         or not, resulting in possible leaks. Fixes bug #533865.
944
945 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
946
947         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
948
949         * gst/gstelementfactory.c:
950         Small doc fix. Fixes #535285.
951
952 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
953
954         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
955
956         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
957         (gst_base_src_get_range), (gst_base_src_pad_get_range),
958         (gst_base_src_loop), (gst_base_src_set_flushing),
959         (gst_base_src_change_state):
960         Make sending an EOS event to the basesrc non-blocking even if the
961         implementation does blocking waits in the create function. This is done
962         by unlocking the create function when EOS is sent.
963         Fixes #535218.
964
965 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
966
967         * tools/gst-inspect.c: (print_element_properties_info):
968         If possible print the element type of GValueArray properties.
969
970 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
971
972         * gst/gstiterator.c:
973         Remove an unused field from the private GstListIterator struct.
974
975 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
976
977         * libs/gst/controller/gstcontroller.c:
978           Add parameter guards.
979
980 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
981
982         * tests/check/gst/gstpipeline.c:
983           Revert test change and add comment why it should not work.
984
985 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
986
987         * tests/check/gst/gstpipeline.c:
988           Extending the test a little to verify that we also get the NULL state-
989           change message.
990
991 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
992
993         * gst/gstpreset.c: (gst_preset_default_get_meta),
994           (gst_preset_get_preset_names), (gst_preset_get_property_names),
995           (gst_preset_load_preset), (gst_preset_save_preset),
996           (gst_preset_rename_preset), (gst_preset_delete_preset),
997           (gst_preset_set_meta):
998           Add Since: markers to docs blurbs.
999
1000         * win32/common/libgstreamer.def:
1001           Add recently-added API.
1002
1003 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1004
1005         Patch by: Stefan Kost  <ensonic@users.sf.net>
1006
1007         * configure.ac:
1008         Add DATADIR for storing presets.
1009
1010         * docs/gst/gstreamer-docs.sgml:
1011         * docs/gst/gstreamer-sections.txt:
1012         * docs/gst/gstreamer.types.in:
1013         Add GstPreset to docs.
1014
1015         * gst/Makefile.am:
1016         * gst/gst.h:
1017         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
1018         (preset_open_and_parse_header), (preset_parse_version),
1019         (preset_merge), (preset_get_keyfile),
1020         (gst_preset_default_get_preset_names),
1021         (gst_preset_default_get_property_names),
1022         (gst_preset_default_load_preset),
1023         (gst_preset_default_save_presets_file),
1024         (gst_preset_default_save_preset),
1025         (gst_preset_default_rename_preset),
1026         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
1027         (gst_preset_default_get_meta), (gst_preset_default_randomize),
1028         (gst_preset_default_reset), (gst_preset_get_preset_names),
1029         (gst_preset_get_property_names), (gst_preset_load_preset),
1030         (gst_preset_save_preset), (gst_preset_rename_preset),
1031         (gst_preset_delete_preset), (gst_preset_set_meta),
1032         (gst_preset_get_meta), (gst_preset_class_init),
1033         (gst_preset_base_init), (gst_preset_get_type):
1034         * gst/gstpreset.h:
1035         Add GstPreset to core. Fixes #396779
1036
1037         * tests/check/Makefile.am:
1038         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
1039         (gst_preset_test_set_property), (gst_preset_test_class_init),
1040         (gst_preset_test_base_init), (gst_preset_test_get_type),
1041         (gst_preset_test_plugin_init), (GST_START_TEST),
1042         (remove_preset_file), (test_setup), (test_teardown),
1043         (gst_preset_suite):
1044         Add GstPreset unit tests.
1045
1046 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1047
1048         * gst/gstpad.c: (gst_pad_event_default_dispatch):
1049         The default event function on a sinkpad should return TRUE when
1050         there are no internal links but should collect the return values from
1051         the internal links otherwise.
1052
1053 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1054
1055         * plugins/elements/gsttypefindelement.c:
1056         (gst_type_find_element_src_event),
1057         (gst_type_find_element_handle_event):
1058         Use faster and safer _pad_push_event().
1059
1060 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
1061
1062         * docs/gst/gstreamer-sections.txt:
1063         * gst/gstutils.c: (element_find_unlinked_pad),
1064           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
1065         * gst/gstutils.h:
1066           API: add gst_bin_find_unlinked_pad()
1067           API: deprecate gst_bin_find_unconnected_pad() (#401456)
1068
1069 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
1070
1071         * gst/gstclock.c:
1072         * gst/gstclock.h:
1073         * gst/gsttask.c:
1074         * gst/gsttask.h:
1075         Fixed a bunch of typos.
1076
1077 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1078
1079         * gst/gstpad.h:
1080         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
1081           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
1082           (gst_parse_bin_from_description_full):
1083         * gst/gstutils.h:
1084           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
1085
1086 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1087
1088         * docs/pwg/advanced-tagging.xml:
1089           Small docs update, can't be bothered to rewrite the nonsensical
1090           examples right now.
1091
1092 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1093
1094         * gst/gstevent.h:
1095           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
1096
1097 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1098
1099         * gst/parse/grammar.y:
1100           Remove unneeded casts.
1101
1102 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1103
1104         * gst/parse/grammar.y:
1105         * tests/check/pipelines/parse-launch.c:
1106           Get all missing elements from a parse launch string if possible
1107           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
1108
1109 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1110
1111         * tests/check/Makefile.am:
1112         * tests/check/pipelines/parse-launch.c:
1113           Add some unit tests for the new gst_parse_launch*_full() API.
1114           (Exposes a previously-existing memory leak in the error code
1115           path, so adding to VALGRIND_TO_FIX for now).
1116
1117 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1118
1119         * docs/gst/gstreamer-sections.txt:
1120         * gst/gst.c: (init_post):
1121         * gst/gst_private.h: (_GstParseContext):
1122         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
1123           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
1124           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
1125           (gst_parse_launch_full):
1126         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
1127           (GstParseFlags), (GstParseContext):
1128         * gst/gstutils.c: (gst_parse_bin_from_description),
1129           (gst_parse_bin_from_description_full):
1130         * gst/gstutils.h:
1131         * gst/parse/grammar.y:
1132         * gst/parse/types.h:
1133         * win32/common/libgstreamer.def:
1134           Add new gst_parse_*_full API (#528178):
1135           API: gst_parse_launch_full()
1136           API: gst_parse_launchv_full()
1137           API: gst_parse_bin_from_description_full()
1138           API: gst_parse_context_new()
1139           API: gst_parse_context_free()
1140           API: gst_parse_context_get_missing_elements()
1141
1142 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
1143
1144         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
1145
1146         * docs/faq/gst-uninstalled:
1147           Also support ffmpeg in gst-uninstalled.
1148
1149 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1150
1151         * configure.ac:
1152         After discussion on IRC use the binary registry as default
1153         but allow to disable it with --disable-binary-registry.
1154
1155         * win32/common/libgstreamer.def:
1156         Add the two new symbols for the binary registry.
1157
1158 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
1159
1160         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
1161         * gst/gstutils.c: (gst_parse_bin_from_description):
1162         * gst/parse/grammar.y: (graph):
1163           More guards against bad input; typo fix; some minor clean-ups.
1164
1165 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1166
1167         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1168
1169         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1170         If nothing else can be used, use the last buffer's start time as
1171         the segment's last stop. Fixes bug #534258.
1172
1173 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
1174
1175         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1176           Move size sanity check to the right place: downstream may return
1177           a buffer with a smaller size if the buffer caps are different than
1178           the requested ones, as may happen when doing reverse negotiation.
1179
1180 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1181
1182         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
1183         (gst_file_sink_render):
1184         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
1185         (gst_file_src_start):
1186         Small cleanups. Add note adbout g_fopen() on windows and why we don't
1187         use it yet.
1188
1189 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1190
1191         * gst/gstpad.c: (gst_pad_load_and_link):
1192         * gst/gstutils.c: (gst_element_link_pads),
1193         (gst_element_unlink_pads):
1194         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1195         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1196         (gst_check_teardown_sink_pad),
1197         (gst_check_element_push_buffer_list):
1198         * tests/check/elements/fakesink.c: (GST_START_TEST):
1199         * tests/check/elements/filesink.c:
1200         * tests/check/elements/filesrc.c: (GST_START_TEST):
1201         * tests/check/elements/multiqueue.c: (setup_multiqueue),
1202         (mq_sinkpad_to_srcpad):
1203         * tests/check/elements/tee.c: (GST_START_TEST):
1204         * tests/check/generic/sinks.c: (GST_START_TEST):
1205         * tests/check/gst/gstbin.c: (GST_START_TEST):
1206         * tests/check/gst/gstevent.c: (GST_START_TEST):
1207         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1208         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
1209         * tests/check/gst/gstquery.c: (GST_START_TEST):
1210         * tests/check/gst/gstutils.c: (GST_START_TEST):
1211         * tests/check/libs/basesrc.c: (GST_START_TEST):
1212         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
1213         (gst_parse_test_element_change_state):
1214         Don't use gst_element_get_pad().
1215
1216 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
1217
1218         * docs/Makefile.am:
1219         Fix installing plugin documentation when gtk-doc is disabled.
1220
1221 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1222
1223         * docs/manual/advanced-autoplugging.xml:
1224         * docs/manual/basics-helloworld.xml:
1225         * docs/manual/basics-pads.xml:
1226         * docs/manual/highlevel-components.xml:
1227         Avoid using a bad function in the example code.
1228
1229 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1230
1231         * gst/gstclock.c: (gst_clock_set_calibration):
1232         Fix debug of the new clock rate.
1233
1234 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1235
1236         * win32/common/libgstbase.def:
1237         Add gst_base_sink_wait_clock() to the exported symbols.
1238
1239 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
1240
1241         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
1242
1243         * libs/gst/base/gstbasetransform.c:
1244         (gst_base_transform_sink_event):
1245         Unref events that the GstBaseTransform::event vfunc didn't want to
1246         have forwarded by the base class. Closes a leak in identity.
1247         Fixes bug #446763.
1248
1249 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1250
1251         * docs/libs/gstreamer-libs-sections.txt:
1252         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1253         * libs/gst/base/gstbasesink.h:
1254         Expose a method that was previously used internally to synchronize
1255         against the clock because it can be useful for subclasses too.
1256         API: GstBaseSink::gst_base_sink_wait_clock()
1257
1258 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1259
1260         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1261           Add sanity check to make sure we don't get smaller buffers
1262           than requested (and fallback to normal buffer alloc if we do).
1263
1264 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1265
1266         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1267         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1268         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1269         Refactor adjusting the running_time with latency and offset into a
1270         separate method.
1271         When doing clipping, we still want to use the subclass get_times method,
1272         just in case the DURATION or TIMESTAMP are not set.
1273
1274 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1275
1276         * docs/gst/gstreamer-sections.txt:
1277         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1278         * gst/gsttypefind.h:
1279         * win32/common/libgstreamer.def:
1280           API: add gst_type_find_suggest_simple(), #533740.
1281
1282 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1283
1284         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1285           Use right error code when typefinding fails, so we can use
1286           the default (translated) error messages.
1287
1288 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1289
1290         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1291         (gst_base_src_start):
1292         When the subclass did not set caps on outgoing buffers, configure the
1293         caps we negotiated on the source pad.
1294         When the typefind helper does not find caps, error out properly instead
1295         of doing things with NULL caps.
1296
1297 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1298
1299         * gst/gsttypefind.h:
1300           Tabs to spaces, oh yes!
1301
1302 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1303
1304         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1305           Add David's and Benjamin's tests for array intersection to the
1306           unit test suite (#147931).
1307
1308 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1309
1310         * gst/gstevent.c:
1311           Document that gst_event_new_tag() and gst_event_new_navigation()
1312           take ownership of the taglist/structure passed to them. (#533635).
1313
1314 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
1315
1316         * docs/Makefile.am:
1317         Don't descend into the plugins dir if plugin docs building
1318         is disabled.
1319
1320         * docs/README:
1321         Add a note about the new type:GTypeName syntax for the plugin
1322         documentation .types file.
1323
1324 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1325
1326         * gst/gstmessage.c: (gst_message_new_error),
1327         (gst_message_new_warning), (gst_message_new_info):
1328         * gst/gstmessage.h:
1329         Mark the debug string parameters as const. Fixes bug #533490.
1330
1331 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
1332
1333         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1334         Sort buffer cache list by end offsets. This makes sure that we don't
1335         stop to search for a cached buffer that contains the requested data
1336         too early.
1337         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1338         more efficient. Fixes bug #459862.
1339
1340 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
1341
1342         * gst/gstinfo.c:
1343           Explain why we copy the list.
1344
1345         * gst/gstpipeline.c:
1346           Improve docs.
1347
1348         * gst/gstutils.c:
1349           Add one debug-log statement to help tracing probelms with linking pads.
1350
1351 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
1352
1353         * tests/check/gst/gstinfo.c:
1354         Add a test for removing the default log handler. Seems to fail under
1355         windows.
1356
1357 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1358
1359         * gst/gstpad.c: (gst_pad_peer_accept_caps):
1360         Release pad lock before calling out to avoid a possible deadlock.
1361
1362 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1363
1364         * gst/parse/grammar.y:
1365         Remove unneeded value unset.
1366
1367         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1368         Add unit test for de/serialization of caps.
1369
1370 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1371
1372         * plugins/elements/gstfakesink.c:
1373         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1374         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1375         (gst_fake_src_class_init):
1376         Use custom marshalers that take GstMiniObject as first parameter.
1377         Using OBJECT as parameter while a GstMiniObject is given will lead
1378         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1379
1380 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1381
1382         * plugins/elements/gsttypefindelement.c:
1383         (gst_type_find_element_handle_event),
1384         (gst_type_find_element_send_cached_events),
1385         (gst_type_find_element_change_state):
1386         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1387         immediately.
1388
1389 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1390
1391         * plugins/elements/gsttypefindelement.c:
1392         (gst_type_find_handle_src_query), (stop_typefinding),
1393         (gst_type_find_element_handle_event),
1394         (gst_type_find_element_send_cached_events),
1395         (gst_type_find_element_change_state):
1396         Forward FLUSH_START events immediately and clean up instead of
1397         caching them.
1398
1399 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1400
1401         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1402
1403         * libs/gst/base/gstbasetransform.c:
1404         (gst_base_transform_buffer_alloc):
1405         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1406         fall back to default negotiation in the chain function if the caps
1407         are different from what was requested. Fixes bug #526768.
1408
1409 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1410
1411         * gst/gstsegment.c:
1412         * tests/check/gst/gstsegment.c:
1413           No, let's not use g_slice_{dup|copy} here, since they only exist
1414           since GLib 2.14 and we still depend only on >= 2.12. Also add
1415           unit test for gst_segment_copy().
1416
1417 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1418
1419         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1420           Try to fix 'dereferencing type-punned pointer will break strict
1421           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1422           changed the default GType typedef from gulong to gsize at some point,
1423           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1424           g_once_* functions all take a gsize * though, so work around the type
1425           mismatch for C++ by doing everything in gsize and casting to GType
1426           later.
1427
1428 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
1429
1430         * plugins/elements/gstmultiqueue.c:
1431         Add documentation for the signals to push our core plugin docs
1432         coverage back up to 100%.
1433
1434 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1435
1436         * gst/gstinfo.h (GST_FUNCTION):
1437           Reverted GST_FUNCTION to the old version as we don't want the
1438           full signature in C++ code. Also added support for MSVC.
1439
1440 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1441
1442         * gst/gstutils.h:
1443         Intern the type name string, similar to what G_DEFINE_TYPE does.
1444
1445 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1446
1447         * gst/gstutils.h:
1448         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1449
1450 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1451
1452         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1453
1454         * libs/gst/base/gstbasetransform.c:
1455         (gst_base_transform_buffer_alloc):
1456         Don't passthrough buffer allocation too easily if the caps change.
1457         This breaks when working in passthrough mode and upstream changes
1458         it's caps. Fixes bug #526768.
1459
1460 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1461
1462         * gst/gstinfo.c (gst_debug_log_valist):
1463           Improved the __FILE__ part of debug output for MSVC.
1464
1465 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1466
1467         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1468           Declaration after statement fix for compilers like MSVC.
1469
1470 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1471
1472         * win32/common/config.h.in:
1473           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1474           use the real thing than having "???" unconditionally.
1475
1476 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1477
1478         * gst/gstinfo.h (GST_FUNCTION):
1479           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1480
1481 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1482
1483         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1484         Small code cleanup.
1485
1486         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1487         (gst_base_sink_set_flushing):
1488         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1489         Fix some comments.
1490
1491 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1492
1493         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1494         (gst_fake_src_init), (gst_fake_src_set_property),
1495         (gst_fake_src_get_property), (gst_fake_src_start):
1496         * plugins/elements/gstfakesrc.h:
1497         Added format property to control the format of the newsegment events.
1498         API: GstFakeSrc:format
1499
1500 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1501
1502         * win32/common/libgstreamer.def:
1503         Add gst_pad_has_name() to the exported symbols.
1504
1505 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1506
1507         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1508         * libs/gst/base/gstbasetransform.c:
1509         (gst_base_transform_prepare_output_buffer):
1510         Don't allow negative sizes when allocating new buffers.
1511         Fixes bug #461253.
1512
1513 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1514
1515         Patch by: Sjoerd Simons <sjoerd at luon net>
1516
1517         * gst/gstbus.c: (gst_bus_source_dispatch):
1518           Don't print a warning if the queue is empty when we try to pop
1519           here. That could happen if another thread or callback set the
1520           bus to flushing between the source's check/prepare and the
1521           dispatch being called (#531538).
1522
1523 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1524
1525         * plugins/elements/gstmultiqueue.c:
1526           Small docs fix.
1527         
1528 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1529
1530         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1531         Add unit test for deserializing uint64s and check some really large
1532         numbers in the int64 test.
1533
1534 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1535
1536         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1537         (print_interfaces), (print_element_properties_info),
1538         (print_signal_info):
1539         Use "%s" as format string instead of printing strings directly.
1540
1541 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1542
1543         * gst/gstclock.c: (gst_clock_set_calibration):
1544         Make some checks actually useful.
1545
1546         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1547         Remove some unused code. Unsigned integers tend to be >= 0.
1548
1549 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1550
1551         * gst/gstminiobject.c: (gst_value_get_mini_object):
1552           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1553           function was not in the unscheduled 0.10.19 release.
1554
1555 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1556
1557         * gst/gstregistry.c: (gst_registry_scan_path_level):
1558           Only print one log message per non-plugin file.
1559
1560 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1561
1562         * gst/gstinfo.c: (gst_debug_log_default):
1563           Fix alignment of debug log columns on 64-bit.
1564
1565 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1566
1567         * docs/libs/Makefile.am:
1568         * docs/libs/gstreamer-libs-sections.txt:
1569           Ignore private controller headers for docs.
1570
1571 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1572
1573         * libs/gst/controller/gstcontrollerprivate.h:
1574         * libs/gst/controller/gsthelper.c:
1575         * libs/gst/controller/gstinterpolation.c:
1576         * libs/gst/controller/gstinterpolationcontrolsource.c:
1577         (gst_interpolation_control_source_set_interpolation_mode):
1578         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1579         * libs/gst/controller/lib.c:
1580         Move some private declarations into private headers.
1581
1582 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1583
1584         * gst/gstdebugutils.c: (debug_dump_element_pad):
1585         Remove some code that is unused after Stefan's refactoring and uses
1586         uninitialized variables now, resulting in a compiler warning.
1587
1588 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1589
1590         * gst/gstregistry.c: (gst_registry_scan_path_level):
1591           Run g_str_has_suffix() only on the file name, not the
1592           entire file path.
1593
1594 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1595
1596         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1597           Since we're not called only from the chain function any longer,
1598           we can't assume that there's always data in the queue, so move
1599           the is_full check to the beginning of the loop (otherwise we'd
1600           hit the assert when changing the limit properties while the
1601           queue is empty or not running yet).
1602           Also, only set a discont if items were actually removed from
1603           the queue.
1604
1605         * tests/check/elements/queue.c: (test_leaky_downstream):
1606           Test case for the above.
1607
1608 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1609
1610         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1611
1612         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1613         (gst_queue_chain), (queue_capacity_change),
1614         (gst_queue_set_property):
1615         When changing thr max capacity of a leaky queue, immediatly drop buffers
1616         instead of waiting for a push on the sinkpad. Fixes #530637.
1617
1618 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1619
1620         * gst/gstdebugutils.c:
1621           Refactor code and fix handling of ghostpads and their proxypads.
1622
1623 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1624
1625         * docs/gst/gstreamer-sections.txt:
1626         * gst/gstevent.c: (gst_event_has_name):
1627         * gst/gstevent.h:
1628         * tests/check/gst/gstevent.c: (GST_START_TEST):
1629         Add method to conveniently check the name of a custom event with
1630         gst_event_has_name().
1631         Reformat the event docs so that related methods are put together instead
1632         of the default alphabetical sort.
1633         Update unit test with new method.
1634         API: GstEvent::gst_event_has_name()
1635
1636 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1637
1638         * libs/gst/check/Makefile.am:
1639           Don't add an explicit link to libgstreamer-0.10.la; it's already
1640           included in GST_OBJ_LIBS.
1641
1642 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1643
1644         * gst/gst.c:
1645         Register GstClock type from a type-safe context. Fixes bug #530317.
1646
1647 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1648
1649         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1650         * tools/gst-run.c:
1651           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1652
1653 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1654
1655         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1656         (gst_bin_dispose):
1657         Use the GLib stuff to create a private structure.
1658         Add some locking around some dispose methods to make them a little
1659         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1660
1661 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1662
1663         * libs/gst/base/gstbasesink.h:
1664         * libs/gst/base/gstbasesrc.h:
1665         * libs/gst/base/gstbasetransform.h:
1666         * libs/gst/base/gstcollectpads.h:
1667           Fix doc typos and unify caps a bit.
1668
1669 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1670
1671         * tools/gst-launch.1.in:
1672           Forgot to also add the envvar docs here.
1673
1674 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1675
1676         * gst/gst.c: (init_post), (gst_deinit):
1677         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1678           (test_concurrent_create), (gst_pipeline_suite):
1679           Ref some more classes in gst_init() to work around thread-safety
1680           issues in pre-2.16 GLibs, and add basic unit test.
1681
1682 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1683
1684         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1685         (gst_base_sink_send_event):
1686         Rearrange the latency query code. We always want to do the upstream
1687         query, even if we are not live so that the upstream elements can get the
1688         latency results too. If we fail doing the query and we are live, we
1689         return TRUE afterwards.
1690
1691 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1692
1693         patch by: Jason Zhao <e3423c@motorola.com>
1694
1695         * docs/gst/running.xml:
1696         * gst/gst.c:
1697           Enable/disable scan_and_update_registry() based on commandline switch
1698           or environment variable. Fixes #520468.
1699           
1700         * ChangeLog:
1701           Fix typo in my previous commit.
1702
1703 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1704
1705         * gst/gstregistrybinary.c:
1706           Add a warning if we hit unhandled factories when saving.
1707           More debug logging detail, but move to LOG category.
1708
1709 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1710
1711         * gst/gstregistry.c:
1712           Tell the *truth* when improving the documentation.
1713
1714 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1715
1716         * gst/gstelementfactory.c: (gst_element_factory_make):
1717         Unref the factory after it was used the last time, not before.
1718
1719         * gst/gstindexfactory.c: (gst_index_factory_make):
1720         Improve debugging a bit and don't leak a ref to the index factory with
1721         each call.
1722
1723 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1724
1725         * gst/gstregistry.c:
1726           Improve the documentation.
1727
1728 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1729
1730         * gst/gstsegment.c:
1731           The glib macro seems to be borked. Use g_slice_copy directly and cast
1732           in the hope that this fixes the warning on 64bit.
1733
1734 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1735
1736         * gst/gstsegment.c:
1737           Document the new function. Use g_slice_dup() (no need for
1738           gst_segment_init()).    
1739
1740 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1741
1742         * docs/gst/gstreamer-sections.txt:
1743           Move GParamSepc macros to standart section.
1744   
1745         * gst/gstbin.c:
1746           Dn't document _get_type - its in private section in docs anyway and
1747           this doc-blob was incomplete.
1748
1749         * gst/gstclock.h:
1750           Fix wrong symbol names in docs.
1751
1752         * gst/gstmacros.h:
1753           Add once doc sentence.
1754
1755         * tests/check/gst/.cvsignore:
1756           Ignore more.
1757
1758 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1759
1760         * docs/gst/Makefile.am:
1761           And remove those libs here.
1762
1763 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1764
1765         * docs/libs/Makefile.am:
1766           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1767
1768 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1769
1770         Patch by: Olivier Crete <tester at tester dot ca>
1771
1772         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1773         Add the min-threshold to the min latency if possible. Fixes #529148.
1774
1775 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1776
1777         * docs/gst/gstreamer.types.in:
1778           Stupid editor, I removed that line as it should go in yet.
1779
1780 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1781
1782         * docs/gst/gstreamer.types.in:
1783         * docs/libs/gstreamer-libs.types:
1784           Remove library types fro core docs and have them in libs docs.
1785           Reformat and cleanup. Add comment for miniobject types.
1786
1787 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1788
1789         * gst/gsturi.c: (gst_uri_get_protocol):
1790           Fix leak: g_strdown operates on the string in place, while
1791           g_ascii_strdown() returns a newly-allocated string.
1792
1793 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1794
1795         * tools/gst-inspect.c: (print_uri_handler_info),
1796         (print_element_info):
1797         Print the URI protocols and the URI type supported by the element.
1798
1799 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1800
1801         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1802         Use g_value_take_string() instead of the deprecated
1803         g_value_set_string_take_ownership().
1804
1805 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1806
1807         * gst/gstregistrybinary.c: (_gst_crc32):
1808         Return the old CRC instead of 0 if we give a NULL buffer
1809         or a buffer with a length of 0.
1810
1811 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1812
1813         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1814         (gst_uri_get_protocol), (gst_uri_has_protocol),
1815         (gst_uri_construct), (gst_uri_handler_set_uri):
1816         A valid URI scheme can also include '+', '-' and '.' additional
1817         to alphanumeric characters as per RFC 3986 Section 3.1.
1818
1819         Handle URI schemes case insensitive in all places and convert
1820         to lower-case when constructing an URI or setting an URI with
1821         the GstURIHandler interface. Fixes bug #528868.
1822         All elements can still assume (as before) that they will
1823         get passed URIs with a lower-case URI scheme by the GstURIHandler
1824         interface.
1825
1826 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1827
1828         * gst/gstcaps.c: (gst_static_caps_get):
1829         * gst/gstclock.c: (gst_clock_entry_new):
1830           Don't use g_atomic_set_int where it's not needed.
1831
1832 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1833
1834         * gst/gstvalue.c: (gst_value_deserialize_caps):
1835         * gst/parse/grammar.y:
1836         Fix 2 caps leaks.
1837
1838 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1839
1840         * gst/gstutils.c: (gst_atomic_int_set):
1841         Use g_atomic_int_set() here too instead of assignment +
1842         g_atomic_int_get().
1843
1844 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1845         
1846         * gst/gstutils.c:
1847         * gst/gstutils.h:
1848         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1849         now that we depend on new enough GLib.
1850
1851         * gst/gstcaps.c: (gst_static_caps_get):
1852         * gst/gstclock.c: (gst_clock_entry_new):
1853         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1854         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1855         (gst_debug_category_set_threshold):
1856         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1857         (gst_base_sink_set_qos_enabled):
1858         * libs/gst/net/gstnettimeprovider.c:
1859         (gst_net_time_provider_set_property):
1860         Use g_atomic_int_set() instead of gst_atomic_int_set().
1861
1862 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1863
1864         * gst/gstquery.c:
1865           Also use G_GINT64_CONSTANT for the queries.
1866
1867 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1868
1869         * gst/gstmessage.c:
1870           Use G_GINT64_CONSTANT in varargs function.
1871
1872 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1873
1874         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1875         Initialize the registry magic with zeroes.
1876
1877 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1878
1879         * gst/gstregistrybinary.c: (_gst_crc32),
1880         (gst_registry_binary_write),
1881         (gst_registry_binary_initialize_magic),
1882         (gst_registry_binary_write_cache),
1883         (gst_registry_binary_check_magic),
1884         (gst_registry_binary_read_cache):
1885         * gst/gstregistrybinary.h:
1886         Add crc32 checksum to the binary registry file and check this before
1887         accepting a registry file.
1888
1889         Also free the data list when writing to the registry file fails.
1890
1891 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1892
1893         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1894         (gst_registry_binary_load_feature),
1895         (gst_registry_binary_load_plugin):
1896         If an element supports the Uri interface, returns a valid pointer
1897         to the supported URI protocols but this pointer contains nothing
1898         don't try to save that as it will corrupt the registry.
1899
1900         Don't unref the plugin if we added it to the registry already but
1901         fail to load a feature as gst_registry_add_plugin() takes ownership
1902         of the plugin.
1903
1904         Improve debugging a bit.
1905
1906 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1907
1908         * gst/gsttaglist.h:
1909           Clarify some tag item docs after discussion on irc.
1910
1911 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1912
1913         * docs/gst/gstreamer-docs.sgml:
1914           Remove commented out plugins (they have their own docs). Update
1915           comments.
1916
1917 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1918
1919         * docs/gst/gstreamer-docs.sgml:
1920         * docs/gst/gstreamer-sections.txt:
1921         * gst/gstparamspecs.c:
1922         * gst/gstparamspecs.h:
1923           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1924           docs to own section.
1925
1926         * gst/gstvalue.c:
1927           This now only documents GValue.
1928           
1929         * docs/libs/gstreamer-libs-sections.txt:
1930         * libs/gst/controller/gstcontroller.h:
1931           Remove GST_PARAM_CONTROLLABLE.
1932
1933 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1934
1935         * docs/README:
1936           Correct file path. Tell about how to use -overrides.txt.
1937         * docs/design/draft-tagreading.txt:
1938           Small design update.
1939
1940 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1941
1942         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1943         (gst_registry_binary_load_plugin):
1944         Fix a typo in a debug message and revert change from yesterday as
1945         gst_registry_add_plugin() will only fail if something is really wrong
1946         already and we can't survive it anyway.
1947
1948 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1949
1950         * gst/gst.c: (init_post), (gst_deinit):
1951           Pre-register GstGError GType from a thread-safe context
1952           (fixes #527967); unref enum type classes in deinit.
1953
1954 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1955
1956         Patch by: Rene Stadler <mail at renestadler de>
1957
1958         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1959           Merging an empty list with another list in KEEP_ALL mode should
1960           yield an empty list as result and not the second list (#512578).
1961
1962         * tests/check/gst/gsttagsetter.c:
1963           Add unit test for tag merge modes and the aforementioned bug.
1964
1965 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1966
1967         Patch by: Rene Stadler <mail at renestadler de>
1968
1969         * gst/gsttaglist.h:
1970           Fix description to match the order in the table (#512577).
1971   
1972 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1973
1974         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1975
1976         * libs/gst/net/gstnettimepacket.h:
1977         * docs/libs/gstreamer-libs-sections.txt:
1978           Define socklen_t as int if it's not defined yet. Fixes compilation
1979           with MSVC6 and other versions where socklen_t is not defined in
1980           the windows headers (#518022).
1981
1982 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1983
1984         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1985         If gst_registry_add_plugin() fails our reference to the plugin is
1986         invalid so don't try to use it anymore and instead error out.
1987
1988 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1989
1990         * tools/gst-xmlinspect.c: (print_element_info), (main):
1991           De-cruft a bit. If no argument is specified, print all elements in
1992           XML syntax rather than a freestyle list of elements like gst-inspect.
1993           Also, don't print XML header chunk unless we actually have something
1994           to print (ie. don't print it before an error message); print error
1995           message to stderr not stdout. Remove support for printing plugin
1996           info (it would just output something freestyle along the lines of
1997           gst-inspect so far), which fixes #514507. Also add license header.
1998
1999 2008-04-11  Julien Moutte  <julien@fluendo.com>
2000
2001         Mac OS X love...
2002         * configure.ac: Merge platform specific defines, introduce a new
2003         define on OS X to remember that forking when updating registry is
2004         unsafe.
2005         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
2006         module.
2007         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
2008         is defined.
2009         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
2010         condition that leads to absolutely no plugins being registered on
2011         OS X.
2012
2013 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
2014
2015         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2016
2017         * gst/gstutils.c: (gst_pad_add_data_probe),
2018           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
2019           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
2020           (gst_pad_add_buffer_probe_full):
2021         * gst/gstutils.h:
2022         * docs/gst/gstreamer-sections.txt:
2023         * win32/common/libgstreamer.def:
2024           Add gst_pad_add_*_probe_full() functions with a notify callback that
2025           lets the caller free the data it passes to the probe functions. This
2026           is useful for bindings such as gst-python or gstreamermm (#526814).
2027           API: gst_pad_add_data_probe_full
2028           API: gst_pad_add_buffer_probe_full
2029           API: gst_pad_add_event_probe_full
2030
2031         * tests/check/gst/gstutils.c:
2032           Add minimal unit test to make sure freeing the data actually works
2033           as expected.
2034
2035         * tests/benchmarks/.cvsignore:
2036           Random cvsignore addendum.
2037
2038 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
2039
2040         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
2041           (GST_DEBUG_BIN_TO_DOT_FILE):
2042           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
2043           to it in the docs (since these are macros the types of the arguments
2044           won't be shown in the docs otherwise).
2045
2046 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
2047
2048         * gst/gstpad.c:
2049           Do not abort on out of memory for pad_alloc_buffer.
2050
2051 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
2052
2053         * libs/gst/check/gstcheck.c:
2054           Remove blank line between symbol name ad parameters to fix gtkdoc
2055           warning.
2056
2057 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2058
2059         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
2060
2061         * docs/gst/gstreamer-sections.txt:
2062         * gst/gstsegment.c:
2063         * gst/gstsegment.h:
2064         * win32/common/libgstreamer.def:
2065           Expose gst_segment_copy() to make things easier for the c++ bindings.
2066           Fixes #518932.
2067           API: gst_segment_copy()
2068
2069 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2070
2071         * gst/gst.c: (gst_init_get_option_group), (init_post):
2072           Fix const position; ref GType classes for enum types to work
2073           around thread-safety issues in GLib versions < 2.16.
2074
2075 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2076
2077         * docs/design/part-buffering.txt:
2078         Fix some typos and set the estimated total for push mode to -1.
2079
2080         * gst/gstquery.c: (gst_query_new_buffering):
2081         Set buffering-left to 0 as we're not buffering by default.
2082
2083         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2084         Implement BUFFERING query.
2085
2086 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2087
2088         Based on patch by: Milosz Derezynski <internalerror gmail com>
2089
2090         * gst/gsterror.c: (_gst_stream_errors_init):
2091         * gst/gsterror.h:
2092           Add two new error codes for encrypted content. Fixes #524659.
2093           API: GST_STREAM_ERROR_DECRYPT
2094           API: GST_STREAM_ERROR_DECRYPT_NOKEY
2095
2096 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2097
2098         * gst/gstquery.h:
2099           Fix typo.
2100
2101         * win32/common/libgstreamer.def:
2102           Add new functions.
2103
2104 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
2105
2106         * plugins/elements/gstidentity.c: (gst_identity_event),
2107         (gst_identity_start):
2108         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
2109         event after processing some data. Fixes bug #526042.
2110
2111 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2112
2113         * docs/gst/gstreamer-sections.txt:
2114         * gst/gstquery.c: (gst_query_parse_latency),
2115         (gst_query_set_buffering_percent),
2116         (gst_query_parse_buffering_percent),
2117         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
2118         * gst/gstquery.h:
2119         Rename _avail -> _range
2120         API: gst_query_set_buffering_range
2121         API: gst_query_parse_buffering_range
2122
2123 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2124
2125         * docs/design/part-buffering.txt:
2126         * gst/gstquark.c:
2127         * gst/gstquark.h:
2128         * gst/gstquery.c: (gst_query_parse_latency),
2129         (gst_query_new_buffering), (gst_query_set_buffering_percent),
2130         (gst_query_parse_buffering_percent):
2131         * gst/gstquery.h:
2132         Add busy field and quark for the buffering query so that the app can
2133         only use the query to see if buffering is in progress.
2134
2135 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2136
2137         * docs/gst/gstreamer-sections.txt:
2138         * gst/gstmessage.c: (gst_message_set_buffering_stats),
2139         (gst_message_parse_buffering_stats):
2140         * gst/gstmessage.h:
2141         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2142         (gst_query_parse_latency), (gst_query_new_buffering),
2143         (gst_query_set_buffering_percent),
2144         (gst_query_parse_buffering_percent),
2145         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
2146         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
2147         * gst/gstquery.h:
2148         Reorder the message docs and headers for clarity.
2149         Add aditional buffering stats API for messages.
2150         Add buffering query.
2151         Convert some leftover queries to use GstQuark.
2152         API: gst_message_set_buffering_stats
2153         API: gst_message_parse_buffering_stats
2154         API: GST_QUERY_BUFFERING
2155         API: GstBufferingMode
2156         API: gst_query_new_buffering
2157         API: gst_query_set_buffering_percent
2158         API: gst_query_parse_buffering_percent
2159         API: gst_query_set_buffering_stats
2160         API: gst_query_parse_buffering_stats
2161
2162 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2163
2164         * gst/gstmessage.c: (gst_message_new_error),
2165         (gst_message_new_warning), (gst_message_new_info),
2166         (gst_message_new_buffering), (gst_message_new_state_changed),
2167         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
2168         (gst_message_new_new_clock), (gst_message_new_segment_start),
2169         (gst_message_new_segment_done), (gst_message_new_duration),
2170         (gst_message_new_async_start), (gst_message_parse_buffering),
2171         (gst_message_parse_state_changed),
2172         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2173         (gst_message_parse_new_clock), (gst_message_parse_error),
2174         (gst_message_parse_warning), (gst_message_parse_info),
2175         (gst_message_parse_segment_start),
2176         (gst_message_parse_segment_done), (gst_message_parse_duration),
2177         (gst_message_parse_async_start):
2178         Use GstQuark for messages.
2179
2180 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2181
2182         * gst/gstquark.c: (_priv_gst_quarks_initialize):
2183         * gst/gstquark.h:
2184         Add some more quarks needed for messages and queries.
2185
2186 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2187
2188         * docs/design/part-buffering.txt:
2189         Remove the "none" buffering mode, STREAM is a good default.
2190         Move estimated-time to the avail query, that's when it will be needed.
2191         Other small typo fixes and updates.
2192
2193 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
2194
2195         * gst/gstindex.c: (gst_index_resolver_get_type):
2196           Don't put descriptions into the nick field of a GEnumValue: it's not
2197           meant for that and some language bindings rely on the nick field to
2198           construct constants and the like. Fixes #526705.
2199
2200 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
2201
2202         * NEWS:
2203         * RELEASE:
2204         * gstreamer.doap:
2205           Merge other changes from 0.10.19 release branch.
2206
2207 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
2208
2209         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2210
2211         * configure.ac:
2212         Actually build dlls when cross-compiling with mingw32.
2213         Fixes bug #526247.
2214
2215 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
2216
2217         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2218
2219         * gst/gstpoll.c:
2220         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
2221
2222 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2223
2224         * docs/design/draft-latency.txt:
2225         Fix typo.
2226
2227         * docs/design/part-buffering.txt:
2228         Update design docs with more buffering ideas.
2229
2230 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
2231
2232         * configure.ac:
2233           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2234
2235 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2236
2237         * configure.ac:
2238           Revert part that belongs to the preset patch.
2239
2240 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2241
2242         * configure.ac:
2243           Add qoutes to the define. Fixes # 525961.
2244
2245 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
2246
2247         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2248         (gst_file_index_load), (gst_file_index_add_id),
2249         (gst_file_index_get_assoc_entry):
2250         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2251         (gst_mem_index_free_id), (gst_mem_index_add_id),
2252         (gst_mem_index_index_format):
2253         Use GSlice when possible.
2254
2255 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
2256
2257         * libs/gst/controller/gstinterpolationcontrolsource.c:
2258         (gst_control_point_free),
2259         (gst_interpolation_control_source_set_internal):
2260         Use GSlice for allocating the control points.
2261
2262 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
2263
2264         * plugins/elements/gsttypefindelement.c:
2265         (gst_type_find_element_class_init),
2266         (gst_type_find_element_set_property),
2267         (gst_type_find_element_get_property),
2268         (gst_type_find_element_activate):
2269         * plugins/elements/gsttypefindelement.h:
2270         Cleanup properties.
2271         Fix pad leak when peer query fails.
2272         We can still typefind when the peer returns -1.
2273         Add property to force caps and bypass typefinding. This will be used in
2274         uridecodebin.
2275         API::force-caps
2276
2277 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2278
2279         * configure.ac:
2280         Require GLib 2.12.
2281
2282         * gst/glib-compat-private.h:
2283         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2284         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2285         Unconditionally use GSlice for allocation.
2286
2287         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2288         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2289         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2290         (gst_structure_free):
2291         Use GSlice for allocation.
2292
2293 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2294
2295         * gst/parse/Makefile.am:
2296         * gst/parse/grammar.tab.pre.c:
2297         * gst/parse/grammar.tab.pre.h:
2298         * gst/parse/lex._gst_parse_yy.pre.c:
2299         Require a new enough flex and bison and remove the parser hacks to use
2300         a pre-regenerated version.
2301
2302 2008-04-01  Julien Moutte  <julien@fluendo.com>
2303
2304         patch by: Jason Zhao <E3423C@motorola.com>
2305
2306         * configure.ac: Add a configure switch to disable option parsing
2307         in gst_init.
2308         Fixes #522882.
2309
2310 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2311
2312         * configure.ac:
2313         * gst/gstregistry.c:
2314           MacOS has plugins under .so or under .dylib. Add detection for MacOS
2315           and handle this case.
2316
2317         * gst/gst.c:
2318           Add a comment here describing, why we stat each plugin and not try to
2319           be smart.
2320
2321 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
2322
2323         * libs/gst/base/gstbasetransform.c:
2324         (gst_base_transform_prepare_output_buffer):
2325         Also unset the GAP flag on buffers if we're working inplace but
2326         the element is not GAP-aware.
2327
2328         Mark a comment as FIXME 0.11.
2329
2330 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2331
2332         * gst/gst.c:
2333           Fix type in log message and add one to ease seeing how long registry
2334           cache verification takes.
2335
2336         * gst/gstregistry.c:
2337           Only test plugin filenames against G_MODULE_SUFFIX.
2338
2339 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2340
2341         * gst/gstdebugutils.c:
2342           Improve handling ghost/proxy pads.
2343
2344 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
2345
2346         * docs/gst/gstreamer-sections.txt:
2347         * gst/gstpad.c:
2348         * gst/gstpad.h:
2349           Expose macro to docs and fix link to it.
2350
2351 2008-03-27  Michael Smith <msmith@fluendo.com>
2352
2353         * libs/gst/dataprotocol/dataprotocol.c:
2354         (gst_dp_packet_from_event_1_0):
2355           When calculating GDP body CRC, use the correct pointer. 
2356           Fixes part of #522401.
2357
2358 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2359
2360         Patch by: Mark Nauwelaerts <manauw at skynet be>
2361
2362         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2363         (gst_identity_init), (gst_identity_prepare_output_buffer):
2364         Identity is not always a passthrough element, it can modify the buffer
2365         timestamps when it has a datarate and operates in single-segment mode.
2366         We therefore make it an in_place filter with a custom buffer prepare
2367         function that conditionally makes the input buffer metadata writable
2368         when needed.  Fixes #523985.
2369
2370 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2371
2372         Patch by: Mark Nauwelaerts <manauw at skynet be>
2373
2374         * gst/gstclock.h:
2375         * libs/gst/base/gstbasesrc.h:
2376         * libs/gst/base/gstbasetransform.c:
2377         * libs/gst/check/gstcheck.c:
2378         Small documentation fixes. Fixes #523978.
2379
2380 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2381
2382         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2383         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2384         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2385
2386 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2387
2388         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2389         (single_queue_underrun_cb):
2390         When trying to make room in the queue, bump the max allowed buffers
2391         bigger than the current amount of buffers in the queue. this fixes some
2392         nasty deadlocks in multiqueue when dynamically changing the limits of
2393         the queue.
2394
2395 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2396
2397         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
2398
2399         * gst/gstcaps.c: (gst_caps_set_simple),
2400         (gst_caps_set_simple_valist), (gst_caps_intersect):
2401         * gst/gstcaps.h:
2402         Constify the field gchar * params in set_simple and friends.
2403         Fixes #522326.
2404
2405 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2406
2407         * gst/gstvalue.c: (gst_value_transform_object_string):
2408         Transform a GstObject to a more meaningfull string that includes the
2409         object type in addition to its name.
2410
2411 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
2412
2413         * ChangeLog:
2414           ChangeLog surgery to add bugnumber to commit.
2415
2416 2008-03-23  Rene Stadler  <mail@renestadler.de>
2417
2418         * libs/gst/base/gstbasetransform.c:
2419         (gst_base_transform_set_gap_aware): Fix confusing documentation.
2420
2421 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2422
2423         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2424         Rename constant everywhere and don't forget one occurence.
2425
2426 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2427
2428         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2429         Align memory to the pointer size even if the architecture allows
2430         unaligned memory access. Unaligned memory access usually comes with
2431         performance penality.
2432
2433 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2434
2435         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2436         (gst_registry_binary_check_magic),
2437         (gst_registry_binary_load_pad_template),
2438         (gst_registry_binary_load_feature),
2439         (gst_registry_binary_load_plugin):
2440         Align memory to the pointer size instead of always 32 bit. Fixes
2441         unaligned memory accesses on ia64 and friends.
2442
2443         * gst/gstregistrybinary.h:
2444         Bump binary registry format version for this as it changes the
2445         format on those architectures that don't have unaligned access
2446         and 64 bit pointers.
2447
2448 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2449
2450         * docs/pwg/advanced-dparams.xml:
2451         * docs/pwg/building-props.xml:
2452         * docs/pwg/other-source.xml:
2453         * gst/glib-compat.h:
2454         * gst/gstbin.c: (gst_bin_class_init):
2455         * gst/gstclock.c: (gst_clock_class_init):
2456         * gst/gstindex.c: (gst_index_class_init):
2457         * gst/gstobject.c: (gst_object_class_init):
2458         * gst/gstpad.c: (gst_pad_class_init):
2459         * gst/gstpipeline.c: (gst_pipeline_class_init):
2460         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2461         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2462         * libs/gst/base/gstbasetransform.c:
2463         (gst_base_transform_class_init):
2464         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2465         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2466         (_gst_check_fault_handler_sighandler),
2467         (_gst_check_fault_handler_setup), (gst_check_init):
2468         * libs/gst/controller/gstcontroller.c:
2469         (_gst_controller_class_init):
2470         * libs/gst/controller/gstlfocontrolsource.c:
2471         (gst_lfo_control_source_class_init):
2472         * libs/gst/net/gstnetclientclock.c:
2473         (gst_net_client_clock_class_init):
2474         * libs/gst/net/gstnettimeprovider.c:
2475         (gst_net_time_provider_class_init):
2476         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2477         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2478         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2479         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2480         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2481         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2482         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2483         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2484         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2485         * plugins/elements/gstqueue.c: (gst_queue_class_init):
2486         * plugins/elements/gsttee.c: (gst_tee_class_init):
2487         * plugins/elements/gsttypefindelement.c:
2488         (gst_type_find_element_class_init):
2489         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2490         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2491         use it everywhere for GParamSpecs that use static strings (i.e. all).
2492         This gives us less memory usage, fewer allocations and thus less
2493         memory defragmentation. Fixes bug #523806.
2494
2495 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2496
2497         * gst/gstminiobject.c: (gst_value_dup_mini_object),
2498         (gst_param_spec_mini_object):
2499         * gst/gstminiobject.h:
2500         * win32/common/libgstreamer.def:
2501         * docs/gst/gstreamer-sections.txt:
2502         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2503         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2504         GstParamSpecMiniObject into a public header for this.
2505
2506         This make GstMiniObject a bit more consistent with GObject and makes
2507         it possible to extend the param specs.
2508
2509         gst_value_dup_mini_object is mainly useful for set_property methods.
2510
2511         Fixes bug #523798.
2512
2513         * tools/gst-inspect.c: (print_element_properties_info):
2514         Print something useful for GstMiniObject properties and not just
2515         "unknown type".
2516
2517 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2518
2519         * docs/gst/gstreamer-sections.txt:
2520         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2521         (gst_registry_binary_check_magic):
2522         * gst/gstregistrybinary.h:
2523         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2524         and add it to the (private part) of the docs to fix the build.
2525
2526 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2527
2528         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2529         (gst_registry_binary_check_magic),
2530         (gst_registry_binary_read_cache):
2531         * gst/gstregistrybinary.h:
2532         Don't use GST_MAJORMINOR for the binary registry version. Instead
2533         hardcode a value that must be changed whenever the format changes
2534         in an incompatible way.
2535         Also don't GST_ERROR when there is a version mismatch, just
2536         regenerate the registry silently.
2537
2538 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2539
2540         * configure.ac:
2541         Back to development - 0.10.18.1
2542
2543 === release 0.10.18 ===
2544
2545 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2546
2547         * configure.ac:
2548           releasing 0.10.18, "So far away"
2549
2550 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2551
2552         * configure.ac:
2553         * win32/common/config.h:
2554         0.10.17.4 pre-release
2555
2556 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2557
2558         Patch by: Ole André Vadla Ravnås
2559             <ole dot andre dot ravnas at tandberg dot com>
2560
2561         * docs/gst/gstreamer-sections.txt:
2562         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2563         (gst_poll_update_winsock_event_mask),
2564         (gst_poll_prepare_winsock_active_sets),
2565         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2566         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2567         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2568         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2569         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2570         * gst/gstpoll.h:
2571         * win32/common/libgstreamer.def:
2572         Add new function gst_poll_fd_ignored() for improved Windows
2573         compatibility.
2574         Various minor fixes and cleanups. See #520808.
2575
2576 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2577
2578         * gst/gstindex.c: (gst_index_entry_free):
2579         * gst/gstindex.h:
2580           Don't free key strings which we don't own. Fixes crash in
2581           gst_index_entry_free() (#522741).
2582
2583         * tests/check/Makefile.am:
2584         * tests/check/gst/.cvsignore:
2585         * tests/check/gst/gstindex.c: (test_index_entries),
2586           (gst_index_suite), (gst_index):
2587           Add unit test for the above.
2588
2589 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2590
2591         * win32/common/libgstreamer.def:
2592         Remove symbols that were removed recently. Fixes bug #521740.
2593
2594 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2595
2596         * configure.ac:
2597         * win32/common/config.h:
2598         0.10.17.3 pre-release
2599
2600 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2601
2602         Patch by: Ole André Vadla Ravnås
2603             <ole dot andre dot ravnas at tandberg dot com>
2604
2605         * docs/gst/gstreamer-sections.txt:
2606         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2607         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2608         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2609         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2610         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2611         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2612         (gst_poll_fd_can_write), (gst_poll_wait),
2613         (gst_poll_set_controllable), (gst_poll_restart),
2614         (gst_poll_set_flushing):
2615         * gst/gstpoll.h:
2616         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2617         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2618         (gst_net_time_provider_new):
2619         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2620         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2621         * tests/benchmarks/gstpollstress.c: (main):
2622         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2623         Remove GstPollMode from the API, it does not make sense to let the
2624         application control this.
2625         Add support for Win32.
2626         Fix the testsuite. Fixes #520671.
2627
2628 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2629
2630         Patch by: Ole André Vadla Ravnås
2631             <ole dot andre dot ravnas at tandberg dot com>
2632
2633         * gst/gstregistrybinary.c:
2634         Include io.h for write() and close() when building with MSVC. Fixes
2635         bug #520877.
2636
2637 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2638
2639         * configure.ac:
2640         * gst/gst_private.h:
2641         * gst/gstconfig.h.in:
2642         * gst/gstregistry.h:
2643         * gst/gstregistrybinary.c:
2644         * win32/common/gstconfig.h:
2645           Move registry backend API to private headers where we can. Add
2646           fixme-0.11 comments for the others. Add stubs for the xml backend when
2647           using the binary to ensure they functions exists (they should not be
2648           used though). Fixes #520756.
2649
2650 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2651
2652         * configure.ac:
2653         * win32/common/config.h:
2654         0.10.17.2 prelease
2655
2656 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2657
2658         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2659         (gst_registry_binary_read_cache):
2660         * gst/gstregistryxml.c: (gst_registry_save):
2661         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2662         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2663         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2664         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2665         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2666         Fixes #520152
2667
2668 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2669
2670         * gst/gstminiobject.c:
2671         Import gst_private.h before any other header that might include other
2672         glib headers. This fixes the build on windows using native compilers.
2673
2674 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2675
2676         * win32/common/gstconfig.h:
2677           Add here too, just for completeness.
2678
2679 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2680
2681         * configure.ac:
2682         * gst/gstconfig.h.in:
2683         * gst/gstregistry.h:
2684           Fix broken use of config.h-defined preprocessor directive in a public
2685           header file. Add a corresponding define to gstconfig.h, since we can't
2686           really remove those function declarations from the header file now
2687           (or can we? and why are they there in the first place?).
2688
2689 2008-03-03  Andy Wingo  <wingo@pobox.com>
2690
2691         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2692         the new warning.
2693
2694         * gst/gststructure.c (gst_structure_from_string): Warn if
2695         structure_from_string didn't consume the whole string, but the
2696         caller did not provide an end pointer.
2697
2698 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2699
2700         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2701
2702         * gst/gstregistryxml.c: (read_string), (load_feature):
2703           Strings allocated by libxml2 should be freed with xmlFree(), not
2704           with g_free(). Fixes issues on windows in certain contexts (#519698).
2705
2706 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2707
2708         * gst/gstinterface.c: (gst_element_implements_interface):
2709           Don't crash if the element supports the interface queried, but does
2710           not implement GstImplementsInterface. Fixes #519584.
2711
2712         * tests/check/Makefile.am:
2713         * tests/check/gst/.cvsignore:
2714         * tests/check/gst/gstinterface.c:
2715           Add unit test for the above.
2716
2717 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2718
2719         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2720         Small doc update.
2721
2722 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2723
2724         * gst/gstsegment.c: (gst_segment_set_seek),
2725         (gst_segment_to_stream_time):
2726         Improve some comment.
2727         Update variables where it makes more sense.
2728
2729 2008-02-29  Rene Stadler  <mail@renestadler.de>
2730
2731         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2732         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2733         URIHandlers implemented using language bindings.
2734
2735 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2736
2737         * gst/gstelementfactory.h:
2738         * tests/check/elements/fakesink.c:
2739         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2740         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2741         * tests/check/elements/filesink.c: (setup_filesink):
2742         * tests/check/elements/filesrc.c: (setup_filesrc):
2743         * tests/check/elements/identity.c: (setup_identity):
2744         * tests/check/elements/tee.c:
2745         * tests/check/generic/sinks.c:
2746         * tests/check/generic/states.c: (setup), (teardown):
2747         * tests/check/gst/gst.c:
2748         * tests/check/gst/gstabi.c:
2749         * tests/check/gst/gstbin.c:
2750         * tests/check/gst/gstbus.c: (pull_messages):
2751         * tests/check/gst/gstcaps.c:
2752         * tests/check/gst/gstelement.c:
2753         * tests/check/gst/gstevent.c:
2754         * tests/check/gst/gstghostpad.c:
2755         * tests/check/gst/gstiterator.c:
2756         * tests/check/gst/gstmessage.c:
2757         * tests/check/gst/gstminiobject.c: (my_foo_init):
2758         * tests/check/gst/gstobject.c: (thread_name_object),
2759         (gst_object_suite):
2760         * tests/check/gst/gstpad.c:
2761         * tests/check/gst/gstplugin.c:
2762         * tests/check/gst/gstpoll.c:
2763         * tests/check/gst/gstquery.c:
2764         * tests/check/gst/gstsegment.c:
2765         * tests/check/gst/gststructure.c:
2766         * tests/check/gst/gstsystemclock.c:
2767         * tests/check/gst/gsttask.c:
2768         * tests/check/gst/gstutils.c:
2769         * tests/check/gst/gstvalue.c:
2770         * tests/check/gst/struct_hppa.h:
2771         * tests/check/gst/struct_i386.h:
2772         * tests/check/gst/struct_ppc32.h:
2773         * tests/check/gst/struct_ppc64.h:
2774         * tests/check/gst/struct_x86_64.h:
2775         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2776         * tests/check/libs/basesrc.c:
2777         * tests/check/libs/controller.c: (GST_START_TEST):
2778         * tests/check/libs/gdp.c:
2779         * tests/check/libs/gstnetclientclock.c:
2780         * tests/check/libs/gstnettimeprovider.c:
2781         * tests/check/libs/libsabi.c:
2782         * tests/check/libs/struct_hppa.h:
2783         * tests/check/libs/struct_i386.h:
2784         * tests/check/libs/struct_ppc32.h:
2785         * tests/check/libs/struct_ppc64.h:
2786         * tests/check/libs/struct_x86_64.h:
2787         * tests/check/pipelines/cleanup.c:
2788         * tests/check/pipelines/simple-launch-lines.c:
2789         * tests/check/pipelines/stress.c:
2790         And correct even more valid sparse warnings.
2791
2792         * win32/common/libgstreamer.def:
2793         Add gst_poll_fd_init to the list of symbols.
2794
2795 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2796
2797         * gst/gstconfig.h.in:
2798         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2799         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2800         (gst_check_log_critical_func), (gst_check_drop_buffers),
2801         (gst_check_element_push_buffer_list):
2802         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2803         (gst_controller_get_type):
2804         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2805         (gst_object_get_controller), (gst_object_get_control_source):
2806         * libs/gst/controller/gstinterpolationcontrolsource.c:
2807         (gst_interpolation_control_source_new):
2808         * libs/gst/controller/gstlfocontrolsource.c:
2809         (gst_lfo_control_source_new):
2810         * libs/gst/dataprotocol/dataprotocol.c:
2811         (gst_dp_event_from_packet_0_2):
2812         * plugins/elements/gstfdsrc.c:
2813         * plugins/elements/gstmultiqueue.c:
2814         * plugins/elements/gsttee.c:
2815         * plugins/elements/gsttypefindelement.c:
2816         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2817         (gst_file_index_add_association):
2818         * plugins/indexers/gstmemindex.c:
2819         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2820         * tests/check/elements/queue.c: (setup_queue):
2821         * tests/check/gst/gstpipeline.c:
2822         * tests/check/libs/collectpads.c: (setup), (teardown),
2823         (gst_collect_pads_suite):
2824         * tests/examples/adapter/adapter_test.c:
2825         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2826         * tests/examples/xml/createxml.c:
2827         * tests/examples/xml/runxml.c:
2828         * tools/gst-inspect.c:
2829         * tools/gst-run.c:
2830         Correct all relevant warnings found by the sparse semantic code
2831         analyzer. This include marking several symbols static, using
2832         NULL instead of 0 for pointers, not using variable sized arrays
2833         on the stack, moving variable declarations to the beginning of
2834         a block and using "foo (void)" instead of "foo ()" for declarations.
2835
2836 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2837
2838         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2839         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2840         Don't reset GstPollFDs, this is not necessary at all.
2841
2842         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2843         (delayed_restart), (delayed_control):
2844         Use GST_POLL_FD_INIT.
2845
2846 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2847
2848         * gst/gstpoll.c: (gst_poll_fd_init):
2849         * gst/gstpoll.h:
2850         Added Since tags.
2851
2852         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2853         Use some more init macros.
2854
2855 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2856
2857         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2858         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2859         Use init macros and functions.
2860
2861 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2862
2863         * docs/gst/gstreamer-sections.txt:
2864         * gst/gstpoll.c: (gst_poll_fd_init):
2865         * gst/gstpoll.h:
2866         Add INIT macro and _init method for initializing the GstPollFD.
2867
2868 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2869
2870         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2871         (gst_fd_sink_update_fd):
2872         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2873         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2874         (delayed_restart), (delayed_control):
2875         Initialize some uninitialized variables as spotted by valgrind.
2876
2877 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2878
2879         * tests/benchmarks/Makefile.am:
2880         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2881         (main):
2882         Add poll stress test.
2883
2884 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2885
2886         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2887
2888         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2889         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2890         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2891         * plugins/elements/gstfdsink.h:
2892         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2893         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2894         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2895         (gst_fd_src_uri_set_uri):
2896         * plugins/elements/gstfdsrc.h:
2897         Port to GstPoll. See #505417.
2898
2899 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2900
2901         * win32/common/libgstreamer.def:
2902         Add new gst_poll_ symbols to win32 defs.
2903
2904 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2905
2906         * docs/libs/gstreamer-libs-sections.txt:
2907         * libs/gst/net/gstnetclientclock.c:
2908         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2909         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2910         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2911         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2912         * libs/gst/net/gstnetclientclock.h:
2913         * libs/gst/net/gstnettimeprovider.c:
2914         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2915         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2916         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2917         (gst_net_time_provider_new):
2918         * libs/gst/net/gstnettimeprovider.h:
2919         Use a private stuct to not break ABI.
2920
2921 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2922
2923         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2924
2925         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2926         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2927         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2928         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2929         * libs/gst/net/gstnetclientclock.h:
2930         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2931         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2932         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2933         (gst_net_time_provider_new):
2934         * libs/gst/net/gstnettimeprovider.h:
2935         Massive code removal and cleanups because of GstPoll.
2936         Fixes #505417.
2937
2938 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2939
2940         * configure.ac:
2941         Add checks for poll, ppoll and pselect.
2942
2943         * docs/gst/gstreamer-docs.sgml:
2944         * docs/gst/gstreamer-sections.txt:
2945         Add docs for GstPoll.
2946
2947         * gst/Makefile.am:
2948         * gst/gst.h:
2949         * gst/gstpoll.c: (find_index), (selectable_fds),
2950         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2951         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2952         (gst_poll_set_mode), (gst_poll_get_mode),
2953         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2954         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2955         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2956         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2957         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2958         (gst_poll_fd_can_write), (gst_poll_wait),
2959         (gst_poll_set_controllable), (gst_poll_restart),
2960         (gst_poll_set_flushing):
2961         * gst/gstpoll.h:
2962         Add generic poll abstraction. We ideally don't want to have this in core
2963         here but in glib intead...
2964         This code will be used in various network elements and ultimately for
2965         the nanosecond precision monotonic clock (that's why it's here in core).
2966         It'll allow us to implement cancelable socket operations for windows too.
2967
2968         * tests/check/Makefile.am:
2969         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2970         (delayed_stop), (delayed_restart), (delayed_flush),
2971         (delayed_control), (gst_poll_suite):
2972         Add GstPoll unit test.
2973
2974 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2975
2976         * gst/gstfilter.c:
2977           Improve documentation of gst_filter_run(). Fixes #518627.
2978
2979 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2980
2981         * docs/README:
2982           Add a few lines about the new 'check-inspected-versions' target.
2983
2984 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2985
2986         * tests/check/gst/gstevent.c:
2987           Add qos to the event test. Rename tcase/tsuite; is not only about
2988           custom events.
2989
2990 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2991
2992         * plugins/elements/gstqueue.c:
2993           Ensure that buffer metadata is writeable, before modifying. Spotted by
2994           Mike.
2995
2996 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2997
2998         * plugins/elements/gstqueue.c:
2999         * plugins/elements/gstqueue.h:
3000           When dropping buffers in leaky modes, mark next buffers we sent as
3001           DISCONT.
3002
3003 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
3004
3005         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
3006           Also, if mmap() fails that would be a READ error, not OPEN_READ.
3007
3008 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
3009
3010         * plugins/elements/Makefile.am:
3011         * plugins/elements/gstbufferstore.c:
3012         * plugins/elements/gstbufferstore.h:
3013         * plugins/elements/gsttypefindelement.h:
3014           Remove GstBufferStore, no idea why we were still building it.
3015           It's not used anywhere and superseded by GstAdapter.
3016
3017         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3018           (gst_file_src_create_mmap):
3019         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
3020           Printf format fixes for 64-bit integers.
3021
3022 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
3023
3024         * configure.ac:
3025         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
3026         We're not in 0.8 times anymore.
3027
3028 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
3029
3030         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
3031         (gst_check_element_push_buffer_list):
3032         * libs/gst/check/gstcheck.h:
3033         Make the declaration in the header for
3034         gst_check_element_push_buffer_list match the implementation.
3035
3036         Fix up spelling, grammar and wording of the documentation in a few
3037         places, and add the Since keyword to new API functions.
3038         Use g_list_delete_link instead of g_list_remove in
3039         gst_check_drop_buffers, since it's immeasurably more efficient.
3040
3041         * tests/check/elements/fakesrc.c: (GST_START_TEST):
3042         Use new gst_check_drop_buffers function where appropriate.
3043
3044         * win32/common/libgstbase.def:
3045         * win32/common/libgstreamer.def:
3046         Add new symbols gst_collect_pads_take_buffer, 
3047         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
3048         exports
3049
3050         Changelog surgery to add API keyword to new gst_check API.
3051
3052 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
3053
3054         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
3055         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
3056         Update pre-generated flex files with flex 2.3.34.
3057
3058 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
3059
3060         * gst/gstminiobject.c:
3061           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
3062           friendly to subclasses and not require them to know all internals
3063           of their parent class.
3064
3065 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
3066
3067         * docs/libs/gstreamer-libs-sections.txt:
3068         * libs/gst/base/gstcollectpads.c:
3069         * libs/gst/base/gstcollectpads.h:
3070           Add sub-buffer functions to collectpads. Fixes #516187.
3071           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
3072
3073 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
3074
3075         * gst/gstbuffer.c:
3076           Copy selected buffer-flags when creating subbuffers.
3077           Fixes #516395.
3078
3079 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
3080
3081         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
3082         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
3083         * gst/gstmessage.c: (gst_message_class_init),
3084         (gst_message_finalize):
3085         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
3086         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
3087         (gst_mmap_buffer_finalize):
3088         Properly chain up finalize functions to the parent class.
3089
3090 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
3091
3092         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
3093
3094         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
3095         (gst_index_set_resolver_full):
3096         * gst/gstindex.h:
3097         Add new function with option to dispose of user_data in resolver.
3098         Actually call the dispose function when finalizing the object and not
3099         just when changing the resolver/filter.
3100         API: GstIndex::gst_index_set_resolver_full()
3101
3102         * docs/gst/gstreamer-sections.txt:
3103         Add new function to docs. Fixes #515469.
3104
3105 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
3106
3107         * gst/gstindex.c: (gst_index_finalize):
3108         Chain up finalize to the parent class. Fixes leaking the GstObject
3109         name and other things.
3110
3111 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
3112
3113         * configure.ac:
3114         Make DISABLE_DEPRECATED defined *only* during CVS, not during
3115         pre-releases or releases.
3116
3117         * docs/faq/gst-uninstalled:
3118         Add gst-plugins-gl
3119
3120         * docs/random/release:
3121         Change one of the steps - we only upload core & base to Gnome FTP
3122
3123 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
3124
3125         * gst/gstconfig.h.in:
3126           Add 'id' for example.
3127
3128         * gst/gstpad.c:
3129         * gst/gstutils.c:
3130         * plugins/elements/gstfdsink.c:
3131           Link to signals. Doc and comment fixes.
3132
3133 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
3134
3135         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
3136         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
3137           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
3138           unused and unimplemented; finally, it is plugin features, not
3139           plugins, that have ranks.
3140           
3141 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
3142
3143         * gst/gstpluginfeature.h:
3144           Clarify GstRank range docs.
3145
3146 2008-02-05  David Schleef  <ds@schleef.org>
3147
3148         * gst/gst.c: Add a separate gst_deinitialized that prevents
3149           gst_init() from being called after gst_deinit().  Fixes #509559
3150
3151 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3152
3153         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
3154         (gst_bin_class_init):
3155         * gst/gstelement.c: (gst_element_base_class_init),
3156         (gst_element_class_add_pad_template):
3157         * gst/gstpadtemplate.c: (gst_pad_template_init):
3158         * gst/gstpipeline.c: (gst_pipeline_get_type),
3159         (gst_pipeline_base_init), (gst_pipeline_class_init):
3160         * libs/gst/base/gstbasesink.c:
3161         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3162         (gst_base_src_base_init), (gst_base_src_class_init):
3163         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3164         (gst_capsfilter_class_init):
3165         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3166         (gst_fake_sink_class_init):
3167         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3168         (gst_fake_src_class_init):
3169         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3170         (gst_fd_sink_class_init):
3171         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3172         (gst_fd_src_class_init):
3173         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3174         (gst_file_sink_class_init):
3175         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3176         (gst_file_src_class_init):
3177         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3178         (gst_identity_class_init):
3179         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3180         (gst_multi_queue_class_init):
3181         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3182         (gst_queue_class_init):
3183         * plugins/elements/gsttee.c: (gst_tee_base_init),
3184         (gst_tee_class_init):
3185         * plugins/elements/gsttypefindelement.c:
3186         (gst_type_find_element_base_init),
3187         (gst_type_find_element_class_init):
3188         * tests/check/gst/gstelement.c: (gst_element_suite):
3189         Revert previous changes to the behaviour of GstPadTemplates, etc
3190         and the possiblity to call them in class_init as it breaks too
3191         many elements. Reopens bug #491501.
3192
3193         Should be applied again for 0.11, thus added a few FIXME 0.11 at
3194         several places.
3195
3196 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
3197
3198         * tools/gst-launch.c:
3199         Dump one graph per pipeline state-change and state change name
3200         (if GST_DEBUG_DUMP_DOT_DIR is set).
3201
3202 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
3203
3204         * gst/gstpad.c:
3205         * tests/check/gst/gstpad.c:
3206         Be sure that we have a new copy of the caps and not
3207         reffed caps from a template
3208
3209 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3210
3211         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3212         * gst/gstpipeline.c: (gst_pipeline_get_type),
3213         (gst_pipeline_class_init):
3214         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3215         (gst_base_sink_class_init):
3216         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3217         (gst_base_src_class_init):
3218         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3219         (gst_base_transform_class_init):
3220         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3221         (gst_collect_pads_class_init):
3222         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
3223         * libs/gst/net/gstnettimeprovider.c:
3224         (gst_net_time_provider_base_init),
3225         (gst_net_time_provider_class_init):
3226         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3227         (gst_capsfilter_class_init):
3228         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3229         (gst_fake_sink_class_init):
3230         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3231         (gst_fake_src_class_init):
3232         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3233         (gst_fd_sink_class_init):
3234         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3235         (gst_fd_src_class_init):
3236         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3237         (gst_file_sink_class_init):
3238         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3239         (gst_file_src_class_init):
3240         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3241         (gst_identity_class_init):
3242         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3243         (gst_multi_queue_class_init):
3244         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3245         (gst_queue_class_init):
3246         * plugins/elements/gsttee.c: (gst_tee_base_init),
3247         (gst_tee_class_init):
3248         * plugins/elements/gsttypefindelement.c:
3249         (gst_type_find_element_base_init),
3250         (gst_type_find_element_class_init):
3251         Don't use base_init where not absolutely necessary. For example it's
3252         not necessary anymore for adding pad templates or setting element
3253         details.
3254
3255         Leave empty base_init functions in several places as GST_BOILERPLATE
3256         still defines and uses them.
3257
3258 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3259
3260         * gst/gstelement.c: (gst_element_base_class_init),
3261         (gst_element_class_add_pad_template):
3262         * gst/gstpadtemplate.c:
3263         Make it possible (and recommended) to set element details and add
3264         pad templates in the class_init functions by copying the details/pad
3265         templates in GstElement's base_init.
3266
3267         Also make it possible to replace existing pad templates by adding
3268         a new one with the same name. This was done in a hackish fashion
3269         in same elements before already.
3270
3271         Don't reference pad templates that are added a second time. A
3272         new pad template has a refcount of one and is not floating anymore
3273         and to be owned by the element's class. Make this more explicit by
3274         mentioning it in the docs of gst_element_class_add_pad_template().
3275
3276         These changes are backwards compatible. Fixes bug #491501.
3277
3278         * tests/check/gst/gstelement.c:
3279         Add unit test for setting element details, adding pad templates and
3280         replacing them in a subclass.
3281
3282 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
3283
3284         * tools/gst-inspect.c: (print_interfaces),
3285         (print_element_properties_info), (print_pad_info),
3286         (print_signal_info), (print_element_info):
3287         Fix a few memory leaks.
3288
3289 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3290
3291         * docs/libs/gstreamer-libs-sections.txt:
3292         * libs/gst/check/gstcheck.c:
3293         * libs/gst/check/gstcheck.h:
3294         Add more functions for unit testing: gst_check_drop_buffers,
3295         gst_check_caps_equal, gst_check_element_push_buffer_list,
3296         gst_check_element_push_buffer
3297         API: gst_check_drop_buffers
3298         API: gst_check_caps_equal
3299         API: gst_check_element_push_buffer_list
3300         API: gst_check_element_push_buffer
3301
3302 2008-02-01  Julien Moutte  <julien@fluendo.com>
3303
3304         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3305         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3306         (gst_index_finalize), (gst_index_entry_free),
3307         (gst_index_add_association): Fix memory leaks.
3308         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3309         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3310         (gst_mem_index_free_format), (gst_mem_index_free_id),
3311         (gst_mem_index_finalize): Fix memory leaks.
3312         * win32/common/config.h: Updated to CVS HEAD.
3313
3314 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3315
3316         * docs/README:
3317           Some more details about how the plugin docs works.
3318
3319         * docs/plugins/gstreamer-plugins-sections.txt:
3320           Whitespace cleanup.
3321
3322 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3323
3324         * gst/parse/grammar.tab.pre.c:
3325         * gst/parse/grammar.tab.pre.h:
3326         * gst/parse/grammar.y:
3327         * gst/parse/lex._gst_parse_yy.pre.c:
3328           Add delayed set-property. This allows to set properties on dynamicaly
3329           created objects (pads in videomxer). Fixes #509391.
3330
3331 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3332
3333         * gst/gstutils.c:
3334         Check if caps are not NULL (fix bug #510194)
3335
3336 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3337
3338         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3339         (gst_base_sink_get_position_paused):
3340         Add fixme regarding EOS in pull mode.
3341         Fix position reporting in PAUSED for negative rates.
3342
3343 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3344
3345         * gst/gstminiobject.c: (gst_mini_object_replace):
3346         When replacing a miniobject, do a quick equality check first so that we
3347         can avoid a ref/unref pair.
3348
3349 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3350
3351         * docs/design/part-synchronisation.txt:
3352         Update some docs.
3353
3354         * docs/plugins/Makefile.am:
3355         * docs/plugins/gstreamer-plugins-docs.sgml:
3356         * docs/plugins/gstreamer-plugins-sections.txt:
3357         * plugins/elements/gstmultiqueue.c:
3358         Add multiqueue to the docs.
3359
3360 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3361
3362         * configure.ac:
3363           Back to CVS
3364
3365 === release 0.10.17 ===
3366
3367 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
3368
3369         * configure.ac:
3370           releasing 0.10.17, "Due Negligence"
3371
3372 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3373
3374         * gst/gstutils.c:
3375         Revert caps != NULL check temporarily for 0.10.17 release.
3376
3377 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3378
3379         * gst/gstutils.c:
3380         Check if caps are not NULL (fix bug #510194)
3381
3382 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3383
3384         * gst/gstutils.c:
3385         Fix compilation on systems that have posix timers but no
3386         monotonic clock.
3387         Fixes: #512715
3388         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3389         dot net>
3390
3391 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3392
3393         * tools/gst-inspect.c:
3394         Revert previous commit in preparation for an impromptu 0.10.17 release
3395
3396 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
3397
3398         * tools/gst-inspect.c: (print_interfaces),
3399         (print_element_properties_info), (print_pad_info),
3400         (print_signal_info), (print_element_info):
3401         Fix a few memory leaks.
3402
3403 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
3404
3405         * configure.ac:
3406         Back to CVS
3407
3408 === release 0.10.16 ===
3409
3410 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
3411
3412         * configure.ac:
3413           releasing 0.10.16, "Special Dispensation"
3414
3415 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
3416
3417         * configure.ac:
3418           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3419           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3420           not fail when trying to crosscompile on OpenEmbedded (#511750).
3421
3422 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
3423
3424         * docs/manuals.mak:
3425         Use $(MAKE) instead of make to fix the build if GNU make is
3426         called different. Fixes bug #510747.
3427
3428 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3429
3430         * gst/gstplugin.c: (_gst_plugin_initialize):
3431           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3432           again, which I broke two commits ago when changing the API
3433           of gst_plugin_register_static(): the g_list_foreach() in
3434           _gst_plugin_register_static still assumed the old function
3435           signature and would therefore fail (re-fixes #510187).
3436
3437         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3438           (_gst_plugin_register_static), (gst_plugin_register_static):
3439           Revert the (technically correct) change to call g_thread_init() from
3440           the pre-main() constructor. This will break programs which call
3441           g_thread_init() without an if (!g_thread_supported()) guard in their
3442           main function. We could just blame it on GLib or the application, but
3443           it's probably best to just avoid this altogether and simply not use
3444           any GLib functions here and use plain old malloc() with a simple
3445           array to store the plugins to register later when gst_init() is
3446           finally called (re-fixes #510187).
3447
3448         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3449           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3450           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3451           (GST_START_TEST), (gst_plugin_suite):
3452           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3453           works.
3454
3455 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3456
3457         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3458           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3459           This makes gtk-doc complain, but results in slightly better
3460           compiler errors. The old _gst_plugin_register_static() is
3461           still guarded, so there'll be a compiler warning about that
3462           instead. Fixes #510187 too.
3463
3464 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3465
3466         * gst/gst.c: (init_post):
3467         * gst/gstplugin.c: (_gst_plugin_register_static),
3468           (gst_plugin_register_static), (_gst_plugin_initialize):
3469         * gst/gstplugin.h: (GstPluginFilter):
3470           Change API of gst_plugin_register_static() to not take
3471           a GstPluginDesc, but rather just take all the arguments
3472           in a GstPluginDesc directly. This is more intuitive and
3473           avoids certain mistakes when porting code from
3474           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3475           Fixes #510187.
3476
3477         * tests/check/gst/gstplugin.c:
3478           Fix up for changed API.
3479
3480 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3481
3482         * docs/faq/legal.xml:
3483           Update FAQ, Totem actually has an exception these days.
3484
3485 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
3486
3487         * win32/common/libgstreamer.def:
3488         Add new API declarations
3489
3490 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3491
3492         * gst/gstminiobject.c:
3493           Spelling fixes for the API docs.
3494
3495 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3496
3497         * libs/gst/base/gstbasetransform.c:
3498           Fix long property description for QoS.
3499
3500 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
3501
3502         * gst/gst.c:
3503         _gst_trace_on is already provided by gsttrace.h, no need to declare
3504         it ourselves.
3505
3506         * docs/libs/gstreamer-libs-sections.txt:
3507         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3508         and remove strange tcase_add_test which is outputting a warning.
3509
3510         * libs/gst/check/gstcheck.c:
3511         * libs/gst/check/gstcheck.h:
3512         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3513         and define them in gstcheck.c instead of having every .c file whcih
3514         includes gstcheck.h be defining its own copy and relying on symbol
3515         interposing to marry them all, which doesn't work on Solaris.
3516
3517         * tests/check/elements/identity.c: (GST_START_TEST):
3518         Don't define 'buffers' locally, it comes from libgstcheck.
3519
3520         * tests/check/generic/sinks.c: (send_buffer):
3521         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3522
3523         * tests/check/gst/gststructure.c: (GST_START_TEST):
3524         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3525         * tests/check/gst/gstutils.c: (GST_START_TEST):
3526         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3527         Add a bunch of casts to make various constants fit the types
3528         they're being assigned to.
3529
3530 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3531
3532         * gst/gstchildproxy.c:
3533           Improve docs and add some ideas for making this more general-purpose.
3534
3535 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3536
3537         * gst/gst_private.h: (GST_CAT_TYPES):
3538           Add GST_CAT_TYPES, for consistency, and so that the other
3539           debug categories don't make fun of it. Spotted by Saur on IRC.
3540
3541 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3542
3543         * gst/parse/Makefile.am:
3544           Move types.h from EXTRA_DIST to noinst_HEADERS.
3545
3546 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3547
3548         * autogen.sh:
3549           Add -Wno-portability to the automake parameters to stop warnings
3550           about GNU make extensions being used. We require GNU make in almost
3551           every Makefile anyway.
3552
3553         * configure.ac:
3554           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3555           at the same time is required for per target flags.
3556
3557 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3558
3559         * gst/gstmacros.h:
3560           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3561           __GNUC__ is defined before using it.
3562
3563 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3564
3565         * docs/gst/gstreamer-sections.txt:
3566         * gst/gst.c: (init_post):
3567         * gst/gstplugin.c: (_gst_plugin_register_static),
3568           (gst_plugin_register_static), (_gst_plugin_initialize),
3569           (gst_plugin_register_func):
3570         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3571           API: add gst_plugin_register_static() and deprecate
3572           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3573           (#498924).
3574           Also, in _gst_plugin_register_static(), make sure to call
3575           g_thread_init() before calling GLib functions such as
3576           g_list_append() if we're not initialised yet, since that
3577           may lead to random crashes with older GSlice/GLib versions.
3578
3579         * tests/check/gst/gstplugin.c:
3580           Adapt unit test to above changes.
3581
3582 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3583
3584         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3585         * gst/gstcaps.c: (gst_caps_to_string):
3586         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3587           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3588           Yet another gratuitous GString micro-optimisation: add a (private)
3589           function that serialises a structure appending to an existing
3590           GString, so that when we serialise caps we don't need to alloc+free
3591           a throwaway GString for each structure (each of which also entailing
3592           multiple reallocs on the way); also use g_string_sized_new() in
3593           various places with an approximate string length to avoid reallocs
3594           within GString. See #500143.
3595
3596 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3597
3598         * gst/gststructure.c: (gst_structure_id_set_value):
3599           Always check UTF-8 conformance of structure strings and not only
3600           if the debugging system is enabled; reasoning: the behaviour of
3601           the actual code shouldn't really change depending on whether the
3602           debugging system is enabled or not (#508291).
3603
3604 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3605
3606         * Makefile.am:
3607           Remove old coverage target in favour of "make lcov".
3608
3609 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3610
3611         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3612         (gst_base_src_loop):
3613         The start segment for reverse playback goes from start to last_stop.
3614
3615 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3616
3617         Patch by: Peter Kjellerstedt <pkj axis com>
3618
3619         * gst/gstclock.h:
3620         Cast the results from the timeval/spec_to_time macros to what the
3621         docs say it casts to, a GstClockTime. fixes #508175.
3622
3623 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3624
3625         * gst/gstbuffer.c:
3626         Update some comments.
3627
3628         * tools/gst-inspect.c: (print_element_properties_info):
3629         Improve printing of flags.
3630
3631 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3632
3633         * libs/gst/base/gstbasetransform.c:
3634           (gst_base_transform_transform_size):
3635           Print element name with g_warning() if there's a problem
3636           with the unit size.
3637
3638 2008-01-07  David Schleef  <ds@schleef.org>
3639
3640         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3641
3642         * libs/gst/controller/gstcontroller.h:
3643         * libs/gst/controller/gstcontrolsource.h:
3644         * libs/gst/controller/gstinterpolationcontrolsource.h:
3645         * libs/gst/controller/gstlfocontrolsource.h:
3646         * libs/gst/dataprotocol/dataprotocol.h:
3647           Fix empty prototypes.  Fixes bug #507957.
3648
3649 2008-01-07  David Schleef  <ds@schleef.org>
3650
3651         * docs/faq/dependencies.xml: Fix typo.
3652
3653 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3654
3655         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3656         (gst_base_src_loop):
3657         Don't update the last_stop position in do_seek, that's the position we
3658         did a seek to.
3659         Read backwards when we have a negative rate.
3660
3661         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3662         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3663         (filesrc_suite):
3664         Add check for reverse reading.
3665
3666 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3667
3668         Patch by: Alexis Ballier <aballier at gentoo org>
3669
3670         * tests/check/gst/gstabi.c:
3671         * tests/check/gst/struct_ppc64.h:
3672         * tests/check/libs/libsabi.c:
3673         * tests/check/libs/struct_ppc64.h:
3674           Decide which header to include based on the userland ABI target
3675           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3676           for 64-bit userland (#503590).  Might need something similar for
3677           x86 too.
3678
3679 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3680
3681         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3682           Log the reason why fopen fails in addition to the fact that it failed.
3683           
3684 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3685
3686         * gst/parse/parse.l:
3687         Use "%option never-interactive" to prevent useless calls to isatty()
3688         on every input when parsing. Also use "%option noinput" to not define
3689         the static input/yyinput functions which we don't use anyway. This
3690         removes a compiler warning with gcc 4.3 and saves some bytes in the
3691         library.
3692         
3693         * gst/parse/lex._gst_parse_yy.pre.c:
3694         Regenerated for the above change.
3695
3696 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3697
3698         * gst/gstpad.c: (fixate_value):
3699         Don't crash when trying to fixate and empty list.
3700         Fixes #506643.
3701
3702 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3703
3704         * docs/faq/gst-uninstalled:
3705         Clarify the comments to make the usage of this script and what it
3706         does easier to understand.
3707
3708 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3709
3710         * tools/gst-plot-timeline.py:
3711         Add more options to gst-plot-timeline
3712
3713 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3714
3715         * docs/design/part-synchronisation.txt:
3716         Some more info on how the stream_time in GstBaseSink is done.
3717
3718 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3719
3720         * tests/check/generic/sinks.c: (gst_sinks_suite):
3721           Put back the tcase_set_timeout(), apparently it's needed after
3722           all; fix it up in a way that makes things work with valgrind too.
3723
3724 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3725
3726         * gst/gstdebugutils.c:
3727           Add warning when failed to open file for writing.
3728
3729 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3730
3731         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3732
3733         * gst/gstvalue.c: (gst_value_is_fixed):
3734           Optimisation: bail out of the loop as early as possible (#500143).
3735
3736 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3737
3738         * gst/gstcaps.c: (gst_caps_to_string):
3739         * gst/gstinfo.c: (gst_debug_construct_term_color):
3740         * gst/gstparse.c: (gst_parse_launchv):
3741         * gst/gstutils.c: (gst_util_dump_mem):
3742         * gst/gstvalue.c: (gst_value_serialize_any_list),
3743           (gst_value_transform_any_list_string):
3744           Bunch of gratuitous nano-optimisations.
3745
3746 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3747
3748         * tests/check/generic/sinks.c: (async_done_func),
3749           (async_done_eos_func):
3750           Fix leak in unit test (bus sync handler must unref the message
3751           if it returns GST_BUS_DROP). Don't fiddle with the default test
3752           timeout, this is smaller than the current preconfigured value
3753           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3754           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3755
3756 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3757
3758         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3759
3760         * configure.ac:
3761         Check for stdio_ext.h for the filesink changes.
3762
3763         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3764         (gst_file_sink_class_init), (gst_file_sink_init),
3765         (gst_file_sink_dispose), (gst_file_sink_set_property),
3766         (gst_file_sink_get_property), (gst_file_sink_open_file),
3767         (gst_file_sink_close_file):
3768         * plugins/elements/gstfilesink.h:
3769         Add two properties to control the buffering mode and size.
3770         API: GstFileSink::buffer-mode
3771         API: GstFileSink::buffer-size
3772         Fixes #500150.
3773
3774 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3775
3776         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3777         Add some more docs to explain why a FIXME was wrongly added. 
3778
3779 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3780
3781         * gst/gstobject.c:
3782           Fix typo in the gst_object_{ref,unref} documentation.
3783
3784 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3785
3786         * tests/check/libs/controller.c:
3787         * tests/check/libs/typefindhelper.c:
3788         * tests/check/pipelines/parse-launch.c:
3789           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3790           going to be deprecated (see #498924).
3791
3792 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3793
3794         * gst/gsttypefind.c: (gst_type_find_register):
3795           Make gst_type_find_register work for static typefind functions,
3796           ie. allow passing plugin == NULL (prerequisite for #498924).
3797
3798         * gst/gstelementfactory.c: (gst_element_register):
3799           Small docs addition.
3800
3801 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3802
3803         * gst/gstpad.c: (gst_pad_dispose):
3804         Really unlink the peer pad instead of setting the peer pointer to NULL
3805         when we dispose the pad.
3806         This correctly calls the unlink functions and makes sure that the peer
3807         does not have a handle to invalid memory. See #504671.
3808
3809         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3810         Add testsuite for above case.
3811
3812 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3813
3814         Patch by: Peter Kjellerstedt <pkj axis com>
3815
3816         * libs/gst/check/gstcheck.h:
3817           Fix detection of the check version we're compiling against (would
3818           otherwise break if check goes v0.10.0); correctly report the
3819           name of the failed test again in case of failure, instead of
3820           just 'tf' (fixes #504499).
3821
3822 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3823
3824         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3825         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3826         (gst_base_src_loop), (gst_base_src_set_flushing),
3827         (gst_base_src_change_state):
3828         Allow sending EOS to the source to make it send out an EOS event from
3829         the streaming thread.
3830         Update docs and deprecate the old NULL/READY shutdown method.
3831
3832         * tests/check/libs/basesrc.c: (GST_START_TEST),
3833         (gst_basesrc_suite):
3834         Add unit test for controlled shutdown.
3835
3836 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3837
3838         * docs/design/part-synchronisation.txt:
3839         Small updates.
3840
3841         * gst/gstsegment.c: (gst_segment_set_seek),
3842         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3843         (gst_segment_to_running_time):
3844         The seek format can be different from the segment format when the start
3845         and stop values are not to be updated, when we only do a rate change for
3846         example.
3847
3848         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3849         (gst_segment_suite):
3850         Add a testcase for the rate-only seeks, checking that the format is
3851         correctly ignored when start and stop are not updated.
3852
3853 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3854
3855         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3856
3857         * win32/vs8/grammar.vcproj:
3858         * win32/vs8/libgstcontroller.vcproj:
3859         * win32/vs8/libgstreamer.vcproj:
3860         Fix compilation with VS8 and include some missing files.
3861
3862 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3863
3864         * gst/gsttaglist.c:
3865           Small docs addition: mention that the strings returned by
3866           gst_tag_list_get_string*() are in UTF-8 encoding.
3867
3868 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3869
3870         * Makefile.am:
3871           The check-exports stuff moved to common/win32.mak, so include that.
3872
3873 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3874
3875         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3876         (gst_base_src_perform_seek), (gst_base_src_get_range),
3877         (gst_base_src_set_playing), (gst_base_src_change_state):
3878         Make _wait_playing() not check any variables so that we can call this
3879         function from subclasses. Move the checks elsewhere similar to
3880         _wait_preroll() in basesink.
3881         Add some debugging.
3882         Only signal the LIVE cond when we are going back to PLAYING.
3883
3884 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3885
3886         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3887           Use g_remove() and g_rename(). Check result of g_rename(), and
3888           don't leak the open file descriptor if we error out when writing.
3889
3890         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3891           Must check the return value of close() after writing out the new
3892           registry file.  Sometimes write problems such as out-of-diskspace
3893           are only reported when the file is closed and not already during
3894           the write.  This may have caused partial/broken registry files in
3895           some rare circumstances. Should fix #503675.
3896
3897 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3898
3899         * docs/gst/.cvsignore:
3900         * docs/libs/.cvsignore:
3901         * docs/plugins/.cvsignore:
3902         Ignore files generated by new common/* modifications
3903
3904 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3905
3906         * win32/common/libgstbase.def:
3907           Yes, you can also have a <TAB> if you want.
3908
3909 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3910
3911         * win32/common/libgstbase.def:
3912           Add new basetransform API to win export file.
3913
3914 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3915
3916         * tests/check/gst/gstbin.c:
3917           Adjust the test to the refcount change two days ago.
3918
3919 2007-12-14  David Schleef  <ds@schleef.org>
3920
3921         * docs/faq/getting.xml: Fix typo.
3922
3923 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3924
3925         * docs/libs/gstreamer-libs-sections.txt:
3926         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3927           (gst_base_transform_prepare_output_buffer),
3928           (gst_base_transform_set_gap_aware):
3929         * libs/gst/base/gstbasetransform.h:
3930           API: Add gst_base_transform_set_gap_aware() to control whether
3931           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3932           get buffers with this flag at all. Fixes #503231.
3933
3934 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3935
3936         * libs/gst/base/gstbasesink.c:
3937         * libs/gst/base/gstbasesrc.c:
3938         * libs/gst/base/gstbasetransform.c:
3939           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3940           thread. Correct log message in gstbasesrc.c.
3941
3942 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3943
3944         * gst/gstutils.c: (element_find_unconnected_pad):
3945           Fix possible compiler warning (#503417).
3946
3947 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3948
3949         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3950           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3951
3952 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3953
3954         * tools/gst-inspect.c: (print_element_properties_info):
3955           Add support for GstFraction properties.
3956
3957 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3958
3959         * Makefile.am:
3960           Add check-exports target and run it as part of 'make check'
3961           (see #499140 and #493983).
3962
3963         * gst/gst_private.h:
3964         * gst/gstelementfactory.h:
3965         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3966         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3967           (_priv_gst_in_valgrind):
3968         * gst/gstinfo.h: (GstLogFunction):
3969         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3970           (gst_type_find_register):
3971         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3972           (gst_type_find_factory_get_type):
3973         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3974           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3975           (gst_controller_new_valist), (gst_controller_new_list),
3976           (_gst_controller_dispose), (_gst_controller_class_init):
3977         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3978         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3979           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3980           (gst_object_get_controller), (gst_object_set_controller),
3981           (gst_object_suggest_next_sync), (gst_object_sync_values),
3982           (gst_object_set_control_source), (gst_object_get_control_source),
3983           (gst_object_get_value_arrays), (gst_object_get_value_array),
3984           (gst_object_get_control_rate), (gst_object_set_control_rate):
3985         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3986         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3987           Make some functions that should be static static; rename some
3988           private symbols so that they don't get exported; add some FIXME
3989           comments so we can move accidentally exported functions into
3990           our private section in 0.11.
3991
3992         * win32/common/libgstreamer.def:
3993           Add gst_utils_get_timestamp().
3994
3995 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3996
3997         * gst/gstvalue.c:
3998         * gst/gstvalue.h:
3999           Add more missing "Since:" tags to docs.
4000
4001 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
4002
4003         * gst/gstutils.c:
4004           Add mising "Since:" to docs.
4005
4006 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4007
4008         * gst/gstplugin.c:
4009           Include "glib-compat-private.h" to fix the build on system with
4010           glib < 2.10. Fixes #503131.
4011
4012 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4013
4014         * gst/gstutils.c:
4015         * gst/gstutils.h:
4016           Actually its not PURE as it gets the time from elsewhere.
4017
4018 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4019
4020         * docs/gst/gstreamer-sections.txt:
4021         * gst/gstclock.h:
4022         * gst/gstdebugutils.c:
4023         * gst/gstinfo.c:
4024         * gst/gstutils.c:
4025         * gst/gstutils.h:
4026         * libs/gst/base/gstbasesink.c:
4027         * tools/gst-launch.c:
4028           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
4029           uses as we don't have HAVE_POSIX_TIMERS in public headers.
4030           Thanks Tim for spotting.
4031           API: gst_util_get_timestamp
4032
4033 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
4034
4035         * configure.ac:
4036           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
4037
4038 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
4039
4040         * gst/gststructure.c: (gst_structure_validate_name),
4041           (gst_structure_new_valist), (gst_structure_parse_value),
4042           (gst_structure_from_string):
4043           Don't crash in _from_string() if the structure name is not valid
4044           (fixes #501560).  Allow structure names to start with a number
4045           again (this apparently broke the ubuntu codec installer).
4046
4047         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
4048           (GST_START_TEST):
4049           Add unit test for the crash; update unit tests for new behaviour.
4050
4051 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
4052
4053         * gst/gstutils.c:
4054         Clarify gst_element_get_compatible_pad() documentation.
4055         Fixes #500919.
4056
4057 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
4058
4059         * tests/check/Makefile.am:
4060           Don't forget to dist {gst,libs}/struct_hppa.h.
4061
4062 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4063
4064         * libs/gst/base/gstbasesink.c:
4065           Use new API to get elapsed time.
4066
4067 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4068
4069         * gst/gstdebugutils.c:
4070         * gst/gstinfo.c:
4071           Fix wrong order of args in GST_CLOCK_DIFF() usage.
4072
4073         * tools/gst-launch.c:
4074           Use new API to get elapsed time.
4075
4076 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4077
4078         * docs/gst/gstreamer-sections.txt:
4079         * gst/gstclock.h:
4080         * gst/gstdebugutils.c:
4081         * gst/gstinfo.c:
4082           Rename new API + ChangeLog surgery to remove old name from last entry..
4083
4084 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4085
4086         * docs/gst/gstreamer-sections.txt:
4087         * gst/gstclock.h:
4088         * gst/gstdebugutils.c:
4089         * gst/gstinfo.c:
4090           Now hide the different clock stuff behind a macro.
4091
4092 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4093
4094         * configure.ac:
4095         * gst/gstdebugutils.c:
4096         * gst/gstinfo.c:
4097           Apply the posix-timer check from #361155. Conditionally use the posix
4098           timer for logging. This gives better timestamp precission, less
4099           overhead and no ntp jitter.
4100
4101 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
4102
4103         * gst/gstminiobject.c: (gst_mini_object_get_type),
4104         (gst_mini_object_class_init), (gst_mini_object_copy_default),
4105         (gst_mini_object_finalize), (gst_mini_object_copy),
4106         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
4107         (gst_mini_object_replace), (param_mini_object_validate),
4108         (gst_param_spec_mini_object_get_type):
4109         Some cleanup and checking against invalid function parameters.
4110
4111 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
4112
4113         * docs/gst/gstreamer-sections.txt:
4114         * gst/gstclock.h:
4115         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4116         (gst_systemclock_suite):
4117         Start merging in the easy bits of #361155, the monotonic clock patch.
4118         This one adds a few handy macros with docs and a testsuite.
4119
4120 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
4121
4122         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
4123         Be a bit smarter when seeking, like, don't try to do a seek when it's
4124         not needed. This avoids errors when the file is not seekable.
4125         Fixes #499771.
4126
4127 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
4128
4129         * docs/gst/gstreamer-docs.sgml:
4130         * docs/gst/gstreamer-sections.txt:
4131         * docs/gst/gstreamer.types.in:
4132         * gst/Makefile.am:
4133         * gst/gst.h:
4134         * gst/gstpreset.c:
4135         * gst/gstpreset.h:
4136         * plugins/elements/gstqueue.c:
4137           Due to popular request remove preset interface again. :-(.
4138
4139 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4140
4141         * tools/gst-inspect.c:
4142           Print 'default value' for enums and flags too.
4143
4144 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4145
4146         * docs/random/ensonic/profiling.txt:
4147           More ideas.
4148
4149         * gst/gstbin.c:
4150           Fix typo and give better log output.
4151
4152         * gst/gstdebugutils.c:
4153         * gst/gstdebugutils.h:
4154           More ideas, make graphs a bit smaller and fix param name in macro.
4155
4156 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4157
4158         * gst/gstpreset.c:
4159           Try harder to use the return value from fgets().
4160
4161 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
4162
4163         * gst/gstpreset.c:
4164           For theses two fgets we handle the error below.
4165
4166 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
4167
4168         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
4169         Only send upstream events upstream. Fixes #498746.
4170
4171 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
4172
4173         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4174
4175         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4176         (gst_identity_init), (gst_identity_transform_ip),
4177         (gst_identity_set_property), (gst_identity_get_property):
4178         * plugins/elements/gstidentity.h:
4179         Add property to disable handoff signal emission. Fixes #498694.
4180         API: GstIdentity::signal-handoffs
4181
4182 2007-11-21  Julien Moutte  <julien@fluendo.com>
4183
4184         * docs/faq/gst-uninstalled: Yet another missing library for the
4185         uninstalled script (fft)
4186
4187 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
4188
4189         * docs/faq/developing.xml:
4190         Add a question about how to submit new translations.
4191
4192         * docs/random/release:
4193         Update the contact email address for the Translation Project
4194
4195         * plugins/elements/gstfdsrc.c:
4196         The parent_class for fdsrc is pushsrc, not GstElement.
4197
4198 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
4199
4200         * gst/gstpreset.c:
4201           Plug a leak and fix saving.
4202
4203 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
4204
4205         * docs/gst/gstreamer-sections.txt:
4206         Add new gst_preset__get_property_names() function to the docs
4207         to fix the build.
4208
4209 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
4210
4211         * gst/gstpreset.c:
4212         * gst/gstpreset.h:
4213           Change _get_preset_names API to return a strv with copies. Add
4214           _get_property_names to allow implementations to filter and provide
4215           good default implementation.
4216
4217 2007-11-20  Julien MOUTTE  <julien@moutte.net>
4218
4219         * docs/faq/gst-uninstalled: Add another library to the uninstalled
4220         script (sdp).
4221
4222 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4223
4224         * gst/gstpreset.c:
4225           More cleanups, docs, and TODOs from comments that now slowly come in.
4226
4227 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4228
4229         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
4230         search path.
4231
4232 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4233
4234         * gst/gstpreset.c:
4235           Fix bogus warning and make the property type specific code more
4236           similar.
4237
4238 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4239
4240         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4241         it build on OS X.
4242
4243 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
4244
4245         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4246         (gst_bin_add_func), (gst_bin_remove_func),
4247         (gst_bin_change_state_func), (gst_bin_continue_func):
4248         Change email, cleanups add some more debug and comments.
4249         Also set bus and clock on new elements when the pipeline was in error.
4250
4251 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
4252
4253         * gst/gstbin.c:
4254         * gst/gstdebugutils.c:
4255           Fix build with --disable-gst-debug. Fixes #497859.
4256           Spotted by Sameer Naik.
4257
4258 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4259
4260         * gst/gstevent.c:
4261           Little documentation improvment.
4262
4263         * gst/gstpreset.c:
4264           More TODO cleanups. Remove c++ comments.
4265
4266         * libs/gst/controller/gstcontroller.c:
4267           Add TODO and use quark from static string.
4268
4269         * tests/check/gst/gstmessage.c:
4270         * tests/check/gst/gststructure.c:
4271           Use quark from static string.
4272
4273 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4274
4275         * gst/gstpreset.c:
4276           Add some comments and TODOs.
4277
4278         * gst/gstpreset.h:
4279           Add padding for future changes.
4280
4281         * plugins/elements/gstqueue.c:
4282           Implement the iface.    
4283
4284 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4285
4286         * docs/gst/gstreamer-docs.sgml:
4287         * docs/gst/gstreamer-sections.txt:
4288         * docs/gst/gstreamer.types.in:
4289         * gst/Makefile.am:
4290         * gst/gst.h:
4291         * gst/gstpreset.c:
4292         * gst/gstpreset.h:
4293           Add the preset interface (Fixes #396779). Do some doc cleanups along.
4294
4295 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
4296
4297         * configure.ac:
4298
4299         Back to CVS
4300
4301 === release 0.10.15 ===
4302
4303 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
4304
4305         * configure.ac:
4306           releasing 0.10.15, "October"
4307
4308 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
4309
4310         * win32/vs6/libgstreamer.dsp:
4311         Convert line endings back to DOS.
4312
4313 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
4314
4315         * docs/design/draft-tagreading.txt:
4316         * docs/random/ensonic/profiling.txt:
4317         Update fast tagreading draft and performance profiling ideas.
4318
4319 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4320
4321         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4322         Don't hold the object lock when unreffing a buffer because it could
4323         cause a deadlock when the finalize function wants to grab the object
4324         lock too. Fixes #495133.
4325
4326 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4327
4328         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4329         (gst_segment_to_stream_time), (gst_segment_to_running_time):
4330         Also accumulate time correctly when doing reverse playback. Fixes
4331         #488201,
4332         When converting to running and stream time, use default values for
4333         start/stop/time/accum when comparing different formats. Fixes #494245.
4334
4335         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4336         Do running/stream time in TIME format.
4337
4338         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4339         (gst_segment_suite):
4340         2 new unit tests for segment accumulation.
4341
4342 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4343
4344         * gst/gst.c: (init_pre):
4345         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4346           (_gst_debug_bin_to_dot_file):
4347           Move getenv() back into gst_init, so everyone can live happily
4348           ever after. Make sure the symbol isn't exported though.
4349
4350 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4351
4352         Patch by: Sebastien Moutte  <sebastien moutte net>
4353
4354         * win32/common/gstenumtypes.c:
4355         * win32/common/gstenumtypes.h:
4356           Update enum types.
4357
4358         * win32/vs6/libgstreamer.dsp:
4359           Update vs6 project files (#494343).
4360
4361 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4362
4363         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4364         (gst_base_src_perform_seek), (gst_base_src_default_event),
4365         (gst_base_src_set_flushing), (gst_base_src_activate_push),
4366         (gst_base_src_activate_pull):
4367         Unify flushing code, remove some old unlock code that is no longer used.
4368         Take the streaming lock when seeking to avoid races. Fixes #492729.
4369         Added some more comments.
4370
4371 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4372
4373         * gst/gst.c: (_gst_disable_segtrap):
4374           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
4375           we can use gst_segtrap_is_enabled() there now that we have that API.
4376           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4377           to do the getenv here (and export the variable).
4378
4379         * gst/gstdebugutils.c: (debug_dump_element),
4380           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4381           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4382
4383         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4384           (gst_debug_log_default):
4385           Rename _gst_info_start_time to priv_gst_info_start_time so it
4386           doesn't get exported (was never in any header).
4387
4388         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4389           (gst_plugin_loading_mutex):
4390           Make static mutex gst_plugin_loading_mutex really static (was never
4391           in any header), and use gst_segtrap_is_enabled() instead of
4392           _gst_disable_segtrap.
4393
4394         * gst/gsttrace.c: (_gst_trace_default):
4395           Make local _gst_trace_default static (was never in any header).
4396
4397 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4398
4399         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4400
4401         * win32/common/libgstbase.def:
4402         * win32/common/libgstcontroller.def:
4403         * win32/common/libgstdataprotocol.def:
4404         * win32/common/libgstnet.def:
4405         * win32/common/libgstreamer.def:
4406           Add more missing symbols, remove some duplicates, and sort
4407           as the 'sort' command sorts it (partially fixes #493983).
4408
4409 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4410
4411         * gst/gstelement.c: (gst_element_set_state_func):
4412         Only change the state cookie if a different state was set on the
4413         element. See #492729.
4414
4415 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4416
4417         * gst/gstvalue.c:
4418           Remove unused and uninitialised type variables that were still
4419           exported for some reason (they were never in any header files
4420           though).
4421
4422 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4423
4424         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4425         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4426         (gst_base_sink_event), (gst_base_sink_get_position_last),
4427         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4428         (gst_base_sink_change_state):
4429         Don't try to report a 0 position when we don't know, return -1 and FALSE
4430         instead. This mostly happens when we are prerolling.
4431         Make sure we can report the right position before we post the ASYNC_DONE
4432         message so that a message handler can query position without races.
4433
4434         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4435         (async_done_handoff), (async_done_func), (send_buffer),
4436         (async_done_eos_func), (gst_sinks_suite):
4437         Add two tests for the above.
4438
4439 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4440
4441         * MAINTAINERS:
4442         Update with new email address.
4443
4444         * docs/design/part-TODO.txt:
4445         Add some more info about future pad-block and negotiation changes.
4446
4447         * docs/design/part-buffering.txt:
4448         Add some ideas about buffering reporting.
4449
4450 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
4451
4452         * tests/check/gst/gstobject.c:
4453         Disable silly racy test that always fails on this combination of CPU
4454         and kernel.
4455
4456 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4457
4458         Patch by: Murray Cumming  <murrayc@murrayc.com>
4459
4460         * gst/gstobject.c:
4461           Corrected the registration of the parent-set and parent-unset
4462           signals: The parameter is a GstObject, not a GObject (#493134).
4463
4464 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4465
4466         * gst/gst_private.h:
4467         * gst/gstbuffer.h:
4468         * gst/gstevent.h:
4469         * gst/gstformat.h:
4470         * gst/gstmessage.h:
4471         * gst/gstplugin.h:
4472         * gst/gstquery.h:
4473         * gst/gsttaglist.h:
4474         * gst/gstvalue.h:
4475           Move declaration of private _gst_foo_initialize() functions into
4476           our private header file where they should have been all along.
4477
4478 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4479
4480         * docs/plugins/gstreamer-plugins-sections.txt:
4481         * gst/gstdebugutils.h:
4482         * gst/gstxml.h:
4483         * plugins/elements/gstqueue.c:
4484           gtk-doc fixes; trailing-comma-in-enum fix.
4485
4486 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4487
4488         * gst/gst.c: (gst_deinit):
4489           Clean up on deinit (not the external ones though, doesn't seem to be
4490           needed for some reason).
4491
4492 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4493
4494         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4495           Remove __declspec(dllimport) for MSVC that was copied over into core
4496           from a plugin, obviously without ever having been tested (note the
4497           single underscore in _declspec in the initial commit), and that doesn't
4498           really make sense.  See #492077.
4499
4500 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4501
4502         * gst/gst.c: (init_post):
4503         * gst/gstevent.c: (_gst_event_initialize):
4504         * gst/gstquery.c: (_gst_query_initialize):
4505         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4506           g_type_class_ref() other types as well, see #349410 and #64764.
4507
4508         * gst/gstbuffer.c: (_gst_buffer_initialize):
4509         * gst/gstmessage.c: (_gst_message_initialize):
4510           Simplify existing g_type_class_ref().
4511
4512 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4513
4514         * gst/gstformat.c: (_gst_format_initialize):
4515           g_type_class_ref() our GstFormat type to make sure we avoid the
4516           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4517           bug #64764. Should fix intermittent tee unit test failures (#474823).
4518
4519 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4520
4521         * tests/check/elements/tee.c: (test_num_buffers):
4522           Simplify, simplify, simplify - or not.  Rewrite unit test
4523           not to use gst_parse_launch(); allow N sub-streams. Increasing
4524           the number of sub-streams seems to reproduce #474823 more easily.
4525
4526 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4527
4528         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4529
4530         * gst/gsttrace.c:
4531         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4532         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4533         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4534           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4535           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4536           so use _pipe() directly (#492077).
4537
4538         * win32/common/dirent.c: (_treaddir):
4539           Add a couple of casts to make it build without warnings with MSVC.
4540
4541         * win32/common/libgstreamer.def:
4542           Add some more symbols that need to be exported.
4543
4544 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4545
4546         * tests/examples/metadata/read-metadata.c: (message_loop):
4547           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4548           arriving in a second or third tag message are added to
4549           the tag list as well.
4550
4551 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4552
4553         * libs/gst/base/gstbasesrc.c:
4554           Its "Since:" and not "@Since:". And remove an superflous cast.
4555
4556 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4557
4558         * docs/libs/gstreamer-libs-sections.txt:
4559         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4560         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4561         (gst_base_sink_get_property), (gst_base_sink_render_object),
4562         (gst_base_sink_preroll_object),
4563         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4564         (gst_base_sink_change_state):
4565         * libs/gst/base/gstbasesink.h:
4566         Add a new last-buffer property that contains the last buffer used in
4567         basesink for preroll or rendering. useful for making snapshots.
4568         API: gst_base_sink_get_last_buffer()
4569         API: GstBaseSink::last-buffer
4570
4571 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4572
4573         * docs/gst/running.xml:
4574         * gst/gst.c:
4575         * gst/gstdebugutils.c:
4576         * gst/gstdebugutils.h:
4577         * tools/gst-launch.c:
4578           Improve bin graph dumping, by using the envvar to specify a path.
4579           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4580
4581 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4582
4583         * plugins/elements/gsttypefindelement.c:
4584           (gst_type_find_element_handle_event),
4585           (gst_type_find_element_activate):
4586           Post special error message if we can't determine the type of a stream
4587           because it's empty.
4588
4589 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4590
4591         * docs/gst/running.xml:
4592         * gst/gstdebugutils.c:
4593           Document new env-var. Add one log-line after dumpng a graph.
4594
4595 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4596
4597         * configure.ac:
4598           Ugly hack to put the (recently removed and non-portable, apparently)
4599           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4600           GNU ld, because without that 'make check' fails miserably on my debian
4601           stable box.  Someone with more knowledge of linker intricacies and
4602           portability issues than me fix this properly please.
4603
4604 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4605
4606         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4607         Reset last seen position after flushing so that we don't report the old
4608         position anymore.
4609
4610 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4611
4612         * gst/gstelementfactory.c: (gst_element_register):
4613         * gst/gsturi.h:
4614         Patch from Alessandro Decina adding get_type_full and
4615         get_protocols_full private vfuncs to the URIHandler interface
4616         to allow bindings to support creating URI handlers. 
4617         Partially fixes: #339279
4618         API: GstURIHandlerInterface::get_type_full
4619         API: GstURIHandlerInterface::get_protocols_full
4620
4621 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4622
4623         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4624         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4625         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4626         Make it so that pads are considered linked until a buffer is pushed
4627         and discovered otherwise. This avoids problems with decodebin2 hanging
4628         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4629         case.
4630
4631         Make sure we lock the multiqueue when updating the max-size properties.
4632         
4633         Fix a crash on Solaris in a debug statement in get_request_pad that
4634         passes a NULL string to GST_DEBUG. 
4635
4636         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4637         (run_output_order_test):
4638         Fix the test to allow the first buffer on not-linked pads to come out
4639         of sequence while multiqueue discovers that they are not-linked.
4640
4641 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4642
4643         * configure.ac:
4644         * libs/gst/check/Makefile.am:
4645         Use a custom export symbol regex for libgstcheck, as it needs
4646         to export symbols that don't match the standard GStreamer gst_*
4647         pattern, and  --export-dynamic is not portable (only works on 
4648         GNU ld)
4649
4650         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4651         (gst_check_setup_sink_pad):
4652         Make sure to pass a message parameter to the fail_* macros.
4653
4654         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4655         Fix some compiler warnings.
4656
4657 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4658
4659         * tests/check/gst/gststructure.c: (test_to_string):
4660           Disable test that checks that white spaces are not allowed
4661           in structure names or field names, since we need to
4662           support that for now for backwards compatibility reasons.
4663
4664 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4665
4666         * docs/gst/gstreamer-sections.txt:
4667         * gst/gsttaglist.c:
4668         * gst/gsttaglist.h:
4669           API: add GST_TAG_ARTIST_SORTNAME
4670           API: add GST_TAG_ALBUM_SORTNAME
4671           API: add GST_TAG_TITLE_SORTNAME
4672           Add tag variants for sorting (#414539).
4673
4674 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4675
4676         * gst/gststructure.c:
4677           Also allow white space for names so we don't break
4678           backwards compatibility.
4679
4680 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4681
4682         * docs/design/part-TODO.txt:
4683         * docs/design/part-segments.txt:
4684         * docs/design/part-streams.txt:
4685         Small updates.
4686
4687 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4688
4689         * docs/gst/gstreamer-sections.txt:
4690          Fixed documentation from my previous commit (added new API add
4691          gst_value_set_structure(), add gst_value_get_structure() and
4692          GST_VALUE_HOLDS_STRUCTURE).
4693
4694 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4695
4696         * gst/gstdebugutils.c:
4697           Reflow code to fix uninitialized variable warning.
4698
4699 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4700
4701         * gst/gstcaps.c: (gst_caps_to_string),
4702         (gst_caps_from_string_inplace):
4703         * gst/gststructure.c: (gst_structure_get_abbrs),
4704         (gst_structure_to_string), (gst_structure_from_string):
4705         * gst/gstvalue.c: (gst_value_set_structure),
4706         (gst_value_get_structure), (gst_value_serialize_structure),
4707         (gst_value_deserialize_structure), (_gst_value_initialize):
4708         * gst/gstvalue.h:
4709         * tests/check/gst/gststructure.c: (GST_START_TEST),
4710         (gst_structure_suite):
4711         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4712          Added GstStructure to gst_value_table and its related functions.
4713          Changed gst_structure_to_string to print ';' in the end.
4714          Changed gst_caps_to_string to not print ';' beteween its
4715          fields (structures) anymore and remove the lastes ';' from latest
4716          structure. Now it is possible to have nested structures.
4717          In addition, backward compatibilty is assured by accepting '\0' as
4718          end delimiter. Fixes: #487969.
4719          API: add gst_value_set_structure()
4720          API: add gst_value_get_structure()
4721          API: add GST_VALUE_HOLDS_STRUCTURE
4722
4723 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4724
4725         * gst/gstbus.c:
4726           When no GSource callback has been set up, tell developer
4727           to use a function that actually exists.
4728
4729 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4730
4731         * docs/gst/gstreamer-sections.txt:
4732         * gst/Makefile.am:
4733         * gst/gst.c:
4734         * gst/gst.h:
4735         * gst/gstdebugutils.c:
4736         * gst/gstdebugutils.h:
4737         * gst/gstinfo.c:
4738         * gst/gstinfo.h:
4739         * tools/gst-launch.c:
4740           Allow dumping pipelines as dot graphs. Fixes #456573.
4741
4742 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4743
4744         * gst/gststructure.c:
4745           Allow '+' as well, it can be part of media or mime types
4746           such as image/svg+xml.
4747
4748 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4749
4750         * docs/gst/gstreamer-sections.txt:
4751         * gst/gstbus.c:
4752         * gst/gstbus.h:
4753           API: add gst_bus_pop_filtered
4754           API: add gst_bus_timed_pop_filtered
4755           Two new functions for waiting for specific message types on the
4756           bus for a specified amount of time without iterating any main
4757           loops or main contexts.
4758
4759         * tests/check/gst/gstbus.c:
4760           Some tests for the new functions.
4761
4762 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4763
4764         * docs/libs/gstreamer-libs-sections.txt:
4765           Make gtk-doc ignore stuff it should ignore.
4766
4767 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4768
4769         * libs/gst/check/gstcheck.c:
4770         * libs/gst/check/gstcheck.h:
4771           Allow runtime selection of unit tests to run via the GST_CHECKS
4772           environment variable (test case function names, comma-separated).
4773
4774 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4775
4776         * gst/gststructure.c:
4777         * tests/check/gst/gststructure.c:
4778           Revert serialisation change and constrain structure-names after
4779           consensus on irc. Update api documentation to reflect the change.
4780
4781 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4782
4783         * gst/gststructure.c:
4784           Improve serialization and fix tests.
4785
4786         * tests/check/gst/gststructure.c:
4787           Add another test that covers why I actually did the previous structure
4788           change.
4789
4790 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4791
4792         * tools/gst-inspect.c: (print_element_info):
4793         Don't crash when inspecting an element.
4794
4795 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4796
4797         * tests/check/gst/gststructure.c:
4798           Add unit test for escaping of structure name when serialising
4799           and deserialising to/from strings.
4800
4801 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4802
4803         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4804         (gst_single_queue_new):
4805         * plugins/elements/gstqueue.c: (gst_queue_init),
4806         (gst_queue_push_one):
4807         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4808         upstream is tricked into thinking it can suggest a format downstream
4809         while downstream does not support that format. The real problem is that
4810         core calls acceptcaps when pushing a buffer with new caps, for which we
4811         do a little workaround by setting the caps on the srcpad ourselves
4812         before pushing the buffer (until this is figured out). Fixes #486758.
4813
4814 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4815
4816         * gst/gststructure.c:
4817         * gst/gstvalue.c:
4818           Add some more comments and debug output. Quote structure name to fix
4819           deserialisation of some strings.
4820
4821 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4822
4823         * gst/gstbuffer.h:
4824           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4825           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4826
4827 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4828
4829         * tools/gst-inspect.c:
4830           Save approx. 400 1 byte allocs when printing. Use API to acces element
4831           details.
4832
4833         * tools/gst-run.c:
4834           Avoid a strdup.
4835
4836         * tools/gst-xmlinspect.c:
4837           Use API to acces element details.
4838
4839 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4840
4841         * gst/gstinfo.c:
4842           Fix some spelling errors.
4843
4844 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4845
4846         * gst/gstbin.c: (bin_handle_async_done):
4847         Correctly set the next state if all of our async children commited their
4848         state. This makes sure we can actually cancel the state change in
4849         progress. Fixes a regression in Rhythmbox when seeking.
4850
4851 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4852
4853         * gst/gstbin.c:
4854           Don't shadow local variable.
4855
4856         * gst/gstinfo.c:
4857           Don't shadow global function name.
4858
4859 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4860
4861         * gst/gstelementfactory.c:
4862         * gst/gstpluginfeature.c:
4863         * gst/gstpluginfeature.h:
4864         * gst/gstregistrybinary.c:
4865         * gst/gstregistryxml.c:
4866         * gst/gsttypefind.c:
4867           Use already-interned string for the private GstPluginFeature
4868           plugin_name field.
4869
4870 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4871
4872         * docs/libs/gstreamer-libs-sections.txt:
4873           Add new API to docs; fixes the build.
4874
4875 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4876         
4877         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4878
4879         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4880         (gst_base_sink_event):
4881         * libs/gst/base/gstbasesink.h:
4882         Add function to wait for EOS, subclasses can use this to correctly wait
4883         for devices to drain before performing the EOS logic. Fixes #485343.
4884         API: gst_base_sink_wait_eos()
4885
4886 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4887
4888         * gst/gstplugin.h:
4889           Cast description string constants in GST_PLUGIN_DEFINE macros
4890           to a (gchar*) to make C++ code using these macros compile
4891           without warning with g++-4.2 (see #462737).  Even if slightly
4892           ugly, this seems preferable to putting the description strings
4893           into the GLib quark table or making the structure member a
4894           const gchar * and doing casts in core code that allocs and
4895           frees these strings, or requiring a cast in the C++ code.
4896
4897 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4898
4899         * gst/gstinfo.h:
4900           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4901           to print the entire class/function signature into the log
4902           file for C++ code.  This only affects C++ code, for C code
4903           everything remains the same.
4904
4905 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4906
4907         * gst/gstbin.c: (remove_from_queue):
4908         Work around a problem with pipelines containing (semi)loops until a
4909         proper, more complicated solution is ready. See #475455.
4910
4911 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4912
4913         * gst/gstplugin.c:
4914         * gst/gstplugin.h:
4915         * gst/gstregistrybinary.c:
4916         * gst/gstregistryxml.c:
4917           Put more strings into the GLib quark table. No need to keep
4918           a hundred-something copies of identical version strings,
4919           license strings, package name strings and package origin
4920           strings around. 
4921
4922 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4923
4924         * docs/manual/advanced-dataaccess.xml:
4925           Don't imply that it's okay to unconditionally change
4926           buffer data or buffer metadata in a pad probe callback,
4927           and a bunch of other comments. Fixes #430031.
4928
4929 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4930
4931         * win32/common/gstenumtypes.c:
4932         * win32/common/gstenumtypes.h:
4933         * win32/common/gstversion.h:
4934           Update generated files.
4935
4936 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4937
4938         * docs/manual/advanced-autoplugging.xml:
4939           Prefix section with broken code with a warning (see #342432).
4940
4941 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4942
4943         * docs/manual/appendix-integration.xml:
4944         * docs/manual/basics-init.xml:
4945           Call g_thread_init() before g_option_context_new() to
4946           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4947
4948 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4949
4950         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4951         (gst_base_sink_queue_object_unlocked),
4952         (gst_base_sink_queue_object), (gst_base_sink_event),
4953         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4954         When we received EOS and are waiting for when to post the EOS message,
4955         our state is prerolled and we should not return ASYNC.
4956         Reorganize some code paths to implement this behavior.
4957
4958         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4959         (gst_sinks_suite):
4960         Add unit test to verify above EOS fix.
4961
4962 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4963
4964         * plugins/elements/gsttypefindelement.c:
4965         (gst_type_find_element_have_type), (gst_type_find_element_init),
4966         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4967         Move detecting the input caps of the sinkpad to the setcaps function.
4968         This allows us to update the output caps when we receive new input caps
4969         instead of always using the first detected caps.
4970
4971 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4972
4973         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4974         (gst_base_sink_get_position):
4975         Don't try to preroll non-async elements after a flush.
4976         Subtract latency form clock times when reporting position.
4977
4978 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4979
4980         * gst/gstpad.c: (gst_pad_pause_task):
4981         * gst/gstutils.c:
4982         Small comment and documentation update.
4983
4984 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4985
4986         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4987         (gst_base_src_set_live), (gst_base_src_is_live),
4988         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4989         (gst_base_src_default_event), (gst_base_src_wait),
4990         (gst_base_src_do_sync), (gst_base_src_get_range),
4991         (gst_base_src_pad_get_range), (gst_base_src_loop),
4992         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4993         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4994         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4995         (gst_base_src_change_state):
4996         Rework the locking of basesrc in a similar fashion to basesink. We
4997         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4998         us to handle live sources and semi live ones much better.
4999         Simplify flushing.
5000         Fix unlocking when seeking, shutting down and pausing in live sources.
5001
5002 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
5003
5004         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
5005         Fix compilation again.
5006
5007 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5008
5009         * gst/gstelement.c:
5010           Use meaningful categories for the logs to clean the default one.
5011
5012 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5013
5014         * tests/check/pipelines/cleanup.c:
5015           Print message name and not just number.
5016
5017 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5018
5019         * docs/design/draft-tagreading.txt:
5020           Add some more thoughts.
5021
5022 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5023
5024         * tests/check/pipelines/simple-launch-lines.c:
5025           Print message name and not just number.
5026
5027 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5028
5029         * libs/gst/base/gsttypefindhelper.c:
5030           Speedup typefinding. This is work in progress (see #459862).
5031
5032 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5033
5034         * gst/gstplugin.c:
5035           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
5036           Spotted by Josep Torra Valles <josep@fluendo.com>.
5037
5038 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
5039
5040         * gst/gstclock.h:
5041           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
5042           field has moved to GstObject.
5043
5044 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
5045
5046         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
5047         (gst_base_src_get_range), (gst_base_src_change_state):
5048         Call unlock for live sources so that they can't get stuck in _create and
5049         produce a buffer before they are set back to PLAYING.
5050
5051 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
5052
5053         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5054         (gst_queue_locked_dequeue):
5055         Comment the segment-related code... in the PROPER function.
5056         See #482147 and my commit from yesterday.
5057
5058 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
5059
5060         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5061         Also initialize the counter that calculates the first timestamp on a
5062         buffer correctly for non-live sources.
5063
5064 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
5065
5066         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
5067         Disable code that's breaking the current-time-level reporting.
5068         See #482147
5069
5070 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
5071
5072         * docs/gst/gstreamer-sections.txt:
5073         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
5074         as they shouldn't show up. Fixes the docs build.
5075
5076 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
5077         
5078         * gst/gstinfo.h:
5079         Add an explicit variable importation needed on VS6 (only for MSC_VER)
5080         Define M_PI which is used in files which are including gstinfo.h. 
5081         VS6 includes doesn't define it.
5082         * win32/common/libgstbase.def:
5083         * win32/common/libgstcontroller.def:
5084         * win32/common/libgstreamer.def:
5085         Add new exported functions and variables.
5086         * win32/vs6/libgstcontroller.dsp:
5087         * win32/vs6/libgstreamer.dsp:
5088         Update the list of files to build.
5089         
5090 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
5091
5092         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5093
5094         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
5095         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
5096         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
5097         Improve debugging. Fixes #480858.
5098
5099 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
5100
5101         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5102
5103         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5104         First patch of code cleanups, use the macros and right arguments in the
5105         macros to signal and lock the queue. See #480858.
5106
5107 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
5108
5109         * gst/gstbus.c: (poll_func):
5110         Improve debugging when dealing with _poll().
5111
5112 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5113
5114         * gst/gstregistryxml.c:
5115           Fix memory leak I introduced a few days ago.
5116
5117 2007-09-26  Michael Smith <msmith@fluendo.com>
5118
5119         * gst/gstbuffer.c: (gst_buffer_finalize):
5120           Make it once again possible to free GstBuffers in the default
5121           build.
5122           The poisoning scribbles on parts of the miniobject we need in
5123           order to free it.
5124           Fixes #480341
5125
5126 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5127
5128         * docs/gst/gstreamer-sections.txt:
5129         * gst/gsttaglist.c:
5130         * gst/gsttaglist.h:
5131         API: add GST_TAG_COMPOSER, fixes #459809.
5132
5133 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
5134
5135         * gst/gstplugin.c:
5136         * gst/gstplugin.h:
5137         Add the 3-clause BSD license and the MIT/X11 license to the license
5138         list. Fixes #479784.
5139
5140 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5141
5142         * docs/faq/getting.xml:
5143           Add Q+A about different GStreamer versions (#364056).
5144
5145 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5146
5147         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5148         (gst_base_sink_event), (gst_base_sink_change_state):
5149         Return correct gboolean from query function.
5150
5151 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5152
5153         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5154         (gst_base_sink_event), (gst_base_sink_query),
5155         (gst_base_sink_change_state):
5156         Simplify latency query.
5157         When not synchronizing, we can report latency without querying the peer
5158         element.
5159
5160 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5161
5162         * gst/gstobject.h:
5163         * gst/gstvalue.c:
5164         Fix small typos in the docs.
5165
5166 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5167
5168         * docs/design/draft-latency.txt:
5169         * docs/design/draft-push-pull.txt:
5170         * docs/design/draft-tagreading.txt:
5171         * docs/design/part-MT-refcounting.txt:
5172         * docs/design/part-activation.txt:
5173         * docs/design/part-block.txt:
5174         * docs/design/part-element-source.txt:
5175         * docs/design/part-events.txt:
5176         * docs/design/part-gstbin.txt:
5177         * docs/design/part-gstelement.txt:
5178         * docs/design/part-gstobject.txt:
5179         * docs/design/part-gstpipeline.txt:
5180         * docs/design/part-messages.txt:
5181         * docs/design/part-preroll.txt:
5182         * docs/design/part-push-pull.txt:
5183         * docs/design/part-qos.txt:
5184         * docs/design/part-query.txt:
5185         * docs/design/part-scheduling.txt:
5186         * docs/design/part-seeking.txt:
5187         * docs/design/part-segments.txt:
5188         * docs/design/part-states.txt:
5189         Documentation updates and typo fixes.
5190
5191 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5192
5193         * plugins/elements/gstfakesink.c:
5194           Add some debug text to error message to indicate that
5195           we errored out on request.
5196
5197         * tools/gst-launch.c:
5198           When the state change to PLAYING fails, check for an
5199           error message on the bus and print it.
5200
5201 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5202
5203         translated by: Jorge González González <aloriel@gmail.com>
5204
5205         * po/LINGUAS:
5206         * po/es.po:
5207           Added Spanish translation.
5208
5209 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
5210
5211         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5212         Fix printf arguments.
5213
5214 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
5215
5216         * tests/check/generic/states.c:
5217           Improved state change unit test.
5218
5219 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
5220
5221         * gst/gstbin.h:
5222           Move priv to the right place.
5223
5224         * gst/gstsystemclock.c:
5225           Add FIXME: and improve log.
5226
5227         * tests/check/Makefile.am:
5228         * tests/examples/manual/Makefile.am:
5229           Work with all types of registries.
5230
5231 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
5232
5233         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5234         Don't unref the event after pushing it. Fixes #478401.
5235
5236 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5237
5238         * .cvsignore:
5239         * tests/examples/manual/.cvsignore:
5240           Ignore registries in any format.
5241
5242 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5243
5244         * gst/glib-compat-private.h:
5245           Add compatibility macro for g_intern_string() for
5246           GLib-2.8 (any reason we can't just bump the
5247           requirement to at least 2.10?)
5248
5249         * gst/gstpadtemplate.h:
5250         * gst/gstelementfactory.c:
5251         * gst/gstregistryxml.c:
5252         * gst/gstregistrybinary.c:
5253           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5254           up the internal code accordingly.  This shouldn't be a problem, since
5255           there is no reason external code could ever assume the string in such
5256           a structure is dynamically allocated unless it did that itself;  the
5257           use of g_strdup() is private to element factories.  The new code also
5258           saves some memory by putting pad template name strings into the GLib
5259           quark table instead of allocating them dynamically.
5260           Declaring this field constant fixes warnings with g++-4.2 when using
5261           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5262
5263 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5264
5265         * gst/gstelementfactory.c:
5266           Release static caps. Fixes #475723.
5267
5268 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
5269
5270         * gst/gstinfo.c:
5271         * gst/gstinfo.h:
5272           Make some internal API take const gchar * instead of just
5273           gchar * to avoid compiler warnings with g++-4.2.2 when
5274           passing string constants (partially fixes #478092).
5275
5276 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5277
5278         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5279         A latency query fails when one of the sinks fail.
5280
5281         * gst/gstelement.c: (gst_element_set_base_time):
5282         Improve debugging.
5283
5284 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5285
5286         * gst/gstbin.c: (gst_bin_continue_func):
5287         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5288         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5289         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5290
5291         Fix minor compilation warnings shown with Forte.
5292
5293 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5294
5295         * plugins/elements/gstqueue.c: (apply_buffer),
5296         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5297         Measure queue level based on the diff between head and tail timestamps
5298         even when pushing the first buffer.
5299
5300 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5301
5302         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5303         (gst_base_sink_event), (gst_base_sink_change_state):
5304         Sinks that don't preroll can always be queried for the latency.
5305         Don't post ASYNC start when we are not async.
5306
5307 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5308
5309         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5310         (gst_queue_handle_sink_event), (gst_queue_chain),
5311         (gst_queue_push_one), (gst_queue_handle_src_query),
5312         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5313         * plugins/elements/gstqueue.h:
5314         When downstream returns UNEXPECTED from pushing a buffer, don't try to
5315         push more buffers but allow pushing of EOS and NEWSEGMENT.
5316         Add some more debug info here and there. Fixes #476514.
5317
5318 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5319
5320         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5321         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5322         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5323         (gst_base_sink_set_flushing), (gst_base_sink_query),
5324         (gst_base_sink_change_state):
5325         Latency query is allowed after we are prerolled. Introduce a new flag
5326         for this and stop abusing other variables.
5327
5328 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5329
5330         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5331         Push OOB events downstream when we get them in send_event. This allows
5332         the application to insert events in the pipeline.
5333         Add some more comments.
5334
5335 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5336
5337         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5338         (do_bin_latency), (gst_bin_change_state_func):
5339         * gst/gstpipeline.c: (gst_pipeline_change_state):
5340         Move latency query from GstPipeline to GstBin so that we can also
5341         use it when async-handling is enabled on bins.
5342
5343 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5344
5345         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5346         (gst_base_src_do_sync), (gst_base_src_change_state):
5347         Update docs.
5348         Clean up the timestamping and syncing code for pseudo live sources.
5349
5350 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
5351
5352         Patch by: Steve Fink  <sphink gmail com>
5353
5354         * docs/manual/appendix-checklist.xml:
5355           Mention less -R switch in the section about debug output (#474055).
5356
5357 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5358
5359         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5360         Queue can latency to the pipeline up to the configured max size in time.
5361         Report this fact in the latency query.
5362
5363 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5364
5365         Patch by: Sebastien Moutte <sebastien at moutte dot net>
5366
5367         * libs/gst/controller/gstinterpolation.c:
5368         * libs/gst/controller/gstlfocontrolsource.c:
5369         Use gst_guint64_to_gdouble() when converting from a uint64 or
5370         GstClockTime to double to fix the build on win32. Fixes #474371.
5371
5372 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5373
5374         * gst/gstbuffer.c: (gst_buffer_finalize):
5375         Implement poisoning for GstBuffer if --enable-poisoning is specified.
5376         When finalizing a buffer the complete struct is filled with 0xff,
5377         thus making a use of the buffer after the final unref impossible.
5378
5379 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5380
5381         * tests/check/libs/controller.c: (GST_START_TEST):
5382         Use fail_unless_equals_int(a, b) instead of
5383         fail_unless_equals (a == b) to get better output on failures.
5384
5385 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5386
5387         * tests/check/gst/gsturi.c:
5388           Also check for the other file URI variant on win32.
5389
5390 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5391
5392         * gst/gsturi.c: (gst_uri_get_location):
5393           If there's no hostname, we want to return 'c:/foo/bar.txt'
5394           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5395
5396         * tests/check/gst/gsturi.c:
5397           Unit test for the above and a few more things.
5398
5399 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5400
5401         * docs/design/part-live-source.txt:
5402         Add docs on how live sources should timestamp.
5403
5404         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5405         Add some more debug info.
5406         For subclasses that are live and like to sync, add aditional startup
5407         latency to sync time and timestamps so that we timstamp according to the
5408         design doc.
5409
5410 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5411
5412         * gst/gstbuffer.c:
5413           Also do a g_type_class_ref() for the subbuffer type in
5414           the init function.
5415
5416 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5417
5418         * docs/gst/gstreamer-sections.txt:
5419         * gst/gstpad.c: (gst_pad_peer_query):
5420         * gst/gstpad.h:
5421         Add function to perform a query on the peer of a pad.
5422         API: gst_pad_peer_query()
5423
5424 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
5425
5426         * tests/check/gst/gstsystemclock.c:
5427           Cleanup the test a little (use gst-logging and not g_message). Improve
5428           test to check if a wait reached the target.
5429
5430 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5431
5432         * docs/libs/gstreamer-libs-sections.txt:
5433           Add new API to docs and fix the build.
5434
5435 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
5436
5437         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5438         (gst_base_src_init), (gst_base_src_set_do_timestamp),
5439         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5440         (gst_base_src_get_property), (gst_base_src_do_sync):
5441         * libs/gst/base/gstbasesrc.h:
5442         Add property to make the basesrc timestamp buffers based on the current
5443         running time.
5444         API: GstBaseSrc::do-timestamp
5445         API: gst_base_src_set_do_timestamp()
5446         API: gst_base_src_get_do_timestamp()
5447
5448 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
5449
5450         * docs/random/release:
5451           Really make sure translations are up-to-date before
5452           a release (#465010).
5453
5454 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
5455
5456         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5457         Always destroy the timer, also in error cases.
5458
5459 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5460
5461         * docs/manual/highlevel-xml.xml:
5462         Fix XML example code. Fixes #472714.
5463
5464 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5465
5466         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5467         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5468         (gst_base_sink_query):
5469         Protect eos and have_preroll with the OBJECT lock so we don't need to
5470         take the PREROLL lock when querying the latency. Fixes #473846.
5471
5472 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
5473
5474         * gst/gstelement.c:
5475           Give some log-messages a category.
5476
5477 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
5478
5479         * gst/gststructure.c:
5480         (gst_structure_fixate_field_nearest_fraction):
5481         Fix fraction list fixation code. Take the fraction with the smallest
5482         difference with the target instead of the first one in the list.
5483
5484         * tests/check/gst/gststructure.c: (GST_START_TEST),
5485         (gst_structure_suite):
5486         Added test to verify correct fraction list fixation behaviour.
5487
5488 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
5489
5490         * win32/common/libgstreamer.def:
5491           Export gst_bus_add_signal_watch too.
5492
5493 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
5494
5495         * docs/libs/gstreamer-libs-sections.txt:
5496         Add new methods to docs.
5497
5498         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5499         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5500         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5501         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5502         * libs/gst/base/gstbasesink.h:
5503         Add ts-offset property to fine-tune the synchronisation.
5504         API: GstBaseSink::ts-offset property
5505         API: gst_base_sink_set_ts_offset()
5506         API: gst_base_sink_get_ts_offset()
5507
5508 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
5509
5510         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5511         (gst_base_sink_init), (gst_base_sink_set_sync),
5512         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5513         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5514         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5515         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5516         (gst_base_sink_get_property), (gst_base_sink_change_state):
5517         * libs/gst/base/gstbasesink.h:
5518         Add async property to instruct the sink never to inform the parent about
5519         ASYNC state changes, update docs.
5520         Check argument with g_return_* for the public functions.
5521         API: GstBaseSink::async property
5522         API: gst_base_sink_set_async_enabled()
5523         API: gst_base_sink_is_async_enabled()
5524
5525 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5526
5527         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5528         Improve debugging.
5529
5530         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5531         (gst_base_src_default_query), (gst_base_src_wait),
5532         (gst_base_src_do_sync), (gst_base_src_change_state):
5533         Rearrange some code so that we can add support for measuring the 
5534         startup latency.
5535
5536 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5537
5538         * docs/random/ensonic/dynlink.txt:
5539           More thoughs on this.
5540
5541         * plugins/elements/gstcapsfilter.c:
5542           Add bugzilla ticket number to FIXME comment.
5543
5544 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5545
5546         * docs/design/part-TODO.txt:
5547         * docs/design/part-block.txt:
5548         Update some docs.
5549
5550 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5551
5552         * gst/Makefile.am:
5553           Revert patch which uses $(gst_headers) instead of $^ because it
5554           breaks make dist.
5555
5556 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5557
5558         * tests/check/gst/gstbin.c: (GST_START_TEST):
5559           Fix leaks in the new unit test.
5560
5561 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5562
5563         * gst/gst.c:
5564           Don't use GST_INFO before the debug system is actually initialised
5565           (shouldn't do any harm, but won't print anything either, so we can
5566           just as well remove it).
5567
5568         * gst/gstinfo.h:
5569           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5570           compilers that don't support variadic macros (such as MSVC), should
5571           check for debug_level <= __gst_debug_min as well, since that's the
5572           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5573           inline helper functions. Should improve performance a bit, but also
5574           makes sure uses of GST_INFO et.al are ignored if the debugging
5575           system isn't initialised yet (instead of printing an assertion
5576           failure).
5577
5578 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5579
5580         patch by: David Nečas <yeti@physics.muni.cz>
5581
5582         * gst/Makefile.am:
5583           Replace some non portable makefile constructs.
5584
5585 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5586
5587         * common/gtk-doc-plugins.mak:
5588           Grrrrr. Don't remove the types file on make clean.
5589
5590 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5591
5592         * tools/gst-launch.1.in:
5593         Add colorspace to example pipeline. Fixes #458274.
5594
5595 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5596
5597         * docs/random/release:
5598           The release manager should run 'make download-po' before making a
5599           release to make sure translations are up-to-date.
5600
5601         * po/LINGUAS:
5602         * po/be.po:
5603         * po/pl.po:
5604         * po/rw.po:
5605           Add some new translations.
5606
5607 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5608
5609         * tools/gst-launch.c: (event_loop), (main):
5610         Don´t try to do any state management when a live pipeline posts
5611         buffering messages.
5612         Also make the buffering string translatable.
5613
5614 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5615
5616         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5617         (bin_handle_async_start), (gst_bin_handle_message_func):
5618         Improve debugging.
5619         When adding elements, insert messages into the bus of the newly added
5620         element and make sure the element is the source of the message. This
5621         allows the parent bin to intercept the message and do the
5622         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5623         messages to the app (which is not allowed).
5624         Update some docs.
5625
5626         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5627         Fix testsuite so that is does not work around messages that should not
5628         have been posted in the first place.
5629
5630 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5631
5632         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5633         (update_degree), (gst_bin_sort_iterator_next):
5634         Fix annoying bug in the sorted iterator where a sink that is not really
5635         a sink (when it has downstream links) screwed up the iterator.
5636
5637         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5638         Unit test to verify the fix.
5639
5640 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5641
5642         * gst/gstmessage.h:
5643         Add some more docs for the messages.
5644
5645         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5646         (gst_base_sink_query):
5647         Add some more debugging.
5648
5649         * tools/gst-launch.c: (event_loop):
5650         When interrupting, don't try to set pipeline to PAUSED twice.
5651
5652 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5653
5654         
5655         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5656         (bin_handle_async_start), (gst_bin_handle_message_func):
5657         Move ASYNC_START message posting to where it belongs, similar to
5658         async_done. 
5659         Don't post ASYNC_START when we are in error. 
5660         Post ASYNC_START when we added an async element to a bin.
5661
5662 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5663
5664         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5665         generation from vargs. Fixes #466595.
5666
5667 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5668
5669         * gst/gstbin.c: (gst_bin_element_set_state):
5670         Always change the state of a NO_PREROLL element even if it has ASYNC
5671         elements inside (in case of a bin).
5672
5673         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5674         Unit test for this case.
5675
5676 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5677
5678         * libs/gst/check/gstbufferstraw.c:
5679         * libs/gst/check/gstcheck.h:
5680         * libs/gst/controller/gstcontroller.c:
5681         * libs/gst/controller/gstcontrolsource.h:
5682         * libs/gst/controller/gstlfocontrolsource.h:
5683         * plugins/elements/gstcapsfilter.h:
5684         * plugins/elements/gstfdsink.h:
5685         * plugins/elements/gstfdsrc.h:
5686           Add more missing docs.
5687
5688 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5689
5690         * gst/gststructure.c:
5691         Add Since tag to docs.
5692
5693 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5694
5695         * docs/gst/gstreamer-sections.txt:
5696         * gst/gststructure.c: (gst_structure_get_uint):
5697         * gst/gststructure.h:
5698         Add function to get uint from a structure.
5699         API: gst_structure_get_uint()
5700
5701 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5702
5703         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5704         (gst_caps_intersect):
5705         Fix proper check for simple caps.
5706
5707 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5708
5709         * docs/gst/Makefile.am:
5710         * docs/libs/Makefile.am:
5711           Remove cruft and do some cleanups.
5712
5713         * docs/gst/gstreamer-docs.sgml:
5714         * docs/libs/gstreamer-libs-docs.sgml:
5715           Prepare for comming gtkdoc features (rebase against online docs).
5716
5717 2007-08-10  Michael Smith <msmith@fluendo.com>
5718
5719         * docs/gst/gstreamer-sections.txt:
5720           Add gst_registry_add_path to docs.
5721
5722 2007-08-10  Michael Smith <msmith@fluendo.com>
5723
5724         * gst/gstregistry.h:
5725           Add gst_registry_add_path, which was missing from this header.
5726
5727 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5728
5729         * libs/gst/controller/gstlfocontrolsource.c:
5730           Printf format fix.
5731
5732 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5733
5734         * libs/gst/base/gstbasesink.c:
5735           Don't send an async_start message during downwards state change if 
5736           target state is less than READY
5737
5738 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5739
5740         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5741
5742         * po/LINGUAS:
5743         * po/hu.po:
5744           Added Hungarian translation.
5745
5746 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5747
5748         * po/fi.po:
5749         * po/it.po:
5750         * po/nl.po:
5751         * po/sv.po:
5752         * po/uk.po:
5753           Updated translations.
5754
5755 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5756
5757         * libs/gst/controller/Makefile.am:
5758         Dist gstlfocontrolsourceprivate.h
5759
5760 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5761
5762         * docs/libs/gstreamer-libs.types:
5763         Don't register the enum type gst_lfo_waveform_get_type() in the
5764         .types file - only GObject derived types belong.
5765
5766 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5767
5768         Patch by: <arenevier at fdn dot fr>
5769
5770         * gst/gstbuffer.h:
5771         Remove comma from last element in enum to avoid compile errors when
5772         using -pendantic. Fixes #464366.
5773
5774 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5775
5776         * docs/design/part-TODO.txt:
5777         Add some more TODO items
5778
5779         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5780         Improve debugging.
5781
5782         * gst/gstcaps.c: (gst_caps_intersect):
5783         Optimize trivial intersection case between identical caps pointers.
5784
5785         * gst/gstelement.c: (gst_element_continue_state),
5786         (gst_element_set_state_func):
5787         * gst/gstpad.c:
5788         Fix spelling and grammar mistakes.
5789
5790 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5791
5792         * po/POTFILES.in:
5793         * po/POTFILES.skip:
5794           Update POTFILES. Fixes #461599.
5795
5796 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5797
5798         * gst/gst.c:
5799         Fix confusing typo in debug output.
5800
5801 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5802
5803         reviewed by: Stefan Kost <ensonic@users.sf.net>
5804
5805         * libs/gst/controller/Makefile.am:
5806         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5807         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5808         (gst_lfo_control_source_new),
5809         (gst_lfo_control_source_set_waveform),
5810         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5811         (gst_lfo_control_source_finalize),
5812         (gst_lfo_control_source_dispose),
5813         (gst_lfo_control_source_set_property),
5814         (gst_lfo_control_source_get_property),
5815         (gst_lfo_control_source_class_init):
5816         * libs/gst/controller/gstlfocontrolsource.h:
5817         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5818         API: Add GstLFOControlSource, a control source that gives values
5819         for specific timestamps based on several periodic waveforms.
5820         Fixes #459717.
5821
5822         * tests/check/libs/controller.c: (GST_START_TEST),
5823         (gst_controller_suite):
5824         * docs/libs/gstreamer-libs-docs.sgml:
5825         * docs/libs/gstreamer-libs-sections.txt:
5826         * docs/libs/gstreamer-libs.types:
5827         Add documentation and unit tests for GstLFOControlSource.
5828
5829 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5830
5831         * configure.ac:
5832         Back to CVS
5833
5834 === release 0.10.14 ===
5835
5836 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5837
5838         * configure.ac:
5839           releasing 0.10.14, "Breathing Vacuum"
5840
5841 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5842
5843         * gst/gstelement.c: (gst_element_class_set_details_simple):
5844         * gst/gstelement.h:
5845           Make strings passed to gst_element_class_set_details_simple()
5846           constant, as they should be (#462752).
5847
5848 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5849
5850         * gst/gstbin.c: (gst_bin_change_state_func),
5851         (bin_handle_async_done), (gst_bin_handle_message_func):
5852         Don't forget about the fact that some element went ASYNC even after a
5853         resync. This makes us post the ASYNC_DONE message correctly.
5854         Fixes #462558.
5855
5856 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5857
5858         * gst/gstregistry.c: (gst_registry_add_feature):
5859         When replacing an existing feature in the registry, make sure to
5860         continue holding a reference until we've replaced the name string
5861         within our feature hash table. Make sure to use g_hash_table_replace
5862         instead of g_hash_table_insert to ensure the new name string is used
5863         as a key instead of the old one that we're about to free.
5864         Fixes: #462085
5865
5866 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5867
5868         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5869         (gst_plugin_feature_set_name):
5870         Revert patch from #459466 until after the release and we can work
5871         out exactly what the problem is (if any).
5872
5873 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5874
5875         * docs/gst/gstreamer-sections.txt:
5876         * gst/gsttaglist.c:
5877         * gst/gsttaglist.h:
5878           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5879
5880 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5881
5882         * docs/libs/Makefile.am:
5883         Include our build-prefix libs and includes before the generic ones to
5884         avoid linking against the installed libs when we want the build-tree
5885         ones.
5886
5887 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5888
5889         Patch by: Steve Fink  <sphink gmail com>
5890
5891         * docs/pwg/building-testapp.xml:
5892           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5893           if people try to build or install the example from the plugin
5894           template against a GStreamer from package using the configure
5895           defaults.
5896
5897 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5898
5899         Patch by: Steve Fink  <sphink gmail com>
5900
5901         * tools/gst-inspect.1.in:
5902           Document --print-all and --print-plugin-auto-install-info command
5903           line options in man page.
5904
5905 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5906
5907         * docs/gst/gstreamer-sections.txt:
5908         Add docs for new api function.
5909
5910 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5911
5912         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5913         * gst/gstelementfactory.h:
5914         API: gst_element_factory_has_interface()
5915         Added method to check if an element factory implements a named
5916         interface.
5917
5918 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5919
5920         * configure.ac:
5921         * docs/gst/gstreamer.types.in:
5922           Another conditional doc check.
5923
5924         * gst/gstmessage.c:
5925         * gst/gstparamspecs.h:
5926         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5927         * gst/gstvalue.c:
5928         * gst/gstxml.h:
5929           API-doc fixes.
5930
5931 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5932
5933         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5934         (gst_registry_binary_load_feature),
5935         (gst_registry_binary_load_plugin),
5936         (gst_registry_binary_read_cache):
5937           Print error just once and with additional info.
5938
5939 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5940
5941         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5942         (helper_find_suggest), (helper_find_get_length),
5943         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5944         (gst_type_find_helper_for_buffer):
5945           Cleanup the typefindhelper code and add private doc comments.
5946
5947 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5948
5949         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5950         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5951         Fix capsfilter for cases where the caps set on capsfilter will provide
5952         additional information.
5953         Fixes #449197
5954
5955 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5956
5957         * gst/gsttypefindfactory.c:
5958           Fix docs that recommened wrong function to use.
5959
5960 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5961
5962         * tools/gst-inspect.c: (print_plugin_features):
5963           Also give media-type for typefinders in element output.
5964
5965 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5966
5967         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5968         (gst_registry_remove_features_for_plugin_unlocked),
5969         (gst_registry_add_feature), (gst_registry_remove_feature),
5970         (gst_registry_lookup_feature_locked):
5971         * gst/gstregistry.h:
5972           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5973           Fixes #459501.
5974
5975 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5976
5977         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5978         (gst_plugin_feature_set_name):
5979           Avoid double memory usage for pluginfeature names. Fixes #459466.
5980
5981 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5982
5983         * gst/gstpad.h:
5984           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5985           driving the pipeline may need to explicitly check for NOT_LINKED as
5986           well, since IS_FATAL doesn't cover that.
5987
5988 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5989
5990         * docs/pwg/advanced-types.xml:
5991           Fix typo and duplicate entry in video formats list.
5992
5993 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5994
5995         * libs/gst/controller/gstinterpolation.c:
5996         Also round to the nearest int when using cubic interpolation.
5997
5998 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5999
6000         * libs/gst/controller/gstinterpolation.c:
6001         When linearly interpolating integer types, round to the nearest int
6002         by adding 0.5. Don't do it for float/double types.
6003         Fixes the failing controller test on my machine, which is somehow
6004         rounding differently than on the buildbots.
6005
6006 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
6007
6008         * tools/gst-plot-timeline.py:
6009           Better log parsing (categories can have -). Adjust text vs. lines, so
6010           that they span the same y-range.        
6011
6012 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
6013
6014         * docs/random/ensonic/audiobaseclasses.txt:
6015         * docs/random/ensonic/dynlink.txt:
6016         * docs/random/ensonic/profiling.txt:
6017           Save my thoughts.
6018
6019         * docs/random/moving-plugins:
6020           Add note to use g_assert type macros.
6021
6022 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
6023
6024         * configure.ac:
6025         * libs/gst/check/Makefile.am:
6026           Add libm check as we use in for plugins.
6027
6028 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
6029
6030         * gst/gstbin.c: (gst_bin_continue_func):
6031         Check that the state_cookie hasn't changed since the continue_func
6032         was scheduled. Avoids problems where the state changes back to
6033         something it shouldn't be because it was changed in the meantime.
6034
6035 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
6036
6037         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
6038         (gst_registry_binary_save_string),
6039         (gst_registry_binary_save_pad_template),
6040         (gst_registry_binary_save_feature),
6041         (gst_registry_binary_save_plugin),
6042         (gst_registry_binary_load_feature),
6043         (gst_registry_binary_load_plugin),
6044         (gst_registry_binary_read_cache):
6045           Fix memory leak. Be less verbose in the log.
6046
6047 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6048
6049         * tests/check/elements/.cvsignore:
6050         Add file to cvsignore as commanded.
6051
6052 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6053
6054         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6055         (mq_dummypad_event), (run_output_order_test):
6056         Use a GStaticMutex to protect all cases where libcheck
6057         fail_if/fail_unless macros might be called from multiple threads
6058         simultaneously to avoid errors like:
6059           "check_pack.c:107: :-1081725400:Bad message type arg"
6060
6061 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6062
6063         * tests/check/pipelines/stress.c: (GST_START_TEST):
6064         Make sure we set the pipeline back to the NULL state before
6065         dropping our final reference.
6066
6067 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6068
6069         * tests/check/elements/tee.c: (GST_START_TEST):
6070         Make the tee stress-test a little less stressful so it doesn't just
6071         time out on slow-machines, and remove a small race when it's starting 
6072         up by adding a get_state() call.
6073
6074 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
6075
6076         * gst/gst.c:
6077           Avoid reading registry twice on startup. Fixes #457322.
6078
6079 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
6080
6081         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6082         * pkgconfig/gstreamer-check.pc.in:
6083         Substitute the CFLAGS for libcheck into our .pc file too so that
6084         dependent modules will pick it up properly if libcheck is installed
6085         into some other prefix.
6086
6087 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
6088
6089         * configure.ac:
6090         Revert the pkg-config check for libcheck, since it pulls in the
6091         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
6092         a proper solution, either from the check project, or something else.
6093
6094 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
6095
6096         * configure.ac:
6097           Use pkg-config to locate check.
6098
6099 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
6100
6101         * gst/gsttaglist.c:
6102           Fix doc syntax.
6103
6104         * gst/gstutils.c:
6105         * gst/gstutils.h:
6106           Add deprecation guards.
6107
6108         * libs/gst/base/gstcollectpads.h:
6109           Don't document object (this is implicitly private).
6110
6111 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
6112
6113         * gst/gststructure.c: (gst_structure_parse_value):
6114           When deserialising foo=bar without a type cast, check if it's a
6115           boolean before falling back to a string type, otherwise things like
6116           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
6117           because the filtercaps end up having a signed=(string)true field,
6118           which causes problems later when intersection caps.
6119
6120         * tests/check/gst/gststructure.c: (GST_START_TEST):
6121           Add a unit test for this.
6122
6123 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
6124
6125         Reviewed by: Stefan Kost <ensonic@users.sf.net>
6126
6127         * libs/gst/controller/Makefile.am:
6128         * libs/gst/controller/gstcontroller.c:
6129         (gst_controlled_property_add_interpolation_control_source),
6130         (gst_controlled_property_new), (gst_controlled_property_free),
6131         (gst_controller_find_controlled_property),
6132         (gst_controller_new_valist), (gst_controller_new_list),
6133         (gst_controller_new), (gst_controller_remove_properties_valist),
6134         (gst_controller_remove_properties_list),
6135         (gst_controller_remove_properties),
6136         (gst_controller_set_property_disabled),
6137         (gst_controller_set_disabled), (gst_controller_set_control_source),
6138         (gst_controller_get_control_source), (gst_controller_get),
6139         (gst_controller_sync_values), (gst_controller_get_value_array),
6140         (_gst_controller_dispose), (gst_controller_get_type),
6141         (gst_controlled_property_set_interpolation_mode),
6142         (gst_controller_set), (gst_controller_set_from_list),
6143         (gst_controller_unset), (gst_controller_unset_all),
6144         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
6145         * libs/gst/controller/gstcontroller.h:
6146         * libs/gst/controller/gstcontrollerprivate.h:
6147         * libs/gst/controller/gstcontrolsource.c:
6148         (gst_control_source_class_init), (gst_control_source_init),
6149         (gst_control_source_get_value),
6150         (gst_control_source_get_value_array), (gst_control_source_bind):
6151         * libs/gst/controller/gstcontrolsource.h:
6152         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
6153         (gst_object_get_control_source):
6154         * libs/gst/controller/gstinterpolation.c:
6155         (gst_interpolation_control_source_find_control_point_node),
6156         (gst_interpolation_control_source_get_first_value),
6157         (_interpolate_none_get), (interpolate_none_get),
6158         (interpolate_none_get_boolean_value_array),
6159         (interpolate_none_get_enum_value_array),
6160         (interpolate_none_get_string_value_array),
6161         (_interpolate_trigger_get), (interpolate_trigger_get),
6162         (interpolate_trigger_get_boolean_value_array),
6163         (interpolate_trigger_get_enum_value_array),
6164         (interpolate_trigger_get_string_value_array):
6165         * libs/gst/controller/gstinterpolationcontrolsource.c:
6166         (gst_control_point_free), (gst_interpolation_control_source_reset),
6167         (gst_interpolation_control_source_new),
6168         (gst_interpolation_control_source_set_interpolation_mode),
6169         (gst_interpolation_control_source_bind),
6170         (gst_control_point_compare), (gst_control_point_find),
6171         (gst_interpolation_control_source_set_internal),
6172         (gst_interpolation_control_source_set),
6173         (gst_interpolation_control_source_set_from_list),
6174         (gst_interpolation_control_source_unset),
6175         (gst_interpolation_control_source_unset_all),
6176         (gst_interpolation_control_source_get_all),
6177         (gst_interpolation_control_source_get_count),
6178         (gst_interpolation_control_source_init),
6179         (gst_interpolation_control_source_finalize),
6180         (gst_interpolation_control_source_dispose),
6181         (gst_interpolation_control_source_class_init):
6182         * libs/gst/controller/gstinterpolationcontrolsource.h:
6183         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
6184         API: Refactor GstController into the core controller which can take
6185         a GstControlSource for providing actual values for timestamps.
6186         Implement a interpolation control source and use this for backward
6187         compatibility, deprecate a bunch of functions that are now handled
6188         by GstControlSource or GstInterpolationControlSource.
6189         Make it possible to disable the controller completely or only for
6190         specific properties. Fixes #450711.
6191         * docs/libs/gstreamer-libs-docs.sgml:
6192         * docs/libs/gstreamer-libs-sections.txt:
6193         * docs/libs/gstreamer-libs.types:
6194         Add new functions and classes to the docs.
6195         * tests/check/libs/controller.c: (GST_START_TEST),
6196         (gst_controller_suite):
6197         * tests/examples/controller/audio-example.c: (main):
6198         Port unit test and example to the new API and add some new
6199         unit tests.
6200
6201 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
6202
6203         Patch by: Mark Nauwelaerts <manauw at skynet be>
6204
6205         * plugins/elements/gstmultiqueue.c:
6206         (gst_multi_queue_get_internal_links), (apply_buffer),
6207         (single_queue_overrun_cb), (gst_single_queue_new):
6208         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
6209         the pipeline layout can be tracked correctly. Fixes #453732.
6210
6211 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
6212
6213         * docs/gst/Makefile.am:
6214         * docs/libs/Makefile.am:
6215         * docs/plugins/Makefile.am:
6216           Simplify --extra-dir as gtkdoc scans recursively.
6217
6218 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6219
6220         * tools/gst-launch.c: (main):
6221         When we got an error, there is no point in waiting for preroll when
6222         shutting down.
6223
6224 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6225
6226         * plugins/elements/gsttee.c: (gst_tee_base_init),
6227         (gst_tee_request_new_pad), (gst_tee_release_pad),
6228         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6229         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6230         (gst_tee_chain):
6231         Be a lot smarter when deciding what srcpad to use for proxying
6232         the buffer_alloc. Also handle pad added/removed when doing so.
6233         Fixes #357959.
6234         Keep track of what pads we already pushed on in case we have pads
6235         added/removed while pushing. Fixes #374639 
6236
6237         * tests/check/Makefile.am:
6238         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6239         (tee_suite):
6240         Added unit test for pad resync.
6241
6242 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6243
6244         * po/nl.po:
6245         * po/sv.po:
6246           Updated translations.
6247
6248 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6249
6250         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6251
6252         * po/LINGUAS:
6253         * po/fi.po:
6254           Added new Finnish translation.
6255
6256 2007-06-28  Wim Taymans  <wim@fluendo.com>
6257
6258         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6259         (single_queue_overrun_cb):
6260         When figuring out when a queue is filled, use our internal time estimate
6261         based on segments, just like check_full does.
6262
6263 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6264
6265         * gst/gstminiobject.c: (gst_mini_object_get_type):
6266           Remove 3 do-nothing methods.
6267
6268 2007-06-27  Wim Taymans  <wim@fluendo.com>
6269
6270         Patch by: Tim Angus <tim at ngus dot net>
6271
6272         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6273         (gst_capsfilter_set_property):
6274         Take a reference instead of a copy when setting "caps".
6275         Fix documentation to clarify this behaviour. Fixes #449414.
6276
6277 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6278
6279         * gst/gstindexfactory.c: (gst_index_factory_get_type):
6280         * gst/gstplugin.c: (gst_plugin_init):
6281         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6282         * gst/gstquery.c: (gst_query_get_type):
6283         * gst/gstregistry.c: (gst_registry_init):
6284         * gst/gsturi.c: (gst_uri_handler_base_init):
6285           Remove empty instance_init() functions to save relocs and lessen the
6286           noise. Remove some of the function prototypes that are doubled by
6287           G_DEFINE_TYPE.
6288           
6289 2007-06-27  Wim Taymans  <wim@fluendo.com>
6290
6291         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6292
6293         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6294         Add peer and direction in the XML serialisation of ghostpads.
6295         Fixes #449226.
6296
6297 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6298
6299         * configure.ac:
6300           Preserve useful information, thanks Tim.
6301
6302 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
6303
6304         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6305         (gst_single_queue_flush), (apply_segment), (apply_buffer),
6306         (gst_single_queue_push_one), (gst_multi_queue_loop),
6307         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6308         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6309         (compute_high_id), (gst_single_queue_new):
6310         * plugins/elements/gstmultiqueue.h:
6311         Take the multiqueue lock when updating the fill level so we don't get
6312         confused. 
6313
6314         After applying a buffer or event on the src pad segment, make sure to
6315         call gst_data_queue_limits_changed() to get the data queue to unblock
6316         and check the filled state again.
6317         
6318         Rework the not-linked pad handling so the logic is that not-linked 
6319         pads can push as fast as they like, but only so they never get 
6320         ahead of any linked pads.
6321
6322         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6323         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6324         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6325
6326         Add a test to check that not-linked pads always stay behind
6327         linked pads.
6328
6329         Fixes: #430682
6330
6331 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
6332
6333         * docs/random/release:
6334           Some updates to the release procedure.
6335
6336 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6337
6338         * gst/gstelementfactory.c: (__gst_element_details_clear):
6339           Microoptimization that saves stunning 80 bytes.
6340
6341 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
6342
6343         * docs/plugins/gstreamer-plugins.args:
6344         * docs/plugins/inspect/plugin-coreelements.xml:
6345         * docs/plugins/inspect/plugin-coreindexers.xml:
6346           Update docs with caps info.
6347
6348 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6349
6350         * po/it.po:
6351           Updated Italian translation.
6352
6353 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6354
6355         * ChangeLog:
6356         * po/vi.po:
6357           Update Vietnamese translations.
6358
6359 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6360
6361         * libs/gst/base/gstbasesink.c:
6362           Remove unused signal enum.
6363
6364 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6365
6366         * docs/gst/gstreamer-sections.txt:
6367         * gst/gstelement.c:
6368         * gst/gstutils.c: (gst_type_register_static_full):
6369         Beef up and include the docs for gst_type_register_static_full and
6370         gst_element_class_set_details_simple and add the API keyword
6371         in the ChangeLog.
6372
6373 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6374
6375         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6376         (update_time_level), (gst_single_queue_push_one),
6377         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6378         (single_queue_overrun_cb), (single_queue_underrun_cb),
6379         (single_queue_check_full):
6380         Fix setting max-* properties after adding queues.
6381         Use IS_FILLED for checking visible items.
6382         Signal overrun if multiple queues overrun.
6383         Add extra debug output.
6384         Patch by: Wim Taymans <wim@fluendo.com>
6385
6386 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
6387
6388         * gst/gstelement.c: (gst_element_class_set_details_simple):
6389         * gst/gstelement.h:
6390         * gst/gstutils.c: (gst_type_register_static_full):
6391         * gst/gstutils.h:
6392         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6393         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6394         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6395         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6396         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6397         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6398         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6399         * plugins/elements/gstidentity.c: (gst_identity_base_init):
6400         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6401         * plugins/elements/gstqueue.c: (gst_queue_base_init),
6402         (apply_buffer), (gst_queue_chain):
6403         * plugins/elements/gsttee.c: (gst_tee_base_init):
6404         * plugins/elements/gsttypefindelement.c:
6405         (gst_type_find_element_base_init),
6406         (gst_type_find_element_class_init):
6407           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6408           API: add gst_type_register_static_full
6409           API: add gst_element_class_set_details_simple
6410
6411 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6412
6413         * docs/pwg/advanced-types.xml:
6414           Fix typo in iana.org URI.
6415
6416 2007-06-19  Andy Wingo  <wingo@pobox.com>
6417
6418         * tests/check/pipelines/simple-launch-lines.c
6419         (test_state_change_returns): Enable pull-mode tests now that
6420         basesink has been fixed.
6421
6422         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6423         Changed from gst_base_sink_is_prerolled, reversing the sense of
6424         the return value. Returns FALSE also if the sink is in pull mode,
6425         in which case it needs no preroll.
6426         (gst_base_sink_query, gst_base_sink_change_state): Update for
6427         needs_preroll change.
6428         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6429         chaining up, in which we return SUCCESS directly if we activated
6430         in pull mode instead of ASYNC. Involves countering an async_start
6431         message sent before chaining up; not sure if this is correct, in
6432         an ideal world we only send async-start when activating in push
6433         mode.
6434
6435         * tests/check/pipelines/simple-launch-lines.c
6436         (test_state_change_returns): New test, partially disabled until
6437         basesink is fixed.
6438
6439 2007-06-19  Wim Taymans  <wim@fluendo.com>
6440
6441         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6442         (gst_multi_queue_sink_event):
6443         Fix event leak.
6444
6445 2007-06-19  Wim Taymans  <wim@fluendo.com>
6446
6447         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6448         (gst_bin_change_state_func), (bin_push_state_continue),
6449         (bin_handle_async_start), (bin_handle_async_done),
6450         (gst_bin_handle_message_func):
6451         Move the common code for posting state-change messages into
6452         one function.
6453         Broadcast the state signal after we posted the messages.
6454         Mark the bin as busy when it's doing a state-change.
6455         Make sure async-start/done messages don't interfere with the bin's
6456         state when it's busy.
6457         After the state change, let the bin check which elements completed the
6458         state change while it was busy so that it can update its state.
6459
6460 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
6461
6462         * docs/random/release:
6463         Add a note about updating the doap file to the release checklist
6464
6465 2007-06-18  Wim Taymans  <wim@fluendo.com>
6466
6467         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6468         (gst_single_queue_push_one), (gst_multi_queue_chain),
6469         (gst_multi_queue_sink_event):
6470         Make sure we don't reference the buffer/event after we have given away
6471         ownership in the queue.
6472
6473 2007-06-18  Wim Taymans  <wim@fluendo.com>
6474
6475         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6476         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6477         Update queue state _after_ adding the item in the queue because else we
6478         could end up being full without the element added yet.
6479
6480 2007-06-18  Wim Taymans  <wim@fluendo.com>
6481
6482         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6483         (gst_bin_remove_func), (gst_bin_get_state_func),
6484         (gst_bin_element_set_state), (gst_bin_continue_func),
6485         (bin_push_state_continue), (bin_handle_async_start),
6486         (bin_handle_async_done), (gst_bin_handle_message_func):
6487         * gst/gstbin.h:
6488         Immediatly commit the toplevel bin state when receiving an async-done
6489         message. This enables us to avoid spawning a thread to commit the state
6490         in some common cases and it also avoids some races.
6491         Avoid spawning a state thread when adding/removing async elements to a
6492         toplevel bin. Instead we immediatly update the bin state.
6493         Get rid of iterating all the children when getting the state in the bin
6494         because it is now always up-to-date.
6495         Fix bug where locked elements would always return _SUCCESS even it they
6496         returned NO_PREROLL before being locked.
6497         Fix the order of the state_change, async-start/done messages that was
6498         sometimes incorrect.
6499         Mark the state_dirty field as deprecated, we don't need it anymore as we
6500         are always up-to-date.
6501
6502         * gst/gstelement.c: (gst_element_get_state_func),
6503         (gst_element_continue_state):
6504         Small debug inprovements.
6505         Return the previous element state return when nothing is pending instead
6506         of blindly returning SUCCESS.
6507
6508         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6509         (gst_sinks_suite):
6510         Add a whole bunch of new testcases.
6511
6512 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6513
6514         * po/uk.po:
6515         * po/vi.po:
6516           Update translations.
6517
6518 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
6519
6520         * gst/gstpad.c:
6521         Fix typo in the docs.
6522
6523 2007-06-15  Wim Taymans  <wim@fluendo.com>
6524
6525         * docs/libs/gstreamer-libs-sections.txt:
6526         Add docs for new methods.
6527
6528 2007-06-15  Wim Taymans  <wim@fluendo.com>
6529
6530         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6531         (gst_multi_queue_item_new):
6532         Don't use GSlice because we don't depend on >= 2.10 yet.
6533
6534 2007-06-15  Wim Taymans  <wim@fluendo.com>
6535
6536         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6537         (update_time_level), (apply_segment), (apply_buffer),
6538         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6539         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6540         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6541         (single_queue_underrun_cb), (single_queue_check_full):
6542         Remove debug printf.
6543
6544 2007-06-15  Wim Taymans  <wim@fluendo.com>
6545
6546         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6547         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6548         (gst_data_queue_set_flushing), (gst_data_queue_push),
6549         (gst_data_queue_pop), (gst_data_queue_drop_head),
6550         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6551         * libs/gst/base/gstdataqueue.h:
6552         Various cleanups.
6553         Added methods to get the current levels and to inform the queue that the
6554         'full' limits changed.
6555
6556         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6557         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6558         (gst_single_queue_flush), (update_time_level), (apply_segment),
6559         (apply_buffer), (gst_single_queue_push_one),
6560         (gst_multi_queue_item_steal_object),
6561         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6562         (gst_multi_queue_loop), (gst_multi_queue_chain),
6563         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6564         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6565         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6566         (single_queue_underrun_cb), (single_queue_check_full),
6567         (gst_single_queue_new):
6568         Keep track of time in the queue by measuring the difference between
6569         running_time on input and output. This gives more accurate results and
6570         can compensate for segments correctly.
6571         Make a queue by default only 5 buffers deep. We will now increase the
6572         buffer size depending on the filledness of the other queues.
6573         Factor out commong flush code.
6574         Make sure we don't add additional refcounts to buffers when we can avoid
6575         it.
6576         Propagate GstFlowReturn differently.
6577         Use GSlice for intermediate GstMultiQueueItems.
6578         Keep track of EOS.
6579         Resize queues on over and underruns based on filled level of other
6580         queues.
6581         When checking if the queue is filled, prefer to measure in time if we
6582         can and fall back to bytes when no time is known.
6583
6584         * plugins/elements/gstqueue.c:
6585         Fix return value.
6586
6587 2007-06-15  Wim Taymans  <wim@fluendo.com>
6588
6589         * libs/gst/base/gstbasetransform.c:
6590         (gst_base_transform_sink_event):
6591         Work around the brokenness of the event vmethod in basetransform. Prefer
6592         to return TRUE when the subclass returned FALSE (meaning don't forward
6593         the event). 
6594
6595         * libs/gst/base/gstbasetransform.h:
6596         Clarify the docs.
6597
6598 2007-06-15  Wim Taymans  <wim@fluendo.com>
6599
6600         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6601         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6602         (gst_base_src_default_query), (gst_base_src_get_range),
6603         (gst_base_src_start):
6604         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6605         Improve debugging.
6606
6607 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6608
6609         * docs/pwg/advanced-types.xml:
6610           Added more formats to caps table.
6611
6612 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6613
6614         * tools/gst-launch.c: (main):
6615           Remove crufy code. GOption does not need this workaround.
6616
6617 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6618
6619         * libs/gst/controller/gstcontroller.c:
6620         (gst_controlled_property_set_interpolation_mode):
6621           Fix wrong getter for enums in controller.
6622
6623 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6624
6625         * libs/gst/check/gstcheck.c: (gst_check_init):
6626           Intercept criticals and warnings in the Gst-Phonon log domain, so
6627           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6628           well.
6629         
6630 2007-06-14  Edward Hervey  <edward@fluendo.com>
6631
6632         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6633         Since this file doesn't include "gst.h" it will not go through the
6634         macros that disable GST_LOG if debugging was disabled.
6635
6636 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6637
6638         * libs/gst/check/Makefile.am:
6639         * libs/gst/check/gstcheck.h:
6640         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6641         * pkgconfig/gstreamer-check.pc.in:
6642           Ugly 'fix' for the controller unit test on the p5 bot: in
6643           fail_unless_equals_float() check whether the values are 'almost
6644           equal' by allowing a small absolute error, which should be good
6645           enough for our use cases (normal numbers and values close to 0).
6646           Proper fixage left to floating point arithmetic aficionados.
6647
6648 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6649
6650         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6651         (gst_base_sink_render_object), (gst_base_sink_get_position):
6652           Add two breaks thats where missing.
6653
6654 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6655
6656         * docs/libs/gstreamer-libs-sections.txt:
6657         * libs/gst/check/gstcheck.h:
6658           API: add fail_unless_equals_float() and assert_equals_float().
6659           Add documentation for some of the macros.
6660
6661         * tests/check/libs/controller.c: (GST_START_TEST):
6662           Use newly-added asserts.
6663
6664 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6665
6666         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6667           Show the caps change in the log to help spotting the case of not
6668           exactly matching caps.
6669
6670 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6671
6672         * docs/pwg/building-boiler.xml:
6673           Fix typos, spotted by Thijs Vermeir (#447190).
6674
6675 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6676
6677         * docs/plugins/tmpl/.cvsignore:
6678         Ignore file to keep the buildbots happy
6679
6680 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6681
6682         * docs/plugins/Makefile.am:
6683         * docs/plugins/gstreamer-plugins-docs.sgml:
6684         * docs/plugins/gstreamer-plugins-sections.txt:
6685         Pull fdsink into the docs too.
6686
6687 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6688
6689         * libs/gst/controller/gstinterpolation.c:
6690         Actually use the new functions with min/max checks for the trigger and
6691         none interpolation modes for get() and get_value_array() instead of
6692         just the latter.
6693
6694 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6695
6696         * libs/gst/controller/gstcontroller.c:
6697         (gst_controlled_property_free):
6698         Unset the minimum and maximum GValues when freeing the corresponding
6699         GstControllerProperty struct.
6700
6701 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6702
6703         * libs/gst/controller/gstcontroller.c:
6704         (gst_controlled_property_new):
6705         * libs/gst/controller/gstcontrollerprivate.h:
6706         * libs/gst/controller/gstinterpolation.c:
6707         (gst_controlled_property_find_control_point_node),
6708         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6709         (interpolate_none_get_string_value_array),
6710         (interpolate_trigger_get),
6711         (interpolate_trigger_get_enum_value_array),
6712         (interpolate_trigger_get_string_value_array):
6713         Protect against values larger or smaller than the minimum or maximum
6714         allowed value for the property when using values that can be compared.
6715
6716         Optimize trigger interpolator a bit by taking the last requested value
6717         into account instead of always looping through the complete list.
6718
6719         Fix coding style a bit, everywhere else we use "return foo" instead
6720         of "return (foo)".
6721         
6722         * tests/check/libs/controller.c: (GST_START_TEST),
6723         (gst_controller_suite):
6724         Add unit test for the protection against too large or too small
6725         values.
6726
6727 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6728
6729         * docs/random/slomo/controller.txt:
6730         Add some thoughts about the future of the controller.
6731
6732 2007-06-08  Wim Taymans  <wim@fluendo.com>
6733
6734         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6735         Don't overflow in retimestamping code.
6736
6737 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6738
6739         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6740         Use gst_util_guint64_to_gdouble for conversions.
6741         * win32/common/libgstreamer.def:
6742         Add new exported functions.
6743
6744 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6745
6746         * gst/gstutils.c:
6747           Small docs addition.
6748
6749 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6750
6751         * README:
6752           Remove that test line again.
6753
6754 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6755
6756         * README:
6757           Test commit mail sending.
6758
6759 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6760
6761         * configure.ac:
6762           Fix typo and test commit mail sending.
6763
6764 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6765
6766         * tests/examples/controller/audio-example.c:
6767           Improve comment and test commit mail sending.
6768
6769 2007-06-07  Wim Taymans  <wim@fluendo.com>
6770
6771         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6772         (gst_bin_remove_func), (gst_bin_element_set_state),
6773         (bin_handle_async_start), (bin_handle_async_done),
6774         (gst_bin_handle_message_func):
6775         Add helper function to find messages.
6776         Generate the async-done messages together with the state change
6777         messages.
6778         Small cleanups in handling toplevel bins.
6779
6780 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6781
6782         * libs/gst/base/gstdataqueue.c:
6783         * libs/gst/base/gstdataqueue.h:
6784         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6785         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6786         (gst_multi_queue_sink_event):
6787         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6788           Fix multiqueue leaking buffers and events when downstream or the
6789           queue are flushing. Make refcounting assumptions explicit and
6790           document them (shouldn't break existing code that uses it other than
6791           maybe leak miniobjects, but that already happens anyway). Add unit
6792           test for the most common flushing case. Fixes #423700.
6793           
6794 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6795
6796         * libs/gst/controller/gstcontroller.c:
6797         Clarify docs: The get_all, get_value_array(s) functions
6798         don't modify the GObject properties.
6799
6800 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6801
6802         * libs/gst/controller/gstcontroller.c:
6803         (gst_controlled_property_set_interpolation_mode),
6804         (gst_controlled_property_prepend_default),
6805         (gst_controlled_property_new), (gst_controller_set_unlocked),
6806         (gst_controller_set), (gst_controller_set_from_list),
6807         (gst_controller_unset), (gst_controller_unset_all):
6808         * libs/gst/controller/gstcontrollerprivate.h:
6809         * libs/gst/controller/gstinterpolation.c:
6810         Factor out the 'set' logic into gst_controller_set_unlocked for the
6811         gst_controller_set and gst_controller_set_from_list functions.
6812
6813         To make life of the interpolators easier always add a control point
6814         at timestamp zero with the default value.
6815
6816         In the linear interpolator make things more obvious by better variable
6817         naming (slope).
6818
6819         Implement cubic interpolation mode (by using a natural cubic spline)
6820         and map the quadratic interpolation mode to this too (as quadratic
6821         doesn't make much sense, see discussion on the list).
6822
6823         * tests/check/libs/controller.c: (GST_START_TEST),
6824         (gst_controller_suite):
6825         Add unit test for the cubic interpolation mode and check everywhere
6826         if the interpolation mode could be set as expected.
6827
6828 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6829
6830         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6831           Don't use GLib-2.10 functions, we still depend on
6832           GLib-how-old-is-it-again-2.8.
6833
6834 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6835
6836         * docs/gst/gstreamer-sections.txt:
6837         * gst/Makefile.am:
6838         * gst/gst.c:
6839         * gst/gst.h:
6840         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6841         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6842         (_gst_param_fraction_values_cmp),
6843         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6844         * gst/gstparamspecs.h:
6845         * gst/gstvalue.c:
6846         * tests/check/Makefile.am:
6847         * tests/check/gst/.cvsignore:
6848         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6849         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6850         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6851         (GST_START_TEST), (gst_param_spec_suite):
6852           API: add GstParamSpecFraction, so elements can have fraction
6853           properties without lots of painful string parsing (#444648).
6854
6855 2007-06-05  Wim Taymans  <wim@fluendo.com>
6856
6857         * gst/gstobject.c: (gst_object_class_init):
6858         Fix signal signature.
6859
6860         * gst/gstsegment.c:
6861         Add small clarification in the api docs.
6862
6863         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6864         States are protected with object lock.
6865
6866 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6867
6868         * AUTHORS:
6869         I should probably be listed as an author by now.
6870
6871         * docs/random/release:
6872         Update the release doc
6873
6874 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6875
6876         * gst/gstvalue.c:
6877           Make docs for gst_value_compare() mention return enums that
6878           actually exist.
6879
6880 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6881
6882         * configure.ac:
6883           Back to CVS
6884
6885 === release 0.10.13 ===
6886
6887 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6888
6889         * configure.ac:
6890           releasing 0.10.13, "With or without you"
6891
6892 2007-05-25  Wim Taymans  <wim@fluendo.com>
6893
6894         * gst/gstbin.c: (bin_handle_async_done):
6895         Make sure that the child bin stops after completing the async state
6896         change so that the parent can continue the state change to PLAYING.
6897         Fixes #441159.
6898
6899 2007-05-25  Wim Taymans  <wim@fluendo.com>
6900
6901         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6902         (unref_data), (gst_collect_pads_remove_pad),
6903         (gst_collect_pads_check_pads):
6904         Use additional refcounting to avoid crashes when dynamically adding and
6905         removing pads. Fixes #420206.
6906
6907 2007-05-24  Wim Taymans  <wim@fluendo.com>
6908
6909         * tools/gst-launch.c: (event_loop):
6910         When buffering goes from a two digit to a single digit number, make sure
6911         to remove the old second digit by writing a blank over it.
6912
6913 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6914
6915         * libs/gst/base/gstdataqueue.c:
6916           Eliminate tabs and trailing comma in enum list; fix some typos.
6917
6918 2007-05-24  Wim Taymans  <wim@fluendo.com>
6919
6920         * tests/check/gst/gstbin.c: (GST_START_TEST):
6921         Allow refcount of 3 and 4 because some state thread might still be busy
6922         with it.
6923
6924 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6925
6926         * plugins/elements/Makefile.am:
6927         * plugins/elements/gstmultiqueue.h:
6928         * plugins/elements/gstqueue.h:
6929           These are not installed headers, no need for padding.
6930
6931 2007-05-24  Wim Taymans  <wim@fluendo.com>
6932
6933         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6934         (gst_bin_continue_func):
6935         Enable latency for next release.
6936         Restore STATE_LOCK around recalc_state that was left out during the
6937         rewrite and could result in racy behaviour when _get_state and
6938         recalc_state are run concurrently. See #440463.
6939
6940 2007-05-23  Wim Taymans  <wim@fluendo.com>
6941
6942         * tests/check/gst/gstsystemclock.c: (store_callback),
6943         (GST_START_TEST):
6944         Improve test_async_order to also work when both timers are already
6945         expired when we get scheduled to check it.
6946
6947 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6948
6949         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6950         (gst_bin_set_property), (gst_bin_get_property),
6951         (gst_bin_remove_func), (gst_bin_handle_message_func):
6952         * gst/gstbin.h:
6953           'private' is a c++ keyword, let's not use that in header files,
6954           otherwise c++ compilers will throw a tantrum.
6955
6956 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6957
6958         * plugins/elements/gstelements.c:
6959         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6960         (gst_file_sink_get_current_offset):
6961         * plugins/indexers/gstindexers.c: (plugin_init):
6962           Use #ifdef for HAVE_XYZ for consistency.
6963
6964         * tests/check/Makefile.am:
6965         * tests/check/elements/.cvsignore:
6966         * tests/check/elements/filesink.c: (setup_filesink),
6967         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6968           Add some unit tests for filesink.
6969
6970 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6971
6972         Patch by: Mark Nauwelaerts <manauw at skynet be>
6973
6974         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6975         (gst_file_sink_query), (gst_file_sink_do_seek),
6976         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6977         * plugins/elements/gstfilesink.h:
6978           Fix position reporting; rename data_written member to current_pos to
6979           reflect its real meaning (fixes #412648).
6980
6981 2007-05-22  Edward Hervey  <edward@fluendo.com>
6982
6983         * docs/gst/gstreamer-sections.txt:
6984         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6985         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6986         (gst_bin_remove_func), (gst_bin_handle_message_func):
6987         * gst/gstbin.h:
6988         Add a property for bins that handle the state change of their childs.
6989         Fixes #435880
6990
6991 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6992
6993         * libs/gst/controller/gstinterpolation.c:
6994         Use an array of the correct type when using _get_value_array with
6995         linear interpolation.
6996
6997 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6998
6999         * gst/gstelement.c (gst_element_requires_clock,
7000           gst_element_provides_clock, gst_element_request_pad,
7001           gst_element_class_set_details, gst_element_class_set_details_simple,
7002           gst_element_default_send_event, gst_element_abort_state,
7003           gst_element_continue_state, gst_element_set_state,
7004           gst_element_set_state_func, iterator_activate_fold_with_resync):
7005         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
7006           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
7007           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
7008           gst_pad_get_range, gst_pad_pull_range):
7009         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
7010           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
7011           GstPadActivateModeFunction, GstPadChainFunction,
7012           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
7013           GstPadFixateCapsFunction, GstPadTemplate):
7014         * gst/gstpipeline.c (gst_pipeline_change_state,
7015           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
7016           gst_pipeline_set_clock, gst_pipeline_auto_clock,
7017           gst_pipeline_get_delay):
7018           Whitespace and docs fixes.
7019
7020 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
7021
7022         * libs/gst/controller/gstinterpolation.c:
7023         (interpolate_trigger_get_enum_value_array),
7024         (interpolate_trigger_get_string_value_array):
7025         Add support for retrieving value arrays when using the trigger
7026         interpolation mode. 
7027
7028 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
7029
7030         * libs/gst/controller/gstcontroller.c:
7031         (gst_controller_get_value_array):
7032         * libs/gst/controller/gstcontroller.h:
7033         Clarify the docs of gst_controller_get_value_array(): The array where
7034         the values should be written to must be allocated as there seems to be
7035         no way to get the size of a random GType. This doesn't change any
7036         behaviour. Also fix some typos all over the place and remove an unused,
7037         commented function that is not necessary as g_object_set() could be
7038         used instead.
7039         * tests/check/libs/controller.c: (GST_START_TEST),
7040         (gst_controller_suite):
7041         Add unit test for gst_controller_get_value_array().
7042
7043 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
7044
7045         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7046
7047         Disable part of the gst_buffer_try_new_and_alloc test, because
7048         it can happily succeed on 64-bit systems where there's more address
7049         space available.
7050
7051 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
7052
7053         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7054         Add unit test for the improved caps checking from bug #421543.
7055
7056 2007-05-21  Wim Taymans  <wim@fluendo.com>
7057
7058         * docs/design/part-synchronisation.txt:
7059         Small addition.
7060
7061         * gst/gstbin.c: (gst_bin_query):
7062         * plugins/elements/gstqueue.c: (apply_segment):
7063         Improve debugging.
7064
7065         * gst/gstmessage.h:
7066         Improve docs.
7067
7068 2007-05-21  Wim Taymans  <wim@fluendo.com>
7069
7070         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7071         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
7072         (gst_pad_configure_src):
7073         Added simple version of improved caps checking. It was previously
7074         assumed that a setcaps function would check the validity of the caps but
7075         people prefer us to check caps against the template automatically. 
7076         Fixes #421543.
7077
7078 2007-05-21  Wim Taymans  <wim@fluendo.com>
7079
7080         * libs/gst/base/gstbasetransform.h:
7081         Fix macro for locking/unlocking the transform lock.
7082
7083 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7084
7085         * docs/plugins/tmpl/.cvsignore:
7086           Ignore more.
7087
7088 2007-05-18  Edward Hervey  <edward@fluendo.com>
7089
7090         * plugins/elements/gstqueue.c: (gst_queue_loop):
7091         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
7092         for the subtle art of warning a potentially blocking thread that it
7093         should check the source pad return value, and relay the information
7094         upstream.
7095
7096 2007-05-18  Edward Hervey  <edward@fluendo.com>
7097
7098         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7099         Release the queue lock !
7100
7101 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7102
7103         * docs/libs/gstreamer-libs-sections.txt:
7104         Add the two new controller functions to the appropiate places.
7105
7106 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7107
7108         reviewed by: Stefan Kost <ensonic@users.sf.net>
7109
7110         * libs/gst/controller/gstcontroller.c:
7111         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
7112         (_gst_controller_get_property), (_gst_controller_set_property),
7113         (_gst_controller_init), (_gst_controller_class_init):
7114         * libs/gst/controller/gstcontroller.h:
7115         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
7116         (gst_object_get_control_rate), (gst_object_set_control_rate):
7117         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
7118         Add API that provides sync suggestion timestamps for elements that
7119         call gst_object_sync_values() from which those elements can subdivide
7120         their processing loop to get the best results for the controlled
7121         properties. For now it just suggests last_sync + control_rate as
7122         new timestamp but this will be improved in the future.
7123
7124         While doing that change the control-rate property to a GstClockTime
7125         from guint and change it's meaning from samples to nanoseconds as
7126         the GstController doesn't know anything about sampling rate. Strictly
7127         speaking this breaks ABI but as the control-rate property didn't do
7128         anything in the past and as such couldn't be used this should be no
7129         problem.        
7130
7131 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7132
7133         reviewed by: Stefan Kost <ensonic@users.sf.net>
7134
7135         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7136         (gst_controller_unset_all):
7137         * libs/gst/controller/gstcontrollerprivate.h:
7138         * libs/gst/controller/gstinterpolation.c:
7139         (gst_controlled_property_find_control_point_node):
7140         Save last synced value from the list to continue searching from there
7141         in future syncs. This speeds everything up a bit.
7142         
7143 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7144
7145         reviewed by: Stefan Kost <ensonic@users.sf.net>
7146
7147         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
7148         (gst_control_point_find), (gst_controlled_property_new),
7149         (gst_control_point_free), (gst_controlled_property_free),
7150         (gst_controller_set), (gst_controller_set_from_list),
7151         (gst_controller_unset), (gst_controller_unset_all),
7152         (gst_controller_sync_values):
7153         * libs/gst/controller/gstcontroller.h:
7154         * libs/gst/controller/gstcontrollerprivate.h:
7155         * libs/gst/controller/gstinterpolation.c:
7156         (gst_controlled_property_find_control_point_node),
7157         (interpolate_none_get), (interpolate_trigger_get):
7158         Add a new private GstControlPoint struct which "inherits" from
7159         GstTimedValue to allow different interpolators to store internal
7160         values next to each control point. From the outside everything is
7161         still a GstControlPoint so we don't loose binary compatibility.
7162         Also fixup all the GValue handling to not leak GValues or list nodes.
7163         * tests/check/libs/controller.c: (GST_START_TEST):
7164         Free the list nodes and GValues in the controller_misc test.
7165
7166 2007-05-17  Edward Hervey  <edward@fluendo.com>
7167
7168         * gst/gstsegment.c:
7169         Small doc fix.
7170
7171 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
7172
7173         * gst/gstplugin.c: (gst_plugin_load_file):
7174           If we fail to load a plugin because of unresolved symbols or missing
7175           libraries and spew a warning to stderr, we may just as well mention
7176           which plugin it was that failed to load.
7177
7178 2007-05-13  David Schleef  <ds@schleef.org>
7179
7180         * docs/Makefile.am: the gtk-doc makefile snippet correctly
7181           handles the case when ENABLE_GTK_DOC is false, and installs
7182           the prebuilt documentation.  So gtk-doc subdirs are 
7183           unconditionally enabled.  Fixes: #349099.
7184
7185 2007-05-13  David Schleef  <ds@schleef.org>
7186
7187         * gst/gstutils.h: Reword some documentation.
7188
7189 2007-05-12  David Schleef  <ds@schleef.org>
7190
7191         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
7192           do anything with the passed "module" parameter, so remove it.
7193           Allows removal of additional vestigal code.
7194
7195 2007-05-12  David Schleef  <ds@schleef.org>
7196
7197         * gst/gstplugin.c:
7198           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
7199           Switch to using g_stat() because it's more portable.
7200
7201 2007-05-12  David Schleef  <ds@schleef.org>
7202
7203         * gst/gst.c:
7204           Add GST_DISABLE_OPTION_PARSING, in order to disable option
7205           parsing for embedded systems.
7206         * gst/gstelementfactory.c:
7207           Allow gst_element_register() to be called with plugin==NULL.
7208           Did nobody notice that static elements were broken?
7209
7210 2007-05-12  Wim Taymans  <wim@fluendo.com>
7211
7212         * tools/gst-launch.c: (event_loop):
7213         Give more interesting info when buffering starts and stops.
7214         Fix case where buffering starts but we fail to update the buffering flag
7215         because the target state is not PLAYING.
7216
7217 2007-05-12  Wim Taymans  <wim@fluendo.com>
7218
7219         * plugins/elements/gstqueue.c: (gst_queue_init),
7220         (gst_queue_finalize), (update_time_level), (apply_segment),
7221         (apply_buffer), (gst_queue_locked_flush),
7222         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
7223         (gst_queue_handle_sink_event), (gst_queue_chain),
7224         (gst_queue_push_one), (gst_queue_loop):
7225         * plugins/elements/gstqueue.h:
7226         Refactor an cleanup queue a bit.
7227         Do better time level calculations that also work when the srcpad is not
7228         yet running.
7229         Remove some unneeded debug lines.
7230
7231         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7232         Added testcase for time level measurement.
7233         Try to make some stuff more racefree.
7234
7235 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7236
7237         * gst/gsturi.c: (gst_element_make_from_uri):
7238           Don't leak plugin feature.
7239
7240         * tests/check/Makefile.am:
7241         * tests/check/gst/.cvsignore:
7242         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7243           Add brain-dead unit test.
7244
7245 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7246
7247         Patch by: Jeroen Wouters <woutersj at gmail com>
7248
7249         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7250           Treat protocol strings in a case-insensitive way (#437563).
7251
7252 2007-05-11  Michael Smith <msmith@fluendo.com>
7253
7254         * gst/gstplugin.c: (gst_plugin_load_file):
7255         * gst/gstregistry.c: (gst_registry_scan_path_level):
7256           Don't print a g_warning for any failure to load a shared object.
7257           Instead, push this down into gstplugin.c, and warn _only_ if we
7258           failed to open the module (i.e. failure to link).
7259           Avoids warnings on normal, working, non-plugin .so files.
7260
7261 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
7262
7263         * gst/gstplugin.c (gst_plugin_load_file):
7264         * gst/gstregistry.c (GST_CAT_DEFAULT,
7265           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7266           Print a g_warning if there was an error when loading a plugins during
7267           registry scan. The shuld help beginners starting with gst-plugin
7268           template.
7269
7270 2007-05-10  Wim Taymans  <wim@fluendo.com>
7271
7272         * plugins/elements/gstqueue.c: (gst_queue_class_init),
7273         (update_time_level), (gst_queue_locked_flush),
7274         (gst_queue_handle_sink_event), (gst_queue_chain),
7275         (gst_queue_push_one), (gst_queue_loop):
7276         * plugins/elements/gstqueue.h:
7277         Be smarter when calculating the current amount of data in the queue by
7278         measuring the difference between start and end timestamps (in running
7279         time) inside the queue. Fixes #432876.
7280         API: GstQueue::pushing to notify elements that we are pushing data again
7281         since the running signal is rather broken for this purpose.
7282
7283 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
7284
7285         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7286           gst_queue_base_init, gst_queue_init):
7287           use GST_BOILERPLATE
7288
7289 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
7290
7291         * win32/common/libgstreamer.def:
7292         Add new exported functions.
7293         * win32/vs6/grammar.dsp:
7294         Use grammar pre-generated files.
7295
7296 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7297
7298         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
7299
7300         * gst/Makefile.am:
7301         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7302         * gst/gstparse.h:
7303         * gst/gstutils.c: (gst_parse_bin_from_description):
7304         * gst/gstutils.h:
7305           Maintain API and ABI when --disable-parse is used. Now that
7306           we have an appropriate error code, we can just return NULL and the
7307           appropriate error when gst_parse_launch() is used despite it having
7308           been disabled (#342564).
7309
7310         * tests/check/Makefile.am:
7311         * tests/check/pipelines/.cvsignore:
7312         * tests/check/pipelines/parse-disabled.c:
7313           Make sure these functions exist and return NULL plus a GError when
7314           --disable-parse is used.
7315
7316 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7317
7318         * tests/benchmarks/complexity.c: (main):
7319         * tests/benchmarks/mass-elements.c: (main):
7320           Set a good example and don't leak messages.
7321
7322 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
7323
7324         * docs/gst/Makefile.am:
7325         * docs/libs/Makefile.am:
7326           Correct fixxrefs options.
7327
7328         * docs/plugins/Makefile.am:
7329         * docs/plugins/gstreamer-plugins-docs.sgml:
7330         * docs/plugins/gstreamer-plugins-sections.txt:
7331         * plugins/elements/Makefile.am:
7332         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7333         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7334           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7335           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7336           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7337           _GstCapsFilterClass, trans_class):
7338         * plugins/elements/gstelements.c (name, rank, type, _elements):
7339         * plugins/elements/gstidentity.c
7340           (gst_identity_check_imperfect_timestamp,
7341           gst_identity_check_imperfect_offset):
7342           Document capsfilter and add doc-blurb to identity.
7343
7344 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
7345
7346         * libs/gst/controller/gstcontroller.c:
7347         (gst_controlled_property_set_interpolation_mode):
7348         * libs/gst/controller/gstinterpolation.c:
7349           Don't crash if someone tries to set an interpolation mode that
7350           is invalid or that isn't supported yet. Fixes #422295.
7351
7352         * tests/check/libs/controller.c: (GST_START_TEST),
7353         (gst_controller_suite):
7354           Add a test case for the above.
7355
7356 2007-05-03  Edward Hervey  <edward@fluendo.com>
7357
7358         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7359         Properly set the last_stop position on GstSegment. This will only happen
7360         if there is a buffer to push out.
7361
7362 2007-05-03  Wim Taymans  <wim@fluendo.com>
7363
7364         * libs/gst/base/gstbasetransform.c:
7365         (gst_base_transform_buffer_alloc):
7366         always_in_place does not mean that the sink and source caps are the
7367         same! Make sure we don't blindly proxy the buffer_alloc in this case.
7368
7369 2007-05-03  Wim Taymans  <wim@fluendo.com>
7370
7371         * docs/libs/gstreamer-libs-sections.txt:
7372         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7373         (gst_base_src_default_query), (gst_base_src_get_range):
7374         * libs/gst/base/gstbasesrc.h:
7375         API: gst_base_src_query_latency(). Added method so that subclasses can
7376         easily get the latency values of the base source class.
7377
7378 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
7379
7380         * tools/gst-inspect.c (print_implementation_info):
7381         Remove 0.8 cruft.
7382
7383 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
7384
7385         * tools/Makefile.am:
7386         * tools/gst-launch.1.in:
7387           Don't create a customised man page based on the host architecture,
7388           describe the default registry path generically. That way the man
7389           page is the same for all architectures and packagers have one
7390           multilib issue less to deal with. Fixes #434926.
7391
7392 2007-05-02  Wim Taymans  <wim@fluendo.com>
7393
7394         * gst/gstpad.c:
7395         Fix documentation as spotted by rg on IRC. 
7396
7397 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
7398
7399         * gst/gstutils.c:
7400           Improve docs for gst_element_{link,unlink}.
7401
7402 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
7403
7404         * docs/design/part-events.txt:
7405         * docs/design/part-overview.txt:
7406         * gst/gstevent.c:
7407         * gst/gsturi.c:
7408         * gst/gsturi.h:
7409         * libs/gst/base/gstbasesink.c:
7410           Typo fixes; minor docs addition.
7411
7412 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7413
7414         * docs/gst/gstreamer-sections.txt:
7415         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7416         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7417         * gst/gsturi.h:
7418         API: Add gst_uri_protocol_is_supported(), which checks if a sink
7419         or src that supports a given URI protocol exists.
7420
7421 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7422
7423         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7424         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7425         Set the location to NULL if "file://" is set as URI. Otherwise
7426         some random previous URI would still be set if "file://" is
7427         set on an already used filesink/filesrc.
7428
7429 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7430
7431         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7432         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7433         Special case the "file://" URI as as this is used by some
7434         applications to test with gst_element_make_from_uri if there's
7435         an element that supports the URI protocol.
7436         Also move the g_path_is_absolute() check for the location part
7437         of the URI to also check this for "file://localhost/bla" URIs.
7438
7439 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
7440
7441         * docs/gst/gstreamer-sections.txt:
7442         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7443         * gst/gstbuffer.h:
7444         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7445         (gst_buffer_suite):
7446           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7447
7448 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
7449
7450         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7451         (gst_registry_binary_load_pad_template),
7452         (gst_registry_binary_load_plugin),
7453         (gst_registry_binary_read_cache):
7454         * gst/gstregistrybinary.h:
7455           Implement no-mmap alternative for registry reading. Do code cleanups.
7456           Add more comments about avoiding strdups for all text data. Comments
7457           welcome.
7458
7459 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7460
7461         * gst/gstregistrybinary.h (GstBinaryPluginElement,
7462           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7463           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7464           Comment structs and reformat to fix the build (that stuff should go
7465           into a priv. header).
7466
7467 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7468
7469         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7470         (gst_registry_binary_load_feature):
7471         * gst/gstregistrybinary.h:
7472           Refactor so that we can implement multiple features. Add support for
7473           TypeFindFactory features.
7474
7475 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
7476
7477         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7478
7479         * configure.ac:
7480           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7481
7482 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
7483
7484         * gst/gstbin.c: (gst_bin_element_set_state),
7485         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7486         (bin_handle_async_done), (gst_bin_handle_message_func):
7487           Fix build with --gst-disable-gst-debug
7488
7489 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
7490
7491         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7492           Make sure streaming has finished before calling the ::stop() vfunc,
7493           since that vfunc might clear state which is being used in the
7494           streaming thread. This fixes a race that caused crashes in
7495           audioresample when shutting down a pipeline (#420106).
7496
7497 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7498
7499         * docs/gst/gstreamer-sections.txt:
7500           That was one byte missing.
7501
7502 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7503
7504         * configure.ac:
7505         * docs/gst/gstreamer-sections.txt:
7506         * gst/Makefile.am:
7507         * gst/gstconfig.h.in:
7508         * gst/gstobject.c: (gst_object_class_init),
7509         (gst_signal_object_class_init):
7510         * gst/gstobject.h:
7511           2nd attempt to have a xml-less build as a joined effort of #413123
7512           and #421480.
7513
7514 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7515
7516         * docs/design/draft-tagreading.txt:
7517           Added open issues/thoughts to draft.
7518
7519 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7520
7521         * gst/parse/grammar.tab.pre.c:
7522         * gst/parse/grammar.tab.pre.h:
7523         * gst/parse/lex._gst_parse_yy.pre.c:
7524         Update the prebuild parser sources.
7525
7526 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7527
7528         * gst/parse/Makefile.am:
7529         And now fix the building of the flex sources. Now everything should
7530         work as expected.
7531
7532 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7533
7534         * gst/parse/Makefile.am:
7535         Now hopefully fix the build failures by setting proper rule
7536         dependencies and moving instead of copying.
7537
7538 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7539
7540         * tests/benchmarks/complexity.gnuplot:
7541         * tests/benchmarks/complexity.scm:
7542         * tests/benchmarks/mass-elements.gnuplot:
7543         * tests/benchmarks/mass-elements.scm:
7544           Total licensification.
7545
7546 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7547
7548         * gst/parse/Makefile.am:
7549           Fix the build by correcting the rule that gave wrong files to flex.
7550
7551 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7552
7553         * tests/benchmarks/complexity.c:
7554         * tests/benchmarks/mass-elements.c:
7555           Change licence to LGPL as granted by Benjamin and Andy.
7556
7557 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7558
7559         * gst/parse/Makefile.am:
7560         Add correct grammar.tab.h dependency if compiling without new enough
7561         flex. Fixes #431150.
7562
7563 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7564
7565         * gst/parse/Makefile.am:
7566         Fix typo and use outdated sources if the flex/bison sources are newer
7567         than the pregenerated ones but flex is too old. Print a warning in
7568         that case. This should fix the build on the build bot.
7569
7570 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7571
7572         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7573         * gst/parse/Makefile.am:
7574         * gst/parse/grammar.y:
7575         * gst/parse/parse.l:
7576         Make the parser reentrant and recursively callable. This requires flex
7577         >= 2.5.31, for older versions pregenerated sources are used as we
7578         can't bump the build dependency. Finally fixes #349180.
7579
7580         * gst/gstparse.c: (gst_parse_launch):
7581         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7582         now anyway.
7583
7584         * docs/gst/Makefile.am:
7585         * docs/gst/Makefile.am:
7586         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7587         (__gst_parse_strfree), (__gst_parse_link_new),
7588         (__gst_parse_link_free), (__gst_parse_chain_new),
7589         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7590         (gst_parse_element_set), (gst_parse_free_link),
7591         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7592         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7593         (_gst_parse_launch):
7594         * gst/parse/grammar.tab.pre.h:
7595         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7596         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7597         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7598         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7599         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7600         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7601         (_gst_parse_yypop_buffer_state),
7602         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7603         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7604         (yy_fatal_error), (_gst_parse_yyget_extra),
7605         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7606         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7607         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7608         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7609         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7610         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7611         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7612         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7613         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7614         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7615         (_gst_parse_yyfree):
7616         If the installed flex version is too old use pre-generated parser
7617         sources. These pre-generated parser sources are always updated when
7618         the actual flex/bison sources change but require everybody who wants
7619         to change something in the parser to have flex >= 2.5.31 installed.
7620
7621 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7622
7623         * common/m4/gst-gettext.m4:
7624         * gst/gst-i18n-lib.h:
7625           Make --disable-nls to work
7626
7627 2007-04-17  Wim Taymans  <wim@fluendo.com>
7628
7629         * gst/gstconfig.h.in:
7630         Revert previous change that broke the build.
7631
7632 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7633
7634         * configure.ac:
7635         * gst/Makefile.am:
7636         * gst/gstconfig.h.in:
7637           Drop libxml2 dependency when building with 
7638           --enable-binary-registry --disable-loadsave
7639
7640 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7641
7642         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7643         (gst_registry_binary_read_cache):
7644         * gst/gstregistrybinary.h:
7645           Remove unnecessary <sys/mman.h> include which broke the win32 build
7646           with MingW; move includes from header file to .c file, even if the
7647           header file isn't installed; use g_strerror() where UTF-8 strings
7648           are expected, such as in GST_DEBUG messages.
7649
7650 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7651
7652         * docs/libs/gstreamer-libs-sections.txt:
7653         Remove bogus addition for API I didn't end up keeping.
7654
7655         * libs/gst/base/gstbasesrc.h:
7656         Mention Since: 0.10.13 in the documentation.
7657
7658         Add the API keyword to the previous ChangeLog entry.
7659
7660 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7661
7662         * docs/libs/gstreamer-libs-sections.txt:
7663         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7664         (gst_base_src_default_prepare_seek_segment),
7665         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7666         * libs/gst/base/gstbasesrc.h:
7667         Allow basesrc derived classes to execute seeks in other formats
7668         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7669         to prepare the GstSegment in any format that their perform_seek method
7670         will be able to understand. The default implementation provides the
7671         old behaviour of attempting to convert the seek offsets to the 
7672         configured native format.
7673
7674         API: basesrc::prepare_seek_segment vmethod.
7675
7676 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7677
7678         * gst/gstelement.c: (gst_element_get_state_func):
7679         Don't output the same debug statement twice.
7680
7681         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7682         (gst_adapter_peek), (gst_adapter_take_buffer):
7683         Optimise the case where we have buffers at the head of the queue that
7684         can be joined quickly (because they're contiguous sub-buffers) by
7685         merging them together rather than copying data out into new memory.
7686
7687         * gst/parse/grammar.y:
7688         * tests/check/pipelines/parse-launch.c:
7689         Fix a leak in an error path for parse_launch, and add a check 
7690         for it to the testsuite.
7691
7692 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7693
7694         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7695           Don't deadlock when releasing a pad - gst_pad_set_active may try
7696           and take the multiqueue lock too.
7697
7698 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7699
7700         * gst/gsterror.c: (_gst_core_errors_init):
7701         * gst/gsterror.h:
7702           API: add GST_CORE_ERROR_DISABLED (#392804).
7703
7704 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7705
7706         * docs/faq/gst-uninstalled:
7707           don't get empty paths on the PATH variables
7708         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7709           Don't format for the uncommon terminal width of 84 characters.
7710
7711 2007-04-06  Wim Taymans  <wim@fluendo.com>
7712
7713         * gst/gstpipeline.c: (reset_stream_time),
7714         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7715         Only try to select a different pipeline clock when we went back to
7716         PAUSED and not when we merely got flushed.
7717
7718 2007-04-05  Michael Smith  <msmith@fluendo.com>
7719
7720         * tools/gst-launch.1.in:
7721           fractions are better supported in gstreamer than ractions, so
7722           suggest using those.
7723
7724 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7725
7726         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7727
7728         * po/LINGUAS:
7729         * po/da.po:
7730           Added Danish translation.
7731
7732 2007-04-05  Wim Taymans  <wim@fluendo.com>
7733
7734         * libs/gst/base/gstbasesink.c:
7735         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7736         Fix leak caused when refusing newsegment after EOS.
7737
7738         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7739         (gst_fake_sink_init), (gst_fake_sink_set_property),
7740         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7741         (gst_fake_sink_render), (gst_fake_sink_change_state):
7742         * plugins/elements/gstfakesink.h:
7743         Add num-buffers property to make the element generate EOS after a
7744         configurable amount of buffers.
7745         API: fakesink::num-buffers property.
7746
7747         * tests/check/elements/fakesink.c: (GST_START_TEST),
7748         (fakesink_suite):
7749         Fix GstBus leak in test.
7750         Test for fakesink num-buffers.
7751
7752 2007-04-05  Wim Taymans  <wim@fluendo.com>
7753
7754         * libs/gst/base/gstbasesink.c:
7755         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7756         (gst_base_sink_change_state):
7757         Don't accept anything after an EOS, return UNEXPECTED instead.
7758
7759         * tests/check/elements/fakesink.c: (GST_START_TEST),
7760         (fakesink_suite):
7761         Unit test for new EOS behaviour.
7762
7763 2007-04-05  Wim Taymans  <wim@fluendo.com>
7764
7765         * gst/gstelement.c: (gst_element_get_request_pad):
7766         Make padtemplates also work when they don't contain %s or %d.
7767
7768 2007-04-05  Wim Taymans  <wim@fluendo.com>
7769
7770         * docs/gst/gstreamer-sections.txt:
7771         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7772         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7773         * gst/gstclock.h:
7774         Improve _adjust_unlocked() so that it overflows less.
7775         Add gst_clock_unadjust_unlocked to convert from external time to
7776         internal time based on calibration.
7777         Add some more debug.
7778         API: GstClock::gst_clock_unadjust_unlocked()
7779
7780 2007-04-03  Wim Taymans  <wim@fluendo.com>
7781
7782         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7783
7784         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7785         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7786         when releasing sink pad. Fixes #425400.
7787
7788 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7789
7790         * docs/random/ensonic/dynlink.txt:
7791           More work on proposal for new core api.
7792
7793         * docs/libs/gstreamer-libs-sections.txt:
7794         * libs/gst/base/gstbasetransform.h:
7795           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7796           
7797         * libs/gst/controller/gstcontroller.c:
7798         (on_object_controlled_property_changed),
7799         (gst_controller_sync_values),
7800         (gst_controller_set_interpolation_mode):
7801         * libs/gst/controller/gstcontroller.h:
7802           Less verbose logging add docs for unimplemented parts and correctly
7803           return when using unavailable parts.
7804
7805 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7806
7807         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7808         Move all the debug to the CLOCK category, and associate it with
7809         the clock object.
7810
7811 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7812
7813         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7814         Make take_buffer a bit quicker by removing redundant checks
7815         caused by calling gst_adapter_take.
7816
7817 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7818
7819         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7820           Don't leak GCond.
7821
7822         * tests/check/Makefile.am:
7823         * tests/check/elements/.cvsignore:
7824         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7825         (GST_START_TEST), (multiqueue_suite):
7826           Add some dead simple unit tests for the 'multiqueue' element
7827           (some bits don't work yet and are disabled for now).
7828
7829 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7830
7831         * gst/gstelement.c: (gst_element_get_request_pad),
7832         (gst_element_class_get_request_pad_template):
7833           Make gst_element_get_request_pad() create request pads only for
7834           request pad templates and not for, say, sometimes pad templates.
7835
7836 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7837
7838         * docs/design/draft-klass.txt:
7839           Add example that needs more thinking.
7840         
7841         * docs/design/draft-missing-plugins.txt:
7842           More thoughts about wrapper plugins.
7843         
7844         * docs/random/ensonic/embedded.txt:
7845         * docs/random/ensonic/profiling.txt:
7846           More design work.
7847
7848 2007-03-25  Wim Taymans  <wim@fluendo.com>
7849
7850         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7851         (gst_base_src_loop):
7852         Only push the segment events in the PLAYING state for live sources.
7853
7854 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7855
7856         * gst/gstpipeline.c: (gst_pipeline_change_state):
7857         Modify the clock distribution path in PAUSED->PLAYING so that we 
7858         never attempt to choose a new clock unless we're actually leaving
7859         the PAUSED state for the first time. This prevents choosing a
7860         different clock when the state_change gets called for a 2nd time due
7861         to some element doing an async state change.
7862
7863 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7864
7865         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7866         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7867         (gst_pad_chain_unchecked), (gst_pad_push):
7868         Revert last commit. This needs some more thoughts.
7869
7870 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7871
7872         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7873         (gst_pad_chain_unchecked), (gst_pad_push):
7874         Check in set_caps if the caps are compatible with the pad and remove
7875         two functions that are redundant now. Fixes #421543.
7876
7877 2007-03-22  Wim Taymans  <wim@fluendo.com>
7878
7879         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7880         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7881         Unref some more to make valgrind happy.
7882
7883 2007-03-22  Wim Taymans  <wim@fluendo.com>
7884
7885         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7886         (gst_system_clock_id_wait_jitter),
7887         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7888         Fix anoying regression that survived a few releases. When adding an
7889         async entry while blocking on a sync entry, the sync entry will unblock
7890         but still be busy, so it should continue to wait instead of returning
7891         _BUSY to the app.
7892         Add some comments here and there.
7893
7894         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7895         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7896         Add testcase for this.
7897
7898 2007-03-22  Wim Taymans  <wim@fluendo.com>
7899
7900         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7901         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7902         WRONG_STATE and can silently pause the task. All other cases should
7903         error out.
7904
7905 2007-03-22  Wim Taymans  <wim@fluendo.com>
7906
7907         Patch by: Ville Syrjala <syrjala at sci dot fi>
7908
7909         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7910         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7911         Improve debugging.
7912
7913 2007-03-21  Michael Smith  <msmith@fluendo.com>
7914
7915         * docs/pwg/advanced-types.xml:
7916           Fix some errors in the typefinding docs pointed out on irc.
7917
7918 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7919
7920         * libs/gst/base/gstbasesrc.c:
7921         Clarify FIXME comment in the face of having added unlock_stop()
7922
7923 2007-03-21  Wim Taymans  <wim@fluendo.com>
7924
7925         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7926         Prepare for release where we warn against possible app breakage in the
7927         case of live pipelines along with an env var to enable/disable live
7928         preroll mode (GST_COMPAT=[no-]live-preroll).
7929
7930 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7931
7932         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7933         So we should use correct constants for checking for None offset.
7934
7935 2007-03-20  Wim Taymans  <wim@fluendo.com>
7936
7937         * docs/design/part-block.txt:
7938         Mention the fact that the newly switched element should be set to at
7939         least PAUSED.
7940
7941 2007-03-20  Wim Taymans  <wim@fluendo.com>
7942
7943         * gst/gst.c:
7944         Fix compilation with registry disabled as spotted by Saur.
7945
7946 2007-03-20  Wim Taymans  <wim@fluendo.com>
7947
7948         Patch by: Olivier Crete <tester at tester dot ca>
7949
7950         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7951         Look at the pending state too when syncing the element state to the
7952         parent. Fixes #420133.
7953
7954 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7955
7956         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7957         (gst_base_sink_change_state):
7958         * libs/gst/base/gstbasesink.h:
7959         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7960         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7961         (gst_base_src_deactivate):
7962         * libs/gst/base/gstbasesrc.h:
7963         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7964         for sub-classes to correctly clear any state they set trying to
7965         unlock, such as clearing out unlock commands from a command fd.
7966         API: basesrc::unlock_stop
7967         API: basesink::unlock_stop
7968
7969         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7970         (gst_fd_sink_render), (gst_fd_sink_unlock),
7971         (gst_fd_sink_unlock_stop):
7972         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7973         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7974         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7975
7976         Implement unlock_stop in fdsrc and fdsink.
7977         Implement seeking in fdsrc when a seekable fd is passed, as in
7978         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7979
7980 2007-03-19  Wim Taymans  <wim@fluendo.com>
7981
7982         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7983
7984         * gst/gstelement.c: (gst_element_class_init):
7985         Fix pad-added and pad-removed signal signatures so that the pad type is
7986         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7987
7988 2007-03-19  Wim Taymans  <wim@fluendo.com>
7989
7990         * docs/gst/gstreamer-sections.txt:
7991         Add new element field and method.
7992
7993         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7994         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7995         (gst_bin_recalc_state), (gst_bin_get_state_func),
7996         (gst_bin_element_set_state), (gst_bin_change_state_func),
7997         (gst_bin_continue_func), (bin_bus_handler),
7998         (bin_push_state_continue), (bin_handle_async_start),
7999         (bin_handle_async_done), (gst_bin_handle_message_func):
8000         Make async state changes a bit smarter by using new ASYNC_START and
8001         ASYNC_DONE messages. This reduces the number of times we run the state
8002         recalculation thread.
8003         Don't change state of element with a pending ASYNC_START message.
8004         Deprecate STATE_DIRTY messages.
8005         
8006         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
8007         (gst_element_get_state_func), (gst_element_continue_state),
8008         (gst_element_lost_state), (gst_element_set_state_func),
8009         (gst_element_change_state):
8010         * gst/gstelement.h:
8011         Keep the state that was last set by the app in a new element field.
8012         Don't allow state changes when handling an element event.
8013         Post ASYNC_START and ASYNC_DONE messages.
8014         Change lost_state so that we go to PAUSED and wait for the parent to set
8015         us to PLAYING again (so latency calculation can be performed)
8016         Export gst_element_change_state() method so that subclasses can use it.
8017         API: gst_element_change_state()
8018         API: GST_STATE_TARGET
8019
8020         * gst/gstpipeline.c: (gst_pipeline_class_init),
8021         (reset_stream_time), (gst_pipeline_change_state),
8022         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
8023         Using the new ASYNC_START message we can reset the base_time when
8024         needed. This can then be used to implement base_time redistribution in
8025         flushing seeks so that we can remove the explicit seek handling.
8026         Perform latency query and configuration when going to PLAYING.
8027
8028         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8029         (gst_base_sink_query), (gst_base_sink_change_state):
8030         Post new ASYNC_START/ASYNC_DONE messages.
8031
8032         * tests/check/generic/sinks.c: (GST_START_TEST):
8033         Fix test because the bin will not set the async element to PLAYING right
8034         away.
8035
8036         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
8037         Make the message check a little stronger.
8038         Handle ASYNC messages.
8039
8040         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
8041         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
8042         Expect ASYNC_DONE messages.
8043
8044 2007-03-19  Wim Taymans  <wim@fluendo.com>
8045
8046         * docs/gst/gstreamer-sections.txt:
8047         * gst/gstmessage.c: (gst_message_new_async_start),
8048         (gst_message_new_async_done), (gst_message_parse_info),
8049         (gst_message_parse_async_start):
8050         * gst/gstmessage.h:
8051         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
8052         support.
8053
8054 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
8055
8056         * tools/gst-inspect.c:
8057         (print_plugin_automatic_install_info_codecs):
8058           Now that we don't check for the 'Codec' keyword any longer in the
8059           klass, we shouldn't spew a warning if the klass isn't a decoder or
8060           encoder (since it might be a Source/Network, for example).
8061
8062 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
8063
8064         * tools/gst-inspect.c:
8065         (print_plugin_automatic_install_info_codecs):
8066           Don't require decoder/demuxer/depayloader elements or
8067           encoder/muxer/paylader elements to have 'Codec' as part of their
8068           factory class string when introspecting a plugin's capabilities.
8069           draft-klass.txt mentions that it might be removed in future, and
8070           flump3dec doesn't have it as part of its class string, so chances
8071           are others might also not have it.
8072
8073 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8074
8075         * po/af.po:
8076         * po/az.po:
8077         * po/bg.po:
8078         * po/ca.po:
8079         * po/cs.po:
8080         * po/de.po:
8081         * po/en_GB.po:
8082         * po/fr.po:
8083         * po/it.po:
8084         * po/nb.po:
8085         * po/nl.po:
8086         * po/ru.po:
8087         * po/sq.po:
8088         * po/sr.po:
8089         * po/sv.po:
8090         * po/tr.po:
8091         * po/uk.po:
8092         * po/vi.po:
8093         * po/zh_CN.po:
8094         * po/zh_TW.po:
8095           Update translations from translation project
8096
8097 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
8098
8099         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
8100         (gst_child_proxy_set_property):
8101           Invert precondition check to be alike the ones in the mimiced gobject
8102           api.
8103
8104 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
8105
8106         * docs/design/draft-tagreading.txt:
8107         * docs/random/ensonic/audiobaseclasses.txt:
8108           Do some Architect work.
8109
8110         * gst/gstobject.c: (gst_object_set_name):
8111           Add a WARNING.
8112
8113         * gst/gstpad.c:
8114           Add docs that point from gst_pad_get_range to gst_pad_pull_range
8115
8116 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
8117
8118         * gst/gstsystemclock.c: (gst_system_clock_init),
8119         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
8120         Defer starting the async system clock thread until the first async
8121         wait is scheduled. Fixes #414986.
8122
8123 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
8124
8125         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
8126         (gst_single_queue_free):
8127           Fix small leak (free GstSingleQueue structure too, not only contents).
8128
8129 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
8130
8131         * gst/gstbin.c:(gst_bin_add):
8132         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
8133         * win32/common/libgstbase.def:
8134         * win32/common/libgstreamer.def:
8135         Add new exported functions.
8136
8137 2007-03-09  Wim Taymans  <wim@fluendo.com>
8138
8139         * docs/plugins/gstreamer-plugins-sections.txt:
8140         Fix GstTee docs.
8141
8142 2007-03-09  Wim Taymans  <wim@fluendo.com>
8143
8144         * docs/gst/gstreamer-sections.txt:
8145         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
8146         * gst/gstbuffer.h:
8147         Add metadata copy functions. Fixes #393099.
8148         API: gst_buffer_copy_metadata()
8149
8150         * gst/gstutils.c: (gst_buffer_stamp):
8151         * libs/gst/base/gstbasetransform.c:
8152         (gst_base_transform_prepare_output_buffer):
8153         Use new metadata copy functions.
8154
8155 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8156
8157         * plugins/elements/gstidentity.c: (gst_identity_class_init),
8158         (gst_identity_init), (gst_identity_check_perfect),
8159         (gst_identity_check_imperfect_timestamp),
8160         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
8161         (gst_identity_set_property), (gst_identity_get_property):
8162         * plugins/elements/gstidentity.h:
8163         Separate out check-imperfect-timestamp and check-imperfect-offset.
8164         Put back check-perfect as it was to keep compatibility.
8165
8166 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
8167
8168         * gst/gstelement.c: (gst_element_dispose):
8169         There's no need to warn if VOID_PENDING is not NONE here, as
8170         long as the state is NULL it's ok, and that's checked immediately
8171         above.
8172
8173 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8174
8175         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8176         Fix check for perfect stream to ignore buffers with -1 
8177         offsets/offset ends when checking data contiguity.
8178
8179 2007-03-08  Wim Taymans  <wim@fluendo.com>
8180
8181         * tools/gst-launch.c: (event_loop):
8182         Print INFO messages.
8183
8184 2007-03-08  Wim Taymans  <wim@fluendo.com>
8185
8186         * libs/gst/base/gstbasetransform.c:
8187         (gst_base_transform_sink_eventfunc),
8188         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8189         (gst_base_transform_activate):
8190         * libs/gst/base/gstbasetransform.h:
8191         Add support for dropping buffers with custom GstFlowReturn.
8192         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
8193         buffers or dropped buffers.
8194
8195         * docs/libs/gstreamer-libs-sections.txt:
8196         docs for new custom return code.
8197
8198         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8199         Use drop support in base class to implement drop-probability.
8200
8201 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
8202
8203         * gst/gst.c: (load_plugin_func):
8204         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
8205         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8206         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8207           Remove newlines at end of debug log strings.
8208
8209 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8210
8211         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8212         Only post bus message at max, once per buffer received.
8213
8214 2007-03-07  Wim Taymans  <wim@fluendo.com>
8215
8216         * docs/design/Makefile.am:
8217         * docs/design/part-synchronisation.txt:
8218         Add doc about synchronisation
8219
8220         * docs/design/draft-latency.txt:
8221         * docs/design/part-TODO.txt:
8222         * docs/design/part-clocks.txt:
8223         * docs/design/part-events.txt:
8224         * docs/design/part-gstbus.txt:
8225         * docs/design/part-gstpipeline.txt:
8226         * docs/design/part-live-source.txt:
8227         * docs/design/part-messages.txt:
8228         * docs/design/part-overview.txt:
8229         * docs/design/part-streams.txt:
8230         * docs/design/part-trickmodes.txt:
8231         Documentation updates.
8232
8233 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8234
8235         * gstreamer.doap:
8236         Update the doap file.
8237
8238 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8239
8240         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8241         Rename non-perfect to imperfect for Mike and for the sanctity of the
8242         language.
8243         Also make sure bus message gets emitted for data-incontiguities.
8244
8245 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8246
8247         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8248         (gst_identity_start):
8249         * plugins/elements/gstidentity.h:
8250         Emit bus message if check-perfect is true and we encounter a
8251         non-perfect stream between 2 consecutive buffers.
8252         Fixes #415394.
8253
8254 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8255
8256         * configure.ac:
8257         Back to CVS
8258
8259 === release 0.10.12 ===
8260
8261 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
8262
8263         * configure.ac:
8264           releasing 0.10.12, "Inevitable Demise"
8265
8266 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
8267
8268         * configure.ac:
8269          Version 0.10.11.2 (0.10.12 pre-release)
8270          Bump libtool versioning.
8271
8272 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
8273
8274         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8275           Log flow-names and not numbers.
8276
8277 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8278
8279         * configure.ac:
8280           Convert to new AG_GST style.
8281
8282 2007-02-28  Wim Taymans  <wim@fluendo.com>
8283
8284         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8285         Don't unref query twice.
8286
8287 2007-02-28  Wim Taymans  <wim@fluendo.com>
8288
8289         * gst/gstvalue.c: (gst_value_transform_object_string),
8290         (_gst_value_initialize):
8291         Implement GstObject -> string transform so we print object names
8292         when serializing GValues containing GstObjects.
8293
8294 2007-02-28  Wim Taymans  <wim@fluendo.com>
8295
8296         * docs/gst/gstreamer-sections.txt:
8297         Add new stuff to docs.
8298
8299 2007-02-28  Wim Taymans  <wim@fluendo.com>
8300
8301         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8302         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8303         (gst_base_sink_change_state):
8304         Improve latency query code.
8305         Don't leak latency events.
8306
8307         * tests/check/gst/gstbin.c: (GST_START_TEST):
8308         Improve debugging.
8309
8310 2007-02-28  Wim Taymans  <wim@fluendo.com>
8311
8312         * gst/gstelement.c: (gst_element_message_full),
8313         (gst_element_get_state_func):
8314         * gst/gstelement.h:
8315         Improve docs a little. Added Since: for new macro.
8316
8317         * gst/gstobject.c: (gst_object_sink):
8318         * gst/gstpipeline.c: (gst_pipeline_change_state),
8319         (gst_pipeline_set_new_stream_time):
8320         * gst/gstpipeline.h:
8321         Improve debugging and docs.
8322
8323         * gst/gstutils.c: (gst_element_state_change_return_get_name):
8324         Improve debugging.
8325
8326 2007-02-28  Wim Taymans  <wim@fluendo.com>
8327
8328         * gst/gstelement.c: (gst_element_message_full),
8329         (gst_element_set_locked_state), (gst_element_get_state_func),
8330         (gst_element_change_state):
8331         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8332         Documentation updates.
8333         Small code cleanups.
8334
8335         * gst/gstmessage.c: (gst_message_new_info),
8336         (gst_message_parse_info):
8337         * gst/gstmessage.h:
8338         API: gst_message_new_info()
8339         API: gst_message_parse_info()
8340         Add INFO message create and parse code.
8341
8342 2007-02-28  Wim Taymans  <wim@fluendo.com>
8343
8344         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8345         (bin_query_latency_done):
8346         Also report the live parameter of a latency query.
8347
8348 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8349
8350         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8351           Copy the current generic/states example from -base and adapt so
8352           we can use the exact same code everywhere.
8353           Check a STATES_IGNORE_ELEMENTS env var which can be used
8354           to ignore certain element factories for this test, which is
8355           what is being done in -base
8356         * tests/check/Makefile.am:
8357           Mention this environment variable.
8358
8359 2007-02-27  Wim Taymans  <wim@fluendo.com>
8360
8361         * docs/gst/gstreamer-sections.txt:
8362         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8363         (gst_bus_timed_pop), (gst_bus_pop):
8364         * gst/gstbus.h:
8365         API: gst_bus_timed_pop()
8366         Implement gst_bus_timed_pop() to do a blocking timed wait for a
8367         message to arrive on the bus.
8368
8369         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8370         (gst_bus_suite):
8371         Two unit tests for new _timed_pop() function.
8372
8373 2007-02-23  Wim Taymans  <wim@fluendo.com>
8374
8375         * gst/gstpipeline.c: (gst_pipeline_change_state),
8376         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8377         Don't ref a NULL clock in _provide_clock_func().
8378         Don't allow an INVALID delay.
8379         Don't try to calculate base_time with an invalid start_time.
8380         Also distribute and notify a NULL clock when it was selected.
8381
8382         * tools/gst-launch.c: (event_loop):
8383         Don't crash when a NULL clock was selected in the pipeline.
8384
8385 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8386
8387         * docs/design/Makefile.am:
8388         * docs/design/draft-missing-plugins.txt:
8389         * docs/random/draft-missing-plugins.txt:
8390           Some small updates: update plugin system identifier prefix
8391           ('gstreamer.net' to 'gstreamer'), mention our new install
8392           API in libgstbaseutils rather than libgimme-codec, add
8393           reference to the online docs.
8394
8395 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8396
8397         * win32/common/config.h:
8398           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
8399           use moap cl ci to only check in what is mentioned in the ChangeLog.
8400
8401 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8402
8403         * docs/gst/gstreamer-sections.txt:
8404         * gst/gstelement.h:
8405           Fix up documentation to link to the correct GstGError section.
8406           Add GST_ELEMENT_INFO macro since someone else added a Info message.
8407
8408 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8409
8410         * tools/gst-launch.c: (event_loop):
8411           Make sure that we actually show the important message part of a
8412           warning message.
8413           No need to check if the gerror is not NULL to free; first of all
8414           g_free accepts NULL; and second the default error handler would
8415           segfault if gerror was NULL.
8416
8417 2007-02-21  Wim Taymans  <wim@fluendo.com>
8418
8419         * docs/gst/gstreamer-sections.txt:
8420         Removed docs as well.
8421
8422 2007-02-21  Wim Taymans  <wim@fluendo.com>
8423
8424         * gst/gstmessage.c: (gst_message_parse_duration):
8425         * gst/gstmessage.h:
8426         Remove new messages for release.
8427
8428 2007-02-20  Wim Taymans  <wim@fluendo.com>
8429
8430         * docs/design/part-gstghostpad.txt:
8431         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8432         (gst_ghost_pad_new_full):
8433         Make the ghostpad a parent of the internal pad again for better backward
8434         compatibility. Don't write code that relies on this however.
8435
8436         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8437         (gst_pad_link_check_hierarchy):
8438         Require that parents should be GstElements in the hierarchy check.
8439
8440 2007-02-20  Wim Taymans  <wim@fluendo.com>
8441
8442         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8443         (gst_bin_change_state_func), (bin_query_min_max_init),
8444         (bin_query_latency_fold), (bin_query_latency_done),
8445         (gst_bin_query):
8446         Improve debug info.
8447         Implement latency query.
8448
8449 2007-02-20  Wim Taymans  <wim@fluendo.com>
8450
8451         * docs/design/part-gstghostpad.txt:
8452         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8453         (gst_ghost_pad_internal_do_activate_push),
8454         (gst_ghost_pad_internal_do_activate_pull),
8455         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8456         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8457         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8458         Do not set the internal pad as a parent anymore so we can avoid
8459         hierarchy linking errors when the ghostpad has no parent yet. This also
8460         fixes failed activation because of unlinked internal pads, which in
8461         turn fixes the impossible case where you have to activate a pad before
8462         you can add it to a running element.
8463         Also fix the docs.
8464
8465         * gst/gstpad.c: (pre_activate), (post_activate),
8466         (gst_pad_set_active), (gst_pad_activate_pull),
8467         (gst_pad_activate_push), (gst_pad_check_pull_range):
8468         Add some more debug info.
8469         Mark activation mode in pre_activate so that we don't try to activate in
8470         endless loops. Fixes #385084.
8471
8472 2007-02-19  Wim Taymans  <wim@fluendo.com>
8473
8474         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8475         (gst_base_transform_check_get_range):
8476         Implement a checkgetrange function instead of relying on the default
8477         core behaviour that assumes we can operate in pull mode if we have a
8478         getrange function. First step at fixing #385084.
8479
8480 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
8481
8482         * gst/gstchildproxy.h:
8483         * libs/gst/base/gstbasesink.h:
8484         * libs/gst/base/gstbasesrc.h:
8485         * libs/gst/base/gstbasetransform.h:
8486         More docs coverage and some ChangeLog surgery (add missing names)
8487
8488 2007-02-15  Wim Taymans  <wim@fluendo.com>
8489
8490         * docs/design/part-TODO.txt:
8491         * docs/design/part-activation.txt:
8492         * docs/design/part-block.txt:
8493         * docs/design/part-buffering.txt:
8494         * docs/design/part-clocks.txt:
8495         * docs/design/part-element-source.txt:
8496         * docs/design/part-events.txt:
8497         * docs/design/part-gstbin.txt:
8498         * docs/design/part-gstbus.txt:
8499         * docs/design/part-gstpipeline.txt:
8500         * docs/design/part-live-source.txt:
8501         * docs/design/part-messages.txt:
8502         * docs/design/part-overview.txt:
8503         * docs/design/part-qos.txt:
8504         * docs/design/part-query.txt:
8505         * docs/design/part-states.txt:
8506         * docs/design/part-trickmodes.txt:
8507         Some doc updates. Start renaming from stream_time to running_time where
8508         it was used wrongly.
8509
8510 2007-02-15  Wim Taymans  <wim@fluendo.com>
8511
8512         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8513         Answer LATENCY query.
8514
8515 2007-02-15  Wim Taymans  <wim@fluendo.com>
8516
8517         * tests/check/gst/gstevent.c: (event_probe), (test_event),
8518         (GST_START_TEST):
8519         Improve debugging.
8520
8521 2007-02-15  Wim Taymans  <wim@fluendo.com>
8522
8523         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8524         (gst_pad_dispatcher):
8525         Improve debugging of default pad dispatcher and query functions.
8526
8527 2007-02-15  Wim Taymans  <wim@fluendo.com>
8528
8529         * docs/gst/gstreamer-sections.txt:
8530         Remove old unused method.
8531
8532 2007-02-13  Wim Taymans  <wim@fluendo.com>
8533
8534         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8535         Fix check
8536
8537 2007-02-13  Wim Taymans  <wim@fluendo.com>
8538
8539         * docs/design/part-seeking.txt:
8540         Some small update.
8541
8542         * gst/gstsegment.c: (gst_segment_set_seek):
8543         Revert old bogus change that should make seeking work again.
8544
8545 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8546
8547         * docs/random/ensonic/dynlink.txt:
8548         * docs/random/ensonic/interfaces.txt:
8549         * docs/random/ensonic/receipies.txt:
8550           Possible dynamic reconnection api, plus some type fixes the other two
8551           docs.
8552
8553 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8554
8555         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8556         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8557         Also check for an absolute path following file:// in the filesrc
8558         element. Remove redundant check and call g_path_is_absolute() on the
8559         unescaped location.
8560
8561 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8562
8563         * docs/design/draft-klass.txt:
8564           Add existing category analysis.
8565           
8566         * gst/gstcaps.c:
8567           Fix doc example, framerate is a fraction.
8568
8569 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8570
8571         * configure.ac:
8572         * docs/gst/Makefile.am:
8573         * docs/gst/gstreamer-sections.txt:
8574         * docs/libs/Makefile.am:
8575           Erm, forgot a bunch of --extra-dir.
8576
8577 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8578
8579         * configure.ac:
8580         * docs/gst/Makefile.am:
8581         * docs/libs/Makefile.am:
8582         * docs/plugins/Makefile.am:
8583           Add crossreferences to glib/gobject docs.
8584
8585 2007-02-12  Wim Taymans  <wim@fluendo.com>
8586
8587         * docs/design/draft-latency.txt:
8588         Small update.
8589
8590         * docs/libs/gstreamer-libs-sections.txt:
8591         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8592         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8593         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8594         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8595         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8596         (gst_base_sink_get_position), (gst_base_sink_query),
8597         (gst_base_sink_change_state):
8598         * libs/gst/base/gstbasesink.h:
8599         API: gst_base_sink_query_latency() to let subclasses query the upstream
8600         latency.
8601         API: gst_base_sink_get_latency() to let subclasses query the configured
8602         latency in the sink.
8603         Implement query and set latency.
8604         Update some docs.
8605         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8606         don't continue preroll when we are flushing. Fixes #405284.
8607
8608         * tests/check/pipelines/stress.c: (change_state_timeout),
8609         (quit_timeout), (GST_START_TEST), (stress_suite):
8610         Test for #405284.
8611
8612 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8613
8614         Patch by: René Stadler <mail at renestadler de>
8615
8616         * docs/gst/gstreamer-sections.txt:
8617         * gst/gsttaglist.c: (_gst_tag_initialize):
8618         * gst/gsttaglist.h:
8619           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8620
8621 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8622
8623         * docs/libs/Makefile.am:
8624           Fix path to core docs.
8625
8626         * gst/gstbin.c: (gst_bin_get_by_interface),
8627         (gst_bin_iterate_all_by_interface):
8628           Refix docs by also renaming 'interface' to 'iface' in implementation.
8629
8630         * docs/gst/gstreamer-sections.txt:
8631         * gst/gstcaps.c:
8632         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8633         * gst/gstchildproxy.h:
8634         * gst/gstelementfactory.c:
8635         * gst/gstpadtemplate.h:
8636         * libs/gst/controller/gstcontroller.c:
8637         (gst_controlled_property_new):
8638           Document more.
8639
8640 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8641
8642         * gst/gstbin.h:(gst_bin_get_by_interface),
8643         (gst_bin_iterate_all_by_interface):
8644         Replace interface parameter name by iface as interface is 
8645         a reserved keyword in Visual Studio for C++ projects so it removes
8646         a build error for application developpers using VS.
8647         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8648         Fix a bug on Windows in uri format check. Now the prefix checked
8649         is file:// and next we check if the path after file:// is absolute.
8650         * win32/common/libgstbase.def:
8651         * win32/common/libgstdataprotocol.def:
8652         * win32/common/libgstgstreamer.def:
8653         Add new exported functions.
8654
8655 2007-02-09  Andy Wingo  <wingo@pobox.com>
8656
8657         * tests/check/pipelines/simple-launch-lines.c
8658         (simple_launch_lines_suite, test_tee): Disable tee test until I
8659         have time to fix it :-(
8660
8661         * tests/check/Makefile.am (noinst_HEADERS): 
8662         * tests/check/libs/libsabi.c: 
8663         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8664         * tests/check/gst/gstabi.c: 
8665         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8666
8667         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8668         tests for push and pull tee behavior.
8669
8670         * plugins/elements/gsttee.h: 
8671         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8672         mark as deprecated as well as unimplemented. It was a crack idea.
8673         Add support for tee operating in pull mode, off by default.
8674
8675         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8676         normal-case logs down to LOG, raise errors to WARNING.
8677         (gst_registry_xml_read_cache): Don't log before calling a function
8678         that logs.
8679
8680         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8681         exit (registry finalize).
8682         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8683         DEBUG log when we emit signals that people don't even have the
8684         chance to connect to.
8685         (gst_registry_scan_path_level): Less logging in the normal case.
8686
8687 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8688
8689         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8690
8691         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8692         Correctly generate EOS for non-seekable files. We don't have a total
8693         length for them and would get an unexpected end of file if we only
8694         special-cased for regular files. (Fixes: #404569)
8695
8696 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8697
8698         * tests/check/elements/filesrc.c: (GST_START_TEST),
8699         (filesrc_suite):
8700         Add unit test for the GstURIHandler interface in filesrc. This also
8701         tests the newly added file://localhost/foo/bar support.
8702
8703 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8704
8705         * gst/gstelementfactory.h:
8706           The klass string is not a hierarchy. Add reference to the design doc
8707           for more information and common types.
8708
8709 2007-02-02  Wim Taymans  <wim@fluendo.com>
8710
8711         * gst/gstquery.c: (gst_query_new_latency):
8712         Remove old structure field.
8713
8714 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8715
8716         * tools/gst-launch.1.in:
8717           Give example for network streaming (#351998)
8718
8719 2007-02-02  Wim Taymans  <wim@fluendo.com>
8720
8721         * docs/gst/gstreamer-sections.txt:
8722         Add docs for new methods.
8723
8724         * gst/gstevent.c: (gst_event_new_latency),
8725         (gst_event_parse_latency):
8726         * gst/gstevent.h:
8727         Add new LATENCY event to configure latency in a pipeline.
8728         API: gst_event_new_latency
8729         API: gst_event_parse_latency
8730
8731         * gst/gstmessage.c: (gst_message_new_buffering),
8732         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8733         (gst_message_new_latency), (gst_message_parse_buffering),
8734         (gst_message_parse_lost_preroll):
8735         * gst/gstmessage.h:
8736         Added messages used in draft-latency.
8737         API: gst_message_new_lost_preroll
8738         API: gst_message_parse_lost_preroll
8739         API: gst_message_new_prerolled
8740         API: gst_message_new_latency
8741
8742         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8743         (gst_query_parse_latency):
8744         * gst/gstquery.h:
8745         Implemented new latency query as in design doc.
8746         API: gst_query_new_latency
8747         API: gst_query_set_latency
8748         API: gst_query_parse_latency
8749
8750 2007-02-02  Wim Taymans  <wim@fluendo.com>
8751
8752         * docs/design/draft-latency.txt:
8753         Slight redesign to allow for dynamic latency adjustments.
8754
8755         * docs/design/part-negotiation.txt:
8756         Fix some typos.
8757
8758 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8759
8760         reviewed by: Wim Taymans <wim@fluendo.com>
8761
8762         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8763         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8764         Allow file://localhost/foo/bar URLs and correctly fail for every other
8765         hostname that one sets. This was gnomevfssrc is linked for those if
8766         installed as it can handle it (#403172)
8767
8768 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8769
8770         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8771
8772         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8773         (unref_data), (gst_collect_pads_add_pad_full):
8774         * libs/gst/base/gstcollectpads.h:
8775         Don't put the previously added destroy notify in the GstCollectData
8776         struct as all it's padding is already used and we don't want to break
8777         ABI. Instead put in the pad's GObject data for now. This should be
8778         cleaned up for 0.11 (#402393).
8779
8780 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8781
8782         reviewed by: Wim Taymans <wim@fluendo.com>
8783
8784         * docs/libs/gstreamer-libs-sections.txt:
8785         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8786         (unref_data), (gst_collect_pads_add_pad),
8787         (gst_collect_pads_add_pad_full):
8788         * libs/gst/base/gstcollectpads.h:
8789         API: Add function to specify a destroy notification for custom
8790         GstCollectData when adding new pads in GstCollectPads (#402393).
8791
8792 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8793
8794         * po/sv.po:
8795           Update Swedish translation (#378255).
8796
8797 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8798
8799         * docs/design/draft-klass.txt:
8800           Fix the previous change, this is a list of categories and not a hierarchy.
8801
8802 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8803
8804         * docs/design/draft-klass.txt:
8805           Add info about how to get a list of used classes.
8806
8807 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8808
8809         * plugins/elements/gsttypefindelement.c:
8810         (gst_type_find_element_chain_do_typefinding),
8811         (gst_type_find_element_change_state):
8812           Don't leak found caps in chain function (no idea why that never
8813           showed up as a leak anywhere).
8814
8815 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8816
8817         * gst/gstplugin.h:
8818           Fix and expand GstPluginDesc API docs.
8819
8820 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8821
8822         * gst/gstcaps.c:
8823         * gst/gstelementfactory.c:
8824         * gst/gstpadtemplate.h:
8825           api doc fixes
8826
8827         * libs/gst/controller/gstcontroller.c:
8828         (gst_controlled_property_new):
8829         * tests/examples/controller/audio-example.c:
8830           comment fixes
8831
8832 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8833
8834         * configure.ac:
8835           comment about refining the xml deps
8836
8837         * docs/manuals.mak:
8838           comments about moving away from jade for docs
8839         
8840         * gst/gst.c:
8841           recommit the ifdefs to use the binary registry
8842         
8843         * gst/gstbin.c: (gst_bin_change_state_func):
8844           this break is obsolete
8845
8846         * gst/gstelementfactory.h:
8847           better GST_ELEMENT_DETAILS docs, add comment about translation
8848
8849         * gst/gstinfo.h:
8850           remove eol slash
8851
8852         * gst/gstobject.c: (gst_signal_object_get_type):
8853           add G_UNLIKELY as usual
8854
8855         * gst/gstpad.c: (gst_pad_event_default):
8856           add fall trhu comment
8857
8858         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8859         (gst_registry_binary_initialize_magic),
8860         (gst_registry_binary_save_string),
8861         (gst_registry_binary_save_pad_template),
8862         (gst_registry_binary_save_feature),
8863         (gst_registry_binary_save_plugin),
8864         (gst_registry_binary_write_cache),
8865         (gst_registry_binary_check_magic),
8866         (gst_registry_binary_load_pad_template),
8867         (gst_registry_binary_load_feature),
8868         (gst_registry_binary_load_plugin),
8869         (gst_registry_binary_read_cache):
8870           comment typo and formatting
8871
8872         * gst/gstutils.c: (gst_element_state_get_name),
8873         (gst_element_state_change_return_get_name):
8874           remove obsolete breaks
8875
8876         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8877           add FIXME 0.11 and remove cpp comment
8878
8879 2007-01-29  Edward Hervey  <edward@fluendo.com>
8880
8881         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8882         Fix print statement in an even more portable way.
8883
8884 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8885
8886         * docs/gst/gstreamer-sections.txt:
8887         * gst/gstutils.h:
8888           API: add GST_ROUND_DOWN_* macros (#401781).
8889
8890 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8891
8892         * docs/gst/gstreamer.types.in:
8893         * gst/gstregistry.c: (gst_registry_class_init):
8894           Document registry signals and make gtk-doc pick them up (#401381).
8895
8896 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8897
8898         * docs/pwg/building-testapp.xml:
8899           Add some audioconverts and audioresample to the pipeline, and some
8900           more comments and error handling.
8901
8902 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8903
8904         * docs/manual/manual.xml:
8905         * docs/pwg/pwg.xml:
8906           Fix typo (#400987).
8907
8908 2007-01-26  Wim Taymans  <wim@fluendo.com>
8909
8910         * gst/gstcaps.c: (gst_static_caps_get):
8911         Init caps flags too.
8912
8913 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8914
8915         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8916
8917         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8918         If not using mmap'ed files try to seek to the end instead of the
8919         start to determine whether we can seek at all. This fixes the case
8920         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8921         seeks for everything afterwards fail. Fixes #400656
8922
8923 2007-01-25  Wim Taymans  <wim@fluendo.com>
8924
8925         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8926         Add some refcount debugging.
8927         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8928         in multiple streaming threads.
8929
8930 2007-01-25  Wim Taymans  <wim@fluendo.com>
8931
8932         Patch by: David Schleef <ds at schleef dot org>
8933
8934         * docs/libs/gstreamer-libs-sections.txt:
8935         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8936         * libs/gst/base/gstadapter.h:
8937         API: gst_adapter_copy() that can reduce the amount of memcpy when
8938         getting data from the adapter. Fixes #388201.
8939
8940 2007-01-25  Edward Hervey  <edward@fluendo.com>
8941
8942         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8943         In print statements, "%x" is for guint. Fixes build on macosx.
8944
8945 2007-01-24  Edward Hervey  <edward@fluendo.com>
8946
8947         * plugins/elements/gstmultiqueue.c:
8948         (gst_multi_queue_loop):
8949         Small fix.
8950         (single_queue_overrun_cb), (single_queue_underrun_cb),
8951         (single_queue_check_full), (gst_single_queue_new):
8952         Implement single queue growth system.
8953         This uses the extra-size properties, and will grow single queues by
8954         that much if one goes full whereas there are others empty. This is
8955         called extra-mode in the code.
8956         When a single queue's levels go back below the initial max-size
8957         limits, it is no longer in extra-mode. This is to ensure we don't
8958         consume too much memory.
8959         Fixes #399875
8960
8961 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8962
8963         * gst/gst.c: (gst_init_get_option_group):
8964           Make warning about late g_thread_init() calls a bit more explicit,
8965           so that it's more obvious to application developers what they need
8966           to do if a user files a bug against their application.
8967
8968 2007-01-22  Edward Hervey  <edward@fluendo.com>
8969
8970         * plugins/elements/gstmultiqueue.c:
8971         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8972         Remove previous hack of unsetting the flushing flag for the source pad
8973         instead of activating it. Instead, fix the source pad activate function
8974         so that it no longer depends on having a parent set or not.
8975
8976 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8977
8978         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8979
8980         * docs/manual/basics-bus.xml:
8981           Fix example code, gst_element_unref() doesn't exist any longer.
8982
8983 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8984
8985         Patch by: Mark Nauwelaerts <manauw at skynet be>
8986
8987         * gst/gstpad.c:
8988           Fix two docs typoes (#399094).
8989
8990 2007-01-19  Edward Hervey  <edward@fluendo.com>
8991
8992         * docs/faq/gst-uninstalled:
8993         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8994         depending on libgstbaseutils can work in uninstalled environment.
8995
8996 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8997
8998         * gst/gsttaglist.h:
8999         * gst/gsttagsetter.c:
9000         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
9001         statement for new tag.
9002
9003 2007-01-17  Edward Hervey  <edward@fluendo.com>
9004
9005         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
9006         When dynamically creating single queues, activate sinkpad before adding
9007         it.
9008         We should be doing the same thing for the source pad, but we can't
9009         since it would call a method which needs the parent to be set in order
9010         to work propertly. Instead of activating the source pad, we just unset
9011         the flushing flag, which is the minimal requirement for adding a pad
9012         to an element in a state greater than READY.
9013
9014 2007-01-17  Edward Hervey  <edward@fluendo.com>
9015
9016         * docs/faq/gst-uninstalled:
9017         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
9018         Mac OS X.
9019
9020 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
9021
9022         * tests/check/gst/gstabi.c:
9023         * tests/check/gst/struct_hppa.h:
9024         * tests/check/libs/libsabi.c:
9025         * tests/check/libs/struct_hppa.h:
9026           Add ABI structs for HPPA (see #393796).
9027
9028 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
9029
9030         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9031           Actually write ABI structs to the file specified in the GST_ABI
9032           environment variable, as the message we print claims we would.
9033
9034 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9035
9036         * tests/check/gst/gsttask.c:
9037           Fix header comment.
9038
9039 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9040
9041         * gst/gsttaglist.c: (_gst_tag_initialize):
9042           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
9043           previous two entries.
9044
9045 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9046
9047         * docs/gst/gstreamer-sections.txt:
9048         * gst/gsttaglist.c: (_gst_tag_initialize):
9049         * gst/gsttaglist.h:
9050           Add tag support for beat-per-minute.
9051
9052 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9053
9054         * gst/gstregistrybinary.c: (gst_registry_binary_write),
9055         (gst_registry_binary_initialize_magic),
9056         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
9057         (gst_registry_binary_save_pad_template),
9058         (gst_registry_binary_save_feature),
9059         (gst_registry_binary_save_plugin),
9060         (gst_registry_binary_write_cache),
9061         (gst_registry_binary_check_magic),
9062         (gst_registry_binary_load_pad_template),
9063         (gst_registry_binary_load_feature),
9064         (gst_registry_binary_load_plugin),
9065         (gst_registry_binary_read_cache):
9066         * gst/gstregistrybinary.h:
9067           Use glib types, cleanup comments, impement interfaces and uri-types.
9068
9069 2007-01-13  Andy Wingo  <wingo@pobox.com>
9070
9071         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
9072         getrange() to return buffers with other caps, while we fix
9073         demuxers and typefind, or otherwise change part-negotiation.txt.
9074
9075 2007-01-12  Andy Wingo  <wingo@pobox.com>
9076
9077         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
9078         Factor start/stop into this private function instead of partially
9079         in activate functions and partially in the change_state function.
9080         Fixes setup before the element has changed from READY->PAUSED, as
9081         is the case in pull-mode pipelines.
9082         (gst_base_transform_sink_activate_push)
9083         (gst_base_transform_src_activate_pull): Refactor to use
9084         gst_base_transform_activate().
9085         (gst_base_transform_change_state): Removed, not needed any more.
9086
9087         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9088         Truncate before fixating.
9089         
9090         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9091         Don't set_caps() if the result of fixating is ANY, as it's not
9092         supported, and not necessary in the case of a link with no
9093         template caps on either side. Fixes tests/check/libs/basesrc in
9094         some pull-mode tests.
9095
9096         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
9097         (gst_base_transform_init, gst_base_transform_sink_activate_push)
9098         (gst_base_transform_src_activate_pull): 
9099         Track the activation mode.
9100         (gst_base_transform_setcaps): In pull mode, when activating the
9101         src pad, after activating the sink pad, activate the sink pad's
9102         peer, as discussed in part-negotiation.txt.
9103
9104         * libs/gst/base/gstbasesrc.h: 
9105         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
9106         vmethod, as in basesink.
9107
9108         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
9109
9110         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
9111         mode, first proxy the setcaps to the peer pad.
9112         (gst_base_sink_pad_fixate): Add a fixate function that calls the
9113         new fixate vmethod.
9114         (gst_base_sink_default_activate_pull): Rename from
9115         gst_base_sink_activate_pull.
9116         (gst_base_sink_negotiate_pull): New function, performs negotiation
9117         in pull mode before calling ::activate_pull().
9118         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
9119         vmethod instead of the default implementation. I have no idea how
9120         this worked before. Negotiate before calling activate_pull.
9121
9122         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
9123         sink pads in pull mode. In addition to being correct, fixes
9124         filesrc ! decodebin ! identity ! fakesink.
9125         (gst_pad_get_range, gst_pad_pull_range): Don't call
9126         gst_pad_set_caps() if the caps changes; instead error out with
9127         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
9128
9129 2007-01-12  Andy Wingo  <wingo@pobox.com>
9130
9131         * docs/design/part-negotiation.txt: Update with more policy.
9132
9133 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9134
9135         * libs/gst/check/gstbufferstraw.h:
9136         * libs/gst/check/gstcheck.h:
9137           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
9138           belongs.
9139
9140 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9141
9142         * tests/check/Makefile.am:
9143         * tests/check/gst/.cvsignore:
9144         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
9145         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
9146         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
9147         (GST_START_TEST), (gst_tag_setter_suite):
9148           Add minimal unit test for beforementioned GstTagSetter bug.
9149
9150 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9151
9152         Patch by: René Stadler <mail at renestadler dot de>
9153
9154         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
9155           gst_tag_list_merge() returns a new list, so it's not the best idea
9156           to ingore its return value. Effectively meant that tags could only
9157           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
9158           Also add function guard to require a non-NULL taglist as input (has
9159           always been so due to gst_tag_list_copy(), just making it explicit).
9160
9161 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9162
9163         * docs/random/draft-missing-plugins.txt:
9164           Some additions: mention new API that is supposed to be used at the
9165           various stages; short blob about new gst-inspect introspection
9166           option; mention potential future problem with plugins that have
9167           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
9168
9169 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9170
9171         * tools/gst-inspect.c:
9172         (print_plugin_automatic_install_info_codecs),
9173         (print_plugin_automatic_install_info_protocols),
9174         (print_plugin_automatic_install_info), (main):
9175         Add --print-plugin-auto-install-info option to gst-inspect, so we can
9176         introspect plugin files and get machine-parsable output that corresponds
9177         to the last bit of the missing-plugin installer string (small gotcha:
9178         doesn't take into account ranks).
9179
9180 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
9181
9182         * configure.ac:
9183         * docs/gst/gstreamer-sections.txt:
9184         * gst/Makefile.am:
9185         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
9186         (gst_registry_lookup_locked):
9187         * gst/gstregistry.h:
9188         * gst/gstregistrybinary.c: (gst_registry_binary_write),
9189         (gst_registry_binary_initialize_magic),
9190         (gst_registry_binary_save_string),
9191         (gst_registry_binary_save_pad_template),
9192         (gst_registry_binary_save_feature),
9193         (gst_registry_binary_save_plugin),
9194         (gst_registry_binary_write_cache),
9195         (gst_registry_binary_check_magic),
9196         (gst_registry_binary_load_pad_template),
9197         (gst_registry_binary_load_feature),
9198         (gst_registry_binary_load_plugin),
9199         (gst_registry_binary_read_cache):
9200         * gst/gstregistrybinary.h:
9201         * gst/gstregistryxml.c: (load_feature),
9202         (gst_registry_xml_read_cache):
9203           commit binary registry (disabled by default, see #359653)
9204
9205 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9206
9207         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
9208           Fix 'make check' too.
9209
9210 2007-01-10  Andy Wingo  <wingo@pobox.com>
9211
9212         * docs/design/part-negotiation.txt: Fix a typo, add a couple
9213         notes.
9214         
9215         * docs/design/part-negotiation.txt: Update with, um, one way that
9216         pull-mode negotiation might work?
9217
9218         * gst/gstpad.h: 
9219         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
9220         that the pad must be a src pad; makes sense to call it the other
9221         way in pull mode, and the logic is symmetric anyway.
9222
9223 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
9224
9225         * plugins/elements/gstfilesink.c:
9226           Include <stdio.h> for fseeko().
9227
9228 2007-01-10  Wim Taymans  <wim@fluendo.com>
9229
9230         * gst/gstevent.c:
9231         * gst/gstevent.h:
9232         Reserve LATENCY event.
9233
9234 2007-01-09  Wim Taymans  <wim@fluendo.com>
9235
9236         * docs/design/draft-latency.txt:
9237         Updates.
9238
9239 2007-01-09  Wim Taymans  <wim@fluendo.com>
9240
9241         * docs/design/draft-latency.txt:
9242         Updates.
9243
9244         * gst/gstelement.h:
9245         * gst/gststructure.c:
9246         * gst/gsttrace.c:
9247         Small typo fixes.
9248
9249 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9250
9251         * tests/check/.cvsignore:
9252           Ignore test-registry.xml as well.
9253
9254 2007-01-09  Wim Taymans  <wim@fluendo.com>
9255
9256         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9257         unref data at the end when we are done with the pad.
9258
9259 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9260
9261         * docs/gst/gstreamer-sections.txt:
9262         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9263         (init_post), (gst_deinit), (gst_update_registry):
9264         * gst/gst.h:
9265           API: add gst_update_registry() (#391296).
9266
9267         * tests/check/Makefile.am:
9268         * tests/check/gst/gstregistry.c:
9269         * tests/check/gst/.cvsignore:
9270           Simple unit test for the above.
9271
9272 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9273
9274         * gst/gstregistry.c: (gst_registry_scan_path_level):
9275           Plugin extension on HP-UX is .sl, add that to the list of approved
9276           plugin extensions (see #393796).
9277
9278         * tests/check/gst/gstpad.c: (GST_START_TEST):
9279           ulong => gulong. Fixes compilation with HP-UX compiler.
9280
9281         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9282           Fix compilation if valgrind headers are not available.
9283
9284 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
9285
9286         * win32/common/libgstreamer.def: 
9287           Add new exported function.
9288         * win32/vs6/libgstbase.dsp: 
9289           Add gstdataqueue.c to the build.
9290         * win32/vs6/libgstcoreelements.dsp:
9291           Add gstmultiqueue.c to the build.
9292         
9293 2007-01-06  Andy Wingo  <wingo@pobox.com>
9294
9295         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9296         activate_pull(), providing for a way to specialize the process of
9297         spawning a thread to pull on the sink pad. There is a default
9298         implementation.
9299
9300         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9301         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9302         (gst_base_sink_init): Renamed pad activation functions (inserting
9303         "_pad" in their names). Refactor to use the new activate_pull
9304         vmethod, as appropriate.
9305         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9306         default activate_pull function to start a task pulling from the
9307         sink pad, as before.
9308
9309         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9310         on the pads if necessary, as in push()/chain(). Update docs.
9311         Shouldn't affect existing pull() usage as it is currently only
9312         being used on buffers without caps.
9313
9314 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9315
9316         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9317         (init_pre):
9318           Call g_thread_init() first thing in gst_init() / gst_check_init().
9319           When initialisation is done via gst_init_get_option_group() and
9320           GOption parsing, issue a warning if the GLib thread system has not
9321           been initialised yet by the time gst_init_get_option_group() is
9322           called, as it's quite likely other GLib functions such as
9323           g_option_context_new() have been called already then, and
9324           g_thread_init() must be called before any other GLib function. The
9325           application in question must be fixed in that case, since memory
9326           corruption might happen otherwise.
9327           We issue the warning because even if the GLib folks decide to work
9328           around the problem on their end in future, this is still an issue
9329           with all GLib versions >= 2.10.0, so we should warn until we depend
9330           on a GLib version we know to be safe.
9331           Update documentation as well.
9332           Closes bug #391278.
9333
9334 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9335
9336         * tools/gst-inspect.c: (main):
9337         * tools/gst-launch.c: (main):
9338         * tools/gst-typefind.c: (main):
9339         * tools/gst-xmlinspect.c: (main):
9340           Call g_thread_init() really really early, before any other GLib
9341           function (see #342564 and recent discussion on gtk-devel-list).
9342
9343 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9344
9345         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
9346
9347         * gst/gst_private.h:
9348         * gst/gstconfig.h.in:
9349         * gst/gstinfo.h:
9350           On win32, all the __declspec stuff for symbol exporting is
9351           apparently only needed with MSVC, but doesn't work with MingW.
9352           Fixes compilation with MingW and #391909.
9353
9354 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9355
9356         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9357           Change some GST_ERROR_OBJECT that aren't really errors to
9358           GST_WARNING_OBJECT in order to reduce terminal spam.
9359
9360 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9361
9362         * tests/check/Makefile.am:
9363           disable test again, as there seem to be still race problems
9364
9365 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9366
9367         * tests/check/Makefile.am:
9368         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9369         (GST_START_TEST), (queue_suite):
9370           enable queue test again, add tests for the leaky behaviour
9371
9372 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
9373
9374         * configure.ac:
9375         * tests/examples/Makefile.am:
9376           Compile adapter test/example only if the required headers are
9377           available (fixes #391915).
9378
9379 2007-01-01  David Schleef  <ds@schleef.org>
9380
9381         * gst/gstplugin.c:
9382           Restore the previous signal handler for SIGSEGV instead of
9383           setting to default, since we may have stolen it away from
9384           someone.  (i.e., Mono)
9385
9386 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9387
9388         * docs/random/draft-missing-plugins.txt:
9389           Some small additions and clarifications.
9390
9391 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9392
9393         * gst/gstregistryxml.c: (gst_registry_save_escaped):
9394           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9395           since that can lead to random memory corruptions and crashes
9396           (may or may not be related to #383244, #386711, and #386711).
9397
9398 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9399
9400         * tests/check/.cvsignore:
9401         * tests/check/Makefile.am:
9402           sync .cvsignome and CLEANFILES
9403
9404 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9405
9406         * tests/check/Makefile.am:
9407           fix distcheck
9408
9409 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9410
9411         * docs/design/part-states.txt:
9412           two tiny additional comments
9413         
9414         * gst/gststructure.c:
9415           doc fixing
9416
9417         * tests/check/Makefile.am:
9418         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9419         (GST_START_TEST):
9420           disable test for now, unless it gets fixed
9421
9422 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9423
9424         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9425         (GST_START_TEST):
9426           fix race in underrun test
9427
9428 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9429
9430         * tests/check/elements/.cvsignore:
9431           ignore more
9432
9433         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9434         (GST_START_TEST):
9435           try to narrow test failure
9436
9437 2006-12-21  David Schleef  <ds@schleef.org>
9438
9439         * plugins/elements/gstfakesrc.c:
9440           Use g_random_int_range(), since it produces better random
9441           numbers in a range than almost-correct floating point code.
9442
9443 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9444
9445         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9446         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9447         (gst_check_teardown_sink_pad):
9448           do not automatically (de)activate pads
9449
9450         * tests/check/Makefile.am:
9451         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9452         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9453           add new, yet simple tests for queue
9454
9455         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9456         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9457         * tests/check/elements/filesrc.c: (cleanup_filesrc),
9458         (GST_START_TEST):
9459         * tests/check/elements/identity.c: (cleanup_identity):
9460           consistent pad (de)activation
9461
9462 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
9463
9464         Patch by: Sebastian Dröge  <slomo ubuntu com>
9465
9466         * libs/gst/base/gstcollectpads.c:
9467           Fix two doc typos (#387866).
9468
9469 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9470
9471         * docs/manual/advanced-dparams.xml:
9472           Fix typo (g_object_control_properties() doesn't exist).
9473
9474 2006-12-19  Edward Hervey  <edward@fluendo.com>
9475
9476         * gst/gstsegment.c: (gst_segment_set_seek):
9477         Fine tune the cases where the segment start/stop values are really
9478         updated.
9479         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9480         Add tests for the return values of gst_segment_set_seek().
9481
9482 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9483
9484         * gst/gst.c:
9485           Docs typo fix.
9486
9487         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9488         (gst_queue_init):
9489           Fix incorrect documentation and flesh it out a bit more.
9490           Set default values for the max properties on the GParamSpec as well,
9491           so it shows up correctly in gst-inspect.
9492
9493 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
9494
9495         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9496           Correct docs of queue, add more detail and crosslink it more.
9497
9498 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9499
9500         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9501           Print additional debug info when the stream isn't perfectly
9502           timestamped; don't try to use invalid durations.
9503
9504 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9505
9506         * docs/design/Makefile.am:
9507           Dist new design docs.
9508
9509 2006-12-16  Wim Taymans  <wim@fluendo.com>
9510
9511         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9512
9513         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9514         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9515         (gst_collect_pads_stop), (gst_collect_pads_event),
9516         (gst_collect_pads_chain):
9517         * libs/gst/base/gstcollectpads.h:
9518         Add refcounting to the collectpads data so we can track when it's safe
9519         to free the data. Fixes #383382.
9520
9521 2006-12-15  Wim Taymans  <wim@fluendo.com>
9522
9523         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9524         (gst_collect_pads_remove_pad):
9525         Automatically activate/deactivate pads when they are added to a
9526         started/stoped collectpads.
9527
9528 2006-12-15  Wim Taymans  <wim@fluendo.com>
9529
9530         * gst/gstelement.c: (gst_element_add_pad):
9531         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9532         * gst/gstpad.c: (gst_pad_init):
9533         Set pads to FLUSHING when they are created. Check, warn and fix when a
9534         demuxer adds an inactive pad to itself when running. Fixes #339326.
9535
9536 2006-12-15  Wim Taymans  <wim@fluendo.com>
9537
9538         * gst/gstelement.c: (gst_element_class_init),
9539         (gst_element_default_send_event), (gst_element_send_event),
9540         (gst_element_default_query), (gst_element_query):
9541         Expose default element send_event and query handling as vmethods that
9542         subclasses can chain up to.
9543
9544 2006-12-15  Wim Taymans  <wim@fluendo.com>
9545
9546         * gst/gstelement.c: (gst_element_set_state_func):
9547         Small documentation fixes.
9548
9549 2006-12-15  Wim Taymans  <wim@fluendo.com>
9550
9551         * docs/design/draft-latency.txt:
9552         Checked in draft for handling latency in pipelines.
9553
9554 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9555
9556         * Makefile.am:
9557         * gstreamer.doap:
9558         * gstreamer.spec.in:
9559           adding .doap file
9560
9561 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9562
9563         * gst/gst.c: (init_pre), (init_post):
9564           init_pre() and init_post() might be called via our GOptionGroup or
9565           from gst_init(), and we should skip both of them if we've already
9566           been initialised, otherwise we will init some things twice or add
9567           two default log functions.
9568
9569 2006-12-13  Edward Hervey  <edward@fluendo.com>
9570
9571         * docs/manual/basics-bus.xml:
9572         No, gst_main_loop does not exist. Its g_main_loop.
9573         Discovered by somebody who abused the copy-paste technique of coding :)
9574
9575 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9576
9577         * gst/gstghostpad.c:
9578           Log ghostpad debug stuff to the GST_PADS category as well rather
9579           than just to the default category.
9580
9581 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9582
9583         * configure.ac:
9584         * gst/gst.c: (init_pre):
9585           Add some basic system details such as OS and architecture
9586           to the debug output if possible, courtesy of uname().
9587
9588 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9589
9590         * docs/gst/running.xml:
9591           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9592           environment variables.
9593
9594 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9595
9596         * tests/check/gst/gstbin.c: (GST_START_TEST):
9597         It is acceptable to have a refcount of 2 or 3 at this point in the
9598         test, because the pipeline might be just posting its state_change
9599         message. The next line then waits for that message to appear using
9600         bus_poll, so that should be fine too.
9601
9602 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9603
9604         * gst/gst.c: (ensure_current_registry_forking):
9605         Ignore EINTR when reading from the child registry pipe.
9606         Explicitly ignore the return value from close, since it makes no
9607         difference.
9608
9609         * gst/gstminiobject.c: (gst_mini_object_ref),
9610         (gst_mini_object_unref):
9611         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9612
9613         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9614         When removing cached plugins, remove their features too, so they're
9615         not visible after they've disappeared.
9616
9617         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9618         In the unlikely case that we are linking pads with no parents, don't
9619         crash trying to get the non-existent parent bin.
9620
9621         * gst/parse/grammar.y:
9622         Output debug in the PIPELINE category
9623
9624 2005-03-08  Wim Taymans  <wim@fluendo.com>
9625
9626         Patch by: René Stadler <mail at renestadler dot de>
9627
9628         * gst/gstclock.c: (gst_clock_new_periodic_id):
9629         Reject invalid clock times for interval of periodic ids.
9630         Fixes ##383506.
9631
9632 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9633
9634         * gst/gstelementfactory.c: (gst_element_factory_create):
9635         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9636         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9637         * tools/gst-inspect.c: (print_element_info):
9638         Fix refcounting of gst_plugin_feature_load to match the docs. 
9639         Fixes: #380129
9640
9641 2006-12-07  Wim Taymans  <wim@fluendo.com>
9642
9643         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9644         (gst_base_sink_get_position):
9645         Improve debugging of events.
9646
9647 2006-12-07  Wim Taymans  <wim@fluendo.com>
9648
9649         Patch by: René Stadler <mail at renestadler dot de>
9650
9651         * gst/gstclock.c: (gst_clock_id_wait):
9652         Make period ids add the interval to the origial requested time instead
9653         of the possibly updated time which can be wrong when there are multiple
9654         waiters for the same id. Fixes #382592.
9655
9656         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9657         (gst_system_clock_id_wait_jitter_unlocked),
9658         (gst_system_clock_id_wait_jitter):
9659         Fix restart in the async notify thread when an async entry is added to
9660         the front of the list. Fixes #381492. 
9661
9662         * tests/check/gst/gstsystemclock.c: (store_callback),
9663         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9664         Added test for multiple async waits.
9665         Added test for async wait order.
9666
9667 2006-12-07  Wim Taymans  <wim@fluendo.com>
9668
9669         * gst/gstbin.c: (gst_bin_query):
9670         Add some more docs about the POSITION query.
9671
9672 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9673
9674         * configure.ac:
9675         Bump version nano - back to CVS.
9676
9677 === release 0.10.11 ===
9678
9679 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9680
9681         * configure.ac:
9682           releasing 0.10.11, "Love never runs on time"
9683
9684 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9685
9686         * win32/common/libgstbase.def:
9687         * win32/common/libgstreamer.def:
9688         * win32/vs8/libgstbase.vcproj:
9689         * win32/vs8/libgstcoreelements.vcproj:
9690         * win32/vs8/libgstreamer.vcproj:
9691         Fix compilation on win32 under VS8
9692         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9693         Partially fixes #381175
9694
9695 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9696
9697         * gst/gstvalue.c: (gst_value_compare_fraction):
9698         If someone is foolish enough to compare 2 fractions with denominator =
9699         0, return UNORDERED rather than aborting.
9700
9701 2006-11-28  Edward Hervey  <edward@fluendo.com>
9702
9703         * libs/gst/base/Makefile.am:
9704         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9705         (gst_data_queue_base_init), (gst_data_queue_class_init),
9706         (gst_data_queue_init), (gst_data_queue_new),
9707         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9708         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9709         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9710         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9711         (gst_data_queue_set_flushing), (gst_data_queue_push),
9712         (gst_data_queue_pop), (gst_data_queue_drop_head),
9713         (gst_data_queue_set_property), (gst_data_queue_get_property):
9714         * libs/gst/base/gstdataqueue.h:
9715         New GstDataQueue object for threadsafe queueing. Most useful for
9716         elements that need some queueing functionnality.
9717         * docs/libs/gstreamer-libs-docs.sgml:
9718         * docs/libs/gstreamer-libs-sections.txt:
9719         Insert documentation for GstDataQueue
9720         * plugins/elements/Makefile.am:
9721         * plugins/elements/gstelements.c:
9722         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9723         (gst_multi_queue_class_init), (gst_multi_queue_init),
9724         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9725         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9726         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9727         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9728         (gst_multi_queue_loop), (gst_multi_queue_chain),
9729         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9730         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9731         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9732         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9733         (wake_up_next_non_linked), (compute_next_non_linked),
9734         (single_queue_overrun_cb), (single_queue_underrun_cb),
9735         (single_queue_check_full), (gst_single_queue_new):
9736         * plugins/elements/gstmultiqueue.h:
9737         New multiqueue element, using GstDataQueue. Used for queuing multiple
9738         streams.
9739         Closes #344639 and #347785
9740
9741 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9742
9743         * docs/pwg/advanced-types.xml:
9744           add more missing type details
9745
9746         * tools/gst-run.c: (main):
9747           remove unused variable
9748
9749 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9750
9751         * docs/libs/Makefile.am:
9752         * docs/libs/gstreamer-libs.types:
9753           add types of base classes to enable gobject specific stuff in the docs
9754
9755         * docs/random/ensonic/embedded.txt:
9756           more ideas about isolating platform specific things
9757
9758 2006-11-20  Wim Taymans  <wim@fluendo.com>
9759
9760         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9761
9762         * libs/gst/check/gstcheck.h:
9763         Fix compilation and running against 0.9.4. Fixes #377332.
9764
9765 2006-11-20  Wim Taymans  <wim@fluendo.com>
9766
9767         * gst/gstsegment.c: (gst_segment_set_seek),
9768         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9769         (gst_segment_to_running_time):
9770         Fix boundary checking in to_running_time() and to_stream_time().
9771         Fixes #377183.
9772
9773         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9774         stream and running time can now be calculated for the complete
9775         clipped segment.
9776
9777 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9778
9779         * gst/gstpad.c: (gst_pad_push_event):
9780           Can't access event structure after giving away ownership of
9781           the event.
9782
9783 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9784
9785         * docs/random/ensonic/embedded.txt:
9786         * docs/random/ensonic/profiling.txt:
9787         * docs/random/ensonic/receipies.txt:
9788           more thinking
9789
9790 2006-11-13  Wim Taymans  <wim@fluendo.com>
9791
9792         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9793
9794         * gst/gstpad.c:
9795         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9796
9797 2006-11-13  Wim Taymans  <wim@fluendo.com>
9798
9799         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9800
9801         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9802         Store new length in segment duration so we don't keep on calling the
9803         potentially expensize get_size() call. Fixes #370865.
9804
9805 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9806
9807         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9808
9809         * win32/common/libgstreamer.def:
9810           Add two missing symbols (#366492).
9811
9812 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9813
9814         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9815         (gst_adapter_take_buffer):
9816         Fix format string to use all its arguments.
9817         Remove useless >= check on a guint
9818
9819 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9820
9821         * tests/examples/adapter/.cvsignore:
9822         Ignore build file as commanded by the build-bot
9823
9824 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9825
9826         * tests/examples/adapter/Makefile.am:
9827         * tests/examples/adapter/adapter_test.c: (run_test_take),
9828         (run_test_take_buffer), (run_tests), (main):
9829
9830         Add new files from the previous commit
9831
9832 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9833
9834         * Makefile.am:
9835         * configure.ac:
9836         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9837         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9838         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9839         * libs/gst/base/gstadapter.h:
9840         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9841         (GST_START_TEST), (gst_adapter_suite):
9842         * tests/examples/Makefile.am:
9843         Do some optimisation work in GstAdapter to avoid copies in more cases.
9844         It could still do slightly better by merging buffers when
9845         gst_buffer_is_span_fast is true, but is already faster. 
9846
9847         Also, avoid traversing a single-linked list to append each incoming 
9848         buffer inside the adapter.
9849
9850         Add simple test app that times the adapter behaviour in different
9851         situations, and extend the unit test to check that bytes enter and
9852         exit the adapter in their original order.
9853
9854 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9855
9856         * docs/random/draft-missing-plugins.txt:
9857           Update: use element message instead of adding a new message
9858           type to the core; don't provide GStreamer API to initiate the
9859           plugin download, just provide API to compose the strings needed
9860           and let an external libgimmestuff handle the rest.
9861
9862 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9863
9864         * tools/gst-inspect.c: (print_element_properties_info):
9865         Print a string instead of 'unknown type' for GValueArray properties
9866
9867 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9868
9869         * docs/random/draft-missing-plugins.txt:
9870         More small fixes.
9871
9872 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9873
9874         * tests/examples/typefind/typefind.c: (type_found), (main):
9875           Make typefind element example work again (#371894); add a
9876           license header.
9877
9878 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9879
9880         * docs/random/draft-missing-plugins.txt:
9881           Commit initial draft about how to deal with missing plugins,
9882           needs work (API too).
9883
9884 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9885
9886         * docs/pwg/advanced-types.xml:
9887           documents the new caps elements (see #363118)
9888
9889 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9890
9891         * gst/gstplugin.c: (gst_plugin_load_file):
9892         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9893         (gst_file_src_map_region), (gst_file_src_start):
9894         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9895         (gst_file_index_commit):
9896           Use g_strerror() instead of strerror() - we want UTF-8.
9897
9898 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9899
9900         Patch by: Peter Kjellerstedt <pkj at axis com>
9901
9902         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9903           Another printf fix (#371493).
9904
9905 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9906
9907         * tests/check/gst/gsttag.c:
9908           relicence (okay with author=company)
9909
9910 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9911
9912         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9913         (gst_pad_push_event):
9914           Enhance debug and improve docs
9915         
9916         * gst/gsturi.c:
9917           Fix docs
9918
9919 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9920
9921         * docs/random/ensonic/distributed.txt:
9922         * docs/random/ensonic/profiling.txt:
9923           more ideas
9924
9925 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9926
9927         * docs/gst/gstreamer-sections.txt:
9928           add new API and fix the build
9929           
9930         * gst/gstbin.c: (gst_bin_recalc_state):
9931         * gst/gstelement.c: (gst_element_message_full),
9932         (gst_element_get_state_func), (gst_element_set_state_func):
9933           use new API and improve logging
9934         
9935         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9936         * gst/gstutils.h:
9937           API: add function to get StateChangereturn names to improve logs 
9938
9939 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9940
9941         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9942           I'm considering shooting the next person to put strerror stuff
9943           in the translateable part of the message.
9944
9945 2006-11-03  Wim Taymans  <wim@fluendo.com>
9946
9947         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9948         Get the type and printf conversion specifiers right.
9949
9950 2006-11-03  Wim Taymans  <wim@fluendo.com>
9951
9952         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9953
9954         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9955         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9956         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9957         Some small cleanups. Improve debugging.
9958         * gst/gstpad.h:
9959         Signal all waiting threads with a broadcast instead of just one.
9960         Fixes #369942.
9961
9962 2006-11-03  Wim Taymans  <wim@fluendo.com>
9963
9964         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9965         (gst_fd_src_create):
9966         Add some debugging. 
9967         Only update fd when it's different from the old.
9968
9969 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9970
9971         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9972           Printf fixes for PPC/OSX, take two (#369366).
9973
9974 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9975
9976         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9977
9978         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9979         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9980         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9981           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9982           don't cast to long long for portability reasons, but use
9983           GLib's types instead.
9984
9985 2006-10-30  Michael Smith  <msmith@fluendo.com>
9986
9987         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9988           Get the arguments to lseek() the right way around.
9989           Fixes 367677.
9990
9991 2006-10-30  Wim Taymans  <wim@fluendo.com>
9992
9993         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9994
9995         * gst/gstinfo.h:
9996         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9997
9998 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9999
10000         Patch by: Kjartan Maraas  <kmaraas at gnome org>
10001
10002         * docs/design/part-MT-refcounting.txt:
10003         * docs/random/wtay/capsnego2-docs:
10004         * gst/gstclock.c:
10005         * gst/gstxml.c:
10006           Typo fixes (#366212).
10007
10008 2006-10-28  Wim Taymans  <wim@fluendo.com>
10009
10010         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10011
10012         * gst/gst.c:
10013         * win32/common/libgstbase.def:
10014         * win32/common/libgstreamer.def:
10015         * win32/vs8/libgstbase.vcproj:
10016         * win32/vs8/libgstcontroller.vcproj:
10017         Add needed entries in .def files.
10018         Use HAVE_UNISTD_H.
10019         Rearrange def files in vs8 solutions. Fixes #366286.
10020
10021 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
10022
10023         * win32/common/gstconfig.h:
10024           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
10025           hand-made win32 gstconfig.h. Fixes #366321.
10026
10027 2006-10-27  Wim Taymans  <wim@fluendo.com>
10028
10029         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
10030         (gst_ghost_pad_new_full):
10031         Make acceptcaps return TRUE when we don't have a target, just like
10032         setcaps does.
10033
10034 2006-10-27  Wim Taymans  <wim@fluendo.com>
10035
10036         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10037         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
10038
10039 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
10040
10041         * gst/gststructure.c: (gst_structure_id_set_value):
10042           If someone tries to set a non-UTF8 string field on a structure,
10043           don't just print a warning, but also ignore the request and do
10044           not change/add that field to the structure.
10045
10046         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10047           Test for the above.
10048
10049 2006-10-25  David Schleef  <ds@schleef.org>
10050
10051         * gst/gstinfo.c:
10052           g_hash_table_insert() needs a cast to a non-const pointer duh.
10053
10054 2006-10-25  David Schleef  <ds@schleef.org>
10055
10056         * gst/gstinfo.c:
10057         * gst/gstinfo.h:
10058           Change name parameter of _gst_debug_register_funcptr to const
10059           to reflect the constness of its use in the function as well
10060           as to quiet a gcc warning.
10061
10062 2006-10-25  Edward Hervey  <edward@fluendo.com>
10063
10064         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10065         Don't push the buffer if it's empty.
10066         Closes #363095
10067
10068 2006-10-24  Wim Taymans  <wim@fluendo.com>
10069
10070         * gst/gstevent.h:
10071         Add small comment.
10072
10073         * libs/gst/base/gstbasetransform.c:
10074         (gst_base_transform_sink_eventfunc):
10075         Debug segment values *after* updating them as this is more
10076         interesting.
10077
10078 2006-10-23  Wim Taymans  <wim@fluendo.com>
10079
10080         * docs/design/part-events.txt:
10081         Update some docs.
10082
10083         * docs/design/part-block.txt:
10084         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10085         (gst_pad_push_event):
10086         Revert BLOCKING patch, it tries to be smart without really having a
10087         clear idea what or how. So, now we discard all FLUSHING events again on
10088         a blocking pad. Should fix gnonlin again.
10089
10090 2006-10-23  Wim Taymans  <wim@fluendo.com>
10091
10092         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10093
10094         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10095         (gst_base_src_start), (gst_base_src_activate_push):
10096         Make sure size is always initialized. Fixes #364388.
10097
10098 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
10099
10100         * docs/random/ensonic/distributed.txt:
10101           add some ideas about doing distributed processing
10102
10103         * docs/random/ensonic/profiling.txt:
10104           get_rusage look promising
10105
10106 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
10107
10108         * docs/manual/basics-helloworld.xml:
10109           Add a cast in example to fix compile warning
10110
10111 2006-10-18  Wim Taymans  <wim@fluendo.com>
10112
10113         * gst/gstsegment.c: (gst_segment_set_last_stop),
10114         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10115         Relax arg checking again, -1 is allowed.
10116
10117 2006-10-18  Wim Taymans  <wim@fluendo.com>
10118
10119         * gst/gstsegment.c: (gst_segment_set_last_stop),
10120         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10121         _set_last_stop() must be with a value != -1
10122         A _TYPE_SET to -1 means seek to 0.
10123         Calc last_stop correctly for negative rates.
10124         Make sure we work with positive durations when updating a segment.
10125
10126 2006-10-18  Wim Taymans  <wim@fluendo.com>
10127
10128         * docs/design/part-live-source.txt:
10129         * gst/gstclock.h:
10130         Small docs fixes.
10131
10132 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
10133
10134         * gst/gstbuffer.h:
10135           Add an explicit cast to GstBuffer** to keep old code that added an
10136           explicit cast to GstMiniObject** for gst_mini_object_replace()
10137           compiling without warning.
10138
10139 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
10140
10141         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
10142           check for validity of dates
10143
10144 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10145
10146         * docs/gst/gstreamer-sections.txt:
10147           Forgot this one, makes gtk-doc shut up.
10148
10149 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10150
10151         Patch by: Peter Kjellerstedt <pkj at axis com>
10152
10153         * gst/gstobject.h:
10154           Don't define xmlNodePtr to gpointer if the core was built with
10155           --disable-loadsave and --disable-registry, this will break
10156           applications that want to use libxml2 but are buildling against a
10157           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
10158           instead so we don't have to mess with the libxml2 namespace
10159           (#361675).
10160
10161 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10162
10163         * gst/gstbuffer.h:
10164           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
10165           type-punned pointer warnings.
10166
10167 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
10168
10169         * gst/gstelement.h:
10170           Add casts to the correct return type to state <=> state transition
10171           macros.
10172
10173 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
10174
10175         * docs/design/part-live-source.txt:
10176           describe howto handle latency
10177         
10178         * docs/random/ensonic/profiling.txt:
10179           more ideas
10180
10181         * tools/gst-plot-timeline.py:
10182           fix log parsing for solaris, remove unused function
10183
10184 2006-10-16  Wim Taymans  <wim@fluendo.com>
10185
10186         * docs/design/part-trickmodes.txt:
10187         * gst/gstevent.c:
10188         Update some docs regarding reverse playback.
10189
10190 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10191
10192         Patch by: Marcus Granado  <mrc dot gran at gmail com>
10193
10194         * win32/vs8/grammar.vcproj:
10195           Error out with a warning if glib-genmarshal.exe is not in path,
10196           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
10197
10198 2006-10-13  Wim Taymans  <wim@fluendo.com>
10199
10200         * gst/gstsegment.c: (gst_segment_set_seek):
10201         When seeking to stop -1, set last_stop (current position) to the
10202         duration of the segment.
10203
10204 2006-10-13  Wim Taymans  <wim@fluendo.com>
10205
10206         * gst/gstelement.h:
10207         Clarify _NO_PREROLL a bit more.
10208
10209         * gst/gstevent.c:
10210         Fix docs.
10211
10212         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10213         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
10214         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
10215         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
10216         due to wrong locking order. Fixes #361769.
10217         Remove some redundant/misplaced checks in pad_block.
10218
10219         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10220         For negative rates, count backwards from the duration.
10221
10222 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10223
10224         * gst/gsterror.c: (_gst_library_errors_init):
10225           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10226           up with something better).
10227
10228 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10229
10230         * win32/vs6/libgstreamer.dsp:
10231         * win32/vs7/libgstreamer.vcproj:
10232         * win32/vs8/libgstreamer.vcproj:
10233           Don't reference glib-compat.c which is currently not used and not
10234           disted; add gstquark.c which was recently added. Fixes #361730.
10235
10236 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10237
10238         * win32/common/libgstbase.def:
10239         * win32/common/libgstcontroller.def:
10240         * win32/common/libgstreamer.def:
10241           Add gst_caps_merge() and a bunch of other recently-added functions.
10242           Fixes #361732.
10243
10244 2006-10-11  Wim Taymans  <wim@fluendo.com>
10245
10246         * docs/plugins/gstreamer-plugins.args:
10247         * docs/plugins/inspect/plugin-coreelements.xml:
10248         * docs/plugins/inspect/plugin-coreindexers.xml:
10249         Update element args.
10250
10251         * gst/gstsystemclock.c:
10252         Small comment update.
10253
10254         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10255         (gst_tee_request_new_pad), (gst_tee_release_pad),
10256         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10257         (gst_tee_sink_activate_pull):
10258         * plugins/elements/gsttee.h:
10259         Some tee loving:
10260         Add default property defines.
10261         Implement release pad function.
10262         Give properties better blubs etc.
10263         Activate pads before adding them to a running tee.
10264         Do simple buffer_alloc on the first requested pad.
10265         Post error when activation fails.
10266
10267 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10268
10269         * gst/gst.c: (ensure_current_registry_forking):
10270           Check return value of write() to make compiler happy.
10271
10272 2006-10-11  Wim Taymans  <wim@fluendo.com>
10273
10274         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10275
10276         * plugins/elements/gstqueue.c: (gst_queue_chain):
10277         Recheck queue filledness after signalling the overrun when we're about
10278         to leak downstream because we released the lock when emitting the signal
10279         and the queue could be empty again. Fixes #352345.
10280
10281 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10282
10283         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10284           Fix refcounting here too, just like we did for _new_valist() a few
10285           days ago (#357180) (thanks to René Stadler). Also remove all those
10286           'Since: 0.9' from the gtk-doc blobs.
10287
10288         * tests/check/libs/controller.c: (controller_refcount_new_list),
10289         (gst_controller_suite):
10290           Unit test for the above.
10291
10292 2006-10-10  Wim Taymans  <wim@fluendo.com>
10293
10294         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10295
10296         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10297         (gst_pad_save_thyself):
10298         Update some docs.
10299         Write pad direction in XML output. Fixes #345496.
10300
10301 2006-10-10  Wim Taymans  <wim@fluendo.com>
10302
10303         Patch by: René Stadler <mail at renestadler dot de>
10304
10305         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10306         (gst_controller_new_list), (_gst_controller_dispose),
10307         (_gst_controller_finalize), (_gst_controller_class_init):
10308         Take ref to controlled object so that it cannot disappear. 
10309         Fixes #357432.
10310
10311 2006-10-10  Wim Taymans  <wim@fluendo.com>
10312
10313         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10314         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10315         (gst_check_teardown_sink_pad):
10316         Activate/deactivate pads in setup/teardown respectively.
10317
10318 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10319
10320         Patch by: Josep Torra Valles <josep@fluendo.com>
10321
10322         * gst/Makefile.am:
10323         Cast values when making gstenumtypes.h.  This pacifies Forte
10324         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10325         in the enumeration.
10326
10327 2006-10-09  Wim Taymans  <wim@fluendo.com>
10328
10329         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10330         Rename some more @cur to @start to fix docs. 
10331
10332         * gst/gstsegment.c: (gst_segment_set_seek):
10333         Fix typo.
10334         time and start must always stay in sync as defined in design doc.
10335
10336         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10337         Rename param to fix docs.
10338
10339         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10340         Check that start and time are in sync.
10341
10342         * tests/check/pipelines/parse-launch.c:
10343         (gst_parse_test_element_change_state):
10344         Activate pad before adding to the element.
10345
10346 2006-10-09  Wim Taymans  <wim@fluendo.com>
10347
10348         * docs/design/part-qos.txt:
10349         Fix typo.
10350
10351         * gst/gstevent.c:
10352         * gst/gstevent.h:
10353         Update seek event docs regarding negative rates.
10354         Rename @cur to @start. 
10355
10356         * gst/gstsegment.c: (gst_segment_set_seek):
10357         * gst/gstsegment.h:
10358         Update set_seek docs regarding negative rates.
10359         Correctly update last_stop to @stop when dealing with negative
10360         rates.
10361         Rename @cur to @start. 
10362
10363         * tests/check/gst/gstpad.c: (GST_START_TEST):
10364         Activate pads before trying to use them.
10365
10366         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10367         (gst_segment_suite):
10368         Add simple check for segments and negative rates.
10369
10370 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
10371
10372         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10373         * gst/gsttaglist.h:
10374         * docs/gst/gstreamer-sections.txt:
10375           API: add gst_tag_list_is_empty() (#360467).
10376
10377         * tests/check/gst/gsttag.c: (GST_START_TEST):
10378           And a test case.
10379
10380 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10381
10382         * gst/gstmessage.h:
10383         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10384         a value that doesn't fit on enumeration.
10385
10386 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10387
10388         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10389         Remove local debugging system and use Gstreamer's instead.
10390
10391 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10392
10393         Patch by: Josep Torra Valles <josep@fluendo.com>
10394
10395         * common/m4/gst-error.m4:
10396         Disable warning of statement not reached on Forte.
10397         * gst/gstmessage.h:
10398         Fix warning on Forte (value doesn't fit on enumeration).
10399         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10400         Fix warning on Forte (value doesn't fit on enumeration).
10401         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10402         DEBUG macro says it takes minimum of 2 args and so Forte
10403         complains about the use with just 1 arg.
10404         * plugins/elements/gstfdsink.c:
10405         * plugins/elements/gstfdsrc.c:
10406         * plugins/elements/gstfilesink.c:
10407         * plugins/elements/gstfilesrc.c:
10408         Use correct return type for the uri handler implementations.
10409
10410         All these fix warnings in Forte.  Fixes bug #360860.
10411
10412 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
10413
10414         * gst/gstelement.h:
10415           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10416           format string, so don't use G_GNUC_PRINTF for those versions.
10417
10418 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10419
10420         * gst/gsttaglist.c: (gst_is_tag_list):
10421         * gst/gsttaglist.h:
10422           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10423
10424         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10425           Small test for the above.
10426
10427 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10428
10429         * gst/gsttaglist.h:
10430           Less tabs, more spaces.
10431
10432 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
10433
10434         * gst/gstinfo.h:
10435           Those two function declarations do actually belong there, revert
10436           commit from yesterday that turned them intro macros.
10437
10438 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10439
10440         Patch by: Josep Torra Valles <josep@fluendo.com>
10441
10442         * gst/gst.c: (gst_init_get_option_group):
10443         Fix empty declaration and type mismatch.
10444         * gst/gstbin.c: (gst_bin_change_state_func):
10445         Fix type mismatch.
10446         * gst/gstelement.c: (gst_element_continue_state),
10447         (gst_element_set_state_func), (gst_element_change_state),
10448         (gst_element_change_state_func):
10449         Fix type mismatches.
10450         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10451         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10452         Cast as appropriate.
10453         * gst/gstobject.c: (gst_class_signal_connect):
10454         Cast as appropriate.  The function pointer parameter really
10455         has the wrong type but would break API if we change it.
10456         * gst/gstquery.c:
10457         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10458         order of including string.h.
10459         * gst/gstutils.c: (gst_element_state_get_name):
10460         Remove unreachable line.
10461         * gst/gstxml.c: (gst_xml_parse_doc):
10462         Fix type mismatch.
10463         All these caught by Forte.
10464
10465 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10466
10467         Patch by: Josep Torra Valles <josep@fluendo.com>
10468
10469         * common/m4/gst-error.m4:
10470         Fixed bug #360151.
10471         We need to disable warnings on Forte for empty declarations
10472         due to gst-indent adding ;s to lines that just use macros
10473         where the macro actually doesn't need a ; at end to end
10474         statement.
10475
10476 2006-10-06  Wim Taymans  <wim@fluendo.com>
10477
10478         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10479         (gst_file_sink_close_file), (gst_file_sink_event),
10480         (gst_file_sink_render):
10481         Add some FIXME for the NEWSEGMENT handling.
10482
10483 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10484
10485         * gst/parse/grammar.y:
10486         Remove static function gst_parse_element_lock as all it does
10487         is return.  Looks like cruft from 0.8.
10488
10489 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10490
10491         Patch by: Josep Torra Valles <josep@fluendo.com>
10492
10493         * common/m4/gst-error.m4:
10494         * configure.ac:
10495         * libs/gst/net/Makefile.am:
10496         Fix a compilation issue with Forte on Solaris.  inet_aton is in
10497         libresolv.
10498
10499 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10500
10501         * gst/gstpad.c: (pre_activate):
10502         * gst/gstregistry.c: (gst_registry_scan_path_level):
10503         * gst/gstregistryxml.c: (load_plugin):
10504         * libs/gst/controller/gstcontroller.c:
10505         (gst_controlled_property_set_interpolation_mode):
10506         * libs/gst/dataprotocol/dataprotocol.c:
10507         (gst_dp_packet_from_event_1_0):
10508         * libs/gst/net/gstnetclientclock.c:
10509         (gst_net_client_clock_observe_times):
10510         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10511           Printf fixes.
10512
10513 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10514
10515         * configure.ac:
10516         * docs/gst/gstreamer-sections.txt:
10517         * gst/gstconfig.h.in:
10518         * gst/gstelement.h:
10519         * gst/gstinfo.h:
10520           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10521           whether we can use G_GNUC_PRINTF in other header files and at
10522           least check the printf format/arguments of debug messages and
10523           GST_ELEMENT_ERROR messages when the printf extension is not
10524           being used.
10525           Replace more tabs with spaces in gstinfo.h and remove two spurious
10526           function declarations in GST_DISABLE_DEBUG part with macros.
10527
10528 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10529
10530         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10531           More docs for the sync-message signal (mention that it is not
10532           emitted by default); log message structures of messages posted on
10533           the bus as well.
10534
10535 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10536
10537         * gst/gst.c: (ensure_current_registry_forking):
10538         Use a pipe pair to receive status results from the forked child, and
10539         ignore the result from waitpid. Fixes #355499
10540
10541 2006-10-02  Wim Taymans  <wim@fluendo.com>
10542
10543         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10544         (gst_ghost_pad_suite):
10545         Fix leak in check.
10546
10547 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10548
10549         * gst/gstpad.c:
10550           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10551
10552 2006-10-02  Edward Hervey  <edward@fluendo.com>
10553
10554         * docs/design/part-block.txt:
10555         Further explain the use of flushing on blocked pads.
10556         * docs/gst/gstreamer-sections.txt:
10557         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10558         (gst_pad_push_event):
10559         * gst/gstpad.h:
10560         Added new GstPadFlag : GST_PAD_BLOCKING.
10561         Adds the notion of pads really blocking, which enables to properly
10562         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10563         Fixes #358999
10564         API: gst_pad_is_blocking()
10565         API: GST_PAD_IS_BLOCKING() macro
10566         API: GST_PAD_BLOCKING GstPadFlag
10567         
10568 2006-10-02  Wim Taymans  <wim@fluendo.com>
10569
10570         Patch by: mrcgran <mrc.gran at gmail dot com>
10571
10572         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10573         Filter the proxied caps against the padtemplate if we have one.
10574
10575         * gst/gstquery.c: (gst_query_new_segment):
10576         Add include for gstinfo.h so that compilation with
10577         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10578
10579 2006-10-02  Wim Taymans  <wim@fluendo.com>
10580
10581         Patch by: Alessandro Decina  <alessandro at nnva org>
10582
10583         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10584         (gst_file_sink_set_location), (gst_file_sink_open_file),
10585         (gst_file_sink_close_file), (gst_file_sink_event),
10586         (gst_file_sink_render):
10587         Set file to NULL when closing filesink so that we can set a new filename
10588         in READY. Fixes #358613.
10589
10590 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10591
10592         Patch by: Alessandro Decina  <alessandro at nnva org>
10593
10594         * gst/gstevent.c: (_gst_event_copy):
10595           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10596           with event structures by setting the parent refcount address of the
10597           copied structure to the address of the refcount member of the newly
10598           copied event rather than the address of the refcount member of the
10599           original event. Fixes #358737.
10600
10601         * tests/check/gst/gstevent.c: (GST_START_TEST):
10602           Unit test for the above.
10603
10604 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10605
10606         * docs/design/Makefile.am:
10607           Dist some more files.
10608
10609 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10610
10611         * tests/check/libs/controller.c: (GST_START_TEST),
10612         (gst_controller_suite):
10613           Add test for the previous fix; add some more tests
10614           for correct refcounting behaviour; fix a few leaks
10615           in test cases; call gst_controller_init() at start
10616           of all tests.
10617
10618 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10619
10620         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10621         (gst_controller_set_from_list):
10622           Don't g_return_val_if_fail() on timed values with invalid timestamps
10623           inside a critical section without unlocking the mutex. Spotted by
10624           René Stadler. (#357617)
10625           Also, fix up refcounting properly: when returning an existing
10626           controller, we should increase the reference only once and not
10627           once per property and when trying to control a property again
10628           we should also increase the refcount.
10629
10630 2006-09-29  Wim Taymans  <wim@fluendo.com>
10631
10632         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10633         * libs/gst/net/gstnettimeprovider.c:
10634         (gst_net_time_provider_thread):
10635         Stop reading commands when EOF as well.
10636
10637         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10638         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10639         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10640         Unify description of the dump property.
10641
10642 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10643
10644         * tests/examples/manual/.cvsignore:
10645         OK, so it's actually cvsignore that needs changing. Stop laughing.
10646
10647 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10648
10649         * tests/examples/manual/Makefile.am:
10650         Gah, declare vars *before* using them
10651
10652 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10653
10654         * gst/gst.c: (init_pre), (scan_and_update_registry),
10655         (ensure_current_registry_nonforking),
10656         (ensure_current_registry_forking), (ensure_current_registry),
10657         (init_post), (gst_debug_help), (gst_deinit):
10658         * gst/gst_private.h:
10659         * gst/gstregistry.c: (gst_registry_finalize),
10660         (gst_registry_remove_features_for_plugin_unlocked),
10661         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10662         (gst_registry_scan_path),
10663         (_priv_gst_registry_remove_cache_plugins),
10664         (_priv_gst_registry_cleanup):
10665         * gst/gstregistry.h:
10666         Re-commit the registry changes, along with an extra fix:
10667           When a cached plugin is encountered at a different file path,
10668           update the stored path in the registry cache so that the parent
10669           process knows where it actually is now when it re-reads the registry
10670           cache. Fixes the thing that broke distcheck with the previous commit.
10671
10672         * tests/check/Makefile.am:
10673         Clean up files named 'core' too when running make clean.
10674
10675         * tests/examples/manual/Makefile.am:
10676         Set up a registry path for running these tests, and clean it properly
10677         for distcheck.
10678
10679 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10680
10681         * configure.ac:
10682         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10683         want gmodule-no-export-2.0.pc instead so that we don't drag in
10684         --export-dynamic on every project that links to GStreamer.
10685
10686         Also, make our export regex only match the start of symbols, rather 
10687         than any symbol that contains '_gst' somewhere.
10688
10689         * libs/gst/check/Makefile.am:
10690         The libgstcheck we build does however need export-dynamic, as it
10691         produces some symbols that don't match our _gst... style regex.
10692         Fixes: #318031
10693
10694 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10695
10696         * gst/gst.c: (init_pre), (scan_and_update_registry),
10697         (ensure_current_registry_nonforking),
10698         (ensure_current_registry_forking), (ensure_current_registry),
10699         (init_post), (gst_debug_help), (gst_deinit):
10700         * gst/gst_private.h:
10701         * gst/gstregistry.c: (gst_registry_finalize),
10702         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10703         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10704         (_gst_registry_cleanup):
10705         * gst/gstregistry.h:
10706           Revert previous change until I figure out why it breaks distcheck.
10707
10708 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10709
10710         * gst/gst.c: (init_pre), (scan_and_update_registry),
10711         (ensure_current_registry_nonforking),
10712         (ensure_current_registry_forking), (ensure_current_registry),
10713         (init_post), (gst_debug_help), (gst_deinit):
10714
10715           Make init_pre and init_post take the full complement of GOptionFunc
10716           args so they can return useful GErrors. Make the registry updating
10717           functions do so.
10718
10719           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10720           ensure that the registry we're about to write out doesn't contain
10721           stale information about old-deleted plugin files.
10722
10723           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10724           that deletion of plugin files is considered a registry change.
10725
10726         * gst/gst_private.h:
10727         * gst/gstregistry.c: (gst_registry_finalize),
10728         (gst_registry_remove_features_for_plugin_unlocked),
10729         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10730         (gst_registry_scan_path),
10731         (_priv_gst_registry_remove_cache_plugins),
10732         (_priv_gst_registry_cleanup):
10733         * gst/gstregistry.h:
10734         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10735         by adding _priv prefix, so that they won't appear in the global
10736         symbol table. They still do atm though because of #318031. Move the
10737         prototypes to gst_private.h
10738
10739         When removing a plugin, remove all features for that plugin too. 
10740         Fixes #340878.
10741
10742 2006-09-27  Wim Taymans  <wim@fluendo.com>
10743
10744         * docs/random/moving-plugins:
10745         Make it clear that the "compiled-in descriptions" really mean
10746         the element details.
10747
10748         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10749         (gst_base_sink_wait_preroll):
10750         Update docs.
10751
10752         * docs/libs/gstreamer-libs-sections.txt:
10753         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10754         (gst_base_src_get_range), (gst_base_src_activate_push):
10755         * libs/gst/base/gstbasesrc.h:
10756         Added function to block while waiting for PLAYING, this function
10757         is used by live sources that block on the clock.
10758         API: gst_base_src_wait_playing()
10759
10760 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10761
10762         Patch by: Peter Kjellerstedt <pkj at axis com>
10763
10764         * Makefile.am:
10765           gst-element-check.m4 is generated and should therefore be
10766           copied from the build dir rather than the source dir (#357593).
10767           'make distcheck' hasn't noticed this because we were disting
10768           the file as well, so stop doing that.
10769
10770 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10771
10772         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10773           Add some tests for gst_caps_intersect().
10774
10775         * tools/gst-launch.c: (event_loop):
10776           Print all buffering percentages we get, even the 100% one.
10777
10778 2006-09-26  Wim Taymans  <wim@fluendo.com>
10779
10780         * tools/gst-inspect.c: (print_element_properties_info),
10781         (print_signal_info):
10782         Fix printing of flags to match the look of enums.
10783
10784 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10785
10786         * gst/gstelementfactory.c:
10787           Fix typo in docs blurb.
10788
10789 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10790
10791         * gst/gsturi.c: (search_by_entry):
10792           Don't assert/crash here if a uri handler doesn't return any
10793           supported protocols. The list of protocols could be generated
10794           dynamically at runtime or at plugin registration, and an error
10795           in the underlying library shouldn't be fatal (#353301).
10796
10797 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10798
10799         * gst/gstinfo.c:
10800           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10801           (spotted by Peter Kjellerstedt).
10802
10803 2006-09-23  Wim Taymans  <wim@fluendo.com>
10804
10805         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10806
10807         * libs/gst/base/gstbasesrc.c:
10808         (gst_base_src_default_check_get_range), (gst_base_src_start),
10809         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10810         (gst_base_src_change_state):
10811         Match _start/_stop calls in the activate functions. Remove redundant
10812         _stop call from the state change function. Fixes #356910.
10813         Turn failure DEBUG into ERROR. 
10814
10815 2006-09-22  Wim Taymans  <wim@fluendo.com>
10816
10817         * docs/design/part-buffering.txt:
10818         * gst/gstmessage.c: (gst_message_new_buffering),
10819         (gst_message_parse_buffering):
10820         Update docs about buffering.
10821
10822         * docs/design/part-trickmodes.txt:
10823         Fix typo.
10824
10825 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10826
10827         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10828         (gst_controller_new_list):
10829           Ref instances when returning them again (fixes #357180)
10830
10831 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10832
10833         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10834           Don't forget to release proxy lock when there's an error.
10835
10836 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10837
10838         * gst/gstcaps.h:
10839           Add extra initialisers for Caps things, to fix some plugin warnings
10840           when using -Wextra
10841
10842 2006-09-18  Wim Taymans  <wim@fluendo.com>
10843
10844         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10845           Also set template on the internal pad so that a getcaps from the 
10846           target pad returns the template caps.
10847
10848 2006-09-18  Wim Taymans  <wim@fluendo.com>
10849
10850         * gst/gstelement.c: (gst_element_post_message),
10851         (gst_element_dispose):
10852         Use _DEBUG_OBJECT some more.
10853
10854         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10855         Avoid typechecks.
10856
10857         * tools/gst-launch.c: (main):
10858         If the toplevel element is not a GstPipeline, it must be put in a
10859         pipeline so that a bus and clock is selected.
10860
10861 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10862
10863         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10864           JITTER, RATE, and LATENCY query should be handled by the
10865           default case and not by the CONVERT query code.
10866
10867 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10868
10869         * gst/gstformat.c: (gst_format_register):
10870           Fix locking order (must take lock before using n_values).
10871
10872         * gst/gstvalue.c: (gst_value_serialize_enum),
10873         (gst_value_deserialize_enum_iter_cmp),
10874         (gst_value_deserialize_enum):
10875           Fix serialisation/deserialisation of custom registered GstFormats.
10876
10877         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10878           Unit test for custom format serialisation/deserialisation.
10879
10880 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10881
10882         * docs/pwg/building-boiler.xml:
10883         * plugins/elements/gstcapsfilter.c:
10884         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10885         section.
10886
10887 2006-09-16  Edward Hervey  <edward@fluendo.com>
10888
10889         * libs/gst/base/gstbasetransform.c:
10890         (gst_base_transform_buffer_alloc):
10891         Check if requested caps are the same as the sinks caps IF
10892         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10893         is FALSE.
10894         This fixes the renegotiation issues stated in #352827.
10895
10896 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10897
10898         * configure.ac:
10899         * docs/manual/advanced-autoplugging.xml:
10900         * tests/examples/Makefile.am:
10901         * tests/examples/manual/.cvsignore:
10902         * tests/examples/manual/Makefile.am:
10903         * tests/examples/manual/extract.pl:
10904           Extract the manual examples again like we used to do.
10905           Fix one of them.
10906
10907 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10908
10909         * win32/common/config.h:
10910           update for version
10911
10912 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10913
10914         * gst/gsterror.c:
10915           Documents how to receive errors.
10916
10917 2006-09-15  Wim Taymans  <wim@fluendo.com>
10918
10919         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10920         (event_loop), (main):
10921         Added some comments here and there.
10922         Post an application message when an interrupt is caught instead of doing
10923         an uncontrolled state change.
10924         Clean up the event loop.
10925         Handle buffering messages, pause/resume the pipeline.
10926         Make shutdown because of an interrupt more reliable.
10927
10928 2006-09-15  Wim Taymans  <wim@fluendo.com>
10929
10930         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10931         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10932         (gst_base_sink_preroll_object):
10933         Make sure that our internal state is correct when we commit our state
10934         asynchronously. This solves a race where a state change to PLAYING
10935         could cause the sink to remain blocked in preroll in some situations.
10936
10937 2006-09-15  Wim Taymans  <wim@fluendo.com>
10938
10939         * tools/gst-inspect.c: (print_element_properties_info),
10940         (print_signal_info):
10941         List flags as hex so it's easier to deal with.
10942
10943 2006-09-15  Wim Taymans  <wim@fluendo.com>
10944
10945         * docs/libs/gstreamer-libs-sections.txt:
10946         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10947         (gst_base_sink_do_sync):
10948         * libs/gst/base/gstbasesink.h:
10949         Expose logic to wait for preroll so that subclasses such as audiosink
10950         can also use this method.
10951         API: gst_base_sink_wait_preroll()
10952
10953 2006-09-15  Wim Taymans  <wim@fluendo.com>
10954
10955         * gst/gstobject.c: (gst_object_set_parent):
10956         * gst/gstpipeline.c: (do_pipeline_seek):
10957         Small cleanups in docs and code.
10958
10959         * gst/gstsegment.c: (gst_segment_clip):
10960         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10961         if stop == start and start is in the segment, no clipping should be
10962         done. Also add a test for this.
10963
10964 2006-09-15  Wim Taymans  <wim@fluendo.com>
10965
10966         * docs/design/part-buffering.txt:
10967         * docs/gst/gstreamer-sections.txt:
10968         * gst/gstmessage.c: (gst_message_new_buffering),
10969         (gst_message_parse_buffering):
10970         * gst/gstmessage.h:
10971         Added methods to create and parse BUFFERING messages.
10972         Added preliminary docs about buffering.
10973         API: gst_message_new_buffering
10974         API: gst_message_parse_buffering
10975
10976 2006-09-06  Wim Taymans  <wim@fluendo.com>
10977
10978         * gst/gstbin.c:
10979         Update documentation.
10980
10981         * gst/gstelement.c: (gst_element_class_init),
10982         (gst_element_release_request_pad), (gst_element_set_clock),
10983         (gst_element_get_index), (gst_element_add_pad),
10984         (gst_element_remove_pad), (gst_element_get_random_pad),
10985         (gst_element_send_event), (gst_element_get_query_types),
10986         (gst_element_query), (gst_element_post_message),
10987         (gst_element_message_full), (gst_element_continue_state),
10988         (gst_element_lost_state), (gst_element_save_thyself),
10989         (gst_element_restore_thyself):
10990         Documentation updates.
10991         Rename last bit of the new-pad -> pad-added signal rename.
10992         Fix the case where an element query would only work if the source
10993         pad was linked.
10994         Avoid some useless type checking in message handling.
10995
10996         * gst/gstevent.c:
10997         * gst/gstevent.h:
10998         * gst/gstutils.c:
10999         Documentation updates.
11000
11001 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11002
11003         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11004           add an INFO line for when we actually update the fd
11005
11006 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11007
11008         * configure.ac:
11009           back to TRUNK
11010
11011 === release 0.10.10 ===
11012
11013 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
11014
11015         * configure.ac:
11016           releasing 0.10.10, "Pais"
11017
11018 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
11019
11020         * docs/manual/advanced-position.xml:
11021           Fix typo in sample code.
11022
11023 2006-09-05  Wim Taymans  <wim@fluendo.com>
11024
11025         * libs/gst/net/gstnetclientclock.c: (inet_aton),
11026         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11027         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
11028         * libs/gst/net/gstnetclientclock.h:
11029         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11030         * libs/gst/net/gstnettimepacket.h:
11031         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
11032         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
11033         (gst_net_time_provider_thread), (gst_net_time_provider_new):
11034         * libs/gst/net/gstnettimeprovider.h:
11035         Make stuff compile on windows. Fixes #345295.
11036
11037 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11038
11039         * gst/gst.c: (ensure_current_registry_forking):
11040           Print better details when child was terminated by signal.
11041
11042 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11043
11044         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
11045           Print a warning rather than g_assert() if a plugin feature
11046           is a URI handler but returns no protocols (#353976).
11047
11048 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
11049
11050         * docs/random/moving-plugins:
11051         Fix two typos.         
11052
11053 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
11054
11055         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
11056           Fix locking order, handle NULL function values properly.
11057
11058         * gst/gstinfo.h:
11059           Fix docs.
11060
11061         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
11062           Initialise variable before using it and fix debug statement to
11063           print the address of the function rather than the address of the
11064           variable on the stack holding the address of the function.
11065
11066 2006-09-01  Wim Taymans  <wim@fluendo.com>
11067
11068         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
11069         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
11070         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
11071         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
11072         (gst_ghost_pad_parent_unset),
11073         (gst_ghost_pad_internal_do_activate_push),
11074         (gst_ghost_pad_internal_do_activate_pull),
11075         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11076         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11077         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11078         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
11079         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
11080         (gst_ghost_pad_new_no_target_from_template),
11081         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
11082         More cleanups.
11083         Avoid needless typechecking in macros.
11084         Since the internal pad is always present and never changes, there is
11085         no need to locking or ref when retrieving it.
11086         Improve debugging a bit.
11087         Handle link errors when setting the target. Fixes #341029.
11088
11089 2006-09-01  Wim Taymans  <wim@fluendo.com>
11090
11091         * docs/libs/gstreamer-libs-sections.txt:
11092         * docs/plugins/gstreamer-plugins-sections.txt:
11093         Fix docs some more.
11094
11095         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11096         (gst_collect_pads_event):
11097         * libs/gst/base/gstcollectpads.h:
11098         Documentation updates.
11099         Free queued buffer when removing a pad.
11100
11101 2006-08-31  Michael Smith  <msmith@fluendo.com>
11102
11103         * gst/gstutils.c: (gst_element_link_pads),
11104         (gst_element_link_pads_filtered):
11105           Ensure that we set a capsfilter to NULL if we failed to link it
11106           when doing filtered linking, to avoid criticals.
11107
11108           No need to check for unreffing srcpad, which is explicly NULLed
11109           above (a trivial code cleanup).
11110
11111 2006-08-31  Wim Taymans  <wim@fluendo.com>
11112
11113         * docs/design/part-gstghostpad.txt:
11114         Update ascii art in documentation.
11115
11116         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
11117         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
11118         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11119         (gst_ghost_pad_internal_do_activate_push),
11120         (gst_ghost_pad_internal_do_activate_pull),
11121         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11122         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11123         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
11124         (gst_ghost_pad_set_target):
11125         Small cleanups and leak fixes.
11126         Remove some checks now that the internal pad is never NULL.
11127         Fix the case where linking pads without a target would create nasty
11128         criticals. Fixes #341029.
11129         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
11130         value of _set_target().
11131
11132         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11133         (gst_ghost_pad_suite):
11134         Some more tests for creating and linking untargeted ghostpads.
11135
11136 2006-08-31  Edward Hervey  <edward@fluendo.com>
11137
11138         * docs/gst/gstreamer-sections.txt:
11139         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
11140         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11141         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
11142         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
11143         (gst_ghost_pad_new_from_template),
11144         (gst_ghost_pad_new_no_target_from_template):
11145         * gst/gstghostpad.h:
11146         Refactored *_new() functions.
11147         Templates are now used as a g_object_new() parameter.
11148         Use template in _do_getcaps() if we don't have a target.
11149         Small documentation cleanups.
11150         Added two new constructors:
11151         gst_ghost_pad_new_from_template()
11152         gst_ghost_pad_new_no_target_from_template()
11153         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11154         (gst_ghost_pad_suite):
11155         Added tests for new ghostpad instanciation functions.
11156
11157         API additions: gst_ghost_pad_new_from_template,
11158         gst_ghost_pad_new_no_target_from_template
11159
11160 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
11161
11162         * docs/random/ensonic/profiling.txt:
11163           Ideas about qos profiling.
11164
11165 2006-08-29  Wim Taymans  <wim@fluendo.com>
11166
11167         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
11168         Code cleanups.
11169         Fix memleak.
11170
11171 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
11172
11173         * gst/gstxml.c:
11174           Improve and detypofy docs.
11175
11176         * tests/check/Makefile.am:
11177         * tests/check/gst/.cvsignore:
11178         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
11179           Add a basic test suite for GstXML.
11180
11181 2006-08-29  Wim Taymans  <wim@fluendo.com>
11182
11183         * gst/gstelement.c: (activate_pads), (clear_caps),
11184         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11185         Clear the pad caps when the element shut down all of the pads and
11186         is not streaming data that could modify the caps. 
11187         Fixes #352958.
11188
11189 2006-08-28  Michael Smith  <msmith@fluendo.com>
11190
11191         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11192           Revert previous change; I misunderstood single-segment mode.
11193
11194 2006-08-28  Michael Smith  <msmith@fluendo.com>
11195
11196         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11197           Unset DISCONT on buffers when using single-segment mode.
11198
11199 2006-08-28  Wim Taymans  <wim@fluendo.com>
11200
11201         * gst/gstcaps.c: (gst_caps_merge_structure):
11202         * gst/gstcaps.h:
11203         Fix docs and indentation again.
11204
11205         * tests/check/gst/gstquery.c: (GST_START_TEST):
11206         Fix leak in tests and add some more tests.
11207
11208 2006-08-28  Edward Hervey  <edward@fluendo.com>
11209
11210         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11211         Inform GstSegment of the last stop position in order for the current
11212         segment to have a proper duration if it doesn't have a specific stop
11213         position from which a duration could be calculated.
11214         This bug was noticeable when a non-flushing, non-update new segment was
11215         followed by another segment (all buffers from the new segment were being
11216         dropped).
11217
11218 2006-08-28  Wim Taymans  <wim@fluendo.com>
11219
11220         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11221         Small comment update.
11222
11223         * plugins/elements/gstidentity.c: (gst_identity_class_init),
11224         (gst_identity_transform_ip):
11225         Drop-probability is broken, mention this in the code with a 
11226         FIXME and also in the property description.
11227         Make silent also be silent about the drop messages.
11228
11229 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
11230
11231         * docs/manual/appendix-win32.xml:
11232           Remove mention of popt, we don't depend on that any
11233           longer (#353136). Add some comments pointing out that
11234           this section is slightly outdated.
11235
11236 2006-08-28  Wim Taymans  <wim@fluendo.com>
11237
11238         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11239
11240         * gst/gstquery.c: (gst_query_new_segment):
11241         * tests/check/gst/gstquery.c: (GST_START_TEST):
11242         Initialize variables when creating a new segment query.
11243         Fixes #353121.
11244
11245 2006-08-28  Wim Taymans  <wim@fluendo.com>
11246
11247         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11248
11249         * gst/gstelement.c: (gst_element_get_bus):
11250         * tests/check/gst/gstelement.c: (GST_START_TEST):
11251         Check for NULL before _reffing the bus. Fixes #353122.
11252
11253 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
11254
11255         * docs/manual/basics-bus.xml:
11256           Docs update: fix wrong callback return value explanation; add
11257           some lines about the implicit relationship between main loop
11258           and main context; remove duplicate main loop variable declaration.
11259
11260 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
11261
11262         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11263           Don't leak caps in unit test; add a few more simple
11264           checks. 
11265
11266 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
11267
11268         * docs/gst/gstreamer-sections.txt:
11269         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11270         (gst_caps_structure_is_subset), (gst_caps_merge),
11271         (gst_caps_merge_structure):
11272         * gst/gstcaps.h:
11273         * libs/gst/base/gstbasetransform.c:
11274         (gst_base_transform_transform_caps):
11275         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11276           implement caps merging (fixes #352580)
11277
11278 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
11279
11280         * tools/Makefile.am:
11281         * tools/gst-plot-timeline.py:
11282           add debug-log plotting developer tool (#340674)
11283
11284 2006-08-23  Wim Taymans  <wim@fluendo.com>
11285
11286         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11287         (gst_pad_stop_task):
11288         Improve debugging for task functions.
11289
11290         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11291         (gst_task_start), (gst_task_pause), (gst_task_join):
11292         Make sure that the task function started and finished after a 
11293         join(). 
11294         Don't try to push the task function on the threadpool multiple
11295         times.
11296         Improve the g_warning message with some useful suggestions
11297         about how to fix the problem. 
11298
11299 2006-08-23  Wim Taymans  <wim@fluendo.com>
11300
11301         * gst/gstutils.c: (gst_pad_proxy_getcaps):
11302         Handle RESYNC correctly in _proxy_getcaps.
11303
11304 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
11305
11306         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11307         (gst_xml_parse_memory), (gst_xml_get_element):
11308           Chain up to parent class in dispose function and also
11309           unref the elements in the toplevel_elements GList.
11310           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11311           Always return a reference in gst_xml_get_element() rather
11312           than only sometimes.
11313
11314         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11315           Don't leak GstXml object.
11316
11317 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
11318
11319         * docs/gst/gstreamer-sections.txt:
11320         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11321         (gst_caps_merge):
11322         * gst/gstcaps.h:
11323         * libs/gst/base/gstbasetransform.c:
11324         (gst_base_transform_transform_caps):
11325           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11326           in a better way
11327
11328 2006-08-21  Edward Hervey  <edward@fluendo.com>
11329
11330         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11331         Implement GObject::dispose virtual method in GstXML so we can free the
11332         top_elements GList.
11333
11334 2006-08-21  Wim Taymans  <wim@fluendo.com>
11335
11336         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11337         (gst_buffer_create_sub):
11338         Copy duration/offset_end/caps when creating a subbuffer of the
11339         complete parent.
11340         Make the subbuffer read-only when we make the metadata writable for
11341         now. Fixes #351768.
11342
11343         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11344         Added check for metadata copy when creating subbuffers.
11345
11346 2006-08-21  Edward Hervey  <edward@fluendo.com>
11347
11348         * libs/gst/base/gstbasetransform.c:
11349         (gst_base_transform_buffer_alloc):
11350         Only call downstream buffer_alloc if transform element is passthrough
11351         or always_in_place. Closes #350449.
11352
11353 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11354
11355         * ChangeLog:
11356           ChangeLog surgery to add comments to previous changes
11357
11358 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11359
11360         * gst/gst.c:
11361           Add comments
11362
11363         * gst/gstpad.c: (gst_pad_set_active):
11364           Be more verbose in the log
11365
11366         * libs/gst/base/gstbasetransform.c:
11367         (gst_base_transform_transform_caps):
11368           Simplify caps to get rid of duplicates, fixes #345444
11369
11370 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11371
11372         * gst/gstvalue.c:
11373         * gst/gstvalue.h:
11374           Use these optimizations only internally.
11375
11376 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11377
11378         * gst/gstvalue.c: (gst_value_compare_list),
11379         (gst_value_compare_fraction_range),
11380         (gst_value_intersect_fraction_fraction_range),
11381         (gst_value_intersect_fraction_range_fraction_range),
11382         (gst_value_subtract_fraction_fraction_range),
11383         (gst_value_subtract_fraction_range_fraction_range),
11384         (gst_value_get_compare_func), (gst_value_compare),
11385         (gst_value_compare_with_func):
11386         * gst/gstvalue.h:
11387           Saves the expensive lookup of the compare function in many cases
11388          (#345444)
11389
11390 2006-08-18  Edward Hervey  <edward@fluendo.com>
11391
11392         * tests/check/gst/gstinfo.c: (gst_info_suite):
11393         Disable test that require gstdebug if it wasn't built in core.
11394
11395 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11396
11397         * docs/random/ensonic/logging.txt:
11398           update ideas
11399           
11400         * gst/gstinfo.c: (gst_debug_log_default):
11401           reorder fields, save some columns, add optional color codes for log
11402           levels
11403
11404 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11405
11406         * docs/random/ensonic/logging.txt:
11407           add ideas about making the logs a bit more useful
11408
11409 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11410
11411         * docs/pwg/advanced-events.xml:
11412         * docs/pwg/titlepage.xml:
11413           Update for 0.10 API (#340627). Add myself
11414           to authors list.
11415
11416 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11417
11418         * docs/libs/gstreamer-libs-docs.sgml:
11419         * docs/libs/gstreamer-libs-sections.txt:
11420         * libs/gst/check/gstbufferstraw.c:
11421           Make gstcheck stuff show up in docs (still needs to
11422           be documented properly though).
11423
11424 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
11425
11426         * docs/gst/gstreamer-sections.txt:
11427         * gst/Makefile.am:
11428         * gst/gst.c: (init_post):
11429         * gst/gst_private.h:
11430         * gst/gstquark.c: (_priv_gst_quarks_initialize):
11431         * gst/gstquark.h:
11432         * gst/gstquery.c: (gst_query_new_position),
11433         (gst_query_set_position), (gst_query_parse_position),
11434         (gst_query_new_duration), (gst_query_set_duration),
11435         (gst_query_parse_duration), (gst_query_new_convert),
11436         (gst_query_set_convert), (gst_query_parse_convert),
11437         (gst_query_new_segment), (gst_query_set_segment),
11438         (gst_query_parse_segment), (gst_query_new_seeking),
11439         (gst_query_set_seeking), (gst_query_parse_seeking):
11440         Add internal helpers for pre-registering quarks from static strings
11441         and using the quark values directly instead of looking them up when
11442         creating and parsing queries. Can be used for event construction too.
11443         Closes #350432.
11444
11445 2006-08-16  Wim Taymans  <wim@fluendo.com>
11446
11447         * gst/gstbin.c:
11448         Fix bogus docs.
11449
11450 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11451
11452         * gst/gstutils.c: (gst_util_set_value_from_string):
11453           Fix memleak (#351502).
11454
11455         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11456           Add unit test for most of gst_util_set_value_from_string()
11457           (not that one would want to encourage use of this function).
11458
11459 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11460
11461         * libs/gst/check/gstcheck.h:
11462           Use const gchar * variables in fail_unless_equals_string
11463           macro to avoid compiler warnings (and don't use tabs for
11464           indenting).
11465
11466 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11467
11468         * tools/gst-launch.c: (print_tag):
11469           More space on the left for the tag names, to cater
11470           for the 'extended comment' tag (not touching the
11471           string for the first line since it's translated).
11472
11473 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11474
11475         * libs/gst/check/gstcheck.h:
11476           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11477           print something when they fail.
11478
11479 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11480
11481         * docs/gst/gstreamer-sections.txt:
11482         * gst/gsttaglist.c: (_gst_tag_initialize):
11483         * gst/gsttaglist.h:
11484           API: add GST_TAG_EXTENDED_COMMENT (#350935).
11485           Also change merge function for GST_TAG_COMMENT to
11486           use_first.
11487
11488 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11489
11490         * gst/gstinfo.c: (gst_debug_print_object):
11491           Make GST_PTR_FORMAT print messages as well.
11492
11493         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11494         (GST_START_TEST), (gst_info_suite):
11495           More tests.
11496
11497 2006-08-14  Edward Hervey  <edward@fluendo.com>
11498
11499         * gst/gstelementfactory.c: (gst_element_register):
11500         If the GstElementClass doesn't have a GstElementDetails with all fields
11501         filled up correctly (longname, description AND author), then error out
11502         nicely instead of crashing.
11503
11504 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11505
11506         * gst/gststructure.c:
11507           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11508
11509         * gst/gstvalue.h:
11510           Expand on the difference between arrays and lists as we use them.
11511           
11512 2006-08-14  Wim Taymans  <wim@fluendo.com>
11513
11514         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11515         If the parent state change function failed, don't assume we can safely
11516         stop the source, this will be done when the pads are deactivated.
11517
11518 2006-08-14  Wim Taymans  <wim@fluendo.com>
11519
11520         * gst/gstbuffer.c:
11521         * gst/gsttask.c: (gst_task_join):
11522         Small doc updates.
11523
11524         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11525         (gst_pad_stop_task):
11526         When pad (de)activation failed for some reason, restore the old
11527         activation mode and set the pad to flushing instead of assuming the
11528         pad is deactivated.
11529         If the _task_join() failed, reinstall the task on the pad so that it can
11530         be stopped later and return an error.
11531
11532 2006-08-11  Andy Wingo  <wingo@pobox.com>
11533
11534         * configure.ac:
11535         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11536         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11537         is only for users of API that don't want to see deprecated
11538         functions in the headers; people that want to compile out
11539         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11540         CFLAGS. Fixes the build of multifdsink, or will soon..
11541
11542 2006-08-11  Wim Taymans  <wim@fluendo.com>
11543
11544         * docs/gst/gstreamer-sections.txt:
11545         Add GstClockClass vmethod docs.
11546
11547         * gst/gstcaps.h:
11548         Mark #endif with comment for associated #if
11549
11550         * gst/gstclock.c: (gst_clock_id_wait):
11551         * gst/gstclock.h:
11552         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11553         most clock implementations.
11554         Document vmethods.
11555         Flesh out docs about resolution methods.
11556         API: GstClockClass::wait_jitter
11557
11558         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11559         (gst_system_clock_async_thread),
11560         (gst_system_clock_id_wait_jitter_unlocked),
11561         (gst_system_clock_id_wait_jitter):
11562         Use base class wait_jitter variant for improved performance
11563         due to less clock polling.
11564
11565 2006-08-11  Edward Hervey  <edward@fluendo.com>
11566
11567         * gst/gst.c: (gst_init_check), (init_post):
11568         Set gst as being initialized before scanning/updating the registry,
11569         since there might be my python plugin loader that calls gst_init() and
11570         we don't want to loop back in.
11571         Closes #350879
11572
11573 2006-08-11  Wim Taymans  <wim@fluendo.com>
11574
11575         * docs/design/part-qos.txt:
11576         Bring docs in line with the code. Mostly the sign of the jitter was
11577         wrong in the docs. Fixes #349943.
11578
11579         * gst/gstclock.c:
11580         Fix the docs for the jitter.
11581
11582         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11583         (gst_event_parse_tag), (gst_event_new_buffer_size),
11584         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11585         (gst_event_new_seek), (gst_event_parse_seek),
11586         (gst_event_new_navigation):
11587         Make sure the GstStructure has no parent when creating custom
11588         events.
11589         Add some more argument checking so that we avoid 0.0 rates.
11590         Flesh out the docs for the QoS event some more.
11591
11592 2006-08-11  Wim Taymans  <wim@fluendo.com>
11593
11594         * docs/gst/gstreamer-sections.txt:
11595         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11596         (ensure_current_registry_forking), (ensure_current_registry),
11597         (parse_one_option), (parse_goption_arg), (gst_deinit),
11598         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11599         * gst/gst.h:
11600         Doc updates.
11601         Added API and command line option to disable registry forking in
11602         addition to the environment variable.
11603         Constify some static arrays.
11604         Added some more debug.
11605         Don't deinit twice.
11606         API: gst_registry_fork_is_enabled()
11607         API: gst_registry_fork_set_enabled()
11608         API: --gst-disable-registry-fork command line option
11609         Fixes #348918.
11610
11611 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11612
11613         * gst/gst.c: (gst_init):
11614           Fix typo in error message.
11615
11616 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11617
11618         * libs/gst/controller/gstcontroller.h:
11619           fix ABI size-correction
11620
11621         * tests/check/libs/gdp.c: (gst_dp_suite):
11622           make tests that use deprecated API conditional
11623
11624 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11625
11626         * docs/libs/gstreamer-libs-sections.txt:
11627         * libs/gst/controller/gstcontroller.c:
11628         (_gst_controller_get_property), (_gst_controller_set_property),
11629         (_gst_controller_init), (_gst_controller_class_init):
11630         * libs/gst/controller/gstcontroller.h:
11631         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11632         (gst_object_set_control_rate):
11633           API: add gst_object_{s,g}et_control_rate(), add private data section,
11634           fix docs
11635
11636         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11637         * libs/gst/dataprotocol/dataprotocol.h:
11638           add deprecation guards to make gtk-doc happy and allow disabling cruft
11639
11640 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11641
11642         * tests/check/Makefile.am:
11643         * tests/check/gst/.cvsignore:
11644           Let's enable the new unit test as well.
11645
11646 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11647
11648         * configure.ac:
11649         * docs/gst/gstreamer-sections.txt:
11650         * gst/gstconfig.h.in:
11651         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11652         (_gst_info_printf_extension_ptr),
11653         (_gst_info_printf_extension_segment):
11654           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11655           register that lets us easily dump GstSegments into debug
11656           logs (#350419).
11657
11658         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11659         (info_segment_format_printf_extension), (gst_info_suite):
11660           Add simple unit test that logs a bunch of different segments (not
11661           valgrinded at the moment because of leaks in
11662           gst_debug_add_log_function).
11663
11664 2006-08-09  Edward Hervey  <edward@fluendo.com>
11665
11666         * libs/gst/base/gstbasetransform.c:
11667         (gst_base_transform_buffer_alloc):
11668         Even if we can't figure out the proper format to request downstream,
11669         call buffer_alloc() downstream with the input parameters without setting
11670         the caps on the srcpad. This will force negotiation in the chain
11671         function.
11672         Closes #350449
11673
11674 2006-08-08  Edward Hervey  <edward@fluendo.com>
11675
11676         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11677         Unlinking from a pad without a target is now a perfectly valid case
11678         which should NOT raise an assertion.
11679         This case would happen if a linked ghostpad its target set to NULL after
11680         it was previously linked.
11681
11682 2006-08-08  Edward Hervey  <edward@fluendo.com>
11683
11684         * tests/check/libs/gdp.c:
11685         Also comment out the test (see below).
11686
11687 2006-08-08  Edward Hervey  <edward@fluendo.com>
11688
11689         * tests/check/libs/gdp.c: (gst_dp_suite):
11690         Use the architecture information from config.h and not gcc macros
11691         in order to properly disable a test that fails on PPC64.
11692
11693 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11694
11695         * gst/gstelement.c: (gst_element_remove_pad):
11696           Don't crash printing the warning if the pad has no parent.
11697
11698 2006-08-02  Wim Taymans  <wim@fluendo.com>
11699
11700         * libs/gst/dataprotocol/dataprotocol.c:
11701         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11702         (gst_dp_crc), (gst_dp_header_payload_length),
11703         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11704         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11705         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11706         (gst_dp_event_from_packet), (gst_dp_validate_header),
11707         (gst_dp_validate_payload):
11708         Make debug category static
11709         Constify the crc table.
11710         Do some more arg checking in public functions.
11711         Fix some docs and do some small cleanups.
11712
11713         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11714         Add some more checks to see if GDP deals with bogus input.
11715
11716 2006-07-31  Wim Taymans  <wim@fluendo.com>
11717
11718         * gst/gstvalue.c: (gst_value_compare_list):
11719         Fix GstValueList comparison code. Fixes #347293.
11720
11721         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11722         Check to test GstValueList comparison.
11723
11724 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11725
11726         * gst/gstelementfactory.c: (gst_element_factory_create):
11727         Remove unnecessary ref/unref pair
11728
11729         * gst/parse/grammar.y:
11730         Make sure to free the parse buffer on all code paths.
11731         Move a g_free up to the error handler where it's easier to see.
11732
11733         * tests/check/gst/gstevent.c: (test_event):
11734         Extending timeout for downstream travelling events to 10 seconds to
11735         hopefully avoid intermittent failure on the buildbots.
11736
11737         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11738         Don't manually set the state of the src element - it will happen as a
11739         natural consequence of the pipeline changing state, and that way it
11740         will do it in the right order too.
11741
11742 2006-07-31  Wim Taymans  <wim@fluendo.com>
11743
11744         * libs/gst/base/gstbasetransform.c:
11745         (gst_base_transform_buffer_alloc):
11746         Use OBJECT_LOCK and refcounting to get the pad caps in the
11747         buffer_alloc function because the caps could change while we are
11748         busy with them. Fixes #349105
11749
11750 2006-07-31  Wim Taymans  <wim@fluendo.com>
11751
11752         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11753         Protect _PAD_CAPS with OBJECT_LOCK.
11754
11755 2006-07-31  Wim Taymans  <wim@fluendo.com>
11756
11757         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11758         (gst_pad_get_property), (gst_pad_activate_pull),
11759         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11760         (gst_pad_set_activate_function),
11761         (gst_pad_set_activatepull_function),
11762         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11763         (gst_pad_set_getrange_function),
11764         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11765         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11766         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11767         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11768         (gst_pad_set_acceptcaps_function),
11769         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11770         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11771         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11772         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11773         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11774         (gst_pad_configure_sink), (gst_pad_configure_src),
11775         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11776         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11777         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11778         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11779         (gst_pad_send_event):
11780         Use _DEBUG_OBJECT when it makes sense.
11781         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11782         Small cleanups and code reflows.
11783         Avoid caps refcounting in _accept_caps.
11784         Refactor alloc_buffer so that the code performed on the peer is in a
11785         separate function. Also if the pad does not implement a buffer alloc
11786         function, we should still check if the pad is flushing before falling
11787         back to the default allocator.
11788
11789 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11790
11791         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11792         Make all uses of identity and fakesink have silent=true to avoid
11793         serialising every passing data structure, which is breaking tests
11794         on FC4 for some unknown reason.
11795
11796 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11797
11798         * gst/parse/Makefile.am:
11799         * gst/parse/grammar.y:
11800         * gst/parse/parse.l:
11801           Reverted previous patch as it required to bump the flex dependency to
11802           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11803
11804 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11805
11806         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11807
11808         * gst/parse/Makefile.am:
11809         * gst/parse/grammar.y:
11810         * gst/parse/parse.l:
11811           push & pop the state of the lexer for reentrant use case
11812           Fixes #349180
11813
11814 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11815
11816         * libs/gst/base/gstbasesrc.h:
11817           Note in the docs that the ::newsegment vfunc is not actually used by
11818           GstBaseSrc.
11819
11820 2006-07-28  Wim Taymans  <wim@fluendo.com>
11821
11822         * libs/gst/base/gstcollectpads.c:
11823         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11824         (gst_collect_pads_clear), (gst_collect_pads_flush),
11825         (gst_collect_pads_event), (gst_collect_pads_chain):
11826         When flushing a pad, also clear the queued buffer so that we don't
11827         accidentally use it when we shouldn't.
11828         Fix leaks by inreffing incomming buffer.
11829         Flush out queued buffers in case of errors.
11830         Fixes #347452.
11831
11832 2006-07-28  Wim Taymans  <wim@fluendo.com>
11833
11834         * docs/random/phonon-gst:
11835         Random notes about a Phonon backend.
11836
11837 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11838
11839         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11840         Extra debug output
11841         * tests/check/libs/gdp.c: (gst_dp_suite):
11842         Take a whack at fixing the ppc compile using a different define to
11843         disable the broken test.
11844
11845         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11846         Remove excess g_print()
11847
11848 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11849
11850         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11851         Oops, meant to uncomment this line too to dampen the noise a bit.
11852
11853 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11854
11855         * gst/parse/grammar.y:
11856         * gst/parse/parse.l:
11857         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11858         (GST_START_TEST), (parse_suite):
11859         Fix some of the leaks exposed by extending the parse-launch testsuite,
11860         and move the 3 I can't figure out into a separate test that won't run
11861         the pipelines unless the appropriate line is uncommented.
11862
11863 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11864
11865         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11866           Requesting 0 bytes before the end of the file should result in
11867           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11868           unit test.
11869
11870 2006-07-27  Wim Taymans  <wim@fluendo.com>
11871
11872         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11873         Fix useless assert, a uint is always positive.
11874
11875         * gst/gststructure.c: (gst_structure_nth_field_name),
11876         (gst_structure_foreach), (gst_structure_map_in_place):
11877         Check input arguments for public functions to avoid obvious crashes.
11878
11879         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11880         * plugins/elements/gstfakesink.h:
11881         Do less useless typechecking.
11882
11883 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11884
11885         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11886           Do not use mmap() by default since there are a number of error
11887           conditions that we would like to handle in a non-fatal way that
11888           will result in a SIGBUS if we use mmap(). Examples: external
11889           devices (USB harddrive, portable music player) being unplugged
11890           while in use; file on mounted CD/DVD that can't be read because
11891           the medium is partly damaged. Fixes #348455 and #348475.
11892
11893 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11894
11895         * gst/gstquery.h:
11896         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11897         rates are a gdouble
11898
11899 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11900
11901         * gst/gstregistry.c:
11902           Move big documentation comment into class section header, so that it
11903           appears in the API docs.
11904
11905 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11906
11907         * docs/gst/gstreamer-sections.txt:
11908         Oops. Commit the docs additions too for new API.
11909         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11910
11911 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11912
11913         * gst/gststructure.c: (gst_structure_id_set),
11914         (gst_structure_id_set_valist):
11915         * gst/gststructure.h:
11916         Add API for setting values into structures without performing
11917         a quark lookup, if the appropriate quark is already known.
11918
11919         API: gst_structure_id_set
11920         API: gst_structure_id_set_valist
11921
11922         * gst/parse/grammar.y:
11923         * gst/parse/parse.l:
11924         Remove some dead code shown by the coverage information.
11925         Don't throw a critical g_warning when encountering a syntax error,
11926         just warn and let the normal error path handle it.
11927
11928         * plugins/elements/gstelements.c:
11929         Bump the rank of filesink up to PRIMARY so that it is preferred over
11930         gnomevfssink for file:// sink uri's
11931
11932         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11933         (GST_START_TEST), (run_delayed_test),
11934         (gst_parse_test_element_base_init),
11935         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11936         (gst_parse_test_element_change_state),
11937         (gst_register_parse_element), (parse_suite):
11938         Beef up the tests for parse syntax to check that more error cases
11939         fail as they are supposed to. Increases the test coverage a bit.
11940
11941 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11942
11943         * docs/manual/basics-elements.xml:
11944           Fix gst_element_link() example.
11945
11946         * gst/gstutils.c:
11947           Mention in API docs that one should usually gst_bin_add()
11948           elements to a bin or pipeline before doing the linking.
11949           
11950 2006-07-26  Wim Taymans  <wim@fluendo.com>
11951
11952         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11953         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11954         Avoid function call for known types by keeping the buffer and
11955         subbuffer GType global.
11956
11957         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11958         Random silly optimisations in read() path.
11959
11960 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11961
11962         * tools/gst-launch.c: (main):
11963           If the top-level of the parse is a normal bin, it doesn't do the
11964           right logic to run as a top-level element, so place it inside a
11965           pipeline.
11966
11967 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11968
11969         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11970           Remove superfluous g_object_notify() calls, GObject does
11971           that for us automatically.
11972
11973 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11974
11975         * gst/gstinfo.h:
11976           on Win32, use dllspec to export the debug category symbols
11977
11978 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11979
11980         * gst/gsttaglist.c: (_gst_tag_initialize):
11981           Allow more than one GST_TAG_IMAGE per taglist.
11982
11983 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11984
11985         * gst/gstminiobject.c:
11986           update docs
11987         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11988         (gst_fd_src_create):
11989           log recurring events at LOG level
11990           add more debug for when the fd gets set
11991
11992 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11993
11994         * gst/gstparse.c: (gst_parse_launch):
11995           Also remove reentrance checks if flex is MT safe (#348179)
11996          Fix my empty ChangeLog entry below
11997
11998 2006-07-21  Andy Wingo  <wingo@pobox.com>
11999
12000         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
12001
12002         * libs/gst/check/Makefile.am
12003         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
12004         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
12005         * libs/gst/check/gstbufferstraw.h:
12006         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
12007         functions, thus proving I am still a GStreamer haxor. OK I wrote
12008         them a long time ago, but anyways.
12009
12010 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
12011
12012         * configure.ac:
12013         * gst/gstparse.c: (gst_parse_launch):
12014           Check for flex version and omit mutex if we have a MT save flex
12015           (fixes #348179)
12016
12017 2006-07-21  Wim Taymans  <wim@fluendo.com>
12018
12019         * gst/gstparse.c: (gst_parse_launch):
12020         Protect recursive calls to _parse with a recursive mutex
12021         and busy flag.
12022
12023 2006-07-21  Wim Taymans  <wim@fluendo.com>
12024
12025         * tests/check/gst/gstpad.c: (GST_START_TEST):
12026         Fix leak in test.
12027
12028 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
12029
12030         * gst/gstparse.c: (gst_parse_launch):
12031           Do not hang on recursive usage of gst_parse_launch()
12032
12033 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
12034
12035         * gst/gsttaglist.c:
12036           Add some more docs, comments and FIXME 0.11s here and there
12037           and also fix some typos.
12038
12039 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
12040
12041         * gst/gstsegment.h:
12042           Convert tabs to spaces for better readability. 
12043
12044 2006-07-20  Edward Hervey  <edward@fluendo.com>
12045
12046         * tests/check/libs/gdp.c: (gst_dp_suite):
12047         the test_buffer test fails at line 140 on ppc64 at the following
12048         check:
12049         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
12050                 GST_BUFFER_FLAG_IN_CAPS),
12051                 "GST_BUFFER_IN_CAPS flag should have been copied !");
12052         See bug #348114 for more details.
12053
12054 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
12055
12056         * docs/pwg/advanced-scheduling.xml:
12057         * gst/gstpad.c:
12058           Fix typos (#348000).
12059
12060 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
12061
12062         * docs/pwg/intro-basics.xml:
12063           Fix wrong links (#347927).
12064
12065 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
12066
12067         * gst/gstregistry.h:
12068         * gst/gstregistryxml.c: (load_feature),
12069         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
12070         * win32/common/config.h:
12071           make --disable-index work (#342564)
12072
12073 2006-07-18  Wim Taymans  <wim@fluendo.com>
12074
12075         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12076
12077         * gst/Makefile.am:
12078         * gst/gsttrace.h:
12079         The attached patch adds two missing defines to gsttrace.h when tracing
12080         is disabled.  It also corrects one existing define.
12081         Fixes #347756.
12082
12083 2006-07-17  Wim Taymans  <wim@fluendo.com>
12084
12085         * docs/gst/gstreamer-sections.txt:
12086         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
12087         * gst/gst.h:
12088         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
12089         Add two functions to check and change the SIGSEGV behaviour
12090         when loading plugins.
12091         Don't mess with the SIGSEGV handler when we were told not to.
12092         Fixes #347794.
12093         API: gst_segtrap_is_enabled
12094         API: gst_segtrap_set_enabled
12095
12096 2006-07-14  Wim Taymans  <wim@fluendo.com>
12097
12098         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12099         * tests/check/elements/filesrc.c: (GST_START_TEST):
12100         Revert fix for regression in #347408 after release.
12101
12102 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
12103
12104         Patch by: Antoine Tremblay <hexa00 at gmail com>
12105
12106         * gst/gstutils.c: (gst_element_unlink):
12107           Free iterator when done (#347311).
12108
12109         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12110           And add a test case for this.
12111
12112 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
12113
12114         * configure.ac:
12115         Bump nano back to CVS
12116
12117 === release 0.10.9 ===
12118
12119 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
12120
12121         * configure.ac:
12122           releasing 0.10.9, "On the road again"
12123
12124 2006-07-13  Wim Taymans  <wim@fluendo.com>
12125
12126         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12127         * tests/check/elements/filesrc.c: (GST_START_TEST):
12128         Revert pull-0 fix for release. Disable check. Fixes #347408.
12129
12130 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12131
12132         * libs/gst/dataprotocol/dataprotocol.c:
12133         (gst_dp_event_from_packet_1_0):
12134           Fixes #347337: failure to deserialize event packets with
12135           empty payload (only event type)
12136
12137 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12138
12139         * gst/Makefile.am:
12140           do not install a .c file in the header directory
12141
12142 2006-07-13  Edward Hervey  <edward@fluendo.com>
12143
12144         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12145         GhostPad no longer implicitely use the padtemplates of the targets.
12146         Fixes #347384
12147
12148 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
12149
12150         * gst/gstvalue.c: (gst_value_compare_list),
12151         (gst_value_compare_array), (_gst_value_initialize):
12152         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12153         Make GstValueArray comparison be order dependent as designed.
12154         Add checks for value lists and value array comparisons.
12155         Fixes #347221
12156
12157 2006-07-11  Edward Hervey  <edward@fluendo.com>
12158
12159         * gst/gstbin.c: (activate_pads),
12160         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
12161         (gst_bin_change_state_func):
12162         (de)activate src pads before calling state_change on the childs.
12163         This is to avoid the case where a src ghostpad is blocked (holding the
12164         stream lock), which would block the deactivation of the ghostpad's
12165         target pad.
12166         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
12167         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
12168         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
12169         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12170         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12171         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12172         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12173         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
12174         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
12175         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12176         (gst_ghost_pad_class_init),
12177         (gst_ghost_pad_internal_do_activate_push),
12178         (gst_ghost_pad_internal_do_activate_pull),
12179         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12180         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12181         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
12182         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
12183         GhostPads now create their internal GstProxyPad at creation (and not
12184         when they're linked, as it was being done previously).
12185         The internal and target pads are linked straight away.
12186         The data will also travel through the other pad in order to make
12187         pad blocking and probes non-hackish (the probe/block now really happens
12188         on the GhostPad and not on the target).
12189         * gst/gstpad.c: (gst_pad_set_blocked_async),
12190         (gst_pad_link_prepare), (gst_pad_push_event):
12191         Remove previous ghostpad cruft.
12192         * gst/gstutils.c: (gst_pad_add_data_probe),
12193         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12194         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12195         (gst_pad_remove_buffer_probe):
12196         Remove previous ghost pad cruft.
12197         Added more detailed debug statements.
12198         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12199         Fix the testsuite for refcounting changes.
12200         The comments about who has references were correct, but the refcount
12201         being checked wasn't the same (!?!).
12202
12203         Fixes #341029
12204
12205 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
12206
12207         * docs/gst/gstreamer-sections.txt:
12208         * gst/gstconfig.h.in:
12209         More docs for configuration options, add docs to gtk-doc.
12210
12211 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
12212
12213         * gst/Makefile.am:
12214         * gst/gstconfig.h.in:
12215         * win32/common/config.h:
12216         Fix build when disabling tracing (fixes #344016). Also start to document
12217         the defines that disable the sub-systems.
12218
12219 2006-07-10  Edward Hervey  <edward@fluendo.com>
12220
12221         * gst/gst.c: (ensure_current_registry_forking):
12222         let's make valgrind happy...
12223
12224 2006-07-09  Wim Taymans  <wim@fluendo.com>
12225
12226         * gst/gstelement.c: (activate_pads),
12227         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12228         Better pad activation code: Reset the collect value too on resync.
12229         Add some comments.
12230
12231 2006-07-09  Wim Taymans  <wim@fluendo.com>
12232
12233         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12234         (gst_pad_activate_push):
12235         Use some more macros where it makes sense.
12236         Allow pad mode switching instead of asserting. When a pad
12237         is activated in one mode and we activate it in another, 
12238         deactivate it first before activating it in a different mode.
12239         Fixes #329198.
12240
12241 2006-07-08  Andy Wingo  <wingo@pobox.com>
12242
12243         * tools/gst-launch.c (main): Handle err == NULL.
12244
12245         * gst/gst.c (init_post, ensure_current_registry)
12246         (ensure_current_registry_forking)
12247         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12248         factoring out the registry scanning into separate functions. Don't
12249         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12250         Better environment var name/interface suggestions accepted.
12251
12252 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12253
12254         * gst/gstobject.c: (gst_object_set_name_default),
12255         (gst_object_set_name):
12256           Random micro-optimisation: don't use a hash table
12257           with strings as keys and the usual strdup/strcmp
12258           involved, but rather just use the GQuark of the
12259           type name as key, since it needs to be looked up
12260           anyway to get the type name string.
12261
12262         * tests/check/gst/gstobject.c: (GST_START_TEST):
12263           Fix various leaks.
12264
12265 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12266
12267         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12268         (gst_bin_iterate_all_by_interface):
12269           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12270           GTypes are gulongs and thus the top 4 bytes might be cut
12271           off on some platforms when doing GPOINTER_TO_INT, leading
12272           to invalid GTypes and bad things happening (see RH bug #179654).
12273           Also add a check to make sure the type passed in is really
12274           an interface type.
12275
12276 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12277
12278         * .cvsignore:
12279           Ignore more.
12280
12281 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12282
12283         * Makefile.am:
12284         * configure.ac:
12285         * gst-element-check.m4:
12286         * gst-element-check.m4.in:
12287           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12288           instead of the unversioned gst-inspect (#324176, #168659).
12289
12290 2006-07-06  Wim Taymans  <wim@fluendo.com>
12291
12292         * gst/gstmessage.h:
12293         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12294         warnings.
12295
12296 2006-07-06  Wim Taymans  <wim@fluendo.com>
12297
12298         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12299         (gst_base_src_wait), (gst_base_src_update_length),
12300         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12301         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12302         (gst_base_src_loop), (gst_base_src_start),
12303         (gst_base_src_activate_pull):
12304         Update docs.
12305         blocksize == 0 now means the default blocksize when working in push
12306         based mode.
12307         Remove some pointless asserts in _wait function.
12308         Fix offset/length calculations and EOS handling. We can now pull 0
12309         bytes as well, which is allowed.
12310         use _check_get_range() to decide if we can operate in _pull based
12311         mode.
12312         Fix refcounting leak when check_get_range function was not 
12313         implemented.
12314         API GstBaseSrc::blocksize range can be 0 too now (default)
12315
12316         * tests/check/elements/filesrc.c: (GST_START_TEST),
12317         (filesrc_suite):
12318         Added check to test _get_range() behaviour.
12319
12320 2006-07-06  Wim Taymans  <wim@fluendo.com>
12321
12322         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12323         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12324         (gst_pad_pull_range):
12325         * gst/gstpad.h:
12326         Lots of comments and docs added to the pad functions.
12327         Flesh out the expected behaviour of the get_range() functions.
12328
12329 2006-07-06  Wim Taymans  <wim@fluendo.com>
12330
12331         * gst/gstbus.h:
12332         * gst/gstclock.h:
12333         * gst/gstevent.h:
12334         * gst/gstiterator.h:
12335         * gst/gstpad.h:
12336         * gst/gstplugin.h:
12337         * gst/gsttask.h:
12338         Remove comma at end of enumerator list. 
12339
12340 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
12341
12342         * win32/common/libgstbase.def:
12343         * win32/common/libgstdataprotocol.def:
12344         * win32/common/libsgtreamer.def:
12345         Add new exported functions.
12346
12347 2006-07-05  Wim Taymans  <wim@fluendo.com>
12348
12349         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12350         Add some more docs here and there.
12351
12352 2006-07-05  Wim Taymans  <wim@fluendo.com>
12353
12354         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12355         (gst_base_sink_loop), (gst_base_sink_get_position):
12356         When operating in pull mode update the offset so that we
12357         read sequentially.
12358
12359 2006-07-05  Wim Taymans  <wim@fluendo.com>
12360
12361         * gst/gstregistryxml.c: (read_string):
12362         Avoid strdup. (will happen in libxml, but hey!)
12363
12364         * gst/gsturi.c:
12365         Add some more docs.
12366
12367 2006-07-05  Wim Taymans  <wim@fluendo.com>
12368
12369         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12370         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12371         (gst_buffer_suite):
12372         No point in checking if the size of the subbuffer > 0, the
12373         code handles it correclty as demonstrated by unit test.
12374         Also add a unit test for the zero sized _new_and_alloc and
12375         _copy. Fixes #346663.
12376
12377 2006-07-05  Wim Taymans  <wim@fluendo.com>
12378
12379         * libs/gst/base/gstbasetransform.c:
12380         (gst_base_transform_prepare_output_buffer),
12381         (gst_base_transform_buffer_alloc),
12382         (gst_base_transform_handle_buffer):
12383         Make sure the buffer we pass to transform_ip has a refcount of
12384         1 and thus is writable. Fixes #343196
12385
12386 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
12387
12388         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12389         (gst_file_src_init), (gst_file_src_set_property),
12390         (gst_file_src_get_property), (gst_file_src_map_region):
12391         * plugins/elements/gstfilesrc.h:
12392         Add "sequential" property, off by default, to use madvise and hint
12393         to the kernel that sequential access is desired.
12394         Touch all retrieved pages by default to ensure they are pulled
12395         into memory. (Closes #345720)
12396
12397 2006-07-03  Wim Taymans  <wim@fluendo.com>
12398
12399         * docs/design/part-block.txt:
12400         * docs/design/part-dynamic.txt:
12401         Small docs updates.
12402
12403 2006-07-03  Wim Taymans  <wim@fluendo.com>
12404
12405         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12406         (gst_caps_unref), (gst_static_caps_get),
12407         (gst_caps_append_structure):
12408         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12409         Use GSlice when the glib we build against is >= 2.10
12410
12411 2006-07-03  Wim Taymans  <wim@fluendo.com>
12412
12413         * gst/gstelement.c: (gst_element_pads_activate):
12414         Small cleanup in pad activation code.
12415
12416 2006-07-03  Wim Taymans  <wim@fluendo.com>
12417
12418         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12419
12420         * gst/gst-i18n-app.h:
12421         * gst/gst-i18n-lib.h:
12422         * tools/gst-inspect.c: (print_signal_info):
12423         The attached patch will make the inclusion of gettext.h unconditional in
12424         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12425         libintl.h in tools/gst-inspect.c.
12426         This allows use of --disable-nls again and fixes #344642.
12427
12428 2006-07-03  Edward Hervey  <edward@fluendo.com>
12429
12430         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12431         Implement pad blocking on events according to part-block.txt.
12432         More comments on behaviour.
12433         * tests/check/gst/gstevent.c: (test_event):
12434         Send event to peer pad of blocked pad (else it will block).
12435
12436 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12437
12438         * libs/gst/check/gstcheck.c: (gst_check_message_error),
12439         (gst_check_run_suite):
12440           if we get the wrong message, give us the types as string
12441         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12442           Fix a translatable
12443         * tests/check/elements/filesrc.c: (GST_START_TEST):
12444           add a test for trying to open a non-existing file
12445
12446 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12447
12448         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12449           add a test for adding self
12450
12451 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12452
12453         * libs/gst/check/gstcheck.h:
12454           add some assert_ as alias for fail_unless_*
12455         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12456           increase test coverage
12457
12458 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12459
12460         * Makefile.am:
12461           include lcov.mak for lcov coverage generation
12462         * tools/Makefile.am:
12463           add to CLEANFILES
12464
12465 2006-07-02  Edward Hervey  <edward@fluendo.com>
12466
12467         * tests/check/elements/.cvsignore:
12468         moaping
12469
12470 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12471
12472         * configure.ac:
12473           don't set CFLAGS and friends for gcov, done from GST_GCOV now
12474         * tests/check/Makefile.am:
12475           clean up gcov files
12476
12477 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12478
12479         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12480           remove gst_caps_simplify; it was not declared and not used
12481           and deprecated in 0.8
12482
12483 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12484
12485         * docs/faq/gst-uninstalled:
12486           don't put empty paths on PYTHONPATH
12487         * docs/gst/gstreamer-sections.txt:
12488           remove some symbols that are not there
12489
12490 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12491
12492         * gst/gstcaps.c: (gst_caps_compare_structures):
12493           whitespace fixes
12494         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12495         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12496           add more tests
12497
12498 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12499
12500         * libs/gst/dataprotocol/Makefile.am:
12501           build dataprotocol test by linking to the lib, instead of
12502           compiling the source, so we get coverage
12503         * tests/check/Makefile.am:
12504         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12505         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12506           add a test for filesrc
12507
12508 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12509
12510         * tests/check/gst/gststructure.c: (GST_START_TEST),
12511         (gst_structure_suite):
12512           Push coverage from 59.04% to 70.00%
12513
12514 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12515
12516         * tests/check/Makefile.am:
12517           gst-inspect every element; this makes sure that we also get
12518           coverage on element's get/set functions
12519
12520 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12521
12522         * configure.ac:
12523           set CFLAGS and friends to -O0 if gcov is being used
12524           add GCOV LIBS
12525         * gst/Makefile.am:
12526         * libs/gst/base/Makefile.am:
12527         * libs/gst/check/Makefile.am:
12528         * libs/gst/controller/Makefile.am:
12529         * libs/gst/dataprotocol/Makefile.am:
12530         * libs/gst/net/Makefile.am:
12531         * plugins/elements/Makefile.am:
12532         * plugins/indexers/Makefile.am:
12533           add makefile rules to generate gcov data and clean up
12534         * tests/check/Makefile.am:
12535           add a coverage target that generates an html overview
12536           of coverage data
12537
12538 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12539
12540         * tests/check/elements/fakesink.c:
12541         * tests/check/elements/fakesrc.c:
12542         * tests/check/elements/fdsrc.c:
12543         * tests/check/elements/identity.c:
12544         * tests/check/generic/sinks.c: (gst_sinks_suite):
12545         * tests/check/generic/states.c:
12546         * tests/check/gst/gst.c:
12547         * tests/check/gst/gstabi.c:
12548         * tests/check/gst/gstbin.c:
12549         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12550         * tests/check/gst/gstbus.c: (gst_bus_suite):
12551         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12552         * tests/check/gst/gstelement.c:
12553         * tests/check/gst/gstevent.c: (gst_event_suite):
12554         * tests/check/gst/gstghostpad.c:
12555         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12556         * tests/check/gst/gstmessage.c: (gst_message_suite):
12557         * tests/check/gst/gstminiobject.c:
12558         * tests/check/gst/gstobject.c:
12559         * tests/check/gst/gstpad.c:
12560         * tests/check/gst/gstpipeline.c:
12561         * tests/check/gst/gstplugin.c:
12562         * tests/check/gst/gstquery.c: (gst_query_suite):
12563         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12564         * tests/check/gst/gststructure.c:
12565         * tests/check/gst/gstsystemclock.c:
12566         * tests/check/gst/gsttag.c:
12567         * tests/check/gst/gsttask.c: (gst_task_suite):
12568         * tests/check/gst/gstutils.c:
12569         * tests/check/gst/gstvalue.c:
12570         * tests/check/libs/adapter.c:
12571         * tests/check/libs/basesrc.c:
12572         * tests/check/libs/collectpads.c:
12573         * tests/check/libs/controller.c:
12574         * tests/check/libs/gdp.c: (gst_dp_suite):
12575         * tests/check/libs/gstnetclientclock.c:
12576         * tests/check/libs/gstnettimeprovider.c:
12577         * tests/check/libs/libsabi.c: (libsabi_suite):
12578         * tests/check/libs/typefindhelper.c:
12579         * tests/check/pipelines/cleanup.c:
12580         * tests/check/pipelines/parse-launch.c:
12581         * tests/check/pipelines/simple-launch-lines.c:
12582         * tests/check/pipelines/stress.c: (stress_suite):
12583           use the new macro
12584
12585 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12586
12587         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12588         * libs/gst/check/gstcheck.h:
12589           create a macro and function so that the simple unit test
12590           case can be just one macro to create main()
12591
12592 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12593
12594         * gst/gstbin.c: (gst_bin_restore_thyself):
12595         * gst/gstxml.c: (gst_xml_make_element):
12596           Fix deserialisation from XML. Set parent manually
12597           instead of using gst_bin_add(), since gst_bin_add()
12598           will unlink all pads of the element being added.
12599           Fixes #341667.
12600
12601 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12602
12603         Patch by: Peter Kjellerstedt <pkj at axis com>
12604
12605         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12606           Fix missing g_strdup() and double free when using the
12607           --gst-plugin-load command line option (#346097).
12608
12609 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12610
12611         * gst/gstinfo.c:
12612           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12613
12614         * libs/gst/net/gstnetclientclock.c:
12615         * libs/gst/net/gstnettimeprovider.c:
12616           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12617
12618 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12619
12620         * docs/manual/advanced-dataaccess.xml:
12621           Fix buffer probe example compilation in
12622           ADM (#345708).
12623         
12624 2006-06-22  Edward Hervey  <edward@fluendo.com>
12625
12626         * gst/gstelement.c: (gst_element_pads_activate):
12627         We need to deactivate src pads first and then sink pads.
12628         The reason is the src pads might be blocking while holding the streaming
12629         lock, so we need to deactivate them first so that deactivating the sink
12630         pads doesn't block (since it will require the streaming lock).
12631
12632 2006-06-22  Wim Taymans  <wim@fluendo.com>
12633
12634         * libs/gst/base/gstbasetransform.c:
12635         (gst_base_transform_buffer_alloc):
12636         Forgot to remove two unneeded unrefs.
12637         Simplify a check _is_equal allready checks the obvious case.
12638
12639 2006-06-22  Wim Taymans  <wim@fluendo.com>
12640
12641         * docs/design/part-block.txt:
12642         Some docs about what pad_block should do.
12643
12644 2006-06-22  Wim Taymans  <wim@fluendo.com>
12645
12646         * gst/gstcaps.c: (gst_caps_replace):
12647         Fix crasher when passed NULL. Doc clarification.
12648         Optimize for the trivial case.
12649
12650         * gst/gstpipeline.c: (gst_pipeline_change_state):
12651         Small cleanups.
12652
12653         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12654         Small documentation cleanup.
12655
12656         * libs/gst/base/gstbasetransform.c:
12657         (gst_base_transform_buffer_alloc):
12658         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12659         is what we need and it avoids a whole lot of redundant 
12660         refcount operations.
12661
12662 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12663
12664         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12665
12666         * docs/manual/advanced-dataaccess.xml:
12667           Fix 'Embedding static elements' section to use
12668           GST_PLUGIN_DEFINE_STATIC (#345607).
12669
12670 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12671
12672         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12673           Attempt to 'fix' spuriously failing test case: it seems like the
12674           timeout of half a second is simply too small when the system is under
12675           load otherwise, and the timeout doesn't really seem to serve any
12676           particular purpose here. Give the pipeline a few seconds to preroll
12677           first, and then give it another half a second to go from PAUSED to
12678           PLAYING and marshal the message into the main thread.
12679
12680 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12681
12682         * tools/gst-feedback-m.m:
12683           Don't only use unversioned tools, try versioned tools as well
12684           (#345086).
12685
12686 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12687
12688         * gst/gstbus.c: (gst_bus_class_init):
12689           Fix some typos, make docs more explicit.
12690
12691 2006-06-20  Wim Taymans  <wim@fluendo.com>
12692
12693         * tests/check/gst/gstghostpad.c: (block_callback),
12694         (GST_START_TEST), (gst_ghost_pad_suite):
12695         Added some more ghostpad tests, mainly blocking
12696         and probes.
12697
12698 2006-06-16  Wim Taymans  <wim@fluendo.com>
12699
12700         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12701         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12702         (gst_file_sink_event), (gst_file_sink_render):
12703         * plugins/elements/gstfilesink.h:
12704         Check if we can seek in the file instead of assuming
12705         we always can. Post an error when we are asked to seek in a
12706         non-seekable file (like a fifo). Fixes #343312.
12707         Some cleanups.
12708
12709 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12710
12711         * tools/gst-launch.1.in:
12712           Un-garble (fourcc) bit in filtered caps section.
12713
12714 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12715
12716         * docs/manual/advanced-autoplugging.xml:
12717         * docs/manual/basics-helloworld.xml:
12718         * docs/manual/highlevel-components.xml:
12719           Don't leak bus reference in sample code.
12720
12721 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12722
12723         * autogen.sh:
12724           Add default for new --enable-plugin-docs switch.
12725
12726         * configure.ac:
12727           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12728           Fixes #344039.
12729
12730         * docs/Makefile.am:
12731           Use new ENABLE_PLUGIN_DOCS conditional.
12732
12733 2006-06-14  Wim Taymans  <wim@fluendo.com>
12734
12735         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12736         Make it clear with a FIXME and a real define what the #if 0
12737         previously disabled.
12738
12739 2006-06-14  Wim Taymans  <wim@fluendo.com>
12740
12741         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12742         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12743         * libs/gst/base/gstbasetransform.c:
12744         (gst_base_transform_sink_eventfunc):
12745         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12746         Don't randomly and silently reset a segment when the format 
12747         changes as this is a bug somewhere upstream. Fixes #330379.
12748
12749 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12750
12751         Patch by: Wouter Paesen  <wouter at kangaroot net>
12752
12753         * libs/gst/controller/gstcontroller.c:
12754         (gst_controlled_property_new):
12755           Fix controlling of float properties (#344849).
12756
12757         * tests/check/libs/controller.c:
12758         (gst_test_mono_source_get_property),
12759         (gst_test_mono_source_set_property),
12760         (gst_test_mono_source_class_init), (GST_START_TEST):
12761           While we're at it, add some float stuff to unit test.
12762
12763 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12764
12765         * docs/README:
12766         * docs/images/gdp-header.svg:
12767           add a gdp image
12768         * docs/libs/Makefile.am:
12769         * docs/libs/gdp-header.png:
12770         * libs/gst/dataprotocol/dataprotocol.c:
12771           add it to the API docs
12772         * docs/manual/intro-motivation.xml:
12773           fix typo
12774
12775 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12776
12777         * gst/gst.c: (scan_and_update_registry), (init_post):
12778           If the fork()'ed child process can't write the updated registry cache
12779           file to disk for some reason, make it exit with a failure exit code,
12780           so that the parent can then re-scan the plugins itself and update the
12781           registry structures in memory and work with that (rather than failing
12782           when creating elements because seemingly no plugins are available).
12783           Refactor registry scanning code into separate function for this and
12784           also separate fork() and non-fork() code paths. Fixes #344748.
12785
12786 2006-06-13  Wim Taymans  <wim@fluendo.com>
12787
12788         * docs/manual/advanced-dataaccess.xml:
12789         Fix wrong PluginDesc. Fixes #344755.
12790
12791 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12792
12793         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12794           Fix silly bug that prevented us from creating
12795           ~/.gstreamer-0.10 and writing the registry in one
12796           go (the first call to g_mkstemp() would overwrite the
12797           placeholder in the template string, so the second call
12798           to g_mkstemp() after creating the missing directory
12799           would then error out with 'invalid argument').
12800
12801 2006-06-13  Edward Hervey  <edward@fluendo.com>
12802
12803         * gst/gst.c: (init_post):
12804         Free string.
12805
12806 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12807
12808         * gst/glib-compat-private.h:
12809         * gst/glib-compat.c:
12810         * gst/glib-compat.h:
12811         * gst/gstvalue.c: (gst_value_serialize_flags):
12812           remove GLib 2.6 compatibility code
12813
12814 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12815
12816         * gst/parse/Makefile.am:
12817           Fix build with 'make -j N' even more (#340016).
12818
12819 2006-06-12  Wim Taymans  <wim@fluendo.com>
12820
12821         * docs/gst/gstreamer-sections.txt:
12822         Fix docs.
12823
12824 2006-06-12  Wim Taymans  <wim@fluendo.com>
12825
12826         * gst/gstsegment.c: (gst_segment_set_duration),
12827         (gst_segment_set_last_stop), (gst_segment_set_seek),
12828         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12829         (gst_segment_to_running_time), (gst_segment_clip):
12830         Use G_UNLIKELY to help the compiler a bit.
12831
12832 2006-06-12  Wim Taymans  <wim@fluendo.com>
12833
12834         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12835
12836         * gst/gstevent.c: (gst_event_get_type):
12837         * gst/gstmessage.c:
12838         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12839         (gst_pad_push):
12840         constify quark registration strings. Fixes #344115
12841         Avoid unneeded type checking is _pad_push() by internally
12842         calling gst_pad_chain_unchecked().
12843
12844 2006-06-12  Wim Taymans  <wim@fluendo.com>
12845
12846         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12847         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12848         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12849         (gst_buffer_is_span_fast), (gst_buffer_span):
12850         Init _type for consistency.
12851         Use _FLAGS macro to avoid type check.
12852         Avoid unneeded type checks in subbufer code.
12853
12854 2006-06-12  Wim Taymans  <wim@fluendo.com>
12855
12856         * gst/gst.c: (gst_debug_help):
12857         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12858         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12859         (gst_plugin_feature_list_free):
12860         * gst/gstregistry.c: (gst_registry_add_plugin),
12861         (gst_registry_add_feature), (gst_registry_plugin_filter),
12862         (gst_registry_feature_filter), (gst_registry_find_plugin),
12863         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12864         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12865         * gst/gstregistryxml.c: (load_feature),
12866         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12867         * gst/gstminiobject.c: (gst_mini_object_unref),
12868         (gst_mini_object_replace), (gst_value_mini_object_free),
12869         (gst_value_mini_object_copy):
12870         Use _CAST macros to avoid unneeded type checking.
12871         Added some more G_UNLIKELY.
12872
12873 2006-06-12  Wim Taymans  <wim@fluendo.com>
12874
12875         * gst/gstbuffer.h:
12876         Avoid unneeded type checking.
12877         API: GST_BUFFER_IS_DISCONT
12878
12879         * gst/gstminiobject.h:
12880         Avoid type check in flag accessor.
12881
12882         * gst/gstelementfactory.h:
12883         * gst/gstplugin.h:
12884         * gst/gstpluginfeature.h:
12885         Add _CAST macros.
12886         API: GST_ELEMENT_FACTORY_CAST
12887         API: GST_PLUGIN_CAST
12888         API: GST_PLUGIN_FEATURE_CAST
12889
12890 2006-06-12  Wim Taymans  <wim@fluendo.com>
12891
12892         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12893         (gst_object_unref):
12894         Add G_UNLIKELY in type registration.
12895         Avoid type check in _ref/_unref since that is also
12896         done in glib.
12897
12898 2006-06-12  Wim Taymans  <wim@fluendo.com>
12899
12900         * gst/gsterror.c: (gst_g_error_get_type):
12901         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12902         (gst_static_pad_template_get_type):
12903         * gst/gsttaglist.c: (gst_tag_list_get_type):
12904         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12905         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12906         * gst/gsturi.c: (gst_uri_handler_get_type):
12907         * gst/gstvalue.c: (gst_date_get_type):
12908         * gst/gstxml.c: (gst_xml_get_type):
12909         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12910         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12911         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12912         Add G_UNLIKELY in type registration.
12913
12914 2006-06-12  Wim Taymans  <wim@fluendo.com>
12915
12916         * tools/gst-inspect.c: (print_signal_info):
12917         Properly print enum values.
12918
12919 2006-06-12  Wim Taymans  <wim@fluendo.com>
12920
12921         * gst/gstinfo.c: (gst_debug_set_active),
12922         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12923         * gst/gstinfo.h:
12924         Add some G_[UN]LIKELY.
12925         Maintain __gst_debug_min to avoid formatting the arguments of
12926         debug messages that will be dropped anyway to avoid a lot of 
12927         overhead from the debugging system.
12928
12929 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12930
12931         * po/POTFILES.in:
12932         * po/POTFILES.skip:
12933           add missing files containing translatable strings, tell intltool about
12934           one exception
12935
12936 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12937
12938         * tests/check/libs/.cvsignore:
12939         add test-binary to ignore list
12940
12941 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12942
12943         * docs/libs/gstreamer-libs-docs.sgml:
12944         reorder (put dp into a chapter) and indent
12945
12946 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12947
12948         * configure.ac:
12949           back to HEAD
12950
12951 === release 0.10.8 ===
12952
12953 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12954
12955         * configure.ac:
12956           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12957
12958 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12959
12960         * gst/gst.c: (init_post):
12961           move pid declaration to declaration block
12962
12963 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12964
12965         * gst/gst.c: (init_post):
12966           use _exit() instead of exit() in our forked child; this ensures
12967           that none of the registered exit handlers from whatever is using
12968           GStreamer get executed.  This fixes gnome-mixer-applet failing
12969           to load, because ORBit would shut down.
12970           Spotted by: Edward Hervey  <edward@fluendo.com>
12971           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12972           Fixes #344474
12973
12974 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12975
12976         * configure.ac:
12977           back to TRUNK
12978
12979 === release 0.10.7 ===
12980
12981 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12982
12983         * configure.ac:
12984           releasing 0.10.7, "Soepeke, ik zie ou"
12985
12986 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12987
12988         * configure.ac:
12989         * po/af.po:
12990         * po/az.po:
12991         * po/bg.po:
12992         * po/ca.po:
12993         * po/cs.po:
12994         * po/de.po:
12995         * po/en_GB.po:
12996         * po/fr.po:
12997         * po/it.po:
12998         * po/nb.po:
12999         * po/nl.po:
13000         * po/ru.po:
13001         * po/sq.po:
13002         * po/sr.po:
13003         * po/sv.po:
13004         * po/tr.po:
13005         * po/uk.po:
13006         * po/vi.po:
13007         * po/zh_CN.po:
13008         * po/zh_TW.po:
13009         * win32/common/config.h:
13010           0.10.6.2 prerelease
13011
13012 2006-06-07  Wim Taymans  <wim@fluendo.com>
13013
13014         * gst/gstindex.c: (gst_index_gtype_resolver):
13015         * tools/gst-xmlinspect.c: (print_plugin_info):
13016         Fix leak spotted by coverity checker. Fixes #343827
13017         Fix another other leak found by paolo borelli.
13018
13019 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13020
13021         * libs/gst/dataprotocol/dataprotocol.c:
13022         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13023         (gst_dp_version_get_type), (gst_dp_init),
13024         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
13025         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
13026         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
13027         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
13028         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
13029         (gst_dp_packetizer_free):
13030         * libs/gst/dataprotocol/dataprotocol.h:
13031           API: add a GstDPPacketizer object, and create/free functions
13032           API: add GstDPVersion enum
13033           Add 1.0 event function that uses the string serialization
13034           Serialize more useful buffer flags
13035           Fixes #343988
13036
13037 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13038
13039         * tests/check/Makefile.am:
13040         * tests/check/gst/gstabi.c:
13041         * tests/check/gst/struct_ppc64.h:
13042         * tests/check/libs/libsabi.c:
13043         * tests/check/libs/struct_ppc64.h:
13044           add ppc64 structure sizes
13045
13046 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13047
13048         * tests/check/Makefile.am:
13049         * tests/check/gst/gstabi.c:
13050         * tests/check/gst/struct_x86_64.h:
13051         * tests/check/libs/libsabi.c:
13052         * tests/check/libs/struct_x86_64.h:
13053           generate and add structure size lists for x86_64
13054
13055 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13056
13057         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
13058         * libs/gst/check/gstcheck.h:
13059           factor out the method from tests that checks size of structures,
13060           and add code to generate the header containing these sizes
13061         * tests/check/gst/gstabi.c: (GST_START_TEST):
13062         * tests/check/gst/struct_i386.h:
13063         * tests/check/libs/libsabi.c: (GST_START_TEST):
13064         * tests/check/libs/struct_i386.h:
13065           use it
13066
13067 2006-06-06  Michael Smith  <msmith@fluendo.com>
13068
13069         * gst/gstsegment.h:
13070           Don't use c++-style comments, fixes #343929
13071
13072 2006-06-05  Edward Hervey  <edward@fluendo.com>
13073
13074         * gst/gst.c:
13075         plugin_paths is not used if we build without registry support.
13076
13077         * gst/gstsegment.c: (gst_segment_copy): 
13078         _copy() was always returning NULL...
13079
13080 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13081
13082         * libs/gst/dataprotocol/dataprotocol.c:
13083         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13084         (gst_dp_packet_from_event):
13085           factor out CRC code
13086
13087 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13088
13089         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
13090           make sure we unset caps
13091
13092 2006-06-02  Michael Smith  <msmith@fluendo.com>
13093
13094         * libs/gst/check/gstcheck.c: (gst_check_init),
13095         (gst_check_chain_func):
13096         * libs/gst/check/gstcheck.h:
13097           Add a cond/mutex to the check support lib, signal this whenever we
13098           add to the buffers list. This will allow tests to not busy-wait on
13099           the buffer-list.
13100
13101 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13102
13103         * libs/gst/dataprotocol/dataprotocol.c:
13104         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13105         (gst_dp_packet_from_event):
13106           factor out some common header init code
13107
13108 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13109
13110         * docs/libs/gstreamer-libs-sections.txt:
13111         * docs/libs/tmpl/gstdataprotocol.sgml:
13112         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
13113         * libs/gst/dataprotocol/dataprotocol.h:
13114           API: make gst_dp_crc() public
13115
13116 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
13117
13118         * plugins/indexers/gstindexers.c: (plugin_init):
13119         conditionally register fileindexer (fixes #343598)
13120
13121 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
13122
13123         * gst/gsttagsetter.h:
13124         Can't cast ifaces to a class
13125
13126         * libs/gst/net/gstnetclientclock.h:
13127         * libs/gst/net/gstnettimeprovider.h:
13128         * plugins/elements/gstfakesink.h:
13129         * plugins/elements/gstfakesrc.h:
13130         * plugins/elements/gstfdsink.h:
13131         * plugins/elements/gstfdsrc.h:
13132         * plugins/elements/gstfilesink.h:
13133         * plugins/elements/gstfilesrc.h:
13134         * plugins/elements/gstidentity.h:
13135         * plugins/elements/gstqueue.h:
13136         * plugins/elements/gsttee.h:
13137         * plugins/indexers/gstfileindex.c:
13138         * plugins/indexers/gstmemindex.c:
13139         * tests/old/examples/plugins/example.h:
13140         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
13141
13142 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13143
13144         * libs/gst/dataprotocol/dataprotocol.c:
13145         (gst_dp_header_from_buffer):
13146           make sure we zero the whole ABI-compatible area
13147
13148 2006-06-01  Wim Taymans  <wim@fluendo.com>
13149
13150         Patch by: Alessandro Decina <alessandro at nnva dot org>
13151
13152         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
13153         Make sure the EOS flag is cleared from pads after a flush
13154         or stop. Fixes #343538.
13155
13156         * tests/check/libs/collectpads.c: (GST_START_TEST),
13157         (gst_collect_pads_suite):
13158         Added test for collectpads reusage after EOS.
13159
13160 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
13161
13162         * gst/gst.c:
13163          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
13164         * win32/common/libgstbase.def:
13165          export gst_collect_pads_set_flushing
13166         * win32/common/libgstreamer.def:
13167          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
13168          gst_value_fraction_multiply
13169         * win32/vs6/gst_inspect.dsp:
13170          add a link to intl.lib
13171
13172 2006-05-30  Wim Taymans  <wim@fluendo.com>
13173
13174         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13175         (gst_collect_pads_chain):
13176         Handle the case where a pad is removed from the collection
13177         that could cause the other pads to become collectable.
13178
13179 2006-05-30  Wim Taymans  <wim@fluendo.com>
13180
13181         * gst/gstelement.c:
13182         Clarify the use of _release_request_pad() and
13183         _get_request_pad() a bit better.
13184
13185         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
13186         (gst_adapter_take_buffer):
13187         Fix some doc and comment typos.
13188
13189 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13190
13191         * docs/gst/gstreamer-sections.txt:
13192         * docs/libs/gstreamer-libs-sections.txt:
13193           add declared symbols
13194
13195 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
13196
13197         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13198         Add debug that can be enabled using a #define at the top of the file,
13199         for dumping stats about how late/early we were when waking up from
13200         waiting on the clock.
13201
13202 2006-05-30  Wim Taymans  <wim@fluendo.com>
13203
13204         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
13205         When rebuilding the pad list, don't leak the previous list.
13206
13207 2006-05-30  Wim Taymans  <wim@fluendo.com>
13208
13209         Patch by: Lutz Mueller <lutz at topfrose dot de>
13210
13211         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13212         (gst_base_src_get_query_types), (gst_base_src_update_length):
13213         Publish supported query types.
13214         Update last_stop field in get_range mode so the position
13215         query works. Fixes #342321.
13216
13217 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
13218
13219         * docs/gst/gstreamer-sections.txt:
13220         * gst/gsttaglist.c: (_gst_tag_initialize):
13221         * gst/gsttaglist.h:
13222           API: add GST_TAG_PREVIEW_IMAGE (#343341).
13223
13224 2006-05-30  Wim Taymans  <wim@fluendo.com>
13225
13226         Patch by: Alessandro Decina <alessandro at nnva dot org>
13227
13228         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13229         Unlock mutex when removing an unknown pad.
13230         Fixes #343334.
13231
13232         * tests/check/Makefile.am:
13233         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13234         (push_event), (setup), (teardown), (GST_START_TEST),
13235         (gst_collect_pads_suite), (main):
13236         Added collecpads check, disabled for now as check crashes for
13237         some reason.
13238
13239 2006-05-29  Wim Taymans  <wim@fluendo.com>
13240
13241         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13242         Don't leak pads lists.
13243
13244 2006-05-29  Wim Taymans  <wim@fluendo.com>
13245
13246         * docs/libs/gstreamer-libs-sections.txt:
13247         * libs/gst/base/gstcollectpads.c:
13248         (gst_collect_pads_set_flushing_unlocked),
13249         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13250         (gst_collect_pads_stop):
13251         * libs/gst/base/gstcollectpads.h:
13252         API: gst_collect_pads_set_flushing()
13253         Added api to set the pads to flushing, useful for seeking
13254         code in elements using collectpads.
13255         Clear segment when receiving a flush.
13256
13257 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
13258
13259         * gst/gst.c: (add_path_func), (init_post):
13260           Don't scan registry paths passed via --gst-plugin-path immediately
13261           (will crash, because absolutely nothing is set up and no types are
13262           registered etc.); do this later in init_post(). Fixes #343057.
13263
13264 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13265
13266         * gst/gst.c: (init_post):
13267           if we have fork, fork while reading/rebuilding the registry
13268           so the parent doesn't take the hit of having all plugins loaded
13269           in memory.  Fixes #342777.
13270         * configure.ac:
13271           Check if we have fork()
13272         * win32/common/config.h.in:
13273           no fork() on win32
13274
13275 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13276
13277         * plugins/elements/gstelements.c:
13278         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13279         (gst_file_src_init), (gst_file_src_set_property),
13280         (gst_file_src_get_property), (gst_file_src_start):
13281         * plugins/elements/gstfilesrc.h:
13282           API: GstFileSrc::use-mmap
13283
13284         Add a use-mmap property to enable easier testing of all code paths.
13285         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13286         in the absence of gnomevfssrc. (Closes #340501)
13287
13288 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13289
13290         * tools/gst-inspect.c:
13291         Add missing include, removes warning of ngettext not being defined on
13292         some arches.
13293
13294 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13295
13296         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13297         Handle NULL input and output pointers silently as a failed conversion,
13298         rather than g_warnings.
13299
13300 2006-05-25  Wim Taymans  <wim@fluendo.com>
13301
13302         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13303         Initialize variable before using. Fixes #342820.
13304
13305 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
13306
13307         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13308           Fix off-by-one bug that would only allow peeks of N-1 bytes
13309           from the start even if the buffer to typefind on contains
13310           in fact N bytes of data (makes vorbis typefinding from a
13311           vorbis identification header buffer work).
13312
13313         * tests/check/Makefile.am:
13314         * tests/check/libs/.cvsignore:
13315         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13316         (gst_typefindhelper_suite), (main), (foobar_typefind),
13317         (plugin_init):
13318           Add very basic unit test for gst_type_find_helper_for_buffer()
13319           that checks for the problem fixed above.
13320
13321 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13322
13323         * tools/gst-inspect.c: (print_interfaces),
13324         (print_element_properties_info), (print_element_list), (main):
13325           add more translatable strings
13326
13327 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
13328
13329         Patch by: Julien Moutte  <julien at moutte net>
13330
13331         * docs/gst/gstreamer-sections.txt:
13332           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13333           
13334         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13335         (gst_fake_sink_preroll):
13336         * plugins/elements/gstfakesink.h:
13337           API: Add new GstFakeSink::preroll-handoff signal (#337100).
13338
13339 2006-05-23  Wim Taymans  <wim@fluendo.com>
13340
13341         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13342         * gst/gstpad.h:
13343         Added _CUSTOM error and success GstFlowReturn that can be
13344         used be elements internally. 
13345         Added macro to check for SUCCESS flowreturns.
13346         API: GST_FLOW_CUSTOM_SUCCESS
13347         API: GST_FLOW_CUSTOM_ERROR
13348         API: GST_FLOW_IS_SUCCESS
13349
13350         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13351         Added check for GstFlowReturn sanity.
13352
13353 2006-05-23  Wim Taymans  <wim@fluendo.com>
13354
13355         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13356
13357         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13358         (gst_collect_pads_event):
13359         clear/reset segment info in FLUSH_STOP.
13360         Fixes #336929.
13361
13362 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
13363
13364         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13365         (gst_collect_pads_check_collected):
13366         Flush queued buffer on _stop(), fixes playing again (#342454)
13367
13368 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13369
13370         * tests/check/gst/gststructure.c: (GST_START_TEST),
13371         (gst_structure_suite):
13372           add a test for a complete structure
13373
13374 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13375
13376         * docs/faq/developing.xml:
13377         * docs/faq/faq.xml:
13378         * docs/faq/troubleshooting.xml:
13379         * docs/faq/using.xml:
13380           Some minor FAQ updates that won't change the fact that
13381           our FAQ is badly structured, full of information hardly
13382           anyone new to GStreamer needs to know and lacking lots
13383           of information people constantly ask for.
13384           
13385 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
13386
13387         * gst/gstpad.c: (gst_pad_set_caps):
13388           Short-circuit gst_pad_set_caps if setting the existing
13389           caps pointer again, and avoid printing debug and 
13390           reffing/unreffing the caps.
13391
13392         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13393           There's actually no need to set the caps before pushing -
13394           the acceptcaps method will handle it anyway.
13395
13396 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13397
13398         * docs/gst/gstreamer-sections.txt:
13399         * win32/common/libgstreamer.def:
13400         * gst/gstutils.c: (gst_element_seek_simple):
13401         * gst/gstutils.h:
13402           API: add gst_element_seek_simple() (#342238).
13403
13404 2006-05-18  Edward Hervey  <edward@fluendo.com>
13405
13406         * gst/gsttypefind.c: (gst_type_find_get_type):
13407         * gst/gsttypefind.h:
13408         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13409         registered for GstTypeFind pointers. This allows wrapping the structure
13410         in bindings (i.e. gst-python).
13411
13412 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13413
13414         * gst/gsttagsetter.c:
13415           Docs additions and fixes (see #339918).
13416
13417 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
13418
13419         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13420         The caps intersection algorithm can produce multiple copies of the
13421         caps. Until that is fixed, we need to simplify the result to be
13422         sure whether the allowed caps are fixed or not.
13423
13424         * plugins/elements/gstqueue.c: (gst_queue_init),
13425         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13426         (gst_queue_push_one):
13427         Proxied buffer alloc should not set the caps on the source pad.
13428         When pushing buffers, we always accept the caps change that triggers.
13429         This prevents negotiation errors caused by caps changing mid-stream 
13430         and then being refused on our source pad (because upstream is now
13431         refusing those caps).
13432
13433 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13434
13435         * tests/examples/helloworld/helloworld.c: (main):
13436           Must plug audioconvert and audioresample between decoder
13437           and audio sink.
13438
13439 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
13440
13441         * gst/gstregistryxml.c: (read_string), (load_pad_template),
13442         (load_feature), (load_plugin):
13443         Allow empty strings for some of the plugin fields so we don't 
13444         drop valid plugin entries that were written out correctly
13445         (Fixes #341479)
13446
13447 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
13448         
13449         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13450           Use g_remove and g_rename instead of remove and rename that don't 
13451           handle utf8 characters. rename was failing for users who had specific
13452           characters in their name then the registry was built at each 
13453           gstreamer init.
13454         * win32/vs6/gst_inspect.dsp:
13455         * win32/vs6/gst_launch.dsp:
13456         * win32/vs6/libgstbase.dsp:
13457         * win32/vs6/libgstcoreelements.dsp:
13458         * win32/vs6/libgstreamer.dsp:
13459           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
13460           build of libgstreamer and clean unused libraries in projects link 
13461           settings.
13462
13463 2006-05-17  Edward Hervey  <edward@fluendo.com>
13464
13465         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13466         The queue is not responsible for pushing an EOS when receiving a fatal
13467         flow error. It's up to the real element driving the pipeline to do that.
13468
13469 2006-05-16  Edward Hervey  <edward@fluendo.com>
13470
13471         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13472         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13473         buffer returned a fatal error. It should just send an EOS and stop
13474         its task.
13475         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13476         when pushing buffers on the queue and will be able to handle the event.
13477
13478 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
13479
13480         * docs/manual/basics-bins.xml:
13481         * docs/manual/basics-init.xml:
13482           Fix typos and minor errors in sample code (#341856).
13483
13484 2006-05-16  Wim Taymans  <wim@fluendo.com>
13485
13486         * docs/design/part-qos.txt:
13487         Fix indexes in formulas to make more sense.
13488
13489 2006-05-15  Wim Taymans  <wim@fluendo.com>
13490
13491         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13492         Don't report POSITION based on clock time if sync is
13493         disabled in a sink.
13494
13495 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
13496
13497         * gst/gstobject.h:
13498           Add cast to make compiler happy - refcount variable was a gint
13499           in GstObject but is a guint in GObject and g_atomic_int_get()
13500           wants a gint *.
13501
13502 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13503
13504         * gst/parse/Makefile.am:
13505           chain commands using &&, which also makes parallel make work
13506
13507 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
13508
13509         * docs/gst/gstreamer-sections.txt:
13510         * gst/gstevent.c:
13511         * gst/gstevent.h:
13512         * gst/gstmessage.h:
13513           Minor docs fixes.
13514
13515 === release 0.10.6 ===
13516
13517 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
13518
13519         * configure.ac:
13520           releasing 0.10.6, "Take the cannoli"
13521
13522 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13523
13524         * tools/gst-launch.c: (print_tag):
13525           Fix use of uninitialized variable in the hypothetical
13526           case that some broken plugin creates a GST_TAG_IMAGE
13527           tag containing a NULL buffer (#341667).
13528
13529 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13530
13531         * tools/gst-launch.c: (print_tag):
13532           Print something more intelligible for image tags when
13533           using the -t switch (#341556).
13534
13535 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13536
13537         * Makefile.am:
13538           updates for win32
13539         * configure.ac:
13540           define GST_MAJORMINOR so we have it available in win32/common/config.h
13541           Possibly remove it from our Makefile.am files later
13542         * win32/common/config.h:
13543         * win32/common/config.h.in:
13544           added GST_MAJORMINOR
13545         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13546         * win32/common/gstversion.h:
13547           updated
13548
13549 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13550
13551         * win32/MANIFEST:
13552           Update win32 files listing.
13553         * win32/common/gstversion.h:
13554           Add GST_MAJORMINOR definition.
13555         * win32/common/libgstreamer.def:
13556           Add new exported functions.
13557           
13558 2006-05-12  Michael Smith  <msmith@fluendo.com>
13559
13560         * gst/gstplugin.c: (gst_plugin_load_file):
13561           If an so file has no plugin entry point, unload the module.
13562
13563 2006-05-11  Wim Taymans  <wim@fluendo.com>
13564
13565         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13566         (gst_queue_set_property):
13567         Don't forget to signal the _chain or _loop function 
13568         when the queue size or thresholds change since that might
13569         cause them to make progres again.
13570
13571 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13572
13573         * gst/gstclock.c: (gst_clock_class_init):
13574         * gst/gstindex.c: (gst_index_class_init):
13575         * gst/gstobject.c: (gst_object_class_init):
13576         * gst/gstpad.c: (gst_pad_class_init):
13577         * gst/gstpipeline.c: (gst_pipeline_class_init):
13578         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13579         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13580         * libs/gst/base/gstbasetransform.c:
13581         (gst_base_transform_class_init):
13582         * libs/gst/net/gstnetclientclock.c:
13583         (gst_net_client_clock_class_init):
13584         * libs/gst/net/gstnettimeprovider.c:
13585         (gst_net_time_provider_class_init):
13586         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13587         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13588         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13589         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13590         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13591         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13592         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13593         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13594         * plugins/elements/gsttee.c: (gst_tee_class_init):
13595         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13596         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13597           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13598
13599 2006-05-11  Wim Taymans  <wim@fluendo.com>
13600
13601         * gst/gstbuffer.c: (_gst_buffer_initialize):
13602         Register subbufer along with the buffer type so that
13603         it does not accidentally gets registered from N
13604         different streaming threads in a non threadsafe way.
13605
13606 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13607
13608         * gst/gstbuffer.h:
13609         * gst/gstevent.h:
13610         * gst/gstmessage.h:
13611           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13612           gst_event_ref() and gst_message_ref() functions again
13613           (ugly hack, please do fix if there's a better way besides
13614           overrides.txt, which doesn't seem to work).
13615
13616 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13617
13618         * libs/gst/check/gstcheck.h:
13619           add an assert for setting state to avoid lots of repetitive code
13620           in the future
13621
13622 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13623
13624         * gst/gstvalue.c: (gst_value_serialize_flags):
13625           fix a leak if no flags are set
13626         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13627           fix leak in tests
13628
13629 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13630
13631         * docs/manual/basics-pads.xml:
13632           Expand a bit on caps and filtered links and update
13633           examples that were still using the no longer existing
13634           gst_pad_link_filtered() (#338206).
13635
13636 2006-05-10  Wim Taymans  <wim@fluendo.com>
13637
13638         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13639         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13640         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13641         (gst_collect_pads_stop):
13642         * libs/gst/base/gstcollectpads.h:
13643         No need to call _stop in _finalize.
13644         Iterate the main pad list in _finalize.
13645         Added some more debug.
13646         Free lists and data in the right order.
13647         Also free data whem doing _remove_pad when stopped for
13648         backward compatibility protect ::started with PAD_LOCK as
13649         well.
13650
13651 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13652
13653         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13654         (gst_structure_parse_value):
13655           add some comments
13656           rename a method so that it actually says what it does better
13657
13658 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13659
13660         * gst/gstevent.c: (_gst_event_initialize):
13661         * gst/gstformat.c: (_gst_format_initialize):
13662           make sure some essential types used by events are registered
13663           as part of gst_init()
13664         * gst/gstvalue.c: (gst_value_serialize_flags):
13665           if no flags are set, serialize them to a value that represents NONE
13666           so that deserializing them works
13667         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13668           add tests for serialization and deserialization of flags
13669
13670 2006-05-10  Wim Taymans  <wim@fluendo.com>
13671
13672         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13673         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13674         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13675         (gst_collect_pads_event), (gst_collect_pads_chain):
13676         Update docs.
13677         Better debug info.
13678         Catch and return errors from the collect function
13679         Refuse data on eos pads.
13680
13681 2006-05-10  Edward Hervey  <edward@fluendo.com>
13682
13683         * gst/gstinterface.h:
13684         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13685         GInterface type checking.
13686         They were previously using non-defined macros.
13687
13688 2006-05-09  Wim Taymans  <wim@fluendo.com>
13689
13690         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13691         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13692         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13693         (gst_collect_pads_start), (gst_collect_pads_stop),
13694         (gst_collect_pads_peek), (gst_collect_pads_pop),
13695         (gst_collect_pads_available), (gst_collect_pads_read),
13696         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13697         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13698         (gst_collect_pads_chain):
13699         * libs/gst/base/gstcollectpads.h:
13700         Clean up the mess that is collectpads, add comments and
13701         FIXMEs where needed.
13702         Maintain a separate pad list so we can add pads while
13703         collecting the other ones. For this we need a new separate 
13704         lock (see comics).
13705         Fix memory leak in finalize.
13706         Refactor some weird code to set/unset pad flushing flags, mark
13707         with comments.
13708         Don't crash in _available, _read, _flush when we're EOS.
13709
13710         * tests/check/libs/.cvsignore:
13711         Ignore adapter check binary.
13712
13713 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13714
13715         * gst/gstindex.c: (gst_index_resolver_get_type):
13716         * plugins/elements/gstfakesink.c:
13717         (gst_fake_sink_state_error_get_type):
13718         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13719         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13720         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13721           Const-ify GEnumValue arrays.
13722
13723 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13724
13725         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13726           Add test case for flags + gst_buffer_make_metadata_writable().
13727
13728 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13729
13730         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13731           gst_buffer_make_metadata_writable() should maintain the
13732           buffer flags (those that make sense at least) (see #340859).
13733
13734 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13735
13736         * tools/gst-inspect.c:
13737         * tools/gst-launch.c:
13738         * tools/gst-typefind.c:
13739         * tools/gst-xmlinspect.c:
13740         * tools/tools.h:
13741           Fix up includes: need to include stdlib.h in tools.h for exit().
13742
13743 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13744
13745         * gst/gsttaglist.c: (_gst_tag_initialize):
13746         * gst/gsttaglist.h:
13747           API: add GST_TAG_IMAGE tag (#340721).
13748
13749 2006-05-08  Wim Taymans  <wim@fluendo.com>
13750
13751         * gst/gstquery.c:
13752         Added some docs for the segment query.
13753
13754 2006-05-08  Wim Taymans  <wim@fluendo.com>
13755
13756         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13757         (gst_base_src_loop), (gst_base_src_change_state):
13758         Always push non-flushing serialized events in the streaming 
13759         thread.
13760
13761 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13762
13763         * gst/gsterror.c: (_gst_stream_errors_init):
13764           Add a missing error string.
13765
13766 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13767
13768         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13769         Add applied_rate to the debug
13770
13771         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13772         Copy applied_rate into the outgoing NEWSEGMENT event
13773
13774 2006-05-08  Wim Taymans  <wim@fluendo.com>
13775
13776         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13777
13778         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13779         (gst_base_sink_change_state):
13780         call ::unlock before taking the PREROLL_LOCK so we can safely
13781         handle elements that lock in ::render.
13782         Fixes #340174.
13783
13784 2006-05-08  Edward Hervey  <edward@fluendo.com>
13785
13786         * autogen.sh: (CONFIGURE_DEF_OPT): 
13787         Darwin's libtoolize is in fact called glibtoolize.
13788         Adding glibtoolize to the list of accepted names for libtoolize.
13789
13790 2006-05-08  Wim Taymans  <wim@fluendo.com>
13791
13792         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13793         Unify error handling, don't post an error message
13794         when a push() returns EOS but perform our normal EOS
13795         handling code. Fixes #340772.
13796
13797 2006-05-08  Wim Taymans  <wim@fluendo.com>
13798
13799         * docs/design/part-overview.txt:
13800         Make upsteam/downstream concepts more clear.
13801         Give an example of serialized/non-serialized events.
13802
13803         * docs/design/part-events.txt:
13804         * docs/design/part-streams.txt:
13805         Mention applied_rate.
13806
13807         * docs/design/part-trickmodes.txt:
13808         Mention applied rate, flesh out some more use cases.
13809
13810         * gst/gstevent.c: (gst_event_new_new_segment),
13811         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13812         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13813         (gst_event_parse_tag), (gst_event_new_buffer_size),
13814         (gst_event_parse_buffer_size), (gst_event_new_qos),
13815         (gst_event_parse_qos), (gst_event_parse_seek),
13816         (gst_event_new_navigation):
13817         * gst/gstevent.h:
13818         Add applied_rate field to NEWSEGMENT event.
13819         API: gst_event_new_new_segment_full()
13820         API: gst_event_parse_new_segment_full()
13821
13822         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13823         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13824         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13825         * gst/gstsegment.h:
13826         Add applied_rate to GstSegment structure.
13827         Make calculation of stream_time and running_time more correct
13828         wrt rate/applied_rate.
13829         Add some more docs.
13830         API: GstSegment::applied_rate field
13831         API: gst_segment_set_newsegment_full();
13832
13833         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13834         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13835         * libs/gst/base/gstbasetransform.c:
13836         (gst_base_transform_sink_eventfunc),
13837         (gst_base_transform_handle_buffer):
13838         Parse and use applied_rate in the GstSegment field.
13839
13840         * tests/check/gst/gstevent.c: (GST_START_TEST):
13841         Add check for applied_rate field.
13842
13843         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13844         (gstsegments_suite):
13845         Add more checks for various GstSegment operations.
13846
13847 2006-05-08  Wim Taymans  <wim@fluendo.com>
13848
13849         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13850         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13851         (gst_base_sink_get_position), (gst_base_sink_change_state):
13852         Store the sync time of the buffer end position separatly in a
13853         new variable eos_rtime so we can properly sync the EOS event.
13854         Fixes #340697.
13855         Fix the docs for gst_base_sink_set_qos_enabled().
13856         Don't set segment start to invalid value when we receive a 
13857         non TIME newsegment.
13858         get closer to handling position reporting for negative rates 
13859         correctly.
13860
13861 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13862
13863         * gst/gstcaps.c:
13864         Docs about how to print caps for debug purposes.
13865
13866         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13867         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13868
13869 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13870
13871         * gst/gstelement.c:
13872           use full enum names and preprend a '%' in docs strings to make recent 
13873           gtk-doc turn that into a link
13874
13875 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13876
13877         * docs/manual/basics-bins.xml:
13878         * docs/manual/basics-bus.xml:
13879         * docs/manual/basics-pads.xml:
13880           Some typo fixes, some additions, some clarifications. 
13881
13882 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13883
13884         * tools/gst-inspect.c: (main):
13885         * tools/gst-launch.c: (main):
13886         * tools/gst-run.c: (main):
13887         * tools/gst-typefind.c: (main):
13888         * tools/gst-xmlinspect.c: (main):
13889           Use the string passed to g_option_context_new() for
13890           what it's intended for - the program name is already
13891           printed elsewhere.
13892
13893 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13894
13895         * tools/Makefile.am:
13896         * tools/gst-inspect.c: (main):
13897         * tools/gst-launch.c: (main):
13898         * tools/gst-xmlinspect.c: (main):
13899         * tools/tools.h:
13900           Add back --version command line option (#340460).
13901
13902         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13903           Add --version option and use GOption for argument parsing; refactor a
13904           bit; accept directories as arguments and recurse into them; lastly,
13905           print a decent error message when things go wrong.
13906
13907 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13908
13909         * docs/manual/basics-bins.xml:
13910         Don't mention GstThread (#340611)
13911         * docs/manual/basics-elements.xml:
13912         Update link to GObject tutorial (#340607)
13913         
13914 2006-05-05  Wim Taymans  <wim@fluendo.com>
13915
13916         * gst/gstbuffer.h:
13917         * gst/gstminiobject.c:
13918         Add note about refcounting and miniobject/buffer writeability
13919         to docs. Fixes #340604
13920
13921         * gst/gstelementfactory.h:
13922         Added some explanation about @klass.
13923
13924 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13925
13926         * docs/manual/intro-motivation.xml:
13927         * docs/manual/manual.xml:
13928         Avoid CORBA & Bonobo references (#340598)
13929
13930 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13931
13932         * docs/manual/basics-bus.xml:
13933         * docs/manual/basics-pads.xml:
13934         Fix up some inaccuracies and omissions (#340609)
13935         
13936 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13937
13938         * gst/gstghostpad.c:
13939           Small typo in docs (#340625)
13940
13941 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13942
13943         * gst/parse/Makefile.am:
13944           Make 'make -j' proof (see #340698).
13945
13946 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13947
13948         * configure.ac:
13949           Require GLib-2.8 here as well.
13950
13951 2006-05-05  Wim Taymans  <wim@fluendo.com>
13952
13953         * gst/glib-compat.c:
13954         * gst/gst.c: (init_pre):
13955         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13956         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13957         (gst_object_dispatch_properties_changed):
13958         * gst/gstobject.h:
13959         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13960         * gst/gststructure.c: (gst_structure_set_valist):
13961         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13962         Remove pre glib2.8 compatibility, fixes #340508
13963
13964 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13965
13966         * gst/gsttaglist.h:
13967           Mention type of tags in doc blurbs.
13968
13969 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13970
13971         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13972         (gst_pad_configure_src), (gst_pad_push):
13973         Restore acceptcaps checking behaviour now that good plugins have
13974         been released.
13975
13976 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13977
13978         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13979
13980         * gst/gst.c:
13981         * gst/gstbus.c:
13982         * gst/gstclock.c:
13983         * gst/gstevent.c:
13984         * gst/gstformat.c:
13985         * gst/gstmessage.c:
13986         * gst/gstparse.c:
13987         * gst/gstquery.c:
13988         * gst/gstutils.c:
13989         * gst/parse/Makefile.am:
13990         * libs/gst/base/gstadapter.c:
13991         * libs/gst/base/gstbasesrc.c:
13992         * libs/gst/base/gstpushsrc.c:
13993         * libs/gst/base/gsttypefindhelper.c:
13994         * plugins/elements/gstfakesrc.c:
13995         * plugins/elements/gstidentity.c:
13996           Make sure gstprivate.h and/or config.h are
13997           always included first, otherwise some of our
13998           defines (like _FILE_OFFSET_BITS) might be
13999           redefined in the system headers. Fixes build
14000           on opensolaris (#340016).
14001
14002 2006-05-04  Wim Taymans  <wim@fluendo.com>
14003
14004         * docs/libs/gstreamer-libs-sections.txt:
14005         API: addition: gst_adapter_take_buffer()
14006         
14007         * libs/gst/base/gstadapter.c: (gst_adapter_push),
14008         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
14009         (gst_adapter_available_fast):
14010         * libs/gst/base/gstadapter.h:
14011         Prepare for optimizing the hell out of this hugely inefficient
14012         piece of code. 
14013         Added gst_adapter_take_buffer() so we can at least start thinking
14014         about subbuffering and merging.
14015         Added some comments.
14016
14017         * tests/check/Makefile.am:
14018         * tests/check/libs/adapter.c: (GST_START_TEST),
14019         (gst_adapter_suite), (main):
14020         Added GstAdapter check.
14021
14022 2006-05-04  Wim Taymans  <wim@fluendo.com>
14023
14024         * docs/design/part-overview.txt:
14025         Fix some typos, add blurb about buffer flags.
14026
14027 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14028
14029         * docs/libs/gstreamer-libs-sections.txt:
14030           make sure GstBaseTransformClass shows up in the docs
14031         * libs/gst/base/gstbasetransform.c:
14032         * libs/gst/base/gstbasetransform.h:
14033           move docs so gtk-doc picks it up now
14034
14035 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
14036
14037         * docs/libs/gstreamer-libs-sections.txt:
14038           add missing symbols to docs
14039
14040 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
14041
14042         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14043           back out the newsegment handling change, see #340060 for ongoing
14044           discussion
14045
14046 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
14047
14048         * tools/gst-run.c: (get_candidates), (main):
14049           Fix wrong g_file_test() usage (see glib docs for why it doesn't
14050           work); fix typo in error message. Fixes #340079.
14051
14052 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14053
14054         * common/Makefile.am:
14055         * docs/Makefile.am:
14056         * docs/faq/Makefile.am:
14057         * docs/gst/Makefile.am:
14058         * docs/libs/Makefile.am:
14059         * docs/manual/Makefile.am:
14060         * docs/plugins/Makefile.am:
14061         * docs/pwg/Makefile.am:
14062         * docs/slides/Makefile.am:
14063         * docs/upload.mak:
14064         * common/upload.mak:
14065           move upload.mak to common
14066
14067 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14068
14069         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14070           add more asserts on refcounts
14071           do more cleanup at end of tests
14072           fix test leaks showing in FC5
14073
14074 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
14075
14076         * plugins/elements/gsttypefindelement.c:
14077         (gst_type_find_element_handle_event):
14078         reverted wrong change and reflowed code to avoid others falling into
14079         this trap
14080
14081 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14082
14083         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14084           fix changelog entry about last collectpads change,
14085           add notes about proper fix
14086
14087 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14088
14089         * gst/gst.c:
14090         * gst/gstregistry.c: (gst_registry_scan_path_level),
14091         (gst_registry_scan_path):
14092         * gst/gstregistry.h:
14093           only write out registry if it has changed, fixes #338339
14094
14095 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14096
14097         * gst/gstbin.c:
14098         * gst/gstpipeline.c:
14099         * plugins/elements/gstcapsfilter.c:
14100         * plugins/elements/gstfakesink.c:
14101         * plugins/elements/gstfakesrc.c:
14102         * plugins/elements/gstfdsink.c:
14103         * plugins/elements/gstfdsrc.c:
14104         * plugins/elements/gstfilesink.c:
14105         * plugins/elements/gstfilesrc.c:
14106         * plugins/elements/gstidentity.c:
14107         * plugins/elements/gstqueue.c:
14108         * plugins/elements/gsttee.c:
14109         * plugins/elements/gsttypefindelement.c:
14110         (gst_type_find_element_handle_event):
14111           make GstElementDetails const
14112
14113 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14114
14115         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
14116         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14117         (gst_collect_pads_is_collected), (gst_collect_pads_event):
14118           more detailed debug and formatting cleanup,
14119           forward newsegments to src-pad (so that e.g. adder not eats them)
14120
14121 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14122
14123         * gst/gstutils.c: (gst_element_link_pads):
14124           cleanup double code
14125
14126 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14127
14128         * libs/gst/controller/gstcontroller.c:
14129         (gst_controller_sync_values):
14130           some little tuning
14131         * tests/check/libs/controller.c: (GST_START_TEST),
14132         (gst_controller_suite):
14133           a new test for live value handling
14134
14135 2006-04-28  Wim Taymans  <wim@fluendo.com>
14136
14137         * gst/gstutils.c: (push_and_ref):
14138         Added some more docs.
14139         Fix refcount issue whith gst_element_found_tags() helper 
14140         function. Fixes #338335
14141
14142         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14143         Added testsuite for gst_element_found_tags().
14144
14145 2006-04-28  Michael Smith  <msmith@fluendo.com>
14146
14147         * gst/gstvalue.c: (gst_value_serialize_flags):
14148           Avoid NULL dereference when trying to serialize flags containing
14149           invalid values.
14150
14151 2006-04-28  Michael Smith  <msmith@fluendo.com>
14152
14153         * plugins/elements/gsttypefindelement.c:
14154         (gst_type_find_element_handle_event):
14155           If we get EOS before any data is accumulated, don't use
14156           uninitialised local variables.
14157
14158 2006-04-28  Michael Smith  <msmith@fluendo.com>
14159
14160         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14161         (gst_dp_event_from_packet):
14162           Fixes in reading/writing events over GDP (not currently used?) - 
14163           dereferencing NULL events for unknown/invalid event types, memory
14164           leak, and change g_warning to GST_WARNING.
14165
14166 2006-04-28  Wim Taymans  <wim@fluendo.com>
14167
14168         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
14169         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14170         (gst_base_sink_get_position), (gst_base_sink_change_state):
14171         When frame dropping is enabled, we should not ignore frames
14172         without a duration.
14173         Update some documentation.
14174
14175 2006-04-28  Wim Taymans  <wim@fluendo.com>
14176
14177         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14178         (gst_base_src_send_event), (gst_base_src_change_state):
14179         Documentation updates.
14180
14181 2006-04-28  Wim Taymans  <wim@fluendo.com>
14182
14183         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
14184         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
14185         handle EAGAIN, EINTR and short writes correctly. Also clean
14186         up some error cases, avoid a deadlock on bad file descriptors and
14187         use GST_DEBUG_OBJECT.
14188         Fixes #339843
14189
14190 2006-04-28  Wim Taymans  <wim@fluendo.com>
14191
14192         * gst/gstvalue.c: (gst_value_serialize_buffer),
14193         (gst_value_deserialize_buffer):
14194         Don't try to serialize a GValue with a NULL buffer. 
14195         Fixes #339821.
14196
14197         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14198         Added check for serialisation of NULL buffers.
14199
14200 2006-04-28  Wim Taymans  <wim@fluendo.com>
14201
14202         * gst/gstminiobject.c: (gst_value_take_mini_object):
14203         Taking a NULL miniobject is valid, fix the case where
14204         we try to unref the NULL miniobject.
14205
14206 2006-04-28  Wim Taymans  <wim@fluendo.com>
14207
14208         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14209
14210         * gst/gstbin.c: (gst_bin_handle_message_func):
14211         Update docs.
14212         Don't leak bin refcount when a state recalc is
14213         in progress and we delay another one #339808.
14214
14215 2006-04-28  Wim Taymans  <wim@fluendo.com>
14216
14217         * docs/design/part-TODO.txt:
14218         Mention QoS as an ongoing work item.
14219
14220         * docs/design/part-buffering.txt:
14221         New doc about buffering that needs to be fleshed out
14222         at some point.
14223
14224         * docs/design/part-qos.txt:
14225         More QoS policy for decoders/demuxers/transforms
14226
14227         * docs/design/part-trickmodes.txt:
14228         Small update.
14229
14230 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14231
14232         * configure.ac:
14233           back to HEAD
14234
14235 === release 0.10.5 ===
14236
14237 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
14238
14239         * configure.ac:
14240           releasing 0.10.5, "Fogo"
14241
14242 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14243
14244         patch by: Wim Taymans
14245
14246         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14247         (gst_pad_configure_src), (gst_pad_push):
14248         * gst/gstpipeline.c: (gst_pipeline_init):
14249           Fix internal data flow errors.  Fixes #338711.
14250
14251 2006-04-12  Wim Taymans  <wim@fluendo.com>
14252
14253         * tests/check/gst/gstelement.c: (GST_START_TEST):
14254         Don't leak the factory.
14255
14256 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14257
14258         * configure.ac:
14259         * win32/common/config.h:
14260           prerelease
14261
14262 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
14263
14264         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14265         (gst_controller_unset_all):
14266           Free allocated GstTimedValues when freeing list nodes.
14267           Should fix leaks 'make check-valgrind' complains about.
14268
14269         * win32/common/libgstcontroller.def:
14270           Add gst_controller_unset_all.
14271
14272 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
14273
14274         * docs/libs/gstreamer-libs-sections.txt:
14275         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14276         (gst_controller_unset_all):
14277         * libs/gst/controller/gstcontroller.h:
14278         API: Added new method gst_controller_unset_all()
14279         fixed gst_controller_unset()
14280         * tests/check/libs/controller.c: (GST_START_TEST),
14281         (gst_controller_suite):
14282         Added two testcases for new and fixed method
14283
14284 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
14285
14286         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14287           MSG_DONTWAIT is not defined on Cygwin, so work
14288           around that (fixes #317048).
14289           
14290 2006-04-11  Wim Taymans  <wim@fluendo.com>
14291
14292         * gst/gstelementfactory.c: (gst_element_register),
14293         (gst_element_factory_create), (gst_element_factory_make):
14294         Some cleanups.
14295         Fixed a FIXME.
14296         Updated docs (Fixes #131079)
14297
14298         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14299         Small cleanups.
14300
14301         * tests/check/gst/gstelement.c: (GST_START_TEST),
14302         (gst_element_suite):
14303         Added testcase for elementfactory class field.
14304
14305 2006-04-10  Wim Taymans  <wim@fluendo.com>
14306
14307         * gst/gstsegment.c:
14308         Added some more docs.
14309
14310         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14311         (gst_base_sink_reset_qos):
14312         Calculate more accurate rate values.
14313
14314 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
14315
14316         * gst/gst_private.h:
14317           add a new #ifdef to use __declspec(dllimport) only for
14318           other modules and not for gstreamer core
14319         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14320           use gst_guint64_to_gdouble for conversion
14321         * win32/common/libgstreamer.def:
14322           add new exported functions
14323         * win32/vs6/gst_inspect.dsp:
14324         * win32/vs6/gst_launch.dsp:
14325         * win32/vs6/libgstbase.dsp:
14326         * win32/vs6/libgstcontroller.dsp:
14327         * win32/vs6/libgstcoreelements.dsp:
14328         * win32/vs6/libgstdataprotocol.dsp:
14329         * win32/vs6/libgstnet.dsp:
14330           update project files
14331
14332 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14333
14334         * gst/gstbuffer.c: (gst_subbuffer_class_init):
14335         * gst/gstclock.c: (gst_clock_class_init):
14336         * gst/gstelement.c: (gst_element_class_init):
14337         * gst/gstindex.c: (gst_index_class_init):
14338         * gst/gstindexfactory.c: (gst_index_factory_class_init):
14339         * gst/gstobject.c: (gst_object_class_init),
14340         (gst_signal_object_class_init):
14341         * gst/gstpad.c: (gst_pad_class_init):
14342         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14343         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14344         * gst/gstregistry.c: (gst_registry_class_init):
14345         * gst/gstsystemclock.c: (gst_system_clock_class_init):
14346         * gst/gsttask.c: (gst_task_class_init):
14347         * gst/gstxml.c: (gst_xml_class_init):
14348         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14349         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14350         (gst_base_src_loop):
14351         * libs/gst/controller/gstcontroller.c:/
14352         (_gst_controller_class_init):
14353         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14354         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14355         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14356         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14357         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14358         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14359
14360 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
14361
14362         * gst/gstpad.c: (gst_pad_link):
14363           Must set peer pads before calling the link function, otherwise
14364           a task started from a link function might get a flow-not-linked
14365           result when trying to push because the other thread where the
14366           linking happens hasn't had a chance to set the peers yet. This
14367           might happen for example when a queue gets linked to a downstream
14368           element, as queue starts a streaming task when its source pad
14369           gets linked. Happens in real life when playing back flac/musepack
14370           files in playbin (#332390).
14371           
14372 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14373
14374         * gst/gstindex.h:
14375         * gst/gstxml.h:
14376         * libs/gst/base/gstadapter.h:
14377         * libs/gst/base/gstbasesink.h:
14378         * libs/gst/base/gstbasesrc.h:
14379         * libs/gst/base/gstbasetransform.h:
14380         * libs/gst/base/gstcollectpads.h:
14381         * libs/gst/base/gstpushsrc.h:
14382         Fix broken GObject macros
14383
14384 2006-04-07  Wim Taymans  <wim@fluendo.com>
14385
14386         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14387         Initialize start and stop times, thanks valgrind.
14388
14389 2006-04-07  Wim Taymans  <wim@fluendo.com>
14390
14391         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14392         Be a bit nicer to badly behaving upstream elements that expect
14393         us to deal with non TIME segments and timestamps (such as fakesrc
14394         in the testsuite).
14395
14396 2006-04-07  Wim Taymans  <wim@fluendo.com>
14397
14398         * gst/gstbus.c:
14399         Small documentation clarification about the signal watch.
14400
14401         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14402         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14403         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14404         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14405         (gst_base_sink_get_position_last),
14406         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14407         Convert and store timestamps in stream time and running time, the
14408         raw timestamps are not useful, also document this better.
14409         Use different window sizes for good and bad QoS observations so
14410         we react to badness a little quicker.
14411         Keep track of the amount of rendered and dropped buffers.
14412         Send QoS timestamps in running time.
14413
14414         * libs/gst/base/gstbasetransform.c:
14415         (gst_base_transform_sink_eventfunc),
14416         (gst_base_transform_handle_buffer):
14417         Compare QoS timestamps against running time.
14418
14419 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14420
14421         * gst/gstpad.c:
14422           Typo fixes in docs.
14423
14424 2006-04-06  Michael Smith  <msmith@fluendo.com>
14425
14426         * gst/gstpad.c: (gst_pad_set_property):
14427           Use g_value_get_object() instead of g_value_dup_gst_object(),
14428           to avoid double-reffing the pad template (which we then sink,
14429           so this worked previously if (and only if) the pad template
14430           was floating.
14431
14432         * gst/gstpadtemplate.c: (gst_pad_template_init),
14433         (gst_pad_template_pad_created):
14434           Never return floating references to pad templates, create
14435           them as initially-sunken.
14436
14437           Document an extra function (and make this stop sinking our
14438           pad template, since that is now guaranteed to do nothing,
14439           since we created it sunken).
14440
14441         * gst/gstghostpad.c:
14442           Fix docs typo.
14443
14444 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14445
14446         * gst/gstinfo.c: (__gst_in_valgrind):
14447           Add some newlines.
14448
14449         * plugins/elements/gsttypefindelement.c:
14450         (gst_type_find_element_chain):
14451           Don't leak buffer caps.
14452
14453 2006-04-06  Michael Smith  <msmith@fluendo.com>
14454
14455         * gst/parse/grammar.y:
14456           Fix a leak in parse-launch for any source-or-sink named element 
14457           references used.
14458
14459         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14460           Unref the pipeline if it exists after we've failed parsing.
14461
14462 2006-04-05  Michael Smith  <msmith@fluendo.com>
14463
14464         * gst/gstpipeline.c: (gst_pipeline_init):
14465           When we create a pipeline bus, initially create it in flushing mode.
14466           Fixes leaks in at least one test, and makes a new pipeline work the
14467           same as one that has gone to READY and then back to NULL.
14468
14469         * gst/gstelement.c:
14470           Typo fix in docs.
14471
14472 2006-04-05  Michael Smith  <msmith@fluendo.com>
14473
14474         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14475           Unref a pad we reffed.
14476         * tests/check/gst/gstutils.c: (GST_START_TEST):
14477           Unref bins
14478
14479 2006-04-05  Michael Smith  <msmith@fluendo.com>
14480
14481         * gst/gstquery.c: (gst_query_set_formats),
14482         (gst_query_set_formatsv):
14483           Fix leaking GValues in queries, as shown by valgrind/testsuite.
14484
14485 2006-04-05  Michael Smith  <msmith@fluendo.com>
14486
14487         * tests/check/generic/sinks.c: (GST_START_TEST):
14488           Fix a variety of memleaks in sinks check, which are only sometimes 
14489           shown by running the tests under valgrind (weird?).
14490
14491 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
14492
14493         * docs/version.entities.in:
14494           Fix the substituted entity name after thomas' changes on the
14495           weekend.
14496
14497 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14498
14499         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14500         VALGRIND_PRINTF
14501         
14502 2006-04-05  Andy Wingo  <wingo@pobox.com>
14503
14504         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14505
14506         * libs/gst/base/gstbasetransform.c
14507         (gst_base_transform_sink_eventfunc): When resetting our segment on
14508         FLUSH_STOP, also update the flag saying we haven't seen a
14509         newsegment.
14510
14511 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14512
14513         Patch by: Paolo Borelli  <pborelli at katamail dot com>
14514
14515         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14516         (gst_plugin_check_license):
14517           minor clean-ups: G_DEFINE_TYPE already takes care of the
14518           parent_class stuff, no need to do it twice. Mark array of
14519           license strings as constant. (#337103)
14520           
14521 2006-04-04  Michael Smith  <msmith@fluendo.com>
14522
14523         * tools/gst-inspect.c: (print_element_list):
14524           Free the right plugin list; fixes a memory leak.
14525
14526 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14527
14528         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14529
14530         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14531           Don't error out on empty buffers (#336945).
14532           
14533 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14534
14535         * docs/libs/gstreamer-libs-sections.txt:
14536         * gst/gsttaglist.c:
14537         * libs/gst/base/gstbasesink.c:
14538         * libs/gst/base/gstbasesink.h:
14539         * libs/gst/base/gstbasesrc.c:
14540         * libs/gst/base/gstbasesrc.h:
14541           Documentation updates. Make BaseSink and BaseSrc docs contain the
14542           class structure so that people can actually see the prototypes for
14543           virtual functions they're supposed to be overriding.
14544
14545 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14546
14547         * plugins/elements/gsttypefindelement.c:
14548         (gst_type_find_element_chain):
14549           More debug info; when skipping typefinding, send cached
14550           events in all cases.
14551
14552 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14553
14554         * configure.ac:
14555           use new AS_VERSION and AS_NANO macros
14556         * gst/gst-i18n-lib.h:
14557         * gst/gst.c:
14558         * gst/gsterror.c:
14559         * gst/gstversion.h.in:
14560         * win32/common/config.h:
14561         * win32/common/config.h.in:
14562           update accordingly
14563
14564 2006-03-31  Michael Smith  <msmith@fluendo.com>
14565
14566         * plugins/elements/gsttypefindelement.c:
14567         (gst_type_find_element_chain):
14568           Do not typefind content if the buffers already have caps.
14569           Neccesary for icydemux (#333657), and the right thing to do anyway.
14570
14571 2006-03-30  Wim Taymans  <wim@fluendo.com>
14572
14573         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14574         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14575         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14576         (gst_base_sink_record_qos_observation),
14577         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14578         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14579         (gst_base_sink_change_state):
14580         More QoS measurements as described in the design doc.
14581         Get rid of ringbuffer with observations, running average is
14582         more simple and equally good.
14583         Calculates valid proportion now.
14584         Added beginning of flood measurement.
14585
14586 2006-03-29  Wim Taymans  <wim@fluendo.com>
14587
14588         * docs/design/part-qos.txt:
14589         * gst/gstclock.c:
14590         Small documentation updates and additions.
14591
14592 2006-03-29  Wim Taymans  <wim@fluendo.com>
14593
14594         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14595         (gst_base_src_send_event), (gst_base_src_loop),
14596         (gst_base_src_change_state):
14597         Perform the EOS logic when we reach the segment stop position.
14598         Fix compilation on gcc4.1
14599
14600 2006-03-29  Wim Taymans  <wim@fluendo.com>
14601
14602         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14603
14604         * plugins/elements/gstqueue.c: (gst_queue_init),
14605         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14606         (gst_queue_set_property):
14607         * plugins/elements/gstqueue.h:
14608         In queue, when EOS is received, if minimum threshold > max_size -
14609         current_level, there is chance that queue blocks forever in conditional
14610         item del wait. This is because the queue is not emptied completely due
14611         to minimum threshold.  Here is another approach. Instead of setting
14612         cur_levels to max in EOS, just zero all minimum threshold levels. This
14613         should make sure that queue gives out all data. When going to READY
14614         (stop) state, just reset the original minimum threshold levels.
14615         Fixes #336336.
14616
14617 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14618
14619         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14620         (gst_type_find_element_handle_event),
14621         (gst_type_find_element_send_cached_events),
14622         (gst_type_find_element_change_state):
14623         * plugins/elements/gsttypefindelement.h:
14624           When typefinding is done in push mode, we should cache
14625           events we receive during typefinding instead of just
14626           dropping them (e.g. newsegment, custom events from
14627           dvdreadsrc etc.) and then send them out once we've
14628           determined the type of the stream (and decodebin
14629           has had a chance to plug in a decoder/demuxer).
14630           
14631 2006-03-27  Wim Taymans  <wim@fluendo.com>
14632
14633         * docs/design/part-qos.txt:
14634         First QoS ideas.
14635
14636 2006-03-27  Wim Taymans  <wim@fluendo.com>
14637
14638         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14639
14640         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14641         (gst_base_src_send_event), (gst_base_src_change_state):
14642         Handle element seek correctly when we are streaming.
14643         Fixes #326998.
14644
14645 2006-03-24  Michael Smith  <msmith@fluendo.com>
14646
14647         * docs/faq/gst-uninstalled:
14648           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14649           allow you to correctly run intalled applications built against old 
14650           core, using plugins that require updated core (e.g. running
14651           installed totem against a full uninstalled gstreamer stack)
14652
14653 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14654
14655         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14656         more debug details
14657
14658 2006-03-24  Wim Taymans  <wim@fluendo.com>
14659
14660         * docs/gst/gstreamer-sections.txt:
14661         Rearrange the order of the methods so that related methods
14662         are grouped together in sections.
14663
14664 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14665
14666         * gst/gstelement.c:
14667           Little clarification in the docs
14668
14669 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14670
14671         * docs/README:
14672         formatting fix
14673         * plugins/elements/gstidentity.c:
14674         * plugins/elements/gstqueue.c:
14675         * plugins/elements/gsttee.c:
14676         * plugins/elements/gsttypefindelement.c:
14677         GST_ELEMENT_DETAILS formatting
14678
14679 2006-03-24  Wim Taymans  <wim@fluendo.com>
14680
14681         * libs/gst/base/gstbasesink.h:
14682         Only add fields, not insert or we break ABI.
14683
14684 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14685
14686         * win32/common/libgstbase.def:
14687         * win32/common/libgstreamer.def:
14688           Update, add recently added functions.
14689
14690 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14691
14692         * docs/gst/gstreamer-sections.txt:
14693         * gst/gstutils.c: (gst_pad_query_peer_position),
14694         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14695         * gst/gstutils.h:
14696           API: add some new utility functions:
14697            - gst_pad_query_peer_position()
14698            - gst_pad_query_peer_duration()
14699            - gst_pad_query_peer_convert()
14700           
14701 2006-03-23  Wim Taymans  <wim@fluendo.com>
14702
14703         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14704         (gst_base_sink_init), (gst_base_sink_finalize),
14705         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14706         (gst_base_sink_set_property), (gst_base_sink_get_property),
14707         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14708         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14709         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14710         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14711         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14712         (gst_base_sink_preroll_object), (gst_base_sink_event),
14713         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14714         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14715         (gst_base_sink_query), (gst_base_sink_change_state):
14716         Decouple max-lateness and the fact that QoS messages are generated
14717         with a new property (qos).
14718         added API: GstBaseSink::async_play()
14719         Add vmethod so subclasses can be notified of ASYNC playing
14720         state changes.
14721         Collect timestamp start and stop to report better current
14722         position in EOS/PLAYING/PAUSED/READY/NULL.
14723         Refactor QoS/frame dropping and other measurements.
14724         API: GstBaseSrc::qos
14725         Fixes #326311
14726
14727         * libs/gst/base/gstbasesink.h:
14728         Added Private struct.
14729         API: gst_base_sink_set_qos_enabled()
14730         API: gst_base_sink_is_qos_enabled()
14731
14732 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14733
14734         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14735           If compiling against GLib-2.8 or newer, try to read the
14736           registry file using GMappedFile first before falling back
14737           to fopen() + fread() (#332151).
14738
14739 2006-03-22  Wim Taymans  <wim@fluendo.com>
14740
14741         * gst/gstinfo.c: (gst_debug_set_active),
14742         (gst_debug_category_set_threshold):
14743         Disable debugging unless explicitly activated.
14744         Fixes #335480.
14745
14746 2006-03-22  Wim Taymans  <wim@fluendo.com>
14747
14748         * gst/gstelement.c: (gst_element_set_locked_state),
14749         (gst_element_dispose):
14750         Cleanup the error case.
14751
14752         * gst/gstobject.c: (gst_object_dispose):
14753         print a critical when some object was disposed with
14754         a parent, also revive the object since it might
14755         crash the parent.
14756
14757 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14758
14759         * tools/gst-launch.1.in:
14760           Fix another typo.
14761
14762 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14763
14764         * configure.ac:
14765         * tests/check/Makefile.am:
14766           disable some tests when we don't have a registry
14767         * tests/check/gst/gstutils.c: (gst_utils_suite):
14768           don't build the part that needs parsing
14769
14770 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14771
14772         * gst/Makefile.am
14773         * tests/examples/Makefile.am:
14774           fix --disable-parse build
14775
14776 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14777
14778         * tools/gst-feedback.1.in:
14779           Fix typo: s/feeback/feedback/ (#133494).
14780
14781 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14782
14783         * tools/Makefile.am:
14784         * tools/gst-launch.1.in:
14785           Add FILES section and correct entry about GST_REGISTRY_PATH
14786           environment variable (#133495; #133494).
14787
14788 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14789
14790         * tools/Makefile.am:
14791         * tools/gst-md5sum.1.in:
14792         * tools/gst-md5sum.c:
14793           Remove gst-md5sum and man page (the md5sink element
14794           required was removed ages ago)
14795
14796 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14797
14798         * gst/gststructure.c: (gst_structure_id_set_value):
14799           Make sure that string fields in structures/taglists
14800           contain valid UTF-8 - we don't want to pass rubbish to
14801           applications because of a buggy plugin (cp. #334167).
14802
14803 2006-03-21  Edward Hervey  <edward@fluendo.com>
14804
14805         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14806         (gst_bin_handle_message_func):
14807         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14808         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14809         (gst_element_set_bus_func):
14810         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14811         * gst/gstminiobject.c: (gst_value_set_mini_object),
14812         (gst_value_take_mini_object):
14813         * gst/gstpad.c: (gst_pad_set_pad_template):
14814         * gst/gstpipeline.c: (gst_pipeline_dispose),
14815         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14816         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14817         (gst_collect_pads_chain):
14818         * libs/gst/net/gstnettimeprovider.c:
14819         (gst_net_time_provider_set_property):
14820         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14821         It's in fact all issues with gst_*object_replace().
14822
14823 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14824
14825         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14826         
14827         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14828         * pkgconfig/gstreamer-check.pc.in:
14829           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14830
14831 2006-03-21  Edward Hervey  <edward@fluendo.com>
14832
14833         * gst/gstbuffer.h:
14834         * gst/gstevent.h:
14835         * gst/gstmessage.h:
14836         gst_[buffer|event|message]_ref() macros are replaced by a static
14837         inline functions because gcc-4.1 will about if the return value
14838         isn't used.
14839         * tests/check/gst/gstevent.c: (event_probe):
14840         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14841
14842 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14843
14844         * gst/gstutils.h:
14845         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14846         the type' case. (Closes: #335195 for now). In the future, when we
14847         depend on GLib 2.10, we could also intern the type name using
14848         g_intern_static_string()
14849
14850 2006-03-20  Wim Taymans  <wim@fluendo.com>
14851
14852         * gst/gstbin.c: (gst_bin_handle_message_func),
14853         (bin_query_max_init), (bin_query_position_fold),
14854         (bin_query_position_done), (gst_bin_query):
14855         Position query should also take max of all streams.
14856
14857 2006-03-20  Wim Taymans  <wim@fluendo.com>
14858
14859         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14860         (gst_fake_src_finalize):
14861         Fix leaks in fakesrc.
14862
14863         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14864         Fix leaks in the testcase.
14865
14866 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14867
14868         * gst/gst_private.h:
14869           add win32 specific import decoration(__declspec(dllimport)) 
14870           for all extern GstDebugCategory * variables
14871         * win32/common/libgstbase.def:
14872         * win32/common/libgstcontroller.def:
14873         * win32/common/libgstreamer.def:
14874           Add some exports, remove empty lines
14875         * win32/common/libgstdataprotocol.def:
14876         * win32/common/libgstdataprotocol.dsp:
14877         * win32/common/libgstnet.def:
14878         * win32/common/libgstnet.dsp:
14879           new project files and exportation files added
14880         
14881 2006-03-19  Wim Taymans  <wim@fluendo.com>
14882
14883         * tests/check/libs/basesrc.c: (eos_event_counter):
14884         Use proper return value for probe.
14885
14886 2006-03-17  Wim Taymans  <wim@fluendo.com>
14887
14888         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14889         (gst_pad_push):
14890         Don't leak buffers, caps and pads on negotiation errors.
14891
14892 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14893
14894         * docs/faq/cvs.xml:
14895         * docs/faq/dependencies.xml:
14896         * docs/faq/developing.xml:
14897         * docs/faq/faq.xml:
14898         * docs/faq/general.xml:
14899         * docs/faq/getting.xml:
14900         * docs/faq/legal.xml:
14901         * docs/faq/troubleshooting.xml:
14902         * docs/faq/using.xml:
14903         Faq review and update.
14904
14905 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14906
14907         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14908         (gst_pad_push):
14909         Don't pound the cpu to pieces by checking get_caps when accept_caps
14910         is called with the same caps as the pad already has.
14911         Use GST_DEBUG_OBJECT when outputting caps change information.
14912
14913 2006-03-15  Wim Taymans  <wim@fluendo.com>
14914
14915         * gst/gstclock.c: (gst_clock_class_init):
14916         Fix docs.
14917
14918 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14919
14920         * gst/gstbuffer.h:
14921         Documentation fix.
14922
14923         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14924         (gst_pad_accept_caps), (gst_pad_configure_sink),
14925         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14926         Make the default acceptcaps behaviour be to check the requested 
14927         caps against the gst_pad_get_caps output. 
14928
14929         Ensure that gst_pad_accept_caps is used to check caps when a pad
14930         doesn't have a setcaps function, so that pads automatically refuse 
14931         caps that they don't allow in their pad template. (Fixes #332986)
14932
14933         When a buffer with attached caps is pushed, ensure that the source 
14934         pad receives those caps even if the element didn't call
14935         gst_pad_set_caps first.
14936
14937 2006-03-15  Wim Taymans  <wim@fluendo.com>
14938
14939         * libs/gst/base/gstadapter.c:
14940         Add some docs.
14941
14942 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14943
14944         * win32/common/libgstbase.def:
14945         * win32/common/libgstcontroller.def:
14946         * win32/common/libgstreamer.def:
14947           Add a whole bunch of missing functions (#334434).
14948
14949 2006-03-14  Wim Taymans  <wim@fluendo.com>
14950
14951         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14952         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14953         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14954         Better debug info when we receive a segment event.
14955         Reorganize a bit so we can pass the get_times() results around.
14956         Use the segment format when calculating the running time.
14957         Don't do QoS is sync is disabled or we have no clock or the
14958         element does not want us to sync to the clock.
14959         Don't drop buffers if QoS is disabled for now.
14960
14961 2006-03-14  Wim Taymans  <wim@fluendo.com>
14962
14963         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14964         Marked the stats property as unimplemented so people don't get
14965         wild ideas.
14966         Add debug message when regression goes wrong.
14967         Added some more docs.
14968
14969 2006-03-14  Wim Taymans  <wim@fluendo.com>
14970
14971         * gst/gstsegment.c: (gst_segment_to_stream_time):
14972         Return correct return type in case of errors.
14973
14974 2006-03-14  Wim Taymans  <wim@fluendo.com>
14975
14976         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14977           Don't segfault on invalid formats.
14978
14979 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14980
14981         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14982           Can't use gst_segment_to_running_time() when the segment
14983           is not in GST_TIME_FORMAT (like with filesink, for example).
14984           Stops flac encoding pipelines from spewing critical warnings
14985           at EOS (#331248).
14986           
14987 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14988
14989         * gst/gstpipeline.c: (gst_pipeline_class_init):
14990           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14991
14992         * plugins/elements/gsttypefindelement.c:
14993         (gst_type_find_element_handle_event):
14994           Don't try to typefind empty streams.
14995
14996 2006-03-14  Wim Taymans  <wim@fluendo.com>
14997
14998         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14999         (gst_base_sink_do_qos):
15000         Separate QoS calculation.
15001         Only drop buffers when lateness is bigger than the 
15002         duration of the buffer.
15003
15004 2006-03-13  Wim Taymans  <wim@fluendo.com>
15005
15006         * gst/gstpipeline.c: (gst_pipeline_set_property),
15007         (gst_pipeline_get_property), (do_pipeline_seek),
15008         (gst_pipeline_change_state), (gst_pipeline_set_delay),
15009         (gst_pipeline_get_delay):
15010         Don't deadlock when reading properties.
15011
15012 2006-03-13  Wim Taymans  <wim@fluendo.com>
15013
15014         * libs/gst/base/gstbasetransform.c:
15015         (gst_base_transform_class_init), (gst_base_transform_init),
15016         (gst_base_transform_sink_event),
15017         (gst_base_transform_sink_eventfunc),
15018         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
15019         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
15020         (gst_base_transform_set_property),
15021         (gst_base_transform_get_property),
15022         (gst_base_transform_change_state), (gst_base_transform_update_qos),
15023         (gst_base_transform_set_qos_enabled),
15024         (gst_base_transform_is_qos_enabled):
15025         * libs/gst/base/gstbasetransform.h:
15026         Make basetransform virtual method for src events too.
15027         Handle QOS in basetransform.
15028         API: gst_base_transform_update_qos()
15029         API: gst_base_transform_set_qos_enabled()
15030         API: gst_base_transform_is_qos_enabled()
15031
15032 2006-03-13  Wim Taymans  <wim@fluendo.com>
15033
15034         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15035         (gst_base_sink_do_sync):
15036         Small cleanups.
15037         Use QOS debug category.
15038
15039 2006-03-13  Wim Taymans  <wim@fluendo.com>
15040
15041         * plugins/elements/gstqueue.c:
15042         Very small doc update.
15043
15044 2006-03-13  Wim Taymans  <wim@fluendo.com>
15045
15046         * gst/gst_private.h:
15047         * gst/gstinfo.c: (_gst_debug_init):
15048         Added QOS debug category
15049
15050 2006-03-13  Wim Taymans  <wim@fluendo.com>
15051
15052         * docs/gst/gstreamer-sections.txt:
15053         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
15054         * gst/gstbin.h:
15055         * gst/gstbus.c: (gst_bus_class_init):
15056         * gst/gstbus.h:
15057         * gst/gstclock.c:
15058         * gst/gstelement.c: (gst_element_set_locked_state):
15059         * gst/gstsegment.c:
15060         Documentation updates.
15061
15062         * gst/gstpipeline.c: (gst_pipeline_get_type),
15063         (gst_pipeline_class_init), (gst_pipeline_init),
15064         (gst_pipeline_dispose), (gst_pipeline_set_property),
15065         (gst_pipeline_get_property), (do_pipeline_seek),
15066         (gst_pipeline_send_event), (gst_pipeline_change_state),
15067         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
15068         (gst_pipeline_get_delay):
15069         * gst/gstpipeline.h:
15070         Added methods for setting the delay.
15071         API: gst_pipeline_set_delay()
15072         API: gst_pipeline_get_delay()
15073         Add pipeline debug category
15074         Various cleanups.
15075         Updated docs.
15076         Don't reset stream time when seek failed.
15077
15078 2006-03-13  Wim Taymans  <wim@fluendo.com>
15079
15080         * docs/design/draft-klass.txt:
15081         * docs/design/part-clocks.txt:
15082         * docs/design/part-events.txt:
15083         * docs/design/part-gstbin.txt:
15084         * docs/design/part-gstpipeline.txt:
15085         * docs/design/part-messages.txt:
15086         * docs/design/part-negotiation.txt:
15087         * docs/design/part-overview.txt:
15088         * docs/design/part-preroll.txt:
15089         * docs/design/part-seeking.txt:
15090         * docs/design/part-states.txt:
15091         * docs/design/part-streams.txt:
15092         Documentation updates.
15093
15094 2006-03-12  Julien MOUTTE  <julien@moutte.net>
15095
15096         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
15097         us to leak strings...
15098
15099 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15100
15101         * libs/gst/net/gstnettimeprovider.c:
15102           fix docs
15103         * win32/common/config.h:
15104           update
15105
15106 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
15107
15108         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
15109
15110         * configure.ac:
15111           Don't check for libgnomeui (leftover from old examples
15112           that aren't built or disted any longer) (#334303).
15113           
15114 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
15115
15116         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
15117         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15118           Emit RESOURCE_NO_SPACE_LEFT error here as well when
15119           there's no space left on the device.
15120
15121 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
15122
15123         * gst/gstclock.h:
15124           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
15125           to cast the input to GstClockTime before comparing with
15126           another GstClockTime value.
15127
15128 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15129
15130         * configure.ac:
15131           back to trunk
15132
15133 === release 0.10.4 ===
15134
15135 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
15136
15137         * configure.ac:
15138           releasing 0.10.4, "Light"
15139
15140 2006-03-10  Michael Smith  <msmith@fluendo.com>
15141
15142         * libs/gst/dataprotocol/dataprotocol.c:
15143           Fix docs for dataprocotol to not get the return types completely
15144           wrong for a few functions.
15145
15146 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15147
15148         * docs/gst/gstreamer-sections.txt:
15149         * gst/gstpipeline.c: (gst_pipeline_class_init),
15150         (gst_pipeline_init), (gst_pipeline_set_property),
15151         (gst_pipeline_get_property), (gst_pipeline_change_state),
15152         (gst_pipeline_set_auto_flush_bus),
15153         (gst_pipeline_get_auto_flush_bus):
15154         * gst/gstpipeline.h:
15155           Add new API: gst_pipeline_set_auto_flush_bus() and
15156           gst_pipeline_get_auto_flush_bus() to disable automatic
15157           flushing of the pipeline's GstBus when going from READY
15158           to NULL state (#332045).
15159
15160 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15161
15162         * docs/gst/gstreamer-sections.txt:
15163         * gst/gsturi.c: (gst_uri_has_protocol):
15164         * gst/gsturi.h:
15165            Add new API: gst_uri_has_protocol() (#333779).
15166
15167 2006-03-09  Wim Taymans  <wim@fluendo.com>
15168
15169         * gst/gstclock.c: (gst_clock_entry_new),
15170         (gst_clock_id_compare_func), (gst_clock_id_wait),
15171         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
15172         (gst_clock_init), (gst_clock_get_internal_time),
15173         (gst_clock_set_master), (do_linear_regression),
15174         (gst_clock_add_observation), (gst_clock_set_property):
15175         * gst/gstclock.h:
15176         Review docs.
15177         Small cleanups.
15178         Fix a possible segfault when the window-size is made smaller.
15179         Calculate jitter before performing the clock wait. Ideally
15180         the clock implementation should calculate jitter but we need
15181         API breakage for that.
15182
15183         * gst/gstsystemclock.c: (gst_system_clock_init):
15184         Docs review.
15185         
15186         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15187         Remove leftover else
15188
15189         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
15190         (gst_systemclock_suite):
15191         Added check to test GST_CLOCK_DIFF.
15192
15193 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15194
15195         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
15196         (gst_type_find_helper_get_range):
15197           If we are provided with the size, we should implement
15198           GstTypeFind::get_length, so that typefind functions who
15199           want to can actually peek at the middle of a file.
15200
15201 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
15202
15203         * docs/manual/advanced-dataaccess.xml:
15204           Add some very very basic error checking.
15205
15206         * docs/pwg/appendix-checklist.xml:
15207           Some updates to the list of things to check when writing an element.
15208
15209 2006-03-08  Wim Taymans  <wim@fluendo.com>
15210
15211         * docs/design/part-element-transform.txt:
15212         Added some docs about the design of tranform elements.
15213
15214         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15215         (gst_base_src_loop), (gst_base_src_change_state):
15216         Mark buffers with the DISCONT flag.
15217
15218 2006-03-08  Michael Smith  <msmith@fluendo.com>
15219
15220         * gst/gstregistry.h:
15221         * gst/gstregistryxml.c: (gst_registry_save),
15222         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
15223         (gst_registry_xml_save_pad_template),
15224         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15225         (gst_registry_xml_write_cache):
15226           Rewrite registry-saving to avoid race conditions and check for
15227           failed writes.
15228
15229 2006-03-08  Wim Taymans  <wim@fluendo.com>
15230
15231         * libs/gst/base/gstbasetransform.c:
15232         (gst_base_transform_transform_caps),
15233         (gst_base_transform_transform_size),
15234         (gst_base_transform_prepare_output_buffer),
15235         (gst_base_transform_get_unit_size),
15236         (gst_base_transform_buffer_alloc),
15237         (gst_base_transform_handle_buffer),
15238         (gst_base_transform_change_state):
15239         Cleanups, separate normal flow from errors, add sensible
15240         DEBUG lines.
15241         Don't try to renegotiate when allocating an output buffer.
15242         Also copy DISCONT buffer flag when copying a buffer.
15243         Reset the transform after we finish streaming, not during.
15244
15245 2006-03-08  Wim Taymans  <wim@fluendo.com>
15246
15247         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15248         Use last buffer timestamp in qos message.
15249
15250 2006-03-07  Wim Taymans  <wim@fluendo.com>
15251
15252         Patch by: Christophe Fergeau
15253
15254         * docs/pwg/advanced-tagging.xml:
15255         * docs/pwg/building-pads.xml:
15256           fixes #333416
15257
15258 2006-03-07  Wim Taymans  <wim@fluendo.com>
15259
15260         * docs/libs/gstreamer-libs-sections.txt:
15261         Added basesink new methods.
15262
15263         * gst/gstevent.c:
15264         * gst/gstevent.h:
15265         Docs updates. Flesh out the QoS docs.
15266
15267         * libs/gst/base/gstadapter.c:
15268         Small doc clarification about ownership and flushing.
15269
15270         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15271         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15272         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15273         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15274         * libs/gst/base/gstbasesink.h:
15275         API additions: 
15276         Added new methods to allow subclass to control max-lateness 
15277         and sync.
15278         Generate very basic QoS events based on last sync observation.
15279         Updated docs, fix typo, added some QoS blurb.
15280
15281         * libs/gst/base/gstbasesrc.c:
15282         Remove obsolete _get_state() calls from docs.
15283
15284 2006-03-07  Wim Taymans  <wim@fluendo.com>
15285
15286         * docs/libs/gstreamer-libs-sections.txt:
15287         * libs/gst/base/gstbasetransform.h:
15288         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15289         Fix docs for GstBaseSrc.
15290
15291 2006-03-07  Wim Taymans  <wim@fluendo.com>
15292
15293         * docs/gst/gstreamer-sections.txt:
15294         * gst/gstbuffer.h:
15295         * gst/gstvalue.c:
15296         * libs/gst/base/gstbasetransform.h:
15297         Small documentation fixes.
15298
15299 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15300
15301         * gst/gstvalue.c:
15302           Document thread-unsafety of gst_value_register_foo_func()
15303           when used at the same time as gst_value_foo() (#322628).
15304
15305 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15306
15307         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15308         (gst_push_src_check_get_range):
15309           Push sources don't support pull mode by default.
15310
15311 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15312
15313         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15314         (gst_base_src_init), (gst_base_src_pad_check_get_range),
15315         (gst_base_src_default_check_get_range):
15316         * libs/gst/base/gstbasesrc.h:
15317           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15318           provide default implementation, and rename
15319           gst_base_src_check_get_range() to
15320           gst_base_src_pad_check_get_range() for clarity.
15321
15322 2006-03-06  Wim Taymans  <wim@fluendo.com>
15323
15324         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15325         Make property overridable.
15326
15327 2006-03-06  Wim Taymans  <wim@fluendo.com>
15328
15329         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15330         (gst_base_sink_init), (gst_base_sink_set_property),
15331         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15332         * libs/gst/base/gstbasesink.h:
15333         API addition: Make max-lateness a property.
15334
15335 2006-03-06  Wim Taymans  <wim@fluendo.com>
15336
15337         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15338         (gst_base_sink_do_sync), (gst_base_sink_render_object):
15339         Don't ever draw a frame that is >10ms late.
15340
15341 2006-03-06  Michael Smith  <msmith@fluendo.com>
15342
15343         * gst/gstmessage.c: (_gst_message_copy):
15344           When copying a message, set the parent_refcount of the enclosed
15345           structure to point at the copy, not the original message.
15346
15347 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15348
15349         Patch by: Christophe Fergeau
15350
15351         * gst/gstutils.h:
15352           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15353           usable in c++ code (#333417)
15354
15355 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15356
15357         * gst/gstclock.h:
15358           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15359
15360 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
15361
15362         * libs/gst/base/gstbasetransform.c:
15363         (gst_base_transform_transform_caps):
15364           Make sure caps are writable before passing them to
15365           gst_caps_append().
15366
15367 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15368
15369         * gst/gsterror.h:
15370           Fix some minor docs errors.
15371
15372 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15373
15374           Patch by: Ross Burton <ross at burtonini dot com>
15375
15376         * gst/gsterror.c: (_gst_resource_errors_init):
15377         * gst/gsterror.h:
15378           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15379
15380 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15381
15382         * gst/gst.c:
15383         Add a check and output a g_warning when GStreamer is built
15384         against GLib 2.6 but running against 2.8 or higher, and vice 
15385         versa. (Closes: #323542)
15386
15387 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15388
15389         * gst/parse/parse.l:
15390           Commit patch for parse_launch syntax from #331255. Removes 
15391           support for quoted strings and mimetypes when writing filtered 
15392           caps. See the bug report for more details - I'm pretty sure this
15393           obscure feature is not in use by _anyone_ anywhere.
15394
15395           With this simple change, the size of the gstreamer.so here 
15396           drops from 2193KB to 1565KB.
15397
15398 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15399
15400         * plugins/elements/gsttypefindelement.h:
15401         * plugins/elements/gsttypefindelement.c:
15402         (gst_type_find_element_src_event), (start_typefinding),
15403         (stop_typefinding), (gst_type_find_element_handle_event),
15404         (gst_type_find_element_chain),
15405         (gst_type_find_element_chain_do_typefinding):
15406           Use gst_type_find_helper_for_buffer() for chain-based
15407           typefinding.
15408
15409 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15410
15411         * plugins/elements/gsttypefindelement.c:
15412         (gst_type_find_element_class_init),
15413         (gst_type_find_element_set_property),
15414         (gst_type_find_element_get_property):
15415           Deprecate "maximum" property (not only was it only taken into
15416           account for typefinding in push-mode anyway, it also was never
15417           actually possible to set it in the first place because the
15418           property was registered with the numeric property ID for the
15419           "minimum" property). Register "maximum" property correctly,
15420           for the sake of future copy'n'pasters. Remove some cruft
15421           from property get/set functions.
15422
15423 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15424
15425         * plugins/elements/gsttypefindelement.c:
15426         (gst_type_find_element_activate):
15427           Use gst_type_find_helper_get_range() here, so we
15428           can honour the "minimum" property and also emit
15429           the signal with the correct probability of the found caps.
15430
15431 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
15432
15433         * docs/libs/gstreamer-libs-sections.txt:
15434         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15435         (helper_find_suggest), (gst_type_find_helper_get_range),
15436         (gst_type_find_helper):
15437         * libs/gst/base/gsttypefindhelper.h:
15438           New API: gst_type_find_helper_get_range() (#333042).
15439
15440 2006-03-02  Michael Smith  <msmith@fluendo.com>
15441
15442         * gst/gstregistryxml.c: (load_feature):
15443           Asserting on a failure to read part of the registry is Not Cool.
15444           Just log a warning and return NULL (which is already handled)
15445
15446 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
15447
15448         * win32/common/libgstbase.def:
15449           added export of gst_type_find_helper_for_buffer
15450         * win32/common/libgstbase.def:
15451           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15452           gst_ghost_pad_get_target
15453
15454 2006-02-28  Wim Taymans  <wim@fluendo.com>
15455
15456         * docs/design/draft-klass.txt:
15457         We use Filter now.
15458         Added Connector to mark elements that are only used to
15459         allow pipeline connections.
15460         Moved Debug to extra feature since most of them are 
15461         functionally something else.
15462
15463 2006-02-28  Wim Taymans  <wim@fluendo.com>
15464
15465         * docs/design/draft-klass.txt:
15466         Some updates and clarifications.
15467
15468 2006-02-28  Wim Taymans  <wim@fluendo.com>
15469
15470         * docs/design/draft-klass.txt:
15471         Proposal for klass field values.
15472
15473         * docs/design/part-streams.txt:
15474         Start of a doc describing stream anatomy.
15475
15476 2006-02-28  Wim Taymans  <wim@fluendo.com>
15477
15478         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15479         Help the compiler a bit with type registration.
15480         Use existing forward cod path instead of duplicating it when 
15481         handling a message.
15482         
15483         * gst/gstbus.c: (gst_bus_get_type):
15484         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15485         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15486         * gst/gstclock.c: (gst_clock_get_type):
15487         * gst/gstelement.c: (gst_element_get_type),
15488         * gst/gstelementfactory.c: (gst_element_factory_get_type):
15489         * gst/gstindexfactory.c: (gst_index_factory_get_type):
15490         * gst/gstminiobject.c: (gst_mini_object_get_type):
15491         * gst/gstpad.c: (gst_pad_get_type):
15492         * gst/gstsegment.c: (gst_segment_get_type):
15493         * gst/gststructure.c: (gst_structure_get_type):
15494         * gst/gstsystemclock.c: (gst_system_clock_get_type):
15495         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15496         * gst/gstvalue.c:
15497         Help compiler with type registration.
15498
15499         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15500         Small doc update.
15501
15502 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15503
15504         * plugins/elements/gsttypefindelement.c:
15505         (gst_type_find_element_handle_event):
15506           When we get an EOS event and have not found a type yet
15507           (most likely because we had not yet accumulated
15508           TYPE_FIND_MIN_SIZE of data yet), try to determine the
15509           type given the data we have so far. Fixes typefinding
15510           for very short streams again, most notably quicktime
15511           redirections as used on Apple's trailer site (#331701).
15512
15513 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15514
15515         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15516         (gst_type_find_helper):
15517           Try typefinding factories with the highest rank first.
15518
15519 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15520
15521         * docs/libs/gstreamer-libs-docs.sgml:
15522         * docs/libs/gstreamer-libs-sections.txt:
15523         * libs/gst/base/gsttypefindhelper.c:
15524           Add section for typefind helper and add documentation
15525           for the old and the new function.
15526
15527 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15528
15529         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15530         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15531         (gst_type_find_helper_for_buffer):
15532         * libs/gst/base/gsttypefindhelper.h:
15533           New API: gst_type_find_helper_for_buffer() (#332723).
15534           
15535 2006-02-27  Michael Smith  <msmith@fluendo.com>
15536
15537         Patch by: Loïc Minier
15538
15539         * configure.ac:
15540         * docs/Makefile.am:
15541         * docs/slides/Makefile.am:
15542           prevent CVS directories getting disted.
15543
15544 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15545
15546         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15547           Use the REFCOUNTING category for caps refcounting.
15548           
15549 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15550
15551         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15552           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15553
15554 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15555
15556         * plugins/elements/gsttypefindelement.c:
15557         (gst_type_find_element_activate):
15558           Use gst_pad_check_pull_range() before _activate_pull()
15559           to avoid unnecessary open/close (see #331690).
15560
15561 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15562
15563         * gst/gstutils.c:
15564           Docs enhancement: make it crystal clear what the
15565           gst_pad_add_*_probe() callbacks should look like.
15566
15567 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15568
15569         * libs/gst/base/gstbasesrc.c:
15570           Document how applications can stop recording from
15571           live sources (see #330996).
15572
15573 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15574
15575         * tests/check/Makefile.am:
15576         * tests/check/libs/basesrc.c: (eos_event_counter),
15577         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15578         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15579         (gst_basesrc_suite), (main):
15580           ... and add some tests for the base source EOS stuff.
15581
15582 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15583
15584         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15585           Test case originally showed the problem fixed below,
15586           but was then amended. Add checks back at the place
15587           where they used to be.
15588
15589 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15590
15591         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15592         (gst_base_src_init), (gst_base_src_loop),
15593         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15594         (gst_base_src_change_state):
15595         * libs/gst/base/gstbasesrc.h:
15596           Don't unconditionally send EOS when going from PAUSED to
15597           READY state, esp. make sure we don't send two EOS events
15598           in some cases (e.g. one when reaching EOS and one when
15599           going from PAUSED to READY). Also, we don't want to send
15600           EOS events when operating in pull mode. However, we do
15601           want to send an EOS event when shutting down a live
15602           source explicitly, for example (fixes #330996).
15603           
15604 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15605
15606         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15607           Update src->read_position after a seek when not using mmap.
15608           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15609
15610 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15611
15612         * gst/Makefile.am:
15613         * gst/gstparse.h:
15614         * gst/gstutils.c:
15615         * gst/gstutils.h:
15616         Make things work with --disable-parse as they do with 
15617         --disable-load-save - the symbols involved disappear, but the
15618         header is still installed and GST_DISABLE_PARSE is included via
15619         gstconfig.h
15620
15621 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15622
15623         * libs/gst/base/gstbasetransform.c:
15624         (gst_base_transform_change_state): Fix a stupid bug. I was 
15625         sure I compiled that.
15626
15627 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15628
15629         * gst/gstpad.c: (gst_pad_set_blocked_async):
15630         * gst/gstutils.c: (gst_pad_add_data_probe),
15631         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15632         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15633         (gst_pad_remove_buffer_probe): Make those function act on the
15634         ghostpad target when it's a ghostpad. (Closes #331727)
15635
15636 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15637
15638         * libs/gst/base/gstbasetransform.c:
15639         (gst_base_transform_change_state): Make basetransform reusable.
15640         (Closes #331898)
15641
15642 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15643
15644         * docs/random/release:
15645         Move the current documentation of how to do a release to the top
15646         of the file.
15647
15648         * gst/gstbin.c: (gst_bin_class_init),
15649         (gst_bin_handle_message_func):
15650         Allow multiple state-recalculation threads. (Closes #328873)
15651
15652 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15653
15654         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15655         * gst/gstpad.c: (gst_pad_set_event_function),
15656         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15657         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15658         2 strings. You can't use the STR_NULL macro on that.
15659
15660 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15661
15662         * gst/gstpad.c: (gst_pad_set_event_function),
15663         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15664         (gst_pad_set_getcaps_function)
15665         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15666           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15667           So now, we can use --gst-debug-level=5 on Windows
15668         * win32/common/libgstcontroller.def:
15669           Added export of gst_controller_init
15670         * win32/vs6/libgstcontroller.dsp:
15671           Fixed Release post build configuration
15672
15673 2006-02-17  Wim Taymans  <wim@fluendo.com>
15674
15675         * tests/check/gst/gstquery.c: (GST_START_TEST):
15676         Added another check.
15677
15678 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15679
15680         * plugins/elements/gsttypefindelement.c: (find_peek):
15681           We can do peeks at non-zero offsets, as long as they
15682           fall within the buffer we have.
15683
15684 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15685
15686         * tests/check/Makefile.am:
15687         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15688         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15689         (parse_suite), (main):
15690           Add testsuite for parse launch syntax
15691
15692 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15693
15694         * plugins/elements/gsttypefindelement.c:
15695         (gst_type_find_element_chain):
15696           When typefinding is unsuccessful in the chain function, don't
15697           error out immediately. Only error out with NO_CAPS_FOUND if
15698           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15699           otherwise simply wait for more data so we can try typefinding
15700           again with more data later. Also, don't attempt to typefind
15701           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15702           this should improve typefinding from network sources where the
15703           size of the first buffer can be somewhat random.
15704
15705 2006-02-14  Wim Taymans  <wim@fluendo.com>
15706
15707         * docs/gst/gstreamer-sections.txt:
15708         * gst/gstpadtemplate.c:
15709         * gst/gstpadtemplate.h:
15710         Fix padtemplate docs, fixes #328805.
15711
15712 2006-02-14  Wim Taymans  <wim@fluendo.com>
15713
15714         * tools/gst-launch.c: (main):
15715         NO_PREROLL is not an ERROR so don't send confusing messages
15716         to the user.
15717
15718 2006-02-14  Wim Taymans  <wim@fluendo.com>
15719
15720         Patch by: Torsten Schoenfeld
15721
15722         * gst/gstregistry.c: (gst_registry_get_default),
15723         (_gst_registry_cleanup):
15724         Protect default registry with lock and ref/sink it.
15725         Fixes #324818
15726
15727 2006-02-14  Wim Taymans  <wim@fluendo.com>
15728
15729         * gst/gstbuffer.c:
15730         * gst/gstquery.c: (gst_query_list_add_format),
15731         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15732         (gst_query_parse_formats_nth):
15733         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15734         Docs fixes.
15735
15736 2006-02-14  Wim Taymans  <wim@fluendo.com>
15737
15738         * docs/gst/gstreamer-sections.txt:
15739         Reworked query docs.
15740
15741         * gst/gstquery.c: (gst_query_new_formats),
15742         (gst_query_list_add_format), (gst_query_set_formats),
15743         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15744         (gst_query_parse_formats_nth):
15745         * gst/gstquery.h:
15746         Flesh out formats query, added some new methods.
15747         Fix part of #324398.
15748
15749         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15750         Added query creation tests.
15751
15752 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15753
15754         * gst/gstpad.c: (fixate_value):
15755         Add a default fixation for fraction lists.
15756
15757 2006-02-13  Wim Taymans  <wim@fluendo.com>
15758
15759         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15760         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15761         (gst_task_join):
15762         * gst/gsttask.h:
15763         Detect and warn for obvious deadlocks. fixes #320340
15764         Fix error case where lock was not released.
15765
15766         * tests/check/Makefile.am:
15767         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15768         (task_func), (gst_element_suite), (main):
15769         Add task check.
15770
15771 2006-02-13  Wim Taymans  <wim@fluendo.com>
15772
15773         * docs/gst/gstreamer-sections.txt:
15774         * gst/gstbus.c:
15775         Add new functions to docs.
15776
15777 2006-02-13  Wim Taymans  <wim@fluendo.com>
15778
15779         * docs/design/part-TODO.txt:
15780         Updated TODO list, basesrc supports seeking to non-bytes
15781         formats.
15782
15783         * docs/design/part-element-sink.txt:
15784         Update docs.
15785
15786         * gst/gstbin.c: (bin_replace_message),
15787         (gst_bin_handle_message_func):
15788         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15789         * gst/gstevent.c: (gst_event_finalize):
15790         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15791         (gst_pad_send_event):
15792         Use shiny new _TYPE_NAME macros.
15793
15794         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15795         Move debug statement up.
15796
15797         * gst/gstelement.c: (gst_element_set_locked_state):
15798         Add some debugging.
15799
15800 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15801
15802         * docs/gst/gstreamer-sections.txt:
15803         * gst/gstmessage.h:
15804         * gst/gstquery.h:
15805           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15806           macros (#330906). Also, document the already existing
15807           GST_QUERY_TYPE macro.
15808
15809 2006-02-13  Wim Taymans  <wim@fluendo.com>
15810
15811         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15812         (event_probe), (GST_START_TEST):
15813         Only events up to the pipeline EOS are counted, there are
15814         some more when going to NULL currently which we don't care
15815         about for now.
15816
15817 2006-02-13  Wim Taymans  <wim@fluendo.com>
15818
15819         * gst/gstpad.c: (gst_pad_send_event):
15820         Correctly check flushing and emit probes. fixes #330125
15821
15822 2006-02-10  Andy Wingo  <wingo@pobox.com>
15823
15824         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15825         structure.
15826         (gst_bus_init): Cache the location of the private data in the
15827         instance structure.
15828         (gst_bus_enable_sync_message_emission) 
15829         (gst_bus_disable_sync_message_emission): Implement new public
15830         functions.
15831         (gst_bus_post): Emit the sync-message signal if the user asked for
15832         it. Fixes #330684.
15833
15834         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15835         location of the bus-private structure.
15836         (gst_bus_enable_sync_message_emission)
15837         (gst_bus_disable_sync_message_emission): API addition
15838
15839 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15840
15841         Patch by: Vincent Torri
15842
15843         * docs/pwg/building-boiler.xml:
15844         PWG patch from #326800
15845
15846 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15847
15848         * configure.ac:
15849         * docs/Makefile.am:
15850         * docs/design/Makefile.am:
15851           Dist design docs.
15852
15853 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15854
15855         * configure.ac:
15856           back to CVS
15857
15858 === release 0.10.3 ===
15859
15860 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15861
15862         * configure.ac:
15863           releasing 0.10.3, "Like a virgin"
15864
15865 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15866
15867         * configure.ac:
15868           2nd prerelease of 0.10.3
15869           Bump libtool versioning.
15870
15871 2006-02-07  Andy Wingo  <wingo@pobox.com>
15872
15873         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15874         update last_stop if we're in TIME format and the timestamp is
15875         valid.
15876
15877         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15878         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15879         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15880         If we get a new newsegment with a different format, adapt
15881         accordingly.
15882
15883         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15884         of 0. Not a problem, really.
15885
15886         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15887         warn if sync=true.
15888
15889 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15890
15891         * configure.ac:
15892           Prelease of 0.10.3
15893
15894 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15895
15896         * win32/vs7:
15897           project files updated to the default vs7 configuration
15898         * win32/common/libgstbase.def:
15899         * win32/common/libgstreamer.def:
15900           added new symbols,
15901           removed empty lines,
15902           sorted all exported symbols alphabetically
15903         * win32/common/dirent.c:
15904         * win32/common/dirent.h:
15905         * win32/common/gchar.h:
15906           use windows line end.
15907           
15908 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15909
15910         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15911           Send EOS event when stopping.
15912
15913 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15914
15915         * docs/README:
15916           Tell folks what to do if the plugin-foobar.xml file
15917           hasn't been generated for a newly-added plugin.
15918
15919 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15920
15921         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15922         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15923         (gst_collect_pads_start), (gst_collect_pads_stop),
15924         (gst_collect_pads_event): Collectpads now holds a reference
15925         to the GstPad that was added. Indeed we don't want to look
15926         at pads that might just go away with no warning...
15927
15928 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15929
15930         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15931         (gst_collect_pads_start), (gst_collect_pads_stop),
15932         (gst_collect_pads_event), (gst_collect_pads_chain):
15933         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15934         Mark Nauwelaerts's patch on bug #328491.
15935
15936 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15937
15938         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15939         (gst_utils_suite):
15940           Add some simple tests for gst_parse_bin_from_description() and
15941           gst_bin_find_unconnected_pad() (#329069).
15942
15943 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15944
15945         * tools/gst-launch.c: (event_loop), (main):
15946           Catch errors during preroll (#320084).
15947
15948 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15949
15950         * plugins/elements/gsttypefindelement.c:
15951         (gst_type_find_element_activate):
15952           Post TYPE_NOT_FOUND error message when typefinding
15953           is unsuccessful in the activate function as well.
15954
15955 2006-02-02  Wim Taymans  <wim@fluendo.com>
15956
15957         * docs/design/part-element-sink.txt:
15958         Updated doc.
15959
15960 2006-02-02  Wim Taymans  <wim@fluendo.com>
15961
15962         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15963         (gst_base_sink_render_object),
15964         (gst_base_sink_queue_object_unlocked):
15965         Only keep track of prerollable items when we are 
15966         prerolling.
15967         Before rendering after preroll, always check if we
15968         have queued items.
15969         Added some more debugging.
15970
15971 2006-02-02  Wim Taymans  <wim@fluendo.com>
15972
15973         * gst/gstelement.c: (gst_element_continue_state),
15974         (gst_element_set_state_func), (gst_element_change_state):
15975         Fixed #326576, been running this for quite some time with
15976         no regressions at all.
15977
15978 2006-02-02  Wim Taymans  <wim@fluendo.com>
15979
15980         * common/gst.supp:
15981         Added more suppressions
15982
15983 2006-02-02  Wim Taymans  <wim@fluendo.com>
15984
15985         * docs/design/part-element-sink.txt:
15986         Updated document.
15987
15988         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15989         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15990         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15991         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15992         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15993         (gst_base_sink_preroll_object),
15994         (gst_base_sink_queue_object_unlocked),
15995         (gst_base_sink_queue_object), (gst_base_sink_event),
15996         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15997         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15998         (gst_base_sink_get_position), (gst_base_sink_change_state):
15999         * libs/gst/base/gstbasesink.h:
16000         Totally refactored matching the design doc.
16001         Use two segments, one to clip incomming buffers and another to
16002         perform sync.
16003         Handle queueing correctly, bypass the queue when playing.
16004         Make EOS cancelable.
16005         Handle errors correctly when operating in pull based mode.
16006
16007         * tests/check/elements/fakesink.c: (GST_START_TEST),
16008         (fakesink_suite):
16009         Added new check for sinks.
16010
16011 2006-02-02  Wim Taymans  <wim@fluendo.com>
16012
16013         * gst/gstsegment.c: (gst_segment_clip):
16014         No reason to refuse to clip when start == -1
16015
16016 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
16017
16018         * docs/README:
16019         * docs/manual/intro-basics.xml:
16020         * docs/manual/intro-preface.xml:
16021         * docs/manual/manual.xml:
16022         * docs/pwg/advanced-dparams.xml:
16023         * docs/pwg/intro-basics.xml:
16024         * docs/pwg/intro-preface.xml:
16025         * docs/pwg/pwg.xml:
16026           describe dparams (controller) for plugins
16027           unify docs a little more
16028
16029 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
16030
16031         * docs/gst/gstreamer-sections.txt:
16032         * gst/gstutils.c: (element_find_unconnected_pad),
16033         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
16034         * gst/gstutils.h:
16035           Add new API: gst_parse_bin_from_description() and
16036           gst_bin_find_unconnected_pad() (#329069).
16037
16038 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
16039
16040         * docs/manual/README:
16041           uncover a nasty detail of the docs build
16042
16043 2006-01-31  Wim Taymans  <wim@fluendo.com>
16044
16045         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
16046         Don't cache duration messages if we're not going to use or
16047         free them.
16048
16049 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
16050
16051         * docs/manual/advanced-dparams.xml:
16052         * docs/pwg/advanced-dparams.xml:
16053           more dparam docs
16054         * gst/gstindex.c:
16055           fix docs
16056         * libs/gst/controller/lib.c: (gst_controller_init):
16057           init just once
16058
16059 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16060
16061         * gst/gstelement.c: (gst_element_message_full):
16062           also show file/line/func if no additional debug was given
16063
16064 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
16065         
16066         * win32/vs7/grammar.vcproj:
16067           activate copy of autogenerated files for Release mode
16068
16069 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
16070         
16071         * win32/common/libgstreamer.def:
16072           export gst_value_compare
16073
16074 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
16075
16076         * plugins/elements/Makefile.am:
16077         * plugins/elements/gstelements.c:
16078         * plugins/elements/gstfdsink.c: (_do_init),
16079         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
16080         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
16081         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
16082         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
16083         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
16084         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
16085         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
16086         * plugins/elements/gstfdsink.h:
16087         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
16088
16089 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
16090
16091         * docs/manual/advanced-dparams.xml:
16092           describe controller
16093         * docs/manual/advanced-position.xml:
16094         * docs/manual/basics-init.xml:
16095         * docs/manual/manual.xml:
16096         * docs/manual/titlepage.xml:
16097         * docs/pwg/pwg.xml:
16098         * docs/pwg/titlepage.xml:
16099           cleanup xml (more to come)
16100         * libs/gst/controller/gstcontroller.c:
16101           fix typo
16102
16103 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
16104         
16105         * win32/vs6/grammar.dsp:
16106           add autogen of gstmarshal.c,h for Release mode
16107                 
16108 2006-01-30  Wim Taymans  <wim@fluendo.com>
16109
16110         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16111         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
16112         (gst_base_sink_handle_object), (gst_base_sink_event),
16113         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
16114         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16115         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
16116         (gst_base_sink_deactivate), (gst_base_sink_activate),
16117         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16118         (gst_base_sink_query), (gst_base_sink_change_state):
16119         Basesink cleanups, remove some old code.
16120         Handle the case where a subclass can preroll in the render
16121         method (mostly audiosinks).
16122         Handle more events.
16123         Remove some locks around variables that are now protected
16124         with the PREROLL_LOCK (clock_id, flushing, ..).
16125         Optimize position query some more, do correct locking.
16126         Remove old code to push queue in state change, this is not
16127         needed anymore since preroll blocks on all prerollable items 
16128         now.
16129         Almost implemented as described in design doc.
16130
16131 2006-01-30  Wim Taymans  <wim@fluendo.com>
16132
16133         * tests/check/gst/gstbin.c: (GST_START_TEST):
16134         Wait for refcount to settle down before checking.
16135
16136 2006-01-30  Wim Taymans  <wim@fluendo.com>
16137
16138         * docs/design/part-element-sink.txt:
16139         Pseudo code overview of desired sink behaviour regarding
16140         preroll.
16141
16142 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16143         * win32/vs6/grammar.dsp:
16144           fix some bugs in Release mode for autogenerated files
16145                 
16146 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16147         * win32/common/libgstbase.def:
16148         * win32/common/libgstreamer.def:
16149           export some new symbols: gst_base_src_set_format,
16150           gst_iterator_next, gst_structure_set_valist
16151
16152 2006-01-29  Julien MOUTTE  <julien@moutte.net>
16153
16154         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
16155         Set pad functions unconditionally. Fixes #329105.
16156
16157 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16158         * win32/vs8:
16159           add vs8 project files created by Sergey Scobich
16160
16161 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
16162
16163         * gst/gstutils.c: (gst_element_unlink_pads):
16164         Don't leak pad references.
16165
16166         * tests/check/elements/fakesink.c: (GST_START_TEST):
16167         * tests/check/generic/sinks.c: (GST_START_TEST):
16168         * tests/check/generic/states.c: (GST_START_TEST):
16169         * tests/check/gst/gstbin.c: (GST_START_TEST):
16170         * tests/check/gst/gstcaps.c: (GST_START_TEST):
16171         * tests/check/gst/gstelement.c: (GST_START_TEST):
16172         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16173         * tests/check/gst/gstiterator.c: (GST_START_TEST):
16174         * tests/check/gst/gstvalue.c: (GST_START_TEST):
16175         Fix a bunch of leaks. Make generic/sinks.c
16176         use a bit less cpu by slowing the buffer rate
16177         between fakesrc and fakesink.
16178         
16179 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
16180         * gst/gstcaps.c:
16181         * gst/gstelement.c: (gst_element_send_event):
16182         * gst/gstevent.c:
16183         * gst/gstinfo.c:
16184         * gst/gstiterator.c:
16185         * gst/gstiterator.h:
16186         * gst/gstpad.c: (gst_pad_send_event):
16187         * gst/gststructure.c:
16188         * gst/gsturi.c:
16189         * gst/gstutils.c:
16190         * gst/gstvalue.c:
16191         * libs/gst/base/gstadapter.c:
16192           doc fixes, to link to function, just write gst_cool_function(), don't
16193           prefix with '#'
16194
16195 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16196
16197         * plugins/elements/gsttee.c: (gst_tee_do_push),
16198         (gst_tee_handle_buffer):
16199         Always prefer an actual return value from a src
16200         pad in place of NOT_LINKED. This means we return
16201         WRONG_STATE when all src pads are WRONG_STATE
16202         instead of NOT_LINKED.
16203
16204         Lock when replacing the last message to prevent
16205         racing with the get_property method.
16206
16207         Add debug output
16208
16209 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16210
16211         * tests/check/Makefile.am:
16212         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
16213         (main):
16214         Add a very simple check that should have caught the memleak I fixed
16215         last night (if not for the slice allocator hiding it)
16216
16217 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16218
16219         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16220         (gst_bin_remove_func), (gst_bin_handle_message_func),
16221         (bin_query_duration_fold), (bin_query_generic_fold):
16222         Clean up references to the clock provider when disposed or when
16223         handling a clock-lost message from it.
16224
16225         Unref sinks when performing a query via gst_iterator_fold, as the
16226         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16227
16228         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16229         (gst_clock_set_master):
16230         Drop our reference to the master clock, if any, when we are disposed.
16231
16232         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16233         Chain up in dispose. 
16234
16235 2006-01-26  Wim Taymans  <wim@fluendo.com>
16236
16237         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16238         Add some debugging.
16239
16240 2006-01-26  Julien MOUTTE  <julien@moutte.net>
16241
16242         * plugins/elements/gsttee.c: (gst_tee_do_push),
16243         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16244         handles pad being NOT_LINKED or in WRONG_STATE.
16245
16246 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16247
16248         * win32/MANIFEST:
16249           more updating
16250
16251 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16252
16253         * win32/MANIFEST:
16254           remove obsolete entry
16255
16256 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16257
16258         * docs/gst/gstreamer-sections.txt:
16259         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16260         (gst_bin_iterate_sources), (gst_bin_send_event):
16261         * gst/gstbin.h:
16262         * gst/gstelement.c: (gst_element_send_event):
16263         * gst/gstevent.c:
16264         * gst/gstpad.c: (gst_pad_send_event):
16265           added code for downstream events, reviewed docs in gstevent.c
16266
16267 2006-01-25  Julien MOUTTE  <julien@moutte.net>
16268
16269         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16270         We only query position using the clock in the playing state.
16271         Query peer in the other cases.
16272         * win32/common/config.h: Updates.
16273
16274 2006-01-24  Wim Taymans  <wim@fluendo.com>
16275
16276         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16277         A clock entry that is scheduled for the exact time of the
16278         clock is still in time.
16279
16280         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16281         (gst_base_sink_do_sync):
16282         Add some more debug info.
16283
16284 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16285
16286         * win32/vs7:
16287           Add new vs7 project files and solution.
16288
16289 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16290
16291         * win32/vs7:
16292           all files removed as they were out-dated.
16293
16294 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16295
16296         * docs/random/release:
16297           update notes
16298         * gst/gstbin.c: (gst_bin_init):
16299         * gst/gstbus.c: (gst_bus_new):
16300         * gst/gstbus.h:
16301         * gst/gstpipeline.c: (gst_pipeline_init):
16302           use gst_bus_new(), improve logging, fix docs
16303         * win32/common/config.h:
16304           update for cvs build
16305
16306 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16307
16308         * autogen.sh:
16309           up required version of automake to 1.7
16310
16311 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
16312
16313         * win32/common/libgstreamer.def:
16314           export gst_buffer_is_metadata_writable
16315
16316 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
16317
16318         * docs/gst/gstreamer-sections.txt:
16319         * gst/gstevent.h:
16320           Add gst_event_replace() (#327001)
16321
16322 2006-01-20  Wim Taymans  <wim@fluendo.com>
16323
16324         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16325         Make it actually compile too..
16326
16327 2006-01-20  Wim Taymans  <wim@fluendo.com>
16328
16329         * gst/gstcaps.c:
16330         Clarify behaviour of _is_equal() when passing NULL parameters.
16331
16332         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16333         (gst_pad_set_caps):
16334         Cleanups. Don't unref NULL caps.
16335         When setting the same caps, protect caps of the pad with
16336         proper lock.
16337         Use full functionality of _is_equal() when comparing caps.
16338
16339 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16340
16341         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16342         Don't loop infinitely if there are no buffers to present. Partially
16343         fixes #327197, but collectpads is just broken for reusing elements
16344         to do multiple encodes atm.
16345
16346 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16347
16348         * tools/gst-inspect.c: (print_element_features):
16349         * tools/gst-xmlinspect.c: (main):
16350         URL_HANDLER is not a plugin feature we can search for in
16351         the registry.
16352
16353 2006-01-19  Edward Hervey  <edward@fluendo.com>
16354
16355         * gst/gstelement.c: (gst_element_pads_activate): 
16356         When activating, do src pads first, then sink pads.
16357         When de-activating, do sink pads first, then src pads.
16358
16359 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16360
16361         * docs/gst/gstreamer-sections.txt:
16362         Add gst_index_add_associationv to the docs
16363
16364 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16365
16366         * gst/gstevent.c:
16367           Fix docs typo
16368
16369         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16370         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16371           Do some refactoring. Doesn't actually change functionality,
16372           but makes landing the DRAIN event easier later.
16373
16374 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
16375
16376         * docs/pwg/advanced-scheduling.xml:
16377           Update from 0.9.x to 0.10 API and make example a bit
16378           clearer.
16379
16380 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16381
16382         * docs/gst/gstreamer-sections.txt:
16383         Add gst_buffer_(is|make)_metadata_writable methods.
16384
16385 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16386
16387         * docs/design/part-sparsestreams.txt:
16388         Update sparse streams doc, hopefully for greater clarity
16389
16390 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
16391
16392         * docs/design/part-events.txt:
16393         Remove mention of FILLER events.
16394         Add DRAIN event.
16395
16396         * docs/design/part-sparsestreams.txt:
16397         Write some things about using NEWSEGMENT to keep sparse streams
16398         flowing.
16399
16400 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16401
16402         * gst/gstbin.c: (gst_bin_dispose):
16403           Guard gst_object_unref call against a NULL object (dispose
16404           can theoretically be called multiple times).
16405           
16406 2006-01-18  Wim Taymans  <wim@fluendo.com>
16407
16408         * gst/gstbin.c: (gst_bin_element_set_state):
16409         * gst/gstclock.c: (gst_clock_id_wait):
16410         Added some more debug info.
16411
16412         * libs/gst/base/gstadapter.c:
16413         Added more docs.
16414
16415         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16416         (gst_base_sink_do_sync), (gst_base_sink_chain):
16417         Added some comments.
16418
16419 2006-01-18  Wim Taymans  <wim@fluendo.com>
16420
16421         * tests/check/Makefile.am:
16422         * tests/check/elements/fakesink.c: (chain_async_buffer),
16423         (chain_async), (chain_async_return), (GST_START_TEST),
16424         (fakesink_suite), (main):
16425         Added fakesink test that checks prerolling and clipping
16426         behaviour.
16427
16428         * tests/check/gst/gstutils.c: (GST_START_TEST):
16429         Make check run faster so that buildbots don't timeout.
16430
16431 2006-01-18  Wim Taymans  <wim@fluendo.com>
16432
16433         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16434         (gst_base_sink_do_sync):
16435         Some cleanups.
16436         When the sink finishes blocking on the preroll buffer, it can
16437         immediatly render it instead of rendering when the next buffer
16438         arrives.
16439
16440 2006-01-18  Wim Taymans  <wim@fluendo.com>
16441
16442         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16443         (gst_base_sink_get_property), (gst_base_sink_do_sync),
16444         (gst_base_sink_chain):
16445         Small cleanups.
16446         GST_ELEMENT_CLOCK and sync are protected with LOCK.
16447         Don't store _last_stop if the buffer is dropped.
16448
16449 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16450
16451         * plugins/elements/gsttypefindelement.c:
16452         (gst_type_find_element_class_init):
16453           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16454           object method handler that sets the caps on the pad and we want
16455           that to happen before we emit the signal (fixes e.g. feeding a
16456           plain text file to decodebin).
16457
16458 2006-01-18  Christian Schaller  <Christian@fluendo.com>
16459
16460         * gst/gstplugin.c: Add MPL and Proprietary as license options
16461
16462 2006-01-18  Andy Wingo  <wingo@pobox.com>
16463
16464         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16465         symbol was exported before, it appears this was just an oversight.
16466         Fixes #168703.
16467         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16468
16469         * gst/gstindex.c (gst_index_add_associationv): Changed int in
16470         prototype to gint. OK since this prototype was not in the header.
16471
16472 2006-01-17  Andy Wingo  <wingo@pobox.com>
16473
16474         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16475         registry while we remove plugins.
16476
16477         * tools/gst-inspect.c (print_element_info): Don't unref the
16478         factory arg, that should be the responsibility of whatever code
16479         received the ref. Fixes a double-free when called from
16480         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16481         (main): Unref the factory if we have one.
16482         (print_element_list): No change -- relies on the
16483         plugin_feature_list_free to free the list of features.
16484
16485 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
16486
16487         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16488         (gst_buffer_make_metadata_writable):
16489         * gst/gstbuffer.h:
16490         * libs/gst/base/gstbasetransform.c:
16491         (gst_base_transform_prepare_output_buf):
16492         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16493         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16494           Replace gst_buffer_(make|is)_metadata_writable patch now
16495           that the release is out.
16496
16497 2006-01-17  Andy Wingo  <wingo@pobox.com>
16498
16499         * gst/gstregistry.c: Reflow design comment. Update so as to speak
16500         in the present tense without reference to versions.
16501
16502         * gst/gstregistry.c (gst_registry_add_plugin)
16503         (gst_registry_remove_plugin, gst_registry_remove_feature)
16504         (gst_registry_find_feature, gst_registry_get_feature_list)
16505         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16506         (gst_registry_lookup, gst_registry_scan_path)
16507         (_gst_registry_remove_cache_plugins)
16508         (gst_registry_get_feature_list_by_plugin): Add argument
16509         validation.
16510
16511 === release 0.10.2 ===
16512
16513 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
16514
16515         * configure.ac:
16516           releasing 0.10.2, "If man is five"
16517
16518 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16519
16520         * gst/gstbuffer.c:
16521         * gst/gstbuffer.h:
16522         * libs/gst/base/gstbasetransform.c:
16523         (gst_base_transform_prepare_output_buf):
16524         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16525         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16526           Back out patch until after the release.
16527
16528 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16529
16530         * gst/gstminiobject.c:
16531           Spelling fix in docs.
16532         * ChangeLog - remove conflict indicator
16533
16534 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16535
16536         Reviewed By: Andy Wingo
16537
16538         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16539         (gst_buffer_make_metadata_writable):
16540         * gst/gstbuffer.h:
16541           Add gst_buffer_(is|make)_metadata_writable as analogues of
16542           gst_buffer_(is|make)_writable.
16543
16544         * libs/gst/base/gstbasetransform.c:
16545         (gst_base_transform_prepare_output_buf):
16546         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16547           Use name gst_buffer_(is|make)_metadata_writable functions.
16548
16549         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16550           Test gst_buffer_(is|make)_metadata_writable
16551         
16552           (Closes: #324162)
16553
16554 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16555
16556         * docs/manual/Makefile.am:
16557           don't do parallel make
16558         * configure.ac:
16559           AC_SUBST HOST_CPU
16560         * win32/common/config.h.in:
16561           add generations for HOST_CPU and GST_MAJORMINOR
16562         * win32/common/config.h:
16563           commit generated result
16564
16565 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16566
16567         * docs/manual/appendix-integration.xml:
16568           Update GNOME integration section to use gst_init_get_option_group()
16569           instead of the old popt stuff (#322911). Also, GNOME applications
16570           should  now use gconf*sink and gconf*src instead of the old gconf
16571           helper lib we had.
16572
16573 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16574
16575
16576         * docs/gst/gstreamer-docs.sgml:
16577         * docs/gst/gstreamer-sections.txt:
16578         * docs/libs/gstreamer-libs-sections.txt:
16579           add new API entries to the docs
16580         * libs/gst/controller/Makefile.am:
16581         * libs/gst/controller/gstcontroller.c:
16582         * libs/gst/controller/gstcontroller.h:
16583         * libs/gst/controller/gstcontrollerprivate.h:
16584         * libs/gst/controller/gsthelper.c:
16585         * libs/gst/controller/gstinterpolation.c:
16586           move private structs to private header
16587         * po/README:
16588           gstreamer-0.7 -> gstreamer-0.10
16589         * tests/check/libs/struct_i386.h:
16590           remove private structs
16591
16592 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16593
16594         * plugins/indexers/Makefile.am:
16595           Fixes as part of #317048
16596
16597 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16598
16599         * plugins/indexers/Makefile.am:
16600           fix #316086 - compilation when mmap is missing
16601
16602 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16603
16604         * libs/gst/base/gstbasesink.c:
16605           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16606           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16607         * win32/common/config.h:
16608           added some defines GST_MAJORMINOR and HOST_CPU
16609         * win32/common/libgstbase.def:
16610         * win32/common/libgstreamer.def:
16611           added some exported functions.
16612
16613 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16614
16615         * libs/gst/controller/gstcontroller.c:
16616         (gst_controlled_property_set_interpolation_mode),
16617         (gst_controlled_property_new):
16618         * libs/gst/controller/gstcontroller.h:
16619         * libs/gst/controller/gstinterpolation.c:
16620         (interpolate_none_get_string_value_array):
16621           make G_TYPE_STRING controlable
16622
16623 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16624
16625         * tools/README:
16626         * tools/gst-feedback.1.in:
16627         * tools/gst-inspect.1.in:
16628         * tools/gst-launch.1.in:
16629         * tools/gst-md5sum.1.in:
16630         * tools/gst-typefind.1.in:
16631         * tools/gst-xmlinspect.1.in:
16632         * tools/gst-xmllaunch.1.in:
16633           cleanup man-pages, remove reference to gst-register, document env-vars
16634
16635 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16636
16637         * gst/gstbuffer.c: (gst_buffer_span):
16638           gst_buffer_span should copy the timestamp of the first buffer
16639           if they were both originally overlapping subbuffers of the 
16640           same parent, using the same logic as the 'slow copy' case.
16641
16642 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16643
16644         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16645           Need to awaken ALL the pads when we pop a buffer, otherwise
16646           collectpads only works when there is 2 input streams.
16647
16648 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16649
16650         * docs/random/ensonic/media-device-daemon.txt:
16651           more ideas (dbus)
16652         * gst/gstbuffer.c:
16653           fix doc example, add clarification
16654         * tools/gst-launch.1.in:
16655           add initial info about GST_PLUGIN_PATH, needs more work
16656
16657 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16658
16659         * docs/manual/basics-bins.xml:
16660         * docs/manual/basics-elements.xml:
16661         * docs/manual/intro-basics.xml:
16662           Some more minor docs additions and updates.
16663
16664 2006-01-11  Wim Taymans  <wim@fluendo.com>
16665
16666         * docs/manual/basics-bins.xml:
16667         * docs/manual/basics-elements.xml:
16668         Some small fixes as pointed out by Ser-ver on IRC.
16669
16670 2006-01-10  Edward Hervey  <edward@fluendo.com>
16671
16672         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16673         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16674         the single-segment mode.
16675
16676 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16677
16678         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16679
16680         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16681         (gst_base_src_perform_seek), (gst_base_src_send_event),
16682         (gst_base_src_set_property), (gst_base_src_get_property),
16683         (gst_base_src_loop), (gst_base_src_start),
16684         (gst_base_src_activate_push):
16685         * libs/gst/base/gstbasesrc.h:
16686           Name (private) union; makes Sun's Forte compiler happy (#324900).
16687
16688 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16689
16690         * README:
16691           gst-register is gone.
16692
16693 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16694
16695         * gst/gstvalue.c: (_gst_value_initialize):
16696           make the G_TYPE_DATE instantiation work if debug is disabled
16697
16698 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16699
16700         * gst/gstmessage.c: (gst_message_parse_tag),
16701         (gst_message_parse_error), (gst_message_parse_warning):
16702           Don't crash when return location for error/warning debug
16703           string is NULL; add fact that return locations can be
16704           NULL to docs where appropriate.
16705
16706 2006-01-05  Wim Taymans  <wim@fluendo.com>
16707
16708         * gst/gstplugin.c: (gst_plugin_load_file):
16709         Replace strdup by g_strdup.
16710
16711 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16712
16713         * docs/pwg/advanced-types.xml:
16714           fix doc borkage
16715
16716 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16717
16718         submitted by: Abel Cheung
16719
16720         * po/LINGUAS:
16721         * po/zh_TW.po:
16722           Added Chinese (traditional) translation
16723
16724 2006-01-04  Wim Taymans  <wim@fluendo.com>
16725
16726         * docs/manual/basics-pads.xml:
16727         * docs/plugins/Makefile.am:
16728         * docs/plugins/gstreamer-plugins-docs.sgml:
16729         * docs/plugins/gstreamer-plugins-sections.txt:
16730         * docs/pwg/advanced-clock.xml:
16731         * docs/pwg/advanced-scheduling.xml:
16732         * docs/pwg/advanced-types.xml:
16733         * plugins/elements/gstfdsink.c:
16734         * plugins/elements/gstfdsrc.c:
16735         * plugins/elements/gstfdsrc.h:
16736         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16737         * plugins/elements/gstidentity.h:
16738         * plugins/elements/gstqueue.h:
16739         * plugins/elements/gsttee.c:
16740         * plugins/elements/gsttee.h:
16741         * plugins/elements/gsttypefindelement.c:
16742         (gst_type_find_element_class_init):
16743         * plugins/elements/gsttypefindelement.h:
16744         Small updates to various docs.
16745         Added core plugins to docs.
16746
16747 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16748
16749         * common/gst.supp:
16750           add a suppression for liboil's uninitialized variable
16751
16752 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16753
16754         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16755
16756         * gst/gstutils.h:
16757           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16758           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16759           compiler switch is being used (#325429).
16760
16761 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16762
16763         * gst/gstbin.c: (gst_bin_query):
16764           Disable duration query caching in bins until it gets
16765           fixed (see #324807).
16766
16767 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16768
16769         * tools/gst-inspect.c: (print_element_properties_info):
16770           Handle properties of POINTER and BOXED type.
16771
16772 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16773
16774         * gst/gst.c: (init_post):
16775           Init tags stuff and some other things before loading
16776           any static plugins (there may be other static plugins
16777           than just the GStreamer ones, and they may want to
16778           register their own tags or formats or whatever, and
16779           preferably without segfaulting).
16780
16781         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16782           Print at least a warning in the debug logs if we drop a
16783           query just because we don't know how to adjust the value
16784           in the particular format.
16785
16786 2005-12-24  David Schleef  <ds@schleef.org>
16787
16788         * tools/gstreamer-completion:
16789           Replacement for gst-complete written in sh and sed.  Only
16790           completes names of features, but that's 90% of what I want
16791           it for.  Properties are not available in registry.xml.  (Maybe
16792           they should be...)
16793
16794 === release 0.10.1 ===
16795
16796 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16797
16798         * configure.ac:
16799           releasing 0.10.1, "Nollaig chridheil"
16800
16801 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16802
16803         * docs/faq/cvs.xml:
16804           Add missing quote, should be make ERROR_CFLAGS="".
16805
16806 2005-12-20  Wim Taymans  <wim@fluendo.com>
16807
16808         * docs/design/part-trickmodes.txt:
16809         More documentation on trickmodes.
16810
16811 2005-12-20  Edward Hervey  <edward@fluendo.com>
16812
16813         * gst/gstcaps.c: (gst_static_caps_get_type):
16814         * gst/gstcaps.h:
16815           API addition: GST_TYPE_STATIC_CAPS
16816         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16817         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16818         * gst/gstpadtemplate.h:
16819           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16820         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16821         bindings.
16822
16823 2005-12-18  Wim Taymans  <wim@fluendo.com>
16824
16825         * libs/gst/base/gstadapter.c:
16826         * libs/gst/base/gstadapter.h:
16827         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16828         (gst_base_sink_get_position):
16829         * libs/gst/base/gstbasesink.h:
16830         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16831         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16832         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16833         (gst_base_src_send_event), (gst_base_src_update_length),
16834         (gst_base_src_get_range), (gst_base_src_loop),
16835         (gst_base_src_start):
16836         * libs/gst/base/gstbasesrc.h:
16837         * libs/gst/base/gstbasetransform.h:
16838         * libs/gst/base/gstcollectpads.h:
16839         * libs/gst/base/gstpushsrc.c:
16840         * libs/gst/base/gstpushsrc.h:
16841         * libs/gst/dataprotocol/dataprotocol.c:
16842         * libs/gst/dataprotocol/dataprotocol.h:
16843         * libs/gst/net/gstnetclientclock.h:
16844         * libs/gst/net/gstnettimeprovider.h:
16845         Documentation updates.
16846
16847 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16848
16849         * docs/manual/basics-helloworld.xml:
16850           Remove superfluous closing bracket in helloworld example.
16851
16852 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16853
16854         * tools/gst-launch.1.in:
16855           Update gst-launch man page; add a section with useful
16856           environment variables. Fixes #323882.
16857
16858 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16859
16860         * gst/gst.c:
16861         * gst/gst_private.h:
16862           change some char* into char[]
16863
16864 2005-12-16  Wim Taymans  <wim@fluendo.com>
16865
16866         * gst/gstregistryxml.c: (load_feature):
16867         Cleanups.
16868         Don't use g_object_unref on GstObjects so that we avoid
16869         leaks on unsafe glibs.
16870
16871 2005-12-16  Wim Taymans  <wim@fluendo.com>
16872
16873         * gst/gstbin.c: (gst_bin_recalc_state):
16874         Small doc updates.
16875
16876 2005-12-16  Wim Taymans  <wim@fluendo.com>
16877
16878         * common/check.mak:
16879         Added make forever target for check.
16880
16881 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16882
16883         * gst/gst.c: (init_post):
16884           make the registry cache file HOST_CPU-dependent
16885
16886 2005-12-16  Andy Wingo  <wingo@pobox.com>
16887
16888         * plugins/elements/gstbufferstore.c
16889         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16890         return value.
16891
16892         * tests/check/gst/gstobject.c
16893         (test_fake_object_name_threaded_unique): Pay attention to
16894         g_list_sort return value.
16895
16896 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16897
16898         * tools/gst-feedback-m.m:
16899           Update for 0.9/0.10 (fixes #323870).
16900
16901 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16902
16903         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16904           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16905           
16906         * tests/check/gst/gstminiobject.c: (my_foo_init),
16907         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16908         (test_value_collection), (gst_mini_object_suite):
16909           Add test to ensure refcounts end up as expected when passing
16910           GstMiniObjects through g_object_get() and g_object_set().
16911
16912 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16913
16914         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16915         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16916         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16917         of collectpads. This version removes a lot of races without
16918         touching API/ABI. Yay !
16919
16920 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16921
16922         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16923           Don't allow activation of a srcpad in pull_range if it has no
16924           getrange function.
16925           Change some debug statements to be a little clearer
16926
16927         * plugins/elements/gsttypefindelement.c:
16928         (gst_type_find_handle_src_query):
16929           Check that we have a peer before executing queries thereupon.
16930
16931         * tests/examples/metadata/read-metadata.c: (message_loop):
16932           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16933           immediately return us any available message with 0 timeout.
16934
16935 2005-12-12  Michael Smith  <msmith@fluendo.com>
16936
16937         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16938           Don't unref factories after calling them.
16939         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16940         * plugins/elements/gsttypefindelement.c:
16941         (gst_type_find_element_chain):
16942           Free lists of factories after using them. Fixing typefinding memory
16943           leaks.
16944
16945 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16946
16947         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16948         (gst_plugin_feature_load):
16949           more meaningful debug output
16950         * configure.ac:
16951         * tests/Makefile.am:
16952         * tests/old/examples/Makefile.am:
16953           make make distcheck happy again
16954
16955 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16956
16957         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16958           Catch the special case where we are operating chain-based,
16959           but the downstream peer pad has no chain function. Emit a
16960           custom error message in this case instead of letting the
16961           core generate one implying that this is some sort of core
16962           bug. It's not, it just means that whatever got plugged
16963           into the pipeline downstream when we announced the type
16964           can only operate pull-based, while our source can only
16965           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16966           Error string has not been marked for translation yet, as
16967           it probably needs some more work first.
16968
16969         (gst_type_find_element_get_best_possibility):
16970           Add helper function to find the best of all available
16971           found possibilities that qualify given the min. threshold.
16972
16973         (gst_type_find_element_handle_event):
16974           Fix the case where we get an EOS while still in TYPEFIND
16975           mode (we want to chose the best of all possible types,
16976           not just the first type that happens to be in our unsorted
16977           list of possible types).
16978
16979         (gst_type_find_element_chain):
16980           Make sure we return GST_FLOW_ERROR when we errored out
16981           in stop_typefinding(); also, don't just find the best of
16982           all found type entries and then use the last examined
16983           type entry, but actually use the best entry.
16984
16985 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16986
16987         * tests/examples/typefind/typefind.c: (type_found):
16988         * tests/examples/xml/runxml.c: (xml_loaded):
16989           More gcc4 fixes and a mem leak fix.
16990
16991 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16992
16993         * tests/examples/xml/createxml.c: (object_saved):
16994           gcc 4 fixes
16995
16996 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16997
16998         * tests/Makefile.am:
16999           enable the examples even more
17000
17001 2005-12-12  Andy Wingo  <wingo@pobox.com>
17002
17003         * libs/gst/net/gstnettimeprovider.c
17004         (gst_net_time_provider_class_init, gst_net_time_provider_init)
17005         (gst_net_time_provider_set_property)
17006         (gst_net_time_provider_get_property):
17007         API addition: Export "active" as a GObject property.
17008         (gst_net_time_provider_thread): Only respond to time queries if
17009         the time provider is active.
17010
17011         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
17012         NetTimeProvider, preserving binary compat.
17013
17014 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17015
17016         * tests/examples/controller/audio-example.c: (main):
17017         * tests/examples/launch/Makefile.am:
17018           convert comments again
17019
17020 2005-12-12  Wim Taymans  <wim@fluendo.com>
17021
17022         * libs/gst/base/gstpushsrc.c:
17023         Fix typo.
17024
17025 2005-12-12  Wim Taymans  <wim@fluendo.com>
17026
17027         * docs/libs/gstreamer-libs-sections.txt:
17028         Added new symbol to docs.
17029
17030         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17031         (gst_base_src_init), (gst_base_src_set_format),
17032         (gst_base_src_default_query), (gst_base_src_query),
17033         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
17034         (gst_base_src_perform_seek), (gst_base_src_send_event),
17035         (gst_base_src_default_event), (gst_base_src_event_handler),
17036         (gst_base_src_set_property), (gst_base_src_get_property),
17037         (gst_base_src_wait), (gst_base_src_do_sync),
17038         (gst_base_src_update_length), (gst_base_src_get_range),
17039         (gst_base_src_check_get_range), (gst_base_src_loop),
17040         (gst_base_src_default_negotiate), (gst_base_src_start),
17041         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17042         (gst_base_src_change_state):
17043         * libs/gst/base/gstbasesrc.h:
17044         Implement seeking to other formats than _BYTES.
17045         Implement more seeking methods correctly.
17046         Doc updates.
17047         Added query vmethod.
17048         Added do_seek vmethod to make life easier for subclasses
17049         when seeking.
17050         API addition: gst_base_src_set_format()
17051
17052 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17053
17054         * tests/examples/Makefile.am:
17055           added that too
17056
17057 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17058
17059         * configure.ac:
17060         * docs/random/ensonic/media-device-daemon.txt:
17061         * tests/examples/controller/.cvsignore:
17062         * tests/examples/controller/Makefile.am:
17063         * tests/examples/controller/audio-example.c: (main):
17064         * tests/examples/helloworld/.cvsignore:
17065         * tests/examples/helloworld/Makefile.am:
17066         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
17067         * tests/examples/launch/.cvsignore:
17068         * tests/examples/launch/Makefile.am:
17069         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
17070         * tests/examples/metadata/.cvsignore:
17071         * tests/examples/metadata/Makefile.am:
17072         * tests/examples/metadata/read-metadata.c: (message_loop),
17073         (make_pipeline), (print_tag), (main):
17074         * tests/examples/queue/.cvsignore:
17075         * tests/examples/queue/Makefile.am:
17076         * tests/examples/queue/queue.c: (event_loop), (main):
17077         * tests/examples/typefind/.cvsignore:
17078         * tests/examples/typefind/Makefile.am:
17079         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
17080         (main):
17081         * tests/examples/xml/.cvsignore:
17082         * tests/examples/xml/Makefile.am:
17083         * tests/examples/xml/createxml.c: (object_saved), (main):
17084         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
17085         * tests/old/examples/Makefile.am:
17086         * tests/old/examples/TODO:
17087         * tests/old/examples/controller/.cvsignore:
17088         * tests/old/examples/controller/Makefile.am:
17089         * tests/old/examples/controller/audio-example.c:
17090         * tests/old/examples/helloworld/.cvsignore:
17091         * tests/old/examples/helloworld/Makefile.am:
17092         * tests/old/examples/helloworld/helloworld.c:
17093         * tests/old/examples/launch/.cvsignore:
17094         * tests/old/examples/launch/Makefile.am:
17095         * tests/old/examples/launch/mp3parselaunch.c:
17096         * tests/old/examples/launch/mp3play:
17097         * tests/old/examples/manual/Makefile.am:
17098         * tests/old/examples/metadata/Makefile.am:
17099         * tests/old/examples/metadata/read-metadata.c:
17100         * tests/old/examples/queue/.cvsignore:
17101         * tests/old/examples/queue/Makefile.am:
17102         * tests/old/examples/queue/queue.c:
17103         * tests/old/examples/typefind/.cvsignore:
17104         * tests/old/examples/typefind/Makefile.am:
17105         * tests/old/examples/typefind/typefind.c:
17106         * tests/old/examples/xml/.cvsignore:
17107         * tests/old/examples/xml/Makefile.am:
17108         * tests/old/examples/xml/createxml.c:
17109         * tests/old/examples/xml/runxml.c:
17110           applied some simple fixing to some examples
17111           re-enabled the working examples
17112
17113 2005-12-12  Wim Taymans  <wim@fluendo.com>
17114
17115         * gst/gstsegment.c: (gst_segment_init),
17116         (gst_segment_set_last_stop), (gst_segment_set_seek),
17117         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17118         (gst_segment_to_running_time):
17119         Added more documentation.
17120         Make sure the last_pos value is updated properly.
17121         Make sure to_stream_time and to_running_time don't
17122         operate on wrong values.
17123
17124         * tests/check/gst/gstsegment.c: (GST_START_TEST):
17125         Update check.
17126
17127 2005-12-12  Michael Smith  <msmith@fluendo.com>
17128
17129         * plugins/elements/gsttypefindelement.c: (free_entry),
17130         (gst_type_find_element_chain):
17131           Now that we're not leaking factories, make sure we keep references
17132           to them while we need them.
17133
17134 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17135
17136         * tests/check/gst/struct_i386.h:
17137           ifdef out the XML structs
17138
17139 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17140
17141         * gst/gstvalue.c: (gst_value_transform_double_fraction):
17142           floor is not needed, F is always positive; this obviates the
17143           need for adding -lm when building without libxml
17144
17145 2005-12-12  Wim Taymans  <wim@fluendo.com>
17146
17147         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17148         Take current playback rate into account when reporting
17149         the position.
17150
17151 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17152
17153         * docs/manual/mime-world.fig:
17154           Let's try this again, this time with a file that is
17155           actually in XFig format.
17156
17157 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17158
17159         * docs/manual/mime-world.fig:
17160           Add audioconvert element to diagram so that it
17161           matches the text and the code (fixes #319526).
17162
17163 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17164
17165         * docs/pwg/building-chainfn.xml:
17166         * docs/pwg/building-pads.xml:
17167         * docs/pwg/building-state.xml:
17168         * docs/pwg/other-source.xml:
17169           Update state change stuff for 0.10 (fixes #322969).
17170
17171 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17172
17173         * docs/manual/advanced-dataaccess.xml:
17174         * docs/manual/appendix-checklist.xml:
17175         * docs/manual/appendix-programs.xml:
17176         * docs/manual/basics-pads.xml:
17177         * docs/manual/highlevel-components.xml:
17178         * docs/manual/manual.xml:
17179           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
17180           add converters in front of pipelines; remove curly
17181           brackets for threads stuff, they no longer exist; use
17182           GST_TYPE_FRACTION for framerates; update some pieces of
17183           code to 0.10, but there's plenty more to do.
17184
17185         * docs/manual/appendix-porting.xml:
17186           Expand on asynchroneous state changes; s/0.9/0.10/;
17187           mention disappearance of gst_init_get_popt_table()
17188           (fixes #322916).
17189
17190 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17191
17192         * docs/faq/using.xml:
17193           Spider no longer exists, and neither does gst-launch-ext.
17194           Update examples to use decodebin and playbin and put
17195           converters in front of sinks (fixes #323726).
17196
17197 2005-12-09  Michael Smith  <msmith@fluendo.com>
17198
17199         * plugins/elements/gsttypefindelement.c: (find_peek),
17200         (gst_type_find_element_chain):
17201           Fix leaking element factories in typefinding.
17202           Fix problem where we forgot about a probable type on non-seekable
17203           files, and thus later mis-typefound it.
17204
17205 2005-12-09  Michael Smith  <msmith@fluendo.com>
17206
17207         * common/m4/gst-makecontext.m4:
17208         * common/m4/gst-mcsc.m4:
17209         * configure.ac:
17210         * win32/common/config.h:
17211         * win32/common/config.h.in:
17212           Remove makecontext stuff; not used in 0.10 and causes problems on
17213           HPUX according to bug #322441
17214
17215 2005-12-07  Wim Taymans  <wim@fluendo.com>
17216
17217         * tests/check/Makefile.am:
17218         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
17219         (main):
17220         * tests/check/libs/struct_i386.h:
17221         Added ABI check for libs
17222
17223 2005-12-07  Wim Taymans  <wim@fluendo.com>
17224
17225         * tests/check/Makefile.am:
17226         And add the struct_i386.h to dist.
17227
17228 2005-12-07  Wim Taymans  <wim@fluendo.com>
17229
17230         * tests/check/Makefile.am:
17231         * tests/check/gst/.cvsignore:
17232         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17233         (main):
17234         * tests/check/gst/struct_i386.h:
17235         Added check for ABI compatibility.
17236
17237 2005-12-07  Wim Taymans  <wim@fluendo.com>
17238
17239         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17240         (gst_fake_src_get_times), (gst_fake_src_create):
17241         Fix broken sync option, fixes #323259
17242
17243 2005-12-07  Wim Taymans  <wim@fluendo.com>
17244
17245         * gst/gstbuffer.c:
17246         Small docs update.
17247
17248         * gst/gstcaps.c: (gst_caps_is_equal):
17249         Don't assert on NULL <--> X. Fixes #323260
17250
17251         * gst/gstminiobject.c: (gst_mini_object_replace):
17252         If we're doing atomic operations, we might just as well use
17253         the proper way to get an atomic pointer.
17254
17255         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17256         Clean up debugging.
17257
17258 2005-12-07  Michael Smith  <msmith@fluendo.com>
17259
17260         * gst/parse/grammar.y:
17261           Remove handling of { } for threads.
17262
17263 2005-12-06  David Schleef  <ds@schleef.org>
17264
17265         * libs/gst/base/gstbasetransform.c: speling fix.
17266
17267 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17268
17269         * docs/libs/tmpl/gstdataprotocol.sgml:
17270         * docs/random/omega/testing/gstobject.c:
17271         * gst/gst.c:
17272         * gst/gstclock.c:
17273         * gst/gstelement.c:
17274         * gst/gstelementfactory.c:
17275         * gst/gsterror.c:
17276         * gst/gstevent.c:
17277         * gst/gstghostpad.c:
17278         * gst/gstinfo.c:
17279         * gst/gstpadtemplate.c:
17280         * gst/gstregistryxml.c:
17281         * gst/gsttaglist.c:
17282         * gst/gsttagsetter.c:
17283         * gst/gsttypefind.c:
17284         * gst/gstvalue.c:
17285         * libs/gst/base/gstbasesrc.c:
17286         * libs/gst/net/gstnetclientclock.c:
17287         * libs/gst/net/gstnettimeprovider.c:
17288         * plugins/elements/gstfakesrc.c:
17289         * plugins/elements/gstfdsrc.c:
17290         * plugins/elements/gstfilesrc.c:
17291         * plugins/elements/gstidentity.c:
17292         * plugins/elements/gstqueue.c:
17293         * plugins/elements/gsttypefindelement.c:
17294         * plugins/indexers/gstfileindex.c:
17295         * plugins/indexers/gstmemindex.c:
17296         * tests/check/gst/gsttag.c:
17297         * tests/old/examples/cutter/cutter.c:
17298         * tests/old/examples/mixer/mixer.c:
17299         * tests/old/examples/xml/runxml.c: (main):
17300         * tests/old/testsuite/caps/normalisation.c:
17301         * tests/old/testsuite/debug/global.c:
17302         * tests/old/testsuite/parse/parse1.c:
17303         * tools/gst-xmlinspect.c:
17304         * win32/common/dirent.c:
17305           expand tabs
17306
17307 === release 0.10.0 ===
17308
17309 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17310
17311         * configure.ac:
17312           releasing 0.10.0, "Maroilles"
17313
17314 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17315
17316         submitted by: Funda Wang <fundawang@linux.net.cn>
17317
17318         * po/LINGUAS:
17319         * po/zh_CN.po:
17320           added Chinese (Traditional) translation
17321
17322 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17323
17324         * docs/gst/gstreamer-sections.txt:
17325         * docs/libs/tmpl/gstdataprotocol.sgml:
17326         * docs/random/thomasvs/TODO:
17327         * gst/gstutils.c:
17328         * gst/gstutils.h:
17329           fix docs
17330
17331 2005-12-05  Andy Wingo  <wingo@pobox.com>
17332
17333         patch by: Wim Taymans <wim@fluendo.com>
17334
17335         * libs/gst/base/gstbasetransform.c
17336         (gst_base_transform_prepare_output_buf)
17337         (gst_base_transform_buffer_alloc):
17338         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17339         alloc_buffer_and_set_caps.
17340
17341         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17342         set_caps on the source pad.
17343         (gst_pad_alloc_buffer_and_set_caps): New function, does what
17344         alloc_buffer used to do. Fixes #322874.
17345
17346         * docs/gst/gstreamer-sections.txt: 
17347         * docs/design/part-negotiation.txt: 
17348         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17349         changes.
17350
17351 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17352
17353         patch by: Sebastien Moutte
17354
17355         * win32/MANIFEST:
17356         * win32/common/config.h.in:
17357         * win32/vs6/libgstcontroller.dsp:
17358           win32 build fixes
17359
17360 2005-12-05  Wim Taymans  <wim@fluendo.com>
17361
17362         * gst/gstcaps.c: (gst_caps_is_equal):
17363         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17364         (gst_fake_src_create):
17365         Back out previous code changes, leave doc updates, file bugs 
17366         instead. 
17367
17368 2005-12-05  Wim Taymans  <wim@fluendo.com>
17369
17370         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17371         (gst_fake_src_get_times), (gst_fake_src_create):
17372         * plugins/elements/gstfakesrc.h:
17373         Fix broken sync code.
17374
17375 2005-12-05  Wim Taymans  <wim@fluendo.com>
17376
17377         * gst/gstcaps.c: (gst_caps_is_equal):
17378         Comparing NULL against !NULL yields different caps, not a
17379         failure.
17380
17381 2005-12-05  Wim Taymans  <wim@fluendo.com>
17382
17383         * gst/gstpipeline.c:
17384         Fix small typo in docs.
17385
17386 2005-12-05  Andy Wingo  <wingo@pobox.com>
17387
17388         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
17389
17390         * gst/gst.c (init_post): remove hard-coded 0.9 location for
17391         registries/plugins with a MAJORMINOR one.
17392         (plugin_desc): Rename library from gstcoreleements to
17393         staticelements. Fixes #323222.
17394
17395 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
17396
17397         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17398           Change debug category to 'collectpads' from 'collect_pads'
17399           (fixes #323250).
17400
17401 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17402
17403         patch by: Sebastien Moutte
17404
17405         * libs/gst/controller/gstinterpolation.c:
17406           use convert function for uint64/double
17407         * win32/vs6/libgstcontroller.dsp:
17408           link to GLib
17409
17410 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17411
17412         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17413         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17414         * gst/gstutils.h:
17415         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17416           add tests that seem to show that the guint64/gdouble conversions
17417           are correct.
17418
17419 2005-12-02  Wim Taymans  <wim@fluendo.com>
17420
17421         * gst/gstregistry.c: (gst_registry_add_path):
17422         * gst/gstregistry.h:
17423         * gst/gstregistryxml.c:
17424         Fix docs again.
17425
17426 2005-12-02  Wim Taymans  <wim@fluendo.com>
17427
17428         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17429         (gst_util_uint64_scale_int):
17430         Small cleanup.
17431
17432         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17433         Add debug log line.
17434
17435         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17436         Add FIXME.
17437
17438 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17439
17440         * win32/MANIFEST:
17441         * win32/common/config.h:
17442         * win32/vs6/gstreamer.dsw:
17443         * win32/vs6/libgstcoreelements.dsp:
17444         * win32/vs6/libgstelements.dsp:
17445           renamed core elements plugin
17446
17447 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17448
17449         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17450         (get_candidates):
17451           do piece-wise major/minor comparison so 0.9 < 0.10
17452           also allow .exe extensions for tools
17453
17454 2005-12-02  Michael Smith  <msmith@fluendo.com>
17455
17456         * gst/gst.c:
17457           Escape a % to make gtkdoc happier; bug 322958.
17458
17459 === release 0.9.7 ===
17460
17461 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17462
17463         * configure.ac:
17464           releasing 0.9.7, "My Dog Has No Nose"
17465
17466 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17467
17468         * common/gst-xmlinspect.py:
17469         * configure.ac:
17470         * docs/libs/tmpl/gstdataprotocol.sgml:
17471         * docs/random/release:
17472         * po/af.po:
17473         * po/az.po:
17474         * po/bg.po:
17475         * po/ca.po:
17476         * po/cs.po:
17477         * po/de.po:
17478         * po/en_GB.po:
17479         * po/fr.po:
17480         * po/it.po:
17481         * po/nb.po:
17482         * po/nl.po:
17483         * po/ru.po:
17484         * po/sq.po:
17485         * po/sr.po:
17486         * po/sv.po:
17487         * po/tr.po:
17488         * po/uk.po:
17489         * po/vi.po:
17490         * win32/common/config.h:
17491         * win32/common/config.h.in:
17492         * win32/vs6/gst_inspect.dsp:
17493         * win32/vs6/gst_launch.dsp:
17494         * win32/vs6/libgstbase.dsp:
17495         * win32/vs6/libgstelements.dsp:
17496         * win32/vs6/libgstreamer.dsp:
17497         * win32/vs7/GStreamer.vcproj:
17498         * win32/vs7/gst-inspect.vcproj:
17499         * win32/vs7/gst-launch.vcproj:
17500         * win32/vs7/libgstbase.vcproj:
17501           bump GST_MAJORMINOR to 0.10
17502           reset libtool version
17503
17504 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17505
17506         * po/LINGUAS:
17507         * po/bg.po:
17508           Added Bulgarian translation by (Alexander Shopov)
17509
17510 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17511
17512         * tests/check/gst/gstplugin.c:
17513           fix test
17514
17515 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17516
17517         * common/gst-xmlinspect.py:
17518         * common/gtk-doc-plugins.mak:
17519         * configure.ac:
17520         * docs/Makefile.am:
17521         * docs/gst/Makefile.am:
17522         * docs/gst/gstreamer-docs.sgml:
17523         * docs/gst/gstreamer-sections.txt:
17524         * docs/gst/gstreamer.types:
17525         * docs/gst/gstreamer.types.in:
17526         * docs/plugins/Makefile.am:
17527         * docs/plugins/gstreamer-plugins-docs.sgml:
17528         * docs/plugins/gstreamer-plugins-sections.txt:
17529         * docs/plugins/gstreamer-plugins.types:
17530         * docs/plugins/inspect.stamp:
17531         * docs/plugins/inspect/plugin-coreelements.xml:
17532         * docs/plugins/inspect/plugin-coreindexers.xml:
17533         * docs/plugins/scanobj-build.stamp:
17534         * gstreamer.spec.in:
17535         * plugins/elements/Makefile.am:
17536         * plugins/elements/gstelements.c:
17537         * plugins/elements/gstfakesink.c:
17538         * plugins/elements/gstfakesrc.c:
17539         * plugins/elements/gstfilesink.c:
17540         * plugins/elements/gstfilesrc.c:
17541         * plugins/elements/gstqueue.c:
17542         * plugins/indexers/Makefile.am:
17543         * plugins/indexers/gstindexers.c:
17544           document core plugins in a separate document just like all the
17545           others
17546           rename these plugins to something starting with core
17547
17548 2005-12-01  Andy Wingo  <wingo@pobox.com>
17549
17550         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17551         padding here before, but it missed the commit.
17552
17553 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17554
17555         * libs/gst/controller/gstinterpolation.c:
17556           whitespace prices have crashed, we should feel free to use some now
17557           use gst_guint64_to_gdouble
17558
17559 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17560
17561         * libs/gst/controller/gstcontroller.c:
17562         * libs/gst/controller/gsthelper.c:
17563         * libs/gst/controller/gstinterpolation.c:
17564         * libs/gst/controller/lib.c:
17565           wrap config.h include
17566
17567 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17568
17569         * docs/gst/gstreamer-sections.txt:
17570           update docs
17571
17572 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17573
17574         * plugins/elements/gstelements.c:
17575         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17576         (gst_fd_sink__class_init), (gst_fd_sink__init),
17577         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17578         (gst_fd_sink__get_property):
17579         * plugins/elements/gstfdsink.h:
17580         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17581         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17582         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17583         (gst_fd_src_unlock), (gst_fd_src_set_property),
17584         (gst_fd_src_get_property), (gst_fd_src_create),
17585         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17586         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17587         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17588         (gst_fd_src_uri_handler_init):
17589         * plugins/elements/gstfdsrc.h:
17590         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17591           more anal cleanup
17592
17593 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17594
17595         * docs/gst/Makefile.am:
17596         * docs/gst/gstreamer.types.in:
17597         * gst/Makefile.am:
17598           fix the docs build
17599
17600 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17601
17602         * configure.ac:
17603         * gst/Makefile.am:
17604         * gst/gst.c:
17605         * gst/gstplugin.h:
17606         * gst/gstregistry.h:
17607         * tests/benchmarks/complexity.c:
17608         * tests/benchmarks/mass-elements.c:
17609         * tests/check/Makefile.am:
17610         * tools/Makefile.am:
17611         * tools/gst-inspect.c:
17612         * tools/gst-xmlinspect.c:
17613           various fixes to make
17614           --disable-nls --disable-registry --disable-loadsave
17615           --disable-parse --disable-gst-debug
17616           work and get the core .so down to 360444 bytes after stripping
17617
17618 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17619
17620         * Makefile.am:
17621         * configure.ac:
17622           descend into tests
17623         * docs/random/thomasvs/TODO:
17624         * tests/Makefile.am:
17625         * tests/README:
17626           add a README
17627
17628 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17629
17630         * win32/GStreamer.vcproj:
17631         * win32/MANIFEST:
17632         * win32/Makefile:
17633         * win32/Makefile.inspect:
17634         * win32/Makefile.launch:
17635         * win32/Makefile.register:
17636         * win32/README.txt:
17637         * win32/gst-inspect.vcproj:
17638         * win32/gst-launch.vcproj:
17639         * win32/gst-register.vcproj:
17640         * win32/gstelements.vcproj:
17641         * win32/gstgetbits.def:
17642         * win32/gstgetbits.vcproj:
17643         * win32/gstreamer-dbg.def:
17644         * win32/gstreamer.def:
17645         * win32/libgstbase.def:
17646         * win32/libgstbase.vcproj:
17647         * win32/link_oldruntime.c:
17648         * win32/mman.c:
17649         * win32/mman.h:
17650         * win32/mman.inl:
17651         * win32/msvc71.sln:
17652           move even more stuff, win32/ is nice and clean now
17653
17654 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17655
17656         * libs/gst/control/.cvsignore:
17657         * win32/MANIFEST:
17658         * win32/config.h:
17659         * win32/dirent.c:
17660         * win32/dirent.h:
17661         * win32/gstbytestream.def:
17662         * win32/gstbytestream.vcproj:
17663         * win32/gstconfig.h:
17664         * win32/gstenumtypes.c:
17665         * win32/gstenumtypes.h:
17666         * win32/gstoptimalscheduler.vcproj:
17667         * win32/gstversion.h:
17668         * win32/gtchar.h:
17669         * win32/testsuite/bins.vcproj:
17670         * win32/testsuite/bytestream.vcproj:
17671         * win32/testsuite/caps.vcproj:
17672         * win32/testsuite/cleanup.vcproj:
17673         * win32/testsuite/clock.vcproj:
17674         * win32/testsuite/debug.vcproj:
17675         * win32/testsuite/dlopen.vcproj:
17676         * win32/testsuite/dynparams.vcproj:
17677         * win32/testsuite/elements.vcproj:
17678         * win32/testsuite/ghostpads.vcproj:
17679         * win32/testsuite/indexers.vcproj:
17680         * win32/testsuite/negotiation.vcproj:
17681         * win32/testsuite/parse.vcproj:
17682         * win32/testsuite/plugin.vcproj:
17683         * win32/testsuite/refcounting.vcproj:
17684         * win32/testsuite/schedulers.vcproj:
17685         * win32/testsuite/states.vcproj:
17686         * win32/testsuite/tags.vcproj:
17687         * win32/testsuite/threads.vcproj:
17688           remove old win32 stuff that isn't maintained and should be
17689           reorganized
17690
17691 2005-11-30  Andy Wingo  <wingo@pobox.com>
17692
17693         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17694         loading the gst.interfaces python module bork.
17695
17696         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17697         available since GLib 2.2. Fixes #318031.
17698
17699 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17700
17701         * Makefile.am:
17702         * check/.cvsignore:
17703         * check/Makefile.am:
17704         * check/elements/.cvsignore:
17705         * check/elements/fakesrc.c:
17706         * check/elements/fdsrc.c:
17707         * check/elements/identity.c:
17708         * check/generic/.cvsignore:
17709         * check/generic/states.c:
17710         * check/gst-libs/.cvsignore:
17711         * check/gst-libs/controller.c:
17712         * check/gst-libs/gdp.c:
17713         * check/gst/.cvsignore:
17714         * check/gst/capslist.h:
17715         * check/gst/gst.c:
17716         * check/gst/gstbin.c:
17717         * check/gst/gstbuffer.c:
17718         * check/gst/gstbus.c:
17719         * check/gst/gstcaps.c:
17720         * check/gst/gstelement.c:
17721         * check/gst/gstevent.c:
17722         * check/gst/gstghostpad.c:
17723         * check/gst/gstiterator.c:
17724         * check/gst/gstmessage.c:
17725         * check/gst/gstminiobject.c:
17726         * check/gst/gstobject.c:
17727         * check/gst/gstpad.c:
17728         * check/gst/gstpipeline.c:
17729         * check/gst/gstplugin.c:
17730         * check/gst/gstsegment.c:
17731         * check/gst/gststructure.c:
17732         * check/gst/gstsystemclock.c:
17733         * check/gst/gsttag.c:
17734         * check/gst/gstutils.c:
17735         * check/gst/gstvalue.c:
17736         * check/net/.cvsignore:
17737         * check/net/gstnetclientclock.c:
17738         * check/net/gstnettimeprovider.c:
17739         * check/pipelines/.cvsignore:
17740         * check/pipelines/cleanup.c:
17741         * check/pipelines/simple_launch_lines.c:
17742         * check/pipelines/stress.c:
17743         * check/states/.cvsignore:
17744         * check/states/sinks.c:
17745         * configure.ac:
17746         * examples/Makefile.am:
17747         * examples/appreader/.cvsignore:
17748         * examples/appreader/Makefile.am:
17749         * examples/appreader/appreader.c:
17750         * examples/controller/.cvsignore:
17751         * examples/controller/Makefile.am:
17752         * examples/controller/audio-example.c:
17753         * examples/cutter/.cvsignore:
17754         * examples/cutter/Makefile.am:
17755         * examples/cutter/cutter.c:
17756         * examples/cutter/cutter.h:
17757         * examples/events/Makefile.am:
17758         * examples/events/seek.c:
17759         * examples/helloworld/.cvsignore:
17760         * examples/helloworld/Makefile.am:
17761         * examples/helloworld/helloworld.c:
17762         * examples/helloworld2/.cvsignore:
17763         * examples/helloworld2/Makefile.am:
17764         * examples/helloworld2/helloworld2.c:
17765         * examples/launch/.cvsignore:
17766         * examples/launch/Makefile.am:
17767         * examples/launch/mp3parselaunch.c:
17768         * examples/launch/mp3play:
17769         * examples/manual/.cvsignore:
17770         * examples/manual/Makefile.am:
17771         * examples/manual/extract.pl:
17772         * examples/metadata/Makefile.am:
17773         * examples/metadata/read-metadata.c:
17774         * examples/mixer/.cvsignore:
17775         * examples/mixer/Makefile.am:
17776         * examples/mixer/mixer.c:
17777         * examples/mixer/mixer.h:
17778         * examples/pingpong/.cvsignore:
17779         * examples/pingpong/Makefile.am:
17780         * examples/pingpong/pingpong.c:
17781         * examples/plugins/.cvsignore:
17782         * examples/plugins/Makefile.am:
17783         * examples/plugins/example.c:
17784         * examples/plugins/example.h:
17785         * examples/pwg/.cvsignore:
17786         * examples/pwg/Makefile.am:
17787         * examples/pwg/extract.pl:
17788         * examples/queue/.cvsignore:
17789         * examples/queue/Makefile.am:
17790         * examples/queue/queue.c:
17791         * examples/queue2/.cvsignore:
17792         * examples/queue2/Makefile.am:
17793         * examples/queue2/queue2.c:
17794         * examples/queue3/.cvsignore:
17795         * examples/queue3/Makefile.am:
17796         * examples/queue3/queue3.c:
17797         * examples/queue4/.cvsignore:
17798         * examples/queue4/Makefile.am:
17799         * examples/queue4/queue4.c:
17800         * examples/retag/.cvsignore:
17801         * examples/retag/Makefile.am:
17802         * examples/retag/retag.c:
17803         * examples/retag/transcode.c:
17804         * examples/thread/.cvsignore:
17805         * examples/thread/Makefile.am:
17806         * examples/thread/thread.c:
17807         * examples/typefind/.cvsignore:
17808         * examples/typefind/Makefile.am:
17809         * examples/typefind/typefind.c:
17810         * examples/xml/.cvsignore:
17811         * examples/xml/Makefile.am:
17812         * examples/xml/createxml.c:
17813         * examples/xml/runxml.c:
17814         * tests/Makefile.am:
17815         * tests/check/Makefile.am:
17816         * testsuite/.cvsignore:
17817         * testsuite/Makefile.am:
17818         * testsuite/Rules:
17819         * testsuite/caps/.cvsignore:
17820         * testsuite/caps/Makefile.am:
17821         * testsuite/caps/app_fixate.c:
17822         * testsuite/caps/audioscale.c:
17823         * testsuite/caps/caps.c:
17824         * testsuite/caps/caps.h:
17825         * testsuite/caps/caps_strings:
17826         * testsuite/caps/compatibility.c:
17827         * testsuite/caps/deserialize.c:
17828         * testsuite/caps/enumcaps.c:
17829         * testsuite/caps/eratosthenes.c:
17830         * testsuite/caps/filtercaps.c:
17831         * testsuite/caps/fixed.c:
17832         * testsuite/caps/fraction-convert.c:
17833         * testsuite/caps/fraction-multiply-and-zero.c:
17834         * testsuite/caps/intersect2.c:
17835         * testsuite/caps/intersection.c:
17836         * testsuite/caps/normalisation.c:
17837         * testsuite/caps/random.c:
17838         * testsuite/caps/renegotiate.c:
17839         * testsuite/caps/sets.c:
17840         * testsuite/caps/simplify.c:
17841         * testsuite/caps/string-conversions.c:
17842         * testsuite/caps/structure.c:
17843         * testsuite/caps/subtract.c:
17844         * testsuite/caps/union.c:
17845         * testsuite/debug/.cvsignore:
17846         * testsuite/debug/Makefile.am:
17847         * testsuite/debug/category.c:
17848         * testsuite/debug/commandline.c:
17849         * testsuite/debug/global.c:
17850         * testsuite/debug/output.c:
17851         * testsuite/debug/printf_extension.c:
17852         * testsuite/dlopen/.cvsignore:
17853         * testsuite/dlopen/Makefile.am:
17854         * testsuite/dlopen/dlopen_gst.c:
17855         * testsuite/dlopen/loadgst.c:
17856         * testsuite/elements/.cvsignore:
17857         * testsuite/elements/Makefile.am:
17858         * testsuite/elements/gst-inspect-check.in:
17859         * testsuite/elements/struct_i386.h:
17860         * testsuite/elements/struct_size.c:
17861         * testsuite/indexers/.cvsignore:
17862         * testsuite/indexers/Makefile.am:
17863         * testsuite/indexers/cache1.c:
17864         * testsuite/indexers/indexdump.c:
17865         * testsuite/parse/.cvsignore:
17866         * testsuite/parse/Makefile.am:
17867         * testsuite/parse/parse1.c:
17868         * testsuite/parse/parse2.c:
17869         * testsuite/plugin/.cvsignore:
17870         * testsuite/plugin/Makefile.am:
17871         * testsuite/plugin/README:
17872         * testsuite/plugin/dynamic.c:
17873         * testsuite/plugin/linked.c:
17874         * testsuite/plugin/loading.c:
17875         * testsuite/plugin/registry.c:
17876         * testsuite/plugin/static.c:
17877         * testsuite/plugin/static2.c:
17878         * testsuite/plugin/testplugin.c:
17879         * testsuite/plugin/testplugin2.c:
17880         * testsuite/plugin/testplugin2_s.c:
17881         * testsuite/plugin/testplugin_s.c:
17882         * testsuite/refcounting/.cvsignore:
17883         * testsuite/refcounting/Makefile.am:
17884         * testsuite/refcounting/bin.c:
17885         * testsuite/refcounting/element.c:
17886         * testsuite/refcounting/element_pad.c:
17887         * testsuite/refcounting/mainloop.c:
17888         * testsuite/refcounting/mem.c:
17889         * testsuite/refcounting/mem.h:
17890         * testsuite/refcounting/object.c:
17891         * testsuite/refcounting/pad.c:
17892         * testsuite/refcounting/sched.c:
17893         * testsuite/refcounting/thread.c:
17894         * testsuite/states/.cvsignore:
17895         * testsuite/states/Makefile.am:
17896         * testsuite/states/bin.c:
17897         * testsuite/states/locked.c:
17898         * testsuite/states/parent.c:
17899         * testsuite/threads/.cvsignore:
17900         * testsuite/threads/159566.c:
17901         * testsuite/threads/159852.c:
17902         * testsuite/threads/Makefile.am:
17903         * testsuite/threads/queue.c:
17904         * testsuite/threads/signals.c:
17905         * testsuite/threads/staticrec.c:
17906         * testsuite/threads/thread.c:
17907         * testsuite/threads/threadb.c:
17908         * testsuite/threads/threadc.c:
17909         * testsuite/threads/threadd.c:
17910         * testsuite/threads/threade.c:
17911         * testsuite/threads/threadf.c:
17912         * testsuite/threads/threadg.c:
17913         * testsuite/threads/threadh.c:
17914         * testsuite/threads/threadi.c:
17915           move all of these under tests
17916
17917 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17918
17919         * configure.ac:
17920         * tests/Makefile.am:
17921           fix distcheck
17922
17923 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17924
17925         * docs/gst/gstreamer-sections.txt:
17926         * tests/sched/.cvsignore:
17927         * tests/sched/Makefile.am:
17928         * tests/sched/cases/(fs-fs).xml:
17929         * tests/sched/cases/(fs-i-fs).xml:
17930         * tests/sched/cases/(fs-i-i-fs).xml:
17931         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17932         * tests/sched/dynamic-pipeline.c:
17933         * tests/sched/interrupt1.c:
17934         * tests/sched/interrupt2.c:
17935         * tests/sched/interrupt3.c:
17936         * tests/sched/runtestcases:
17937         * tests/sched/runxml.c:
17938         * tests/sched/sched-stress.c:
17939         * tests/sched/sort.c:
17940         * tests/sched/testcases:
17941         * tests/sched/testcases1.tc:
17942         * tests/seeking/.cvsignore:
17943         * tests/seeking/Makefile.am:
17944         * tests/seeking/seeking1.c:
17945         * tests/threadstate/.cvsignore:
17946         * tests/threadstate/Makefile.am:
17947         * tests/threadstate/test1.c:
17948         * tests/threadstate/test2.c:
17949         * tests/threadstate/threadstate1.c:
17950         * tests/threadstate/threadstate2.c:
17951         * tests/threadstate/threadstate3.c:
17952         * tests/threadstate/threadstate4.c:
17953         * tests/threadstate/threadstate5.c:
17954           remove obsolete tests
17955         * configure.ac:
17956         * tests/bench-complexity.scm:
17957         * tests/bench-mass_elements.scm:
17958         * tests/complexity.c:
17959         * tests/complexity.gnuplot:
17960         * tests/instantiate/.cvsignore:
17961         * tests/instantiate/Makefile.am:
17962         * tests/instantiate/caps.c:
17963         * tests/mass_elements.c:
17964         * tests/network-clock-utils.scm:
17965         * tests/network-clock.scm:
17966         * tests/plot-data:
17967         First pass at cleaning up tests/ dir before moving the rest
17968         Combined with CVS surgery
17969
17970 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17971
17972         * po/POTFILES.in:
17973           queue has moved, update
17974
17975 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17976
17977         * docs/gst/gstreamer-sections.txt:
17978           remove double entries from the docs
17979         * gst/gst_private.h:
17980         * gst/gstinfo.c: (_gst_debug_init):
17981           remove the THREAD debug category
17982         * gst/Makefile.am:
17983         * gst/gstqueue.c:
17984         * gst/gstqueue.h:
17985         * docs/gst/gstreamer.types:
17986         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17987         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17988           completely move queue and fix up debugging categories
17989
17990 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17991
17992         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17993           make initialization portable, using LL is not
17994
17995 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17996
17997         * win32/common/gstconfig.h:
17998           add large padding
17999
18000 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18001
18002         * win32/common/libgstreamer.def:
18003           rename symbols; sort base section
18004
18005 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18006
18007         * gst/gstclock.c: (do_linear_regression):
18008           remove crack non-portable handrolled DEBUG macro
18009
18010 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18011
18012         * docs/random/release:
18013           update notes
18014         * win32/common/gstenumtypes.c: (register_gst_object_flags),
18015         (gst_object_flags_get_type), (register_gst_bin_flags),
18016         (gst_bin_flags_get_type), (register_gst_buffer_flag),
18017         (gst_buffer_flag_get_type), (register_gst_bus_flags),
18018         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18019         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
18020         (gst_caps_flags_get_type), (register_gst_clock_return),
18021         (gst_clock_return_get_type), (register_gst_clock_entry_type),
18022         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18023         (gst_clock_flags_get_type), (register_gst_state),
18024         (gst_state_get_type), (register_gst_state_change_return),
18025         (gst_state_change_return_get_type), (register_gst_state_change),
18026         (gst_state_change_get_type), (register_gst_element_flags),
18027         (gst_element_flags_get_type), (register_gst_core_error),
18028         (gst_core_error_get_type), (register_gst_library_error),
18029         (gst_library_error_get_type), (register_gst_resource_error),
18030         (gst_resource_error_get_type), (register_gst_stream_error),
18031         (gst_stream_error_get_type), (register_gst_event_type_flags),
18032         (gst_event_type_flags_get_type), (register_gst_event_type),
18033         (gst_event_type_get_type), (register_gst_seek_type),
18034         (gst_seek_type_get_type), (register_gst_seek_flags),
18035         (gst_seek_flags_get_type), (register_gst_format),
18036         (gst_format_get_type), (register_gst_index_certainty),
18037         (gst_index_certainty_get_type), (register_gst_index_entry_type),
18038         (gst_index_entry_type_get_type),
18039         (register_gst_index_lookup_method),
18040         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18041         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18042         (gst_index_resolver_method_get_type), (register_gst_index_flags),
18043         (gst_index_flags_get_type), (register_gst_debug_level),
18044         (gst_debug_level_get_type), (register_gst_debug_color_flags),
18045         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18046         (gst_iterator_result_get_type), (register_gst_iterator_item),
18047         (gst_iterator_item_get_type), (register_gst_message_type),
18048         (gst_message_type_get_type), (register_gst_mini_object_flags),
18049         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18050         (gst_pad_link_return_get_type), (register_gst_flow_return),
18051         (gst_flow_return_get_type), (register_gst_activate_mode),
18052         (gst_activate_mode_get_type), (register_gst_pad_direction),
18053         (gst_pad_direction_get_type), (register_gst_pad_flags),
18054         (gst_pad_flags_get_type), (register_gst_pad_presence),
18055         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18056         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18057         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18058         (gst_plugin_error_get_type), (register_gst_plugin_flags),
18059         (gst_plugin_flags_get_type), (register_gst_rank),
18060         (gst_rank_get_type), (register_gst_query_type),
18061         (gst_query_type_get_type), (register_gst_tag_merge_mode),
18062         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18063         (gst_tag_flag_get_type), (register_gst_task_state),
18064         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18065         (gst_alloc_trace_flags_get_type),
18066         (register_gst_type_find_probability),
18067         (gst_type_find_probability_get_type), (register_gst_uri_type),
18068         (gst_uri_type_get_type), (register_gst_parse_error),
18069         (gst_parse_error_get_type):
18070         * win32/common/gstenumtypes.h:
18071         * win32/common/gstversion.h:
18072           update visual studio generated files
18073
18074 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18075
18076         * win32/vs6/libgstbase.dsp:
18077         * win32/vs6/libgstelements.dsp:
18078           update project files for new locations
18079
18080 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18081
18082         * Makefile.am:
18083           remove some files
18084         * README:
18085           reinstate and update
18086         * DEVEL:
18087         * REQUIREMENTS:
18088           removed
18089         * LICENSE:
18090         * docs/random/LICENSE:
18091           moved to random
18092
18093 2005-11-30  Edward Hervey  <edward@fluendo.com>
18094
18095         * gst/gsttypefind.c: (gst_type_find_register):
18096         * gst/gsttypefind.h:
18097         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
18098         (gst_type_find_factory_dispose):
18099         * gst/gsttypefindfactory.h:
18100         Fix memory leak in GstTypeFindFactory.
18101
18102 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18103
18104         * gst/gst.c:
18105         * plugins/elements/Makefile.am:
18106         * plugins/elements/gstelements.c:
18107         * plugins/elements/gstqueue.c:
18108           move queue from core to the elements plugin
18109
18110 2005-11-29  Andy Wingo  <wingo@pobox.com>
18111
18112         * libs/gst/base/gstbasetransform.h: 
18113         * libs/gst/base/gstbasesrc.h: 
18114         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
18115
18116         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
18117         of pointers by which to pad very extensible base classes (like the
18118         ones in libs/gst/base).
18119
18120 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18121
18122         * docs/gst/gstreamer-docs.sgml:
18123         * docs/gst/gstreamer-sections.txt:
18124         * docs/libs/gstreamer-libs-docs.sgml:
18125         * docs/libs/gstreamer-libs-sections.txt:
18126           moving documentation from core to lib
18127
18128 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18129
18130         * check/Makefile.am:
18131         * configure.ac:
18132         * docs/gst/Makefile.am:
18133         * gst/Makefile.am:
18134         * gst/base/.cvsignore:
18135         * gst/base/Makefile.am:
18136         * gst/base/README:
18137         * gst/base/gstadapter.c:
18138         * gst/base/gstadapter.h:
18139         * gst/base/gstbasesink.c:
18140         * gst/base/gstbasesink.h:
18141         * gst/base/gstbasesrc.c:
18142         * gst/base/gstbasesrc.h:
18143         * gst/base/gstbasetransform.c:
18144         * gst/base/gstbasetransform.h:
18145         * gst/base/gstcollectpads.c:
18146         * gst/base/gstcollectpads.h:
18147         * gst/base/gstpushsrc.c:
18148         * gst/base/gstpushsrc.h:
18149         * gst/base/gsttypefindhelper.c:
18150         * gst/base/gsttypefindhelper.h:
18151         * gst/check/Makefile.am:
18152         * gst/check/gstcheck.c:
18153         * gst/check/gstcheck.h:
18154         * gst/net/Makefile.am:
18155         * gst/net/gstnet.h:
18156         * gst/net/gstnetclientclock.c:
18157         * gst/net/gstnetclientclock.h:
18158         * gst/net/gstnettimepacket.c:
18159         * gst/net/gstnettimepacket.h:
18160         * gst/net/gstnettimeprovider.c:
18161         * gst/net/gstnettimeprovider.h:
18162         * libs/gst/Makefile.am:
18163         * libs/gst/base/Makefile.am:
18164         * libs/gst/base/gstbasetransform.c:
18165         * libs/gst/check/Makefile.am:
18166         * plugins/elements/Makefile.am:
18167         * po/POTFILES.in:
18168           CVS surgery + support to move base, check, and net out of gst
18169           and into libs/gst
18170
18171 2005-11-29  Andy Wingo  <wingo@pobox.com>
18172
18173         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
18174
18175         * gst/gststructure.h (struct _GstStructure): Only one pointer of
18176         padding.
18177
18178         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
18179
18180         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
18181
18182         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
18183
18184         * gst/gstobject.h: (struct _GstObject): Only one pointer of
18185         padding; reduces object size by about 30%. We don't expect
18186         anything else to go into gstobject.
18187
18188         * gst/gstminiobject.h (struct _GstMiniObject)
18189         (struct _GstMiniObjectClass): Only one pointer of padding; the
18190         payload is only a pointer and two ints anyway. For the class there
18191         are only two methods as well.
18192         
18193         * gst/gstelement.h (struct _GstElementClass): Removed
18194         the state_changed signal callback, it is not used.
18195
18196 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18197
18198         * docs/gst/gstreamer.types:
18199           fix includes, though they are a little dinky
18200
18201 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18202
18203         * check/Makefile.am:
18204           look in the right place for elements, a lot more chance of
18205           success
18206         * gst/Makefile.am:
18207           remove indexers and elements subdirs
18208         * plugins/Makefile.am:
18209           make indexers conditional
18210
18211 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18212
18213         * Makefile.am:
18214         * configure.ac:
18215         * plugins/elements/Makefile.am:
18216         * plugins/elements/gstcapsfilter.c:
18217         * plugins/elements/gstfilesink.c:
18218         * plugins/elements/gstfilesrc.c:
18219         * plugins/elements/gstidentity.c:
18220         * plugins/indexers/Makefile.am:
18221           do CVS surgery and related build fixery to move elements
18222           and indexers in a new gstreamer/plugins directory, out of the
18223           gst/ directory
18224
18225 2005-11-29  Andy Wingo  <wingo@pobox.com>
18226
18227         * check/Makefile.am:
18228         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18229         * pkgconfig/gstreamer-net.pc.in:
18230         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18231         #322257.
18232
18233 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18234
18235         * tools/Makefile.am:
18236         * tools/gst-complete.1.in:
18237         * tools/gst-complete.c:
18238         * tools/gst-compprep.1.in:
18239         * tools/gst-compprep.c:
18240           removing -compprep and -complete
18241
18242 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18243
18244         * gst/gstevent.c: (gst_event_new_new_segment),
18245         (gst_event_parse_new_segment):
18246         * gst/gstevent.h:
18247           fix #320529 - clean up new_segment API and structure.
18248           Let's hope everyone was using the methods, and not the structure.
18249
18250 2005-11-29  Edward Hervey  <edward@fluendo.com>
18251
18252         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18253         (gst_base_sink_event), (gst_base_sink_do_sync),
18254         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18255         Properly handle non GST_FORMAT_TIME segment
18256         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18257         Properly handle non GST_FORMAT_TIME segment
18258         * gst/gstsegment.c:
18259         This function is valid if the accumulator is 0 and the format
18260         is different from the requested format.
18261         
18262 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18263
18264         * docs/gst/gstreamer-sections.txt:
18265         Add gst_query_new_seeking and gst_query_parse_seeking to the
18266         docs.
18267
18268 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18269
18270         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18271           Treat a pad alloc with new caps the same as if we were not
18272           negotiated, in order to allow a changing upstream output
18273           to produce a new format of data.
18274
18275 2005-11-29  Edward Hervey  <edward@fluendo.com>
18276
18277         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18278         (gst_base_transform_event), (gst_base_transform_eventfunc):
18279         The event virtual method is now properly implemented, with a default
18280         handler
18281         Sub classes should call the parent_class event method. They should
18282         return FALSE if they had a problem handling the given event, or don't
18283         want GstBaseTransform to send that even downstream
18284         * gst/elements/gstidentity.c: (gst_identity_class_init),
18285         (gst_identity_init), (gst_identity_event),
18286         (gst_identity_transform_ip), (gst_identity_set_property),
18287         (gst_identity_get_property):
18288         * gst/elements/gstidentity.h:
18289         Added the single-segment boolean property.
18290         If set to TRUE, it will output a single segment of data, starting from
18291         0, will eat up all incoming newsegment, and modify the timestamp of the
18292         buffers accordingly
18293
18294 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
18295
18296         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18297           Don't ref NULL target pad (#322751). Improve docs.
18298
18299 2005-11-29  Michael Smith  <msmith@fluendo.com>
18300
18301         * gst/gstregistryxml.c: (load_plugin):
18302           Don't crash if we failed to load a feature from a plugin. 
18303
18304 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18305
18306         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18307         (GST_START_TEST):
18308           use more check API and less GLib API
18309
18310 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18311
18312         * Makefile.am:
18313           don't run checks if we don't have check
18314         * common/check.mak:
18315           remove the registry when running make torture
18316         * docs/gst/gstreamer-sections.txt:
18317           remove second multiply
18318         * gst/gstqueue.c: (gst_queue_loop):
18319           fix a compile warning when disabling debug
18320
18321 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18322
18323         * gst/gstinfo.h:
18324         Hey! Let's print the pad name if the pointer != NULL instead
18325         of when it == NULL :-)
18326
18327 2005-11-28  Wim Taymans  <wim@fluendo.com>
18328
18329         * check/gst/gstutils.c: (GST_START_TEST):
18330         Updated check, add some scaling accuracy checking code.
18331
18332         * gst/gstutils.c: (gst_util_div128_64),
18333         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18334         (gst_util_uint64_scale_int):
18335         Fix 6 times faster division code. Optimize for common 
18336         1/1 and less common X/1 cases.
18337
18338 2005-11-28  Wim Taymans  <wim@fluendo.com>
18339
18340         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18341         More checks.
18342
18343         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18344         (do_linear_regression), (gst_clock_add_observation):
18345         Cleanups.
18346         Release lock when the clock cannot be slaved.
18347         Catch the case where the regression returned an invalid denominator.
18348
18349         * gst/gstutils.c: (gst_util_div128_64_iterate),
18350         (gst_util_div128_64), (gst_util_uint64_scale_int64),
18351         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18352         Add protentially more performant non-iterative 128/64 divide function
18353         that unfortunatly does not work yet.
18354         Shortcut the trivial 0/X = 0 case.
18355         Remove the warnings on overflow.
18356
18357 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18358
18359         * gst/gstplugin.c: (gst_plugin_register_func):
18360           everything causing a plugin not to load should be at least a WARNING
18361
18362 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
18363
18364         * docs/random/ensonic/dparams.txt:
18365           some TODOs for the next dev cycle
18366         * libs/gst/controller/gstcontroller.c:
18367         (gst_controlled_property_set_interpolation_mode),
18368         (gst_controlled_property_new):
18369         * libs/gst/controller/gstcontroller.h:
18370           use base type to assign acccessor functions
18371
18372 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18373
18374         * check/Makefile.am:
18375         Oops, that should have been top_srcdir
18376
18377 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18378
18379         * check/Makefile.am:
18380         * check/elements/fdsrc.c: (GST_START_TEST):
18381         Use a cmdline define to specify the location of a file to use for
18382         testing, to avoid breaking distcheck.
18383
18384 2005-11-28  Andy Wingo  <wingo@pobox.com>
18385
18386         * gst/gstpad.c (fixate_value): Use array functions for arrays.
18387
18388 2005-11-28  Edward Hervey  <edward@fluendo.com>
18389
18390         * tools/gst-launch.c: (main):
18391         Clarify the output strings, makes it easier to translate.
18392         Fixes #322626
18393
18394 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18395
18396         * gst/Makefile.am:
18397           don't try and build net if we don't even have <sys/socket.h>
18398
18399 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
18400
18401         * check/Makefile.am:
18402         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18403         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18404           Add tests for fdsrc seekability
18405
18406         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18407         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18408         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18409         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18410         * gst/elements/gstfdsrc.h:
18411           fdsrc should not be a 'live' source.
18412           Implement seeking on seekable fd's.
18413
18414         * gst/gstquery.c: (gst_query_new_seeking),
18415         (gst_query_parse_seeking):
18416         * gst/gstquery.h:
18417           Implement SEEKING query functions: 
18418             *_new_seeking and *_parse_seeking
18419
18420 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
18421
18422         * gst/gstelement.c: (gst_element_dispose):
18423           don't loop forever
18424
18425         * gst/gstiterator.c:
18426         * gst/gststructure.c:
18427           doc fixes
18428
18429         * libs/gst/controller/gstcontroller.c:
18430         (gst_controlled_property_set_interpolation_mode):
18431         * libs/gst/controller/gstcontroller.h:
18432         * libs/gst/controller/gstinterpolation.c:
18433         (interpolate_none_get_enum_value_array):
18434           support controlling enums
18435
18436 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18437
18438         * gst/gstvalue.c:
18439           Improve documentation for gst_value_union().
18440
18441         * gst/gstvalue.h:
18442           Change return value for union, intersect and subtract functions
18443           from gint to gboolean.
18444
18445 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18446
18447         * gst/gstvalue.c: (gst_value_serialize_any_list),
18448         (gst_value_transform_any_list_string),
18449         (gst_value_deserialize_list), (gst_value_deserialize_array),
18450         (gst_value_set_int_range), (gst_value_deserialize_int_range),
18451         (gst_value_set_double_range), (gst_value_deserialize_double_range),
18452         (gst_value_set_fraction_range_full),
18453         (gst_value_deserialize_fraction_range),
18454         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18455         (gst_value_deserialize_boolean),
18456         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18457         (gst_value_serialize_float), (gst_value_deserialize_float),
18458         (gst_string_wrap), (gst_value_deserialize_string),
18459         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18460         (gst_value_union_int_range_int_range),
18461         (gst_value_intersect_int_range_int_range),
18462         (gst_value_intersect_double_range_double_range),
18463         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18464         (gst_value_subtract_int_range_int_range),
18465         (gst_value_subtract_double_double_range),
18466         (gst_value_subtract_double_range_double_range),
18467         (gst_value_deserialize_fraction):
18468         * gst/gstvalue.h:
18469           Use gint, gdouble and gchar in our API instead of int, double and
18470           char (and make usage in gstvalue.c more consistent).
18471
18472 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18473
18474         * check/Makefile.am:
18475         * libs/gst/controller/Makefile.am:
18476         * libs/gst/dataprotocol/Makefile.am:
18477           fix up Makefile.am and remove GST_ENABLE_NEW
18478
18479 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18480
18481         * configure.ac:
18482         * gst/Makefile.am:
18483         * gst/base/Makefile.am:
18484         * gst/check/Makefile.am:
18485         * gst/elements/Makefile.am:
18486         * gst/net/Makefile.am:
18487           update LDFLAGS use some more
18488
18489 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18490
18491         * common/m4/gst-doc.m4:
18492           Fixes #312589
18493
18494 2005-11-26  Edward Hervey  <edward@fluendo.com>
18495
18496         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18497         This shouldn't issue a g_warning since it returns NULL if it
18498         couldn't find the plugin, and all functions using this behave
18499         properly on a NULL return. Switching to a GST_WARNING.
18500
18501 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
18502
18503         * gst/gstbin.c: (gst_bin_handle_message_func):
18504         Don't leak clock messages.
18505
18506 2005-11-25  Wim Taymans  <wim@fluendo.com>
18507
18508         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18509         (gst_util_uint64_scale_int):
18510         Optimisations, remove unneeded vars.
18511
18512 2005-11-25  Wim Taymans  <wim@fluendo.com>
18513
18514         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18515         Added more checks for the high precision uint64 cases.
18516
18517         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18518         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18519         Implement high precision (guint64 * guint64) / guint64.
18520
18521 2005-11-24  Wim Taymans  <wim@fluendo.com>
18522
18523         * gst/base/gstbasesrc.c: (gst_base_src_query):
18524         Fix wrong percentage query.
18525
18526         * gst/gstutils.c: (gst_util_uint64_scale),
18527         (gst_util_uint64_scale_int):
18528         Add some more common cases that can be handled 
18529         efficiently to _scale.
18530
18531 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18532
18533         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18534         (gst_mini_object_suite):
18535           don't use check calls from threads; check probably isn't
18536           threadsafe and using a lock to make it threadsafe would
18537           defeat the purpose of this check
18538         * gst/check/gstcheck.c:
18539         * gst/check/gstcheck.h:
18540           use GST_DEBUG some more
18541
18542 2005-11-24  Wim Taymans  <wim@fluendo.com>
18543
18544         * gst/gstutils.c: (gst_util_uint64_scale),
18545         (gst_util_uint64_scale_int):
18546         Chain trivial case to _scale_int.
18547
18548 2005-11-24  Wim Taymans  <wim@fluendo.com>
18549
18550         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18551         Added test for scaling.
18552
18553         * gst/gstclock.h:
18554         Small doc fix.
18555
18556         * gst/gstutils.c: (gst_util_uint64_scale_int):
18557         Implemented high precision scaling code.
18558
18559 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18560
18561         * gst/gstinfo.h:
18562           do not crash on pad==NULL
18563
18564 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18565
18566         Patch by: Stefan Kost
18567
18568         * common/gtk-doc.mak:
18569         * docs/gst/Makefile.am:
18570         * docs/libs/Makefile.am:
18571           Fix distcheck issues for the libraries docs build
18572           Closes #319599.
18573
18574 2005-11-24  Michael Smith <msmith@fluendo.com>
18575
18576         * docs/manual/basics-helloworld.xml:
18577           Fix bug #315027: memory leak in example code in docs.
18578
18579 2005-11-24  Michael Smith <msmith@fluendo.com>
18580
18581         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18582           Unlock the PREROLL_LOCK in a failure case.
18583
18584 2005-11-24  Wim Taymans  <wim@fluendo.com>
18585
18586         * docs/gst/gstreamer-sections.txt:
18587         * gst/base/gstadapter.h:
18588         * gst/base/gstbasesink.h:
18589         * gst/base/gstbasesrc.h:
18590         * gst/base/gstbasetransform.h:
18591         * gst/base/gstpushsrc.h:
18592         * gst/elements/gstfakesink.h:
18593         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18594         * gst/elements/gstfakesrc.h:
18595         * gst/elements/gstfilesink.h:
18596         * gst/elements/gstfilesrc.h:
18597         * gst/gst.c:
18598         * gst/gstbin.c:
18599         * gst/gstbuffer.c: (_gst_buffer_copy):
18600         * gst/gstbus.h:
18601         * gst/gstcaps.c:
18602         * gst/gstchildproxy.c:
18603         * gst/gstclock.c:
18604         * gst/gstelement.c:
18605         * gst/gstelementfactory.c:
18606         * gst/gstelementfactory.h:
18607         * gst/gstevent.c:
18608         * gst/gstghostpad.h:
18609         * gst/gstindex.h:
18610         * gst/gstinterface.h:
18611         * gst/gstminiobject.c:
18612         * gst/gstminiobject.h:
18613         * gst/gstpad.c:
18614         * gst/gstpad.h:
18615         * gst/gstpadtemplate.h:
18616         * gst/gstpipeline.h:
18617         * gst/gstpluginfeature.h:
18618         * gst/gstquery.h:
18619         * gst/gstqueue.h:
18620         * gst/gsttaglist.c:
18621         * gst/gsttaglist.h:
18622         * gst/gsttagsetter.c:
18623         * gst/gsttagsetter.h:
18624         * gst/gsttrace.c:
18625         * gst/gsttrace.h:
18626         * gst/gsttypefind.h:
18627         * gst/gsturi.h:
18628         * gst/gstvalue.c:
18629         * gst/net/gstnetclientclock.c:
18630         * gst/net/gstnetclientclock.h:
18631         * gst/net/gstnettimepacket.c:
18632         * gst/net/gstnettimeprovider.c:
18633         * gst/net/gstnettimeprovider.h:
18634         Doc fixes.
18635
18636 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18637
18638         * configure.ac: back to HEAD
18639
18640 === release 0.9.6 ===
18641
18642 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18643
18644         * configure.ac:
18645           releasing 0.9.6, "Always On Time"
18646
18647 2005-11-23  Wim Taymans  <wim@fluendo.com>
18648
18649         * docs/gst/gstreamer-sections.txt:
18650         * gst/glib-compat.c:
18651         * gst/gsttagsetter.c:
18652         * gst/gstvalue.c:
18653         * gst/net/gstnetclientclock.c:
18654         * gst/net/gstnettimepacket.h:
18655         Doc updates.
18656
18657 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18658
18659         * docs/faq/using.xml:
18660         * docs/libs/tmpl/gstcontrol.sgml:
18661         * docs/manual/advanced-dparams.xml:
18662         * docs/manual/appendix-checklist.xml:
18663         * docs/manual/basics-elements.xml:
18664         * docs/pwg/other-source.xml:
18665         * docs/random/moving-plugins:
18666         * gst/gstpad.c:
18667         * tools/gst-launch.1.in:
18668           remove mentions of sinesrc
18669
18670 2005-11-23  Michael Smith <msmith@fluendo.com>
18671
18672         * docs/gst/gstreamer-sections.txt:
18673           Update for new API and API changes.
18674         * gst/gstobject.h:
18675           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18676         * gst/gstvalue.c:
18677           Documentation typo fix.
18678         * gst/net/gstnettimepacket.c:
18679           Documentation fixes for arguments.
18680
18681 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18682
18683         * gst/gststructure.c: (gst_structure_get_fraction),
18684         (gst_structure_parse_value),
18685         (gst_structure_fixate_field_nearest_fraction):
18686         * gst/gststructure.h:
18687         * gst/gstutils.c: (gst_util_uint64_scale_int):
18688         * gst/gstutils.h:
18689         * scripts/update-funcnames:
18690         API Changes. 
18691         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18692         Make gst_structure_fixate_field_nearest_fraction take a numerator
18693         and denominator argument instead of a GValue
18694         add gst_structure_get_fraction helper function.
18695
18696 2005-11-23  Wim Taymans  <wim@fluendo.com>
18697
18698         * docs/design/part-TODO.txt:
18699         Update TODO.
18700
18701         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18702         * gst/net/gstnetclientclock.h:
18703         Use parent fields for timeout and window_size.
18704
18705 2005-11-23  Andy Wingo  <wingo@pobox.com>
18706
18707         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18708         rate_num/rate_denom change.
18709
18710         * gst/net/gstnetclientclock.c
18711         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18712         OBJECT_LOCK. Don't call add_observation with the lock.
18713
18714         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18715         fraction.
18716         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18717         rate fraction.
18718         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18719         deal with rate as a fraction whose numerator and denominator are
18720         GstClockTime values.
18721         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18722         master; the other fields are protected by the SLAVE_LOCK.
18723         (do_linear_regression): Note that this must be called with the
18724         SLAVE_LOCK.
18725         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18726         OBJECT_LOCK. Call set_calibration instead of touching the
18727         variables directly.
18728         (gst_clock_set_property, gst_clock_get_property): Protect
18729         master/slave parameters with the SLAVE_LOCK.
18730
18731         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18732         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18733         note that all of the instance variables that add_observation and
18734         the set_master functions use are protected by that lock and not
18735         the OBJECT_LOCK.
18736         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18737
18738         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18739         the caller to take the object lock.
18740
18741 2005-11-23  Wim Taymans  <wim@fluendo.com>
18742
18743         * gst/gsterror.c: (_gst_core_errors_init):
18744         * gst/gsterror.h:
18745         Add error for clock stuff.
18746
18747         * gst/gstpipeline.c: (gst_pipeline_change_state),
18748         (gst_pipeline_set_clock):
18749         Post clock error when clock cannot be used in a pipeline.
18750
18751 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18752
18753         * docs/gst/gstreamer-sections.txt:
18754           make two symbols from gstinfo private for the docs
18755         * gst/base/gstcollectpads.h:
18756         * gst/gstutils.c:
18757           fix doc typos, update docs
18758
18759 2005-11-22  Wim Taymans  <wim@fluendo.com>
18760
18761         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18762         (gst_base_sink_wait), (gst_base_sink_do_sync),
18763         (gst_base_sink_handle_event):
18764         * gst/base/gstbasesink.h:
18765         No need to store the clock, the parent element class already
18766         has it.
18767
18768         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18769         Updates for clock_set returning a gboolean
18770
18771         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18772         (gst_clock_id_wait_async), (gst_clock_class_init),
18773         (gst_clock_init), (gst_clock_finalize),
18774         (gst_clock_get_internal_time), (gst_clock_get_time),
18775         (gst_clock_slave_callback), (gst_clock_set_master),
18776         (gst_clock_get_master), (do_linear_regression),
18777         (gst_clock_add_observation), (gst_clock_set_property),
18778         (gst_clock_get_property):
18779         * gst/gstclock.h:
18780         Implement master/slave. When setting a clock as a slave, a
18781         periodic timeout is scheduled to sample master and slave times.
18782         Then the slave clock is recalibrated to match offset and rate
18783         of the master clock.
18784         Update logging a bit.
18785         Add flag so that a clock can state that is cannot be slaved to
18786         another clock.
18787
18788         * gst/gstelement.c: (gst_element_set_clock):
18789         * gst/gstelement.h:
18790         The set clock returns a gboolean for when an element cannot
18791         deal with the selected clock in the pipeline. 
18792
18793         * gst/gstpipeline.c: (gst_pipeline_change_state),
18794         (gst_pipeline_set_clock):
18795         * gst/gstpipeline.h:
18796         Handle the case where the selected clock cannot be set on
18797         the pipeline.
18798
18799         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18800         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18801         (gst_net_client_clock_set_property),
18802         (gst_net_client_clock_get_property),
18803         (gst_net_client_clock_observe_times):
18804         * gst/net/gstnetclientclock.h:
18805         Use regression code in GstClock parent, remove duplicated
18806         functionality.
18807
18808 2005-11-22  Michael Smith <msmith@fluendo.com>
18809
18810         * gst/gstutils.c: (gst_util_clock_time_scale):
18811         * gst/gstutils.h:
18812         * docs/gst/gstreamer-sections.txt:
18813           Rename method to have extra underscore.
18814
18815 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18816
18817         * gst/elements/Makefile.am:
18818         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18819         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18820         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18821         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18822         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18823         * gst/elements/gstfakesrc.h:
18824         * gst/gstqueue.c: (queue_leaky_get_type):
18825           correctly fix GEnumValues so that nick is the short lowercase
18826           dashed tag
18827         * tools/gst-inspect.c: (print_element_properties_info):
18828           also show the nick, since it's useful to use from parse_launch
18829           syntax
18830           Fixes #322139
18831
18832 2005-11-22  Michael Smith <msmith@fluendo.com>
18833
18834         * gst/gstutils.c: (gst_util_clocktime_scale):
18835         * gst/gstutils.h:
18836         * docs/gst/gstreamer-sections.txt:
18837           Add util method for scaling a clocktime by a fraction. Useful 
18838           implementation is left as an exercise for the reader.
18839
18840 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18841
18842         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18843         If needed, allocate storage in the destination value during
18844         collection.
18845
18846 2005-11-22  Edward Hervey  <edward@fluendo.com>
18847
18848         * docs/gst/gstreamer-sections.txt:
18849         * gst/Makefile.am:
18850         * gst/gst.h:
18851         * gst/gsturitype.c:
18852         * gst/gsturitype.h:
18853         * gst/gstutils.c: (gst_util_set_object_arg):
18854         * tools/gst-compprep.c: (main):
18855         * tools/gst-inspect.c: (print_element_properties_info):
18856         Removed GstURI, closes bug #321061
18857
18858 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18859
18860         * check/gst/gststructure.c: (GST_START_TEST):
18861         * gst/gststructure.c: (gst_structure_parse_value):
18862           Oops, broke automatic string type parsing.
18863           Add a test to catch it in future.
18864
18865 2005-11-22  Andy Wingo  <wingo@pobox.com>
18866
18867         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18868         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18869         Actually rename the function implementations. Grr.
18870
18871 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18872
18873         * check/gst/capslist.h:
18874           Comment test cases
18875         * check/gst/gststructure.c: (GST_START_TEST),
18876         (gst_structure_suite):
18877           Test automatic value type detection in gst_structure_from_string.
18878         * gst/gststructure.c: (gst_structure_parse_value):
18879           Add fraction as a type we try and guess automatically in
18880           caps/structure strings.
18881
18882 2005-11-22  Andy Wingo  <wingo@pobox.com>
18883
18884         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18885
18886         * gst/gsttagsetter.h:
18887         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18888         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18889         (gst_tag_setter_add_tag_valist)
18890         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18891         _add_values, _add_valist, and _add_valist_values. Since this is an
18892         interface the function suffixes should be more explicit so
18893         language binding don't end up with element.add_valist ->
18894         gst_tag_setter_add_valist, for example. Fixes #322069.
18895
18896 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18897
18898         * check/gst/gstcaps.c: (GST_START_TEST):
18899           Extend caps string tests to check that a caps to string
18900           conversion is reversible and produces the same caps.
18901
18902         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18903           Output "fraction" as the generic type fraction range, so caps
18904           serialisation and deserialisation works.
18905         * check/gst/capslist.h:
18906         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18907           Support 'MIN' and 'MAX' for deserialising fractions.
18908
18909 2005-11-22  Andy Wingo  <wingo@pobox.com>
18910
18911         * gst/gstevent.h (gst_event_new_new_segment)
18912         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18913         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18914         Renamed from *_newsegment, *_buffersize, *_notarget.
18915
18916         * scripts/update-funcnames: New script, performs the changes
18917         listed above.
18918
18919 2005-11-22  Wim Taymans  <wim@fluendo.com>
18920
18921         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18922         Make sure the GstFlowReturn is returned.
18923
18924         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18925         (gst_bus_add_signal_watch):
18926         * gst/gstbus.h:
18927         add gst_bus_add_signal_watch_full.
18928
18929         * gst/gstplugin.c: (gst_plugin_load_file):
18930         Small style cleanup.
18931
18932 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18933
18934         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18935           Block the fakesrc srcpad when we send an event, to avoid
18936           contention on the stream_lock causing random test failures.
18937
18938 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18939
18940         * check/gst/gstvalue.c: (GST_START_TEST):
18941         * gst/gstvalue.c: (gst_value_fraction_subtract):
18942           Fix subtraction.
18943
18944 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18945
18946         * gst/gst.h:
18947           include "gstchildproxy.h"
18948         * gst/gstchildproxy.h:
18949         * libs/gst/controller/gstcontroller.h:
18950           use G_GNUC_NULL_TERMINATED
18951
18952 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18953
18954         * check/gst/capslist.h:
18955         * check/gst/gstcaps.c: (GST_START_TEST):
18956         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18957         * gst/gststructure.c: (gst_structure_parse_range),
18958         (gst_structure_fixate_field_nearest_fraction):
18959         * gst/gststructure.h:
18960         * gst/gstvalue.c: (gst_value_init_fraction_range),
18961         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18962         (gst_value_collect_fraction_range),
18963         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18964         (gst_value_set_fraction_range_full),
18965         (gst_value_get_fraction_range_min),
18966         (gst_value_get_fraction_range_max),
18967         (gst_value_serialize_fraction_range),
18968         (gst_value_transform_fraction_range_string),
18969         (gst_value_compare_fraction_range),
18970         (gst_value_deserialize_fraction_range),
18971         (gst_value_intersect_fraction_fraction_range),
18972         (gst_value_intersect_fraction_range_fraction_range),
18973         (gst_value_subtract_fraction_fraction_range),
18974         (gst_value_subtract_fraction_range_fraction),
18975         (gst_value_subtract_fraction_range_fraction_range),
18976         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18977         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18978         (gst_value_transform_string_fraction), (_gst_value_initialize):
18979         * gst/gstvalue.h:
18980           Implement fraction ranges and extend GstFraction to support
18981           arithmetic subtraction, as well as deserialization from integer
18982           strings such as "100"
18983           Add a testsuite as for int and double range set operations
18984
18985 2005-11-21  Andy Wingo  <wingo@pobox.com>
18986
18987         * gst/gsttaglist.h: 
18988         * gst/gstcaps.h: 
18989         * gst/gststructure.h: Add glib-compat.h.
18990
18991 2005-11-21  Wim Taymans  <wim@fluendo.com>
18992
18993         * gst/gstbin.c: (gst_bin_change_state_func):
18994         Fix for #321595
18995
18996 2005-11-21  Wim Taymans  <wim@fluendo.com>
18997
18998         * gst/gstsegment.h:
18999         And add a nice define too.
19000
19001 2005-11-21  Wim Taymans  <wim@fluendo.com>
19002
19003         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
19004         (gst_segment_new), (gst_segment_free), (gst_segment_init),
19005         (gst_segment_set_duration), (gst_segment_set_last_stop),
19006         (gst_segment_set_seek), (gst_segment_set_newsegment),
19007         (gst_segment_to_stream_time), (gst_segment_to_running_time),
19008         (gst_segment_clip):
19009         * gst/gstsegment.h:
19010         Make binding friendly.
19011
19012 2005-11-21  Andy Wingo  <wingo@pobox.com>
19013
19014         * gst/gsttagsetter.h: 
19015         * gst/gsttaglist.h: 
19016         * gst/gststructure.h: 
19017         * gst/gstcaps.h: 
19018         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
19019         #319940.
19020
19021         * gst/gsterror.c (_gst_core_errors_init):
19022         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
19023         category.
19024
19025         * gst/Makefile.am (gst_headers): Add glib-compat.h.
19026         (noinst_HEADERS): noinst the -private.
19027
19028 2005-11-21  Michael Smith <msmith@fluendo.com>
19029
19030         * gst/gstplugin.h:
19031         * gst/gstregistry.h:
19032           Remove unimplemented declarations for which we can see no sensible
19033           use.
19034
19035 2005-11-21  Andy Wingo  <wingo@pobox.com>
19036
19037         * gst/gst.h: Include glib-compat.h.
19038
19039         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
19040
19041         * gst/glib-compat.c: Include the public and the private header.
19042
19043         * gst/glib-compat-private.h: Copied here from glib-compat.h.
19044
19045         * gst/gstvalue.c: 
19046         * gst/gstpad.c: 
19047         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
19048
19049         * check/gst/gstevent.c (create_custom_events): Check that
19050         FLUSH_STOP is serialized.
19051
19052         * check/elements/identity.c (event_func): 
19053         * check/elements/fakesrc.c (event_func): No stream lock, the core
19054         takes it.
19055
19056         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
19057         stream lock taking, yay.
19058
19059         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
19060         ensure that core takes the stream lock.
19061
19062         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
19063         lock name change.
19064
19065         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
19066         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
19067         it already. For the flush start we do take it though so we get the
19068         right preroll state change messages.
19069
19070         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
19071         the stream lock here, the core does it for us.
19072
19073         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
19074         GST_STREAM_GET_LOCK.
19075         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
19076         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
19077         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
19078         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
19079         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
19080         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
19081
19082         * gst/gstpad.c: Update for stream lock name change.
19083
19084         * gst/base/gstbasesink.c: Update for preroll lock name change.
19085
19086 2005-11-21  Wim Taymans  <wim@fluendo.com>
19087
19088         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
19089         (gst_clock_get_master):
19090         * gst/gstclock.h:
19091         * gst/gstsystemclock.c: (gst_system_clock_init):
19092         Convert Clock flags to object flags.
19093         Added methods to manage master/slave clocks.
19094
19095 2005-11-21  Wim Taymans  <wim@fluendo.com>
19096
19097         * check/gst/gstsegment.c: (GST_START_TEST):
19098         * docs/design/part-TODO.txt:
19099         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19100         (gst_base_sink_event), (gst_base_sink_do_sync),
19101         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
19102         (gst_base_sink_query), (gst_base_sink_change_state):
19103         * gst/base/gstbasesink.h:
19104         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19105         (gst_base_src_default_newsegment),
19106         (gst_base_src_configure_segment), (gst_base_src_do_seek),
19107         (gst_base_src_get_range), (gst_base_src_loop),
19108         (gst_base_src_change_state):
19109         * gst/base/gstbasesrc.h:
19110         * gst/base/gstbasetransform.c:
19111         (gst_base_transform_prepare_output_buf),
19112         (gst_base_transform_event), (gst_base_transform_change_state):
19113         * gst/base/gstbasetransform.h:
19114         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
19115         (gst_collect_pads_event):
19116         * gst/base/gstcollectpads.h:
19117         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
19118         (gst_fake_src_create):
19119         * gst/elements/gstfakesrc.h:
19120         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19121         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19122         (gst_segment_set_last_stop), (gst_segment_set_seek),
19123         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
19124         (gst_segment_to_running_time), (gst_segment_clip):
19125         * gst/gstsegment.h:
19126         More segment updates, replace code in plugins with segment
19127         helper functions.
19128
19129 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19130
19131         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
19132         Don't ignore sscanf results
19133
19134 2005-11-21  Andy Wingo  <wingo@pobox.com>
19135
19136         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
19137
19138         * *.h:
19139         * *.c: Ran scripts/update-macros. Oh yes.
19140
19141         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
19142         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
19143         GST_GET_LOCK, etc.
19144
19145         * scripts/update-macros: New script. Run it on your files to
19146         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
19147         well.
19148
19149 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
19150
19151         * docs/gst/Makefile.am:
19152         * docs/gst/gstreamer-docs.sgml:
19153         * docs/gst/gstreamer-sections.txt:
19154         * docs/gst/gstreamer.types:
19155         * gst/gstinfo.h:
19156           more docs fixes, add new api to the docs
19157
19158 2005-11-21  Andy Wingo  <wingo@pobox.com>
19159
19160         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
19161         state_broadcast call.
19162
19163         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
19164
19165 2005-11-21  Julien MOUTTE  <julien@moutte.net>
19166
19167         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
19168         function calls for arrays.
19169
19170 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
19171
19172         * docs/random/ensonic/media-device-daemon.txt:
19173           wild idea, can this be done?
19174         * docs/gst/gstreamer-sections.txt:
19175         * gst/gsterror.h:
19176         * gst/gstfilter.c:
19177         * gst/gstfilter.h:
19178         * gst/gstplugin.h:
19179         * gst/gstpluginfeature.c:
19180         * gst/gsttrace.c:
19181         * gst/gstvalue.c:
19182         * gst/gstvalue.h:
19183           doc fixes and additions
19184
19185 2005-11-21  Andy Wingo  <wingo@pobox.com>
19186
19187         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
19188         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
19189         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
19190         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
19191         private to the basesrc implementation.
19192
19193         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
19194         behalf of event function if necessary. It should no longer be
19195         necessary to take the stream lock in pad's event functions. Fixes
19196         #320299.
19197
19198 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19199         * docs/gst/gstreamer-sections.txt:
19200         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
19201         (gst_structure_fixate_field_nearest_double),
19202         (gst_structure_fixate_field_boolean):
19203         * gst/gststructure.h:
19204         * win32/common/libgstreamer.def:
19205         * win32/gstreamer.def:
19206
19207         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
19208         (#322027)
19209
19210 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19211
19212         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
19213         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
19214         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
19215         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
19216         (gst_fdsrc_uri_handler_init):
19217         * gst/elements/gstfdsrc.h:
19218           Port fd:// URI handler from 0.8 to fdsrc
19219
19220 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19221
19222         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
19223         (gst_value_serialize_fourcc):
19224         * gst/gstvalue.h:
19225           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19226           consistent with our other format defines (#320324).
19227
19228 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19229
19230         * gst/gstvalue.c: (gst_value_is_fixed):
19231           Revert previous commit. Value lists are by definition
19232           not fixed, as they are a list of possible values.
19233
19234 2005-11-21  Andy Wingo  <wingo@pobox.com>
19235
19236         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19237         during the stable series if we need it. Fixes #319178.
19238
19239         * gst/gstevent.c (gst_event_new_filler): Removed.
19240
19241         * check/gst/gstevent.c: Update comment about filler events.
19242
19243 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19244
19245         * gst/gstvalue.c: (gst_value_is_fixed):
19246           Should handle both value arrays and value lists.
19247
19248 2005-11-21  Andy Wingo  <wingo@pobox.com>
19249
19250         patch by: Alessandro Dessina <alessandro nnva org>
19251
19252         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19253         functions to access arrays. Fixes #321962.
19254
19255 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19256
19257         * docs/gst/gstreamer.types:
19258           gst_collectpads_get_type => gst_collect_pads_get_type.
19259           
19260         * gst/base/gstbasetransform.c:
19261           Remove unused SIGNAL_HANDOFF enum.
19262
19263 2005-11-21  Andy Wingo  <wingo@pobox.com>
19264
19265         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19266         the event type (upstream, downstream, serialized). Renamed
19267         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19268         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19269         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19270
19271         * gst/gstevent.c: Update for new CUSTOM event names.
19272
19273         * check/gst/gstevent.c: Update check for new CUSTOM event names.
19274
19275         * gst/gstevent.h:
19276         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19277         bug #319392.
19278
19279 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19280
19281         * docs/gst/gstreamer-sections.txt:
19282         * win32/common/libgstbase.def:
19283         * win32/libgstbase.def:
19284         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19285         (gst_collect_pads_class_init), (gst_collect_pads_init),
19286         (gst_collect_pads_finalize), (gst_collect_pads_new),
19287         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19288         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19289         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19290         (gst_collect_pads_start), (gst_collect_pads_stop),
19291         (gst_collect_pads_peek), (gst_collect_pads_pop),
19292         (gst_collect_pads_available), (gst_collect_pads_read),
19293         (gst_collect_pads_flush), (gst_collect_pads_event),
19294         (gst_collect_pads_chain):
19295         * gst/base/gstcollectpads.h:
19296           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19297           unimplemented functions as unimplemented. Add padding to
19298           GstCollectData. (#320766, #320423)
19299
19300 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19301
19302         * gst/gstmessage.c:
19303           Improve docs for DURATION message (usage of duration parameter)
19304           (#320113)
19305
19306 2005-11-20  Wim Taymans  <wim@fluendo.com>
19307
19308         * check/Makefile.am:
19309         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19310         (main):
19311         * gst/Makefile.am:
19312         * gst/gst.h:
19313         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19314         (gst_segment_set_seek), (gst_segment_set_newsegment),
19315         (gst_segment_to_stream_time), (gst_segment_to_running_time),
19316         (gst_segment_clip):
19317         * gst/gstsegment.h:
19318         Added segment helper structure and methods. Not fully implemented
19319         yet.
19320         Added segment check.
19321
19322 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
19323
19324         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19325           Add a deserialisation test for fractions
19326         * examples/metadata/read-metadata.c: (message_loop),
19327         (make_pipeline), (main):
19328           Fix up metadata reading sample.
19329         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19330           Debug format fix
19331         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19332           Don't try and fixate empty caps
19333         * gst/gst_private.h:
19334           Wrap in G_BEGIN_DECLS/G_END_DECLS
19335         * gst/gstvalue.c: (gst_value_collect_fraction),
19336         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19337         (gst_value_transform_string_fraction),
19338         (gst_value_compare_fraction):
19339           Add some extra guards to ensure that we don't end up 
19340           with an invalid denominator of 0 in a gstfraction and
19341           that fractions always get reduced.
19342
19343 2005-11-20  Wim Taymans  <wim@fluendo.com>
19344
19345         * docs/gst/gstreamer-sections.txt:
19346         * gst/gstbuffer.h:
19347         * gst/gstelement.c:
19348         * gst/gstformat.c:
19349         * gst/gstformat.h:
19350         * gst/gstindex.h:
19351         * gst/gstquery.c:
19352         * gst/gstquery.h:
19353         * gst/gstvalue.c:
19354         Doc fixes.
19355
19356 2005-11-20  Wim Taymans  <wim@fluendo.com>
19357
19358         * docs/design/part-TODO.txt:
19359         * gst/gstcaps.h:
19360         Make a proper enum of the flag.
19361
19362 2005-11-19  Wim Taymans  <wim@fluendo.com>
19363
19364         * docs/design/part-TODO.txt:
19365         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19366         (gst_format_to_quark), (gst_format_register):
19367         * gst/gstformat.h:
19368         * gst/gstquery.c: (_gst_query_initialize),
19369         (gst_query_type_get_name), (gst_query_type_to_quark),
19370         (gst_query_type_register):
19371         * gst/gstquery.h:
19372         Add type to quark and type to string conversions.
19373
19374 2005-11-19  Andy Wingo  <wingo@pobox.com>
19375
19376         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19377         #320097.
19378
19379 2005-11-19  Wim Taymans  <wim@fluendo.com>
19380
19381         * docs/design/part-TODO.txt:
19382         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19383         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19384         (gst_bin_handle_message_func):
19385         * gst/gstbin.h:
19386         Make message handling overridable.
19387
19388 2005-11-19  Andy Wingo  <wingo@pobox.com>
19389
19390         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19391
19392         * gst/gstclock.h:
19393         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19394         be a GstClockTime.
19395         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19396         is a GstClockTime. Fixes #321710.
19397
19398         * gst/gstclock.h (GstClock): Remove offset property. Add
19399         internal_calibration and external_calibration. Fix padding. Pad
19400         also by GstClockTime so we don't run into problems.
19401
19402         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19403         (gst_clock_get_rate_offset): Remove.
19404         (gst_clock_set_time_adjust): Remove. Fixes #321712.
19405
19406         * gst/gstutils.h:
19407         * gst/gstutils.c (g_static_rec_cond_wait)
19408         (g_static_rec_cond_timed_wait): Removed, no longer needed.
19409
19410         * gst/gstbin.c: Remove terrible continue_state prototype.
19411
19412         * gst/gstelement.h (gst_element_continue_state): Make public.
19413
19414         * gst/gstelement.h:
19415         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19416         by continue_state. Fixes #319389.
19417
19418         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19419         Really fixes #168438. However I don't see anywhere where the
19420         filter function is called... stupid GStreamer...
19421         
19422         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19423         don't have a dispose function, so it won't get called when the
19424         object is unreffed, but oh well!
19425
19426         * gst/gstindex.c (gst_index_set_filter_full): New API function,
19427         allows a destroy function to be set so user_data can be freed.
19428         Fixes #168438.
19429         (gst_index_set_filter): Call gst_index_set_filter_full.
19430
19431         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19432
19433         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19434         string should produce an error, given the lack of a way to
19435         represent NULL strings. Fixes #165650.
19436         
19437         * gst/gstvalue.h: 
19438         * gst/gstvalue.c (gst_value_array_append_value) 
19439         (gst_value_array_prepend_value, gst_value_array_get_size) 
19440         (gst_value_array_get_value): New API, copied from
19441         gst_value_list_*, only operates on arrays.
19442         (gst_value_list_append_value, gst_value_list_prepend_value) 
19443         (gst_value_list_concat, gst_value_list_get_size) 
19444         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19445
19446         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19447         init_list, because it works on both.
19448         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19449         (gst_value_copy_list_or_array): Renamed from copy_list.
19450         (gst_value_free_list_or_array): Renamed from free_list.
19451         (gst_value_collect_list_or_array): Renamed from collect_list.
19452         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19453         (gst_value_list_or_array_peek_pointer): Renamed from
19454         list_peek_pointer.
19455         (_gst_value_array_value_table, _gst_value_list_value_table):
19456         Update value table functions.
19457         (gst_value_compare_list_or_array): Renamed from compare_list.
19458
19459         * gsttaglist.h: Whoops, foreach function returns void. Also fix
19460         some constness.
19461
19462         * gst/gsttaglist.c:
19463         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19464         GstTagList*. Fixes #143472.
19465
19466         * gst/gststructure.h: Clarify what the foreach/map functions can
19467         or can't do to their arguments.
19468
19469 2005-11-18  Wim Taymans  <wim@fluendo.com>
19470
19471         * gst/gstclock.c: (gst_clock_set_calibration),
19472         (gst_clock_get_calibration):
19473         Doc and API fixes.
19474         Calibration can be set with internal time equal to current
19475         internal time too.
19476
19477 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19478
19479         * gst/gsterror.c:
19480         * gst/gsterror.h:
19481           document
19482
19483 2005-11-18  Andy Wingo  <wingo@pobox.com>
19484
19485         * configure.ac: 
19486         * pkgconfig/gstreamer-net.pc.in:
19487         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19488         * pkgconfig/Makefile.am: Add net pkgconfig files.
19489
19490 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
19491
19492         * gst/gstcaps.c:
19493         * gst/gstghostpad.c:
19494         * gst/gsttrace.c:
19495         * gst/gstvalue.c:
19496         * gst/gstvalue.h:
19497           docs fixes
19498
19499 2005-11-18  Andy Wingo  <wingo@pobox.com>
19500
19501         * gst/net/gstnetclientclock.c: Turn off debugging.
19502
19503         * check/net/gstnetclientclock.c (test_functioning): Assert that the
19504         times connverge somewhat. Can't make a real test.
19505
19506         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19507         integer arithmetic. Return the minimum of the domain, which can be
19508         set as "internal" for gst_clock_set_calibration.
19509         (gst_net_client_clock_observe_times): Call _set_calibration.
19510         (gst_net_client_clock_new): Call _set_calibration instead of
19511         rate_offset.
19512
19513         * check/net/gstnetclientclock.c (test_functioning): Use the right
19514         adjustment api.
19515
19516         * gst/gstclock.h:
19517         * gst/gstclock.c (gst_clock_get_calibration) 
19518         (gst_clock_set_calibration): New functions, obsolete the ones I
19519         added yesterday. Doh. Precision issues mean we have to extrapolate
19520         from a point in the more recent past than 1970.
19521         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19522         obsolete.
19523         (gst_clock_adjust_unlocked): Use the right calibration data.
19524
19525 2005-11-18  Edward Hervey  <edward@fluendo.com>
19526
19527         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19528         Also reset the ->current_* values in READY->PAUSED
19529
19530 2005-11-18  Andy Wingo  <wingo@pobox.com>
19531
19532         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19533         Whoops, check the right fd. Also add some debugging.
19534         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19535         (do_linear_regression): Add a crapload of debugging. Subtract off
19536         the minimum values from the input series to discard unneeded bits.
19537         Use only int arithmetic. There is still double arithmetic when
19538         calculating the intercept that needs fixing. Return boolean to
19539         indicate success; FALSE would mean the domain or range is too
19540         great. Still needs fixes.
19541
19542 2005-11-18  Wim Taymans  <wim@fluendo.com>
19543
19544         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19545         For the current position in stream time, we need to subtract
19546         accumulated time.
19547         
19548         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19549         Release lock before calling the callback function of async
19550         entries.
19551
19552 2005-11-18  Andy Wingo  <wingo@pobox.com>
19553
19554         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19555         Port goes all the way to MAXUINT16.
19556
19557         * gst/net/gstnettimeprovider.c: Make the port range the same as
19558         for the kernel: 0 assigns, otherwise ports are less than
19559         MAXUINT16.
19560
19561         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19562         port change.
19563
19564         * check/net/gstnetclientclock.c (test_functioning): Add the start
19565         of another test. 
19566
19567 2005-11-18  Wim Taymans  <wim@fluendo.com>
19568
19569         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19570         (gst_bin_remove_func), (bin_bus_handler):
19571         * gst/gstbin.h:
19572         Removing a clock provider from a bin, triggers a clock lost message
19573         so that a new clock will be selected.
19574         Adding a clock to a bin triggers a clock provider message.
19575         Make sure we reselect a clock when we received a clock lost message.
19576         Keep a reference to the element that provided the clock.
19577
19578 2005-11-18  Andy Wingo  <wingo@pobox.com>
19579
19580         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19581         the clock initially so it produces values around the base time.
19582         (gst_net_client_clock_class_init): Typo fix.
19583         (gst_net_client_clock_thread): Add note on when the socket gets
19584         closed.
19585
19586 2005-11-17  Wim Taymans  <wim@fluendo.com>
19587
19588         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19589         Free remote and local time arrays.
19590
19591 2005-11-17  Wim Taymans  <wim@fluendo.com>
19592
19593         * gst/net/gstnetclientclock.c: (do_linear_regression),
19594         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19595         Fix compilation, uninitialized vars and a forgotten continue.
19596
19597 2005-11-17  Andy Wingo  <wingo@pobox.com>
19598
19599         * check/Makefile.am (check_PROGRAMS): 
19600         * check/net/gstnetclientclock.c: Add a most minimal test for the
19601         net client clock. More to come later.
19602
19603         * gst/net/gstnet.h: 
19604         * gst/net/Makefile.am: Add netclientclock.
19605
19606         * gst/net/gstnetclientclock.h:
19607         * gst/net/gstnetclientclock.c: New files, implement an untested
19608         GstClock that takes its time from a network time provider.
19609         Implements the algorithm in network-clock.scm.
19610
19611         * tests/network-clock.scm (*window-size*): Rename from
19612         *queue-length*.
19613         * tests/network-clock.scm (network-time): 
19614         * tests/network-clock-utils.scm (q-push): Update callers.
19615
19616 2005-11-17  Wim Taymans  <wim@fluendo.com>
19617
19618         * gst/gstbin.c: (gst_bin_provide_clock_func),
19619         (gst_bin_sort_iterator_new):
19620         And unref the child too..
19621
19622 2005-11-17  Wim Taymans  <wim@fluendo.com>
19623
19624         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19625         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19626         Refactor the sort iterator so it can be used while holding the
19627         LOCK too.
19628         Make clock selection select a clock closest to the source.
19629
19630 2005-11-17  Michael Smith <msmith@fluendo.com>
19631
19632         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19633         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19634         * gst/gstclock.h:
19635           Anonymous structs are a gcc (and some other compilers) extension, so
19636           don't use them. Since this is only for ABI-compatibility, and our
19637           API/ABI freeze is over in a few days, this whole thing will only
19638           last a few days, so don't bother trying to think up a meaningful
19639           name for the struct.
19640
19641 2005-11-17  Andy Wingo  <wingo@pobox.com>
19642
19643         * gst/gstclock.h (GstClock): Add rate and offset properties,
19644         preserving ABI stability. Add rate/offset accessors. Will file bug
19645         for the freeze break.
19646
19647         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19648         and offset, trying to keep precision and avoiding
19649         underflow/overflow.
19650         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19651         functions. Make gst_clock_set_time_adjust obsolete.
19652         (gst_clock_set_time_adjust): Note that this function is obsolete.
19653         Will file bug soon.
19654
19655         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19656         greppable by using GST_PADDING-1+1.
19657
19658 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19659
19660         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19661
19662         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19663           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19664
19665         * gst/gstpadtemplate.h:
19666         * gst/gstpluginfeature.h:
19667           Don't use c++ style comments in headers (#321638).
19668
19669 2005-11-16  Andy Wingo  <wingo@pobox.com>
19670
19671         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19672         buffer.
19673
19674         * check/net/gstnettimeprovider.c: Check to see that the time
19675         provider actually provides times. Works, yo!
19676
19677 2005-11-16  Wim Taymans  <wim@fluendo.com>
19678
19679         * check/Makefile.am:
19680         Enable more tests.
19681
19682         * check/elements/fakesrc.c: (GST_START_TEST):
19683         Set element to NULL before disposing it.
19684
19685 2005-11-16  Andy Wingo  <wingo@pobox.com>
19686
19687         * gst/net/Makefile.am:
19688         * gst/net/gstnet.h:
19689         * gst/net/gstnettimeprovider.c: 
19690         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19691         provider, include it from gstnet.h, and add it to the build.
19692
19693         * gst/net/gstnettimepacket.h: 
19694         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19695         sending and receiving.
19696
19697 2005-11-16  Wim Taymans  <wim@fluendo.com>
19698
19699         * check/Makefile.am:
19700         Enable valgrind check.
19701
19702         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19703         (gst_fake_src_alloc_buffer):
19704         Fix memleak.
19705
19706 2005-11-16  Wim Taymans  <wim@fluendo.com>
19707
19708         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19709         Call parent finalize too.
19710
19711 2005-11-16  Wim Taymans  <wim@fluendo.com>
19712
19713         * check/Makefile.am:
19714         Enable valgrind check that should work fine now.
19715
19716         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19717         * gst/gstqueue.c: (gst_queue_init):
19718         Fix memleaks in pad allocation.
19719
19720 2005-11-16  Andy Wingo  <wingo@pobox.com>
19721
19722         * gst/net/Makefile.am:
19723         * gst/net/gstnet.h: New part of core to hold network elements and
19724         objects. Put in core because it exposes API that applications want
19725         to use. The library is named libgstnet-tempname right now because
19726         of the existing libgstnet in gst-plugins-base. Solution is
19727         probably to rename the one in plugins-base; will file a bug for
19728         the freeze break.
19729
19730         * gst/net/gstnettimeprovider.c: 
19731         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19732         get_time call over the network.
19733
19734         * configure.ac: 
19735         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19736
19737         * check/Makefile.am:
19738         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19739         get additions shortly.
19740
19741 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19742
19743         * gst/gstpad.c: (gst_pad_new_from_static_template):
19744         * gst/gstpad.h:
19745           add gst_pad_new_from_static_template functions
19746         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19747         (gst_check_setup_sink_pad):
19748         * gst/elements/gsttee.c: (gst_tee_init):
19749           and use them
19750
19751 2005-11-16  Wim Taymans  <wim@fluendo.com>
19752
19753         * gst/gstpad.c: (gst_pad_pause_task):
19754         Removed warning, it's not really an error either.
19755
19756 2005-11-16  Wim Taymans  <wim@fluendo.com>
19757
19758         * gst/base/gstbasetransform.c:
19759         (gst_base_transform_prepare_output_buf),
19760         (gst_base_transform_event):
19761         Check if the caps are NULL, this can happen if the element
19762         is shutting down and the pad caps are set to NULL.
19763
19764 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19765
19766         * gst/elements/gsttee.c: (gst_tee_init):
19767           fix pad template leak in tee
19768
19769 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19770
19771         * gst/glib-compat.c: (g_value_dup_gst_object):
19772         * gst/glib-compat.h:
19773         * gst/gstpad.c: (gst_pad_set_property):
19774           use gst_object_ref when setting the pad template; this will
19775           trigger the pad template leaks on GLib 2.6 and the slaves
19776
19777 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19778
19779         * gst/glib-compat.c: (gst_flags_get_first_value):
19780         * gst/glib-compat.h:
19781         * gst/gstregistryxml.c:
19782           remove functions copied from GLib 2.6
19783
19784 2005-11-16  Michael Smith <msmith@fluendo.com>
19785
19786         * gst/Makefile.am:
19787           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19788           do, but only breaks with newer valgrind versions. We're not a
19789           valgrind tool, we have no link-time dependencies on libcoregrind.
19790
19791 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19792
19793         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19794           some debug changes
19795         * gst/gstmessage.h:
19796           typo fixes
19797
19798 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19799
19800         * gst/base/gstbasesrc.c: (gst_base_src_init):
19801         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19802         * gst/gstqueue.c: (gst_queue_init):
19803         * gst/gstregistryxml.c: (load_feature):
19804           Revert all these unrefs, they don't even pass make check !
19805
19806 2005-11-15  Johan Dahlin  <johan@gnome.org>
19807
19808         * gst/base/gstbasesrc.c: (gst_base_src_init):
19809         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19810         * gst/gstqueue.c: (gst_queue_init): 
19811         Free pad templates, fixes a couple of leaks.
19812
19813 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19814
19815         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19816
19817         * gst/gstpad.c: (gst_pad_get_property):
19818           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19819           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19820           (#321452)
19821
19822 2005-11-15  Wim Taymans  <wim@fluendo.com>
19823
19824         * gst/gstevent.c:
19825         Small doc update.
19826
19827 2005-11-15  Andy Wingo  <wingo@pobox.com>
19828
19829         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19830
19831         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19832         using GST_CLOCK_TIME_NONE to disable base time management.
19833         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19834         time if it was NONE before.
19835         (gst_pipeline_change_state): Only munge the base time if
19836         stream_time != GST_CLOCK_TIME_NONE.
19837
19838         * check/gst/gstpipeline.c (test_base_time): Punt around the
19839         problem of the probe not being called, because that's not the
19840         issue I'm looking at. Add a check that setting stream_time to NONE
19841         disables base time management.
19842         
19843 2005-11-15  Wim Taymans  <wim@fluendo.com>
19844
19845         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19846         segment_stop == -1 at startup.
19847
19848         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19849         (gst_base_transform_change_state):
19850         Init segment values at start.
19851
19852 2005-11-15  Wim Taymans  <wim@fluendo.com>
19853
19854         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19855         0 segment values are 0 in any format.
19856
19857         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19858         * gst/base/gstbasetransform.h:
19859         Parse newsegment correctly in basetransform
19860
19861         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19862         Sync to clock using updated segment values.
19863
19864 2005-11-15  Andy Wingo  <wingo@pobox.com>
19865
19866         * check/gst/gstpipeline.c (test_base_time): Add check that the
19867         base time and stream time are reset correctly.
19868
19869 2005-11-15  Wim Taymans  <wim@fluendo.com>
19870
19871         * docs/design/part-TODO.txt:
19872         Some more TODO items.
19873
19874 2005-11-15  Andy Wingo  <wingo@pobox.com>
19875
19876         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19877         error if the user selected "no clock" as the clocking method.
19878
19879         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19880         timestamps with live capture.
19881
19882         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19883         is 0 but we are a live source, timestamp the buffers using the
19884         element's clock.
19885
19886 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19887
19888         * docs/gst/gstreamer-sections.txt:
19889         * gst/gsterror.c:
19890         * gst/gstghostpad.c:
19891         * gst/gstobject.h:
19892         * gst/gstxml.c:
19893           more section docs
19894
19895 2005-11-14  Wim Taymans  <wim@fluendo.com>
19896
19897         * common/gst.supp:
19898           add suppressions from Wim's Debian machine
19899
19900 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19901
19902         * common/gst.supp:
19903           add suppressions from Andy's AMD64 Ubuntu machine
19904
19905 2005-11-14  Andy Wingo  <wingo@pobox.com>
19906
19907         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19908         STATE_LOCK not necessary. Fixes #311489.
19909
19910         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19911         #305291.
19912
19913         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19914         this function is not implemented.
19915
19916 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19917
19918         * gst/base/gstbasetransform.c:
19919         (gst_base_transform_prepare_output_buf):
19920         Ref the source pad caps while we need them.
19921         Fixes (#321386)
19922
19923 2005-11-11  Wim Taymans  <wim@fluendo.com>
19924
19925         * docs/gst/gstreamer-sections.txt:
19926         Added some docs for GstCollectData.
19927
19928         * gst/base/gstadapter.c:
19929         Some small code example fix.
19930
19931         * gst/base/gstcollectpads.c:
19932         * gst/base/gstcollectpads.h:
19933         Document some more.
19934
19935 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19936
19937         * configure.ac: back to HEAD
19938
19939 === release 0.9.5 ===
19940
19941 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19942
19943         * configure.ac:
19944           releasing 0.9.5, "Bike Lunch Day"
19945
19946 2005-11-11  Wim Taymans  <wim@fluendo.com>
19947
19948         * gst/gstbuffer.c: (_gst_buffer_copy):
19949         Copy more flags.
19950
19951         * gst/gstcaps.c: (gst_caps_is_equal):
19952         Fix some docs.
19953         Make _is_equal fast in the trivial cases.
19954
19955         * gst/gstminiobject.c:
19956         * gst/gstminiobject.h:
19957         More docs. Spifify .h file.
19958
19959         * gst/gstutils.c:
19960         Small doc update.
19961
19962 2005-11-11  Wim Taymans  <wim@fluendo.com>
19963
19964         * gst/base/gstbasetransform.c:
19965         (gst_base_transform_prepare_output_buf),
19966         (gst_base_transform_handle_buffer):
19967         Small cleanups.
19968         If we're processing a buffer and need to allocate an output
19969         buffer, we cannot accept a format change. If we did get a 
19970         format change, we have to alloc a buffer ourselves of the 
19971         right size.
19972
19973 2005-11-11  Wim Taymans  <wim@fluendo.com>
19974
19975         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19976         While checking the flag for reentrancy in the gstcaps function
19977         is nice to detect recursive invocations, it also makes it 
19978         impossible to call getcaps from multiple threads, which must be
19979         possible. So, checking for recursive calls has to go.
19980
19981 2005-11-11  Michael Smith <msmith@fluendo.com>
19982
19983         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19984           Don't sync on buffers that fall partially outside our current
19985           segment. Prevents an assertion failure/abort playing some files.
19986
19987 2005-11-10  Andy Wingo  <wingo@pobox.com>
19988
19989         * check/gst/gstbin.c (test_message_state_changed_children): Style
19990         fix..
19991
19992         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19993         gst_bus_poll with the signal watch. Ensures that poll and a signal
19994         watch see the same messages.
19995
19996         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19997         a poll and a watch at the same time get the same messages.
19998
19999 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20000
20001         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
20002         * gst/gstcaps.c: (gst_caps_intersect):
20003           Don't call gst_caps_do_simplify - it doesn't respect order of caps
20004           and it's not needed.
20005
20006 2005-11-10  Wim Taymans  <wim@fluendo.com>
20007
20008         * docs/design/part-TODO.txt:
20009         Updated todo.
20010
20011 2005-11-10  Wim Taymans  <wim@fluendo.com>
20012
20013         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20014         * gst/base/gstbasesrc.c: (gst_base_src_wait),
20015         (gst_base_src_do_sync), (gst_base_src_get_range):
20016         Implement clock sync in base class.
20017
20018 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20019
20020         patch by: Tim-Philipp Müller <tim at centricular dot net>
20021
20022         * gst/gststructure.c: (gst_structure_parse_field),
20023         (gst_structure_from_string):
20024           Forward-port a 0.8 patch to handle escaped spaces in structure string,
20025           so that gst_parse_launch() can deal with spaces in filtered link
20026           caps (fixes #164479)
20027         * check/gst/capslist.h:
20028         * check/gst/gststructure.c: (GST_START_TEST):
20029           add unit tests for this change
20030
20031 2005-11-10  Wim Taymans  <wim@fluendo.com>
20032
20033         * docs/gst/gstreamer-sections.txt:
20034         * gst/gstelement.c:
20035         * gst/gstelement.h:
20036         Fix docs, move some STATE macros to private.
20037
20038 2005-11-10  Wim Taymans  <wim@fluendo.com>
20039
20040         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20041         Added check for bug #317341
20042
20043         * gst/gstbuffer.c:
20044         * gst/gstbuffer.h:
20045         Some more spiffifying.
20046
20047         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
20048         Call peer linkfunction if we are a source pad. Totally fixes
20049         #317341
20050
20051         * gst/gstpad.c:
20052         Update docs, source pads should call the peer linkfunction
20053         so they can atomically perform the pad link.
20054
20055 2005-11-09  Wim Taymans  <wim@fluendo.com>
20056
20057         * gst/gstbuffer.c:
20058         * gst/gstbuffer.h:
20059         Uber-spiffy-spiffify some more.
20060
20061 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
20062
20063         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
20064         * gst/elements/gstfilesink.c: (gst_file_sink_init):
20065         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20066         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
20067         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
20068         * gst/gstpad.c: (gst_pad_init):
20069           Use GST_DEBUG_FUNCPTR() more extensively.
20070
20071 2005-11-09  Wim Taymans  <wim@fluendo.com>
20072
20073         * gst/gstobject.c: (gst_object_class_init):
20074         * gst/gstobject.h:
20075         Documentation fixes.
20076
20077 2005-11-09  Edward Hervey  <edward@fluendo.com>
20078
20079         * gst/gsttypefindfactory.c:
20080         Fix docs.
20081         
20082 2005-11-09  Edward Hervey  <edward@fluendo.com>
20083
20084         * gst/base/gsttypefindhelper.c:
20085         * gst/gsttypefind.c:
20086         * gst/gsttypefind.h:
20087         Fix docs.
20088
20089 2005-11-09  Wim Taymans  <wim@fluendo.com>
20090
20091         * gst/gstiterator.c:
20092         Fix revision data.
20093
20094         * gst/gsttask.c:
20095         * gst/gsttask.h:
20096         Fix docs.
20097
20098 2005-11-09  Wim Taymans  <wim@fluendo.com>
20099
20100         * gst/gstevent.h:
20101         * gst/gsturi.h:
20102         Fix docs.
20103
20104 2005-11-09  Wim Taymans  <wim@fluendo.com>
20105
20106         * docs/gst/gstreamer-sections.txt:
20107         Moved the message async delivery private lock and cond
20108         to the private section.
20109
20110         * gst/gstmessage.c:
20111         * gst/gstmessage.h:
20112         Fixed docs.
20113
20114 2005-11-09  Edward Hervey  <edward@fluendo.com>
20115
20116         * docs/gst/gstreamer-sections.txt:
20117         * gst/gsturi.c:
20118         * gst/gsturi.h:
20119         Document GstURIHandler
20120
20121 2005-11-09  Wim Taymans  <wim@fluendo.com>
20122
20123         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
20124         (gst_iterator_find_custom):
20125         * gst/gstiterator.h:
20126         Fix iterator docs.
20127
20128 2005-11-09  Wim Taymans  <wim@fluendo.com>
20129
20130         * gst/gstbin.h:
20131         Document another field.
20132
20133         * gst/gststructure.c:
20134         * gst/gststructure.h:
20135         Document.
20136
20137 2005-11-09  Wim Taymans  <wim@fluendo.com>
20138
20139         * gst/gstbin.h:
20140         Documented structs.
20141
20142 2005-11-09  Wim Taymans  <wim@fluendo.com>
20143
20144         * docs/gst/gstreamer-sections.txt:
20145         Added some new macros.
20146
20147         * gst/gstclock.c:
20148         * gst/gstclock.h:
20149         * gst/gstobject.h:
20150         Docs updates.
20151
20152 2005-11-09  Wim Taymans  <wim@fluendo.com>
20153
20154         * docs/design/part-TODO.txt:
20155         Some more items for the TODO
20156
20157         * gst/gstcaps.c:
20158         * gst/gstcaps.h:
20159         Document GstCaps.
20160
20161 2005-11-09  Andy Wingo  <wingo@pobox.com>
20162
20163         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
20164         to work on something else now tho...
20165
20166         * gst/base/gstadapter.c: More adapter docs.
20167
20168         * gst/elements/gstfilesink.c (gst_file_sink_start) 
20169         (gst_file_sink_stop): New functions, replace the state change
20170         handler.
20171         (gst_file_sink_class_init): Hook up the start and stop functions.
20172         (gst_file_sink_base_init): Don't set the state change handler any
20173         more. It was a bit ugly too, being set from here...
20174         (gst_file_sink_get_property, gst_file_sink_set_property):
20175         Cleanups...
20176         (gst_file_sink_set_location): More robust check that doesn't call
20177         GST_STATE. Ugggggg.
20178
20179 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
20180
20181         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20182           Hold STREAM_LOCK while pushing newsegment or tag events as well.
20183
20184 2005-11-08  Wim Taymans  <wim@fluendo.com>
20185
20186         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20187         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20188         (gst_base_sink_chain), (gst_base_sink_change_state):
20189         * gst/base/gstbasesink.h:
20190         * gst/base/gstbasesrc.h:
20191         * gst/gstelement.h:
20192         * gst/gstevent.h:
20193         Avoid excessive typechecking in macros.
20194
20195         * gst/gstminiobject.c: (gst_mini_object_get_type),
20196         (gst_mini_object_init), (gst_mini_object_new),
20197         (gst_mini_object_free):
20198         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20199         (gst_object_finalize):
20200         Remove cruft code, optimize alloc_trace.
20201
20202 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
20203
20204         * docs/faq/gst-uninstalled:
20205           fix up PS1 for systems that try to reset it
20206
20207 2005-11-07  Wim Taymans  <wim@fluendo.com>
20208
20209         * gst/base/gstbasesrc.c: (gst_base_src_init),
20210         (gst_base_src_get_range):
20211         Set the segment_end to -1 initially. Fixed typefind.
20212
20213 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
20214
20215         * gst/base/gstadapter.c:
20216           Debug category should be 'adapter', not 'GstAdapter'.
20217           
20218         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
20219         (gst_collectpads_class_init), (gst_collectpads_init),
20220         (gst_collectpads_peek), (gst_collectpads_pop),
20221         (gst_collectpads_event), (gst_collectpads_chain):
20222           Add debug category and some debugging output. Use boilerplate
20223           macros. Remove some extraneous words from docs.
20224
20225 2005-11-05  Andy Wingo  <wingo@pobox.com>
20226
20227         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20228         macro.
20229
20230 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20231
20232         * docs/gst/gstreamer-sections.txt:
20233         * gst/gstcaps.h:
20234         * gst/gstinfo.c:
20235         * gst/gstminiobject.h:
20236         * gst/gstobject.h:
20237         * gst/gstutils.h:
20238           more docs added
20239
20240 2005-11-04  Wim Taymans  <wim@fluendo.com>
20241
20242         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20243         Small update to stop at the configured segment_end
20244         position.
20245
20246 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20247
20248         * gst/gstregistry.c:
20249         * gst/gstregistry.h:
20250           added missing docs
20251
20252 2005-11-04  Edward Hervey  <edward@fluendo.com>
20253
20254         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20255         Check if we are doing a segment seek and have arrived at the
20256         end of that segment.
20257
20258 2005-11-04  Wim Taymans  <wim@fluendo.com>
20259
20260         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20261         Don't leak a mutex unlock in case of an error.
20262
20263         * gst/gstbus.h:
20264         Doc fixes.
20265
20266 2005-11-04  Wim Taymans  <wim@fluendo.com>
20267
20268         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20269         (gst_bus_post):
20270         Get the context to wake up only once.
20271
20272 2005-11-03  Wim Taymans  <wim@fluendo.com>
20273
20274         * check/states/sinks.c: (GST_START_TEST):
20275         Uncomment fixed check.
20276
20277         * docs/design/part-TODO.txt:
20278         Updated TODO.
20279
20280         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20281         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20282         (gst_base_sink_get_position):
20283         If we are going to PLAYING, post the right pending state
20284         when we post the intermediate paused message.
20285
20286         * gst/gstelement.c: (gst_element_continue_state),
20287         (gst_element_set_state_func), (gst_element_change_state):
20288         Don't post state changes that were between the same state
20289         and were not ASYNC.
20290
20291 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20292
20293         * docs/gst/gstreamer-sections.txt:
20294         * gst/gstcaps.h:
20295         * gst/gstinfo.c:
20296         * gst/gstminiobject.h:
20297         * gst/gstobject.h:
20298         * gst/gstutils.h:
20299           more docs and doc style fixes
20300
20301 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20302
20303         * docs/gst/gstreamer-sections.txt:
20304         * gst/gstelement.c:
20305         * gst/gstminiobject.c:
20306         doc fixes
20307
20308 2005-11-03  Andy Wingo  <wingo@pobox.com>
20309
20310         * check/states/sinks.c (test_livesrc_sink): Add checks that the
20311         state-changed messages actually have the right order and the right
20312         values.
20313
20314 2005-11-03  Wim Taymans  <wim@fluendo.com>
20315
20316         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20317         Added some more checks. Specifically the case where NO_PREROLL
20318         elements are in the pipeline.
20319
20320         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20321         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20322         (gst_base_sink_get_position):
20323         Post READY->PAUSED state change messages too.
20324         Fix bug where VOID was posted as pending state...
20325
20326         * gst/gstbin.c: (gst_bin_recalc_state):
20327         use _element_continue_state() to continue the state change.
20328
20329         * gst/gstelement.c: (gst_element_continue_state),
20330         (gst_element_commit_state), (gst_element_set_state_func),
20331         (gst_element_change_state), (gst_element_change_state_func):
20332         Lots of state change cleanups, assign the STATE_RETURN in
20333         a new continue_state() function that also propagates the
20334         last return value from a state change to the app.
20335         Update some debug statements with proper category.
20336
20337 2005-11-03  Wim Taymans  <wim@fluendo.com>
20338
20339         * docs/design/part-events.txt:
20340         * docs/design/part-gstpipeline.txt:
20341         * docs/design/part-messages.txt:
20342         * docs/design/part-overview.txt:
20343         * docs/design/part-seeking.txt:
20344         * docs/design/part-states.txt:
20345         * docs/design/part-trickmodes.txt:
20346         * docs/manual/advanced-position.xml:
20347         Small docs updates.
20348
20349         * gst/gstobject.h:
20350         People think !! is ugly, this looks better.
20351
20352         * gst/gstpad.c: (gst_pad_set_blocked_async):
20353         Remove !! since it's fixed elsewhere now.
20354
20355 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20356
20357         * gst/gstminiobject.h:
20358         * gst/gstobject.h:
20359           Add !! to _FLAG_IS_SET macros to make the result boolean.
20360
20361 2005-11-03  Edward Hervey  <edward@fluendo.com>
20362
20363         * gst/gstpad.c: (gst_pad_set_blocked_async):
20364         comparing a flag and a gboolean rarely returns coherent results...
20365         Added two characters (!!) to make that work correctly.
20366         
20367 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20368
20369         * gst/gstbus.c: (gst_bus_class_init):
20370           Fix some typos.
20371           
20372         * gst/gstqueue.c: (gst_queue_loop):
20373           Don't assume a miniobject that isn't a buffer is an
20374           event (it could be that there is a refcounting
20375           problem somewhere and the pointer is stale and
20376           refers to an already destroyed miniobject).
20377
20378 2005-11-03  Julien MOUTTE  <julien@moutte.net>
20379
20380         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20381
20382 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20383
20384         * docs/manual/advanced-position.xml:
20385           Update seek example and explanations to current 0.9 API.
20386
20387         * gst/elements/gsttypefindelement.c:
20388         (gst_type_find_element_activate):
20389           Remove FIXME comment now that the found caps
20390           are unreffed.
20391
20392 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20393
20394         * gst/gstregistryxml.c: (load_feature):
20395           Add another GST_STR_NULL instance
20396
20397 2005-11-02  Edward Hervey  <edward@fluendo.com>
20398
20399         * gst/gstpad.c: (handle_pad_block):
20400         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20401         
20402 2005-11-02  Wim Taymans  <wim@fluendo.com>
20403
20404         * gst/gstbin.c:
20405         Fix typo in docs.
20406
20407         * gst/gstelement.c: (gst_element_commit_state):
20408         Remove unused value.
20409
20410         * gst/gstiterator.c:
20411         Mention that the returned element is reffed in the docs.
20412
20413 2005-11-02  Wim Taymans  <wim@fluendo.com>
20414
20415         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20416         (gst_pad_push), (gst_pad_push_event):
20417         Unlock blocked pads when they are flushed.
20418
20419 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20420
20421         * docs/README:
20422         * docs/gst/gstreamer-sections.txt:
20423         * gst/gstbin.c:
20424           doc updates
20425         * gst/gstregistry.c: (gst_registry_scan_path_level):
20426           fix for a nasty little missed situation where an installed plug-in
20427           which was in the cache did not get overridden by an uninstalled one
20428           which was earlier in the plugin path because the newly created plugin
20429           for the uninstalled one (not in the registry) didn't get its
20430           ->registered set to TRUE
20431
20432 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20433
20434         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20435         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20436         (gst_collectpads_is_active), (gst_collectpads_collect),
20437         (gst_collectpads_collect_range), (gst_collectpads_start),
20438         (gst_collectpads_stop), (gst_collectpads_peek),
20439         (gst_collectpads_pop), (gst_collectpads_available),
20440         (gst_collectpads_read), (gst_collectpads_flush):
20441           Guard public API with assertions.
20442         
20443         * gst/gstpad.c:
20444           Fix docs for gst_pad_set_link_function().
20445
20446 2005-11-02  Johan Dahlin  <johan@gnome.org>
20447
20448         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
20449         Unref found_caps after we used it.
20450
20451 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20452
20453         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20454           Don't try to ref NULL.
20455
20456 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20457
20458         * win32/common/config.h.in:
20459           provide a GST_FUNCTION that just gives a string for now
20460
20461 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20462
20463         * win32/common/gstenumtypes.c: (register_gst_object_flags),
20464         (gst_object_flags_get_type), (register_gst_bin_flags),
20465         (gst_bin_flags_get_type), (register_gst_buffer_flag),
20466         (gst_buffer_flag_get_type), (register_gst_bus_flags),
20467         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20468         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20469         (gst_clock_return_get_type), (register_gst_clock_entry_type),
20470         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20471         (gst_clock_flags_get_type), (register_gst_state),
20472         (gst_state_get_type), (register_gst_state_change_return),
20473         (gst_state_change_return_get_type), (register_gst_state_change),
20474         (gst_state_change_get_type), (register_gst_element_flags),
20475         (gst_element_flags_get_type), (register_gst_core_error),
20476         (gst_core_error_get_type), (register_gst_library_error),
20477         (gst_library_error_get_type), (register_gst_resource_error),
20478         (gst_resource_error_get_type), (register_gst_stream_error),
20479         (gst_stream_error_get_type), (register_gst_event_type),
20480         (gst_event_type_get_type), (register_gst_seek_type),
20481         (gst_seek_type_get_type), (register_gst_seek_flags),
20482         (gst_seek_flags_get_type), (register_gst_format),
20483         (gst_format_get_type), (register_gst_index_certainty),
20484         (gst_index_certainty_get_type), (register_gst_index_entry_type),
20485         (gst_index_entry_type_get_type),
20486         (register_gst_index_lookup_method),
20487         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20488         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20489         (gst_index_resolver_method_get_type), (register_gst_index_flags),
20490         (gst_index_flags_get_type), (register_gst_debug_level),
20491         (gst_debug_level_get_type), (register_gst_debug_color_flags),
20492         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20493         (gst_iterator_result_get_type), (register_gst_iterator_item),
20494         (gst_iterator_item_get_type), (register_gst_message_type),
20495         (gst_message_type_get_type), (register_gst_mini_object_flags),
20496         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20497         (gst_pad_link_return_get_type), (register_gst_flow_return),
20498         (gst_flow_return_get_type), (register_gst_activate_mode),
20499         (gst_activate_mode_get_type), (register_gst_pad_direction),
20500         (gst_pad_direction_get_type), (register_gst_pad_flags),
20501         (gst_pad_flags_get_type), (register_gst_pad_presence),
20502         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20503         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20504         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20505         (gst_plugin_error_get_type), (register_gst_plugin_flags),
20506         (gst_plugin_flags_get_type), (register_gst_rank),
20507         (gst_rank_get_type), (register_gst_query_type),
20508         (gst_query_type_get_type), (register_gst_tag_merge_mode),
20509         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20510         (gst_tag_flag_get_type), (register_gst_task_state),
20511         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20512         (gst_alloc_trace_flags_get_type),
20513         (register_gst_type_find_probability),
20514         (gst_type_find_probability_get_type), (register_gst_uri_type),
20515         (gst_uri_type_get_type), (register_gst_parse_error),
20516         (gst_parse_error_get_type):
20517         * win32/common/gstversion.h:
20518           update win32 copies
20519
20520 2005-11-01  Luca Ognibene  <luogni@tin.it>
20521
20522         * gst/gst.c:
20523           fix docs. popt is dead, long live GOption.
20524
20525 2005-10-31  Wim Taymans  <wim@fluendo.com>
20526
20527         * gst/gstbuffer.h:
20528         Small doc fix.
20529
20530 2005-10-31  Andy Wingo  <wingo@pobox.com>
20531
20532         * Boo!
20533
20534         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20535
20536         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20537         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20538         the possibility of deadlocks here if code calling notify() or
20539         set() has a lock that can be taken in another notify handler (ABBA
20540         with class lock and e.g. python GIL state lock).
20541
20542 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20543
20544         * gst/gstbus.c: Doc updates.
20545
20546 2005-10-28  Wim Taymans  <wim@fluendo.com>
20547
20548         * docs/design/part-TODO.txt:
20549         * gst/gstiterator.c:
20550         * gst/gstsystemclock.c:
20551         * gst/gstsystemclock.h:
20552         Doc updates.
20553
20554 2005-10-28  Edward Hervey  <edward@fluendo.com>
20555
20556         * docs/gst/gstreamer-docs.sgml:
20557         * docs/gst/gstreamer-sections.txt:
20558         the GstURIType documentation page is private, it only defines GstURIType
20559         which should be defined in the GstURIHandler page
20560         
20561 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20562
20563         * gst/gstbin.c: (gst_bin_class_init):
20564         * gst/gstbin.h:
20565         * gst/gstutils.c:
20566         Documentation updates.
20567
20568 2005-10-28  Wim Taymans  <wim@fluendo.com>
20569
20570         * docs/gst/gstreamer-sections.txt:
20571         * gst/gstclock.c:
20572         * gst/gstclock.h:
20573         Documented the clocks.
20574
20575 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20576
20577         * docs/gst/gstreamer-sections.txt:
20578           move some macros to private sections
20579         * gst/gstminiobject.c:
20580         * gst/gstminiobject.h:
20581           add descriptions provided by ds and some more
20582         * gst/gstpad.h:
20583           mark macro as to be removed
20584
20585 2005-10-28  Wim Taymans  <wim@fluendo.com>
20586
20587         * docs/design/part-TODO.txt:
20588         Add an item to TODO.
20589
20590         * gst/gstiterator.c: (gst_iterator_fold),
20591         (gst_iterator_find_custom):
20592         * gst/gstiterator.h:
20593         Add iterator docs.
20594
20595 2005-10-28  Wim Taymans  <wim@fluendo.com>
20596
20597         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20598         (gst_base_transform_init):
20599         Don't leak class.
20600
20601         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20602         An EOS event marks the queue as completely filled.
20603
20604 2005-10-27  Wim Taymans  <wim@fluendo.com>
20605
20606         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20607         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20608         Some more debugging.
20609
20610         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20611         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20612         (gst_base_transform_event), (gst_base_transform_getrange),
20613         (gst_base_transform_chain):
20614         * gst/base/gstbasetransform.h:
20615         Fix debugging,
20616         Protect transform and concurrent buffer alloc with a new lock.
20617         Try not to break ABI/API.
20618
20619 2005-10-27  Wim Taymans  <wim@fluendo.com>
20620
20621         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20622         (gst_base_src_init), (gst_base_src_query),
20623         (gst_base_src_default_newsegment),
20624         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20625         (gst_base_src_send_event), (gst_base_src_event_handler),
20626         (gst_base_src_pad_get_range), (gst_base_src_loop),
20627         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20628         (gst_base_src_start), (gst_base_src_deactivate),
20629         (gst_base_src_activate_push), (gst_base_src_change_state):
20630         Move some stuff around and cleanup things.
20631
20632 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20633
20634         * gst/base/gstbasesrc.c: (gst_base_src_query):
20635           Add missing break statements.
20636
20637 2005-10-27  Wim Taymans  <wim@fluendo.com>
20638
20639         * check/gst/gstbin.c: (GST_START_TEST):
20640         An extra refcount is taken in basesrc.
20641
20642         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20643         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20644         (gst_base_src_loop):
20645         Small cleanups, check for flushing after being unlocked from the 
20646         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20647         Don't send out EOS when going to READY.
20648
20649 2005-10-27  Wim Taymans  <wim@fluendo.com>
20650
20651         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20652         (gst_base_sink_get_position):
20653         Some more debug.
20654
20655         * gst/gstbin.c: (message_check), (bin_replace_message),
20656         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20657         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20658         (bin_query_duration_init), (bin_query_duration_fold),
20659         (bin_query_duration_done), (bin_query_generic_fold),
20660         (gst_bin_query):
20661         * tools/gst-launch.c: (main):
20662         Remove old option.
20663
20664 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20665
20666         * examples/controller/audio-example.c: (main):
20667         * examples/queue/queue.c: (event_loop):
20668         * gst/base/gstbasetransform.h:
20669         * gst/gstelement.c: (gst_element_send_event):
20670         * gst/gstevent.h:
20671         * gst/gstpad.c: (gst_pad_send_event):
20672           fixing examples
20673           fixing docs typos
20674           changing log priority in error situations
20675
20676 2005-10-25  Wim Taymans  <wim@fluendo.com>
20677
20678         * gst/gstbin.c: (message_check), (bin_replace_message),
20679         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20680         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20681         (bin_query_duration_init), (bin_query_duration_fold),
20682         (bin_query_duration_done), (bin_query_generic_fold),
20683         (gst_bin_query):
20684         Some doc and debug updates.
20685         Cache previously requested query DURATION for speed. invalidate
20686         cached duration if element posts a DURATION message.
20687
20688 2005-10-25  Wim Taymans  <wim@fluendo.com>
20689
20690         * docs/design/part-TODO.txt:
20691         Update TODO.
20692
20693         * gst/gstbin.c: (message_check), (bin_replace_message),
20694         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20695         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20696         (bin_query_duration_init), (bin_query_duration_fold),
20697         (bin_query_duration_done), (bin_query_generic_fold),
20698         (gst_bin_query):
20699         Handle SEGMENT_START/DONE messages correctly.
20700         More evolved query algorithm that handles duration queries
20701         correctly.
20702
20703         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20704         (gst_element_get_state_func), (gst_element_abort_state),
20705         (gst_element_commit_state), (gst_element_lost_state):
20706         Some more debugging.
20707
20708         * gst/gstmessage.h:
20709         Added doc.
20710
20711 2005-10-25  Wim Taymans  <wim@fluendo.com>
20712
20713         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20714         Don't use invalid stream_time.
20715
20716         * gst/gstevent.c: (gst_event_new_newsegment):
20717         stream_time in newsegment cannot be undefined.
20718
20719 2005-10-24  Wim Taymans  <wim@fluendo.com>
20720
20721         * gst/gstbus.c:
20722         Doc fix.
20723
20724         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20725         (gst_queue_loop):
20726         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20727
20728 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20729
20730         * docs/libs/tmpl/gstdparam.sgml:
20731         * docs/libs/tmpl/gstdplinint.sgml:
20732         * docs/libs/tmpl/gstdpman.sgml:
20733         * docs/libs/tmpl/gstdpsmooth.sgml:
20734         * docs/libs/tmpl/gstunitconvert.sgml:
20735           these are obsolete
20736
20737 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20738
20739         * configure.ac:
20740           back to HEAD
20741
20742 === release 0.9.4 ===
20743
20744 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20745
20746         * configure.ac:
20747           releasing 0.9.4, "Tyrannosaurus Rex"
20748
20749 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20750
20751         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20752         (gst_file_sink_get_current_offset):
20753           Use fseeko() and ftello() if available. When falling back on
20754           lseek() to get the current offset, fflush() first to make sure
20755           everything is up-to-date and we get the right offset.
20756
20757 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20758
20759         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20760         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20761         * gst/gsterror.c: (_gst_stream_errors_init):
20762         * gst/gsterror.h:
20763         * gst/gstqueue.c: (gst_queue_loop):
20764         * po/POTFILES.in:
20765           remove prematurely added error category and clean up the instances
20766
20767 2005-10-21  Wim Taymans  <wim@fluendo.com>
20768
20769         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20770         (gst_base_sink_get_position), (gst_base_sink_query),
20771         (gst_base_sink_change_state):
20772         Simply set the right flag when going to playing, that's all
20773         we need to do instead of calling a function inside the object
20774         lock (that could take the lock as well and deadlock)
20775
20776 2005-10-21  Wim Taymans  <wim@fluendo.com>
20777
20778         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20779         (gst_base_src_loop):
20780         Don't warn, the peer element knows what to do best when
20781         the seek failed, it might try something else.
20782
20783 2005-10-21  Wim Taymans  <wim@fluendo.com>
20784
20785         * gst/base/gstbasesrc.c: (gst_base_src_init),
20786         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20787         Fix seeking.
20788
20789 2005-10-21  Wim Taymans  <wim@fluendo.com>
20790
20791         * docs/design/part-segments.txt:
20792         More docs.
20793
20794         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20795         Correctly set caps, even on the subbufer.
20796
20797 2005-10-21  Wim Taymans  <wim@fluendo.com>
20798
20799         * docs/gst/gstreamer-docs.sgml:
20800         * docs/gst/gstreamer-sections.txt:
20801         * gst/gstelement.h:
20802         * gst/gstevent.c:
20803         * gst/gstevent.h:
20804         * gst/gstmessage.h:
20805         * gst/gstpad.h:
20806         * gst/gstparse.h:
20807         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20808         * gst/gsttask.h:
20809         * gst/gstutils.c:
20810         * gst/gstutils.h:
20811         And 2% more doc coverage.
20812
20813 2005-10-21  Andy Wingo  <wingo@pobox.com>
20814
20815         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20816         position reporting.
20817
20818 2005-10-20  Wim Taymans  <wim@fluendo.com>
20819
20820         * gst/gsterror.c: (gst_error_get_message):
20821         * gst/gstparse.h:
20822         * gst/gstquery.h:
20823         * gst/gststructure.c:
20824         * gst/gsttrace.c:
20825         * gst/gstutils.c:
20826         More docs.
20827
20828 2005-10-20  Wim Taymans  <wim@fluendo.com>
20829
20830         * gst/gstbuffer.h:
20831         * gst/gstpad.c:
20832         * gst/gstparse.c:
20833         Another 1% more coverage.
20834
20835 2005-10-20  Wim Taymans  <wim@fluendo.com>
20836
20837         * docs/gst/gstreamer-sections.txt:
20838         * gst/gstelement.c: (gst_element_get_state_func),
20839         (gst_element_abort_state), (gst_element_commit_state),
20840         (gst_element_lost_state):
20841         * gst/gstevent.h:
20842         * gst/gstquery.c: (gst_query_set_position),
20843         (gst_query_parse_position), (gst_query_set_duration),
20844         (gst_query_parse_duration), (gst_query_new_convert):
20845         * gst/gstutils.c:
20846         Yay! 1% more docs coverage.
20847
20848 2005-10-20  Wim Taymans  <wim@fluendo.com>
20849
20850         * gst/gstpad.h:
20851         * gst/gstquery.c: (gst_query_set_position),
20852         (gst_query_parse_position), (gst_query_set_duration),
20853         (gst_query_parse_duration), (gst_query_new_convert):
20854         * gst/gstquery.h:
20855         * gst/gstutils.c: (gst_element_query_convert):
20856         * gst/gstutils.h:
20857         Docs and consistency fixes.
20858
20859 2005-10-20  Wim Taymans  <wim@fluendo.com>
20860
20861         * gst/gsttask.c:
20862         * gst/gsttask.h:
20863         More docs.
20864
20865 2005-10-20  Wim Taymans  <wim@fluendo.com>
20866
20867         * gst/gstbin.c: (message_check), (bin_replace_message),
20868         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20869         (update_degree), (gst_bin_sort_iterator_next),
20870         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20871         Reworked the message handling a bit, cache the messages instead of
20872         only the senders. alows us to do more in the future.
20873
20874 2005-10-20  Wim Taymans  <wim@fluendo.com>
20875
20876         * docs/design/part-TODO.txt:
20877         Update TODO
20878
20879         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20880         (gst_base_sink_query):
20881         Don't use clock time to report position when in EOS.
20882
20883 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20884
20885         * tools/gst-inspect.c: (print_interfaces),
20886         (print_element_properties_info), (print_element_info):
20887           Fix interface output with gst-inspect -a; don't print
20888           newlines after double/float properties.
20889
20890 2005-10-20  Wim Taymans  <wim@fluendo.com>
20891
20892         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20893         (gst_base_sink_query):
20894         Speed up current position calculation.
20895
20896         * gst/base/gstbasesrc.c: (gst_base_src_query),
20897         (gst_base_src_default_newsegment):
20898         Correctly set stream position in newsegment.
20899
20900         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20901         (update_degree), (gst_bin_sort_iterator_next),
20902         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20903         * gst/gstmessage.c: (gst_message_new_custom):
20904         Clean up debugging info
20905
20906         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20907         (gst_queue_loop), (gst_queue_handle_src_query):
20908         Pause task faster.
20909
20910 2005-10-19  Wim Taymans  <wim@fluendo.com>
20911
20912         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20913         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20914         Fix query handling again.
20915
20916 2005-10-19  Wim Taymans  <wim@fluendo.com>
20917
20918         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20919         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20920         * gst/base/gstbasesrc.c: (gst_base_src_query):
20921         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20922         * gst/elements/gsttypefindelement.c:
20923         (gst_type_find_handle_src_query), (find_element_get_length),
20924         (gst_type_find_element_activate):
20925         API change fix.
20926
20927         * gst/gstquery.c: (gst_query_new_position),
20928         (gst_query_set_position), (gst_query_parse_position),
20929         (gst_query_new_duration), (gst_query_set_duration),
20930         (gst_query_parse_duration), (gst_query_set_segment),
20931         (gst_query_parse_segment):
20932         * gst/gstquery.h:
20933         Bundling query position/duration is not a good idea since duration
20934         does not change much and we don't want to recalculate it for every
20935         position query, so they are separated again..
20936         Base value in segment query is not needed.
20937
20938         * gst/gstqueue.c: (gst_queue_handle_src_query):
20939         * gst/gstutils.c: (gst_element_query_position),
20940         (gst_element_query_duration), (gst_pad_query_position),
20941         (gst_pad_query_duration):
20942         * gst/gstutils.h:
20943         Updates for query API change.
20944         Added some docs here and there.
20945
20946 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20947
20948         * check/gst/gstbin.c: (GST_START_TEST):
20949         * check/gst/gstghostpad.c: (GST_START_TEST):
20950         * check/pipelines/cleanup.c: (GST_START_TEST):
20951           wait on thread to die so we can check refcount correctly
20952
20953 2005-10-18  Wim Taymans  <wim@fluendo.com>
20954
20955         * check/pipelines/stress.c: (GST_START_TEST):
20956         Make check a little more time consuming.
20957
20958 2005-10-18  Wim Taymans  <wim@fluendo.com>
20959
20960         * check/Makefile.am:
20961         * check/pipelines/stress.c: (GST_START_TEST),
20962         (simple_launch_lines_suite), (main):
20963         Small state change torture test.
20964
20965         * docs/design/part-states.txt:
20966         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20967         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20968         (gst_base_sink_change_state):
20969         Never take state lock from streaming thread, clean up ugly
20970         hacks. Unfortunatly core does not yet support nice ways to
20971         async commit state.
20972         
20973         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20974         (bin_bus_handler):
20975         Start state recalc if a STATE_DIRTY message is posted, but only
20976         on the toplevel bin.
20977
20978         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20979         (gst_element_get_state_func), (gst_element_abort_state),
20980         (gst_element_commit_state), (gst_element_lost_state),
20981         (gst_element_set_state_func), (gst_element_change_state):
20982         * gst/gstelement.h:
20983         State variables are now protected with the LOCK, the state
20984         lock is only used to serialize _set_state().
20985
20986 2005-10-18  Wim Taymans  <wim@fluendo.com>
20987
20988         * check/gst/gstbin.c: (GST_START_TEST):
20989         * check/gst/gstmessage.c: (GST_START_TEST):
20990         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20991         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20992         (bin_bus_handler):
20993         * gst/gstelement.c: (gst_element_abort_state),
20994         (gst_element_commit_state), (gst_element_lost_state):
20995         * gst/gstmessage.c: (gst_message_new_state_changed),
20996         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20997         (gst_message_new_segment_done), (gst_message_new_duration),
20998         (gst_message_parse_state_changed),
20999         (gst_message_parse_segment_start),
21000         (gst_message_parse_segment_done), (gst_message_parse_duration):
21001         * gst/gstmessage.h:
21002         * tools/gst-launch.c: (event_loop):
21003         Seriously, this is better than a previous commit as we only need
21004         to notify the fact that an element changed state in a streaming
21005         thread, marking the state of the parents dirty, hence the 
21006         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
21007         message.
21008
21009 2005-10-18  Wim Taymans  <wim@fluendo.com>
21010
21011         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
21012         (gst_bin_recalc_func):
21013         * gst/gstelement.c: (gst_element_set_clock),
21014         (gst_element_abort_state), (gst_element_lost_state):
21015         Cleanups, prepare for state change fixes.
21016
21017 2005-10-18  Wim Taymans  <wim@fluendo.com>
21018
21019         * gst/gstbin.h:
21020         * gst/gstelement.c: (gst_element_class_init),
21021         (gst_element_set_state), (gst_element_set_state_func):
21022         * gst/gstelement.h:
21023         Pending ABI changes.
21024         GThreadPool in GstBinClass to monitor async state changes.
21025         state_cookie in GstElement to detect concurrent gst/set state.
21026         set_state is now virtual too in case a very complicated element
21027         has to be constructed.
21028
21029 2005-10-18  Wim Taymans  <wim@fluendo.com>
21030
21031         * check/gst/gstbin.c: (GST_START_TEST):
21032         * check/gst/gstmessage.c: (GST_START_TEST):
21033         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21034         * gst/gstbin.c: (bin_bus_handler):
21035         * gst/gstelement.c: (gst_element_commit_state),
21036         (gst_element_lost_state):
21037         * gst/gstmessage.c: (gst_message_new_state_changed),
21038         (gst_message_new_segment_start), (gst_message_new_segment_done),
21039         (gst_message_new_duration), (gst_message_parse_state_changed),
21040         (gst_message_parse_segment_start),
21041         (gst_message_parse_segment_done), (gst_message_parse_duration):
21042         * gst/gstmessage.h:
21043         * tools/gst-launch.c: (event_loop):
21044         Make messages future proof.
21045         state-change gets a flag if it was a message comming from the
21046         streaming thread.
21047         segment-start/stop can also be specified in other formats.
21048         A message to notify an app that a pipeline changed playback 
21049         duration.
21050         Also fix a GstMessage leak in -launch
21051
21052 2005-10-18  Andy Wingo  <wingo@pobox.com>
21053
21054         * gst/gstelement.c (gst_element_dispose): More helpful message.
21055
21056 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21057
21058         reviewed by: <delete if not using a buddy>
21059
21060         * common/gtk-doc.mak:
21061
21062 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21063
21064         * gst/gstregistry.c: (gst_registry_scan_path_level):
21065           unref a plug-in we get that was already initialized
21066
21067 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
21068
21069         * docs/gst/gstreamer-sections.txt:
21070         * docs/libs/gstreamer-libs-sections.txt:
21071         * gst/gstelement.h:
21072           add new api entries
21073           hide internal macro
21074
21075 2005-10-17  Andy Wingo  <wingo@pobox.com>
21076
21077         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
21078         cleanup.
21079
21080         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
21081
21082         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
21083
21084         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
21085         (gst_element_get_state_func): Better debug message.
21086         (gst_element_commit_state): s/INFO/DEBUG/.
21087         (gst_element_lost_state, gst_element_change_state): 
21088
21089         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
21090         (gst_message_new_custom): s/INFO/LOG/.
21091
21092 2005-10-17  Michael Smith <msmith@fluendo.com>
21093
21094         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21095           Check if end time is valid using end time, not start time.
21096
21097 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
21098
21099         * check/gst-libs/controller.c: (GST_START_TEST),
21100         (gst_controller_suite):
21101         * libs/gst/controller/gstcontroller.c:
21102         (gst_controlled_property_set_interpolation_mode):
21103         * libs/gst/controller/gstcontroller.h:
21104         * libs/gst/controller/gstinterpolation.c:
21105         * testsuite/controller/.cvsignore:
21106         * testsuite/controller/Makefile.am:
21107         * testsuite/controller/interpolator.c:
21108           merge controller testsuites
21109           fix broken tests
21110           remove mem-chunk from docs
21111
21112 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21113
21114         * gst/gstmemchunk.c:
21115         * gst/gstmemchunk.h:
21116         * gst/gsttrashstack.c:
21117         * gst/gsttrashstack.h:
21118           out.  get out.  you're fired.  to the Attic !
21119
21120 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21121
21122         * gst/gstcaps.c: (gst_caps_intersect):
21123           fix signedness issues in a (hopefully) correct way
21124         * gst/gstelement.c: (gst_element_pads_activate):
21125           some debugging
21126         * gst/gstobject.c: (gst_object_set_parent):
21127           some debugging
21128
21129 2005-10-17  Julien MOUTTE  <julien@moutte.net>
21130
21131         * gst/gstvalue.h: Fix prototypes.
21132
21133 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21134
21135         * docs/gst/gstreamer-sections.txt:
21136         * gst/gst.c: (gst_version_string):
21137         * gst/gst.h:
21138         * gst/gstversion.h.in:
21139         * win32/common/libgstreamer.def:
21140           add gst_version_string ()
21141
21142 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21143
21144         * configure.ac:
21145           clean up further
21146         * gst/gst.c: (init_post):
21147         * win32/common/config.h.in:
21148           it's PLUGINDIR now
21149         * gst/gstcaps.c: (gst_caps_intersect):
21150           use gint64, the range could be bigger than a guint
21151
21152 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21153
21154         * gst/gstclock.h:
21155           document potential problem in 2038
21156
21157 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21158
21159         * gst/gstcaps.c: (gst_caps_intersect):
21160           Fix guint j diving under 0
21161
21162 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21163
21164         * configure.ac:
21165         * win32/common/config.h:
21166         * win32/common/config.h.in:
21167           check for process.h, declares getpid() on Windows
21168         * gst/gstinfo.c:
21169           include process.h if we have it
21170         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
21171         * gst/gstmemchunk.h:
21172           fix signedness issues
21173         * win32/common/libgstreamer.def:
21174           fix get_type's
21175
21176 2005-10-16  Julien MOUTTE  <julien@moutte.net>
21177
21178         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
21179         fix. Because of unsigned ints, caps intersection was going nuts and
21180         trying to access structures with G_MAXUINT index. That fixes
21181         videotestsrc ! ffmpegcolorspace ! fakesink
21182         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
21183         consistency.
21184
21185 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21186
21187         * configure.ac:
21188           use the gettext macro
21189         * gst/elements/gstelements.c:
21190         * gst/gst.c:
21191         * gst/indexers/gstindexers.c:
21192           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
21193         * win32/common/config.h:
21194           updated config.h
21195         * win32/common/config.h.in:
21196           add the template to generate config.h
21197         * win32/common/gstenumtypes.c:
21198         * win32/common/gstversion.h:
21199           updated copies
21200
21201 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21202
21203         * gst/gst.c: (gst_version):
21204         * gst/gstversion.h.in:
21205           add the nano
21206
21207 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
21208
21209         * gst/gstevent.h:
21210           Oops, add missing closing bracket.
21211
21212 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21213
21214         * configure.ac:
21215           use common m4's for argument checking
21216
21217 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
21218
21219         * docs/gst/gstreamer-sections.txt:
21220         * gst/gstevent.h:
21221           Add GST_EVENT_TYPE_NAME() macro.
21222
21223 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21224
21225         * gst/gstinfo.c:
21226         * gst/gstpluginfeature.c:
21227         * gst/gsttask.c:
21228           privatize more symbols
21229
21230 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21231
21232         * configure.ac:
21233           add srcdir, builddir includes to GST_ALL_CFLAGS, since
21234           everything that uses GStreamer API should have the includes
21235
21236 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21237
21238         * docs/gst/gstreamer-sections.txt:
21239         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21240         * gst/gstvalue.h:
21241           give each value a _get_type, removes the DATA exports
21242
21243 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21244
21245         * gst/gst.c:
21246         * gst/gst.h:
21247           remove _gst_registry_auto_load, not used anymore
21248         * gst/gstbin.c: (gst_bin_get_type):
21249         * gst/gstbin.h:
21250         * gst/gstelement.c: (gst_element_get_type):
21251         * gst/gstelement.h:
21252         * gst/gstobject.c: (gst_object_get_type):
21253         * gst/gstobject.h:
21254         * gst/gstpad.c: (gst_pad_get_type):
21255         * gst/gstpad.h:
21256           make _get_type functions similar, fixes data export from library
21257
21258 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21259
21260         * configure.ac:
21261           correctly make conditionals
21262         * gst/elements/Makefile.am:
21263         * gst/elements/gstelements.c:
21264           fix typo causing fdsrc not to build
21265
21266 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21267
21268         * testsuite/Makefile.am:
21269         * testsuite/bytestream/.cvsignore:
21270         * testsuite/bytestream/Makefile.am:
21271         * testsuite/bytestream/filepadsink.c:
21272         * testsuite/bytestream/gstbstest.c:
21273         * testsuite/bytestream/test1.c:
21274         * testsuite/bytestream/testfile1:
21275         * testsuite/caps/normalisation.c:
21276         * testsuite/caps/random.c: (main):
21277         * testsuite/cleanup/.cvsignore:
21278         * testsuite/cleanup/Makefile.am:
21279         * testsuite/cleanup/cleanup1.c:
21280         * testsuite/cleanup/cleanup2.c:
21281         * testsuite/cleanup/cleanup3.c:
21282         * testsuite/cleanup/cleanup4.c:
21283         * testsuite/cleanup/cleanup5.c:
21284         * testsuite/controller/interpolator.c:
21285         * testsuite/debug/printf_extension.c: (main):
21286         * testsuite/elements/tee.c:
21287         * testsuite/negotiation/.cvsignore:
21288         * testsuite/negotiation/Makefile.am:
21289         * testsuite/negotiation/pad_link.c:
21290         * testsuite/pad/Makefile.am:
21291         * testsuite/pad/chainnopull.c:
21292         * testsuite/pad/getnopush.c:
21293         * testsuite/pad/link.c:
21294         * testsuite/refcounting/sched.c: (create_pipeline):
21295         * testsuite/registry/Makefile.am:
21296         * testsuite/registry/gst-print-formats.c:
21297         * testsuite/schedulers/.cvsignore:
21298         * testsuite/schedulers/142183-2.c:
21299         * testsuite/schedulers/142183.c:
21300         * testsuite/schedulers/143777-2.c:
21301         * testsuite/schedulers/143777.c:
21302         * testsuite/schedulers/147713.c:
21303         * testsuite/schedulers/147819.c:
21304         * testsuite/schedulers/147894-2.c:
21305         * testsuite/schedulers/147894.c:
21306         * testsuite/schedulers/Makefile.am:
21307         * testsuite/schedulers/group_link.c:
21308         * testsuite/schedulers/queue_link.c:
21309         * testsuite/schedulers/relink.c:
21310         * testsuite/schedulers/unlink.c:
21311         * testsuite/schedulers/unref.c:
21312         * testsuite/schedulers/useless_iteration.c:
21313         * testsuite/states/bin.c:
21314           clean out/remove some stuff from the testsuite directories
21315
21316 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21317
21318         * configure.ac:
21319           check for some headers
21320         * gst/elements/Makefile.am:
21321         * gst/elements/gstelements.c:
21322           don't compile fdsrc without sys/socket.h
21323         * gst/indexers/Makefile.am:
21324         * gst/indexers/gstindexers.c: (plugin_init):
21325           don't compile fileindex without mmap
21326
21327 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21328
21329         * configure.ac:
21330           reorganize
21331           clean up
21332           document more
21333           remove cruft
21334         * check/Makefile.am:
21335         * docs/gst/Makefile.am:
21336         * examples/helloworld/Makefile.am:
21337         * gst/Makefile.am:
21338         * gst/base/Makefile.am:
21339         * gst/check/Makefile.am:
21340         * gst/elements/Makefile.am:
21341         * gst/indexers/Makefile.am:
21342         * gst/parse/Makefile.am:
21343         * libs/gst/controller/Makefile.am:
21344         * libs/gst/dataprotocol/Makefile.am:
21345         * examples/helloworld/helloworld.c: (event_loop):
21346           compile fixes, though it's not being compiled currently
21347
21348 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21349
21350         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21351           Add some simple tests for the new taglist date API.
21352
21353 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21354
21355         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21356         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21357           Beautify 'last-message' output: print 'none' for buffer timestamps
21358           and durations if none is set; improve alignment with next messages.
21359
21360 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21361
21362         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21363         * gst/gstpluginfeature.h:
21364         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21365         * gst/gstregistry.h:
21366         * docs/gst/gstreamer-sections.txt:
21367           Add new API to check plugin feature version requirements.
21368
21369         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21370           Some basic tests for the above.         
21371
21372 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21373
21374         * gst/gststructure.c: (gst_structure_to_string):
21375           guard against NULL printf - happens when for example
21376           a message structure with GstClock gets serialized
21377
21378 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21379
21380         * gst/base/gstcollectpads.c: (gst_collectpads_event):
21381           Fix presumable copy'n'pasto.
21382
21383 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21384
21385         * gst/elements/gstfakesrc.h:
21386         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21387         * gst/elements/gsttypefindelement.c:
21388           fix some signedness
21389         * gst/elements/gstfilesink.c: (gst_file_sink_render):
21390           I wonder if this could actually write +2GB files before
21391
21392 2005-10-13  Andy Wingo  <wingo@pobox.com>
21393
21394         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21395         Fix Timmeke Waymans bug.
21396         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21397         string of the proper length to gst_caps_from_string. There's a
21398         potential for, before this fix, that this could cause someone
21399         connecting over the network to cause a segfault if the payload is
21400         not NUL-terminated.
21401
21402 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21403
21404         * docs/design/draft-push-pull.txt:
21405         * docs/design/part-overview.txt:
21406         * docs/random/TODO-pre-0.9:
21407         * docs/random/old/ChangeLog.gstreamer:
21408         * gst/base/gstpushsrc.c:
21409         * gst/gstclock.c:
21410           fixed typos
21411
21412 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21413
21414         * gst/glib-compat.c: (gst_flags_get_first_value):
21415         * gst/glib-compat.h:
21416         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21417         (gst_value_compare_double), (gst_value_serialize_flags):
21418           GLib 2.6 g_flags_get_first_value has a bug that triggers an
21419           infinite loop
21420
21421 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21422
21423         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21424         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21425           fix up debugging
21426         * tools/gst-launch.c: (event_loop):
21427           print out clock nicely
21428
21429 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21430
21431         * docs/gst/gstreamer-sections.txt:
21432         * gst/gsttaglist.h:
21433         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21434         (gst_tag_list_get_date_index):
21435           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21436           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21437
21438 2005-10-13  Julien MOUTTE  <julien@moutte.net>
21439
21440         * gst/base/gstcollectpads.c: (gst_collectpads_event),
21441         (gst_collectpads_chain):
21442         * gst/base/gstcollectpads.h: Handle newsegment and store informations
21443         in CollectData.
21444
21445 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21446
21447         * docs/gst/gstreamer-sections.txt:
21448         * gst/gst.c:
21449         * gst/gsterror.h:
21450         * tools/gst-inspect.c: (main):
21451         * tools/gst-launch.c: (main):
21452         * tools/gst-run.c: (main):
21453         * tools/gst-xmlinspect.c: (main):
21454           fix GOption context leaks
21455           doc fixes
21456
21457 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21458
21459         * gst/gstbus.c:
21460           use HAVE_UNISTD_H
21461         * win32/common/config.h:
21462           update config
21463         * win32/vs6/grammar.dsp:
21464         * win32/vs6/libgstelements.dsp:
21465         * win32/vs6/libgstreamer.dsp:
21466           update vs6 files
21467
21468 2005-10-12  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_query):
21472           fix more guint64<->gdouble conversions
21473
21474 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21475
21476         * Makefile.am:
21477           add win32-update target
21478         * win32/common/gstconfig.h:
21479         * win32/common/gstenumtypes.c:
21480         * win32/common/gstenumtypes.h:
21481         * win32/common/gstversion.h:
21482           add files that visual studio can't generate
21483
21484 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21485
21486         * Makefile.am:
21487           add a win32-update target
21488         * configure.ac:
21489
21490 2005-10-12  Wim Taymans  <wim@fluendo.com>
21491
21492         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21493         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21494         * gst/gstelement.c: (gst_element_commit_state),
21495         (gst_element_set_state):
21496         Protect flags with proper lock.
21497         unref provided cached clock in dispose.
21498
21499 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21500
21501         * gst/gst.c:
21502         * gst/gstminiobject.h:
21503         * gst/gstpad.h:
21504         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21505           removed unused flags from miniobject
21506           doc fixes
21507
21508 2005-10-12  Wim Taymans  <wim@fluendo.com>
21509
21510         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21511         (gst_file_sink_event), (gst_file_sink_render):
21512         Flush before seeking.
21513
21514 2005-10-12  Andy Wingo  <wingo@pobox.com>
21515
21516         * gst/gst.c (gst_init_check): Ignore unknown options, as has
21517         always been the case.
21518
21519 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21520
21521         * check/gst/gstbin.c: (GST_START_TEST):
21522         * docs/gst/gstreamer-sections.txt:
21523         * gst/base/gstbasesink.c: (gst_base_sink_init):
21524         * gst/base/gstbasesrc.c: (gst_base_src_init),
21525         (gst_base_src_get_range), (gst_base_src_check_get_range),
21526         (gst_base_src_start), (gst_base_src_stop):
21527         * gst/base/gstbasesrc.h:
21528         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21529         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21530         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21531         (bin_bus_handler):
21532         * gst/gstbin.h:
21533         * gst/gstbuffer.h:
21534         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21535         * gst/gstbus.h:
21536         * gst/gstelement.c: (gst_element_is_locked_state),
21537         (gst_element_set_locked_state), (gst_element_commit_state),
21538         (gst_element_set_state):
21539         * gst/gstelement.h:
21540         * gst/gstindex.c: (gst_index_init):
21541         * gst/gstindex.h:
21542         * gst/gstminiobject.h:
21543         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21544         (gst_object_set_parent):
21545         * gst/gstobject.h:
21546         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21547         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21548         * gst/gstpad.h:
21549         * gst/gstpadtemplate.h:
21550         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21551         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21552         * gst/gstpipeline.h:
21553         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21554         (gst_file_index_commit):
21555         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21556         * testsuite/pad/link.c: (gst_test_src_init),
21557         (gst_test_filter_init), (gst_test_sink_init):
21558         * testsuite/states/locked.c: (main):
21559           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21560           moved bitshift from macro to enum definition
21561
21562 2005-10-12  Wim Taymans  <wim@fluendo.com>
21563
21564         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21565         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21566         (gst_file_sink_render):
21567         Some more debugging info.
21568
21569 2005-10-12  Wim Taymans  <wim@fluendo.com>
21570
21571         * docs/design/part-states.txt:
21572         * tools/gst-launch.c: (main):
21573         Some doc updates.
21574         Revert non-intentional change.
21575
21576 2005-10-12  Wim Taymans  <wim@fluendo.com>
21577
21578         * check/gst/gstbin.c: (GST_START_TEST):
21579         * check/gst/gstelement.c: (GST_START_TEST):
21580         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21581         * check/gst/gstghostpad.c: (GST_START_TEST):
21582         * check/gst/gstpipeline.c: (GST_START_TEST):
21583         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21584         * check/states/sinks.c: (GST_START_TEST):
21585         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21586         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21587         (gst_bin_remove_func), (gst_bin_get_state_func),
21588         (gst_bin_recalc_state), (gst_bin_change_state_func),
21589         (bin_bus_handler):
21590         * gst/gstelement.c: (gst_element_get_state_func),
21591         (gst_element_get_state), (gst_element_abort_state),
21592         (gst_element_commit_state), (gst_element_set_state),
21593         (gst_element_change_state), (gst_element_change_state_func):
21594         * gst/gstelement.h:
21595         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21596         (gst_pipeline_provide_clock_func):
21597         * gst/gstutils.c: (gst_element_link_pads_filtered):
21598         * tools/gst-launch.c: (main):
21599         * tools/gst-typefind.c: (main):
21600         Use GstClockTime in _get_state() instead of GTimeVal.
21601         Remove old code in gstutils.c
21602
21603 2005-10-12  Andy Wingo  <wingo@pobox.com>
21604
21605         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21606         removed.
21607
21608         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21609         there is no task. Shouldn't affect any code, as nothing in our
21610         plugins checks this return value.
21611         (gst_pad_stop_task): Also take the stream lock if the pad has no
21612         task. Docs updated.
21613
21614 2005-10-12  Wim Taymans  <wim@fluendo.com>
21615
21616         * gst/gstpad.c: (pre_activate), (post_activate),
21617         (gst_pad_activate_pull), (gst_pad_activate_push):
21618         Cleanup activation code. Reset old state if
21619         activation failed.
21620
21621 2005-10-12  Wim Taymans  <wim@fluendo.com>
21622
21623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21624         (gst_base_sink_change_state):
21625         No need to prerol after receiving EOS.
21626
21627         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21628         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21629         * gst/elements/gstidentity.c: (gst_identity_event):
21630         Print events more verbosely.
21631
21632 2005-10-12  Wim Taymans  <wim@fluendo.com>
21633
21634         * check/Makefile.am:
21635         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21636         * check/states/sinks2.c:
21637         Moved sinks2 testcode in sinks check.
21638
21639         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21640         (gst_bin_remove_func), (gst_bin_recalc_state),
21641         (gst_bin_change_state_func), (bin_bus_handler):
21642         Fix potential race condition when _get_state() iterated over an
21643         ASYNC element right before it posted a state completion.
21644
21645         * gst/gstclock.h:
21646         Do proper cast here.
21647
21648         * gst/gstevent.c: (gst_event_new_newsegment),
21649         (gst_event_parse_newsegment):
21650         A playback rate of 0.0 is not allowed.
21651
21652 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21653
21654         * win32/common/config.h:
21655         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21656         (_trewinddir), (_ttelldir), (_tseekdir):
21657         * win32/common/dirent.h:
21658         * win32/common/gtchar.h:
21659         * win32/common/libgstbase.def:
21660         * win32/common/libgstreamer.def:
21661         * win32/vs6/grammar.dsp:
21662         * win32/vs6/gst_inspect.dsp:
21663         * win32/vs6/gst_launch.dsp:
21664         * win32/vs6/gstreamer.dsw:
21665         * win32/vs6/libgstbase.dsp:
21666         * win32/vs6/libgstelements.dsp:
21667         * win32/vs6/libgstreamer.dsp:
21668           Visual Studio 6 project files, and a new common directory.
21669           Phear.
21670
21671 2005-10-11  Wim Taymans  <wim@fluendo.com>
21672
21673         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21674         (gst_base_sink_do_sync), (gst_base_sink_query),
21675         (gst_base_sink_change_state):
21676         * gst/base/gstbasesink.h:
21677         Correctly parse newsegment info.
21678
21679 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21680
21681         * gst/gst.c: (init_post):
21682           split plugin paths correctly
21683
21684 2005-10-11  Wim Taymans  <wim@fluendo.com>
21685
21686         * check/gst/gstevent.c: (GST_START_TEST):
21687         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21688         (gst_base_sink_change_state):
21689         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21690         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21691         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21692         * gst/gstevent.c: (gst_event_new_newsegment),
21693         (gst_event_parse_newsegment):
21694         * gst/gstevent.h:
21695         Added extra flag to newsegment for future API freeze.
21696         Updated check and base elements.
21697
21698 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21699
21700         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21701         (gst_collectpads_add_pad), (gst_collectpads_pop),
21702         (gst_collectpads_event), (gst_collectpads_chain):
21703         * gst/base/gstcollectpads.h: Handle EOS correctly.
21704
21705 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21706
21707         * tools/gst-launch.c: (main):
21708           more null protecting
21709
21710 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21711
21712         * gst/gst-i18n-lib.h:
21713           check for ENABLE_NLS, not GETTEXT_PACKAGE
21714         * gst/gstregistry.c: (gst_registry_add_plugin),
21715         (gst_registry_scan_path_level),
21716         (_gst_registry_remove_cache_plugins):
21717           protect possibly NULL strings
21718         * gst/parse/types.h:
21719           config.h already included before
21720         * tools/gst-inspect.c: (main):
21721           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21722           check for ENABLE_NLS, not GETTEXT_PACKAGE
21723         * tools/gst-launch.c: (main):
21724           check for ENABLE_NLS, not GETTEXT_PACKAGE
21725
21726 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21727
21728         * configure.ac:
21729           if we don't have glib, fail before testing 2.8
21730         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21731           fix a leak, should fix plugins-base testsuite
21732
21733 2005-10-11  Andy Wingo  <wingo@pobox.com>
21734
21735         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21736         take the mode we're going to as an arg. Go head and set the mode
21737         and flushing flags now, so that if the activate function starts a
21738         thread all the flags will be in the right state.
21739         (post_activate): Renamed also. Just handle making sure streaming
21740         finishes for the deactivation case, and setting the deactivated
21741         mode.
21742         (gst_pad_set_active): Complain loudly if deactivation fails.
21743         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21744         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21745         remove the terrible hack.
21746
21747 2005-10-11  Wim Taymans  <wim@fluendo.com>
21748
21749         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21750         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21751         (gst_bin_recalc_state), (gst_bin_change_state_func),
21752         (gst_bin_dispose), (bin_bus_handler):
21753         * gst/gstbin.h:
21754         Prepare to make current EOS message queue more generic.
21755         Fix some typos.
21756
21757         * gst/gstevent.c: (gst_event_new_newsegment),
21758         (gst_event_parse_newsegment):
21759         * gst/gstevent.h:
21760         Rename base to stream_time.
21761
21762         * gst/gstmessage.h:
21763         Fix typo in docs.
21764
21765 2005-10-11  Wim Taymans  <wim@fluendo.com>
21766
21767         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21768         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21769         (gst_bin_change_state_func), (bin_bus_handler):
21770         * gst/gstbin.h:
21771         Work on proper clock selection.
21772
21773 2005-10-11  Edward Hervey  <edward@fluendo.com>
21774
21775         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21776         * libs/gst/controller/gstcontroller.h:
21777         Added GList* version of _remove_properties() in order to be able to wrap
21778         it in bindings.
21779
21780 2005-10-11  Wim Taymans  <wim@fluendo.com>
21781
21782         * docs/design/part-states.txt:
21783         Some more docs.
21784
21785         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21786         (gst_bin_change_state_func), (bin_bus_handler):
21787         Doc updates. Don't distribute the same clock over and over again.
21788
21789         * gst/gstclock.c:
21790         * gst/gstclock.h:
21791         Doc updates.
21792
21793         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21794         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21795         (gst_pad_send_event):
21796         * gst/gstpad.h:
21797         Make probe emission threadsafe again.
21798         Register quarks and move _get_name() from utils.
21799         Doc updates.
21800
21801         * gst/gstpipeline.c: (gst_pipeline_class_init),
21802         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21803         Only redistribute the clock of it changed.
21804
21805         * gst/gstsystemclock.h:
21806         Doc updates. 
21807
21808         * gst/gstutils.c:
21809         * gst/gstutils.h:
21810         Moved the _flow_get_name() to GstPad.
21811
21812 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21813
21814         * check/gst-libs/gdp.c: (GST_START_TEST):
21815         * check/gst/gstcaps.c: (GST_START_TEST):
21816         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21817         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21818         (gst_dp_packet_from_caps):
21819           fix more valgrind warnings before turning up the heat
21820
21821 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21822
21823         * gst/parse/grammar.y:
21824           some cleanup before the hacking
21825
21826 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21827
21828         * gst/base/gstbasesrc.c: (gst_base_src_query):
21829           use conversions
21830         * gst/gstutils.c: (gst_guint64_to_gdouble),
21831         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21832         * gst/gstutils.h:
21833           externalize, basesrc uses it
21834           obviously the implementation needs testing
21835
21836 2005-10-10  Wim Taymans  <wim@fluendo.com>
21837
21838         * tests/sched/Makefile.am:
21839         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21840         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21841
21842 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21843
21844         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21845           apparently converting from guint64 to double is not implemented
21846           on MSVC
21847
21848 2005-10-10  Wim Taymans  <wim@fluendo.com>
21849
21850         * check/Makefile.am:
21851         * check/generic/states.c: (GST_START_TEST):
21852         * check/gst/gstbin.c: (GST_START_TEST):
21853         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21854         * check/states/sinks.c: (GST_START_TEST):
21855         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21856         (main):
21857         Check fixes, use API as stated in design docs, remove hacks.
21858
21859         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21860         (gst_base_sink_change_state):
21861         Catch stopping our task while we're shutting down.
21862
21863         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21864         (gst_bin_remove_func), (gst_bin_get_state_func),
21865         (gst_bin_recalc_state), (gst_bin_change_state_func),
21866         (bin_bus_handler):
21867         * gst/gstbin.h:
21868         * gst/gstelement.c: (gst_element_init),
21869         (gst_element_get_state_func), (gst_element_abort_state),
21870         (gst_element_commit_state), (gst_element_lost_state),
21871         (gst_element_set_state), (gst_element_change_state),
21872         (gst_element_change_state_func):
21873         * gst/gstelement.h:
21874         New state change algorithm (see #318116)
21875
21876         * gst/gstpipeline.c: (gst_pipeline_class_init),
21877         (gst_pipeline_init), (gst_pipeline_set_property),
21878         (gst_pipeline_get_property), (do_pipeline_seek),
21879         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21880         * gst/gstpipeline.h:
21881         Remove crude state change hacks.
21882
21883         * gst/gstutils.h:
21884         Remove crude hacks.
21885
21886         * tools/gst-launch.c: (main):
21887         Fixes for state change. Needs some more work to fully use the
21888         new stuff.
21889
21890 2005-10-10  Andy Wingo  <wingo@pobox.com>
21891
21892         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21893
21894         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21895         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21896         issue.
21897
21898 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21899
21900         * gst/gstiterator.c: (gst_iterator_new):
21901           Fix my previous commit: GTypes passed to gst_iterator_new()
21902           can be fundamental types.
21903
21904 2005-10-10  Wim Taymans  <wim@fluendo.com>
21905
21906         * gst/gstelement.c: (gst_element_iterate_pad_list),
21907         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21908         (gst_element_iterate_sink_pads):
21909         Use src/sink pads lists for the respective iterators instead
21910         of filtering.
21911
21912 2005-10-10  Andy Wingo  <wingo@pobox.com>
21913
21914         Merged in popt removal + GOption addition patch from Ronald, bug
21915         #169772.
21916
21917         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21918         GstElement macros around, remove popt-related symbols, add goption
21919         stuff.
21920
21921         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21922         
21923         * docs/gst/Makefile.am:
21924         * docs/libs/Makefile.am: No POPT_CFLAGS.
21925         
21926         * examples/manual/Makefile.am:
21927         * docs/manual/basics-init.xml: Doc updates with an example.
21928         
21929         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21930         (gst_init), (parse_one_option), (parse_goption_arg):
21931         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21932         bit of hand merging and debugging to get the GOption stuff working
21933         tho.
21934         
21935         * tests/Makefile.am:
21936         * tools/Makefile.am:
21937         * tools/gst-inspect.c: (main):
21938         * tools/gst-launch.c: (main):
21939         * tools/gst-run.c: (main):
21940         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21941
21942 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21943
21944         * gst/gstiterator.c: (gst_iterator_new):
21945           Add assertions to make sure passed GType is likely to really
21946           be a GType (as the compiler won't catch it if the size and
21947           GType arguments get mixed up, see #318447).
21948
21949 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21950
21951         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21952
21953         * gst/gstbin.c: (gst_bin_iterate_sorted):
21954           Pass GType and size arguments to gst_iterator_new() in the right
21955           order (maybe we should make _new() take the GType as first argument
21956           just like _new_list()?) (#318447).
21957           
21958
21959 2005-10-10  Wim Taymans  <wim@fluendo.com>
21960
21961         * gst/gstelement.c: (gst_element_finalize):
21962         And free the GStaticRecMutex too
21963
21964 2005-10-10  Andy Wingo  <wingo@pobox.com>
21965
21966         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21967         Allocate and free the mutex properly.
21968
21969         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21970         New macros.
21971         (GstElement): The state_lock is now recursive. Rebuild your
21972         plugins, suckers. Old macros adapted.
21973
21974         * docs/gst/gstreamer-sections.txt: Doc updates.
21975
21976         * gst/gstutils.h:
21977         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21978         (g_static_rec_cond_wait): Ported from state changes patch, while
21979         we wait on bug #317802 to be solved in a well-distributed GLib.
21980
21981         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21982         gst_element_change_state, variable name changes.
21983         (gst_element_change_state): Split out of gst_element_set_state in
21984         preparation for the state change merge. Doesn't pay attention to
21985         the 'transition' argument.
21986         (gst_element_set_state): Updates, hopefully purely cosmetic.
21987         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21988         state change patch.
21989         (gst_element_get_state_func): Renamed from get_state, cosmetic
21990         changes.
21991
21992 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21993
21994         * gst/elements/gstelements.c:
21995         * win32/GStreamer.vcproj:
21996         * win32/config.h:
21997         * win32/dirent.c: (_tseekdir):
21998         * win32/gst-inspect.vcproj:
21999         * win32/gst-launch.vcproj:
22000         * win32/gstconfig.h:
22001         * win32/gstelements.vcproj:
22002         * win32/gstenumtypes.c: (gst_object_flags_get_type):
22003         * win32/gstreamer.def:
22004         * win32/msvc71.sln:
22005           updates for the win32 build (patch from Sebastien Moutte)
22006
22007 2005-10-10  Andy Wingo  <wingo@pobox.com>
22008
22009         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
22010         gst_bin_get_state, cleaned up (but no logic changes).
22011         (bin_element_is_sink): Comment updates.
22012         (sink_iterator_filter): Remove needless cast.
22013         (gst_bin_iterate_sinks): Doc update.
22014         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
22015         cleaned up (but no logic changes).
22016
22017         * check/states/sinks.c (test_src_sink): Cleanups from the state
22018         change patch.
22019         (test_livesrc_sink): Sync on the state.
22020
22021         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
22022         the state change patch.
22023
22024         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
22025         change patch.
22026
22027         * check/gst/gstbin.c: Merge in some style fixes and additional
22028         checks from Wim's state change patch.
22029
22030 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
22031
22032         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22033         (gst_type_find_helper):
22034           Check whether we have the requested data already in our list of
22035           cached buffers before pulling a new buffer; also make the buffer
22036           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
22037
22038 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22039
22040         * gst/gstcaps.c:
22041         * gst/gstevent.c:
22042           doc updates
22043         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22044           don't use long long, it's not portable.  Replacing with
22045           gint64 seems to work; let's hope no skeletons fall out of the closet.
22046
22047 2005-10-10  Andy Wingo  <wingo@pobox.com>
22048
22049         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
22050
22051 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
22052
22053         * docs/gst/gstreamer-sections.txt:
22054         * gst/gstevent.c:
22055         * gst/gstevent.h:
22056         * gst/gstinfo.c:
22057         * gst/gstinfo.h:
22058         * gst/gstmessage.c: (gst_message_parse_state_changed):
22059         * gst/gstpad.c:
22060         * gst/gstpad.h:
22061           more docs, fix compilation
22062
22063 2005-10-09  Philippe Khalaf <burger@speedy.org>
22064         * gst/gstmessage.c:
22065           Fixed a few forgotten variables on previous commit
22066
22067 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
22068
22069         * gst/base/gsttypefindhelper.c: (helper_find_peek):
22070           Fix evil typefind crasher: getrange() might return a short
22071           buffer at the end of a file, but gst_type_find_peek() must
22072           either return the full data as requested or NULL, but
22073           never a short buffer.
22074
22075 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22076
22077         * gst/gstmessage.c: (gst_message_new_state_changed),
22078         (gst_message_parse_state_changed):
22079         * gst/gstmessage.h:
22080           don't use "new", it's a C++ keyword
22081
22082 2005-10-08  Wim Taymans  <wim@fluendo.com>
22083
22084         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
22085         * gst/gstelement.c: (gst_element_post_message):
22086         * gst/gstpipeline.c: (gst_pipeline_change_state):
22087         Small docs and debug updates.
22088
22089 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
22090
22091         * docs/gst/gstreamer-sections.txt:
22092         * gst/gstelementfactory.c:
22093         * gst/gstevent.c:
22094         * gst/gsttaglist.c:
22095           more docs
22096
22097 2005-10-08  Wim Taymans  <wim@fluendo.com>
22098
22099         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
22100         (gst_bin_dispose), (bin_bus_handler):
22101         Fix typos, add comments.
22102         Clear EOS list when going to PAUSED from any direction and do it
22103         in a threadsafe way.
22104         Get base time in a threadsafe way too.
22105         Fix confusing debug in the change_state function.
22106         Various other small cleanups.
22107         
22108         * gst/gstelement.c: (gst_element_post_message):
22109         Fix very verbose bus posting code.
22110
22111         * gst/gstpipeline.c: (gst_pipeline_class_init),
22112         (gst_pipeline_set_property), (gst_pipeline_get_property),
22113         (gst_pipeline_change_state):
22114         Small ARG_ -> PROP_ cleanup
22115
22116 2005-10-08  Wim Taymans  <wim@fluendo.com>
22117
22118         * gst/gstbin.c: (is_eos), (bin_bus_handler):
22119         Do a less CPU demanding EOS check because we can.
22120
22121 2005-10-08  Wim Taymans  <wim@fluendo.com>
22122
22123         * libs/gst/dataprotocol/dataprotocol.c:
22124         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
22125         (gst_dp_packet_from_event):
22126         * libs/gst/dataprotocol/dataprotocol.h:
22127         * libs/gst/dataprotocol/dp-private.h:
22128         It's about time we bump the version number.
22129         Since event types don't fit in the guint8 anymore describing
22130         the payload type, make payload type 16 bits wide.
22131
22132 2005-10-08  Wim Taymans  <wim@fluendo.com>
22133
22134         * docs/design/part-TODO.txt:
22135         * docs/design/part-clocks.txt:
22136         * docs/design/part-events.txt:
22137         * docs/design/part-gstbin.txt:
22138         * docs/design/part-gstelement.txt:
22139         * docs/design/part-gstpipeline.txt:
22140         * docs/design/part-live-source.txt:
22141         * docs/design/part-messages.txt:
22142         * docs/design/part-overview.txt:
22143         * docs/design/part-states.txt:
22144         Many doc updates.
22145
22146 2005-10-08  Wim Taymans  <wim@fluendo.com>
22147
22148         * gst/gstevent.c:
22149         * gst/gstevent.h:
22150         Fix event quark registration.
22151         Add some space between events so we can insert them in the
22152         right groups.
22153
22154 2005-10-08  Wim Taymans  <wim@fluendo.com>
22155
22156         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22157         (gst_base_sink_handle_buffer):
22158         Better log message.
22159
22160         * gst/gstbus.h:
22161         * gst/gstelement.h:
22162         More docs.
22163
22164         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22165         (gst_queue_set_property), (gst_queue_get_property):
22166         * gst/gstqueue.h:
22167         Remove old unused properties.
22168
22169 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
22170         * docs/gst/gstreamer-sections.txt:
22171         * gst/gstmessage.c:
22172         * gst/gstmessage.h:
22173         * gst/gstminiobject.c:
22174         * gst/gstminiobject.h:
22175         * gst/gstobject.h:
22176         * gst/gstpad.h:
22177         * gst/gstutils.h:
22178           lots of new docs and doc fixes
22179
22180 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22181
22182         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
22183         * gst/gstplugin.h:
22184         * gst/gstregistry.c: (gst_registry_lookup_locked),
22185         (gst_registry_scan_path_level):
22186         * gst/gstregistryxml.c: (load_plugin):
22187           Only ever load one plugin for a given plugin basename.
22188           This ensures correct overriding of GST_PLUGIN_PATH over
22189           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
22190           system installed plugins.
22191
22192 2005-10-08  Wim Taymans  <wim@fluendo.com>
22193
22194         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22195         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
22196         Prepare for doing QOS.
22197
22198 2005-10-08  Wim Taymans  <wim@fluendo.com>
22199
22200         * check/gst/gstbin.c: (GST_START_TEST):
22201         * check/pipelines/cleanup.c: (GST_START_TEST):
22202         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22203         Allow new clock message too.
22204
22205 2005-10-08  Wim Taymans  <wim@fluendo.com>
22206
22207         * gst/gstmessage.c: (gst_message_new_error),
22208         (gst_message_new_warning), (gst_message_new_tag),
22209         (gst_message_new_state_changed), (gst_message_new_clock_provide),
22210         (gst_message_new_clock_lost), (gst_message_new_new_clock),
22211         (gst_message_new_segment_start), (gst_message_new_segment_done),
22212         (gst_message_parse_state_changed),
22213         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
22214         (gst_message_parse_new_clock):
22215         * gst/gstmessage.h:
22216         Also carry the clock in question.
22217
22218 2005-10-08  Wim Taymans  <wim@fluendo.com>
22219
22220         * gst/gstmessage.c: (gst_message_new_custom),
22221         (gst_message_new_eos), (gst_message_new_error),
22222         (gst_message_new_warning), (gst_message_new_tag),
22223         (gst_message_new_state_changed), (gst_message_new_clock_provide),
22224         (gst_message_new_new_clock), (gst_message_new_segment_start),
22225         (gst_message_new_segment_done), (gst_message_parse_state_changed),
22226         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22227         * gst/gstmessage.h:
22228         Clean up.
22229         Added clock related messages.
22230
22231         * gst/gstpipeline.c: (gst_pipeline_change_state):
22232         Post message when the clock changed.
22233
22234         * tools/gst-launch.c: (event_loop):
22235         Print new clock.
22236
22237 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
22238
22239         * tools/gst-inspect.c: (print_element_properties_info):
22240           Can't pass NULL strings to g_print() on windows.
22241
22242 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22243
22244         * docs/Makefile.am:
22245         * docs/gst/Makefile.am:
22246         * docs/gst/gstreamer-docs.sgml:
22247         * docs/gst/running.xml:
22248         * docs/version.entities.in:
22249           add a chapter on running GStreamer.
22250           document GST_DEBUG and GST_PLUGIN* env vars
22251
22252 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22253
22254         * Makefile.am:
22255           remove include dir
22256         * configure.ac:
22257           remove PLUGINS_BUILDDIR stuff
22258         * gst/gst.c: (init_post):
22259           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22260         * idiottest.mak:
22261           remove, it was condescending and not needed
22262
22263 2005-10-08  Wim Taymans  <wim@fluendo.com>
22264
22265         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22266         (gst_base_sink_handle_object), (gst_base_sink_event),
22267         (gst_base_sink_wait), (gst_base_sink_handle_event),
22268         (gst_base_sink_change_state):
22269         * gst/base/gstbasesink.h:
22270         Repost EOS message while going to PLAYING if still EOS.
22271         Make sure that when receiving a FLUSH_START we don't attempt
22272         to sync on the clock anymore.
22273
22274 2005-10-08  Wim Taymans  <wim@fluendo.com>
22275
22276         * tools/gst-launch.c: (event_loop):
22277         Better message printout.
22278
22279 2005-10-08  Wim Taymans  <wim@fluendo.com>
22280
22281         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22282         (gst_bin_child_proxy_get_children_count):
22283         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22284         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22285         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22286         (gst_child_proxy_set_valist):
22287         * gst/parse/grammar.y:
22288         Make ChildProxy threadsafe and fix mem leaks.
22289
22290 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22291
22292         * gst/gst.c: (init_post):
22293           debug the GST_PLUGIN_ env vars
22294
22295 2005-10-08  Wim Taymans  <wim@fluendo.com>
22296
22297         * check/gst/gstbin.c: (GST_START_TEST):
22298         * check/gst/gstmessage.c: (GST_START_TEST):
22299         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22300         * gst/gstelement.c: (gst_element_commit_state),
22301         (gst_element_lost_state):
22302         * gst/gstmessage.c: (gst_message_new_state_changed),
22303         (gst_message_parse_state_changed):
22304         * gst/gstmessage.h:
22305         * tools/gst-launch.c: (event_loop):
22306         Added extra field to STATE_CHANGE message with the pending
22307         state, which will be different from the new state soon.
22308
22309 2005-10-08  Wim Taymans  <wim@fluendo.com>
22310
22311         * gst/gstbus.c: (gst_bus_pop):
22312         * gst/gstclock.c:
22313         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22314         Small cleanups and doc updates.
22315
22316 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22317
22318         * gst/gst.c: (init_pre):
22319         * gst/gstbin.c: (gst_bin_add_func):
22320           log distributing clocks and base time
22321         * gst/gstregistry.c: (gst_registry_add_plugin),
22322         (gst_registry_scan_path_level), (gst_registry_scan_path):
22323           clean up the debugging output a little
22324         * gst/gstutils.c: (gst_element_state_get_name):
22325           warn about a memleak (I've actually seen this be used, though
22326           it was probably a bug)
22327
22328 2005-10-07  Wim Taymans  <wim@fluendo.com>
22329
22330         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22331         (gst_base_src_init), (gst_base_src_default_newsegment),
22332         (gst_base_src_newsegment), (gst_base_src_do_seek),
22333         (gst_base_src_loop), (gst_base_src_start):
22334         * gst/base/gstbasesrc.h:
22335         Make the newsegment event customizable by subclasses.
22336
22337 2005-10-07  Wim Taymans  <wim@fluendo.com>
22338
22339         * gst/gstevent.c: (gst_event_new_buffersize),
22340         (gst_event_parse_buffersize):
22341         * gst/gstevent.h:
22342         New event for future idea.
22343
22344 2005-10-07  Andy Wingo  <wingo@pobox.com>
22345
22346         * gst/gstelement.c (gst_element_post_message): Doc update.
22347
22348         * docs/gst/gstreamer-sections.txt: Update.
22349
22350         * gst/gstmessage.c (gst_message_new_application): Made into a
22351         function like honest API calls.
22352         (gst_message_new_element): New message type.
22353
22354         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22355
22356         * check/elements/fakesrc.c (test_no_preroll): New check, checks
22357         that setting a live fakesrc to PAUSED returns NO_PREROLL both
22358         times.
22359
22360         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22361         NO_PREROLL from gst_element_change_state to fall through.
22362
22363 2005-10-07  Wim Taymans  <wim@fluendo.com>
22364
22365         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22366         (gst_ghost_pad_do_activate_push):
22367         Activating a ghostpad with no internal pad in push mode
22368         is ok.
22369
22370 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22371
22372         * gst/gstobject.h:
22373           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22374           Fixes compilation on Windows.
22375
22376 2005-10-07  Michael Smith <msmith@fluendo.com>
22377
22378         * tools/gst-inspect.c:
22379           Print out feature and plugin count at the end when printing out
22380           all features.
22381
22382 2005-10-04  Michael Smith <msmith@fluendo.com>
22383
22384         * gst/gsterror.c: (_gst_stream_errors_init):
22385           Add another error string used in a few existing plugins.
22386
22387         * gst/gstplugin.c:
22388         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22389         * tools/gst-inspect.c: (print_element_info):
22390           When a feature disappears from a plugin (and the feature exists in
22391           the cached registry file), things went horribly wrong. This isn't a
22392           complete fix, we should actually be removing the 'missing' features
22393           from the features list when we load the actual plugin. That's not
22394           yet implemented. 
22395
22396 2005-10-04  Johan Dahlin  <johan@gnome.org>
22397
22398         * check/gst/gstiterator.c: (GST_START_TEST):
22399         * gst/gstbin.c: (gst_bin_iterate_elements),
22400         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22401         * gst/gstelement.c: (gst_element_iterate_pads):
22402         * gst/gstformat.c: (gst_format_iterate_definitions):
22403         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22404         (gst_iterator_new_list), (gst_iterator_filter):
22405         * gst/gstiterator.h:
22406         * gst/gstquery.c: (gst_query_type_iterate_definitions):
22407         Add a GType to GstIterator, update callsites and tests.
22408
22409 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22410
22411         * gst/gstpad.c: (gst_pad_event_default_dispatch):
22412           give events a chance to be handled by event probes when the pad
22413           is not linked
22414
22415 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22416
22417         * gst/gstevent.c: (gst_event_type_get_name),
22418         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22419         * gst/gstevent.h:
22420           add string representations for event types
22421
22422 2005-10-06  Wim Taymans  <wim@fluendo.com>
22423
22424         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22425         Don't use NULL pointers.
22426
22427 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22428
22429         * gst/gst_private.h:
22430         * gst/gstbus.c:
22431         * gst/gstelement.c:
22432         * gst/gstinfo.c:
22433         * gst/gstpluginfeature.c:
22434           widen the debug category in output to fit the biggest one we have
22435           add a bus category and use it
22436           play with the colors
22437           fix up some categories
22438
22439 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22440
22441         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22442           add push activation of sink ghost pads.
22443           Andye, please verify
22444
22445 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22446
22447         * gst/gstutils.c: (gst_element_link_pads):
22448           fix a bug in the case where neither element has a pad
22449         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22450           add a test for that case
22451
22452 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22453
22454         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22455           emit have-data before checking for peers.  This allows
22456           for probe handlers to connect elements.  This helps autopluggers.
22457         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22458         (gst_pad_suite):
22459           add six checks, linked/unlinked with no/true/false probe
22460
22461 2005-10-04  Wim Taymans  <wim@fluendo.com>
22462
22463         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22464         (gst_fake_sink_event), (gst_fake_sink_preroll),
22465         (gst_fake_sink_render), (gst_fake_sink_change_state):
22466         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22467         (gst_fake_src_get_property), (gst_fake_src_create),
22468         (gst_fake_src_stop):
22469         * gst/elements/gstidentity.c: (gst_identity_stop):
22470         Protect last_message with lock.
22471
22472 2005-10-04  Edward Hervey  <edward@fluendo.com>
22473
22474         * gst/gstformat.h: 
22475         Added precision in the comments for GST_FORMAT_DEFAULT
22476
22477 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
22478
22479         * tools/gst-launch.c: (main):
22480           Don't try to run erroneous pipelines.
22481
22482 2005-10-04  Julien MOUTTE  <julien@moutte.net>
22483
22484         * gst/gstbus.c: We don't need this header.
22485
22486 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22487
22488         * configure.ac:
22489           back to development
22490
22491 === release 0.9.3 ===
22492
22493 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22494
22495         * README:
22496         * configure.ac:
22497           Releasing 0.9.3, "Unregistered"
22498
22499 2005-10-03  Andy Wingo  <wingo@pobox.com>
22500
22501         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22502         whereby calling a pad's activatepush() function can start a thread
22503         that starts to push or pull before the pad gets the FLUSHING flag
22504         unset. Hack around it by holding the stream lock until the flag is
22505         set. Need to replace this with a proper solution. Together with
22506         the ghost pad fixes, this fixes mp3 playing/tagreading.
22507
22508         * docs/design/part-gstghostpad.txt: Add a note about activation of
22509         proxy pads outside of ghost pads.
22510
22511         * gst/gstghostpad.c: Implement the ghost pad activation design.
22512
22513 2005-10-02  Andy Wingo  <wingo@pobox.com>
22514
22515         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22516         It is volatile, after all.
22517
22518         * docs/design/part-gstghostpad.txt: Flesh out activation with
22519         ghost pads.
22520
22521         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22522         GST_DEBUG_FUNCPTR.
22523
22524 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22525
22526         * configure.ac:
22527           Fix (unused) AM_CONDITIONAL tests.
22528
22529 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22530
22531         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22532
22533         * gst/gstutils.c: (gst_pad_query_convert):
22534           Add assertion that makes sure src_val is >=0, just like
22535           gst_query_new_convert() has. (#315895)
22536
22537 2005-09-30  Edward Hervey  <edward@fluendo.com>
22538
22539         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22540         Let's not iterate pads we're not interested in, it avoids getting 
22541         sky-high refcounts on sinkpad.
22542
22543 2005-09-30  Wim Taymans  <wim@fluendo.com>
22544
22545         * gst/gstelement.c: (gst_element_set_state),
22546         (gst_element_change_state):
22547         Small tweak, element in ASYNC remains ASYNC.
22548
22549 2005-09-30  Wim Taymans  <wim@fluendo.com>
22550
22551         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22552         Only error is an error.
22553
22554         * gst/gstbin.c: (gst_bin_change_state):
22555         Better debugging.
22556
22557         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22558         Also call pad_block in pad alloc.
22559
22560         * gst/gstutils.c: (gst_flow_get_name):
22561         Better debugging.
22562
22563 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22564
22565         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22566         (gst_base_src_get_range):
22567           Fix documentation typos. Add some more debug info.
22568
22569 2005-09-29  David Schleef  <ds@schleef.org>
22570
22571         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22572           more end-user friendly.
22573         * tools/gst-inspect.c: (main): Check if command-line argument is
22574           a file and attempt to load that file as a plugin.
22575
22576 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22577
22578         * check/gst/gstbin.c:
22579         * check/states/sinks.c:
22580           fix tests for the new warning
22581         * check/gst/gstpipeline.c:
22582           add a test for pipeline and bus interaction
22583         * gst/gstelement.c:
22584           elements should be NULL if they get disposed; add a warning if not
22585
22586 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22587
22588         * gst/gstobject.c:
22589           for 2.6 refcounting, make debug log more correct by printing
22590           the actual refcounts at the time of swap (Wim)
22591
22592 2005-09-29  Andy Wingo  <wingo@pobox.com>
22593
22594         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22595         removes signal watches previously added via
22596         gst_bus_add_signal_watch.
22597         (gst_bus_add_signal_watch): Don't return the source id, just store
22598         it on the bus if there wasn't an id already.
22599
22600         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22601         add_signal_watch and remove_signal_watch.
22602
22603 2005-09-29  Edward Hervey  <edward@fluendo.com>
22604
22605         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22606         Better if we actually iterate the list :)
22607
22608 2005-09-29  Wim Taymans  <wim@fluendo.com>
22609
22610         * check/gst/gstbin.c: (GST_START_TEST):
22611         Change for new bus API.
22612
22613         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22614         (send_messages), (GST_START_TEST), (gstbus_suite):
22615         Change for new bus signal API.
22616
22617         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22618         (gst_bus_source_prepare), (gst_bus_source_check),
22619         (gst_bus_create_watch), (gst_bus_add_watch_full),
22620         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22621         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22622         * gst/gstbus.h:
22623         Remove support for multiple GSources operating on different
22624         message types as it is too complex and unneeded when using
22625         signals.
22626         Added support for receiving signals from the bus.
22627
22628 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22629
22630         * docs/libs/tmpl/gstdataprotocol.sgml:
22631         * docs/manual/advanced-dataaccess.xml:
22632         * gst/elements/gstcapsfilter.c:
22633         * gst/gstutils.c:
22634           rename filter-caps to caps property
22635
22636 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22637
22638         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22639           More robust fraction string parsing.
22640
22641         * docs/pwg/appendix-porting.xml:
22642           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22643
22644 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22645
22646         * gst/gstcaps.c: (gst_caps_do_simplify):
22647           Thou shalt not free a structure and then continue using it
22648           in the next loop iteration.
22649
22650         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22651         (gst_caps_suite):
22652           Add test case for caps simplification.
22653
22654 2005-09-29  Wim Taymans  <wim@fluendo.com>
22655
22656         * check/gst/gstbin.c: (GST_START_TEST):
22657         Oops.
22658
22659 2005-09-29  Wim Taymans  <wim@fluendo.com>
22660
22661         * check/gst/gstbin.c: (GST_START_TEST):
22662         Add bus to bin.
22663
22664         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22665         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22666         (find_element), (gst_bin_sort_iterator_next),
22667         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22668         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22669         (gst_bin_change_state), (gst_bin_dispose):
22670         A bin does not have a bus, it gets the bus from the parent.
22671
22672         * gst/gstelement.c: (gst_element_requires_clock),
22673         (gst_element_provides_clock), (gst_element_is_indexable),
22674         (gst_element_is_locked_state), (gst_element_change_state),
22675         (gst_element_set_bus_func):
22676         Small cleanups.
22677
22678         * gst/gstpipeline.c: (gst_pipeline_class_init),
22679         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22680         The pipeline provides a bus.
22681
22682 2005-09-28  Johan Dahlin  <johan@gnome.org>
22683
22684         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22685         gst_structure_get_enum instead of gst_structure_get_int
22686
22687         * gst/gststructure.c (gst_structure_get_enum): Impl.
22688
22689         * gst/gststructure.h (gst_structure_get_enum): Add
22690
22691         * docs/gst/gstreamer-sections.txt: Ditto
22692
22693         * gst/gstmessage.c (gst_message_new_state_changed): Use
22694         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22695         which does introspection.
22696         Reviewed by Christian Schaller
22697
22698 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22699
22700         * gst/gstinfo.c: (gst_debug_log_default):
22701           don't do dummy g_strdup()s
22702         * libs/gst/controller/gstcontroller.c:
22703         (on_object_controlled_property_changed),
22704         (gst_controlled_property_new), (gst_controller_new_valist),
22705         (gst_controller_new_list),
22706         (gst_controller_remove_properties_valist), (gst_controller_set),
22707         (gst_controller_get), (gst_controller_sync_values),
22708         (gst_controller_get_value_array), (_gst_controller_class_init),
22709         (gst_controller_get_type):
22710         * libs/gst/controller/gstcontroller.h:
22711         * libs/gst/controller/gstinterpolation.c:
22712         (gst_controlled_property_find_timed_value_node):
22713           convert // to /**/ comments
22714
22715 2005-09-28  Wim Taymans  <wim@fluendo.com>
22716
22717         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22718         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22719         (gst_bus_sync_signal_handler):
22720         * gst/gstbus.h:
22721         Added async-message and sync-message signals to the bus.
22722         Added helper BusFunc to emit signals for all posted messages.
22723
22724         * gst/gstmessage.c: (gst_message_type_get_name),
22725         (gst_message_type_to_quark), (gst_message_get_type):
22726         * gst/gstmessage.h:
22727         Register quarks for message names.
22728
22729 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22730
22731         * docs/libs/gstreamer-libs-sections.txt:
22732         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22733         (gst_controller_new_list):
22734         * libs/gst/controller/gstcontroller.h:
22735           added another constructor for language bindings
22736
22737 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22738
22739         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22740           add another check
22741         * gst/gstbus.c:
22742           add some doc
22743         * gst/gstinfo.c: (_gst_debug_init):
22744           slightly more readable color for refcount debugging
22745
22746 2005-09-28  Wim Taymans  <wim@fluendo.com>
22747
22748         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22749         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22750         (find_element), (gst_bin_sort_iterator_next),
22751         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22752         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22753         (gst_bin_change_state), (gst_bin_dispose):
22754         Small doc fixes. get_clock -> provide_clock.
22755
22756         * gst/gstelement.c: (gst_element_class_init),
22757         (gst_element_provides_clock), (gst_element_provide_clock),
22758         (gst_element_get_clock), (gst_element_commit_state),
22759         (gst_element_lost_state):
22760         * gst/gstelement.h:
22761         Make get/set_clock() symetric. Add provide_clock vmethod since
22762         that is actually what this function does.
22763
22764         * gst/gstpipeline.c: (gst_pipeline_class_init),
22765         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22766         (gst_pipeline_get_clock):
22767         get_clock -> provide_clock.
22768
22769 2005-09-28  Andy Wingo  <wingo@pobox.com>
22770
22771         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22772         lieu of real docs...
22773
22774         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22775
22776 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22777
22778         * gst/elements/gstcapsfilter.c:
22779         * gst/elements/gstfakesink.c:
22780         * gst/elements/gstfakesrc.c:
22781         * gst/elements/gstfdsink.c:
22782         * gst/elements/gstfdsrc.c:
22783         * gst/elements/gstfilesink.c:
22784         * gst/elements/gstfilesrc.c:
22785         * gst/elements/gstidentity.c:
22786         * gst/elements/gsttee.c:
22787         * gst/elements/gsttypefindelement.c:
22788           Make element details static.
22789
22790 2005-09-28  Wim Taymans  <wim@fluendo.com>
22791
22792         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22793         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22794         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22795         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22796         (gst_bin_change_state), (gst_bin_dispose):
22797         Some documentation updates.
22798         Clean up dispose handlers.
22799
22800         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22801         * gst/gstpad.c: (gst_pad_dispose):
22802         Clean up dispose handler.
22803
22804         * gst/gstpipeline.c: (gst_pipeline_change_state):
22805         Removed spurious UNLOCK.
22806
22807 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22808
22809         * docs/gst/gstreamer-sections.txt:
22810         * gst/base/gstbasesrc.h:
22811         * gst/gstelement.h:
22812         * gst/gstevent.h:
22813         * gst/gstobject.h:
22814         * gst/gstpad.h:
22815         * gst/gstpipeline.c:
22816         * gst/gstpipeline.h:
22817         * gst/gstutils.h:
22818         * gst/gstxml.h:
22819           added two new functions to the docs
22820                 documents all undocumented GstXXXFlags
22821                 completed some incomplete docs 
22822
22823 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22824
22825         * gst/gstbin.c: (gst_bin_dispose):
22826         * gst/gstelement.c: (gst_element_dispose):
22827           remove now useless and leaky resurrection code in dispose
22828         * gst/base/gstbasesrc.c: (gst_base_src_init):
22829         * gst/gstelementfactory.c: (gst_element_factory_create):
22830         * gst/gstobject.c: (gst_object_set_parent):
22831           add some debugging
22832
22833 2005-09-27  Wim Taymans  <wim@fluendo.com>
22834
22835         * docs/design/part-TODO.txt:
22836         Update TODO.
22837
22838         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22839         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22840         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22841         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22842         (gst_bin_change_state):
22843         * gst/gstelement.h:
22844         Remove element variable, we keep element info in the iterator now.
22845
22846 2005-09-27  Andy Wingo  <wingo@pobox.com>
22847
22848         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22849         values.
22850
22851 2005-09-27  Wim Taymans  <wim@fluendo.com>
22852
22853         * check/gst/gstbin.c: (GST_START_TEST):
22854         Enable check that works now.
22855
22856         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22857         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22858         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22859         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22860         (gst_bin_change_state):
22861         * gst/gstbin.h:
22862         Redid the state change algorithm using a topological sort algo.
22863         Handles all cases correctly.
22864         Exposed iterator for state change order.
22865
22866         * gst/gstelement.h:
22867         Temp storage for state changes. Need to get rid of this soon.
22868
22869 2005-09-27  Wim Taymans  <wim@fluendo.com>
22870
22871         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22872         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22873         (link_fold_func), (gst_pad_proxy_setcaps):
22874         Leak fixes, the fold functions need to unref the passed object and
22875         _get_parent_*() returns ref to parent.
22876
22877 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22878
22879         * check/gst/gstbuffer.c: (test_make_writable):
22880           Plug leak in test case and fix 'make check-valgrind'
22881
22882 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22883
22884         * gst/gstbuffer.c: (gst_subbuffer_init):
22885           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22886           works correctly in all circumstances (we could have just copied
22887           the parent buffer's readonly flag, but conceptually it seems
22888           cleaner to mark all subbuffers as read-only). (based on patch
22889           by Alessandro Decina, #314710).
22890         
22891         * check/gst/gstbuffer.c: (create_read_only_buffer),
22892         (test_make_writable), (test_subbuffer_make_writable),
22893         (gst_test_suite):
22894           Add some tests for gst_buffer_make_writable().
22895
22896 2005-09-27  Wim Taymans  <wim@fluendo.com>
22897
22898         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22899         use gst_object_has_ancestor().
22900
22901         * gst/gstobject.c: (gst_object_has_ancestor):
22902         * gst/gstobject.h:
22903         gst_object_has_ancestor() copied from gstbin.c as it is a
22904         useful function.
22905
22906         * tests/instantiate/create.c: (create_all_elements):
22907         * tests/lat.c: (handoff_src), (handoff_sink):
22908         * tests/sched/runxml.c: (main):
22909         * tests/seeking/seeking1.c: (main):
22910         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22911         (main):
22912         Fix compilation of some tests.
22913
22914 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22915
22916         * gst/gsterror.h:
22917           Remove comment. GST_TYPE_G_ERROR is here to stay,
22918           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22919           (#316961, #300610).
22920
22921 2005-09-26  Wim Taymans  <wim@fluendo.com>
22922
22923         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22924         Added check that shows error in state change order.
22925
22926 2005-09-26  Wim Taymans  <wim@fluendo.com>
22927
22928         * gst/gstbin.c: (gst_bin_change_state):
22929         Make state change function use 3 queues again, we were
22930         adding elements in the wrong order.
22931
22932         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22933         Some debug info,
22934
22935         * gst/gstpad.c: (gst_pad_dispose):
22936         Added some debug info first.
22937
22938 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22939
22940         * docs/design/draft-push-pull.txt:
22941         * docs/design/part-events.txt:
22942         * docs/design/part-overview.txt:
22943         * docs/design/part-scheduling.txt:
22944           Replace all _pull_region() with _pull_range()
22945           
22946 2005-09-26  Andy Wingo  <wingo@pobox.com>
22947
22948         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22949
22950         * check/gst-libs/controller.c: Update for controller api change.
22951
22952         * configure.ac: 
22953         * tests/Makefile.am:
22954         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22955         over by GLib bug 118439.
22956         
22957         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22958         routines to a function.
22959
22960         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22961
22962         * libs/gst/controller/gsthelper.c:
22963         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22964         (gst_object_sync_values): Renamed from sink_values. Ugh.
22965
22966         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22967
22968         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22969         Renamed from controller_key, as it is exported.
22970
22971         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22972
22973 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22974
22975         * gst/Makefile.am:
22976         * gst/gst.h:
22977         * gst/gstpad.h:
22978         * gst/gstpadtemplate.h:
22979         * gst/gstquery.c:
22980         * gst/gstquery.h:
22981         * gst/gstqueryutils.c:
22982         * gst/gstqueryutils.h:
22983           remove queryutils headers after moving the two used functions
22984           to gstquery.  also fixes build problem for gstsiddec
22985
22986 2005-09-26  Michael Smith <msmith@fluendo.com>
22987
22988         * tools/gst-launch.1.in:
22989         Correct documentation in manpage of debug syntax
22990
22991 2005-09-26  Wim Taymans  <wim@fluendo.com>
22992
22993         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22994         (gst_base_src_is_seekable), (gst_base_src_change_state):
22995         Some more debugging info.
22996
22997 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22998
22999         * docs/gst/gstreamer-sections.txt:
23000         * gst/base/gstbasetransform.h:
23001         * gst/gstindex.h:
23002           added more docs
23003
23004 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
23005
23006         * docs/gst/.cvsignore:
23007         * docs/gst/tmpl/.cvsignore:
23008         * docs/gst/tmpl/gstpipeline.sgml:
23009         * docs/gst/tmpl/gstplugin.sgml:
23010         * gst/gstpipeline.c:
23011         * gst/gstplugin.c:
23012         * gst/gstplugin.h:
23013           inlined the last two docs files
23014           removed the tmpl directory from cvs (no more conflicts here!)
23015
23016 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
23017
23018         * docs/gst/gstreamer-sections.txt:
23019         * docs/gst/tmpl/.cvsignore:
23020         * docs/gst/tmpl/gstpad.sgml:
23021         * docs/gst/tmpl/gstpadtemplate.sgml:
23022         * gst/Makefile.am:
23023         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
23024         (gst_pad_finalize), (gst_pad_set_pad_template):
23025         * gst/gstpad.h:
23026         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
23027         (gst_pad_template_class_init), (gst_pad_template_init),
23028         (gst_pad_template_dispose), (name_is_valid),
23029         (gst_static_pad_template_get), (gst_pad_template_new),
23030         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
23031         (gst_pad_template_pad_created):
23032         * gst/gstpadtemplate.h:
23033           inlined two more docs
23034           factored gstpadtemplate out of gstpad
23035
23036 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
23037
23038         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23039         (test_children_state_change_order_semi_sink):
23040           Fix test case: we can't rely on a fixed state change order when
23041           going from READY => PAUSED because the sink might commit its 
23042           new state first when the first buffer created by the source 
23043           reaches the sink before the source has finished its change state.
23044           (Test case still fails at times, see #316856, comment 5 onwards)
23045
23046 2005-09-24  Wim Taymans  <wim@fluendo.com>
23047
23048         * docs/design/part-events.txt:
23049         * docs/design/part-gstbus.txt:
23050         * docs/design/part-gstpipeline.txt:
23051         * docs/design/part-messages.txt:
23052         * docs/design/part-overview.txt:
23053         * docs/design/part-segments.txt:
23054         * gst/gstbin.c:
23055         * gst/gstbuffer.c:
23056         * gst/gstclock.c:
23057         * gst/gstelement.c:
23058         * gst/gstevent.c:
23059         * gst/gstfilter.c:
23060         * gst/gstiterator.c:
23061         Various documentation updates.
23062
23063 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23064
23065         * gst/gstclock.h:
23066           Well, that's embarassing.  Luckily we weren't using
23067           GST_CLOCK_DIFF anywhere.
23068
23069 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23070
23071         * common/gtk-doc.mak:
23072           don't fail on building XML, FC4 slave shows a bunch of doc
23073           missing bits that I don't get
23074         * gst/gstpad.c:
23075         * gst/gstpipeline.c:
23076         * gst/gststructure.c:
23077           some doc updates
23078
23079 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
23080
23081         * docs/design/part-gstbin.txt:
23082         * docs/design/part-gstbus.txt:
23083         * gst/gstbus.c:
23084           Add blurb about how the bus goes into flushing mode and
23085           drops all messages when its bin goes from READY into NULL 
23086           state.
23087
23088 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23089
23090         * docs/gst/gstreamer-sections.txt:
23091         * gst/gststructure.c: (gst_structure_get_clock_time):
23092         * gst/gststructure.h:
23093           add a method to get a GstClockTime out of a structure
23094
23095 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
23096
23097         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23098         (test_children_state_change_order_semi_sink), (gst_bin_suite):
23099           Added test to check state change order in bins (can still be made
23100           to fail here under heavy disk load; bails out with 'Push on pad
23101           fakesink:sink0, but it was not activated in push mode').
23102
23103         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
23104           Fix state change order when there is only a semi sink (#316856)
23105
23106         * gst/gstbus.c: (gst_bus_class_init):
23107           Use _class_peek_parent(), not _class_ref(); fix docs to say
23108           'default main context' instead of 'mainloop' where that is
23109           what's meant.
23110
23111         * gst/gstelement.c: (gst_element_commit_state),
23112         (gst_element_set_state):
23113           Fix typos in debug messages
23114
23115 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23116
23117         * docs/README:
23118         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
23119         * gst/gstpluginfeature.c:
23120         * gst/gstutils.c:
23121           various doc updates
23122         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23123           change an assert into an error until it gets fixed properly
23124
23125 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
23126
23127         * docs/gst/gstreamer-sections.txt:
23128         * docs/gst/tmpl/.cvsignore:
23129         * docs/gst/tmpl/gstelement.sgml:
23130         * docs/gst/tmpl/gstinfo.sgml:
23131         * docs/gst/tmpl/gstobject.sgml:
23132         * gst/gstelement.c:
23133         * gst/gstelement.h:
23134         * gst/gstinfo.c:
23135         * gst/gstinfo.h:
23136         * gst/gstobject.c: (gst_object_class_init):
23137         * gst/gstobject.h:
23138           inlined 3 more biiiig doc files and added some missing docs on the fly
23139
23140 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23141
23142         * check/gst/.cvsignore:
23143         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
23144         * gst/gstregistryxml.c: (load_plugin),
23145         (gst_registry_xml_save_plugin):
23146           put back source in registry.  add checks for find_plugin.
23147         * testsuite/states/bin.c: (assert_state), (empty_bin),
23148         (test_adding_one_element), (main):
23149         * testsuite/states/locked.c: (main):
23150           some compile/run fixes
23151
23152 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23153
23154         * check/gst/gstvalue.c: (GST_START_TEST):
23155           fix leaks in the test itself
23156
23157 2005-09-22  Wim Taymans  <wim@fluendo.com>
23158
23159         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23160         (gst_base_sink_send_event), (gst_base_sink_peer_query),
23161         (gst_base_sink_query):
23162         Prepare for more accurate position reporting and query
23163         handling.
23164
23165         * gst/gstelement.c: (gst_element_send_event),
23166         (gst_element_set_state):
23167         Add some comment.
23168
23169 2005-09-22  Wim Taymans  <wim@fluendo.com>
23170
23171         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
23172         (gst_query_parse_segment):
23173         * gst/gstquery.h:
23174         More documentation.
23175         Add segment query for future use.
23176
23177 2005-09-22  Wim Taymans  <wim@fluendo.com>
23178
23179         * gst/gstbin.c: (gst_bin_add_func):
23180         Some more debug info.
23181
23182         * gst/gstelement.c: (gst_element_send_event):
23183         Simplify send_event
23184
23185         * gst/gstelement.h:
23186         Don't know how flags got broken.
23187
23188         * gst/gstquery.h:
23189         Added new query.
23190
23191 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
23192
23193         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
23194           Add simplistic test suite for GST_TYPE_DATE serialisation and
23195           deserialisation.
23196
23197 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
23198
23199         * docs/gst/gstreamer-sections.txt:
23200         * gst/gststructure.c: (gst_structure_set_valist),
23201         (gst_structure_get_date):
23202         * gst/gststructure.h:
23203         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
23204         (gst_date_copy), (gst_value_compare_date),
23205         (gst_value_serialize_date), (gst_value_deserialize_date),
23206         (gst_value_transform_date_string),
23207         (gst_value_transform_string_date), (_gst_value_initialize):
23208         * gst/gstvalue.h:
23209           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
23210           bunch of utility functions along with a hack that checks that
23211           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
23212           is required. Part of the grand scheme in #170777.
23213
23214 2005-09-22  Andy Wingo  <wingo@pobox.com>
23215
23216         * gst/gstconfig.h.in: Psych out gtk-doc.
23217
23218         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
23219
23220         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
23221
23222         * tools/gst-inspect.c (print_element_list): Plug some
23223         inconsequential leaks.
23224
23225         * gst/gstregistry.c (gst_registry_get_default): Doc.
23226
23227         * check/gst/gstplugin.c: 
23228         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23229         * gst/gstelementfactory.c (gst_element_factory_create): 
23230         * gst/gstindexfactory.c (gst_index_factory_create): Update for
23231         refcount changes.
23232
23233         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23234         (gst_plugin_feature_load): Doc, don't eat refs.
23235
23236         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23237         (gst_plugin_list_free): Doc.
23238         (gst_plugin_load_file): Doc updates.
23239
23240         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23241         accessors returning refcounted objects, return a ref.
23242
23243         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23244         accessor for caps. IDEMPOTENCE. Oh yes.
23245
23246 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
23247
23248         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23249
23250         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23251         (_gst_debug_register_funcptr):
23252           Add mutex to serialise access to the hash table with
23253           the function pointer => function name string mapping;
23254           make that hash table static scope (#316809).
23255
23256         * gst/registries/.cvsignore:
23257           Remove left-over file.
23258
23259 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23260
23261         * docs/pwg/appendix-porting.xml:
23262           And something about newsegment events and caps-on-buffers to
23263           the porting guide (feel free to improve).
23264
23265 2005-09-21  Andy Wingo  <wingo@pobox.com>
23266
23267         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23268         data and event probes on the same pad.
23269         (test_buffer_probe_once): Test that removing probes from within
23270         the probe functions works.
23271
23272 2005-09-21  Andy Wingo  <wingo@pobox.com>
23273
23274         * check/gst/gstutils.c: New file.
23275         (test_buffer_probe_n_times): A simple buffer probe test. More to
23276         come, foolios.
23277
23278         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23279         have-data::buffer, not have-data.
23280         (gst_pad_add_event_probe): Likewise for have-data::event.
23281         (gst_pad_add_data_probe): More docs. The part about 'resolving the
23282         peer' isn't quite right yet though.
23283         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
23284         (gst_pad_remove_data_probe): Change to take the guint handler_id
23285         as their arg, not the function+data, which is more glib-like.
23286
23287         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23288         the signal emission to indicate if the data is a buffer or an
23289         event.
23290         (gst_pad_get_type): Initialize buffer and event quarks.
23291         (gst_pad_class_init): have-data is now a detailed signal, yes it
23292         is.
23293
23294 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23295
23296         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23297         * gst/gstutils.c: (gst_util_set_value_from_string),
23298         (gst_util_set_object_arg):
23299           Don't put functional code in g_return_if_fail() or
23300           g_return_val_if_fail() statements, otherwise things will 
23301           break when G_DISABLE_CHECKS is defined during compilation.
23302
23303 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23304
23305         * docs/gst/tmpl/.cvsignore:
23306         * docs/gst/tmpl/gstvalue.sgml:
23307         * gst/gstvalue.c:
23308         * gst/gstvalue.h:
23309           inlied another one and added  some obvious docs
23310
23311 2005-09-21  Wim Taymans  <wim@fluendo.com>
23312
23313         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23314         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23315         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23316         (gst_fdsrc_get_property), (gst_fdsrc_create):
23317         * gst/elements/gstfdsrc.h:
23318         Properly implement fdsrc. Removed signal and timeout,
23319         better implemented somewhere else.
23320
23321 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23322
23323         * docs/gst/tmpl/.cvsignore:
23324         * docs/gst/tmpl/gstimplementsinterface.sgml:
23325         * gst/gstinterface.c:
23326           inlined more docs
23327
23328 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23329
23330         * docs/gst/gstreamer-sections.txt:
23331         * docs/gst/tmpl/.cvsignore:
23332         * docs/gst/tmpl/gstenumtypes.sgml:
23333           remove obsolete doc file
23334
23335 2005-09-21  David Schleef  <ds@schleef.org>
23336
23337         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23338         little beer, fix a little leak.
23339
23340 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23341
23342         * docs/gst/gstreamer-docs.sgml:
23343         * docs/gst/gstreamer-sections.txt:
23344         * docs/gst/tmpl/.cvsignore:
23345         * gst/Makefile.am:
23346         * gst/gst.h:
23347         * gst/gstbin.c:
23348         * gst/gstelement.h:
23349         * gst/gstindex.c: (gst_index_class_init):
23350         * gst/gstindex.h:
23351         * gst/gstindexfactory.c: (gst_index_factory_get_type),
23352         (gst_index_factory_class_init), (gst_index_factory_init),
23353         (gst_index_factory_finalize), (gst_index_factory_new),
23354         (gst_index_factory_destroy), (gst_index_factory_find),
23355         (gst_index_factory_create), (gst_index_factory_make):
23356         * gst/gstindexfactory.h:
23357         * gst/gstpluginfeature.c:
23358         * gst/gstpluginfeature.h:
23359         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23360           more docs inlined, splitted gstindex.{c,h}
23361
23362 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23363
23364         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23365           fix a leak
23366
23367 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23368
23369         * gst/elements/gstfilesink.c: (gst_file_sink_init):
23370           Set sync to FALSE by default.
23371
23372 2005-09-20  Wim Taymans  <wim@fluendo.com>
23373
23374         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23375         (gst_base_sink_init):
23376         Make sync property settable from subclass.
23377
23378         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23379         (gst_fake_sink_change_state):
23380         Set sync to FALSE by default.
23381
23382 2005-09-20  Wim Taymans  <wim@fluendo.com>
23383
23384         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23385         * tools/gst-launch.c: (main):
23386         The timeout handler should have lower priority than the source
23387         so we don't timeout before popping a message with 0 timeout.
23388         Dump error messages after failed state change.
23389
23390 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23391
23392         * tools/gst-inspect.c: (print_element_properties_info):
23393           Fix two typos.
23394
23395 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23396
23397         * check/gst/gstevent.c:
23398         * gst/elements/gstfakesink.c:
23399         * gst/elements/gstfakesink.h:
23400           remove the sync property from fakesink.
23401           has the side effect of setting sync TRUE
23402           for fakesink, which is a change.  Anyone who knows how
23403           to fix this nicely in a GObject-y way, feel free.
23404
23405 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23406
23407         * docs/gst/gstreamer-docs.sgml:
23408           remove probe refsection
23409
23410 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23411
23412         * check/Makefile.am:
23413           disable valgrinding the controller test again
23414         * docs/gst/gstreamer-sections.txt:
23415           update for api-changes
23416
23417 2005-09-20  Wim Taymans  <wim@fluendo.com>
23418
23419         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23420         (gst_base_sink_set_property), (gst_base_sink_get_property),
23421         (gst_base_sink_do_sync):
23422         * gst/base/gstbasesink.h:
23423         Added sync property to basesink to disable clock sync.
23424
23425 2005-09-20  Andy Wingo  <wingo@pobox.com>
23426
23427         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23428         eating the caller's refcount.
23429
23430         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
23431         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23432         refcount.
23433
23434         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23435         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23436         of GLib 2.8 public, so we can know which refcount to check in
23437         tests.
23438
23439         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23440         (gst_object_init): Only set the gst refcount if we're going ahead
23441         with the refcount hack.
23442
23443 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23444
23445         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23446         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23447           more leaks plumbed, added more debug-logging
23448         * gst/gstmacros.h:
23449           whitespace fix
23450
23451 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23452
23453         * gst/gstmessage.c:
23454           remove include of gstmemchunk.h
23455
23456 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23457
23458         * gst/gstclock.c: (_gst_clock_id_free):
23459           Commit from the Political Party For More Atomic CVS Commits,
23460           so that people don't waste too much of their day fishing
23461           out obvious leaks out of massive commits.
23462           Oh, and fix a pretty damn obvious leak in the memchunk
23463           removal code.
23464
23465 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23466
23467         * check/Makefile.am:
23468         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23469           plug mem-leak, re-add to valgrindable tests
23470
23471 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23472
23473         * gst/gstplugin.h:
23474           unbreak the build for those who have chronic arthritis
23475           and typing "make check" is just too taxing on the hands
23476
23477 2005-09-20  Andy Wingo  <wingo@pobox.com>
23478
23479         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23480         really want it out, you should fix plugins at the same time.
23481
23482 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
23483
23484         * configure.ac:
23485         * docs/gst/gstreamer-sections.txt:
23486         * gst/gstobject.c:
23487           added missing symbols to api docs
23488           disable ref-count hack if we have glib >= 2.8
23489
23490 2005-09-19  David Schleef  <ds@schleef.org>
23491
23492         * docs/gst/Makefile.am: Ignore a few more internal headers
23493         * docs/gst/gstreamer-docs.sgml: Remove old sections
23494         * docs/gst/gstreamer-sections.txt: Remove old sections
23495         * docs/gst/tmpl/gstobject.sgml: update
23496         * docs/gst/tmpl/gstplugin.sgml: update
23497         * docs/gst/tmpl/gstpluginfeature.sgml: update
23498         * docs/random/ds/0.9-suggested-changes: update.
23499         * gst/Makefile.am: remove memchunk and trashstack, since they're
23500           not used.
23501         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23502         * gst/gst.h: don't include some headers
23503         * gst/gstchildproxy.c: add gstmarshal.h
23504         * gst/gstclock.c: Don't use memchunks
23505         * gst/gstminiobject.c: Add some docs
23506         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23507         * gst/gstobject.h: same
23508         * gst/gstplugin.c: include gstmacros.h
23509         * gst/gstplugin.h: don't include gstmacros.h, since it's private
23510         * gst/gstquery.c: don't use memchunks
23511         * gst/gstregistry.c: rename gst_registry_deinit()
23512         * gst/gstregistry.h: same
23513
23514 2005-09-19  David Schleef  <ds@schleef.org>
23515
23516         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23517         * docs/libs/gstreamer-libs-sections.txt:
23518         * docs/libs/tmpl/gstgetbits.sgml:
23519         * docs/libs/tmpl/gstputbits.sgml:
23520
23521 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23522
23523         * win32/gstenumtypes.c:
23524         * win32/gstenumtypes.h:
23525           Update.
23526
23527 2005-09-19  Wim Taymans  <wim@fluendo.com>
23528
23529         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23530         Automatically PAUSE and RESUME a pipeline when a flushing seek
23531         is performed.
23532
23533 2005-09-19  Andy Wingo  <wingo@pobox.com>
23534
23535         * gst/gstregistry.h: Spacing fixen.
23536
23537 2005-09-19  Wim Taymans  <wim@fluendo.com>
23538
23539         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23540         Handle state change failure more correctly.
23541
23542 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23543
23544         * check/Makefile.am:
23545         * check/pipelines/cleanup.c: (run_pipeline):
23546         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23547         (GST_START_TEST):
23548           enable cleanup again after fixing the leak
23549         * docs/README:
23550           some more info on docs
23551
23552 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23553
23554         * check/Makefile.am:
23555           re-enable tests now that leaks are plugged
23556         * check/gst/gst.c:
23557         * check/gst/gstbin.c:
23558         * check/gst/gstpipeline.c:
23559           add some more tests while fixing leaks
23560         * common/check.mak:
23561           make sure binaries are uptodate when valgrinding/gdbing
23562         * gst/gst.c:
23563         * gst/gstelementfactory.c:
23564           remove a ref too many, and add a FIXME for when we get
23565           round to disposing of classes
23566         * gst/gstplugin.c:
23567           fix the refcounting when loading a plugin from a file and
23568           the code pretends that the pointer is the same even though
23569           of course it can change
23570         * gst/gstpluginfeature.c:
23571           unref plugins marked cached (a bit confusing as a name)
23572           as the docs state should be done
23573           various doc additions to explain refcounting
23574         * gst/gstregistry.c:
23575         * gst/gstregistryxml.c:
23576           debugging
23577
23578 2005-09-19  Wim Taymans  <wim@fluendo.com>
23579
23580         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23581         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23582         (send_messages), (GST_START_TEST), (gstbus_suite):
23583         * check/gst/gstpipeline.c: (GST_START_TEST):
23584         * check/pipelines/cleanup.c: (run_pipeline):
23585         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23586         (GST_START_TEST):
23587         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23588         (gst_bus_source_check), (gst_bus_source_dispatch),
23589         (gst_bus_create_watch), (gst_bus_add_watch_full),
23590         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23591         * gst/gstbus.h:
23592         * tools/gst-launch.c: (event_loop):
23593         * tools/gst-md5sum.c: (event_loop):
23594         GstBusHandler -> GstBusFunc, return value has the same meaning as
23595         any other GSource (FALSE == remove source).
23596         _add_watch() and _add_watch_full() now take a MessageType mask to
23597         only handle specific types of messages.
23598         _poll() returns the GstMessage instead of the message type to avoid
23599         race conditions.
23600         _have_pending() takes a MessageType mask now too.
23601         Added testsuite for multiple bus watches.
23602         Fix testsuites and applications for new bus API.
23603
23604 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23605
23606         * check/Makefile.am:
23607           mark a bunch of the tests as to fix until we fix them
23608
23609 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23610
23611         * common/check.mak:
23612           use GST_PLUGIN settings for valgrind tests as well, so we're
23613           valgrinding the correct thing
23614         * gst/gst.c: (init_post):
23615           plug another leak
23616
23617 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23618
23619         * gst/gst.c: (init_post), (gst_deinit):
23620         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23621         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23622         * gst/gstindex.c: (gst_index_factory_class_init),
23623         (gst_index_factory_finalize):
23624         * gst/gstobject.c: (gst_object_dispose):
23625         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23626         (gst_plugin_load_file), (gst_plugin_desc_free):
23627         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23628         (gst_plugin_feature_finalize):
23629         * gst/gstregistry.c: (gst_registry_class_init),
23630         (gst_registry_init), (gst_registry_finalize),
23631         (gst_registry_get_default), (gst_registry_deinit):
23632         * gst/gstregistry.h:
23633         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23634           various cleanups and memleak plugging.  make valgrind is happy now.
23635
23636 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23637
23638         * common/check.mak:
23639           add a check-valgrind target
23640
23641 2005-09-18  David Schleef  <ds@schleef.org>
23642
23643         * tools/gst-inspect.c: Revert the GOption code.
23644
23645 2005-09-17  David Schleef  <ds@schleef.org>
23646
23647         * check/Makefile.am: Fix environment variables.
23648         * check/gst/gstplugin.c: Fix for API changes.
23649         * tools/gst-inspect.c: Fix for API changes.
23650         * tools/gst-xmlinspect.c: Fix for API changes.
23651         * gst/gstelementfactory.c:
23652         * gst/gstplugin.c:
23653         * gst/gstplugin.h:
23654         * gst/gstpluginfeature.c:
23655         * gst/gstpluginfeature.h:
23656         * gst/gstregistry.c:
23657         * gst/gstregistry.h:
23658         * gst/gstregistryxml.c:
23659         * gst/gsttypefind.c:
23660         * gst/gsttypefindfactory.c:
23661         * gst/indexers/gstfileindex.c:
23662         * gst/indexers/gstmemindex.c:
23663         * gst/schedulers/Makefile.am:
23664           Change registry to keep track of both plugins and features,
23665           removing the feature tracking from plugins themselves.
23666
23667 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23668
23669         * check/Makefile.am:
23670         * tools/gst-register.1.in:
23671           remove gst-register
23672
23673 2005-09-15  David Schleef  <ds@schleef.org>
23674
23675         * check/gst/gstplugin.c:
23676         * gst/gstelementfactory.c:
23677         * gst/gstplugin.c:
23678         * gst/gstpluginfeature.c:
23679         * gst/gstregistry.c:
23680           Getting tired of debugging.  Disabled all the unreffing of
23681           plugins and features, which fixes the segfaults, but of
23682           course leaks like crazy.  At least playbin works.
23683
23684 2005-09-15  David Schleef  <ds@schleef.org>
23685
23686         * check/gst/gstplugin.c: (register_check_elements),
23687         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23688         More testing
23689         * gst/elements/gsttypefindelement.c: Fix refcounting.
23690         * gst/gsttypefind.c:
23691         * gst/gsttypefindfactory.c:
23692         * gst/gsttypefindfactory.h:
23693
23694 2005-09-15  David Schleef  <ds@schleef.org>
23695
23696         * gst/gstindex.c: get refcounting correct.
23697         * gst/gstregistry.c: Handle the case where a feature/plugin is
23698           not found.
23699
23700 2005-09-15  David Schleef  <ds@schleef.org>
23701
23702         * check/Makefile.am:
23703         * check/gst/gstplugin.c: Add test
23704         * gst/gstplugin.c: Fix problems noticed by testsuite
23705         * gst/gstplugin.h:
23706         * gst/gstregistry.c: 
23707         * gst/gstregistry.h:
23708
23709 2005-09-15  David Schleef  <ds@schleef.org>
23710
23711         * gst/gstplugin.c: Implement semi-decent recounting and locking
23712           in plugins and plugin features.
23713         * gst/gstplugin.h:
23714         * gst/gstpluginfeature.c:
23715         * gst/gstpluginfeature.h:
23716         * gst/gstregistry.c:
23717
23718 2005-09-15  Michael Smith <msmith@fluendo.com>
23719
23720         * gst/gstregistry.c: (gst_registry_get_feature_list):
23721           Implement this. Makes oggdemux work; decodebin still broken.
23722
23723 2005-09-14  David Schleef  <ds@schleef.org>
23724
23725         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23726           #316076)
23727         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23728         * gst/check/Makefile.am:
23729         * libs/gst/controller/Makefile.am:
23730         * libs/gst/dataprotocol/Makefile.am:
23731
23732 2005-09-14  David Schleef  <ds@schleef.org>
23733
23734         * configure.ac: Remove getbits library.  Nothing uses it, and
23735           it should be in something like liboil if someone did want
23736           to use it.
23737         * libs/gst/Makefile.am:
23738         * libs/gst/getbits/Makefile.am:
23739         * libs/gst/getbits/gbtest.c:
23740         * libs/gst/getbits/getbits.c:
23741         * libs/gst/getbits/getbits.h:
23742         * libs/gst/getbits/gstgetbits_generic.c:
23743         * libs/gst/getbits/gstgetbits_i386.s:
23744         * libs/gst/getbits/gstgetbits_inl.h:
23745
23746 2005-09-14  David Schleef  <ds@schleef.org>
23747
23748         * gst/Makefile.am: Dist glib-compat.h
23749
23750 2005-09-14  David Schleef  <ds@schleef.org>
23751
23752         * configure.ac: Remove gst/registries, since it's no longer used.
23753         * gst/registries/Makefile.am:
23754         * gst/registries/gstlibxmlregistry.c:
23755         * gst/registries/gstlibxmlregistry.h:
23756         * gst/registries/gstxmlregistry.c:
23757         * gst/registries/gstxmlregistry.h:
23758         * gst/registries/registrytest.c:
23759
23760 2005-09-14  David Schleef  <ds@schleef.org>
23761
23762         * gst/glib-compat.h:
23763         * gst/gstregistryxml.c:
23764           Convergence is near.  Seriously.
23765
23766 2005-09-14  David Schleef  <ds@schleef.org>
23767
23768         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23769         * gst/glib-compat.h:
23770           Attempt #4 to appease the buildbots.
23771
23772 2005-09-14  David Schleef  <ds@schleef.org>
23773
23774         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23775           Attempt #3.
23776
23777 2005-09-14  David Schleef  <ds@schleef.org>
23778
23779         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23780         Attempt #2.
23781
23782 2005-09-14  David Schleef  <ds@schleef.org>
23783
23784         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23785           the new functions.
23786
23787 2005-09-14  David Schleef  <ds@schleef.org>
23788
23789         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23790         * gst/glib-compat.h: Add some functions that are in newer versions
23791           of glib than we care to require.
23792         * gst/gstregistryxml.c: Use them.
23793
23794 2005-09-14  David Schleef  <ds@schleef.org>
23795
23796         * po/POTFILES.in: remove gst-register.c
23797
23798 2005-09-14  David Schleef  <ds@schleef.org>
23799
23800         * docs/gst/gstreamer-docs.sgml:
23801         * docs/gst/gstreamer-sections.txt:
23802         * docs/gst/gstreamer.types:
23803         * docs/gst/tmpl/gstelement.sgml:
23804         * docs/gst/tmpl/gstplugin.sgml:
23805         * docs/gst/tmpl/gstpluginfeature.sgml:
23806           Documentation updates for registry changes.
23807
23808 2005-09-14  David Schleef  <ds@schleef.org>
23809
23810         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23811           because we don't require glib-2.8.
23812
23813 2005-09-14  David Schleef  <ds@schleef.org>
23814
23815         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23816           registries directory.
23817
23818 2005-09-14  David Schleef  <ds@schleef.org>
23819
23820         * check/Makefile.am:
23821         * check/generic/states.c:
23822         * gst/Makefile.am:
23823         * gst/gst.c:
23824         * gst/gst.h:
23825         * gst/gst_private.h:
23826         * gst/gstelementfactory.c:
23827         * gst/gstindex.c:
23828         * gst/gstinfo.c:
23829         * gst/gstplugin.c:
23830         * gst/gstplugin.h:
23831         * gst/gstpluginfeature.c:
23832         * gst/gstpluginfeature.h:
23833         * gst/gstregistry.c:
23834         * gst/gstregistry.h:
23835         * gst/gstregistrypool.c: remove
23836         * gst/gstregistrypool.h: remove
23837         * gst/gsttypefind.c:
23838         * gst/gsttypefindfactory.c:
23839         * gst/gsturi.c:
23840         * tools/Makefile.am:
23841         * tools/gst-compprep.c:
23842         * tools/gst-inspect.c:
23843         * tools/gst-register.c: remove
23844         * tools/gst-xmlinspect.c:
23845           Registry rewrite.  Changes registry from being a file created
23846           by a tool into a simple cache file created automatically by 
23847           libgstreamer.  Removed gst-register (because it's no longer
23848           needed).  Remove registry pools, because we only have one
23849           registry implementation (XML).  Fix up other subsystems as
23850           necessary.
23851
23852 2005-09-13  Michael Smith <msmith@fluendo.com>
23853
23854         * gst/gstconfig.h.in:
23855           Don't Use windows linking attributes for MinGW. Fixes #316157
23856
23857 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23858
23859         * gst/gstutils.c: (set_state_async_thread_func),
23860         (gst_element_set_state_async):
23861           Apparently people think it's better if this function doesn't
23862           try to set the state to whatever state was asked for on the first
23863           call to this function for any object.  Seriously.
23864
23865 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23866
23867         * check/gst/gstpipeline.c: (GST_START_TEST):
23868         * docs/gst/gstreamer-sections.txt:
23869         * gst/gstutils.c: (set_state_async_thread_func),
23870         (gst_element_set_state_async):
23871         * gst/gstutils.h:
23872           add a "gst_element_set_state_async" method that
23873           sets the state and starts a thread to make sure the state
23874           change completes as best as it can
23875
23876 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23877
23878         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23879           codify design+behaviour in testsuite after discussion
23880
23881 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23882
23883         * docs/gst/tmpl/gstelement.sgml:
23884         * docs/manual/appendix-quotes.xml:
23885           add a quote
23886         * gst/gstelement.c: (gst_element_set_state):
23887           add some debug
23888
23889 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23890
23891         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23892         (gst_base_transform_prepare_output_buf),
23893         (gst_base_transform_handle_buffer):
23894         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23895         (gst_capsfilter_prepare_buf):
23896           Remove the requirement for sub-classes to call the parent
23897           implementation of prepare_output_buffer with a wrapper function.
23898           
23899         * gst/gsttaglist.h:
23900         * gst/gsttagsetter.h:
23901           Fix #define wrapper
23902
23903 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23904
23905         * docs/gst/gstreamer-sections.txt:
23906           more doc cleanups
23907
23908 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23909
23910         * docs/gst/gstreamer-sections.txt:
23911         * docs/gst/tmpl/gstelement.sgml:
23912         * docs/gst/tmpl/gstplugin.sgml:
23913         * gst/gstminiobject.c:
23914         * gst/gstvalue.h:
23915           docs now stop throwing warnings
23916
23917 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23918
23919         * docs/gst/gstreamer-sections.txt:
23920         * docs/gst/gstreamer.types:
23921         * docs/gst/tmpl/gstpad.sgml:
23922         * docs/gst/tmpl/gsttypes.sgml:
23923         * gst/base/gstadapter.h:
23924         * gst/base/gstbasesink.h:
23925         * gst/base/gstbasesrc.h:
23926         * gst/gstbin.h:
23927         * gst/gstbuffer.h:
23928         * gst/gstbus.h:
23929         * gst/gstcaps.h:
23930         * gst/gstclock.h:
23931         * gst/gstelement.h:
23932         * gst/gstevent.h:
23933         * gst/gstmessage.h:
23934         * gst/gstpad.h:
23935         * gst/gststructure.c:
23936         * gst/registries/gstlibxmlregistry.h:
23937           various documentation fixes
23938
23939 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23940
23941         * docs/gst/gstreamer-sections.txt:
23942         * docs/gst/tmpl/gstvalue.sgml:
23943           rearrange gstvalue section
23944         * gst/gstutils.c: (gst_element_state_get_name):
23945           NONE -> VOID
23946         * gst/gstvalue.c: (_gst_value_initialize):
23947         * gst/gstvalue.h:
23948           doc updates
23949
23950 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23951
23952         * check/gst-libs/controller.c:
23953           Header include fix.
23954         * gst/base/gstbasetransform.c:
23955         (gst_base_transform_default_prepare_buf),
23956         (gst_base_transform_handle_buffer):
23957         * gst/base/gstbasetransform.h:
23958           Some more basetransform changes and fixes to enable sub-classes
23959           that modify buffer metadata only.
23960         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23961         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23962         (gst_capsfilter_prepare_buf):
23963           If the output pad has fixed allowed caps and input buffers 
23964           don't have any, set the fixed caps on outgoing buffers.
23965
23966 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23967         * check/elements/identity.c: (GST_START_TEST):
23968           Make the error a little clearer when the test fails because
23969           identity made a copy of the buffer.
23970         * docs/gst/gstreamer-sections.txt:
23971           New symbols in gstbasetransform.h
23972         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23973         (gst_base_transform_init), (gst_base_transform_transform_size),
23974         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23975         (gst_base_transform_default_prepare_buf),
23976         (gst_base_transform_get_unit_size),
23977         (gst_base_transform_buffer_alloc),
23978         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23979         (gst_base_transform_change_state),
23980         (gst_base_transform_set_passthrough),
23981         (gst_base_transform_set_in_place),
23982         (gst_base_transform_is_in_place):
23983         * gst/base/gstbasetransform.h:
23984           Change BaseTransform to separate in_place operate from same_caps
23985           output. in_place implies that the element can perform the transform
23986           on incoming buffers in-place, even if the caps on the output are
23987           different.
23988           Sub-class elements can now implement special buffer allocation
23989           methods for outgoing buffers if they wish to.
23990           Big documentation addition.
23991         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23992         * gst/elements/gstelements.c:
23993           Changes for basetransform modifications.
23994         * gst/elements/Makefile.am:
23995         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23996           Compile fix. Extra debug output.
23997
23998 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23999
24000         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
24001         (gst_pad_suite):
24002           add tests for valid pad naming
24003         * gst/check/gstcheck.c: (gst_check_log_message_func),
24004         (gst_check_log_critical_func):
24005           add ASSERT_WARNING
24006           remove printing of code, it is fragile when the code contains
24007           % and the line number is enough info
24008         * gst/check/gstcheck.h:
24009         * gst/gstpad.c: (gst_pad_template_new):
24010           fix memleaks
24011
24012 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24013
24014         * configure.ac:
24015           say what CHECK flags we use
24016         * docs/libs/gstreamer-libs.types:
24017         * libs/gst/controller/Makefile.am:
24018         * libs/gst/controller/gst-controller.c:
24019         * libs/gst/controller/gst-controller.h:
24020         * libs/gst/controller/gst-helper.c:
24021         * libs/gst/controller/gst-interpolation.c:
24022         * libs/gst/controller/gstcontroller.c:
24023         * libs/gst/controller/gsthelper.c:
24024         * libs/gst/controller/gstinterpolation.c:
24025         * tools/gst-inspect.c: (print_plugin_info):
24026           we don't use dashes in header names
24027
24028 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24029
24030         * check/Makefile.am:
24031         * check/gst/.cvsignore:
24032         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
24033         (gst_pipeline_suite), (main):
24034           adding a test for pipelines and state changes
24035         * gst/gstutils.c: (get_state_func):
24036           add some debugging
24037         * gstreamer.spec.in:
24038           fix up spec file
24039
24040 2005-09-08  Michael Smith <msmith@fluendo.com>
24041
24042         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
24043         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
24044         (gst_file_src_is_seekable), (gst_file_src_get_size),
24045         (gst_file_src_start):
24046         * gst/elements/gstfilesrc.h:
24047           Various fixes for unseekable, unmmapable, and non-normal files, so
24048           that fallback to read() rather than mmap() works.
24049         * gst/gstevent.c: (gst_event_new_newsegment):
24050           Allow newsegment events with segment_start == segment_end, as will
24051           correctly happen if you use filesrc on a zero-size file, for
24052           example.
24053
24054 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
24055
24056         * gst/gstplugin.c: (gst_plugin_load_file):
24057           Call g_module_close when we don't load the module
24058
24059         * gst/registries/gstlibxmlregistry.c:
24060         (gst_xml_registry_get_property):
24061           Port leak fix from 0.8
24062
24063 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24064
24065         * docs/gst/gstreamer-docs.sgml:
24066         * docs/gst/tmpl/.cvsignore:
24067         * docs/gst/tmpl/gsttrace.sgml:
24068         * docs/gst/tmpl/gsttrashstack.sgml:
24069         * gst/Makefile.am:
24070         * gst/gst.h:
24071         * gst/gstelement.h:
24072         * gst/gstevent.h:
24073         * gst/gstmessage.c:
24074         * gst/gstmessage.h:
24075         * gst/gsttag.c:
24076         * gst/gsttag.h:
24077         * gst/gsttaginterface.c:
24078         * gst/gsttaginterface.h:
24079         * gst/gsttaglist.c:
24080         * gst/gsttaglist.h:
24081         * gst/gsttagsetter.c:
24082         * gst/gsttagsetter.h:
24083         * gst/gsttrace.c:
24084         * gst/gsttrace.h:
24085         * gst/gsttrashstack.c:
24086           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
24087           inlined docs for gsttrace, gsttrashstack
24088
24089 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24090
24091         * gst/Makefile.am:
24092         * gst/elements/gstbufferstore.h:
24093         * gst/elements/gsttypefindelement.c:
24094         * gst/elements/gsttypefindelement.h:
24095         * gst/gst.h:
24096         * gst/gsttypefind.c:
24097         * gst/gsttypefind.h:
24098         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
24099         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
24100         (gst_type_find_factory_dispose),
24101         (gst_type_find_factory_unload_thyself),
24102         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
24103         (gst_type_find_factory_get_caps),
24104         (gst_type_find_factory_get_extensions),
24105         (gst_type_find_factory_call_function):
24106         * gst/gsttypefindfactory.h:
24107         * gst/registries/gstlibxmlregistry.c:
24108         * gst/registries/gstxmlregistry.c:
24109           splitted gsttypefind into gsttypefind, gsttypefindfactory
24110
24111 2005-09-07  Andy Wingo  <wingo@pobox.com>
24112
24113         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
24114         condition whereby the pad's task function is entered before the
24115         pad_mode variable was set.
24116
24117 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
24118
24119         * gst/gstpad.c: (gst_pad_alloc_buffer):
24120           Catch misbehaving pad_alloc functions that don't
24121           set up caps and do it for them.
24122
24123 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24124
24125         * check/pipelines/simple_launch_lines.c: (run_pipeline):
24126           test for pipe!=NULL
24127         * docs/gst/tmpl/.cvsignore:
24128         * docs/gst/tmpl/gstmemchunk.sgml:
24129         * docs/gst/tmpl/gstparse.sgml:
24130         * docs/gst/tmpl/gsttaglist.sgml:
24131         * docs/gst/tmpl/gsttagsetter.sgml:
24132         * docs/gst/tmpl/gsttypefind.sgml:
24133         * docs/gst/tmpl/gsttypefindfactory.sgml:
24134         * gst/gstmemchunk.c:
24135         * gst/gstparse.c:
24136         * gst/gsttag.c:
24137         * gst/gsttaginterface.c:
24138         * gst/gsttypefind.c:
24139         * gst/gsttypefind.h:
24140           inlined more docs
24141
24142 === release 0.9.2 ===
24143
24144 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24145
24146         * NEWS:
24147         * RELEASE:
24148         * configure.ac:
24149           releasing 0.9.2, "South"
24150
24151 2005-09-05  Andy Wingo  <wingo@pobox.com>
24152
24153         * gst/registries/gstxmlregistry.h:
24154         * gst/registries/gstxmlregistry.c: Um... resurrect...
24155         
24156         * gst/registries/gstxmlregistry.h:
24157         * gst/registries/gstxmlregistry.c: and update to newer API.
24158         Incidentally they should be a bit faster now that they don't have
24159         to parse the caps.
24160         
24161 2005-09-05  Andy Wingo  <wingo@pobox.com>
24162
24163         * gst/registries/gstxmlregistry.h:
24164         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
24165         replaced by the libxml registry a while back
24166
24167 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24168
24169         * docs/gst/tmpl/gstplugin.sgml:
24170         * gst/elements/gstelements.c:
24171         * gst/gst.c:
24172         * gst/gstplugin.c: (gst_plugin_register_func),
24173         (gst_plugin_desc_copy), (gst_plugin_desc_free),
24174         (gst_plugin_get_source):
24175         * gst/gstplugin.h:
24176         * gst/registries/gstlibxmlregistry.c: (load_plugin),
24177         (gst_xml_registry_save_plugin):
24178         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
24179         (gst_xml_registry_save_plugin):
24180         * tools/gst-inspect.c: (print_plugin_info):
24181           add a "source" plugin description field, to represent the source
24182           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
24183           will set it to PACKAGE, which is automake's idea of the name of
24184           the source project.
24185
24186 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24187
24188         * Makefile.am:
24189         * autogen.sh:
24190         * configure.ac:
24191         * docs/Makefile.am:
24192         * docs/faq/Makefile.am:
24193         * docs/gst/tmpl/gstelement.sgml:
24194         * docs/gst/tmpl/gsttypes.sgml:
24195         * docs/htmlinstall.mak:
24196         * docs/manual/Makefile.am:
24197         * docs/pwg/Makefile.am:
24198           reorganize doc build a little
24199           split out docbook and gtk-doc stuff
24200           have two separate --enable's and enable them through autogen
24201           but disable by default in configure (to be similar to other
24202           projects)
24203         * gstreamer.spec.in:
24204           clean up docs install
24205         * po/af.po:
24206         * po/az.po:
24207         * po/ca.po:
24208         * po/cs.po:
24209         * po/de.po:
24210         * po/en_GB.po:
24211         * po/fr.po:
24212         * po/it.po:
24213         * po/nb.po:
24214         * po/nl.po:
24215         * po/ru.po:
24216         * po/sq.po:
24217         * po/sr.po:
24218         * po/sv.po:
24219         * po/tr.po:
24220         * po/uk.po:
24221         * po/vi.po:
24222           translation updates
24223
24224 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
24225
24226         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24227           Add comment.
24228           
24229         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24230         (gst_fake_sink_change_state):
24231           Make state change function thread-safe.
24232           
24233         * gst/gstpad.c: (gst_pad_alloc_buffer):
24234           Set offset on generic buffer allocated by fallback.
24235
24236 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
24237
24238         * docs/gst/gstreamer-sections.txt:
24239         * docs/gst/tmpl/gstelement.sgml:
24240         * gst/gstpad.c:
24241         * libs/gst/controller/gst-controller.c:
24242         (gst_controlled_property_set_interpolation_mode),
24243         (gst_controlled_property_new),
24244         (gst_controller_find_controlled_property):
24245          run the wingo-magic script against the docs
24246
24247 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24248
24249         * docs/gst/gstreamer-docs.sgml:
24250         * docs/gst/gstreamer-sections.txt:
24251         * docs/gst/tmpl/.cvsignore:
24252         * docs/gst/tmpl/gstelementdetails.sgml:
24253         * docs/gst/tmpl/gstelementfactory.sgml:
24254         * gst/gst.c:
24255         * gst/gstbus.c:
24256         * gst/gstelementfactory.c:
24257         * gst/gstelementfactory.h:
24258           merged elementdetails docs into elementfactory docs
24259           inlined both
24260
24261 2005-09-02  Andy Wingo  <wingo@pobox.com>
24262
24263         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24264         consider this enum an enum and not a flags.
24265
24266 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24267
24268         * docs/gst/gstreamer-docs.sgml:
24269         * docs/gst/tmpl/.cvsignore:
24270         * docs/gst/tmpl/gstghostpad.sgml:
24271         * docs/gst/tmpl/gstiterator.sgml:
24272         * docs/gst/tmpl/gstmacros.sgml:
24273         * docs/gst/tmpl/gstrealpad.sgml:
24274         * docs/gst/tmpl/gstregistry.sgml:
24275         * docs/gst/tmpl/gstregistrypool.sgml:
24276         * docs/gst/tmpl/gststructure.sgml:
24277         * docs/gst/tmpl/gstsystemclock.sgml:
24278         * docs/gst/tmpl/gsttrace.sgml:
24279         * gst/gstghostpad.c:
24280         * gst/gstmacros.h:
24281         * gst/gstmemchunk.c:
24282         * gst/gstmemchunk.h:
24283         * gst/gstqueue.c:
24284         * gst/gstregistry.c:
24285         * gst/gstregistrypool.c:
24286         * gst/gststructure.c:
24287         * gst/gstsystemclock.c:
24288           more docs inlined
24289
24290 2005-09-02  Andy Wingo  <wingo@pobox.com>
24291
24292         * gst/gstelement.h (GstState): Renamed from GstElementState,
24293         changed to be a normal enum instead of flags.
24294         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24295         munged to be GST_STATE_CHANGE_*.
24296         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24297         work with the new state representation.
24298         (GstStateChange): New enumeration of possible state transitions.
24299         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24300         (GstElementClass::change_state): Pass the GstStateChange along as
24301         an argument. Helps language bindings, so they don't have to use
24302         tricky lock-needing macros like GST_STATE_CHANGE ().
24303
24304         * scripts/update-states (file): New script. Run it on a file to
24305         update it for state naming and API changes. Updates files in
24306         place.
24307
24308         * All files updated for the new API.
24309
24310 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24311
24312         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24313         * gst/gstutils.c: (gst_util_set_value_from_string),
24314         (gst_util_set_object_arg):
24315           fix a bunch of unchecked return values
24316         * tools/gst-complete.c: (main):
24317         * gstreamer.spec.in:
24318           clean up a little
24319
24320 2005-09-01  Wim Taymans  <wim@fluendo.com>
24321
24322         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24323         (gst_base_sink_event), (gst_base_sink_do_sync),
24324         (gst_base_sink_handle_event):
24325         * gst/base/gstbasesink.h:
24326         Handle newsegments more correctly.
24327
24328         * gst/gstbus.c:
24329         Fix docs.
24330
24331         * gst/gstevent.c: (gst_event_new_newsegment):
24332         A newsegment cannot have a start_time of -1
24333
24334 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
24335
24336         * win32/gstenumtypes.c:
24337         * win32/gstenumtypes.h:
24338           Update
24339
24340 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24341
24342         * libs/gst/controller/gst-controller.c:
24343         (gst_controlled_property_set_interpolation_mode),
24344         (gst_controlled_property_new):
24345          fixed boolean again
24346
24347 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
24348
24349         * docs/faq/gst-uninstalled:
24350           add -good
24351         * gst/gstevent.c:
24352         * gst/gstevent.h:
24353           remove wrong docs
24354         * gst/gstutils.c: (gst_element_link_filtered):
24355         * gst/gstutils.h:
24356           add gst_element_link_filtered
24357
24358 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24359
24360         * docs/gst/gstreamer-docs.sgml:
24361         * docs/gst/gstreamer-sections.txt:
24362         * docs/gst/tmpl/.cvsignore:
24363         * docs/gst/tmpl/gsterror.sgml:
24364         * docs/gst/tmpl/gstfilter.sgml:
24365         * docs/gst/tmpl/gsturihandler.sgml:
24366         * docs/gst/tmpl/gsturitype.sgml:
24367         * docs/gst/tmpl/gstutils.sgml:
24368         * docs/gst/tmpl/gstxml.sgml:
24369         * gst/gsterror.c:
24370         * gst/gsterror.h:
24371         * gst/gstfilter.c:
24372         * gst/gsturi.c:
24373         * gst/gsturitype.c:
24374         * gst/gstutils.c:
24375         * gst/gstxml.c:
24376           inlined more docs, fixed double id-ref
24377
24378 2005-08-31  Wim Taymans  <wim@fluendo.com>
24379
24380         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24381         (gst_base_transform_handle_buffer):
24382         Passthrough elements don't need the caps as they don't care.
24383
24384 2005-08-31  Wim Taymans  <wim@fluendo.com>
24385
24386         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24387         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24388         Don't leak refcounts on buffers.
24389
24390 2005-08-31  Wim Taymans  <wim@fluendo.com>
24391
24392         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24393         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24394         (gst_base_transform_chain), (gst_base_transform_change_state):
24395         * gst/base/gstbasetransform.h:
24396         Handle the case where we are not negotiated more gracefully.
24397
24398 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
24399
24400         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24401         (gst_file_src_map_region):
24402           Set READONLY flag on mmap'ed buffers, otherwise
24403           gst_buffer_make_writable() won't work properly (#314708).
24404
24405 2005-08-31  Wim Taymans  <wim@fluendo.com>
24406
24407         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24408         passthrough elements can even do inplace on non writable
24409         buffers (as they don't touch them).
24410
24411 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24412
24413         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24414         (gst_test_mono_source_set_property),
24415         (gst_test_mono_source_class_init), (GST_START_TEST),
24416         (gst_controller_suite):
24417           more tests (hehe I have the most)
24418         * gst/gstbus.c:
24419           describe popping messages whenusing mulltiple sources
24420         * libs/gst/controller/gst-controller.c:
24421         (gst_controlled_property_set_interpolation_mode),
24422         (gst_controlled_property_new):
24423         * libs/gst/controller/gst-controller.h:
24424         * libs/gst/controller/gst-interpolation.c:
24425           implement boolean properties
24426
24427 2005-08-31  Wim Taymans  <wim@fluendo.com>
24428
24429         * gst/gstminiobject.c: (gst_mini_object_ref):
24430         Cannot assert that the refcount has to be positive
24431         since a disposed object can be resurrected.
24432
24433 2005-08-31  Wim Taymans  <wim@fluendo.com>
24434
24435         * gst/gstpad.c: (gst_pad_init):
24436         Revert change, need to first fix badly behaving 
24437         apps.
24438
24439 2005-08-30  Wim Taymans  <wim@fluendo.com>
24440
24441         * check/elements/fakesrc.c: (setup_fakesrc):
24442         * check/elements/identity.c: (setup_identity):
24443         Activate pads before using them.
24444
24445 2005-08-30  Wim Taymans  <wim@fluendo.com>
24446
24447         * gst/base/gstadapter.c: (gst_adapter_flush):
24448         Flushing out 0 bytes is ok for this function.
24449
24450         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24451         no newsegment gives a warning and sets the start/stop to 
24452         invalid.
24453
24454         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24455         (gst_base_transform_set_passthrough):
24456         Some debug info.
24457
24458         * gst/gstminiobject.c: (gst_mini_object_ref):
24459         Check refcount here too.
24460
24461         * gst/gstpad.c: (gst_pad_init):
24462         Pads are initially flushing and refusing data.
24463
24464         * gst/gstutils.c: (gst_element_link_pads_filtered):
24465         When adding a capsfilter element make sure it has the
24466         same state as the parent bin.
24467
24468 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24469
24470         * docs/gst/tmpl/.cvsignore:
24471         * docs/gst/tmpl/gstformat.sgml:
24472         * docs/gst/tmpl/gstversion.sgml:
24473         * gst/gstbus.h:
24474         * gst/gstformat.c:
24475         * gst/gstformat.h:
24476         * gst/gstversion.h.in:
24477           more docs and two more inlined
24478
24479 2005-08-30  Wim Taymans  <wim@fluendo.com>
24480
24481         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24482         Don't sync to clock.
24483
24484 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24485
24486         * docs/gst/gstreamer-sections.txt:
24487           ultral33t func10ns deserve to appear in the docs actually
24488         * docs/gst/tmpl/.cvsignore:
24489         * docs/gst/tmpl/gstcompat.sgml:
24490         * docs/gst/tmpl/gstconfig.sgml:
24491         * gst/check/gstcheck.c:
24492         * gst/gstcompat.h:
24493         * gst/gstconfig.h.in:
24494           inlined more docs
24495
24496 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24497
24498         * docs/gst/tmpl/.cvsignore:
24499         * docs/gst/tmpl/gstquery.sgml:
24500         * docs/gst/tmpl/gstutils.sgml:
24501         * gst/gstquery.c:
24502         * gst/gstquery.h:
24503           inlined and extended docs
24504
24505 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24506
24507         * check/gst-libs/controller.c: (GST_START_TEST),
24508         (gst_controller_suite):
24509           more tests
24510         * docs/gst/tmpl/gstutils.sgml:
24511         * docs/libs/gstreamer-libs-sections.txt:
24512         * docs/libs/tmpl/gstdataprotocol.sgml:
24513           include path fixes
24514         * examples/controller/audio-example.c: (main):
24515           controller example works now
24516         * gst/gstclock.h:
24517           doc fixes
24518         * tools/gst-inspect.c: (print_element_properties_info):
24519           show param spec flags
24520
24521 2005-08-29  Andy Wingo  <wingo@pobox.com>
24522
24523         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24524
24525 2005-08-28  Andy Wingo  <wingo@pobox.com>
24526
24527         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24528         as having two arguments instead of just one. Allows superclasses
24529         to access information on subclasses -- see the terrible for() loop
24530         in gtype.c:g_type_create_instance for the reason why. All callers
24531         changed.
24532
24533 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24534
24535         * docs/design/part-messages.txt:
24536           update info
24537         * docs/gst/tmpl/.cvsignore:
24538         * docs/gst/tmpl/gstcaps.sgml:
24539         * docs/gst/tmpl/gstclock.sgml:
24540         * gst/gstbus.c:
24541         * gst/gstcaps.c:
24542         * gst/gstcaps.h:
24543         * gst/gstclock.c:
24544         * gst/gstclock.h:
24545         * gst/gstmessage.c:
24546           added descriptions for bus and message
24547           inline caps and clock docs
24548
24549 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24550
24551         * gst/gstmessage.c:
24552         * gst/gstmessage.h:
24553           doc fixes
24554
24555 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24556
24557         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24558           fix div-by-zero
24559
24560 2005-08-26  Andy Wingo  <wingo@pobox.com>
24561
24562         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24563         element_set_state's return val.
24564         (test_2_elements): Add test that's been disabled for months.
24565
24566         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24567         can-activate-pull properties.
24568
24569         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24570         can-activate-pull properties. Implement is_seekable so fakesrc can
24571         operate in pull mode.
24572
24573         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24574         properties.
24575         (gst_base_sink_activate, gst_base_sink_activate_pull)
24576         (gst_base_sink_activate_push): Make activation mode choosing work.
24577         Cleanups.
24578         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24579         is right. Make pull mode work. Post an eos before pausing in pull
24580         mode.
24581         (gst_base_sink_change_state): Pay attention to the core's
24582         change_state() return val.
24583         
24584         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24585         has-getrange properties. Cleanups.
24586         
24587         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24588         has_getrange and replace with can_activate_pull and
24589         can_activate_push.
24590
24591         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24592         locking comments. Remove has_loop, has_chain and replace with
24593         can_activate_pull and can_activate_push.
24594
24595 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24596
24597         * configure.ac:
24598         * examples/Makefile.am:
24599         * examples/metadata/Makefile.am:
24600         * examples/metadata/read-metadata.c: (message_loop),
24601         (have_pad_handler), (make_pipeline), (print_tag), (main):
24602           Add metadata reading example that loops over a list of filenames,
24603           dumping any tags found.
24604
24605         * gst/gstbus.c: (gst_bus_dispose):
24606         * gst/gstelement.c: (gst_element_dispose):
24607           Release a few potentially-held references in dispose.
24608
24609 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24610
24611         * docs/gst/tmpl/gstminiobject.sgml:
24612           do *not* add tmpl/*.sgml files to CVS!
24613
24614 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24615
24616         * libs/gst/bytestream/.cvsignore:
24617         * libs/gst/bytestream/Makefile.am:
24618         * libs/gst/bytestream/adapter.c:
24619         * libs/gst/bytestream/adapter.h:
24620         * libs/gst/bytestream/bytestream.c:
24621         * libs/gst/bytestream/bytestream.h:
24622         * libs/gst/bytestream/filepad.c:
24623         * libs/gst/bytestream/filepad.h:
24624           removing obsolete files
24625
24626 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24627
24628         * docs/gst/gstreamer-docs.sgml:
24629         * docs/libs/gstreamer-libs-docs.sgml:
24630           disabed additional index entries again, as this makes docs-gen just
24631           slow and they aren't useful yet
24632         * docs/libs/gstreamer-libs-sections.txt:
24633           little -section.txt cleanup for libs
24634
24635 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24636
24637         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24638         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24639           fix up some debugging
24640         (gst_base_transform_get_unit_size),
24641         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24642         (gst_base_transform_handle_buffer):
24643         * gst/base/gstbasetransform.h:
24644           handle and store timed NEWSEGMENT events so that subclasses that
24645           calculate time by counting samples have a segment_start time they
24646           need to add to their timestamps - see audioresample
24647
24648 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24649
24650         * gst/gstbin.h:
24651           removed ';' from the end of macro defs
24652         * docs/gst/gstreamer-docs.sgml:
24653         * docs/gst/gstreamer-sections.txt:
24654         * docs/gst/tmpl/.cvsignore:
24655         * gst/gstbus.h:
24656         * gst/gstelement.c: (gst_element_class_init),
24657         (gst_element_set_state), (activate_pads),
24658         (gst_element_save_thyself):
24659         * gst/gstevent.c: (gst_event_new_newsegment):
24660         * gst/gstevent.h:
24661         * gst/gstiterator.c:
24662         * gst/gstiterator.h:
24663         * gst/gstpad.c:
24664         * gst/gstprobe.h:
24665         * gst/gstutils.c: (gst_pad_query_convert):
24666         * gst/gstutils.h:
24667           fixed parameter name mismatches between source, header and docs
24668           added some more docs, resolved the last batch of unused elements in
24669           docs (now someone needs to doc them)
24670
24671 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24672
24673         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24674         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24675           don't walk through the plugins backwards.  Where is all this
24676           reversed logic coming from ?
24677
24678 2005-08-25  Wim Taymans  <wim@fluendo.com>
24679
24680         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24681         (gst_base_transform_transform_size),
24682         (gst_base_transform_configure_caps),
24683         (gst_base_transform_get_unit_size),
24684         (gst_base_transform_buffer_alloc),
24685         (gst_base_transform_change_state):
24686         * gst/base/gstbasetransform.h:
24687         Cache caps unit_size.
24688         Make sure we cannot negotiate up and downstream at the
24689         same time.
24690
24691 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24692
24693         * gst/gst.c: (init_pre), (init_post):
24694           register the installed plugin path after the env var
24695         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24696         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24697           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24698           directories, so the tests can prefer uninstalled over installed
24699
24700 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24701
24702         * gst/base/gstbasetransform.h:
24703           comment
24704         * gst/gstpad.c:
24705           add to docs
24706
24707 2005-08-25  Wim Taymans  <wim@fluendo.com>
24708
24709         * gst/gstbin.c: (bin_bus_handler):
24710         Be a bit more conservative about the posted message.
24711         
24712         * gst/gstbus.c: (gst_bus_post):
24713         Some cleanups, warn wrong return values.
24714
24715 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24716
24717         * check/gst/gstbin.c: (GST_START_TEST):
24718         * gst/gstbin.c: (bin_bus_handler):
24719         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24720         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24721         (gst_message_new_warning), (gst_message_new_tag),
24722         (gst_message_new_state_changed), (gst_message_new_segment_start),
24723         (gst_message_new_segment_done), (gst_message_new_custom):
24724         * gst/gstmessage.h:
24725         * tools/gst-launch.c: (event_loop):
24726         * tools/gst-md5sum.c: (event_loop):
24727           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24728
24729 2005-08-25  Wim Taymans  <wim@fluendo.com>
24730
24731         * check/generic/states.c: (GST_START_TEST):
24732         Cleanup can be done at the end.
24733
24734         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24735         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24736         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24737         Oh boy.. Thanks for finding this, Thomas. 
24738
24739 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24740
24741         * docs/gst/gstreamer.types:
24742           added missing types
24743
24744 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24745
24746         * docs/gst/gstreamer-docs.sgml:
24747         * docs/gst/gstreamer-sections.txt:
24748         * docs/gst/tmpl/.cvsignore:
24749         * gst/gstbin.c:
24750         * gst/gstiterator.c:
24751         * gst/gstutils.c:
24752         * gst/registries/gstxmlregistry.h:
24753           added missing classes and symbols (123 more to go)
24754           removed removed symbols from section file
24755           fixed many doc-comments
24756
24757 2005-08-24  Wim Taymans  <wim@fluendo.com>
24758
24759         * check/generic/states.c: (GST_START_TEST):
24760         Make sure all tasks are stopped.
24761
24762         * check/gst/gstbin.c: (GST_START_TEST):
24763         Unref after usage for proper valgrinding.
24764
24765         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24766         Really wait for the task to stop before destroying the
24767         mutex.
24768
24769         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24770         (gst_queue_src_activate_push):
24771         Small cleanups. Don't stop the task when we did not start
24772         it.
24773
24774         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24775         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24776         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24777         (gst_task_join):
24778         * gst/gsttask.h:
24779         Protect the stream lock with the object lock.
24780         Disallow setting the stream lock when running.
24781         Add cleanup_all to wait for the threadpool to finish.
24782         Remove code to autoallocate a mutex if none was provided.
24783         Add _join() to wait for a task to stop.
24784         Protect the thread pool with a global lock.
24785
24786 2005-08-24  Wim Taymans  <wim@fluendo.com>
24787
24788         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24789         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24790         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24791         * gst/base/gstbasesink.h:
24792         Handle newsegment events correctly.
24793         Drop buffers out of the segment range.
24794
24795 2005-08-22  Andy Wingo  <wingo@pobox.com>
24796
24797         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24798         macro, implements an interface and gstimplementsinterface for a
24799         new type.
24800
24801 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24802
24803         * check/Makefile.am:
24804         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24805           add a test that does a bunch of state changes on elements
24806           needs some fixing for valgrind
24807         * check/states/sinks.c: (gst_object_suite):
24808           whitespace
24809         * gst/gstcaps.h:
24810           add prototype for gst_caps_is_equal_fixed
24811         * gst/gstplugin.c:
24812         * gst/gstregistrypool.c:
24813           doc fixes
24814
24815 2005-08-24  Andy Wingo  <wingo@pobox.com>
24816
24817         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24818         convert a negative value. Doesn't make much sense. Mostly this is
24819         here to force callers to ensure -1 maps to -1.
24820
24821 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24822
24823         * docs/pwg/advanced-types.xml:
24824           Well done to Michael for catching my deliberate introduction
24825           of this spelling mistake. 
24826         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24827         * gst/gstelement.h:
24828           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24829           unlink pads before removing the element from the bin.
24830
24831 2005-08-24  Andy Wingo  <wingo@pobox.com>
24832
24833         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24834         the same thing as GST_DEBUG=*:4.
24835         (parse_debug_level, parse_debug_category): New helper parsers.
24836
24837 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24838
24839         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24840         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24841         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24842         (gst_base_transform_buffer_alloc),
24843         (gst_base_transform_handle_buffer):
24844           use gboolean return values and pointers to size so we can use the
24845           full GST_BUFFER_SIZE range (guint) for buffer sizes
24846           use GstPadDirection for transform_caps
24847         * gst/base/gstbasetransform.h:
24848           rename get_size to get_unit_size since that's what it is
24849         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24850           use GstPadDirection for transform_caps
24851         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24852         * gst/gstutils.h:
24853           cleanup and debugging
24854
24855 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24856
24857         * gst/gstelement.c: (gst_element_class_init),
24858         (gst_element_set_state), (activate_pads),
24859         (gst_element_save_thyself):
24860         * tools/gst-compprep.c: (main):
24861         * tools/gst-inspect.c: (print_element_properties_info):
24862         * tools/gst-xmlinspect.c: (print_element_properties):
24863           Fixed long standing mem-leak
24864
24865 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24866
24867         * check/gst/gstbin.c: (GST_START_TEST):
24868         * gst/gstbin.c: (bin_bus_handler):
24869         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24870         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24871         (gst_message_new_warning), (gst_message_new_tag),
24872         (gst_message_new_state_changed), (gst_message_new_segment_start),
24873         (gst_message_new_segment_done), (gst_message_new_custom):
24874         * gst/gstmessage.h:
24875         * tools/gst-launch.c: (event_loop):
24876         * tools/gst-md5sum.c: (event_loop):
24877           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24878           that applications can sensibly post custom messages with references
24879           to their own objects.
24880
24881 2005-08-24  Andy Wingo  <wingo@pobox.com>
24882
24883         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24884         already.
24885
24886 2005-08-24  Wim Taymans  <wim@fluendo.com>
24887
24888         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24889         (gst_base_transform_transform_caps),
24890         (gst_base_transform_transform_size),
24891         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24892         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24893         (gst_base_transform_handle_buffer):
24894         * gst/base/gstbasetransform.h:
24895         Many fixes and new features added by Thomas. Can now also do
24896         transforms with variable sizes and a custom fixate_caps function.
24897
24898 2005-08-24  Wim Taymans  <wim@fluendo.com>
24899
24900         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24901         Some debugging.
24902
24903         * gst/gstclock.h:
24904         Cast to ClockTime before formatting to time.
24905
24906         * gst/gstutils.h:
24907         Cleanups.
24908
24909 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24910
24911         * check/gst-libs/controller.c: (GST_START_TEST),
24912         (gst_controller_suite):
24913         * docs/gst/tmpl/gstcaps.sgml:
24914         * docs/gst/tmpl/gstghostpad.sgml:
24915         * docs/gst/tmpl/gstquery.sgml:
24916         * docs/gst/tmpl/gstutils.sgml:
24917         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24918         (gst_object_sink_values), (gst_object_get_value_arrays),
24919         (gst_object_get_value_array):
24920           gracefully handle helper method calls to objects that are not beeing
24921           controlled, added test case for that          
24922
24923 2005-08-23  Wim Taymans  <wim@fluendo.com>
24924
24925         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24926         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24927         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24928         (gst_event_parse_qos), (gst_event_new_seek),
24929         (gst_event_parse_seek):
24930         * gst/gstevent.h:
24931         Some more debugging output and doc cleanups.
24932
24933         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24934         Fix possible deadlock.
24935
24936 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24937
24938         * docs/gst/gstreamer-docs.sgml:
24939         * docs/gst/gstreamer-sections.txt:
24940         * docs/gst/gstreamer.types:
24941         * docs/gst/tmpl/.cvsignore:
24942         * gst/gstbin.h:
24943         * gst/gstbus.c:
24944         * gst/gstelement.c:
24945         * gst/gstevent.h:
24946           added 100 symbols from gstreamer-unused.txt to the right sections
24947           fixed more broken comments
24948           added GstBus to docs
24949
24950 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24951
24952         * docs/gst/gstreamer-sections.txt:
24953         * docs/gst/tmpl/.cvsignore:
24954         * docs/gst/tmpl/gstbin.sgml:
24955         * docs/gst/tmpl/gstbuffer.sgml:
24956         * gst/base/gstbasesrc.c:
24957         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24958         * gst/gstbuffer.c:
24959         * gst/gstbuffer.h:
24960         * tools/gst-launch.1.in:
24961           inlined more doc comments, added missing comments and fixed comments
24962           fixed typos
24963
24964 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24965
24966         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24967           some debugging
24968         * gst/gstcaps.h:
24969           whitespace fixes
24970         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24971           more debugging
24972         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24973         * gst/gststructure.h:
24974           add a fixate function for booleans; add a FIXME that these func
24975           names should probably be gst_structure_fixate_*
24976
24977 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24978
24979         * docs/gst/gstreamer-docs.sgml:
24980         * docs/gst/gstreamer-sections.txt:
24981         * gst/Makefile.am:
24982         * gst/gstbin.c: (gst_bin_get_type),
24983         (gst_bin_child_proxy_get_child_by_index),
24984         (gst_bin_child_proxy_get_children_count),
24985         (gst_bin_child_proxy_init):
24986         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24987         (gst_child_proxy_get_child_by_index),
24988         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24989         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24990         (gst_child_proxy_get), (gst_child_proxy_set_property),
24991         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24992         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24993         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24994         * gst/gstchildproxy.h:
24995         * gst/parse/grammar.y:
24996         * tools/gst-inspect.c: (print_interfaces),
24997         (print_element_properties_info), (print_element_info):
24998           ported gstchildproxy over from 0.8
24999           ported gst-inspect fixes and enhancements over from 0.8
25000
25001 2005-08-22  Wim Taymans  <wim@fluendo.com>
25002
25003         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25004         (gst_base_transform_handle_buffer):
25005         Also call the transform function if we have ANY caps.
25006
25007         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
25008         Fix debug info.
25009
25010 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
25011
25012         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
25013           Don't pretend to handle seek events if the source is not seekable
25014
25015 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
25016
25017         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25018           Remove extra parameter to debug output
25019
25020         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25021         (gst_base_src_do_seek), (gst_base_src_activate_push):
25022           Fix seek event handling.
25023
25024         * gst/gstpipeline.c: (gst_pipeline_change_state):
25025         * gst/gstqueue.c: (gst_queue_handle_sink_event),
25026         (gst_queue_src_activate_push):
25027           Don't start the src pad task on FLUSH_STOP if the pad
25028           isn't linked.
25029           Debug changes.
25030
25031 2005-08-22  Wim Taymans  <wim@fluendo.com>
25032
25033         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
25034         Added check for gst_static_caps_get() refcounting.
25035
25036 2005-08-22  Wim Taymans  <wim@fluendo.com>
25037
25038         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
25039         Make _static_caps_get() refcounting sane.
25040         
25041         * gst/gstelement.c: (gst_element_set_state):
25042         Add g_return_val_if_fail() to protect against segfaults.
25043
25044 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
25045
25046         * docs/gst/tmpl/gstevent.sgml:
25047         * gst/gstevent.c:
25048         * gst/gstevent.h:
25049           inlined remaining docs, added missing doc comments
25050
25051 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25052
25053         * check/gst/gstbin.c: (GST_START_TEST):
25054           since we don't know when preroll is done, use refcount range
25055           check for the sink
25056         * gst/check/gstcheck.h:
25057           add macro for checking refcount range
25058
25059 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25060
25061         * check/Makefile.am:
25062           clean up environment for when registry gets built versus
25063           when actual tests are run; valgrind seems to not report
25064           leaks if GST_PLUGIN_PATH is set to some specific values
25065         * check/gst/gstbin.c: (GST_START_TEST):
25066           add more refcounting checks; maybe this exposes a
25067           preroll lock bug ?
25068         * common/check.mak:
25069         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25070         * gst/check/gstcheck.h:
25071         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
25072         (gst_bin_change_state):
25073         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
25074           add/fix debugging/whitespace
25075
25076 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
25077
25078         * check/gst/gstevent.c: (event_probe), (test_event),
25079         (GST_START_TEST):
25080          Er, don't call gst_bin_watch_for_state_change you idiot.
25081
25082 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
25083
25084         * check/Makefile.am:
25085           Use CHECK_CFLAGS and CHECK_LIBS
25086         * check/gst/gstevent.c: (event_probe), (test_event),
25087         (GST_START_TEST):
25088           Don't leak events.
25089         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25090         (gst_base_src_start), (gst_base_src_stop),
25091         (gst_base_src_activate_push), (gst_base_src_activate_pull),
25092         (gst_base_src_change_state):
25093           Sprinkle gst_base_src_stop liberally around error paths to fix
25094           problems reusing a source after failed state changes.
25095         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25096         (helper_find_suggest), (gst_type_find_helper):
25097           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
25098         * gst/gstevent.h:
25099         * docs/gst/tmpl/gstevent.sgml:
25100           Migrate part of the docs from the SGML file. Wait for ensonic to
25101           tell me how I did it wrong ;)
25102         * tools/gst-typefind.c: (main):
25103           Extra robustness to state changes between files.
25104
25105 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25106
25107         * check/Makefile.am:
25108           don't valgrind the controller test - it's leaking - Stefan, HELP
25109         * gst/check/gstcheck.c: (gst_check_message_error),
25110         (gst_check_chain_func), (gst_check_setup_element),
25111         (gst_check_teardown_element), (gst_check_setup_src_pad),
25112         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
25113         (gst_check_teardown_sink_pad):
25114         * gst/check/gstcheck.h:
25115           add a bunch of methods to set up elements, and src and sink pads
25116         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
25117         * check/elements/identity.c: (setup_identity), (cleanup_identity),
25118         (GST_START_TEST):
25119           use them
25120         * gst/gstmessage.c:
25121         * gst/gsttag.h:
25122           whitespace/doc fixes
25123
25124 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25125
25126         * gst/gstelement.h:
25127           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
25128           be handled by the application and not always printed as well
25129
25130 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25131
25132         * check/Makefile.am:
25133           set GST_TOOLS_DIR
25134         * gst/check/gstcheck.c: (gst_check_message_error):
25135         * gst/check/gstcheck.h:
25136           add a fail_unless_equals_int
25137           add fail_unless for error messages
25138
25139 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25140
25141         * check/Makefile.am:
25142         * check/gst.supp:
25143         * common/Makefile.am:
25144         * common/check.mak:
25145         * common/gst.supp:
25146           factor out some of the common stuff so we can use it
25147
25148 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25149
25150         * check/Makefile.am:
25151         * check/gst/gstiterator.c: (GST_START_TEST):
25152         * check/gst/gstsystemclock.c: (GST_START_TEST),
25153         (gst_systemclock_suite):
25154         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25155         * gst/gstclock.c:
25156           valgrind more tests
25157
25158 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25159
25160         * check/elements/.cvsignore:
25161         * check/elements/gstfakesrc.c:
25162           rename to name of element
25163         * check/elements/identity.c: (chain_func), (event_func),
25164         (setup_identity), (cleanup_identity), (GST_START_TEST),
25165         (identity_suite), (main):
25166           add a test for identity
25167         * check/Makefile.am:
25168         * pkgconfig/Makefile.am:
25169         * pkgconfig/gstreamer-check.pc.in:
25170         * pkgconfig/gstreamer-check-uninstalled.pc.in:
25171         * gst/check:
25172         * gst/Makefile.am:
25173         * configure.ac:
25174           move the check stuff to a library that gets installed
25175         * check/gst-libs/controller.c: (GST_START_TEST):
25176         * check/gst-libs/gdp.c:
25177         * check/gst/gst.c: (GST_START_TEST):
25178         * check/gst/gstbin.c:
25179         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25180         * check/gst/gstbus.c:
25181         * check/gst/gstcaps.c: (GST_START_TEST):
25182         * check/gst/gstelement.c:
25183         * check/gst/gstghostpad.c:
25184         * check/gst/gstiterator.c:
25185         * check/gst/gstmessage.c:
25186         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
25187         * check/gst/gstobject.c:
25188         * check/gst/gstpad.c: (GST_START_TEST):
25189         * check/gst/gststructure.c: (GST_START_TEST):
25190         * check/gst/gstsystemclock.c: (GST_START_TEST),
25191         (gst_systemclock_suite):
25192         * check/gst/gsttag.c: (gst_tag_suite):
25193         * check/gst/gstvalue.c:
25194         * check/pipelines/cleanup.c:
25195         * check/pipelines/simple_launch_lines.c:
25196         * check/states/sinks.c:
25197           change include statement
25198
25199         * docs/gst/gstreamer-sections.txt:
25200         * docs/gst/tmpl/gstpad.sgml:
25201           document more pad stuff
25202         * gst/gstminiobject.c: (gst_mini_object_ref),
25203         (gst_mini_object_unref):
25204           debug refcounting
25205
25206 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
25207
25208         * docs/gst/tmpl/gst.sgml:
25209         * gst/gst.c:
25210           eliminate another tmpl file, fix spelling in the long-description
25211
25212 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25213
25214         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25215         (test_event), (timediff), (gstevents_suite):
25216           Should fix build on 64-bit arch's
25217
25218 2005-08-18  Andy Wingo  <wingo@pobox.com>
25219
25220         Make sure that when a pipeline goes to PLAYING, that data has
25221         actually hit the sink.
25222
25223         * check/states/sinks.c (test_sink): A sink that doesn't get any
25224         data shouldn't return SUCCESS for going to either PLAYING or
25225         PAUSED. Test also the return values on the way back down.
25226
25227         * gst/gstelement.c (gst_element_set_state): When changing the
25228         state of an element currently changing state asynchronously, go to
25229         lost-state after commiting the pending state. Makes future calls
25230         to get_state continue to return ASYNC.
25231
25232         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25233         ASYNC when going to PLAYING if we still don't have preroll, as can
25234         happen with live sources.
25235
25236 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25237
25238         * docs/pwg/advanced-types.xml:
25239           Hack long paragraph into 2 chunks as a workaround for buggy
25240           jadetex version in sid and breezy that loops infinitely and
25241           eats all RAM.
25242
25243 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25244
25245         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25246         (test_event), (timediff), (gstevents_suite):
25247           Provide more error margin in clock measurements to allow for 
25248           g_get_current_time inaccuracies.
25249
25250 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25251
25252         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25253         (test_event), (timediff), (gstevents_suite):
25254            Fix error message output so I might be able to tell why the
25255            test works here but fails on the build farm.
25256
25257 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25258
25259         * check/Makefile.am:
25260         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25261         (test_event), (timediff), (gstevents_suite), (main):
25262           I wrote a test!
25263
25264         * docs/design/part-seeking.txt:
25265           Spelling correction
25266
25267         * docs/gst/tmpl/gstevent.sgml:
25268         * docs/gst/tmpl/gstfakesrc.sgml:
25269           Docs updates.
25270
25271         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25272           Treat a buffer-without-newsegment the same as a receiving 
25273           a newsegment not in time format, and disable syncing to the clock
25274           with a warning.
25275
25276         * gst/gstbus.c: (gst_bus_set_sync_handler):
25277           Assert if anyone tries to replace the existing sync_handler for bus, 
25278           as only the owner should be setting it.
25279
25280         * gst/gstevent.h:
25281           Have a fixed set of custom event enums with events identified by
25282           their structure name (as in 0.8), rather than a free-for-all
25283           allowing collisions between enum values from different plugins.
25284
25285         * gst/gstpad.c: (gst_pad_class_init):
25286           Docs change.
25287           
25288         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25289           Handle out-of-band downstream events from the sending thread.
25290
25291 2005-08-17  Andy Wingo  <wingo@pobox.com>
25292
25293         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25294         play-timeout==0 to mean no timeout at all. In that case, don't
25295         bother with a get_state or a warning, just return directly, even
25296         if it's ASYNC.
25297
25298         * gst/base/gstbasetransform.c: Debug changes.
25299
25300         * gst/gstutils.h:
25301         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25302         ensure bins post state change messages. A bit of a hack but I can't
25303         think of a way to avoid it.
25304
25305         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25306
25307 2005-08-16  Andy Wingo  <wingo@pobox.com>
25308
25309         * gst/base/gstadapter.h:
25310         * gst/base/gstadapter.c (gst_adapter_take): New function, like
25311         peek() but you own the data. Not terribly efficient atm.
25312
25313 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25314
25315         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25316         (gst_element_found_tags):
25317         * gst/gstutils.h:
25318           Add two utility functions for tag handling.
25319
25320 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25321
25322         * docs/manual/advanced-dataaccess.xml:
25323         * docs/manual/basics-helloworld.xml:
25324           Fix docs to use _bin_add() before _link(), which fixes the examples
25325           with recent core versions (reported by Madhan Raj M
25326           <raj_madan@rediffmail.com>, #313199).
25327
25328 2005-08-16  Wim Taymans  <wim@fluendo.com>
25329
25330         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25331         Added subtract checks.
25332
25333         * docs/design/part-events.txt:
25334         Some more docs about newsegment
25335
25336         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25337         Fix FIXME
25338
25339         * gst/gstcaps.c: (gst_caps_to_string):
25340         Add comments, cleanups.
25341         
25342         * gst/gstelement.c: (gst_element_save_thyself):
25343         cleanups
25344         
25345         * gst/gstvalue.c: (gst_value_collect_int_range),
25346         (gst_string_unwrap), (gst_value_union_int_int_range),
25347         (gst_value_union_int_range_int_range),
25348         (gst_value_intersect_int_int_range),
25349         (gst_value_intersect_int_range_int_range),
25350         (gst_value_intersect_double_double_range),
25351         (gst_value_intersect_double_range_double_range),
25352         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25353         (gst_value_subtract_int_range_int),
25354         (gst_value_subtract_double_range_double),
25355         (gst_value_subtract_double_range_double_range),
25356         (gst_value_subtract_from_list), (gst_value_subtract_list),
25357         (gst_value_can_compare), (gst_value_compare_fraction):
25358         Cleanups, add comments, remove unneeded asserts.
25359
25360 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25361
25362         * tools/gst-launch.c: (event_loop):
25363           don't convert NULL structures to strings
25364
25365 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
25366
25367         * docs/gst/gstreamer-sections.txt:
25368           made some defines private
25369         * docs/gst/tmpl/gstconfig.sgml:
25370         * docs/gst/tmpl/gstqueue.sgml:
25371         * docs/gst/tmpl/gsttaglist.sgml:
25372         * docs/gst/tmpl/gsttypes.sgml:
25373         * docs/gst/tmpl/gstutils.sgml:
25374         * docs/pwg/appendix-porting.xml:
25375         * gst/base/gstbasesink.h:
25376         * gst/base/gstbasesrc.c:
25377         * gst/base/gstbasesrc.h:
25378         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25379         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25380         * gst/gstelement.c: (gst_element_class_init):
25381         * gst/gstpad.c: (gst_pad_class_init):
25382         * gst/gstqueue.c: (gst_queue_class_init):
25383         * gst/gstxml.c: (gst_xml_class_init):
25384           documented all undocumented signal inline
25385         * libs/gst/controller/gst-controller.h:
25386           added padding
25387
25388 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25389
25390         * docs/pwg/appendix-porting.xml:
25391           Document _set_link_function -> _set_setcaps_function.
25392
25393 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25394
25395         * check/Makefile.am:
25396           add a .check target for running the check
25397         * check/gst-libs/controller.c: (GST_START_TEST):
25398           cosmetic fixups
25399         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25400           complete checks for gstbuffer; would be nice if I could get the
25401           gcov stuff to work so I can see if I actually completed gstbuffer.c
25402         * check/gstcheck.h:
25403           add ASSERT_BUFFER_REFCOUNT
25404
25405 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
25406
25407         * docs/gst/gstreamer-sections.txt:
25408         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25409         * gst/gsttag.h:
25410           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25411           spew out a warning if a tag that is already registered
25412           is re-registered, unless it is re-registered with a 
25413           different type (#308438).
25414
25415 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
25416
25417         * docs/pwg/appendix-porting.xml:
25418         * docs/pwg/building-state.xml:
25419           Add some paragraphs about state changes in 0.9 to the PWG
25420           and the porting guide, in particular about the new meaning
25421           of GST_STATE_PAUSED and how to write state change functions
25422           with concurrent access by multiple threads in mind.
25423
25424 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
25425
25426         * docs/gst/gstreamer-docs.sgml:
25427         * docs/libs/gstreamer-libs-docs.sgml:
25428           added deprecation and since indexes
25429         * libs/gst/controller/gst-controller.c:
25430         * libs/gst/controller/gst-helper.c:
25431           added since tags
25432
25433
25434 2005-08-11  Wim Taymans  <wim@fluendo.com>
25435
25436         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25437         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25438         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25439         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25440         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25441         (gst_ghost_pad_set_target):
25442         Actually implement (re)setting the target on a ghostpad
25443         as described in the docs.
25444
25445 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25446
25447         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25448           Check whether GST_DEBUG_NO_COLOR environment variable is
25449           set and disable coloured debug output if that is the case.
25450
25451 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25452
25453         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25454         (gst_type_find_helper):
25455           The memory returned by gst_type_find_peek() needs to
25456           stay valid until the end of a typefind function, and
25457           typefind functions may keep results from different 
25458           offsets around, so we can't just unref the buffer from
25459           the previous _peek(), but have to save all buffers 
25460           returned by _peek() until typefinding is done and only
25461           free them then.
25462
25463 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
25464
25465         * docs/gst/gstreamer-sections.txt:
25466         * gst/gstutils.h:
25467           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25468
25469 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25470
25471         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25472           Fix a pretty good memleak.
25473
25474 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25475
25476         * gst/gstiterator.h:
25477           Fix wrong include and 'make distcheck'.
25478
25479 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25480
25481         * gst/gstbin.c: (bin_bus_handler):
25482           Use gst_element_post_message() instead.
25483
25484 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25485
25486         * gst/base/gstadapter.h:
25487         * gst/base/gstbasesink.h:
25488         * gst/base/gstbasesrc.h:
25489         * gst/base/gstbasetransform.h:
25490         * gst/base/gstcollectpads.h:
25491         * gst/base/gstpushsrc.h:
25492         * gst/gstiterator.h:
25493           Add padding to our base elements' class and instance structs and
25494           to GstIterator (you will need to rebuild all plugins and apps!)
25495
25496 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25497
25498         * gst/gstbin.c: (bin_bus_handler):
25499           Make default message forwarding from child->bus to bin->bus
25500           threadsafe and make it not emit warnings if the parent has no bus.
25501
25502 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25503
25504         * gst/gstelement.c: (activate_pads):
25505           On paused->ready, set pad->caps to NULL, as is the documented
25506           behaviour in this state change. Fixes playback of series of
25507           media files when visualization is enabled in Totem.
25508
25509 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25510
25511         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25512           Allow NULL as filter-caps (which means "any").
25513
25514 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25515
25516         * docs/libs/gstreamer-libs-sections.txt:
25517         * libs/gst/controller/gst-controller.c:
25518         * libs/gst/controller/gst-controller.h:
25519         * libs/gst/controller/gst-helper.c:
25520           adding more entries to the docs and fix small doc-bugs
25521
25522 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25523
25524         * docs/gst/gstreamer-docs.sgml:
25525         * docs/gst/gstreamer-sections.txt:
25526         * docs/gst/gstreamer.types:
25527         * docs/gst/tmpl/gstbasesink.sgml:
25528         * docs/gst/tmpl/gstbasesrc.sgml:
25529         * docs/gst/tmpl/gstbasetransform.sgml:
25530         * docs/gst/tmpl/gstfakesrc.sgml:
25531         * gst/base/gstcollectpads.c:
25532         * gst/base/gstcollectpads.h:
25533         * libs/gst/controller/gst-controller.c:
25534         * libs/gst/controller/gst-controller.h:
25535         * libs/gst/controller/gst-helper.c:
25536         * libs/gst/controller/gst-interpolation.c:
25537         * libs/gst/controller/lib.c:
25538           added long/short desc for controller docs
25539           added collectpads base class docs
25540           added correct includes to base-class docs
25541
25542 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25543
25544         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25545         (gst_test_mono_source_set_property),
25546         (gst_test_mono_source_class_init), (GST_START_TEST),
25547         (gst_controller_suite):
25548         * docs/gst/gstreamer-docs.sgml:
25549         * docs/gst/gstreamer-sections.txt:
25550         * docs/gst/gstreamer.types:
25551         * docs/libs/gstreamer-libs-docs.sgml:
25552         * docs/libs/gstreamer-libs-sections.txt:
25553         * gst/base/gstadapter.c:
25554         * libs/gst/controller/gst-controller.c:
25555         (gst_controlled_property_new), (gst_controlled_property_free),
25556         (gst_controller_new_valist),
25557         (gst_controller_remove_properties_valist),
25558         (gst_controller_sink_values), (_gst_controller_finalize):
25559         * libs/gst/controller/gst-controller.h:
25560         * libs/gst/controller/gst-helper.c:
25561         (gst_object_control_properties), (gst_object_uncontrol_properties),
25562         (gst_object_get_controller), (gst_object_set_controller),
25563         (gst_object_sink_values), (gst_object_get_value_arrays),
25564         (gst_object_get_value_array):
25565           more tests (and fixes) for the controller
25566           more docs for the controller
25567           integrated companies docs for the adapter 
25568
25569 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25570
25571         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25572         (GST_START_TEST), (fakesrc_suite):
25573           add tests for sizetype
25574
25575 2005-08-04  Andy Wingo  <wingo@pobox.com>
25576
25577         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25578         fixes buffer_alloc proxying among other things.
25579
25580         * gst/base/gstbasetransform.c:
25581         * gst/base/gstbasetransform.h:
25582         Revert patch to gstbasetransform from 7-28 removing
25583         delay_configure.
25584
25585         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25586         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25587         Semantics changed, should return not the size of the output buffer
25588         but the byte size of a buffer with a given caps.
25589
25590         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25591         debug object.
25592         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25593         out) are not the pad caps until setcaps finishes.
25594         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25595         not-in-place case as well. Deal with changing from in-place to
25596         not-in-place within calling pad_alloc_buffer. Still a bit
25597         concerned about the overhead here...
25598
25599 2005-08-03  Andy Wingo  <wingo@pobox.com>
25600
25601         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25602         fixating is an error.
25603
25604 2005-08-04  Edward Hervey  <edward@fluendo.com>
25605
25606         * gst/base/gstadapter.h: 
25607         Added gst_adapter_get_type() to the header
25608
25609 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25610
25611         * check/Makefile.am:
25612         * check/gst-libs/controller.c:
25613         * libs/gst/controller/gst-controller.c:
25614         (gst_controller_new_valist):
25615           added check test suite for the controller
25616         * gst/base/gstpushsrc.c:
25617           fixed a doc typo
25618
25619 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25620
25621         * docs/gst/Makefile.am:
25622         * docs/gst/gstreamer-docs.sgml:
25623         * docs/gst/gstreamer-sections.txt:
25624         * docs/gst/gstreamer.types:
25625         * docs/gst/tmpl/gstfakesrc.sgml:
25626         * gst/base/README:
25627         * gst/base/gstbasesink.c:
25628         * gst/base/gstbasesink.h:
25629         * gst/base/gstbasesrc.c:
25630         * gst/base/gstbasesrc.h:
25631         * gst/base/gstbasetransform.c:
25632         * gst/base/gstpushsrc.c:
25633         * gst/base/gstpushsrc.h:
25634           add short/long description docs to base classes
25635           add pushsrc to the docs
25636           remove consolidated doc fragments
25637
25638 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25639
25640         * configure.ac:
25641         * docs/libs/Makefile.am:
25642         * docs/libs/gstreamer-libs-docs.sgml:
25643         * docs/libs/gstreamer-libs-sections.txt:
25644         * docs/libs/gstreamer-libs.types:
25645         * examples/Makefile.am:
25646         * examples/controller/.cvsignore:
25647         * examples/controller/Makefile.am:
25648         * examples/controller/audio-example.c: (main):
25649         * libs/gst/Makefile.am:
25650         * libs/gst/controller/.cvsignore:
25651         * libs/gst/controller/Makefile.am:
25652         * libs/gst/controller/gst-controller.c:
25653         (on_object_controlled_property_changed), (gst_timed_value_compare),
25654         (gst_timed_value_find),
25655         (gst_controlled_property_set_interpolation_mode),
25656         (gst_controlled_property_new), (gst_controlled_property_free),
25657         (gst_controller_find_controlled_property),
25658         (gst_controller_new_valist), (gst_controller_new),
25659         (gst_controller_remove_properties_valist),
25660         (gst_controller_remove_properties), (gst_controller_set),
25661         (gst_controller_set_from_list), (gst_controller_unset),
25662         (gst_controller_get), (gst_controller_get_all),
25663         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25664         (gst_controller_get_value_array),
25665         (gst_controller_set_interpolation_mode),
25666         (_gst_controller_finalize), (_gst_controller_init),
25667         (_gst_controller_class_init), (gst_controller_get_type):
25668         * libs/gst/controller/gst-controller.h:
25669         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25670         (g_object_uncontrol_properties), (g_object_get_controller),
25671         (g_object_set_controller), (g_object_sink_values),
25672         (g_object_get_value_arrays), (g_object_get_value_array):
25673         * libs/gst/controller/gst-interpolation.c:
25674         (gst_controlled_property_find_timed_value_node),
25675         (interpolate_none_get), (interpolate_trigger_get),
25676         (interpolate_trigger_get_value_array):
25677         * libs/gst/controller/lib.c: (gst_controller_init):
25678         * pkgconfig/Makefile.am:
25679         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25680         * pkgconfig/gstreamer-control.pc.in:
25681         * testsuite/Makefile.am:
25682         * testsuite/controller/.cvsignore:
25683         * testsuite/controller/Makefile.am:
25684         * testsuite/controller/interpolator.c: (main):
25685           added controller code
25686           removed dparam pc files
25687
25688 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25689         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25690         (gst_collectpads_stop):
25691           Broadcast the condition when shutting down, to make sure we wake all
25692           threads up. Shut down pads on finalize, for safety.
25693
25694 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25695         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25696         (gst_base_transform_handle_buffer),
25697         (gst_base_transform_change_state):
25698           Handle PAUSED->READY->PAUSED transition after negotiation
25699           occurred already.
25700         * gst/gstmessage.c: (gst_message_init):
25701           Extra piece of debug for new messages.
25702
25703 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25704
25705         * configure.ac:
25706         * docs/gst/tmpl/gstbasesrc.sgml:
25707         * docs/gst/tmpl/gstelement.sgml:
25708         * docs/gst/tmpl/gstevent.sgml:
25709         * docs/gst/tmpl/gstfakesrc.sgml:
25710         * docs/gst/tmpl/gstformat.sgml:
25711         * docs/gst/tmpl/gstghostpad.sgml:
25712         * docs/gst/tmpl/gstpad.sgml:
25713         * docs/gst/tmpl/gstquery.sgml:
25714         * docs/gst/tmpl/gststructure.sgml:
25715         * docs/gst/tmpl/gsttaglist.sgml:
25716         * docs/gst/tmpl/gstvalue.sgml:
25717         * docs/libs/gstreamer-libs-docs.sgml:
25718         * docs/libs/gstreamer-libs-sections.txt:
25719         * docs/libs/gstreamer-libs.types:
25720         * libs/gst/Makefile.am:
25721         * libs/gst/control/.cvsignore:
25722         * libs/gst/control/Makefile.am:
25723         * libs/gst/control/control.c:
25724         * libs/gst/control/control.h:
25725         * libs/gst/control/dparam.c:
25726         * libs/gst/control/dparam.h:
25727         * libs/gst/control/dparam_smooth.c:
25728         * libs/gst/control/dparam_smooth.h:
25729         * libs/gst/control/dparamcommon.h:
25730         * libs/gst/control/dparammanager.c:
25731         * libs/gst/control/dparammanager.h:
25732         * libs/gst/control/dplinearinterp.c:
25733         * libs/gst/control/dplinearinterp.h:
25734         * libs/gst/control/unitconvert.c:
25735         * libs/gst/control/unitconvert.h:
25736         * testsuite/Makefile.am:
25737         * testsuite/dynparams/.cvsignore:
25738         * testsuite/dynparams/Makefile.am:
25739         * testsuite/dynparams/dparamstest.c:
25740         * tools/Makefile.am:
25741         * tools/gst-inspect.c: (print_element_info), (main):
25742         * tools/gst-xmlinspect.c: (print_element_info), (main):
25743           deactivate and remove dparams (libgstcontrol)
25744
25745 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25746
25747         * gst/elements/gsttypefindelement.c:
25748         (gst_type_find_element_have_type), (gst_type_find_element_init),
25749         (stop_typefinding), (gst_type_find_element_handle_event),
25750         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25751         * gst/elements/gsttypefindelement.h:
25752           Set caps on all outgoing buffers, not just the first one.
25753
25754 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25755
25756         * gst/elements/gsttypefindelement.c:
25757         (gst_type_find_element_have_type),
25758         (gst_type_find_element_check_set_buffer_caps),
25759         (gst_type_find_element_init), (stop_typefinding),
25760         (gst_type_find_element_handle_event),
25761         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25762         * gst/elements/gsttypefindelement.h:
25763           Set caps on first outgoing buffer when we've found the type.
25764
25765 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25766
25767         * docs/gst/gstreamer-docs.sgml:
25768         * docs/gst/gstreamer-sections.txt:
25769         * docs/gst/tmpl/gstscheduler.sgml:
25770         * docs/gst/tmpl/gstschedulerfactory.sgml:
25771           Remove some old cruft from docs.
25772
25773 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25774
25775         * gst/gstpad.h:
25776           Fix inline docs for GstPadLinkReturn.
25777           
25778         * gst/gststructure.c: (gst_structure_has_name):
25779         * gst/gststructure.h:
25780         * docs/gst/gstreamer-sections.txt:
25781           New API: gst_structure_has_name().
25782
25783 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25784
25785         * configure.ac:
25786           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25787           and _LARGEFILE_SOURCE in config.h as required. Do not 
25788           export those flags in our .pc files any longer (#142209).
25789
25790           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25791
25792         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25793         (gst_file_sink_do_seek), (gst_file_sink_event),
25794         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25795           Redo seek/tell calls with large file support in mind; add some
25796           debugging messages; add log message that tells us when large
25797           file support is unavailable or not enabled for some reason.
25798
25799         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25800           Add log message that tells us when large file support 
25801           is unavailable or not enabled for some reason.
25802
25803 2005-07-29  Wim Taymans  <wim@fluendo.com>
25804
25805         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25806         Added test for removing an element with ghostpad from a bin.
25807         Fixed test as current implementation does the right thing.
25808
25809         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25810         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25811         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25812         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25813         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25814         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25815         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25816         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25817         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25818         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25819         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25820         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25821         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25822         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25823         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25824         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25825         * gst/gstghostpad.h:
25826         Clean up ghostpads, remove properties for internal stuff.
25827         Make threadsafe.
25828         Fix refcounting.
25829         Prepare for switching targets, not all use cases work yet.
25830
25831 2005-07-29  Wim Taymans  <wim@fluendo.com>
25832
25833         * docs/design/part-gstghostpad.txt:
25834         Small update.
25835
25836         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25837         (gst_bin_remove_func):
25838         Unlinking pads while holding the bin LOCK is not a good
25839         idea.
25840
25841         * gst/gstpad.c: (gst_pad_class_init),
25842         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25843         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25844         No prob setting template after creating the pad.
25845
25846 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25847
25848         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25849         (gst_bus_peek), (gst_bus_source_dispatch),
25850         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25851         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25852           gst_bus_poll may be called from other threads. Handle
25853           this nicely by not making poll_data disappear off the
25854           stack once gst_bus_poll returns.
25855           gst_bus_peek now increments the refcount on the returned
25856           message.
25857
25858 2005-07-29  Wim Taymans  <wim@fluendo.com>
25859
25860         * docs/design/part-gstghostpad.txt:
25861         Overview of current GhostPad datastructures and use
25862         cases for changing the target.
25863
25864 2005-07-28  Wim Taymans  <wim@fluendo.com>
25865
25866         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25867         Added checks for hierarchy consistency whan adding linked
25868         elements to bins.
25869
25870         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25871         Added check to test element scheduling without bin/pipeline.
25872
25873         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25874         First add elements to bin, then link.
25875         
25876         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25877         (gst_bin_remove_func):
25878         Unlink pads from elements added/removed from bin to maintain
25879         hierarchy consistency.
25880
25881 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25882
25883         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25884         (gst_base_transform_handle_buffer):
25885         * gst/base/gstbasetransform.h:
25886           Remove broken delay_configure (fixes renegotiation of software
25887           scaling pipelines); remove some leftover printf()s.
25888
25889 2005-07-28  Wim Taymans  <wim@fluendo.com>
25890
25891         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25892         Added some more tests for wrong hierarchy
25893
25894         * docs/design/part-overview.txt:
25895         Some updates.
25896
25897         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25898         Cleanups.
25899
25900         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25901         (gst_element_dispose):
25902         Some more cleanups.
25903
25904         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25905         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25906         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25907         (gst_pad_set_caps), (gst_pad_send_event):
25908         Check for correct hierarchy when linking pads. Moving to
25909         strict requirement for ghostpads when linking elements in
25910         different bins.
25911
25912         * gst/gstpad.h:
25913         Clean ups. Added WRONG_HIERARCHY return value.
25914
25915 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25916
25917         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25918           Better debug if no transform is possible.
25919
25920 2005-07-27  Wim Taymans  <wim@fluendo.com>
25921
25922         * docs/random/wtay/network-transp:
25923         Some old doc I had.
25924
25925 2005-07-27  Wim Taymans  <wim@fluendo.com>
25926
25927         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25928         (gst_dp_event_from_packet):
25929         Fix serialization of seek events.
25930
25931 2005-07-27  Wim Taymans  <wim@fluendo.com>
25932
25933         * check/gst-libs/gdp.c: (GST_START_TEST):
25934         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25935         Fix compilation and fix event serialization.
25936
25937 2005-07-27  Wim Taymans  <wim@fluendo.com>
25938
25939         * CHANGES-0.9:
25940         * docs/design/part-TODO.txt:
25941         * docs/design/part-events.txt:
25942         Some docs updates
25943
25944         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25945         (gst_base_sink_event), (gst_base_sink_do_sync),
25946         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25947         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25948         (gst_base_src_do_seek), (gst_base_src_event_handler),
25949         (gst_base_src_loop):
25950         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25951         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25952         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25953         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25954         (gst_base_transform_set_passthrough),
25955         (gst_base_transform_is_passthrough):
25956         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25957         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25958         Event updates.
25959
25960         * gst/gstbuffer.h:
25961         Use faster casts.
25962
25963         * gst/gstelement.c: (gst_element_seek):
25964         * gst/gstelement.h:
25965         Update gst_element_seek.
25966
25967         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25968         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25969         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25970         (gst_event_new_eos), (gst_event_new_newsegment),
25971         (gst_event_parse_newsegment), (gst_event_new_tag),
25972         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25973         (gst_event_parse_qos), (gst_event_new_seek),
25974         (gst_event_parse_seek), (gst_event_new_navigation):
25975         * gst/gstevent.h:
25976         Make GstEvent use GstStructure. Add parsing code, make sure the
25977         API is sufficiently generic.
25978         Mark possible directions of events and serialization.
25979
25980         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25981         (_gst_message_copy), (gst_message_new_segment_start),
25982         (gst_message_new_segment_done), (gst_message_new_custom),
25983         (gst_message_parse_segment_start),
25984         (gst_message_parse_segment_done):
25985         Small cleanups.
25986
25987         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25988         (gst_pad_set_caps), (gst_pad_send_event):
25989         Update for new events. 
25990         Catch events sent in wrong directions.
25991
25992         * gst/gstqueue.c: (gst_queue_link_src),
25993         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25994         (gst_queue_handle_src_query):
25995         Event updates.
25996
25997         * gst/gsttag.c:
25998         * gst/gsttag.h:
25999         Remove event code from this file.
26000
26001         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26002         (gst_dp_event_from_packet):
26003         Event updates.
26004
26005 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26006
26007         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
26008         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26009         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
26010           Make debugging actually useful.
26011
26012 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26013
26014         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
26015         (gst_pad_fixate_caps):
26016           Implement default fixation once again, so that gst_pad_fixate()
26017           actually does anything at all. This probably needs to be some
26018           sort of a last resort, and use profile-based fixation first, but
26019           since that doesn't exist yet, this is the best we have. Fixes
26020           visualization in Totem.
26021
26022 2005-07-22  Wim Taymans  <wim@fluendo.com>
26023
26024         * docs/design/part-events.txt:
26025         Small update.
26026
26027         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26028         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
26029         (gst_base_sink_activate_pull):
26030         Some more comments.
26031
26032         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
26033         (gst_fake_src_create):
26034         Fix handoff marshall.
26035
26036         * gst/elements/gstidentity.c: (gst_identity_class_init),
26037         (gst_identity_transform_ip):
26038         We're a real inplace element.
26039
26040         * gst/gstbus.c: (gst_bus_post):
26041         Added some comments.
26042
26043         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
26044         * tests/muxing/case1.c: (main):
26045         * tests/sched/dynamic-pipeline.c: (main):
26046         * tests/sched/interrupt1.c: (main):
26047         * tests/sched/interrupt2.c: (main):
26048         * tests/sched/interrupt3.c: (main):
26049         * tests/sched/runxml.c: (main):
26050         * tests/sched/sched-stress.c: (main):
26051         * tests/seeking/seeking1.c: (event_received), (main):
26052         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
26053         (main):
26054         * tests/threadstate/threadstate3.c: (main):
26055         * tests/threadstate/threadstate4.c: (main):
26056         * tests/threadstate/threadstate5.c: (main):
26057         Fix the tests.
26058
26059 2005-07-21  Wim Taymans  <wim@fluendo.com>
26060
26061         * docs/design/part-seeking.txt:
26062         Some small additions.
26063
26064         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26065         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26066         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26067         * gst/base/gstbasesink.h:
26068         discont values are gint64, handle the math correctly.
26069
26070         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26071         Make the basesrc report error if the source pad is not linked.
26072
26073         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
26074         (gst_queue_loop), (gst_queue_handle_src_query),
26075         (gst_queue_src_activate_push):
26076         Make queue collect data even if the srcpad is not linked.
26077         Start pushing out data as soon as it is linked.
26078
26079         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
26080         * gst/gstutils.h:
26081         Added gst_flow_get_name() to ease error reporting.
26082
26083 2005-07-20  Wim Taymans  <wim@fluendo.com>
26084
26085         * gst/gstmessage.c: (gst_message_new_segment_start),
26086         (gst_message_new_segment_done), (gst_message_parse_segment_start),
26087         (gst_message_parse_segment_done):
26088         * gst/gstmessage.h:
26089         Added a bunch of messages for advanced seeking.
26090
26091         * gst/parse/grammar.y:
26092         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
26093         (gst_dpman_state_changed):
26094         Fix some new-pad -> pad-added signals
26095
26096 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26097
26098         * docs/manual/appendix-porting.xml:
26099         * docs/pwg/appendix-porting.xml:
26100           Document new-pad/state-change signal renames and the FixedList
26101           type rename.
26102
26103 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26104
26105         * docs/manual/advanced-autoplugging.xml:
26106         * docs/manual/basics-helloworld.xml:
26107         * docs/manual/basics-pads.xml:
26108         * docs/random/ds/0.9-suggested-changes:
26109         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
26110         * gst/gstelement.h:
26111         * gst/gstevent.h:
26112         * gst/gstformat.h:
26113         * gst/gstquery.h:
26114         * gst/gststructure.c: (gst_structure_value_get_generic_type),
26115         (gst_structure_parse_array), (gst_structure_parse_value):
26116         * gst/gstvalue.c: (gst_type_is_fixed),
26117         (gst_value_list_prepend_value), (gst_value_list_append_value),
26118         (gst_value_list_get_size), (gst_value_list_get_value),
26119         (gst_value_transform_array_string), (gst_value_serialize_array),
26120         (gst_value_deserialize_array), (gst_value_intersect_array),
26121         (gst_value_is_fixed), (_gst_value_initialize):
26122         * gst/gstvalue.h:
26123           GstElement::new-pad -> pad-added, GstElement::state-change ->
26124           state-changed, GstValueFixedList -> GstValueArray, add format and
26125           flags as their own arguments in gst_element_seek() (should improve
26126           "bindeability"), remove function generators since they don't work
26127           under a whole bunch of compilers (they were deprecated already
26128           anyway).
26129
26130 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26131
26132         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
26133         (_gst_debug_register_funcptr):
26134         * gst/gstinfo.h:
26135           Fix illegal cast on some platforms (#309253).
26136
26137 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26138
26139         * gst/gstmessage.c: (gst_message_new_custom):
26140         * gst/gstmessage.h:
26141           Add _new_custom, make _new_application a macro to _new_custom.
26142
26143 2005-07-20  Wim Taymans  <wim@fluendo.com>
26144
26145         * gst/base/gstbasesrc.c: (gst_base_src_init),
26146         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
26147         * gst/base/gstbasesrc.h:
26148         Add a gboolean to decide when to push out a discont.
26149
26150         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26151         (gst_queue_loop), (gst_queue_handle_src_query),
26152         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
26153         (gst_queue_set_property), (gst_queue_get_property):
26154         Some cleanups.
26155
26156         * tests/threadstate/threadstate1.c: (main):
26157         Make a thread test compile and run... very silly..
26158
26159
26160 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26161
26162         * docs/manual/appendix-porting.xml:
26163           Mention removal of libgstgconf-0.9.la and existence of gconf
26164           elements.
26165
26166 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26167
26168         * docs/pwg/advanced-clock.xml:
26169         * docs/pwg/appendix-porting.xml:
26170         * docs/pwg/intro-preface.xml:
26171         * docs/pwg/other-base.xml:
26172         * docs/pwg/other-manager.xml:
26173         * docs/pwg/other-nton.xml:
26174         * docs/pwg/other-ntoone.xml:
26175         * docs/pwg/other-oneton.xml:
26176         * docs/pwg/pwg.xml:
26177           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
26178           demuxer), remove n-to-n (was never written), fix some code examples
26179           and links and update the porting section to include all this.
26180
26181 2005-07-19  Wim Taymans  <wim@fluendo.com>
26182
26183         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
26184         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
26185         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
26186         (gst_queue_src_activate_push), (gst_queue_change_state),
26187         (gst_queue_get_property):
26188         * gst/gstqueue.h:
26189         Propagate GstFlowReturn more intelligently upstream and output
26190         an ERROR/EOS when streaming stopped due to fatal error.
26191
26192 2005-07-19  Wim Taymans  <wim@fluendo.com>
26193
26194         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26195         Don't block forever for the state change to complete, the
26196         pipeline already did with a sensible timeout.
26197
26198 2005-07-19  Wim Taymans  <wim@fluendo.com>
26199
26200         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
26201         Make sure we never call the create function is we
26202         got deactivated.
26203
26204 2005-07-19  Andy Wingo  <wingo@pobox.com>
26205
26206         * gst/parse/parse.l: Attempt to solve bug #172815.
26207
26208 2005-07-19  Wim Taymans  <wim@fluendo.com>
26209
26210         * docs/design/part-clocks.txt:
26211         * docs/design/part-events.txt:
26212         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
26213         Small docs updates.
26214         Only update the seeking values when we are not
26215         busy streaming.
26216
26217 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
26218
26219         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26220           Oops, ignore the result of gst_pad_push_event here.
26221
26222 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
26223
26224         * gst/base/gstbasesrc.c: (gst_base_src_loop),
26225         (gst_base_src_activate_push):
26226           Send discont event from the loop function, as pads
26227           aren't activated yet in the activate_push handler.
26228
26229         * gst/gstbin.c: (bin_bus_handler):
26230           Don't leak element name.
26231
26232 2005-07-18  Andy Wingo  <wingo@pobox.com>
26233
26234         * configure.ac: Use AS_LIBTOOL_TAGS.
26235
26236 2005-07-18  Wim Taymans  <wim@fluendo.com>
26237
26238         * docs/gst/gstreamer.types:
26239         Remove deleted types.
26240
26241 2005-07-18  Wim Taymans  <wim@fluendo.com>
26242
26243         * check/elements/gstfakesrc.c: (GST_START_TEST):
26244         * configure.ac:
26245         * gst/Makefile.am:
26246         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26247         (init_popt_callback):
26248         * gst/gst.h:
26249         * gst/gst_private.h:
26250         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26251         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26252         * gst/gstbin.h:
26253         * gst/gstbus.h:
26254         * gst/gstconfig.h.in:
26255         * gst/gstelement.c: (gst_element_class_init),
26256         (gst_element_set_base_time), (gst_element_get_base_time),
26257         (iterator_fold_with_resync), (gst_element_change_state),
26258         (gst_element_dispose), (gst_element_get_bus):
26259         * gst/gstelement.h:
26260         * gst/gstelementfactory.h:
26261         * gst/gsterror.c: (_gst_core_errors_init):
26262         * gst/gsterror.h:
26263         * gst/gstevent.h:
26264         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26265         * gst/gstindex.c:
26266         * gst/gstinfo.c: (_gst_debug_init):
26267         * gst/gstmessage.c: (_gst_message_copy):
26268         * gst/gstmessage.h:
26269         * gst/gstminiobject.h:
26270         * gst/gstobject.c:
26271         * gst/gstobject.h:
26272         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26273         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26274         * gst/gstpad.h:
26275         * gst/gstparse.h:
26276         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26277         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26278         (gst_pipeline_get_last_stream_time):
26279         * gst/gstpipeline.h:
26280         * gst/gstpluginfeature.h:
26281         * gst/gstquery.h:
26282         * gst/gstscheduler.c:
26283         * gst/gstscheduler.h:
26284         * gst/gststructure.h:
26285         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26286         (gst_task_finalize), (gst_task_func), (gst_task_create),
26287         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26288         (gst_task_stop), (gst_task_pause):
26289         * gst/gsttask.h:
26290         * gst/gsttypefind.h:
26291         * gst/gsttypes.h:
26292         * gst/registries/gstlibxmlregistry.c: (load_feature),
26293         (gst_xml_registry_load), (gst_xml_registry_save_feature):
26294         * gst/registries/gstxmlregistry.c:
26295         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26296         * gst/schedulers/threadscheduler.c:
26297         * libs/gst/control/dparammanager.h:
26298         * tools/gst-inspect.c: (print_element_list),
26299         (print_plugin_features), (print_element_features):
26300         * tools/gst-xmlinspect.c: (print_element_list),
26301         (print_plugin_info), (main):
26302         Removed plugable schedulers.
26303         Removed Scheduler/Manager from elements.
26304         Removed gsttypes.h, rearranged includes.
26305         Removed dependency pad<->element, element<>pipeline, and
26306         various others,  fix includes.
26307         implement gst_pad_get_parent() with gst_object_get_parent()
26308         Make GstTask sefcontained.
26309         Fix _get_state() on GstBin, it did not return ASYNC with a 0
26310         timeout.
26311         Fix endless loop in iterator_fold_with_resync.
26312
26313
26314 2005-07-18  Wim Taymans  <wim@fluendo.com>
26315
26316         * gst/Makefile.am:
26317         * gst/gstarch.h:
26318         Remove old file.
26319
26320 2005-07-18  Wim Taymans  <wim@fluendo.com>
26321
26322         * gst/Makefile.am:
26323         No more cothreads.h
26324
26325 2005-07-18  Wim Taymans  <wim@fluendo.com>
26326
26327         * gst/cothreads.c:
26328         * gst/cothreads.h:
26329         Let's remove these.
26330
26331 2005-07-18  Wim Taymans  <wim@fluendo.com>
26332
26333         * docs/design/part-dynamic.txt:
26334         * docs/design/part-events.txt:
26335         * docs/design/part-seeking.txt:
26336         Some more docs in the works.
26337
26338         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26339         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26340         (gst_base_transform_setcaps), (gst_base_transform_get_size),
26341         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26342         (gst_base_transform_handle_buffer),
26343         (gst_base_transform_sink_activate_push),
26344         (gst_base_transform_src_activate_pull),
26345         (gst_base_transform_set_passthrough),
26346         (gst_base_transform_is_passthrough):
26347         Refcounting fixes.
26348
26349         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26350         Cleanups.
26351
26352         * gst/gstevent.c: (gst_event_finalize):
26353         Set SRC to NULL.
26354
26355         * gst/gstutils.c: (gst_element_unlink),
26356         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26357         (gst_pad_proxy_setcaps):
26358         * gst/gstutils.h:
26359         Add _get_parent_element() to get a pads parent as an element.
26360
26361 2005-07-18  Wim Taymans  <wim@fluendo.com>
26362
26363         * check/gst/gstbin.c: (GST_START_TEST):
26364         Remove bogus test.
26365
26366 2005-07-18  Wim Taymans  <wim@fluendo.com>
26367
26368         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26369         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26370         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26371         (gst_base_sink_event), (gst_base_sink_do_sync),
26372         (gst_base_sink_chain), (gst_base_sink_loop),
26373         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26374         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26375         Refcounting fixes.
26376         Fix logic for returning ASYNC when not prerolled.
26377
26378 2005-07-18  Wim Taymans  <wim@fluendo.com>
26379
26380         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26381         Fix nasty refcount bug.
26382
26383 2005-07-16 Philippe Khalaf <burger@speedy.org>
26384
26385         * gst/elements/gstfdsrc.c:
26386         * gst/elements/gstfdsrc.h:
26387         * gst/elements/gstelements.c:
26388         * gst/elements/Makefile.am:
26389         Ported fdsrc to 0.9.
26390
26391 2005-07-16  Wim Taymans  <wim@fluendo.com>
26392
26393         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26394         (gst_base_sink_do_sync):
26395         Fix compile error.
26396
26397 2005-07-16  Wim Taymans  <wim@fluendo.com>
26398
26399         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26400         (gst_base_sink_event), (gst_base_sink_get_times),
26401         (gst_base_sink_do_sync), (gst_base_sink_change_state):
26402         * gst/base/gstbasesink.h:
26403         Store and use discont values when syncing buffers as described
26404         in design docs.
26405         
26406         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26407         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26408         (gst_base_src_activate_push):
26409         Push discont event when starting.
26410
26411         * gst/elements/gstidentity.c: (gst_identity_transform):
26412         Small cleanups.
26413
26414         * gst/gstbin.c: (gst_bin_change_state):
26415         Small cleanups in base_time  distribution.
26416
26417         * gst/gstelement.c: (gst_element_set_base_time),
26418         (gst_element_get_base_time), (gst_element_change_state):
26419         * gst/gstelement.h:
26420         Added methods for the base_time of the element.
26421         Some MT fixes.
26422
26423         * gst/gstpipeline.c: (gst_pipeline_send_event),
26424         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26425         (gst_pipeline_get_last_stream_time):
26426         * gst/gstpipeline.h:
26427         MT fixes.
26428         Handle seeking as described in design doc, remove stream_time
26429         hack.
26430         Cleanups clock and stream_time selection code. Added accessors
26431         for the stream_time.
26432         
26433
26434 2005-07-16  Andy Wingo  <wingo@pobox.com>
26435
26436         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26437         (#305291).
26438
26439 2005-07-16  Wim Taymans  <wim@fluendo.com>
26440
26441         * check/gst/gstbin.c: (GST_START_TEST):
26442         Make elements silent as the deep_notify refs the
26443         parent, which might make the test fail.
26444
26445         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26446         Don't hold the lock for too long.
26447
26448 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
26449
26450         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26451           Don't unref the caps we passed to gst_caps_make_writable() after
26452           passing them. gst_caps_make_writable() will do that for us.
26453
26454 2005-07-15  Andy Wingo  <wingo@pobox.com>
26455
26456         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26457         (#157311).
26458
26459         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26460         own marshalling function for the handoff signal. Properly type the
26461         buffer as a buffer. Fixes some warnings. Should do a more general
26462         solution.
26463         (gst_identity_class_init): Plug into the right marshaller.
26464
26465 2005-07-15  Wim Taymans  <wim@fluendo.com>
26466
26467         * docs/design/part-TODO.txt:
26468         * docs/design/part-clocks.txt:
26469         * docs/design/part-element-sink.txt:
26470         * docs/design/part-events.txt:
26471         * docs/design/part-gstpipeline.txt:
26472         Updated docs, mostly DISCONT related.
26473
26474 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
26475
26476         * docs/pwg/building-pads.xml:
26477           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26478
26479 2005-07-15  Andy Wingo  <wingo@pobox.com>
26480
26481         * tools/gst-typefind.c: Update, add copyright block.
26482
26483         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26484         Normalize and truncate caps before fixation.
26485
26486         * gst/gstcaps.h:
26487         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26488         discards all but the first structure from its argument.
26489
26490 2005-07-15  Wim Taymans  <wim@fluendo.com>
26491
26492         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26493         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26494         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26495         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26496         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26497         (gst_base_transform_chain), (gst_base_transform_change_state),
26498         (gst_base_transform_set_passthrough),
26499         (gst_base_transform_is_passthrough):
26500         * gst/base/gstbasetransform.h:
26501         Make passthrough work using the bufferpools.
26502         Changed API a bit, subclasses have to write into a buffer
26503         provided by the base class.
26504         More debug info in nego functions.
26505         
26506         * gst/elements/gstidentity.c: (gst_identity_init),
26507         (gst_identity_transform):
26508         Port to new base class.
26509
26510 2005-07-15  Wim Taymans  <wim@fluendo.com>
26511
26512         * gst/gstmessage.c: (gst_message_new_state_changed):
26513         * tools/gst-launch.c: (event_loop), (main):
26514         Totally dump messages in -launch with the -m option.
26515         Fix message name for State messages,
26516
26517 2005-07-14  Wim Taymans  <wim@fluendo.com>
26518
26519         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26520         Post error messages on errors.
26521
26522 2005-07-14  Wim Taymans  <wim@fluendo.com>
26523
26524         * gst/gstcaps.c: (gst_caps_do_simplify):
26525         Remove debug info.
26526
26527         * gst/gsterror.h:
26528         Define error for stream stopped.
26529
26530         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26531         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26532         Do proper return values.
26533
26534         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26535         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26536         (gst_pad_get_range):
26537         Better return values.
26538
26539         * gst/gstpad.h:
26540         Reorganise return values, add macro to check for fatal errors.
26541
26542         * gst/gstqueue.c: (gst_queue_chain):
26543         Return proper GstFlowReturn values,
26544
26545 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26546
26547         * docs/gst/gstreamer-sections.txt:
26548         * docs/gst/gstreamer.types:
26549         * docs/gst/tmpl/gst.sgml:
26550         * docs/gst/tmpl/gstbasesink.sgml:
26551         * docs/gst/tmpl/gstbasesrc.sgml:
26552         * docs/gst/tmpl/gstbasetransform.sgml:
26553         * docs/gst/tmpl/gstbin.sgml:
26554         * docs/gst/tmpl/gstbuffer.sgml:
26555         * docs/gst/tmpl/gstcaps.sgml:
26556         * docs/gst/tmpl/gstclock.sgml:
26557         * docs/gst/tmpl/gstcompat.sgml:
26558         * docs/gst/tmpl/gstconfig.sgml:
26559         * docs/gst/tmpl/gstelement.sgml:
26560         * docs/gst/tmpl/gstelementdetails.sgml:
26561         * docs/gst/tmpl/gstelementfactory.sgml:
26562         * docs/gst/tmpl/gstenumtypes.sgml:
26563         * docs/gst/tmpl/gsterror.sgml:
26564         * docs/gst/tmpl/gstevent.sgml:
26565         * docs/gst/tmpl/gstfakesink.sgml:
26566         * docs/gst/tmpl/gstfakesrc.sgml:
26567         * docs/gst/tmpl/gstfilesink.sgml:
26568         * docs/gst/tmpl/gstfilesrc.sgml:
26569         * docs/gst/tmpl/gstfilter.sgml:
26570         * docs/gst/tmpl/gstformat.sgml:
26571         * docs/gst/tmpl/gstghostpad.sgml:
26572         * docs/gst/tmpl/gstimplementsinterface.sgml:
26573         * docs/gst/tmpl/gstindex.sgml:
26574         * docs/gst/tmpl/gstindexfactory.sgml:
26575         * docs/gst/tmpl/gstinfo.sgml:
26576         * docs/gst/tmpl/gstiterator.sgml:
26577         * docs/gst/tmpl/gstmacros.sgml:
26578         * docs/gst/tmpl/gstmemchunk.sgml:
26579         * docs/gst/tmpl/gstminiobject.sgml:
26580         * docs/gst/tmpl/gstobject.sgml:
26581         * docs/gst/tmpl/gstpad.sgml:
26582         * docs/gst/tmpl/gstpadtemplate.sgml:
26583         * docs/gst/tmpl/gstparse.sgml:
26584         * docs/gst/tmpl/gstpipeline.sgml:
26585         * docs/gst/tmpl/gstplugin.sgml:
26586         * docs/gst/tmpl/gstpluginfeature.sgml:
26587         * docs/gst/tmpl/gstquery.sgml:
26588         * docs/gst/tmpl/gstqueue.sgml:
26589         * docs/gst/tmpl/gstregistry.sgml:
26590         * docs/gst/tmpl/gstregistrypool.sgml:
26591         * docs/gst/tmpl/gstscheduler.sgml:
26592         * docs/gst/tmpl/gstschedulerfactory.sgml:
26593         * docs/gst/tmpl/gststructure.sgml:
26594         * docs/gst/tmpl/gstsystemclock.sgml:
26595         * docs/gst/tmpl/gsttaglist.sgml:
26596         * docs/gst/tmpl/gsttagsetter.sgml:
26597         * docs/gst/tmpl/gsttrace.sgml:
26598         * docs/gst/tmpl/gsttrashstack.sgml:
26599         * docs/gst/tmpl/gsttypefind.sgml:
26600         * docs/gst/tmpl/gsttypefindfactory.sgml:
26601         * docs/gst/tmpl/gsttypes.sgml:
26602         * docs/gst/tmpl/gsturihandler.sgml:
26603         * docs/gst/tmpl/gsturitype.sgml:
26604         * docs/gst/tmpl/gstutils.sgml:
26605         * docs/gst/tmpl/gstvalue.sgml:
26606         * docs/gst/tmpl/gstversion.sgml:
26607         * docs/gst/tmpl/gstxml.sgml:
26608         * docs/libs/tmpl/gstcontrol.sgml:
26609         * docs/libs/tmpl/gstdataprotocol.sgml:
26610         * docs/libs/tmpl/gstdparam.sgml:
26611         * docs/libs/tmpl/gstdplinint.sgml:
26612         * docs/libs/tmpl/gstdpman.sgml:
26613         * docs/libs/tmpl/gstdpsmooth.sgml:
26614         * docs/libs/tmpl/gstgetbits.sgml:
26615         * docs/libs/tmpl/gstunitconvert.sgml:
26616         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26617         (gst_push_src_base_init), (gst_push_src_class_init),
26618         (gst_push_src_init), (gst_push_src_create):
26619         * gst/base/gstpushsrc.h:
26620         * gst/elements/gstelements.c:
26621         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26622         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26623         (gst_fake_sink_init), (gst_fake_sink_set_property),
26624         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26625         (gst_fake_sink_event), (gst_fake_sink_preroll),
26626         (gst_fake_sink_render), (gst_fake_sink_change_state):
26627         * gst/elements/gstfakesink.h:
26628         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26629         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26630         (gst_fake_src_base_init), (gst_fake_src_class_init),
26631         (gst_fake_src_init), (gst_fake_src_event_handler),
26632         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26633         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26634         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26635         (gst_fake_src_create_buffer), (gst_fake_src_create),
26636         (gst_fake_src_start), (gst_fake_src_stop):
26637         * gst/elements/gstfakesrc.h:
26638         * gst/elements/gstfilesink.c: (_do_init),
26639         (gst_file_sink_base_init), (gst_file_sink_class_init),
26640         (gst_file_sink_init), (gst_file_sink_dispose),
26641         (gst_file_sink_set_location), (gst_file_sink_set_property),
26642         (gst_file_sink_get_property), (gst_file_sink_open_file),
26643         (gst_file_sink_close_file), (gst_file_sink_query),
26644         (gst_file_sink_event), (gst_file_sink_render),
26645         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26646         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26647         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26648         * gst/elements/gstfilesink.h:
26649         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26650         (gst_file_src_class_init), (gst_file_src_init),
26651         (gst_file_src_finalize), (gst_file_src_set_location),
26652         (gst_file_src_set_property), (gst_file_src_get_property),
26653         (gst_file_src_map_region), (gst_file_src_map_small_region),
26654         (gst_file_src_create_mmap), (gst_file_src_create_read),
26655         (gst_file_src_create), (gst_file_src_is_seekable),
26656         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26657         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26658         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26659         (gst_file_src_uri_handler_init):
26660         * gst/elements/gstfilesrc.h:
26661           more autistic cleanliness in functions/names/defines
26662
26663 2005-07-13  Andy Wingo  <wingo@pobox.com>
26664
26665         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26666         source couldn't negotiate.
26667
26668         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26669         connections again.
26670
26671         * gst/gstutils.h:
26672         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26673         function. I am channeling Hades. Put your boots on suckers!!!
26674
26675 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26676
26677         * testsuite/caps/Makefile.am:
26678         * testsuite/caps/value_compare.c:
26679         * testsuite/caps/value_intersect.c:
26680         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26681           move two testsuite apps over to the check dir
26682
26683 2005-07-12  Wim Taymans  <wim@fluendo.com>
26684
26685         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26686         Added more debug info in the negotiate process.
26687
26688         * gst/gstmessage.h:
26689         Prepare for segment playback.
26690
26691         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26692         Better debugging.
26693
26694         * gst/gstutils.c:
26695         Some more docs.
26696
26697         * tools/gst-launch.c: (main):
26698         NULL pipeline on errors.
26699
26700 2005-07-12  Andy Wingo  <wingo@pobox.com>
26701
26702         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26703         not it comes from a malloc region. Make sure our copy gets freed.
26704
26705 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26706
26707         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26708         * check/gst/gstmessage.c: (GST_START_TEST):
26709         * check/gst/gststructure.c: (GST_START_TEST),
26710         (gst_structure_suite), (main):
26711           more testing
26712         * gst/gstelement.c: (gst_element_message_full):
26713           clean up GError and debug string now that they get copied
26714         * gst/gstmessage.c: (gst_message_new_error),
26715         (gst_message_new_warning), (gst_message_parse_error),
26716         (gst_message_parse_warning):
26717           use GST_TYPE_G_ERROR for structure_new, and take copies of
26718           arguments, so that we don't mess up refcounting
26719
26720 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26721
26722         * check/Makefile.am:
26723           add per-test valgrind targets
26724         * check/gst-libs/gdp.c: (GST_START_TEST),
26725         (gst_data_protocol_suite), (main):
26726           clean up
26727
26728 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26729
26730         * check/Makefile.am:
26731           instate more valgrindable tests
26732         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26733         (GST_START_TEST), (fakesrc_suite):
26734         * check/gst/gstpad.c: (GST_START_TEST):
26735         * check/gst/gststructure.c: (GST_START_TEST):
26736           fix test leaks
26737         * docs/gst/tmpl/gstminiobject.sgml:
26738         * gst/gstpad.c: (gst_pad_finalize):
26739           fix the static mutex leak
26740
26741 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26742
26743         * check/Makefile.am:
26744           add two more tests for valgrinding
26745         * check/gst/gstvalue.c: (GST_START_TEST):
26746           test refcount of deserialized buffer, found a leak
26747         * docs/gst/gstreamer-docs.sgml:
26748         * docs/gst/gstreamer-sections.txt:
26749         * docs/gst/gstreamer.types:
26750         * docs/gst/tmpl/gstminiobject.sgml:
26751           add miniobject to docs
26752         * gst/gstminiobject.c:
26753           add some docs
26754         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26755         (gst_string_unwrap):
26756           fix a hard-to-find invalid write for one of the tests
26757           fix a leak for deserialized buffers
26758
26759 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26760
26761         * docs/pwg/advanced-events.xml:
26762         * docs/pwg/advanced-request.xml:
26763         * docs/pwg/advanced-scheduling.xml:
26764         * docs/pwg/appendix-porting.xml:
26765         * docs/pwg/building-boiler.xml:
26766         * docs/pwg/intro-preface.xml:
26767         * docs/pwg/other-ntoone.xml:
26768           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26769           of example code and explanation for pad activation, loop() and
26770           getrange() functions and a bit more. Remove old comments pointing
26771           to loop-functions.
26772         * examples/pwg/Makefile.am:
26773           Add loop/getrange examples.
26774
26775 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26776
26777         * configure.ac:
26778           check for valgrind binary + some fixes
26779         * check/gst.supp:
26780           valgrind suppressions for the tests
26781         * check/Makefile.am:
26782           add a valgrind: target that valgrinds the unit tests
26783         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26784         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26785         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26786         * check/gst/gstghostpad.c:
26787           added some cleanup
26788         * check/gst/gstdata.c:
26789           removed
26790         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26791         (thread_unref), (gst_mini_object_suite), (main):
26792           added
26793         * gst/gst.c: (gst_deinit):
26794         * gst/gst.h:
26795           add a method to clean up.
26796         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26797         (gst_system_clock_obtain):
26798           allow for disposing the system clock.
26799         * tools/gst-launch.c: (main):
26800           deinit
26801
26802 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26803
26804         * docs/gst/tmpl/gstbasesrc.sgml:
26805         * docs/gst/tmpl/gstfakesrc.sgml:
26806         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26807         (gst_base_src_init), (gst_base_src_set_property),
26808         (gst_base_src_get_property), (gst_base_src_get_range),
26809         (gst_base_src_start):
26810         * gst/base/gstbasesrc.h:
26811           add num-buffers property
26812         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26813         (gst_fakesrc_init), (gst_fakesrc_set_property),
26814         (gst_fakesrc_get_property), (gst_fakesrc_create),
26815         (gst_fakesrc_start):
26816           remove num-buffers property
26817
26818 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26819
26820         * docs/gst/gstreamer-sections.txt:
26821         * docs/gst/tmpl/gstbasesink.sgml:
26822         * docs/gst/tmpl/gstbasesrc.sgml:
26823         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26824         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26825         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26826         (gst_base_sink_set_property), (gst_base_sink_get_property),
26827         (gst_base_sink_handle_object), (gst_base_sink_event),
26828         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26829         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26830         (gst_base_sink_loop), (gst_base_sink_deactivate),
26831         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26832         (gst_base_sink_change_state):
26833         * gst/base/gstbasesink.h:
26834         * gst/base/gstbasesrc.h:
26835         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26836         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26837         (gst_filesink_init):
26838           more macro splitting
26839
26840 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26841
26842         * gst/gstelement.c: (gst_element_get_bus):
26843           add debug
26844         * tools/gst-launch.c: (check_intr), (event_loop):
26845           fix bus leaks
26846
26847 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26848
26849         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26850           fix a caps leak
26851
26852 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26853
26854         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26855         (gst_base_src_finalize):
26856           add finalize method and clean up properly
26857         * gst/gstpipeline.c: (gst_pipeline_dispose):
26858           add debug
26859
26860 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26861
26862         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26863         (gst_bin_suite):
26864           add more things to check
26865         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26866         * gst/gstelement.c:
26867           more debug
26868
26869 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26870
26871         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26872         (GST_START_TEST), (fakesrc_suite):
26873         * check/gst-libs/gdp.c: (GST_START_TEST):
26874         * check/gst/gst.c: (GST_START_TEST):
26875         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26876         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26877         * check/gst/gstbus.c: (GST_START_TEST):
26878         * check/gst/gstcaps.c: (GST_START_TEST):
26879         * check/gst/gstdata.c: (GST_START_TEST):
26880         * check/gst/gstelement.c: (GST_START_TEST):
26881         * check/gst/gstghostpad.c: (GST_START_TEST):
26882         * check/gst/gstiterator.c: (GST_START_TEST):
26883         * check/gst/gstmessage.c: (GST_START_TEST):
26884         * check/gst/gstobject.c: (GST_START_TEST):
26885         * check/gst/gstpad.c: (GST_START_TEST):
26886         * check/gst/gststructure.c: (GST_START_TEST):
26887         * check/gst/gstsystemclock.c: (GST_START_TEST),
26888         (gst_systemclock_suite):
26889         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26890         * check/gst/gstvalue.c: (GST_START_TEST):
26891         * check/pipelines/cleanup.c: (GST_START_TEST):
26892         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26893         * check/states/sinks.c: (GST_START_TEST):
26894         * check/gstcheck.c: (gst_check_init):
26895         * check/gstcheck.h:
26896           add debugging category
26897           use GST_START_TEST now, so we add a debug line
26898
26899 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26900
26901         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26902           add test for state change message on a bin
26903         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26904           add another test
26905         * gst/gstbin.c: (gst_bin_init):
26906         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26907         * gst/gstelement.c: (gst_element_post_message),
26908         (gst_element_set_state):
26909         * gst/gstelementfactory.c: (gst_element_factory_create):
26910         * gst/gstmessage.c: (gst_message_new):
26911         * gst/gstscheduler.c:
26912           various debugging additions and cleanups
26913
26914 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26915
26916         * check/Makefile.am:
26917         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26918         (main):
26919           adding tests for elements
26920         * gst/gstelement.c: (gst_element_dispose):
26921
26922 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26923
26924         * gst/registries/gstlibxmlregistry.c: (load_feature):
26925           plug more leaks.  A simple gst_init() now is leakfree, yay.
26926
26927 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26928
26929         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26930         (gst_xml_registry_load):
26931           plug another memleak
26932
26933 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26934
26935         * configure.ac:
26936           use GST_SET_ERROR_CFLAGS
26937         * docs/faq/cvs.xml:
26938           change to ERROR_CFLAGS
26939
26940 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26941
26942         * configure.ac:
26943           make GST_ERROR_CFLAGS overridable and re-enable Werror
26944         * docs/faq/cvs.xml:
26945           add a note about error CFLAGS
26946         * docs/gst/tmpl/gstfakesrc.sgml:
26947         * gst/elements/gstfakesrc.c:
26948           comment out some unused code
26949         * gst/gst.c: (split_and_iterate):
26950         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26951         (load_feature):
26952           plug some memleaks
26953
26954 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26955
26956         * common/Makefile.am:
26957         * common/gtk-doc.mak:
26958         * docs/gst/Makefile.am:
26959           factor out gtk-doc.mak
26960
26961 2005-07-07  Wim Taymans  <wim@fluendo.com>
26962
26963         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26964         (gst_thread_scheduler_dispose):
26965         Unlock the STREAM_LOCK completely.
26966
26967 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26968
26969         * check/Makefile.am:
26970         * check/elements/.cvsignore:
26971         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26972         (START_TEST), (fakesrc_suite), (main):
26973         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26974         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26975         (gst_fakesrc_create), (gst_fakesrc_start):
26976         * gst/elements/gstfakesrc.h:
26977           adding a first element test
26978
26979 2005-07-07  Andy Wingo  <wingo@pobox.com>
26980
26981         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26982         debug message.
26983
26984 2005-07-07  Wim Taymans  <wim@fluendo.com>
26985
26986         * gst/gstquery.c:
26987         * gst/gstquery.h:
26988         Remove old types
26989
26990 2005-07-07  Wim Taymans  <wim@fluendo.com>
26991
26992         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26993         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26994         Allow subclasses to implement their own negotiation.
26995
26996 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26997
26998         * docs/design/part-gstbin.txt:
26999         * docs/design/part-gstpipeline.txt:
27000           Update design notes to reflect the movement of
27001           responsibility for bus handling from GstPipeline to
27002           GstBin
27003
27004 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
27005
27006         * configure.ac:
27007           Remove unnecessary queue2/3/4 examples.
27008
27009 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
27010
27011         * examples/Makefile.am:
27012         * examples/helloworld/helloworld.c: (event_loop), (main):
27013         * examples/queue/queue.c: (event_loop), (main):
27014         * examples/queue2/queue2.c: (main):
27015           Update a couple of the examples to work again.
27016
27017         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27018         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
27019          Spelling corrections and extra debug.
27020         
27021         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
27022         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
27023         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
27024         * gst/gstbin.h:
27025         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27026         (gst_pipeline_change_state):
27027         * gst/gstpipeline.h:
27028           Move the bus handler for children to the GstBin, and create a
27029           separate bus for receiving messages from children to the one the
27030           bus sends 'upwards' on.
27031
27032 2005-07-06  Wim Taymans  <wim@fluendo.com>
27033
27034         * gst/base/README:
27035         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27036         (gst_base_sink_handle_object), (gst_base_sink_loop),
27037         (gst_base_sink_change_state):
27038         * gst/base/gstbasesink.h:
27039         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27040         (gst_base_src_init), (gst_base_src_setcaps),
27041         (gst_base_src_getcaps), (gst_base_src_loop),
27042         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
27043         (gst_base_src_start), (gst_base_src_change_state):
27044         * gst/base/gstbasesrc.h:
27045         Make basesrc negotiate.
27046         Handle the case where preroll fails in basesink.
27047         Update README.
27048
27049 2005-07-06  Wim Taymans  <wim@fluendo.com>
27050
27051         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
27052         Implement the fixate function.
27053         Clean up acceptcaps.
27054
27055 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27056
27057         * docs/pwg/building-filterfactory.xml:
27058         * docs/pwg/pwg.xml:
27059           Remove never-written filter-factory chapter; I'll add the various
27060           base classes to part 4 ("other element types") later on.
27061
27062 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27063
27064         * docs/pwg/advanced-negotiation.xml:
27065         * docs/pwg/building-boiler.xml:
27066         * docs/pwg/building-pads.xml:
27067         * docs/pwg/pwg.xml:
27068         * examples/pwg/Makefile.am:
27069           Add a chapter on caps negotiation, simplify the original code
27070           samples a bit w.r.t. caps negotiation, add link to the advanced
27071           section. Add a bunch of examples showing different use cases of
27072           different types of caps negotiation. Upstream renegotiation isn't
27073           fully documented yet since nobody knows how that works.
27074
27075 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
27076
27077         * check/gst/gstpad.c:
27078         * check/gstcheck.c:
27079         * gst/gstpad.c: (gst_pad_get_internal_links_default):
27080           if pad has no parent, return NULL as list of internal links
27081
27082 2005-07-05  Andy Wingo  <wingo@pobox.com>
27083
27084         * gst/elements/gstfilesrc.c:
27085         * gst/elements/gstfakesrc.c: 
27086         * gst/base/gstpushsrc.c:
27087         * gst/base/gstbasesrc.h: 
27088         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
27089         
27090 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
27091
27092         * Makefile.am:
27093           better report generation target (lcov needs a patch)
27094
27095 2005-07-05  Andy Wingo  <wingo@pobox.com>
27096
27097         * gst/elements, testsuite: Null if we got it...
27098
27099 2005-07-05  Wim Taymans  <wim@fluendo.com>
27100
27101         * configure.ac:
27102         * libs/gst/dataprotocol/Makefile.am:
27103         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
27104         * libs/gst/dataprotocol/dataprotocol.h:
27105         * pkgconfig/Makefile.am:
27106         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
27107         * pkgconfig/gstreamer-dataprotocol.pc.in:
27108         Ported dataprotol to 0.9. 
27109         Added pkgconfig files.
27110
27111 2005-07-05  Andy Wingo  <wingo@pobox.com>
27112
27113         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
27114         Default to returning TRUE for the case when tranform_caps returns
27115         a fixed caps, like for identity or volume.
27116
27117         * check/gst/gstbus.c (pound_bus_with_messages): 
27118         * check/gst/gstmessage.c (START_TEST): 
27119         * check/pipelines/simple_launch_lines.c (got_handoff): Application
27120         message API change.
27121
27122         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
27123         logic weaks here: always run transform_caps, trying passthrough
27124         operation only if the original caps intersects with the transform.
27125
27126         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
27127         source and sink caps.
27128
27129         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
27130         Intersect the peer caps with the pad template before going into
27131         transform_caps.
27132         (gst_base_transform_transform_caps): More debugging.
27133
27134         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
27135         src argument.
27136
27137 2005-07-04  Edward Hervey  <edward@fluendo.com>
27138
27139         * gst/gstutils.c:
27140         * gst/gstutils.h:
27141         (gst_pad_add_*_probe): now returns the signal id for better wrapping
27142         in bindings.
27143
27144 2005-07-04  Andy Wingo  <wingo@pobox.com>
27145
27146         * check/gst/gstpad.c: Only set explicit caps on pads.
27147
27148 2005-07-01  Andy Wingo  <wingo@pobox.com>
27149
27150         * tests/network-clock.scm: Commentary update.
27151
27152         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
27153         Didn't really make sense, not implementable with basetransform,
27154         etc.
27155         (gst_identity_transform): Unref inbuf via make_writable. Feeble
27156         attempt at implementing the sync property, needs an unlock method.
27157
27158         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
27159         New func, by default returns the same caps (the identity
27160         transformation).
27161         (gst_base_transform_getcaps): Uses transform_caps to return
27162         something sensible.
27163         (gst_base_transform_setcaps): Complicated logic to get caps on
27164         both pads, even if they are different, and to call set_caps once
27165         for every time both pads get their caps set.
27166         (gst_base_transform_handle_buffer): Give the ref to the transform
27167         function. Allows in-place modification of the buffer.
27168
27169         * gst/base/gstbasetransform.h (transform_caps): New class method.
27170         Given caps on one side, what can I do on the other.
27171         (set_caps): Take two caps, one for each side of the element.
27172
27173         * gst/gstpad.h:
27174         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
27175         caps in place. This is safe because we can check the mutability of
27176         the caps, and a good idea because fixate functions are just called
27177         as a matter of last resort. (Not actually implemented.)
27178         (gst_pad_set_caps): If the caps we're setting is actually the same
27179         as the existing pad caps, just update the pointer without calling
27180         setcaps. Assert that caps is either NULL or fixed, as per the
27181         docs.
27182
27183         * gst/gstghostpad.c: Update for fixate changes.
27184
27185 2005-07-02  Andy Wingo  <wingo@pobox.com>
27186
27187         * gst/gstcaps.c:
27188         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
27189         two refcounts makes it immutable, which is enough. Doc more.
27190
27191 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
27192
27193         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
27194           Put the mini_object into GValue as a mini_object,
27195           not a gpointer, since that's how we declared
27196           the signal.
27197
27198 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27199
27200         * examples/pwg/Makefile.am:
27201           Fix buildbot again.
27202
27203 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27204
27205         * docs/pwg/building-testapp.xml:
27206           Add extra check.
27207         * examples/pwg/Makefile.am:
27208           Fix buildbot.
27209
27210 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27211
27212         * configure.ac:
27213         * examples/Makefile.am:
27214         * examples/pwg/Makefile.am:
27215         * examples/pwg/extract.pl:
27216           Enable building the PWG examples.
27217         * docs/pwg/advanced-interfaces.xml:
27218           Add URI interface stub.
27219         * docs/pwg/advanced-types.xml:
27220         * docs/pwg/other-autoplugger.xml:
27221         * docs/pwg/appendix-porting.xml:
27222         * docs/pwg/pwg.xml:
27223           Add porting guide (mostly stubs), remove autoplugging (see ADM).
27224         * docs/pwg/building-boiler.xml:
27225         * docs/pwg/building-chainfn.xml:
27226         * docs/pwg/building-pads.xml:
27227         * docs/pwg/building-props.xml:
27228         * docs/pwg/building-state.xml:
27229         * docs/pwg/building-testapp.xml:
27230           Update the building-*.xml parts for 0.9 changes. All examples
27231           code blocks compile in examples/pwg/*.
27232
27233 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27234
27235         * docs/manual/advanced-autoplugging.xml:
27236         * docs/manual/appendix-checklist.xml:
27237         * docs/manual/appendix-integration.xml:
27238         * docs/manual/highlevel-components.xml:
27239           Fix playbin/decodebin examples, update docs a bit, mention bus
27240           instead of signals in various places, mention kmplayer and
27241           kaffeine since they have a working GStreamer backend in the KDE
27242           section.
27243
27244 2005-06-30  Wim Taymans  <wim@fluendo.com>
27245
27246         * CHANGES-0.9:
27247         * docs/design/draft-ghostpads.txt:
27248         * docs/design/draft-push-pull.txt:
27249         * docs/design/draft-query.txt:
27250         * docs/design/part-TODO.txt:
27251         * docs/design/part-query.txt:
27252         Added CHANGES-0.9 doc, updated status of other docs.
27253         
27254         * gst/gstquery.h:
27255         Remove "hmm" macro
27256
27257 2005-06-30  Wim Taymans  <wim@fluendo.com>
27258
27259         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27260         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27261         (gst_base_sink_change_state):
27262         * gst/base/gstbasesink.h:
27263         Some tweaks, only EOS and a buffer complete a preroll.
27264
27265 2005-06-30  Andy Wingo  <wingo@pobox.com>
27266
27267         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27268         activate_push down to the internal pad as well.
27269
27270 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
27271
27272         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27273
27274         * gst/gsttaginterface.c:
27275           Some documentation fixes (#307394 and #307397).
27276
27277 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
27278
27279         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27280
27281         * gst/gstvalue.c: (gst_value_intersect_list):
27282           Fix memleak (#309125).
27283
27284 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27285
27286         * docs/manual/advanced-dataaccess.xml:
27287           Fix fakesrc example to compile; doesn't work, bug somewhere...?
27288         * docs/manual/basics-pads.xml:
27289           Add reference for filtered caps to above chapter.
27290
27291 2005-06-30  Wim Taymans  <wim@fluendo.com>
27292
27293         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27294         (gst_bin_change_state):
27295         Probes are gone.
27296         Lame attempt at making the state change function a bit
27297         more readable.
27298
27299 2005-06-30  Wim Taymans  <wim@fluendo.com>
27300
27301         * docs/design/part-clocks.txt:
27302         * docs/design/part-element-sink.txt:
27303         * docs/design/part-events.txt:
27304         * docs/design/part-preroll.txt:
27305         * docs/design/part-states.txt:
27306         Some more tweeks and additions to the docs.
27307
27308 2005-06-30  Wim Taymans  <wim@fluendo.com>
27309
27310         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27311         (default_have_data), (gst_pad_class_init), (gst_pad_init),
27312         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27313         (gst_pad_check_pull_range), (gst_pad_get_range),
27314         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27315         * gst/gstpad.h:
27316         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27317         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27318         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27319         (gst_pad_remove_buffer_probe):
27320         Removed atomic operations, use existing LOCK.
27321         Move exception handling out of main code path.
27322
27323 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27324
27325         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27326         (silly_return_true_function), (gst_pad_class_init),
27327         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27328         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27329         (gst_pad_send_event):
27330           Fix accumulator, add default value by using _emitv() instead
27331           of _emit() for signal emission.
27332
27333 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27334
27335         * docs/manual/advanced-dataaccess.xml:
27336         * examples/manual/Makefile.am:
27337           Add probe example.
27338         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27339           Make work (??).
27340
27341 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
27342
27343         * gst/elements/gstfilesink.c: (gst_filesink_render):
27344           Simplify code so that we don't have to handle short
27345           writes and return GST_FLOW_ERROR if an error occured.
27346
27347 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27348
27349         * docs/gst/gstreamer-docs.sgml:
27350           Remove probes more.
27351
27352 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27353
27354         * docs/gst/gstreamer-sections.txt:
27355         * docs/gst/tmpl/gstpad.sgml:
27356         * docs/gst/tmpl/gstprobe.sgml:
27357         * gst/Makefile.am:
27358         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27359         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27360         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27361         (gst_pad_push_event), (gst_pad_send_event):
27362         * gst/gstpad.h:
27363         * gst/gstutils.c: (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         * gst/gstutils.h:
27368           Remove old probes, add new g-signal-based probes and some utility
27369           functions.
27370
27371 2005-06-29  Edward Hervey  <edward@fluendo.com>
27372
27373         * gst/gstelementfactory.c:
27374         * gst/gstutils.h:
27375         * gst/gstutils.c:
27376         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27377         the definition to the header file.
27378
27379 2005-06-29  Andy Wingo  <wingo@pobox.com>
27380
27381         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27382         plugins from the source directory.
27383
27384 2005-06-29  Wim Taymans  <wim@fluendo.com>
27385
27386         * docs/gst/tmpl/gstbuffer.sgml:
27387         * docs/gst/tmpl/gstclock.sgml:
27388         Some fixings for blantently wrong text.
27389
27390 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27391
27392         * check/Makefile.am:
27393         * gst/gst.c: (add_path_func), (init_pre):
27394         * gst/gstregistry.c: (gst_registry_add_path):
27395           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27396           only scan the GST_PLUGIN_PATH locations, and not add
27397           system locations
27398
27399 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27400
27401         * docs/gst/gstreamer-sections.txt:
27402         * docs/gst/tmpl/gstbasesrc.sgml:
27403         * gst/gstelement.c:
27404         * gst/gstelement.h:
27405         * gst/gstevent.c:
27406         * gst/gstutils.c:
27407           doc fixes
27408
27409 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27410
27411         * docs/manual/advanced-autoplugging.xml:
27412           Fix autoplugging example.
27413
27414 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27415
27416         * docs/manual/advanced-autoplugging.xml:
27417         * docs/manual/mime-world.fig:
27418           Try to get autoplugging working, fix type detection. Fix text
27419           in hello-world image.
27420
27421 2005-06-29  Wim Taymans  <wim@fluendo.com>
27422
27423         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27424         (gst_base_sink_change_state):
27425         Small debug line.
27426
27427         * gst/gstclock.h:
27428         map SIGNAL and BROADCAST to the right function.
27429
27430         * gst/gstobject.h:
27431         Remove redundant braces.
27432
27433         * gst/gstpad.c: (gst_pad_set_caps):
27434         Don't call setcaps function when reseting caps to NULL.
27435
27436         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27437         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27438         (gst_system_clock_id_unschedule):
27439         Use BROADCAST as this is what we do.
27440
27441 2005-06-29  Wim Taymans  <wim@fluendo.com>
27442
27443         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27444         We are actually prerolling before commiting the state
27445         change. 
27446
27447 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27448
27449         * docs/manual/advanced-clocks.xml:
27450         * docs/manual/advanced-interfaces.xml:
27451         * docs/manual/advanced-metadata.xml:
27452         * docs/manual/advanced-position.xml:
27453         * docs/manual/advanced-schedulers.xml:
27454         * docs/manual/advanced-threads.xml:
27455         * docs/manual/appendix-porting.xml:
27456         * docs/manual/basics-bins.xml:
27457         * docs/manual/basics-bus.xml:
27458         * docs/manual/basics-elements.xml:
27459         * docs/manual/basics-helloworld.xml:
27460         * docs/manual/basics-pads.xml:
27461         * docs/manual/highlevel-components.xml:
27462         * docs/manual/manual.xml:
27463         * docs/manual/thread.fig:
27464           Update (until threads/scheduling) Application Development Manual;
27465           remove GstThread, add GstBus, add simple porting checklist, add
27466           documentation for tag writing, clocks, make all examples until this
27467           part compile and run.
27468         * examples/manual/Makefile.am:
27469           Update from changes to Application Development Manual; add bus
27470           example, remove thread example.
27471
27472 2005-06-28  Wim Taymans  <wim@fluendo.com>
27473
27474         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27475         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27476         (gst_bus_source_dispatch):
27477         Add debugging messages.
27478         Make internal methods static.
27479         Handle the case where the bus is flushed in the handler.
27480         
27481         * gst/gstelement.c: (gst_element_get_bus):
27482         Fix refcount in _get_bus();
27483
27484         * gst/gstpipeline.c: (gst_pipeline_change_state),
27485         (gst_pipeline_get_clock_func):
27486         Clock refcounting fixes.
27487         Handle the case where preroll timed out more gracefully.
27488         
27489         * gst/gstsystemclock.c: (gst_system_clock_dispose):
27490         Clean up the internal thread in dispose. This is needed
27491         for subclasses that actually get disposed.
27492         
27493         * gst/schedulers/threadscheduler.c:
27494         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27495         (gst_thread_scheduler_dispose):
27496         Free thread pool in dispose.
27497
27498 2005-06-28  Andy Wingo  <wingo@pobox.com>
27499
27500         * tests/network-clock-utils.scm (debug, print-event): New utils.
27501
27502         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27503         (*packet-loss*): Unified loss probability.
27504         (network-time): Report out-of-band events.
27505
27506         * tests/plot-data: Add support for out-of-band events. Hack it
27507         into this script instead of passing it down the pipe; should fix
27508         this later.
27509
27510 2005-06-28  Wim Taymans  <wim@fluendo.com>
27511
27512         * docs/gst/gstreamer.types:
27513         * docs/gst/tmpl/gstbasesrc.sgml:
27514         * docs/gst/tmpl/gstpad.sgml:
27515         Docs fixes.
27516
27517 2005-06-28  Wim Taymans  <wim@fluendo.com>
27518
27519         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27520         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27521         (gst_proxy_pad_do_fixatecaps):
27522         Correctly proxy the check_pull_range function.
27523
27524 2005-06-28  Andy Wingo  <wingo@pobox.com>
27525
27526         * tests/network-clock.scm: Removed need for slib.
27527         
27528 2005-06-28  Wim Taymans  <wim@fluendo.com>
27529
27530         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27531         (gst_basesink_preroll_queue_flush):
27532         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27533         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27534         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27535         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27536         (gst_proxy_pad_set_property):
27537         * gst/gstpad.c:
27538         * gst/gstpad.h:
27539         * gst/gstqueue.c: (gst_queue_init):
27540         The deprecated pad loop function is removed now.
27541
27542 2005-06-28  Andy Wingo  <wingo@pobox.com>
27543
27544         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27545         New parameters, simulate network packet loss.
27546
27547         * tests/network-clock-utils.scm: Initialize the RNG.
27548
27549 2005-06-28  Wim Taymans  <wim@fluendo.com>
27550
27551         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27552         (gst_basesink_event), (gst_basesink_deactivate):
27553         Flushing the preroll queue always needs to unlock the waiters.
27554
27555 2005-06-28  Edward Hervey  <edward@fluendo.com>
27556
27557         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27558         Wheen a seek was successful on a pipeline, set the stream_time to the
27559         seek offset in order to have a synchronized stream_time.
27560
27561 2005-06-28  Wim Taymans  <wim@fluendo.com>
27562
27563         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27564         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27565         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27566         (gst_proxy_pad_do_fixatecaps):
27567         Call wrapper function instead of just calling the function
27568         pointers. This takes care of any locking and whatmore.
27569
27570 2005-06-28  Wim Taymans  <wim@fluendo.com>
27571
27572         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27573         (gst_pad_pull_range):
27574         * gst/gstpad.h:
27575         CONNECTED -> LINKED.
27576
27577 2005-06-28  Andy Wingo  <wingo@pobox.com>
27578
27579         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27580         source-munging commit!!!
27581
27582         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27583         (gst_object_sink): Take gpointer arguments, not GstObject --
27584         avoids casts. Like GLib.
27585
27586         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27587         activate.
27588
27589 2005-06-27  Andy Wingo  <wingo@pobox.com>
27590
27591         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27592         remaining buffer.
27593
27594         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27595         returns a sorted copy of the trace list.
27596         (gst_alloc_trace_print_live): New API, only prints traces with
27597         live objects. Sort the list.
27598         (gst_alloc_trace_print_all): Sort the list.
27599         (gst_alloc_trace_print): Align columns.
27600
27601         * gst/elements/gstttypefindelement.c:
27602         * gst/elements/gsttee.c:
27603         * gst/base/gstbasesrc.c:
27604         * gst/base/gstbasesink.c:
27605         * gst/base/gstbasetransform.c:
27606         * gst/gstqueue.c: Adapt for pad activation changes.
27607
27608         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27609         sched.
27610         (gst_pipeline_dispose): Drop ref on sched.
27611
27612         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27613         (gst_pad_activate_default): Push mode by default.
27614         (pre_activate_switch, post_activate_switch): New stubs, things to
27615         do before and after switching activation modes on pads.
27616         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27617         the pad's activate function to choose which mode to activate.
27618         Shortcut on deactivation and call the right function directly.
27619         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27620         mode.
27621         (gst_pad_activate_push): New API, same for push mode.
27622         (gst_pad_set_activate_function) 
27623         (gst_pad_set_activatepull_function) 
27624         (gst_pad_set_activatepush_function): Setters for new API.
27625
27626         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27627         Trace all miniobjects.
27628         (gst_mini_object_make_writable): Unref the arg if we copy, like
27629         gst_caps_make_writable.
27630
27631         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27632
27633         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27634         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27635         Adapt for new pad API.
27636
27637         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27638
27639         * gst/gstelement.h:
27640         * gst/gstelement.c (gst_element_iterate_src_pads) 
27641         (gst_element_iterate_sink_pads): New API functions.
27642         
27643         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27644         should fold into gstiterator.c in some form.
27645         (gst_element_pads_activate): Simplified via use of fold and
27646         delegation of decisions to gstpad->activate.
27647
27648         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27649         help in debugging.
27650
27651         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27652         class once in init, like gstmessage. Didn't run into this issue
27653         but it seems correct. Don't initialize a trace, gstminiobject does
27654         that.
27655
27656         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27657         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27658         to the bus.
27659         (assert_live_count): New util function, uses alloc traces to check
27660         cleanup.
27661
27662         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27663         To be modified when unlink drops the internal pad.
27664
27665 2005-06-27  Wim Taymans  <wim@fluendo.com>
27666
27667         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27668         (gst_bin_change_state):
27669         Cleanup the get_state() function a little, make sure it
27670         iterates the same set of elements.
27671         Added stub iterate_state_order().
27672
27673 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27674
27675         * docs/gst/gstreamer-docs.sgml:
27676         * docs/gst/gstreamer-sections.txt:
27677         * docs/gst/gstreamer.types:
27678         * docs/gst/tmpl/gstbasesink.sgml:
27679         * docs/gst/tmpl/gstbasesrc.sgml:
27680         * docs/gst/tmpl/gstbasetransform.sgml:
27681         * docs/gst/tmpl/gstelement.sgml:
27682         * docs/gst/tmpl/gstiterator.sgml:
27683         * gst/base/gstbasesrc.c:
27684         * gst/base/gstbasesrc.h:
27685         * gst/base/gstbasetransform.h:
27686         * gst/gstelement.c:
27687         * gst/gstiterator.h:
27688           adding basetransform and iterator docs
27689
27690 2005-06-27  Andy Wingo  <wingo@pobox.com>
27691
27692         * docs/design/part-activation.txt: Notes on how activation should
27693         work -- not quite implemented yet.
27694
27695 2005-06-25  Wim Taymans  <wim@fluendo.com>
27696
27697         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27698         At least get the chain function correct, needs more
27699         fixing.
27700
27701 2005-06-25  Wim Taymans  <wim@fluendo.com>
27702
27703         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27704         (gst_basesink_handle_object), (gst_basesink_event),
27705         (gst_basesink_do_sync), (gst_basesink_handle_event),
27706         (gst_basesink_change_state):
27707         * gst/gsttask.h:
27708         Right, two problems here: ghostpads don't take locks and
27709         glib _rec_mutex_lock_full() with depth==0 still locks.
27710         Catch illegal locking and g_warn them.
27711
27712 2005-06-25  Wim Taymans  <wim@fluendo.com>
27713
27714         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27715         Have to check for completion now...
27716
27717 2005-06-25  Wim Taymans  <wim@fluendo.com>
27718
27719         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27720         (gst_basesink_handle_object), (gst_basesink_event),
27721         (gst_basesink_do_sync), (gst_basesink_handle_event),
27722         (gst_basesink_change_state):
27723         * gst/gstpad.h:
27724         Unlock STREAM_LOCK whatever the recursion was.
27725
27726 2005-06-25  Wim Taymans  <wim@fluendo.com>
27727
27728         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27729         (gst_basesink_preroll_queue_empty),
27730         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27731         (gst_basesink_event), (gst_basesink_do_sync),
27732         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27733         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27734         (gst_basesink_change_state):
27735         Reworked the base sink, handle event and buffer serialisation
27736         correctly and removed possible deadlock.
27737         Handle EOS correctly.
27738
27739 2005-06-25  Wim Taymans  <wim@fluendo.com>
27740
27741         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27742         (gst_pipeline_change_state):
27743         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27744         Allow elements to post EOS in the state change function.
27745         Fix up -launch, make it exit the poll loop when the
27746         pipeline actually changed state.
27747         Fix up warning parsing in -launch.
27748
27749 2005-06-25  Wim Taymans  <wim@fluendo.com>
27750
27751         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27752         (gst_tee_sink_activate):
27753         Core takes STREAM_LOCK for us now.
27754
27755 2005-06-25  Wim Taymans  <wim@fluendo.com>
27756
27757         * gst/gstelement.c: (gst_element_get_state_func),
27758         (gst_element_set_state):
27759         * gst/gstelement.h:
27760         * gst/gstmessage.c: (gst_message_parse_error),
27761         (gst_message_parse_warning):
27762         Keep track of current target state while performing a state
27763         change so that subclasses can do something interesting.
27764         Fix parsing of warning/error messages when GError is NULL.
27765
27766 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27767
27768         * docs/gst/Makefile.am:
27769         * docs/gst/gstreamer-docs.sgml:
27770         * docs/gst/gstreamer-sections.txt:
27771         * docs/gst/gstreamer.types:
27772         * docs/gst/tmpl/gstbasesink.sgml:
27773         * docs/gst/tmpl/gstbasesrc.sgml:
27774         * docs/gst/tmpl/gstbin.sgml:
27775         * docs/gst/tmpl/gstcompat.sgml:
27776         * docs/gst/tmpl/gstfakesink.sgml:
27777         * docs/gst/tmpl/gstfakesrc.sgml:
27778         * docs/gst/tmpl/gstfilesink.sgml:
27779         * docs/gst/tmpl/gstfilesrc.sgml:
27780         * docs/gst/tmpl/gstindex.sgml:
27781         * docs/manual/appendix-quotes.xml:
27782         * gst/base/gstbasesrc.h:
27783         * gst/elements/gstfakesrc.h:
27784         * gst/gstmessage.h:
27785           start pulling in base classes and elements in our docs
27786
27787 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27788
27789         * docs/gst/Makefile.am:
27790         * docs/libs/Makefile.am:
27791           fixed make distcheck with gtk-doc 1.3
27792
27793 2005-06-23  Wim Taymans  <wim@fluendo.com>
27794
27795         * gst/gstelement.c: (gst_element_get_state_func),
27796         (gst_element_set_state), (gst_element_change_state):
27797         When the state did not change, also report NO_PREROLL
27798         when it matters.
27799
27800 2005-06-23  Wim Taymans  <wim@fluendo.com>
27801
27802         * gst/gstpad.c: (gst_pad_event_default):
27803         * gst/gstqueue.c: (gst_queue_loop):
27804         No unsafe task pausing please.
27805
27806 2005-06-23  Wim Taymans  <wim@fluendo.com>
27807
27808         * gst/schedulers/threadscheduler.c:
27809         (gst_thread_scheduler_task_start),
27810         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27811         Ref the task before pushing it on the threadpool. This
27812         makes sure that we have a ref when the threadfunction is
27813         actually called.
27814
27815 2005-06-23  Andy Wingo  <wingo@pobox.com>
27816
27817         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27818         offset is greater than the file's size.
27819
27820         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27821         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27822         * gst/gstobject.c (gst_object_class_init): Make the class lock
27823         recursive. Wim won't let me drop deep_notify. Decodebin works
27824         again, whoopdy doo.
27825
27826         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27827         internal pad, and hacks accordingly. Doesn't do it on the target
27828         pad because we change its caps. Probably catches all cases of
27829         interest tho.
27830         (gst_ghost_pad_set_property): Connect to notify::caps as
27831         appropritate.
27832
27833         * tests/network-clock.scm (plot-simulation): Pipe data to the
27834         elite python skript.
27835
27836         * tests/network-clock-utils.scm (define-parameter): New macro,
27837         defines a parameter that can be set via the command line.
27838         (set-parameter!, parse-parameter-arguments): Command line args
27839         parser.
27840
27841         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27842         stdin.
27843
27844 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27845
27846         * gst/elements/gsttypefindelement.c:
27847         (gst_type_find_element_handle_event):
27848           Don't restart typefinding on a discont.
27849         * gst/gstelement.c: (gst_element_set_state):
27850           Debug spelling fix.
27851         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27852           Allow changing mode of an active pad.
27853           Debug output fixes.
27854         * gst/registries/gstlibxmlregistry.c: (load_feature):
27855           Don't cast a static pad template to a normal pad template.
27856
27857 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27858
27859         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27860         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27861           remove gst_strtoll completely, since it didn't actually do
27862           anything more than what g_ascii_strtoull already does.
27863           check for range errors when deserializing
27864           do a cast for the unsigned cases; but further fixing needs
27865           a decision on what the interpretation of "(int)" and
27866           deserialization should be for values that fall outside the
27867           type's boundaries (ie, refuse, or interpret as casting)
27868
27869 2005-06-23  Wim Taymans  <wim@fluendo.com>
27870
27871         * check/Makefile.am:
27872         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27873         * docs/design/part-live-source.txt:
27874         * docs/design/part-states.txt:
27875         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27876         (gst_basesrc_set_live), (gst_basesrc_is_live),
27877         (gst_basesrc_get_range), (gst_basesrc_activate),
27878         (gst_basesrc_change_state):
27879         * gst/base/gstbasesrc.h:
27880         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27881         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27882         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27883         * gst/gstelement.c: (gst_element_get_state_func),
27884         (gst_element_set_state):
27885         * gst/gstelement.h:
27886         * gst/gsttypes.h:
27887         * tools/gst-launch.c: (event_loop), (main):
27888         Added support for live sources and other elements that
27889         cannot do preroll.
27890         Updated design docs, added live-source design doc.
27891         Implemented live source functionality in basesrc
27892         Fix error condition in _bin_get_state()
27893         Implement live source handling in -launch.
27894         Added check for live sources.
27895         Fixed case in GstBin where elements were changed state
27896         multiple times.
27897
27898
27899 2005-06-23  Andy Wingo  <wingo@pobox.com>
27900
27901         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27902         borken refcounting.
27903
27904         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27905         gst_caps_replace takes care of this for us.
27906
27907         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27908         gst_pad_set_caps on the target, not just its setcaps() function.
27909
27910         * tests/network-clock.scm: 
27911         * tests/network-clock-utils.scm: A network clock simulator.
27912         Something of an algorithmic testbed before doing something in C.
27913
27914 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27915
27916         * check/Makefile.am:
27917         * check/gst/capslist.h:
27918           copy over from 0.8, and add two with bitmasks specified with
27919           (int) 0xFF...
27920         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27921           add test to parse everything from capslist.h
27922         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27923         (main):
27924           add test for structure deserialization
27925         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27926           add tests for deserialization of strings to int types
27927         * gst/gststructure.c: (gst_structure_nth_field_name):
27928         * gst/gststructure.h:
27929           add a way to get the name of a field referenced by index
27930         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27931           instead of checking if the resulting long long lies between
27932           min and max, we check if the long long would fit into
27933           a number of bytes for the final type.
27934           This fixes cases where a string represents 2^32 - 1, which
27935           when cast to int would be the (valid) -1, but is bigger than
27936           G_MAXINT
27937
27938 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27939
27940         * gst/parse/grammar.y:
27941           add a log line for type deserialization
27942
27943 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27944
27945         * check/gst/gstvalue.c: (START_TEST):
27946         * gst/gstvalue.c: (gst_value_deserialize):
27947           return long long, not int, so gint64 deserialization actually
27948           works.  Is there any flag that makes the compiler check this ?
27949           Fixes #308559
27950
27951 2005-06-22  Wim Taymans  <wim@fluendo.com>
27952
27953         * gst/gstbuffer.h:
27954         Added convenience macros for setting buffers in GValue.
27955
27956 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27957
27958         * check/gst/.cvsignore:
27959         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27960           add a test deserializing int64, and comment part out because
27961           it fails, yay !
27962
27963 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27964
27965         * check/Makefile.am:
27966         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27967         * testsuite/Makefile.am:
27968         * testsuite/caps/Makefile.am:
27969         * testsuite/caps/value_serialize.c:
27970         * testsuite/test_gst_init.c:
27971           move a value_serialize test over
27972
27973 2005-06-20  Wim Taymans  <wim@fluendo.com>
27974
27975         * gst/gstpad.c:
27976         Small doc updates.
27977         
27978         * gst/gstvalue.c: (gst_value_compare_buffer),
27979         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27980         (gst_value_compare_flags), (gst_value_serialize_flags),
27981         (gst_value_deserialize_flags), (_gst_value_initialize):
27982         Fix serialisation of buffers, they are not boxed types anymore
27983
27984 2005-06-20  Wim Taymans  <wim@fluendo.com>
27985
27986         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27987         Testcase to show error in buffer-on-caps serialisation.
27988
27989 2005-06-20  Andy Wingo  <wingo@pobox.com>
27990
27991         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27992         will be adding to later.
27993
27994         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27995         if its socks fill with rocks.
27996         (gst_system_clock_obtain): Set the name on object construction.
27997         Avoid double-checked locking.
27998
27999 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
28000
28001         * gst/gsturi.c: (gst_element_make_from_uri):
28002           Fix potential endless loop.
28003
28004 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28005
28006         * check/Makefile.am:
28007           add gsttag
28008         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
28009         (main):
28010           move over from testsuite dir and clean up
28011         * configure.ac:
28012         * gst/gsttag.c:
28013         * testsuite/Makefile.am:
28014         * testsuite/tags/.cvsignore:
28015         * testsuite/tags/Makefile.am:
28016         * testsuite/tags/merge.c:
28017           remove testsuite/tags
28018
28019 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28020
28021         * docs/gst/gstreamer-sections.txt:
28022         * docs/gst/tmpl/gstenumtypes.sgml:
28023         * win32/gstenumtypes.c:
28024           clean up documentation build a little
28025
28026 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28027
28028         * check/gstcheck.h:
28029           add macros for checking refcounts on objects and caps
28030         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
28031           add some more unit tests
28032         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
28033         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
28034           fix leaked refcounts (I hope :)) so unittest works
28035         * gst/gstpad.h:
28036           whitespace removal
28037
28038 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28039
28040         * configure.ac: back to HEAD
28041
28042 === release 0.9.1 ===
28043
28044 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28045
28046         * NEWS:
28047         * RELEASE:
28048           updated
28049
28050 2005-06-17  Andy Wingo  <wingo@pobox.com>
28051
28052         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
28053         assert; it's always possible that the pad gets deactivated in
28054         between the checks in gstpad.c and the implementation. Rely on
28055         finish_preroll() to return a FLUSHING or similar instead of on the
28056         assert.
28057         
28058         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
28059         clock and post an EOS message if we come out of finish_preroll in
28060         the playing state.
28061
28062 2005-06-16  David Schleef  <ds@schleef.org>
28063
28064         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
28065         (gst_capsfilter_set_property): Allow NULL as possible value
28066         for filter_caps property, indicating GST_CAPS_ANY.
28067
28068 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28069
28070         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
28071           fix debug output
28072         * gst/schedulers/Makefile.am:
28073           use libgst prefix
28074         * gstreamer.spec.in:
28075           fix spec for it
28076
28077 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28078
28079         * gstreamer.spec.in:
28080           clean up
28081
28082 2005-06-08  Andy Wingo  <wingo@pobox.com>
28083
28084         * gst/gstutils.c: RPAD fixes all around.
28085         (gst_element_link_pads): Refcounting fixes.
28086
28087         * tools/gst-inspect.c:
28088         * tools/gst-xmlinspect.c:
28089         * parse/grammar.y:
28090         * gst/base/gsttypefindhelper.c:
28091         * gst/base/gstbasesink.c:
28092         * gst/gstqueue.c: RPAD fixes.
28093
28094         * gst/gstghostpad.h:
28095         * gst/gstghostpad.c: New ghost pad implementation as full proxy
28096         pads. The tricky thing is they provide both source and sink
28097         interfaces, since they proxy the internal pad for the external
28098         pad, and vice versa. Implement with lower-level ProxyPad objects,
28099         with the interior proxy pad as a child of the exterior ghost pad.
28100         Should write a doc on this.
28101         
28102         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
28103         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
28104         gst_object API.
28105         
28106         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
28107         pads are real pads. No ghost pads in this file. Not documenting
28108         the myriad s/RPAD/PAD/ and REALIZE fixes.
28109         (gst_pad_class_init): Add properties for "direction" and
28110         "template". Both are construct-only, so they can't change during
28111         the life of the pad. Fixes properly deriving from GstPad.
28112         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
28113         derived objects, just set properties when creating the objects via
28114         g_object_new.
28115         (gst_pad_get_parent): Implement as a function, return NULL if the
28116         parent is not an element.
28117         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
28118         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
28119         
28120         * gst/gstobject.c (gst_object_class_init): Make name a construct
28121         property. Don't set it in the object init.
28122
28123         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
28124         with UNKNOWN direction.
28125         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
28126         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
28127         (gst_element_remove_pad): Remove ghost-pad special cases.
28128         (gst_element_pads_activate): Remove rpad cruft.
28129
28130         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
28131         catch the pad's-parent-not-an-element case.
28132
28133         * gst/gst.h: Include gstghostpad.h.
28134
28135         * gst/gst.c (init_post): No more real, ghost pads.
28136
28137         * gst/Makefile.am: Add gstghostpad.[ch].
28138
28139         * check/Makefile.am:
28140         * check/gst/gstbin.c:
28141         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
28142         into a bin creates ghost pads, and that the refcounts are right.
28143         Partly moved from gstbin.c.
28144
28145 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28146
28147         * check/gst-libs/.cvsignore:
28148         * check/gst/.cvsignore:
28149         * check/pipelines/.cvsignore:
28150           ignore more
28151         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
28152         (START_TEST), (cleanup_suite), (main):
28153           add some tests related to cleanup after running pipelines
28154
28155 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28156
28157         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
28158           add a testsuite for GstBuffer
28159
28160 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28161
28162         * gst/gstminiobject.h:
28163           add defines for accessing the refcount
28164
28165 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
28166
28167         * Makefile.am: added support for html unit test coverage reports
28168
28169 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
28170
28171         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
28172           Free existing caps if the capsfilter changes. Add a FIXME about
28173           setting those caps on the pads.
28174
28175         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
28176           Before adding a ghost pad to a parent bin, check that there isn't
28177           already one for the element on the bin. Prevents infinite recursion
28178           when using decodebin in parse pipelines. Andy says he'll rewrite the
28179           way this works anyway, so ignore the hack.
28180
28181 2005-06-02  Andy Wingo  <wingo@pobox.com>
28182
28183         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
28184         file size, pass it on to the type find helper.
28185
28186         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
28187         segment_start and segment_end properly according to the seek
28188         method. Segment_end is still a bit flaky because offset can be
28189         negative for CUR and END cases, but it takes -1 as an "unset"
28190         value.
28191
28192 2005-06-02  Wim Taymans  <wim@fluendo.com>
28193
28194         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
28195         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
28196         (gst_basesink_activate):
28197         * gst/base/gstbasesink.h:
28198         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28199         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28200         (gst_pad_query), (gst_pad_start_task):
28201         * gst/gstpad.h:
28202         * gst/gstqueue.c: (gst_queue_bufferalloc),
28203         (gst_queue_handle_sink_event), (gst_queue_chain):
28204         Bufferalloc: return GstFlowReturn to more accuratly report
28205         why allocation failed.
28206
28207 2005-06-02  Wim Taymans  <wim@fluendo.com>
28208
28209         * gst/gstpipeline.c: (gst_pipeline_send_event):
28210         Take snapshot of state without blocking.
28211
28212 2005-06-02  Wim Taymans  <wim@fluendo.com>
28213
28214         * docs/design/part-TODO.txt:
28215         * docs/design/part-caps.txt:
28216         * docs/design/part-clocks.txt:
28217         * docs/design/part-negotiation.txt:
28218         * docs/design/part-preroll.txt:
28219         Small doc updates 
28220
28221 2005-05-30  Wim Taymans  <wim@fluendo.com>
28222
28223         * gst/elements/gstidentity.c: (gst_identity_event),
28224         (gst_identity_transform), (gst_identity_get_property):
28225         Protect last_message property as it is accessed from
28226         multiple threads.
28227
28228 2005-05-30  Wim Taymans  <wim@fluendo.com>
28229
28230         * gst/gstelement.c: (gst_element_init),
28231         (gst_element_pads_activate), (gst_element_change_state):
28232         Slicker pad activation code.
28233
28234 2005-05-30  Wim Taymans  <wim@fluendo.com>
28235
28236         * gst/Makefile.am:
28237         * gst/gstelement.h:
28238         * gst/gstelementfactory.h:
28239         * gst/gsttypes.h:
28240         Move elementfactory methods to separate .h file.
28241
28242 2005-05-30  Wim Taymans  <wim@fluendo.com>
28243
28244         * docs/design/part-overview.txt:
28245         * gst/gstsystemclock.h:
28246         Small typo fixes, doc updates.
28247
28248 2005-05-30  Wim Taymans  <wim@fluendo.com>
28249
28250         * gst/gst.c: (gst_init_get_popt_table), (init_post),
28251         (init_popt_callback):
28252         Remove cpu-opt flag.
28253
28254 2005-05-30  Wim Taymans  <wim@fluendo.com>
28255
28256         * gst/gstbuffer.c: (gst_subbuffer_finalize),
28257         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28258         * gst/gstbuffer.h:
28259         Avoid typechecking in places where not needed.
28260         Added accessor for malloc_data.
28261
28262 2005-05-30  Wim Taymans  <wim@fluendo.com>
28263
28264         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28265         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28266         (gst_pad_configure_sink), (gst_pad_configure_src),
28267         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28268         (gst_pad_start_task):
28269         Propagate errors from _set_caps() in configure_src/sink
28270         functions instead of returning TRUE.
28271         FLUSH events can travel up and downstream
28272
28273
28274 2005-05-30  Wim Taymans  <wim@fluendo.com>
28275
28276         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28277         (gst_basesink_activate):
28278         Handle EOS in preroll.
28279
28280 2005-05-30  Wim Taymans  <wim@fluendo.com>
28281
28282         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28283         (gst_queue_loop), (gst_queue_handle_src_event):
28284         Remove old pieces of code
28285         Flushing the queue in an upstream event is a very bad idea.
28286
28287 2005-05-26  Andy Wingo  <wingo@pobox.com>
28288
28289         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28290         gst_value_set_mini_object so as to add a ref on the object (which
28291         will be removed when the value is unset).
28292
28293         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28294         arg type in ::handoff.
28295
28296         * gst/gstelement.c (gst_element_change_state): Also deactivate
28297         pads in READY->NULL, just in case the element didn't make it to
28298         PAUSED. Wingo tested, Wim approved.
28299
28300 2005-05-26  Wim Taymans  <wim@fluendo.com>
28301
28302         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28303         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28304         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28305         A flushing pad cannot be used to alloc_buffer from.
28306
28307 2005-05-26  Wim Taymans  <wim@fluendo.com>
28308
28309         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28310         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28311         (gst_bus_source_dispatch), (gst_bus_source_finalize),
28312         (gst_bus_create_watch), (gst_bus_add_watch_full):
28313         * gst/gstbus.h:
28314         Implement a real GSource and use g_main_context_wakeup() to
28315         signal new messages instead of the socketpair.
28316
28317 2005-05-25  Wim Taymans  <wim@fluendo.com>
28318
28319         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28320         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28321         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28322         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28323         (gst_pad_send_event), (gst_pad_start_task):
28324         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28325         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28326         (gst_queue_sink_activate), (gst_queue_src_activate),
28327         (gst_queue_change_state):
28328         * gst/gstqueue.h:
28329         Fix state changes for non sinks. We now change sinks, then elements
28330         with unconnected srcpads, then the rest.
28331         More efficient queue unlocking in flush and state changes.
28332         Set the pad activate mode even if it does not have an activate
28333         function.
28334
28335 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28336
28337         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28338           Don't go in pull mode for non-seekable sources.
28339         * gst/elements/gsttypefindelement.h:
28340         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28341         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28342         (free_entry), (stop_typefinding),
28343         (gst_type_find_element_handle_event), (find_peek),
28344         (gst_type_find_element_chain), (do_pull_typefind),
28345         (gst_type_find_element_change_state):
28346           Allow typefinding (w/o seeking) in push-mode, simplified version
28347           of what was in 0.8.
28348         * gst/gstutils.c: (gst_buffer_join):
28349         * gst/gstutils.h:
28350           gst_buffer_join() from 0.8.
28351
28352 2005-05-25  Wim Taymans  <wim@fluendo.com>
28353
28354         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28355         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28356         (gst_pad_send_event), (gst_pad_start_task):
28357         Disable attempt at mode switching until it is figured out.
28358
28359 2005-05-25  Wim Taymans  <wim@fluendo.com>
28360
28361         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28362         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28363         (gst_basesink_finish_preroll), (gst_basesink_chain),
28364         (gst_basesink_loop), (gst_basesink_activate),
28365         (gst_basesink_change_state):
28366         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28367         (gst_basesrc_get_range), (gst_basesrc_loop),
28368         (gst_basesrc_activate):
28369         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28370         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28371         (gst_real_pad_init), (gst_real_pad_set_property),
28372         (gst_real_pad_get_property), (gst_pad_set_active),
28373         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28374         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28375         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28376         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28377         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28378         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28379         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28380         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28381         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28382         (gst_pad_stop_task):
28383         * gst/gstpad.h:
28384         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28385         (gst_queue_loop), (gst_queue_src_activate):
28386         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28387         (gst_task_get_state):
28388         * gst/gsttask.h:
28389         * gst/schedulers/threadscheduler.c:
28390         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28391         Implement gst_pad_pause/start/stop_task(), take STREAM lock
28392         in task function.
28393         Remove ACTIVE pad flag, use FLUSHING everywhere
28394         Added _pad_chain(), _pad_get_range() to call chain/getrange 
28395         functions.
28396         Add locks around IS_FLUSHING when reading.
28397         Take STREAM lock in chain(), get_range() functions so plugins
28398         don't need to take it anymore.
28399         
28400
28401
28402 2005-05-25  Wim Taymans  <wim@fluendo.com>
28403
28404         * tools/gst-launch.c: (event_loop):
28405         Unref message after using its contents instead of
28406         before.
28407
28408 2005-05-24  Wim Taymans  <wim@fluendo.com>
28409
28410         * docs/design/draft-ghostpads.txt:
28411         * docs/design/draft-push-pull.txt:
28412         * docs/design/draft-query.txt:
28413         * docs/design/part-overview.txt:
28414         Docs updates, added general overview doc.
28415
28416 2005-05-21  David Schleef  <ds@schleef.org>
28417
28418         * docs/gst/tmpl/old/GstBin.sgml:
28419         * docs/gst/tmpl/old/GstBuffer.sgml:
28420         * docs/gst/tmpl/old/GstCaps.sgml:
28421         * docs/gst/tmpl/old/GstClock.sgml:
28422         * docs/gst/tmpl/old/GstCompat.sgml:
28423         * docs/gst/tmpl/old/GstData.sgml:
28424         * docs/gst/tmpl/old/GstElement.sgml:
28425         * docs/gst/tmpl/old/GstEvent.sgml:
28426         * docs/gst/tmpl/old/GstIndex.sgml:
28427         * docs/gst/tmpl/old/GstStructure.sgml:
28428         * docs/gst/tmpl/old/GstTag.sgml:
28429         * docs/gst/tmpl/old/cothreads.sgml:
28430         * docs/gst/tmpl/old/cothreads_compat.sgml:
28431         * docs/gst/tmpl/old/gettext.sgml:
28432         * docs/gst/tmpl/old/gobject2gtk.sgml:
28433         * docs/gst/tmpl/old/grammar.tab.sgml:
28434         * docs/gst/tmpl/old/gst-i18n-app.sgml:
28435         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28436         * docs/gst/tmpl/old/gst_private.sgml:
28437         * docs/gst/tmpl/old/gstaggregator.sgml:
28438         * docs/gst/tmpl/old/gstarch.sgml:
28439         * docs/gst/tmpl/old/gstatomic_impl.sgml:
28440         * docs/gst/tmpl/old/gstbufferstore.sgml:
28441         * docs/gst/tmpl/old/gstdata_private.sgml:
28442         * docs/gst/tmpl/old/gstdisksink.sgml:
28443         * docs/gst/tmpl/old/gstdisksrc.sgml:
28444         * docs/gst/tmpl/old/gstelementfactory.sgml:
28445         * docs/gst/tmpl/old/gstextratypes.sgml:
28446         * docs/gst/tmpl/old/gstfakesink.sgml:
28447         * docs/gst/tmpl/old/gstfakesrc.sgml:
28448         * docs/gst/tmpl/old/gstfdsink.sgml:
28449         * docs/gst/tmpl/old/gstfdsrc.sgml:
28450         * docs/gst/tmpl/old/gstfilesink.sgml:
28451         * docs/gst/tmpl/old/gstfilesrc.sgml:
28452         * docs/gst/tmpl/old/gsthttpsrc.sgml:
28453         * docs/gst/tmpl/old/gstidentity.sgml:
28454         * docs/gst/tmpl/old/gstindexfactory.sgml:
28455         * docs/gst/tmpl/old/gstmarshal.sgml:
28456         * docs/gst/tmpl/old/gstmd5sink.sgml:
28457         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28458         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28459         * docs/gst/tmpl/old/gstpadtemplate.sgml:
28460         * docs/gst/tmpl/old/gstpipefilter.sgml:
28461         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28462         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28463         * docs/gst/tmpl/old/gstshaper.sgml:
28464         * docs/gst/tmpl/old/gstspider.sgml:
28465         * docs/gst/tmpl/old/gstspideridentity.sgml:
28466         * docs/gst/tmpl/old/gststatistics.sgml:
28467         * docs/gst/tmpl/old/gsttee.sgml:
28468         * docs/gst/tmpl/old/gsttimecache.sgml:
28469         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28470         * docs/gst/tmpl/old/gstxmlregistry.sgml:
28471         * docs/gst/tmpl/old/gthread-cothreads.sgml:
28472         * docs/gst/tmpl/old/types.sgml:
28473           I didn't intend to add these or check them in.
28474
28475 2005-05-19  David Schleef  <ds@schleef.org>
28476
28477         * configure.ac: Use -no-common everywhere.  In a sane world, it
28478           would be the default in libtool, because without it, you can't
28479           build DLLs on Windows.
28480         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28481         * docs/gst/gstreamer-sections.txt:
28482         * docs/gst/tmpl/gstcpu.sgml:
28483         * docs/gst/tmpl/gstdata.sgml:
28484         * docs/gst/tmpl/gstthread.sgml:
28485
28486 2005-05-19  David Schleef  <ds@schleef.org>
28487
28488         * gst/gstminiobject.c: (gst_value_set_mini_object),
28489         (gst_value_take_mini_object), (gst_value_get_mini_object):
28490         * gst/gstminiobject.h: Add GValue set/get functions.
28491
28492 2005-05-19  Wim Taymans  <wim@fluendo.com>
28493
28494         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28495         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28496         (gst_subbuffer_init), (gst_buffer_is_span_fast):
28497         * gst/gstbuffer.h:
28498         * gst/gstbus.c: (gst_bus_post):
28499         * gst/gstelement.c: (gst_element_get_random_pad):
28500         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28501         Make subbufer unref the parent in finalize.
28502         some more debugging info.
28503
28504
28505 2005-05-19  Wim Taymans  <wim@fluendo.com>
28506
28507         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28508         (gst_basesink_init), (gst_basesink_finalize),
28509         (gst_basesink_activate), (gst_basesink_change_state):
28510         Don't free preroll queue too early.
28511
28512 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28513
28514         * gst/Makefile.am:
28515         * gst/ROADMAP:
28516           Hi, I'm outdated. Please shoot me.
28517
28518 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28519
28520         * gst/gstpipeline.c: (gst_pipeline_send_event):
28521           Do not access variables after they have been deleted.
28522
28523 2005-05-19  Wim Taymans  <wim@fluendo.com>
28524
28525         * tools/gst-inspect.c: (print_plugin_features):
28526         A plugin feature does unfortunatly not use the
28527         object name yet...
28528
28529 2005-05-18  Wim Taymans  <wim@fluendo.com>
28530
28531         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28532         Port _span() functions to new subbuffers.
28533
28534 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28535
28536         * gst/gstbin.c: (gst_bin_add_func):
28537           Fix clock settery in bins when adding kids after the clock has
28538           been selected.
28539
28540 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28541
28542         * gst/elements/gstidentity.c: (gst_identity_class_init):
28543           Workaround until signals support GstMiniObject.
28544
28545 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28546
28547         * gst/gstbuffer.c:
28548         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28549
28550 2005-05-18  Wim Taymans  <wim@fluendo.com>
28551
28552         * gst/base/Makefile.am:
28553         * gst/base/gstadapter.c: (gst_adapter_base_init),
28554         (gst_adapter_class_init), (gst_adapter_init),
28555         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28556         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28557         (gst_adapter_flush), (gst_adapter_available),
28558         (gst_adapter_available_fast):
28559         * gst/base/gstadapter.h:
28560         Ported and added adapter to the base classes.
28561
28562 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28563
28564         * gst/gst.c:
28565         * gst/gstmessage.c:
28566           Make sure the class is reffed/unreffed once before threads can be
28567           used.  Fixes #304551.
28568
28569 2005-05-17  Wim Taymans  <wim@fluendo.com>
28570
28571         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28572         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28573         * gst/gstminiobject.c: (gst_mini_object_get_type),
28574         (gst_mini_object_free):
28575         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28576         (gst_pad_push), (gst_pad_push_event):
28577         * gst/gstqueue.c: (gst_queue_change_state):
28578         Don't queue buffers in basesink when we are flushing.
28579         Unref buffer when flushing in basesink.
28580         Flush queue when going to READY
28581         Unref buffer when _push() returns an error.
28582         Don't free MiniObject instance when refcount is incremented
28583         in _finalize() so that we can recover objects.
28584
28585 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28586
28587         * docs/manual/advanced-schedulers.xml:
28588         * docs/manual/appendix-checklist.xml:
28589         * docs/pwg/advanced-clock.xml:
28590         * docs/pwg/advanced-interfaces.xml:
28591         * docs/pwg/advanced-request.xml:
28592         * docs/pwg/advanced-types.xml:
28593         * docs/pwg/intro-preface.xml:
28594         * examples/plugins/example.c: (gst_example_get_type),
28595         (gst_example_class_init), (gst_example_chain),
28596         (gst_example_set_property), (gst_example_get_property),
28597         (gst_example_change_state), (plugin_init):
28598         * examples/plugins/example.h:
28599           small doc fixes
28600
28601 2005-05-17  Wim Taymans  <wim@fluendo.com>
28602
28603         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28604         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28605         * gst/gstqueue.c: (gst_queue_change_state):
28606         Clear queue when going to READY.
28607         Remove IN_SETCAPS flag too.
28608
28609 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28610
28611         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28612           Remove implicit cast from gboolean to GstElementStateReturn;
28613           make sure we still return failure in paused => ready case if
28614           the parent class fails to change state and our own stop 
28615           vfunc succeeds.
28616
28617 2005-05-17  Wim Taymans  <wim@fluendo.com>
28618
28619         * tools/gst-launch.c: (event_loop):
28620         Message was unreffed too soon.
28621
28622 2005-05-16  Andy Wingo  <wingo@pobox.com>
28623
28624         * gst/gstbin.c (sink_iterator_filter): Err... um...
28625
28626         * check/gst/gstbin.c (test_ghost_pads): New test for the
28627         ghosting-if-elements-not-in-same-bin behavior.
28628
28629 2005-05-16  David Schleef  <ds@schleef.org>
28630
28631         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28632         accessing refcount directly.
28633
28634 2005-05-15  David Schleef  <ds@schleef.org>
28635
28636         * check/Makefile.am: remove GstData checks
28637         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28638         * gst/Makefile.am: add miniobject, remove data
28639         * gst/gst.h: add miniobject, remove data
28640         * gst/gstdata.c: remove
28641         * gst/gstdata.h: remove
28642         * gst/gstdata_private.h: remove
28643         * gst/gsttypes.h: remove GstEvent and GstMessage
28644         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28645         * gst/gstmarshal.list: change BOXED -> OBJECT
28646
28647         Implement GstMiniObject.
28648         * gst/gstminiobject.c:
28649         * gst/gstminiobject.h:
28650
28651         Modify to be subclasses of GstMiniObject.
28652         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28653         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28654         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28655         (gst_subbuffer_get_type), (gst_subbuffer_init),
28656         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28657         (gst_buffer_span):
28658         * gst/gstbuffer.h:
28659         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28660         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28661         (_gst_event_copy), (gst_event_new):
28662         * gst/gstevent.h:
28663         * gst/gstmessage.c: (_gst_message_initialize),
28664         (gst_message_get_type), (gst_message_class_init),
28665         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28666         (gst_message_new), (gst_message_new_error),
28667         (gst_message_new_warning), (gst_message_new_tag),
28668         (gst_message_new_state_changed), (gst_message_new_application):
28669         * gst/gstmessage.h:
28670         * gst/gstprobe.c: (gst_probe_perform),
28671         (gst_probe_dispatcher_dispatch):
28672         * gst/gstprobe.h:
28673         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28674         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28675         (_gst_query_copy), (gst_query_new):
28676
28677         Update elements for GstData -> GstMiniObject changes
28678         * gst/gstquery.h:
28679         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28680         (gst_queue_chain), (gst_queue_loop):
28681         * gst/elements/gstbufferstore.c:
28682         (gst_buffer_store_add_buffer_func),
28683         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28684         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28685         (gst_fakesink_render):
28686         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28687         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28688         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28689         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28690         (gst_filesrc_create_read):
28691         * gst/elements/gstidentity.c: (gst_identity_class_init):
28692         * gst/elements/gsttypefindelement.c:
28693         (gst_type_find_element_src_event), (free_entry_buffers),
28694         (gst_type_find_element_handle_event):
28695         * libs/gst/dataprotocol/dataprotocol.c:
28696         (gst_dp_header_from_buffer):
28697         * libs/gst/dataprotocol/dataprotocol.h:
28698         * libs/gst/dataprotocol/dp-private.h:
28699
28700 2005-05-15  David Schleef  <ds@schleef.org>
28701
28702         * gst/elements/gstelements.c: Don't include headers that were
28703         just removed.
28704
28705 2005-05-15  David Schleef  <ds@schleef.org>
28706
28707         * gst/elements/Makefile.am: Remove some elements that don't
28708         need to be in the core (or even exist at all).
28709         * gst/elements/gstaggregator.c:
28710         * gst/elements/gstaggregator.h:
28711         * gst/elements/gstmd5sink.c:
28712         * gst/elements/gstmd5sink.h:
28713         * gst/elements/gstmultifilesrc.c:
28714         * gst/elements/gstmultifilesrc.h:
28715         * gst/elements/gstpipefilter.c:
28716         * gst/elements/gstpipefilter.h:
28717         * gst/elements/gstshaper.c:
28718         * gst/elements/gstshaper.h:
28719         * gst/elements/gststatistics.c:
28720         * gst/elements/gststatistics.h:
28721         * po/POTFILES.in: Remove above files.
28722
28723 2005-05-14  Andy Wingo  <wingo@pobox.com>
28724
28725         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28726         so as to get the refs right.
28727         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28728         unreffing objects that don't pass the filter.
28729
28730         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28731         gst_element_set_bus.
28732         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28733         normal cases, this will destroy the bus.
28734
28735         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28736         object.
28737
28738         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28739         has no sinks.
28740
28741 2005-05-13  Andy Wingo  <wingo@pobox.com>
28742
28743         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28744         gst_pad_link, call pad_link_maybe_ghosting,
28745         (pad_link_maybe_ghosting): Links pads, making sure that the
28746         elements being linked are in the same bin.
28747         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28748         Helpers for pad_link_maybe_ghosting.
28749
28750 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28751
28752         * configure.ac:
28753           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28754
28755 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28756
28757         * docs/design/part-element-source.txt:
28758           Mention GstPushSrc
28759
28760 2005-05-12  Wim Taymans  <wim@fluendo.com>
28761
28762         * gst/base/gstbasesink.c: (gst_basesink_init),
28763         (gst_basesink_activate):
28764         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28765         (gst_basesrc_is_seekable):
28766         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28767         (bin_element_is_sink), (gst_bin_change_state):
28768         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28769         * gst/gstelement.h:
28770         Identify sinks by their flag to avoid overly complicated
28771         checks (fow now).
28772         Do state changes even for elements not reachable from the
28773         sinks.
28774         BaseSink is a sink now :)
28775         Some more debugging info in the basesrc.
28776
28777
28778 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28779
28780         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28781           Implement _query on a bin, similar to _send_event.
28782
28783 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28784
28785         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28786           Discont event offset format should be GST_FORMAT_BYTES,
28787           not GST_FORMAT_TIME.
28788
28789 2005-05-12  Wim Taymans  <wim@fluendo.com>
28790
28791         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28792         Same fix as Ronald's but without the signal. 
28793
28794 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28795
28796         * gst/gstutils.c: (gst_element_query_position):
28797           No, an element is not a pad.
28798
28799 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28800
28801         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28802         (gst_bin_get_state):
28803           If a child is removed from a bin while we remove the child from
28804           the bin and while we're retrieving its state, signal this to the
28805           get_state function so we abort the wait (instead of waiting for
28806           a timeout) and can immediately re-iterate over all other elements.
28807
28808 2005-05-12  Wim Taymans  <wim@fluendo.com>
28809
28810         * gst/base/Makefile.am:
28811         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28812         (gst_basesrc_start):
28813         * gst/base/gstbasesrc.h:
28814         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28815         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28816         (gst_pushsrc_init), (gst_pushsrc_create):
28817         * gst/base/gstpushsrc.h:
28818         Added is_seekable to BaseSrc
28819         Added simple PushSrc.
28820
28821 2005-05-11  Wim Taymans  <wim@fluendo.com>
28822
28823         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28824         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28825         (gst_element_link_pads), (gst_element_query_position),
28826         (gst_element_query_convert), (intersect_caps_func),
28827         (gst_pad_query_position), (gst_pad_query_convert):
28828         Fix refcounting in utils function.
28829         No point in trying to activate a pad when it's added, it could
28830         be added from the state change function and then we deadlock, the
28831         element has to decide what to do.
28832
28833 2005-05-10  Andy Wingo  <wingo@pobox.com>
28834
28835         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28836         *all* the arguments.
28837
28838         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28839         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28840         lock (according to the docs -- if this is wrong change the docs).
28841
28842         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28843         flush messages in the NULL state.
28844
28845         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28846         message immediately and return.
28847         (gst_bus_set_flushing): New function. If a bus is flushing, it
28848         flushes out any queued messages and immediately unrefs new
28849         messages. This is so when an element goes to NULL, all of the
28850         unhandled messages coming from it can be freed, and their
28851         references to the element dropped. In other words: message source
28852         ref considered harmful :P
28853
28854         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28855         we're finished with it.
28856
28857         * gst/gstmessage.c (gst_message_new_state_changed): 
28858
28859 2005-05-10  Wim Taymans  <wim@fluendo.com>
28860
28861         * gst/gstvalue.c: (gst_value_compare_flags),
28862         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28863         (_gst_value_initialize):
28864         Added flags serialize/deserialize/compare code.
28865
28866 2005-05-09  Andy Wingo  <wingo@pobox.com>
28867
28868         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28869         Intersect the peer's caps with our caps.
28870
28871 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28872
28873         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28874         * gst/elements/gsttypefindelement.c: (find_peek):
28875           Handle negative offsets better. Fixes decodebin.
28876
28877 2005-05-09  Wim Taymans  <wim@fluendo.com>
28878
28879         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28880         (gst_base_transform_event):
28881         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28882         Implement accept_caps.
28883         Fix silly lock/unlock mismatch in base class.
28884
28885 2005-05-09  Wim Taymans  <wim@fluendo.com>
28886
28887         * docs/design/draft-push-pull.txt:
28888         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28889         * gst/elements/gstfilesink.c: (gst_filesink_init),
28890         (gst_filesink_query):
28891         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28892         (gst_type_find_handle_src_query), (find_element_get_length):
28893         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28894         * gst/gstelement.h:
28895         * gst/gstmessage.c:
28896         * gst/gstmessage.h:
28897         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28898         (gst_real_pad_get_caps_unlocked),
28899         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28900         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28901         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28902         (gst_real_pad_dispose), (gst_real_pad_finalize),
28903         (gst_pad_load_and_link), (gst_pad_save_thyself),
28904         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28905         (gst_pad_check_pull_range), (gst_pad_pull_range),
28906         (gst_pad_template_get_type), (gst_pad_template_class_init),
28907         (gst_pad_template_init), (gst_pad_template_dispose),
28908         (name_is_valid), (gst_static_pad_template_get),
28909         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28910         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28911         (gst_pad_get_element_private), (gst_pad_start_task),
28912         (gst_pad_pause_task), (gst_pad_stop_task),
28913         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28914         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28915         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28916         (gst_ghost_pad_new):
28917         * gst/gstpad.h:
28918         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28919         (gst_query_new_position), (gst_query_set_position),
28920         (gst_query_parse_position), (gst_query_new_convert),
28921         (gst_query_set_convert), (gst_query_parse_convert):
28922         * gst/gstquery.h:
28923         * gst/gstqueryutils.c:
28924         * gst/gstqueryutils.h:
28925         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28926         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28927         (gst_queue_handle_src_query):
28928         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28929         (gst_element_query_position), (gst_element_query_convert),
28930         (intersect_caps_func), (gst_pad_query_position),
28931         (gst_pad_query_convert):
28932         * gst/gstutils.h:
28933         * tools/gst-inspect.c: (print_pad_info):
28934         * tools/gst-xmlinspect.c: (print_element_info):
28935         Remove old query functions. Ported old code.
28936         Added position/convert helper functions to gstutils.
28937         Reordered gstpad.c code, grouping relevant things.
28938         Remove gst_message_new(), always need to speficy a specific
28939         message.
28940
28941
28942 2005-05-09  Andy Wingo  <wingo@pobox.com>
28943
28944         * gst/gstiterator.h: Add some includes.
28945
28946         * gst/gstqueryutils.h: Include more headers.
28947
28948         * gst/gstpad.h:
28949         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28950         some uses of gst_pad_query.
28951
28952         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28953         NULL out parameters.
28954         (gst_query_new_position): New proc, allocates a new position
28955         query.
28956
28957         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28958         gstqueryutils.c to the build.
28959
28960         * gst/gststructure.c (gst_structure_set_valist): Implement with
28961         the generic G_VALUE_COLLECT.
28962         
28963 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28964
28965         * gst/Makefile.am: (gst_headers):
28966         Added gstqueryutils.h to the list of headers to install, that was
28967         a 'nachty' move wingo :)
28968
28969 2005-05-06  Andy Wingo  <wingo@pobox.com>
28970
28971         * gst/gstquery.h
28972         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28973         GstData, init a memchunk.
28974         (standard_definitions): Add a few query types, deprecate a few.
28975         (gst_query_get_type): New proc.
28976         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28977         implementation.
28978         (gst_query_new_application, gst_query_get_structure): New public
28979         procs.
28980
28981         * docs/design/draft-query.txt: Removed LINKS from the query types,
28982         because all the rest can be dispatched to other pads -- seemed
28983         ugly to have a query that couldn't be dispatched. internal_links
28984         is fine as a pad method.
28985
28986         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28987         in gstpad.c, but maintain binary compatibility for the moment.
28988         Will fix before 0.9 is out.
28989
28990         * gst/gstqueryutils.c: 
28991         * gst/gstqueryutils.h: New files, implement 3 methods for each
28992         query type: parse_query, parse_response, and set. Probably need an
28993         allocator as well.
28994
28995         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28996
28997         * gst/elements/gstfilesink.c (gst_filesink_query2):
28998         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28999         query_types, and formats methods.
29000
29001         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
29002         (gst_pad_set_query2_function): New functions.
29003         (gst_real_pad_init): Set query2_default as the default query2
29004         function. Basically just dispatches to internally linked pads.
29005
29006         Needs review!
29007         
29008         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
29009         without using the atomic operations. Only one thread can possibly
29010         be accessing the data at this point. Changed so as to avoid
29011         gst_atomic operations.
29012
29013 2005-05-06  Wim Taymans  <wim@fluendo.com>
29014
29015         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
29016         Also set caps if we use the fallback buffer alloc.
29017
29018 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
29019
29020         * docs/gst/Makefile.am:
29021         * docs/gst/gstreamer-docs.sgml:
29022         * docs/gst/gstreamer-sections.txt:
29023         * docs/gst/tmpl/gstatomic.sgml:
29024         * docs/gst/tmpl/gstmemchunk.sgml:
29025         * testsuite/elements/struct_i386.h:
29026         * win32/GStreamer.vcproj:
29027         * win32/Makefile:
29028           Purge GstAtomic stuff from docs and win32 makefiles as well
29029
29030 2005-05-06  Wim Taymans  <wim@fluendo.com>
29031
29032         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
29033         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
29034         * gst/gstpad.c: (gst_pad_peer_get_caps):
29035         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
29036         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
29037         (gst_queue_src_activate), (gst_queue_change_state):
29038         * gst/gstqueue.h:
29039         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29040         (intersect_caps_func):
29041         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
29042         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
29043         Some fixes for the peer_get_caps() change.
29044
29045 2005-05-06  Wim Taymans  <wim@fluendo.com>
29046
29047         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29048         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
29049         (gst_basesink_activate):
29050         Actually do something with error codes returned from the push
29051         functions.
29052
29053 2005-05-06  Wim Taymans  <wim@fluendo.com>
29054
29055         * docs/design/part-element-sink.txt:
29056         * docs/design/part-element-source.txt:
29057         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29058         (gst_basesink_event), (gst_basesink_activate):
29059         * gst/base/gstbasesink.h:
29060         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
29061         (gst_basesrc_activate):
29062         * gst/base/gstbasesrc.h:
29063         * gst/gstelement.c: (gst_element_pads_activate):
29064         Some more documentation.
29065         Fixed scheduling decision in _pads_activate().
29066
29067 2005-05-05  Andy Wingo  <wingo@pobox.com>
29068
29069         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
29070         the test suite.
29071
29072 2005-05-05  Wim Taymans  <wim@fluendo.com>
29073
29074         * gst/base/Makefile.am:
29075         * gst/base/gstbasesink.h:
29076         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29077         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
29078         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
29079         (gst_collectpads_class_init), (gst_collectpads_init),
29080         (gst_collectpads_finalize), (gst_collectpads_new),
29081         (gst_collectpads_set_function), (gst_collectpads_add_pad),
29082         (find_pad), (gst_collectpads_remove_pad),
29083         (gst_collectpads_is_active), (gst_collectpads_collect),
29084         (gst_collectpads_collect_range), (gst_collectpads_start),
29085         (gst_collectpads_stop), (gst_collectpads_peek),
29086         (gst_collectpads_pop), (gst_collectpads_available),
29087         (gst_collectpads_read), (gst_collectpads_flush),
29088         (gst_collectpads_chain):
29089         * gst/base/gstcollectpads.h:
29090         * gst/elements/Makefile.am:
29091         * gst/elements/gstelements.c:
29092         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29093         (gst_fakesink_get_times), (gst_fakesink_event),
29094         (gst_fakesink_preroll), (gst_fakesink_render):
29095         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
29096         (gst_filesink_init), (gst_filesink_set_location),
29097         (gst_filesink_open_file), (gst_filesink_close_file),
29098         (gst_filesink_pad_query), (gst_filesink_event),
29099         (gst_filesink_render), (gst_filesink_change_state):
29100         * gst/elements/gstfilesink.h:
29101         Added object to help in making collect pad based elements.
29102         Ported filesink.
29103         Make event function in sink baseclass return gboolean.
29104
29105 2005-05-05  Wim Taymans  <wim@fluendo.com>
29106
29107         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
29108         (gst_bin_get_by_name):
29109         * gst/gstbuffer.h:
29110         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
29111         (gst_clock_finalize):
29112         * gst/gstdata.c: (gst_data_replace):
29113         * gst/gstdata.h:
29114         * gst/gstelement.c: (gst_element_request_pad),
29115         (gst_element_pads_activate):
29116         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
29117         (gst_object_unref):
29118         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29119         (gst_pad_set_checkgetrange_function),
29120         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
29121         (gst_pad_check_pull_range), (gst_pad_pull_range),
29122         (gst_static_pad_template_get_caps), (gst_pad_start_task),
29123         (gst_pad_pause_task), (gst_pad_stop_task):
29124         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29125         (gst_element_request_pad), (gst_pad_proxy_getcaps):
29126         Fix name lookup in GstBin.
29127         Added _data_replace() function and _buffer_replace()
29128         Use finalize method to clean up clock.
29129         Fix refcounting on request pads.
29130         Fix pad schedule mode error.
29131         Some more object refcounting debug info,
29132
29133
29134 2005-05-04  Andy Wingo <wingo@pobox.com>
29135
29136         * check/Makefile.am:
29137         * docs/gst/tmpl/gstatomic.sgml:
29138         * docs/gst/tmpl/gstplugin.sgml:
29139         * gst/base/gstbasesink.c: (gst_basesink_activate):
29140         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
29141         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
29142         (gst_basesrc_query), (gst_basesrc_set_property),
29143         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
29144         (gst_basesrc_activate):
29145         * gst/base/gstbasesrc.h:
29146         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
29147         (gst_base_transform_src_activate):
29148         * gst/elements/gstelements.c:
29149         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29150         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29151         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29152         * gst/elements/gsttypefindelement.c: (find_element_get_length),
29153         (gst_type_find_element_checkgetrange),
29154         (gst_type_find_element_activate):
29155         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
29156         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
29157         (gst_caps_load_thyself):
29158         * gst/gstelement.c: (gst_element_pads_activate),
29159         (gst_element_save_thyself), (gst_element_restore_thyself):
29160         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
29161         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
29162         * gst/gstpad.h:
29163         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
29164         (gst_xml_parse_file), (gst_xml_parse_memory),
29165         (gst_xml_get_element), (gst_xml_make_element):
29166         * gst/indexers/gstfileindex.c: (gst_file_index_load),
29167         (_file_index_id_save_xml), (gst_file_index_commit):
29168         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
29169         (read_enum), (load_pad_template), (load_feature), (load_plugin),
29170         (load_paths):
29171         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
29172         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
29173         * tools/gst-complete.c: (main):
29174         * tools/gst-compprep.c: (main):
29175         * tools/gst-inspect.c: (print_element_properties_info):
29176         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
29177         * tools/gst-xmlinspect.c: (print_element_properties):
29178         GCC 4 fixen.
29179         
29180 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
29181
29182         * gst/gstplugin.c: (gst_plugin_check_module),
29183         (gst_plugin_check_file), (gst_plugin_load_file):
29184             apply patch from #172526 to make register work on MacOSX
29185
29186 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29187
29188         * docs/gst/tmpl/gstconfig.sgml:
29189         * gst/gstconfig.h.in:
29190           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
29191         * testsuite/debug/printf_extension.c: (main):
29192           Do not use GST_PTR_FORMAT on pointers to types with
29193           sizeof < sizeof(gpointer).  Fixes test on 64-bit
29194         * testsuite/elements/property.h:
29195           use correct printf format
29196
29197 2005-05-02  Wim Taymans  <wim@fluendo.com>
29198
29199         * docs/design/draft-push-pull.txt:
29200         * docs/design/draft-query.txt:
29201         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
29202         (gst_basesrc_start):
29203         Added draft for new query API.
29204         Added draft for better selecting scheduling methods.
29205         Make basesrc ignore length if the subclass does not support
29206         it.
29207
29208 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29209
29210         * gst/Makefile.am:
29211           possible fixes for automake-1.5 - _LIBADD is reserved
29212
29213 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29214
29215         * docs/faq/Makefile.am:
29216         * docs/manual/Makefile.am:
29217         * docs/manuals.mak:
29218         * docs/pwg/Makefile.am:
29219         * gst/Makefile.am:
29220           possible fixes for automake-1.5
29221
29222 2005-04-28  Wim Taymans  <wim@fluendo.com>
29223
29224         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29225         (gst_basesink_pad_getcaps), (gst_basesink_init),
29226         (gst_basesink_do_sync):
29227         * gst/gstclock.c: (gst_clock_entry_new):
29228         * gst/gstevent.c: (gst_event_discont_get_value):
29229         * gst/gstpipeline.c: (pipeline_bus_handler),
29230         (gst_pipeline_change_state):
29231         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29232         Better debugging of clocking info.
29233         Allow NULL values when getting discont values.
29234
29235 2005-04-27  Wim Taymans  <wim@fluendo.com>
29236
29237         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29238         * check/gst/gstpad.c: (gst_pad_suite):
29239         Increase timeout for checks.
29240
29241 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29242
29243         * check/Makefile.am:
29244           fix the broken rule for cleanup.  Apparently this rule is
29245           only needed on FC2, so maybe this warrants further autotool
29246           inspection.
29247
29248 2005-04-26  Wim Taymans  <wim@fluendo.com>
29249
29250         * gst/gsttrashstack.h:
29251         Ooohh. a nasty one! After having a failed pop() from the stack,
29252         it's possible that the stack is empty. In that case, don't
29253         follow the NULL pointer.
29254
29255 2005-04-25  Wim Taymans  <wim@fluendo.com>
29256
29257         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29258         (gst_pad_set_checkgetrange_function),
29259         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29260         (gst_pad_check_pull_range), (gst_pad_pull_range),
29261         (gst_static_pad_template_get_caps), (gst_pad_start_task),
29262         (gst_pad_pause_task), (gst_pad_stop_task):
29263         * gst/gstplugin.c: (gst_plugin_load):
29264         * gst/gstplugin.h:
29265         Remove gst_library_load as it does more harm than good with
29266         the new g_module flags.
29267         Revert bogus caps template check in pad linking, pad caps
29268         are important when linking not the template, which is more
29269         general than the current caps.
29270
29271 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29272
29273         * gst/autoplug/.cvsignore:
29274         * gst/autoplug/Makefile.am:
29275         * gst/autoplug/gstsearchfuncs.c:
29276         * gst/autoplug/gstsearchfuncs.h:
29277         * gst/autoplug/gstspider.c:
29278         * gst/autoplug/gstspider.h:
29279         * gst/autoplug/gstspideridentity.c:
29280         * gst/autoplug/gstspideridentity.h:
29281         * gst/autoplug/spidertest.c:
29282           Die, spider, die.
29283
29284 2005-04-25  Wim Taymans  <wim@fluendo.com>
29285
29286         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29287         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29288         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29289         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29290         * gst/gstpad.h:
29291         Added stubs for unimplemented functions. 
29292
29293 2005-04-24  David Schleef  <ds@schleef.org>
29294
29295         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
29296         please fix.
29297
29298 2005-04-24  David Schleef  <ds@schleef.org>
29299
29300         Convert everything from GstAtomicInt to g_atomic_int_*, and
29301         remove gstatomic.
29302         * gst/Makefile.am:
29303         * gst/gstatomic.c:
29304         * gst/gstatomic.h:
29305         * gst/gstatomic_impl.h:
29306         * gst/gstbuffer.c:
29307         * gst/gstcaps.c:
29308         * gst/gstcaps.h:
29309         * gst/gstclock.c:
29310         * gst/gstclock.h:
29311         * gst/gstdata.c:
29312         * gst/gstdata.h:
29313         * gst/gstdata_private.h:
29314         * gst/gstevent.c:
29315         * gst/gstinfo.c:
29316         * gst/gstinfo.h:
29317         * gst/gstmessage.c:
29318         * gst/gstobject.c:
29319         * gst/gstobject.h:
29320         * gst/gststructure.c:
29321         * gst/gststructure.h:
29322         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29323         * gst/gstutils.h:
29324
29325 2005-04-24  David Schleef  <ds@schleef.org>
29326
29327         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29328         make the regressions tests work.  Remove some code that is no
29329         longer true.
29330         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29331         Disable warning for pads without templates.
29332
29333 2005-04-24  David Schleef  <ds@schleef.org>
29334
29335         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
29336         functions that handle filtered links.
29337         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29338         removed functions.
29339         * gst/gstutils.c: Fix/remove utility functions that handle
29340         filtered caps.
29341         * gst/gstutils.h:
29342         * gst/gstvalue.c: Add serialization/deserialization of caps
29343         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
29344         requires fixing so that the filter caps notation creates
29345         a capsfilter element and sets the filter_caps property.  I
29346         think everyone probably wants to keep the shorthand notation.
29347         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29348         * docs/gst/tmpl/gstpad.sgml:
29349
29350         * gst/elements/gstelements.c: Register capsfilter element.
29351         * gst/Makefile.am: fix spacing
29352         * docs/random/ds/0.9-suggested-changes: random
29353
29354 2005-04-23  David Schleef  <ds@schleef.org>
29355
29356         * gst/elements/Makefile.am:
29357         * gst/elements/gstcapsfilter.c: New element that acts like an
29358         identity, but filters caps.  Will eventually replace filtered
29359         caps in pad linking.
29360         * gst/gstutils.c: (gst_element_create_all_pads): New function
29361         to create all the ALWAYS pads that are registered with an
29362         element class.  This functionality should eventually be
29363         merged in with GstElement initialization.
29364         * gst/gstutils.h:
29365         * testsuite/trigger/README: part of trigger test code that should
29366         have been checked in a long time ago.
29367
29368 2005-04-23  David Schleef  <ds@schleef.org>
29369
29370         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
29371         needed with new versions of libtool (nobody will confirm this),
29372         and hard to carry around.
29373         * gst/autoplug/Makefile.am:
29374         * gst/base/Makefile.am:
29375         * gst/elements/Makefile.am:
29376         * gst/indexers/Makefile.am:
29377         * gst/schedulers/Makefile.am:
29378         * libs/gst/bytestream/Makefile.am:
29379         * libs/gst/control/Makefile.am:
29380         * libs/gst/dataprotocol/Makefile.am:
29381         * libs/gst/getbits/Makefile.am:
29382
29383 2005-04-21  Wim Taymans  <wim@fluendo.com>
29384
29385         * docs/design/draft-push-pull.txt:
29386         * docs/design/part-MT-refcounting.txt:
29387         * docs/design/part-TODO.txt:
29388         * docs/design/part-caps.txt:
29389         * docs/design/part-events.txt:
29390         * docs/design/part-gstbus.txt:
29391         * docs/design/part-gstpipeline.txt:
29392         * docs/design/part-messages.txt:
29393         * docs/design/part-push-pull.txt:
29394         * docs/design/part-query.txt:
29395         Some more docs.
29396
29397 2005-04-21  Wim Taymans  <wim@fluendo.com>
29398
29399         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29400         (gst_message_new), (gst_message_new_error),
29401         (gst_message_new_warning), (gst_message_new_tag),
29402         (gst_message_new_state_changed), (gst_message_new_application),
29403         (gst_message_get_structure):
29404         * gst/gstmessage.h:
29405         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29406         (gst_structure_copy_conditional):
29407         Use parent refcount in GstMessage to ensure GstStructure
29408         consistency.
29409         Cleaned up headers a bit.
29410         
29411
29412 2005-04-20  Wim Taymans  <wim@fluendo.com>
29413
29414         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29415         (gst_basesink_pad_getcaps), (gst_basesink_init),
29416         (gst_basesink_chain_unlocked):
29417         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29418         (gst_type_find_helper):
29419         * gst/elements/gsttypefindelement.c:
29420         (gst_type_find_element_have_type), (gst_type_find_element_init),
29421         (stop_typefinding), (gst_type_find_element_handle_event),
29422         (find_suggest), (gst_type_find_element_chain),
29423         (gst_type_find_element_checkgetrange),
29424         (gst_type_find_element_getrange), (do_typefind),
29425         (gst_type_find_element_activate):
29426         * gst/gstbuffer.c: (_gst_buffer_sub_free),
29427         (gst_buffer_default_free), (gst_buffer_default_copy),
29428         (gst_buffer_set_caps):
29429         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29430         (gst_caps_replace):
29431         * gst/gstmessage.c: (gst_message_new),
29432         (gst_message_new_state_changed):
29433         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29434         (gst_pad_set_checkgetrange_function),
29435         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29436         (gst_pad_set_caps), (gst_pad_check_pull_range),
29437         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29438         * gst/gstpad.h:
29439         * gst/gsttypefind.c: (gst_type_find_register):
29440         Make gst_caps_replace() work like other _replace() functions.
29441         Use _caps_replace() where possible.
29442         Make sure _message_new() initialises its field.
29443         Add gst_static_pad_template_get_caps()
29444
29445
29446 2005-04-18  Andy Wingo  <wingo@pobox.com>
29447
29448         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29449         on the peer, not the pad. I think that was a typo. Pass an extra
29450         arg to see if random access is possible. Activate the pads as
29451         PULL_RANGE if possible.
29452
29453         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29454
29455         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
29456         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29457         to PROP_....
29458
29459 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29460
29461         * docs/faq/using.xml:
29462           Add note on gstreamer-properties (#154996).
29463
29464 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29465
29466         * docs/random/bbb/optional-properties:
29467           Some analysis on optional properties.
29468
29469 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29470
29471         * docs/gst/tmpl/gstelementfactory.sgml:
29472         * gst/gstelement.h:
29473         * gst/gstelementfactory.c: (gst_element_factory_init),
29474         (gst_element_factory_cleanup), (gst_element_register),
29475         (__gst_element_factory_add_static_pad_template),
29476         (gst_element_factory_get_static_pad_templates),
29477         (gst_element_factory_can_src_caps),
29478         (gst_element_factory_can_sink_caps):
29479         * gst/registries/Makefile.am:
29480         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29481         (gst_xml_registry_class_init), (gst_xml_registry_init),
29482         (gst_xml_registry_new), (gst_xml_registry_set_property),
29483         (gst_xml_registry_get_property), (get_time), (make_dir),
29484         (gst_xml_registry_get_perms_func),
29485         (plugin_times_older_than_recurse), (plugin_times_older_than),
29486         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29487         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29488         (add_to_char_array), (read_string), (read_uint), (read_enum),
29489         (load_pad_template), (load_feature), (load_plugin), (load_paths),
29490         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29491         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29492         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29493         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29494         (gst_xml_registry_rebuild):
29495         * gst/registries/gstlibxmlregistry.h:
29496         * tools/gst-compprep.c: (main):
29497         * tools/gst-inspect.c: (print_pad_templates_info):
29498         * tools/gst-xmlinspect.c: (print_element_info):
29499           Use libxml2 for registry parsing, use staticpadtemplates in
29500           elementfactories. Makes gst_init() +/- 10x faster.
29501
29502 2005-04-12  Wim Taymans  <wim@fluendo.com>
29503
29504         * gst/base/Makefile.am:
29505         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29506         (gst_basesink_pad_getcaps), (gst_basesink_init),
29507         (gst_basesink_event), (gst_basesink_change_state):
29508         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29509         (gst_basesrc_init), (gst_basesrc_query),
29510         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29511         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29512         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29513         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29514         (gst_basesrc_stop), (gst_basesrc_activate),
29515         (gst_basesrc_change_state):
29516         * gst/base/gsttypefindhelper.c: (helper_find_peek),
29517         (helper_find_suggest), (gst_type_find_helper):
29518         * gst/base/gsttypefindhelper.h:
29519         * gst/elements/Makefile.am:
29520         * gst/elements/gstelements.c:
29521         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29522         (gst_fakesink_get_times), (gst_fakesink_event),
29523         (gst_fakesink_preroll), (gst_fakesink_render):
29524         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29525         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29526         (gst_fakesrc_get_property), (gst_fakesrc_create),
29527         (gst_fakesrc_start), (gst_fakesrc_stop):
29528         * gst/elements/gstfakesrc.h:
29529         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29530         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29531         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29532         (gst_filesrc_create_read), (gst_filesrc_create),
29533         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29534         (gst_filesrc_start):
29535         * gst/elements/gsttypefindelement.c:
29536         (gst_type_find_element_have_type), (gst_type_find_element_init),
29537         (start_typefinding), (stop_typefinding), (push_buffer_store),
29538         (gst_type_find_element_handle_event),
29539         (gst_type_find_element_chain),
29540         (gst_type_find_element_checkgetrange),
29541         (gst_type_find_element_getrange), (do_typefind),
29542         (gst_type_find_element_activate),
29543         (gst_type_find_element_change_state):
29544         * gst/elements/gsttypefindelement.h:
29545         * gst/gstpipeline.c: (pipeline_bus_handler):
29546         Added typefind helper.
29547         Small preroll fix in the base sink.
29548         Disable typefind code in basesrc.
29549         Crude port of typefindelement.
29550         Fakesrc cleanups.
29551
29552
29553 2005-04-11  Wim Taymans  <wim@fluendo.com>
29554
29555         * check/gst/gstbus.c: (gstbus_suite):
29556         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29557         * check/gstcheck.h:
29558           Fix up the timeout so that the test does not fail.
29559
29560 2005-04-06  Wim Taymans  <wim@fluendo.com>
29561
29562         * gst/base/README:
29563         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29564         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29565         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29566         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29567         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29568         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29569         (gst_basesrc_stop), (gst_basesrc_activate),
29570         (gst_basesrc_change_state), (basesrc_find_peek),
29571         (basesrc_find_suggest), (gst_basesrc_type_find):
29572         * gst/base/gstbasesrc.h:
29573         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29574         (gst_filesrc_class_init), (gst_filesrc_init),
29575         (gst_filesrc_finalize), (gst_filesrc_set_location),
29576         (gst_filesrc_set_property), (gst_filesrc_get_property),
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_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29581         * gst/elements/gstfilesrc.h:
29582         * gst/gstelement.c: (gst_element_get_state_func),
29583         (gst_element_lost_state), (gst_element_pads_activate):
29584         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29585         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29586         (gst_pad_pull_range):
29587         * gst/gstpad.h:
29588         More work on the generic source base class, implement seeking,
29589         query.
29590         Make filesrc extend the base source class.
29591         Added gst_pad_set_checkgetrange_function to GstPad.
29592
29593 2005-04-06  Andy Wingo  <wingo@pobox.com>
29594
29595         * pkgconfig/gstreamer-base.pc.in:
29596         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29597
29598         * pkgconfig/Makefile.am:
29599         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29600
29601 2005-04-04  Wim Taymans  <wim@fluendo.com>
29602
29603         * gst/base/Makefile.am:
29604         * gst/base/README:
29605         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29606         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29607         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29608         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29609         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29610         (gst_basesrc_base_init), (gst_basesrc_class_init),
29611         (gst_basesrc_init), (gst_basesrc_get_formats),
29612         (gst_basesrc_get_query_types), (gst_basesrc_query),
29613         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29614         (gst_basesrc_set_property), (gst_basesrc_get_property),
29615         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29616         (gst_basesrc_loop), (gst_basesrc_activate),
29617         (gst_basesrc_change_state):
29618         * gst/base/gstbasesrc.h:
29619         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29620         (gst_fakesrc_class_init), (gst_fakesrc_init),
29621         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29622         (gst_fakesrc_get_property), (gst_fakesrc_create):
29623         * gst/elements/gstfakesrc.h:
29624         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29625         (gst_filesrc_open_file), (gst_filesrc_loop),
29626         (gst_filesrc_activate), (filesrc_find_peek),
29627         (gst_filesrc_type_find):
29628         Made base source class, make fakesrc extend it.
29629         Add comments to basesink class.
29630         Some filesrc cleanup.
29631
29632 2005-03-31  David Schleef  <ds@schleef.org>
29633
29634         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29635         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29636         expected to link against libgstreamer.
29637         * gst/base/Makefile.am: link against libgstreamer
29638         * gst/elements/Makefile.am: same
29639
29640 2005-03-31  Andy Wingo  <wingo@pobox.com>
29641
29642         * tests/instantiate/Makefile.am:
29643         * tests/instantiate/caps.c: Add test to test speed of caps copy
29644         and free.
29645
29646         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29647         GMemChunk to be fair.
29648
29649         * gst/gsttrashstack.h: Remove warning about using the fallback
29650         trash stack implementation, it's still faster than malloc.
29651
29652 2005-03-30  Andy Wingo  <wingo@pobox.com>
29653
29654         * tests/complexity.c: Add a copyright.
29655
29656 2005-03-31  Wim Taymans  <wim@fluendo.com>
29657
29658         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29659         (gst_base_transform_class_init), (gst_base_transform_init),
29660         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29661         (gst_base_transform_get_property),
29662         (gst_base_transform_sink_activate),
29663         (gst_base_transform_src_activate),
29664         (gst_base_transform_change_state):
29665         * gst/base/gstbasetransform.h:
29666         * gst/elements/gstidentity.c: (gst_identity_class_init),
29667         (gst_identity_event), (gst_identity_check_perfect),
29668         (gst_identity_transform), (gst_identity_start),
29669         (gst_identity_stop):
29670         Added start/stop methods to transform base class so subclasses 
29671         don't need to deal with state changes even.
29672
29673 2005-03-31  Wim Taymans  <wim@fluendo.com>
29674
29675         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29676         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29677         * gst/gstevent.h:
29678         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29679         (gst_pad_pull_range):
29680         Added rate to the discont event to prepare for variable speed
29681         and reverse playback.
29682
29683 2005-03-29  David Schleef  <ds@schleef.org>
29684
29685         * configure.ac:
29686         * testsuite/trigger/Makefile.am:
29687         * testsuite/trigger/trigger.c: A little example program to show
29688         how trigger-based elements can work.
29689
29690 2005-03-29  Wim Taymans  <wim@fluendo.com>
29691
29692         * gst/base/Makefile.am:
29693         * gst/base/README:
29694         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29695         (gst_basesink_base_init), (gst_basesink_class_init),
29696         (gst_basesink_pad_getcaps), (gst_basesink_init),
29697         (gst_basesink_activate), (gst_basesink_change_state):
29698         * gst/base/gstbasesink.h:
29699         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29700         (gst_base_transform_base_init), (gst_base_transform_finalize),
29701         (gst_base_transform_class_init), (gst_base_transform_init),
29702         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29703         (gst_base_transform_event), (gst_base_transform_getrange),
29704         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29705         (gst_base_transform_set_property),
29706         (gst_base_transform_get_property),
29707         (gst_base_transform_sink_activate),
29708         (gst_base_transform_src_activate),
29709         (gst_base_transform_change_state):
29710         * gst/base/gstbasetransform.h:
29711         * gst/elements/gstidentity.c: (gst_identity_finalize),
29712         (gst_identity_class_init), (gst_identity_init),
29713         (gst_identity_event), (gst_identity_check_perfect),
29714         (gst_identity_transform), (gst_identity_set_property),
29715         (gst_identity_get_property), (gst_identity_change_state):
29716         * gst/elements/gstidentity.h:
29717         * gst/gstelement.c: (gst_element_get_state_func),
29718         (gst_element_lost_state), (gst_element_pads_activate):
29719         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29720         (gst_pad_check_pull_range), (gst_pad_pull_range):
29721         * gst/gstpad.h:
29722         Simplify pad activation.
29723         Added function to check if pull_range can be performed.
29724         Error out when pulling inactive or flushing pads.
29725         Removed const from refcounted types as it does not make sense.
29726         Simplify pad templates in basesink
29727         Added base class for simple 1-to-1 transforms.
29728         Make identity subclass the base transform.
29729
29730 2005-03-29  Andy Wingo  <wingo@pobox.com>
29731
29732         * docs/libs/gstreamer-libs-overrides.txt: 
29733         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29734         really don't understand what's going on, but like whatever. I want
29735         green buildbot!
29736
29737         * docs/gst/Makefile.am:
29738         * docs/libs/Makefile.am: Dist the overrides files.
29739
29740         * check/Makefile.am (clean-local): Remove .libs directories.
29741
29742         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29743         elements to EXTRA_DIST, so po/ files are happy.
29744
29745         * po/POTFILES.in: Er, remove it here.
29746
29747         * po/POTFILES: Remove gstspider.c.
29748
29749         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29750
29751         * docs/libs/gstreamer-libs-docs.sgml: 
29752         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29753         bytestream.
29754
29755         * tests/complexity.c (main): Set the length of the preroll queue
29756         on the sinks to prevent a lockup.
29757
29758         * libs/gst/dataprotocol/Makefile.am: 
29759         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29760         the same as the one in check/gst-libs/gdp.c.
29761
29762         * po/, docs/gst/: Commit automatic changes to docs and po files.
29763
29764         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29765         the versioned libgstbase.
29766
29767         * check/Makefile.am: Depend on an unversioned gst-register, seems
29768         to make autoconf happier.
29769
29770         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29771
29772 2005-03-28  Wim Taymans  <wim@fluendo.com>
29773
29774         * configure.ac:
29775         * docs/design/part-gstelement.txt:
29776         * docs/design/part-negotiation.txt:
29777         * docs/design/part-preroll.txt:
29778         * docs/design/part-scheduling.txt:
29779         * docs/design/part-states.txt:
29780         * gst/Makefile.am:
29781         * gst/base/Makefile.am:
29782         * gst/base/README:
29783         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29784         (gst_basesink_base_init), (gst_basesink_class_init),
29785         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29786         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29787         (gst_basesink_set_pad_functions),
29788         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29789         (gst_basesink_set_property), (gst_basesink_get_property),
29790         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29791         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29792         (gst_basesink_preroll_queue_push),
29793         (gst_basesink_preroll_queue_empty),
29794         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29795         (gst_basesink_event), (gst_basesink_get_times),
29796         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29797         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29798         (gst_basesink_loop), (gst_basesink_activate),
29799         (gst_basesink_change_state):
29800         * gst/base/gstbasesink.h:
29801         * gst/elements/Makefile.am:
29802         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29803         (gst_fakesink_class_init), (gst_fakesink_init),
29804         (gst_fakesink_set_property), (gst_fakesink_get_property),
29805         (gst_fakesink_get_times), (gst_fakesink_event),
29806         (gst_fakesink_preroll), (gst_fakesink_render),
29807         (gst_fakesink_change_state):
29808         * gst/elements/gstfakesink.h:
29809         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29810         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29811         * gst/gstelement.c: (gst_element_add_pad),
29812         (gst_element_get_state_func), (gst_element_abort_state),
29813         (gst_element_commit_state), (gst_element_lost_state),
29814         (gst_element_set_state), (gst_element_pads_activate):
29815         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29816         * gst/gstpipeline.c: (gst_pipeline_send_event),
29817         (gst_pipeline_change_state):
29818         Added state change code.
29819         Added/updated docs.
29820         Added sink base class, make fakesink extend the base class.
29821         Small cleanups in GstPipeline.
29822
29823 2005-03-26  David Schleef  <ds@schleef.org>
29824
29825         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29826         is broken and should be implemented in a different library.
29827         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29828         * gst/gst.h: remove gstcpu.h
29829         * gst/gstcpu.c: remove
29830         * gst/gstcpu.h: remove
29831         * gst/Makefile.am.future: Remove this file.  It's ancient.
29832
29833 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29834
29835         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29836         (gst_bin_send_event):
29837           Add default event/set_manager handlers. The set_manager handler
29838           takes care that the manager is distributed over kids that were
29839           already in the bin before the manager was set. The event handler
29840           is a utility virtual function that sends the event over all sinks,
29841           so that gst_element_send_event (bin, event); has the expected
29842           behaviour.
29843         * gst/gstpad.c: (gst_pad_event_default):
29844           Re-install default event handling for discontinuities, so that
29845           seeking works without requiring hacks in applications or extra
29846           code in sinks.
29847         * gst/gstpipeline.c: (gst_pipeline_class_init),
29848         (gst_pipeline_send_event):
29849           Half hack, half utility: set a pipeline to PAUSED for seek events,
29850           since that is the only way we can guarantee a/v sync. Means that
29851           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29852           and it "just works".
29853
29854 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29855
29856         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29857           Lock/unlock mismatch.
29858
29859 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29860
29861         * docs/faq/gst-uninstalled:
29862           add gst-plugins-base
29863         * docs/gst/Makefile.am:
29864           don't error out until docs are fixed
29865         * docs/gst/gstreamer.types:
29866           remove thread
29867
29868 2005-03-22  Wim Taymans  <wim@fluendo.com>
29869
29870         * check/Makefile.am:
29871         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29872         * gst/gststructure.c: (gst_structure_set_valist),
29873         (gst_structure_copy_conditional):
29874         Activated more tests.
29875         Added message test.
29876         Added G_TYPE_POINTER to GstStructure.
29877         
29878
29879 2005-03-22  Wim Taymans  <wim@fluendo.com>
29880
29881         * docs/design/part-TODO.txt:
29882         * docs/design/part-events.txt:
29883         * docs/design/part-gstbin.txt:
29884         * docs/design/part-gstbus.txt:
29885         * docs/design/part-gstpipeline.txt:
29886         * docs/design/part-messages.txt:
29887         * gst/gstbus.c:
29888         * gst/gstmessage.c:
29889         Docs updates
29890
29891 2005-03-21  Wim Taymans  <wim@fluendo.com>
29892
29893         * gst/gstbus.c: (gst_bus_post):
29894         Fix copy-and-paste error.
29895
29896 2005-03-21  Wim Taymans  <wim@fluendo.com>
29897
29898         * check/Makefile.am:
29899         * gst/Makefile.am:
29900         * gst/elements/Makefile.am:
29901         * gst/elements/gstelements.c:
29902         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29903         (gst_fakesink_event), (gst_fakesink_chain):
29904         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29905         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29906         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29907         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29908         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29909         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29910         (gst_fakesrc_loop), (gst_fakesrc_activate),
29911         (gst_fakesrc_change_state):
29912         * gst/elements/gstfakesrc.h:
29913         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29914         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29915         (gst_filesrc_open_file), (gst_filesrc_loop),
29916         (gst_filesrc_activate), (gst_filesrc_change_state),
29917         (filesrc_find_peek), (filesrc_find_suggest),
29918         (gst_filesrc_type_find):
29919         * gst/elements/gstidentity.c: (gst_identity_finalize),
29920         (gst_identity_class_init), (gst_identity_init),
29921         (gst_identity_proxy_getcaps), (identity_queue_push),
29922         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29923         (gst_identity_getrange), (gst_identity_chain),
29924         (gst_identity_sink_loop), (gst_identity_src_loop),
29925         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29926         (gst_identity_set_property), (gst_identity_get_property),
29927         (gst_identity_change_state):
29928         * gst/elements/gstidentity.h:
29929         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29930         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29931         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29932         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29933         (gst_tee_sink_activate):
29934         * gst/elements/gsttee.h:
29935         * gst/gst.c: (gst_register_core_elements), (init_post):
29936         * gst/gst.h:
29937         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29938         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29939         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29940         (gst_bin_change_state):
29941         * gst/gstbin.h:
29942         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29943         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29944         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29945         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29946         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29947         (bus_watch_callback), (bus_watch_destroy),
29948         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29949         (poll_timeout), (gst_bus_poll):
29950         * gst/gstbus.h:
29951         * gst/gstcaps.h:
29952         * gst/gstdata.h:
29953         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29954         (gst_element_post_message), (gst_element_message_full),
29955         (gst_element_get_state_func), (gst_element_get_state),
29956         (gst_element_abort_state), (gst_element_commit_state),
29957         (gst_element_lost_state), (gst_element_set_state),
29958         (gst_element_pads_activate), (gst_element_change_state),
29959         (gst_element_dispose), (gst_element_set_manager_func),
29960         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29961         (gst_element_set_manager), (gst_element_get_manager),
29962         (gst_element_set_bus), (gst_element_get_bus),
29963         (gst_element_set_scheduler), (gst_element_get_scheduler):
29964         * gst/gstelement.h:
29965         * gst/gstevent.c: (gst_event_new_segment_seek),
29966         (gst_event_new_flush):
29967         * gst/gstevent.h:
29968         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29969         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29970         (gst_message_new_eos), (gst_message_new_error),
29971         (gst_message_new_warning), (gst_message_new_tag),
29972         (gst_message_new_state_changed), (gst_message_new_application),
29973         (gst_message_get_structure), (gst_message_parse_tag),
29974         (gst_message_parse_state_changed), (gst_message_parse_error),
29975         (gst_message_parse_warning):
29976         * gst/gstmessage.h:
29977         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29978         (gst_real_pad_set_property), (gst_pad_set_active),
29979         (gst_pad_is_active), (gst_pad_set_blocked_async),
29980         (gst_pad_set_blocked), (gst_pad_is_blocked),
29981         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29982         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29983         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29984         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29985         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29986         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29987         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29988         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29989         (gst_pad_set_caps), (gst_pad_configure_sink),
29990         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29991         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29992         (gst_real_pad_dispose), (gst_real_pad_finalize),
29993         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29994         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29995         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29996         * gst/gstpad.h:
29997         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29998         (pipeline_bus_handler), (gst_pipeline_change_state),
29999         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
30000         * gst/gstpipeline.h:
30001         * gst/gstprobe.h:
30002         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
30003         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
30004         (gst_queue_link_src), (gst_queue_bufferalloc),
30005         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
30006         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
30007         (gst_queue_loop), (gst_queue_handle_src_event),
30008         (gst_queue_handle_src_query), (gst_queue_src_activate),
30009         (gst_queue_change_state):
30010         * gst/gstqueue.h:
30011         * gst/gstscheduler.c: (gst_scheduler_init),
30012         (gst_scheduler_dispose), (gst_scheduler_create_task),
30013         (gst_scheduler_factory_create):
30014         * gst/gstscheduler.h:
30015         * gst/gststructure.c: (gst_structure_get_type),
30016         (gst_structure_copy_conditional):
30017         * gst/gststructure.h:
30018         * gst/gsttaginterface.h:
30019         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
30020         (gst_task_init), (gst_task_dispose), (gst_task_create),
30021         (gst_task_get_state), (gst_task_start), (gst_task_stop),
30022         (gst_task_pause):
30023         * gst/gsttask.h:
30024         * gst/gstthread.c:
30025         * gst/gstthread.h:
30026         * gst/gsttypes.h:
30027         * gst/schedulers/Makefile.am:
30028         * gst/schedulers/cothreads_compat.h:
30029         * gst/schedulers/entryscheduler.c:
30030         * gst/schedulers/faircothreads.c:
30031         * gst/schedulers/faircothreads.h:
30032         * gst/schedulers/fairscheduler.c:
30033         * gst/schedulers/gstbasicscheduler.c:
30034         * gst/schedulers/gstoptimalscheduler.c:
30035         * gst/schedulers/gthread-cothreads.h:
30036         * gst/schedulers/threadscheduler.c:
30037         (gst_thread_scheduler_task_get_type),
30038         (gst_thread_scheduler_task_class_init),
30039         (gst_thread_scheduler_task_init),
30040         (gst_thread_scheduler_task_start),
30041         (gst_thread_scheduler_task_stop),
30042         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
30043         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
30044         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
30045         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
30046         (plugin_init):
30047         * libs/gst/Makefile.am:
30048         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
30049         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
30050         (gst_file_pad_parent_set):
30051         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
30052         (gst_dp_event_from_packet):
30053         * tests/complexity.c: (main):
30054         * tests/mass_elements.c: (main):
30055         * testsuite/states/locked.c: (message_received), (main):
30056         * testsuite/states/parent.c: (main):
30057         * tools/gst-inspect.c: (print_element_flag_info),
30058         (print_implementation_info), (print_pad_info):
30059         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
30060         (main):
30061         * tools/gst-md5sum.c: (event_loop), (main):
30062         * tools/gst-typefind.c: (main):
30063         * tools/gst-xmlinspect.c: (print_element_info):
30064         Next big merge.
30065         Added GstBus for mainloop integration.
30066         Added GstMessage for sending notifications on the bus.
30067         Added GstTask as an abstraction for pipeline entry points.
30068         Removed GstThread.
30069         Removed Schedulers.
30070         Simplified GstQueue for multithreaded core.
30071         Made _link threadsafe, removed old capsnego.
30072         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
30073         Added pad blocking functions.
30074         Reworked scheduling functions in GstPad to prepare for
30075         scheduling updates soon.
30076         Moved events out of data stream.
30077         Simplified GstEvent types.
30078         Added return values to push/pull.
30079         Removed clocking from GstElement.
30080         Added prototypes for state change function for next merge.
30081         Removed iterate from bins and state change management.
30082         Fixed some elements, disabled others for now.
30083         Fixed -inspect and -launch.
30084         Added check for GstBus.
30085
30086 2005-03-10  Wim Taymans  <wim@fluendo.com>
30087
30088         * docs/design/part-MT-refcounting.txt:
30089         * docs/design/part-clocks.txt:
30090         * docs/design/part-gstelement.txt:
30091         * docs/design/part-gstobject.txt:
30092         * docs/design/part-standards.txt:
30093         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30094         (gst_bin_remove_func), (gst_bin_remove):
30095         * gst/gstbin.h:
30096         * gst/gstbuffer.c:
30097         * gst/gstcaps.h:
30098         * testsuite/clock/clock1.c: (main):
30099         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
30100         (main):
30101         * testsuite/dlopen/loadgst.c: (do_test):
30102         * testsuite/refcounting/bin.c: (add_remove_test1),
30103         (add_remove_test2), (main):
30104         * testsuite/refcounting/element.c: (main):
30105         * testsuite/refcounting/element_pad.c: (main):
30106         * testsuite/refcounting/pad.c: (main):
30107         * tools/gst-launch.c: (sigint_handler_sighandler):
30108         * tools/gst-typefind.c: (main):
30109         Doc updates.
30110         Added doc about clock.
30111         removed gst_bin_iterate_recurse_up(), marked methods
30112         for removal.
30113         Fix more testsuites.
30114
30115 2005-03-09  Wim Taymans  <wim@fluendo.com>
30116
30117         * gst/gstpad.c: (gst_pad_get_direction),
30118         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
30119         (gst_pad_collect_valist):
30120         * testsuite/bins/interface.c: (main):
30121         * testsuite/caps/audioscale.c: (test_caps):
30122         * testsuite/caps/caps.c: (test1), (test2), (test3):
30123         * testsuite/caps/deserialize.c: (main):
30124         * testsuite/caps/enumcaps.c: (main):
30125         * testsuite/caps/filtercaps.c: (main):
30126         * testsuite/caps/intersect2.c: (main):
30127         * testsuite/caps/random.c: (main):
30128         * testsuite/caps/renegotiate.c: (my_fixate), (main):
30129         * testsuite/caps/sets.c: (check_caps):
30130         * testsuite/caps/simplify.c: (check_caps), (main):
30131         * testsuite/caps/subtract.c: (check_caps):
30132         Fix _pad_get_direction wrt ghostpads.
30133         Fix caps testsuite.
30134
30135 2005-03-09  Wim Taymans  <wim@fluendo.com>
30136
30137         * check/Makefile.am:
30138         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
30139         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
30140         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
30141         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
30142         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
30143         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
30144         (gst_bin_remove), (gst_bin_iterate_recurse_up),
30145         (bin_element_is_sink), (gst_bin_iterate_sinks),
30146         (gst_bin_iterate_all_by_interface):
30147         * gst/gstbin.h:
30148         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
30149         (gst_element_change_state), (gst_element_dispose),
30150         (gst_element_finalize), (gst_element_set_loop_function):
30151         * gst/gstelement.h:
30152         * gst/gstiterator.c: (find_custom_fold_func):
30153         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30154         (gst_pad_collectv), (gst_pad_collect_valist),
30155         (gst_pad_template_new):
30156         * gst/gstpipeline.c: (gst_pipeline_class_init),
30157         (gst_pipeline_dispose), (gst_pipeline_set_property),
30158         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
30159         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
30160         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
30161         * gst/gstutils.h:
30162         * gst/schedulers/entryscheduler.c:
30163         * gst/schedulers/gstbasicscheduler.c:
30164         (gst_basic_scheduler_cothreaded_chain),
30165         (gst_basic_scheduler_chain_add_element):
30166         * testsuite/bins/interface.c: (main):
30167         Added GstBin test.
30168         Added GstSystemClock test.
30169         Implemented clock distribution code in GstBin.
30170         Implemented iterate sinks method for future use.
30171         Rearranged gstelement.h
30172         Fix GstIterator comparison bug.
30173         Moved some code to GstPipeline, mostly clocking related.
30174
30175 2005-03-09  Wim Taymans  <wim@fluendo.com>
30176
30177         * configure.ac:
30178         * gst/gst_private.h:
30179         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30180         (gst_bin_remove_func), (gst_bin_remove),
30181         (gst_bin_get_by_name_recurse_up):
30182         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
30183         (gst_clock_id_compare_func), (gst_clock_id_wait),
30184         (gst_clock_id_wait_async), (gst_clock_init),
30185         (gst_clock_adjust_unlocked), (gst_clock_get_time):
30186         * gst/gstelement.h:
30187         * gst/gstinfo.c: (_gst_debug_init):
30188         * gst/gstobject.h:
30189         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30190         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
30191         * gst/gstpad.h:
30192         Bump version number, we're now 0.9.0
30193         Add future debugging category.
30194         Fix NULL _unref() in _get_by_name_recurse_up
30195         Rearrange gstpad.h.
30196         Update some docs.
30197
30198 2005-03-08  Wim Taymans  <wim@fluendo.com>
30199
30200         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
30201         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
30202         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30203         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
30204         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
30205         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
30206         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
30207         * gst/elements/gstidentity.c: (gst_identity_class_init):
30208         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
30209         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
30210         * gst/elements/gstshaper.c: (gst_shaper_class_init):
30211         * gst/elements/gststatistics.c: (gst_statistics_class_init):
30212         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
30213         (gst_tee_link):
30214         * gst/gstelement.c: (gst_element_class_init),
30215         (gst_element_base_class_init), (gst_element_init),
30216         (gst_element_get_random_pad), (gst_element_wait_state_change),
30217         (gst_element_change_state), (gst_element_dispose),
30218         (gst_element_finalize), (gst_element_set_loop_function):
30219         * gst/gstelement.h:
30220         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
30221         * gst/gstthread.c: (gst_thread_class_init),
30222         (gst_thread_release_children_locks), (gst_thread_change_state):
30223         * gst/schedulers/gstbasicscheduler.c:
30224         (gst_basic_scheduler_loopfunc_wrapper),
30225         (gst_basic_scheduler_chain_wrapper),
30226         (gst_basic_scheduler_src_wrapper),
30227         (gst_basic_scheduler_remove_element):
30228         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30229         Remove threadsafe properties. Fix elements because GObject
30230         complains when installing a property before declaring a
30231         set/get_property handler.
30232         Rearrange gstelement.h file, use STATE macros for state locks.
30233         Free mutexes in the finalize method instead of dispose.
30234
30235 2005-03-08  Wim Taymans  <wim@fluendo.com>
30236
30237         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30238         * gst/gstthread.c: (gst_thread_release_children_locks):
30239         Added parentage check.
30240         Fix build og GstThread again.
30241
30242 2005-03-08  Wim Taymans  <wim@fluendo.com>
30243
30244         * docs/design/part-MT-refcounting.txt:
30245         * docs/design/part-conventions.txt:
30246         * docs/design/part-gstobject.txt:
30247         * docs/design/part-relations.txt:
30248         * docs/design/part-standards.txt:
30249         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30250         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30251         (gst_bin_get_by_name), (gst_bin_get_by_interface),
30252         (gst_bin_iterate_all_by_interface):
30253         * gst/gstbuffer.h:
30254         * gst/gstclock.h:
30255         * gst/gstelement.c: (gst_element_class_init),
30256         (gst_element_change_state), (gst_element_set_loop_function):
30257         * gst/gstelement.h:
30258         * gst/gstiterator.c:
30259         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30260         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30261         (gst_object_dispatch_properties_changed), (gst_object_set_name),
30262         (gst_object_set_parent), (gst_object_unparent),
30263         (gst_object_check_uniqueness):
30264         * gst/gstobject.h:
30265         Docs updates, clean up some headers.
30266
30267 2005-03-07  Wim Taymans  <wim@fluendo.com>
30268
30269         * check/.cvsignore:
30270         * check/Makefile.am:
30271         * check/gst-libs/.cvsignore:
30272         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30273         * check/gst/.cvsignore:
30274         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30275         (START_TEST), (gstbus_suite), (main):
30276         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30277         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30278         (gst_data_suite), (main):
30279         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30280         (add_fold_func), (gstiterator_suite), (main):
30281         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30282         (thread_name_object), (thread_name_object_default),
30283         (gst_object_name_compare), (gst_object_suite), (main):
30284         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30285         (gst_pad_suite), (main):
30286         * check/gstcheck.c: (gst_check_log_message_func),
30287         (gst_check_log_critical_func), (gst_check_init):
30288         * check/gstcheck.h:
30289         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30290         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30291         Added checks.
30292
30293 2005-03-07  Wim Taymans  <wim@fluendo.com>
30294
30295         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30296         (gst_list_iterator_next), (gst_list_iterator_resync),
30297         (gst_list_iterator_free), (gst_iterator_new_list),
30298         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30299         (gst_iterator_free), (gst_iterator_push), (filter_next),
30300         (filter_resync), (filter_uninit), (filter_free),
30301         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30302         (gst_iterator_foreach), (find_custom_fold_func),
30303         (gst_iterator_find_custom):
30304         * gst/gstiterator.h:
30305         Added missing files.
30306
30307 2005-03-07  Wim Taymans  <wim@fluendo.com>
30308
30309         * Makefile.am:
30310         * configure.ac:
30311         * docs/design/part-MT-refcounting.txt:
30312         * docs/design/part-conventions.txt:
30313         * docs/design/part-gstobject.txt:
30314         * docs/design/part-relations.txt:
30315         * examples/mixer/mixer.c: (main):
30316         * examples/thread/thread.c: (eos), (main):
30317         * gst/Makefile.am:
30318         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30319         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30320         (gst_spider_plug_from_srcpad):
30321         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30322         (gst_spider_identity_change_state),
30323         (gst_spider_identity_sink_loop_type_finding):
30324         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30325         * gst/elements/gstidentity.c: (gst_identity_init):
30326         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30327         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30328         * gst/elements/gsttypefindelement.c: (free_entry):
30329         * gst/gst.c:
30330         * gst/gst.h:
30331         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30332         (gst_bin_set_clock_func), (gst_bin_auto_clock),
30333         (gst_bin_set_index), (gst_bin_set_element_sched),
30334         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30335         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30336         (gst_bin_iterate_elements), (iterate_child_recurse),
30337         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30338         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30339         (compare_interface), (gst_bin_get_by_interface),
30340         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30341         * gst/gstbin.h:
30342         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30343         (gst_buffer_default_free), (gst_buffer_default_copy),
30344         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30345         (gst_buffer_create_sub):
30346         * gst/gstbuffer.h:
30347         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30348         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30349         (gst_caps_unref), (gst_static_caps_get),
30350         (gst_caps_remove_and_get_structure), (gst_caps_append),
30351         (gst_caps_append_structure), (gst_caps_remove_structure),
30352         (gst_caps_copy_nth), (gst_caps_set_simple),
30353         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30354         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30355         (gst_caps_structure_intersect_field), (gst_caps_intersect),
30356         (gst_caps_structure_subtract_field), (gst_caps_subtract),
30357         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30358         (gst_caps_structure_figure_out_union),
30359         (gst_caps_switch_structures), (gst_caps_do_simplify),
30360         (gst_caps_replace), (gst_caps_from_string),
30361         (gst_caps_copy_conditional):
30362         * gst/gstcaps.h:
30363         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30364         (_gst_clock_id_free), (gst_clock_id_unref),
30365         (gst_clock_id_compare_func), (gst_clock_id_wait),
30366         (gst_clock_id_wait_async), (gst_clock_class_init),
30367         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30368         (gst_clock_get_time), (gst_clock_set_time_adjust),
30369         (gst_clock_set_property), (gst_clock_get_property):
30370         * gst/gstclock.h:
30371         * gst/gstcompat.h:
30372         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30373         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30374         * gst/gstdata.h:
30375         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30376         (gst_element_requires_clock), (gst_element_provides_clock),
30377         (gst_element_set_clock), (gst_element_clock_wait),
30378         (gst_element_wait), (gst_element_set_time_delay),
30379         (gst_element_is_indexable), (gst_element_add_pad),
30380         (gst_element_add_ghost_pad), (gst_element_remove_pad),
30381         (pad_compare_name), (gst_element_get_static_pad),
30382         (gst_element_request_pad), (gst_element_get_request_pad),
30383         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30384         (gst_element_class_get_pad_template_list),
30385         (gst_element_class_get_pad_template), (gst_element_error_func),
30386         (gst_element_get_random_pad), (gst_element_get_event_masks),
30387         (gst_element_send_event), (gst_element_seek),
30388         (gst_element_get_query_types), (gst_element_query),
30389         (gst_element_get_formats), (gst_element_convert),
30390         (gst_element_is_locked_state), (gst_element_set_locked_state),
30391         (gst_element_sync_state_with_parent), (gst_element_change_state),
30392         (gst_element_finalize), (gst_element_yield),
30393         (gst_element_interrupt), (gst_element_set_scheduler),
30394         (gst_element_get_scheduler), (gst_element_set_loop_function):
30395         * gst/gstelement.h:
30396         * gst/gstevent.h:
30397         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30398         (gst_format_get_by_nick), (gst_format_get_details),
30399         (gst_format_iterate_definitions):
30400         * gst/gstformat.h:
30401         * gst/gstindex.c: (gst_index_gtype_resolver):
30402         * gst/gstinfo.c:
30403         * gst/gstinfo.h:
30404         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30405         (gst_mem_chunk_free):
30406         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30407         (gst_object_ref), (gst_object_unref), (gst_object_sink),
30408         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30409         (gst_object_dispatch_properties_changed),
30410         (gst_object_set_name_default), (gst_object_set_name),
30411         (gst_object_get_name), (gst_object_set_name_prefix),
30412         (gst_object_get_name_prefix), (gst_object_set_parent),
30413         (gst_object_get_parent), (gst_object_unparent),
30414         (gst_object_check_uniqueness), (gst_object_save_thyself),
30415         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30416         (gst_object_set_property), (gst_object_get_property),
30417         (gst_object_get_path_string):
30418         * gst/gstobject.h:
30419         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30420         (gst_real_pad_init), (gst_real_pad_get_property),
30421         (gst_pad_custom_new), (gst_pad_get_direction),
30422         (gst_pad_set_active), (gst_pad_is_active),
30423         (gst_pad_set_event_function), (gst_pad_is_linked),
30424         (gst_pad_link_free), (gst_pad_link_intersect),
30425         (gst_pad_link_fixate), (gst_pad_set_caps),
30426         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30427         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30428         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30429         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30430         (gst_pad_get_caps), (gst_pad_peer_get_caps),
30431         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30432         (gst_pad_realize), (gst_pad_get_allowed_caps),
30433         (gst_real_pad_dispose), (gst_real_pad_finalize),
30434         (gst_pad_collectv), (gst_pad_collect_valist),
30435         (gst_pad_template_dispose), (gst_pad_template_new),
30436         (gst_pad_get_internal_links):
30437         * gst/gstpad.h:
30438         * gst/gstpipeline.c: (gst_pipeline_dispose),
30439         (gst_pipeline_change_state):
30440         * gst/gstpipeline.h:
30441         * gst/gstplugin.c:
30442         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30443         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30444         * gst/gstpluginfeature.h:
30445         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30446         * gst/gstquery.c: (_gst_query_type_initialize),
30447         (gst_query_type_register), (gst_query_type_get_by_nick),
30448         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30449         * gst/gstquery.h:
30450         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30451         * gst/gstscheduler.c: (gst_scheduler_add_element),
30452         (gst_scheduler_factory_create):
30453         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30454         (gst_structure_free), (gst_structure_set_name),
30455         (gst_structure_id_set_value), (gst_structure_set_value),
30456         (gst_structure_set_valist), (gst_structure_remove_field),
30457         (gst_structure_remove_fields),
30458         (gst_structure_remove_fields_valist),
30459         (gst_structure_remove_all_fields), (gst_structure_foreach),
30460         (gst_structure_map_in_place),
30461         (gst_caps_structure_fixate_field_nearest_int),
30462         (gst_caps_structure_fixate_field_nearest_double):
30463         * gst/gststructure.h:
30464         * gst/gstsystemclock.c: (gst_system_clock_class_init),
30465         (gst_system_clock_init), (gst_system_clock_dispose),
30466         (gst_system_clock_async_thread),
30467         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30468         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30469         * gst/gstsystemclock.h:
30470         * gst/gsttag.c: (gst_tag_list_add_value_internal),
30471         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30472         * gst/gsttaginterface.c:
30473         * gst/gstthread.c: (gst_thread_dispose),
30474         (gst_thread_release_children_locks), (gst_thread_change_state),
30475         (gst_thread_main_loop):
30476         * gst/gsttrashstack.h:
30477         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30478         * gst/gsttypes.h:
30479         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30480         (gst_element_request_pad), (gst_element_get_pad_from_template),
30481         (gst_element_request_compatible_pad),
30482         (gst_element_get_compatible_pad_filtered),
30483         (gst_element_get_compatible_pad), (gst_element_state_get_name),
30484         (gst_element_link_pads_filtered), (gst_element_link_filtered),
30485         (gst_element_link_many), (gst_element_link),
30486         (gst_element_link_pads), (gst_element_unlink_pads),
30487         (gst_element_unlink_many), (gst_element_unlink),
30488         (gst_pad_can_link_filtered), (gst_pad_can_link),
30489         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30490         (gst_object_default_error), (gst_bin_add_many),
30491         (gst_bin_remove_many), (gst_element_populate_std_props),
30492         (gst_element_class_install_std_props), (gst_buffer_merge),
30493         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30494         (link_fold_func), (gst_pad_proxy_setcaps):
30495         * gst/gstutils.h:
30496         * gst/gstvalue.c: (gst_value_deserialize_string):
30497         * gst/parse/grammar.y:
30498         * gst/schedulers/gstbasicscheduler.c:
30499         (gst_basic_scheduler_cothreaded_chain),
30500         (gst_basic_scheduler_chain_recursive_add),
30501         (gst_basic_scheduler_pad_link):
30502         * gst/schedulers/gstoptimalscheduler.c:
30503         (get_group_schedule_function),
30504         (gst_opt_scheduler_state_transition),
30505         (gst_opt_scheduler_add_element), (element_get_reachables_func):
30506         * libs/gst/bytestream/bytestream.c:
30507         * libs/gst/dataprotocol/dataprotocol.c:
30508         (gst_dp_header_from_buffer):
30509         * po/nb.po:
30510         * po/ru.po:
30511         * tests/threadstate/threadstate2.c: (eos):
30512         * tools/gst-compprep.c: (main):
30513         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30514         (print_pad_info), (print_children_info):
30515         * tools/gst-launch.c: (idle_func), (main):
30516         * tools/gst-md5sum.c: (idle_func), (main):
30517         * tools/gst-xmlinspect.c: (print_element_info):
30518         First THREADED backport attempt, focusing on adding locks and
30519         making sure the API is threadsafe. Needs more work. More docs
30520         follow this week.
30521
30522 2005-02-24  Andy Wingo  <wingo@pobox.com>
30523
30524         * tests/bench-complexity.scm:
30525         * tests/complexity.gnuplot: New files, good for running complexity
30526         benchmarks.
30527
30528         * tests/Makefile.am:
30529         * tests/complexity.c: New test, sets up N elements, at each level
30530         teeing into M streams per element. Eeeenteresting.
30531
30532         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30533         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30534         running bench-mass_elements.scm.
30535
30536         * tests/bench-mass_elements.scm: New script, runs mass_elements
30537         for various numbers of identities, outputting the results to a
30538         file. Requires guile 1.6. Just for testing.
30539
30540 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30541
30542         * gst/schedulers/fairscheduler.c:
30543           compile with debug disabled
30544
30545 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30546
30547         * configure.ac:
30548           hunting season on 0.9 is now OPEN