Revert 'accidential' change of the configure option removal. We still need to generat...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
2
3         * configure.ac:
4         * docs/gst/gstreamer.types:
5           Revert 'accidential' change of the configure option removal. We still
6           need to generate the types file in configure --disable-load-save.
7
8 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
9
10         * docs/gst/gstreamer-sections.txt:
11         * gst/gsttaglist.h:
12           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
13
14 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
15
16         * gst/gstpadtemplate.c:
17           (gst_pad_template_class_init), (gst_static_pad_template_get),
18           (gst_pad_template_new), (gst_pad_template_pad_created),
19           (gst_pad_template_set_property), (gst_pad_template_get_property):
20           Add "name-template", "direction", "presence" and "caps" properties,
21           so that gst_pad_template_new() is just a thin wrapper around
22           g_object_new(), which is better for bindings. (Fixes: #539772)
23
24 2008-07-31  Michael Smith <msmith@songbirdnest.com>
25
26         * gst/gsturi.c:
27           Be more liberal in what URIs we accept.
28           Do not unescape bits of the URI for no apparent reason before passing to
29           the element. Fixes #545352.
30
31 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
32
33         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
34
35         * gst/gst.c:
36         Include gstconfig.h as macros from it are used. Fixes bug #545607.
37
38 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
39
40         * configure.ac:
41         * docs/gst/gstreamer-sections.txt:
42         * docs/gst/gstreamer.types:
43         * docs/gst/gstreamer.types.in:
44         * gst/Makefile.am:
45         * gst/gst.c:
46         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
47         * gst/gstconfig.h.in:
48         * gst/gstelement.c: (gst_element_get_index):
49         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
50         (gst_registry_binary_load_feature),
51         (gst_registry_binary_read_cache):
52         * gst/gstregistryxml.c: (load_feature),
53         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
54         * plugins/Makefile.am:
55         * tools/gst-indent:
56         * tools/gst-inspect.c: (print_index_info), (print_element_list),
57         (print_plugin_features), (print_element_features):
58         * tools/gst-xmlinspect.c: (print_event_masks),
59         (print_element_info):
60         * win32/common/gstconfig.h:
61         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
62
63         Disabling the indexers and URI handler code will only reduce the
64         required amount of memory by a very small amount but on the other hand
65         requires much more maintaince work. Apart from that many places of
66         code are broken when disabling them.
67
68         Disabling the enum types doesn't reduce the required amount of memory
69         by more than a few bytes and makes it hard to fix bugs like #539772,
70         i.e. use the enums as GObject properties.
71
72 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
73
74         * docs/design/part-TODO.txt:
75         Add some thoughts and problems with upstream renegotiation.
76
77 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
78
79         * gst/gstpad.c: (gst_pad_acceptcaps_default),
80         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
81         Remove silly redundant debug.
82         Add some more debug info.
83         Clarify the docs regarding new caps received from pad_alloc.
84
85 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
86
87         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
88         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
89         Make setting the caps more threadsafe.
90
91 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
92
93         * docs/design/part-element-transform.txt:
94         Update docs.
95
96 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
97
98         * plugins/elements/gstqueue.c: (gst_queue_init),
99         (gst_queue_acceptcaps):
100         Add and use a custom acceptcaps function instead of falling back to the
101         potentially less optimized default implementation.
102
103 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
104
105         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
106           Only sanity-check the buffer size if requested_caps == buffer_caps
107           (ie. don't take pad caps into account, they're not relevant here)
108
109 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
110
111         * plugins/elements/gsttee.c:
112         * plugins/elements/gsttee.h:
113           Reverting as not everything is clear yet. Needs some general design
114           work.
115
116 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
117
118         * ChangeLog:
119           ChangeLog surgery for tee commit.
120
121 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
122
123         * docs/gst/gstreamer-sections.txt:
124           Cleanup section-file.
125
126 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
127
128         * plugins/elements/gsttee.c:
129         * plugins/elements/gsttee.h:
130           Relay tag events in tee. Fixes parts of #474016.
131           Downgrades 3 reoccurring debugs to log.
132
133 2008-07-28  Michael Smith <msmith@songbirdnest.com>
134
135         * configure.ac:
136         * libs/gst/Makefile.am:
137           Build the net library if we have winsock2.
138
139 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
140
141         patch by: Luc Pionchon <luc.pionchon@nokia.com>
142
143         * docs/manual/advanced-threads.xml:
144         * docs/manual/diagrams-pipelines.svg:
145         * docs/manual/hello-world.png:
146         * docs/manual/linked-elements.png:
147         * docs/manual/mime-world.png:
148         * docs/manual/queue.png:
149         * docs/manual/thread-buffering.png:
150         * docs/manual/thread-synchronizing.png:
151           Replace one diagram with two separate ones and updates others.
152           Fixes #542401.
153
154 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
155
156         * gst/gstelement.h:
157         Fix link in documentation.
158
159 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
160
161         * gst/gstmessage.c:
162         Fix confusing documentation.
163
164 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
165
166         * libs/gst/base/gstbasesrc.h:
167         revert the changes to the header file for the ABI.
168
169 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
170
171         * libs/gst/base/gstbasesrc.c:
172         * libs/gst/base/gstbasesrc.h:
173         Don't cache the seekable status.
174         Fixes bug #544174
175
176 2008-07-24  Rene Stadler  <mail@renestadler.de>
177
178         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
179         code to close the pipeline graph.  This prevents the program from
180         printing internal data flow errors.
181
182 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
183
184         * docs/manual/basics-bus.xml:
185         Correct typo. Fixes bug #544320.
186
187 2008-07-22  Michael Smith <msmith@songbirdnest.com>
188
189         * configure.ac:
190           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
191           Add check (taken from -base) for winsock, adds WIN32_LIBS
192         * gst/Makefile.am:
193           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
194           winsock.
195           Define GST_EXPORTS when building libgstreamer (only used on win32)
196         * gst/gst_private.h:
197         * gst/gstinfo.h:
198           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
199           for symbols that we need to export in both these files.
200         * gst/gstpoll.c:
201           Include gst_private.h higher up to avoid some compile problems on win32.
202
203 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
204
205         * gst/gstvalue.c:
206         Fix typos.
207
208 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
209
210         * gst/gstcaps.c:
211         Previous commit was wrong NULL caps does not exist
212         and indicate an error, so also add a FIXME to
213         gst_caps_is_equal where NULL caps are accepted.
214
215 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
216
217         * gst/gstcaps.c:
218         Allow passing of NULL to gst_caps_union
219
220 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
221
222         * gst/gstghostpad.c:
223         Add in doc that gst_ghost_pad_set_target can accept
224         NULL to clear target
225
226 2008-07-15  Michael Smith <msmith@songbirdnest.com>
227
228         * gst/gstplugin.c:
229         * gst/gstregistry.c:
230           GstRegistryPool doesn't exist; don't refer to it in docs.
231           Don't refer to functions that don't exist in docs, it's
232           unhelpful.
233
234 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
235
236         * gst/gst.c:
237         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
238
239 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
240
241         Patch by: tmatth <le dot businessman at gmail dot com>
242
243         * docs/pwg/building-testapp.xml:
244         Don't use an undeclared variable in the example program.
245         Fixes bug #542573.
246
247 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
248
249         * gst/gstdebugutils.c:
250           Squeeze ghost-pad links and remove <> from classname labels to save
251           more horizontal space.
252
253 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
254
255         * gst/gstdebugutils.c:
256           Give request and sometimes pads a different shpe style. Condense the
257           graphs a little more.
258
259 2008-07-09  Michael Smith <msmith@songbirdnest.com>
260
261         * configure.ac:
262           Don't require flex and bison if the parser is disabled.
263
264 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
265
266         * libs/gst/controller/gstinterpolationcontrolsource.c:
267         (_list_find_sorted_custom):
268         Don't use declarations after statements.
269
270 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
271
272         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
273         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
274         of the the child-added / -removed signals as GstChildProxy
275         only supports GstObjects.
276
277 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
278
279         * gst/gstdebugutils.c:
280         Fix memleak
281
282 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
283
284         Patch by: Alessandro Decina <alessandro at nnva dot org>
285
286         * gst/gstpoll.c:
287         Fix "ignored return value" compiler warning with newer glibc.
288
289 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
290
291         * gst/gstchildproxy.c:
292         Fix copy&paste error in gst_child_proxy_removed() documentation.
293
294 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
295
296         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
297           Print error debug message if plugin description fields that should
298           be set are NULL.
299
300         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
301           Don't crash if the string to serialise is NULL (it really should
302           not be, but apparently this used to work with the xml registry ...).
303
304 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
305
306         * tools/gst-plot-timeline.py:
307         Fix parsing of log messages
308
309 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
310
311         * win32/common/libgstbase.def::
312           Sort alphabetically so make check-exports doesn't barf.
313
314 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
315
316         * gst/gstevent.c:
317           Use gst_format_get_name() to improve debug output.
318
319         * gst/gstpreset.c:
320           Remove #ifdef'ed code. Add TODO comment.
321
322         * gst/gstsegment.c:
323           Add debug output to ease spotting format != segment.format assertions.
324
325 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
326
327         * tests/check/libs/gdp.c: (gst_dp_suite):
328         Also enable the GDP unit test again on PPC now that the bug
329         is fixed.
330
331 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
332
333         * libs/gst/dataprotocol/dataprotocol.c:
334         Don't write to the same region of memory as a uint64 and uint16
335         as this breaks strict aliasing rules and apparantly breaks on PPC
336         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
337
338 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
339
340         * libs/gst/controller/gstinterpolationcontrolsource.c:
341           Optimize list handling. Use own find function. Exploit that fact that
342           the list is sorted. Also pass back the node before, so that we can
343           insert quickly. Have a fast path for append.
344
345 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
346
347         * docs/design/draft-framestep.txt:
348         * docs/design/part-negotiation.txt:
349           Fix two typos.
350
351 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
352
353         * configure.ac:
354           Show configuration sumary after configure run. Based on patch by
355           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
356
357 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
358
359         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
360
361         * docs/manual/advanced-autoplugging.xml:
362         * docs/manual/advanced-threads.xml:
363         * docs/manual/basics-bins.xml:
364         * docs/manual/basics-elements.xml:
365         * docs/manual/basics-helloworld.xml:
366         * docs/manual/basics-pads.xml:
367           Add scale factor for pdf output.
368
369         * docs/manual/intro-basics.xml:
370           Switched sections "pads" and "bins" and added a pipeline diagram.
371
372         * docs/manual/intro-gstreamer.xml:
373           Added more info on gstreamer.
374
375         * docs/manual/intro-motivation.xml:
376           Commented out the whole section "current problem", which sounds
377           historical and somehow osolete; it could be turned in a positive
378           way and reused to improve the design principles.
379
380         * docs/manual/intro-preface.xml:
381           - Update URLs to library.gnome.org. 
382           - Do not mention GTK+ in preliminary reading (irrelevant). 
383           - Mention Plugin Writer's Manual and further reading only in the
384             previous section.
385           - Added a list of most relevant GObject/glib topics.
386
387         * docs/manual/Makefile.am:
388         * docs/manual/bin-element-ghost.fig:
389         * docs/manual/bin-element-ghost.png:
390         * docs/manual/bin-element-noghost.fig:
391         * docs/manual/bin-element-noghost.png:
392         * docs/manual/bin-element.fig:
393         * docs/manual/bin-element.png:
394         * docs/manual/filter-element-multi.fig:
395         * docs/manual/filter-element-multi.png:
396         * docs/manual/filter-element.fig:
397         * docs/manual/filter-element.png:
398         * docs/manual/gstreamer-overview.png:
399         * docs/manual/hello-world.fig:
400         * docs/manual/hello-world.png:
401         * docs/manual/linked-elements.fig:
402         * docs/manual/linked-elements.png:
403         * docs/manual/mime-world.fig:
404         * docs/manual/mime-world.png:
405         * docs/manual/queue.fig:
406         * docs/manual/queue.png:
407         * docs/manual/simple-player.png:
408         * docs/manual/sink-element.fig:
409         * docs/manual/sink-element.png:
410         * docs/manual/src-element.fig:
411         * docs/manual/src-element.png:
412         * docs/manual/diagrams-general.svg:
413         * docs/manual/diagrams-pipelines.svg:
414           Removed .fig, added .png counterpart.
415           
416           Fixes: #539137
417
418 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
419
420         * plugins/elements/gstmultiqueue.c:
421         * plugins/elements/gstmultiqueue.h:
422         revert extra-size-buffers stuff, caused some race conditions
423         and extra-size-buffers is not used anymore. Docs needs some updates
424
425 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
426
427         * win32/common/config.h:
428         * win32/common/gstenumtypes.c:
429         * win32/common/gstenumtypes.h:
430         * win32/common/gstversion.h:
431           Update win32 files.
432
433 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
434
435         * gst/gstdebugutils.h: (GstDebugGraphDetails),
436           (GST_DEBUG_BIN_TO_DOT_FILE):
437           Add missing Since' markers to gtk-doc blurbs.
438
439 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
440
441         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
442         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
443         (set_caps_1), (set_caps_ct1), (transform_ct1),
444         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
445         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
446         (transform_size_ct2), (buffer_alloc_ct2):
447         Add some more tests with switching caps in buffer_alloc.
448
449 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
450
451         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
452         (gst_test_trans_class_init), (result_sink_chain),
453         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
454         (gst_test_trans_push), (gst_test_trans_pop):
455         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
456         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
457         (set_caps_1), (set_caps_ct1), (transform_ct1),
458         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
459         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
460         (transform_size_ct2), (buffer_alloc_ct2),
461         (gst_basetransform_suite):
462         More tests, prepare for tests with switching caps in buffer_alloc.
463
464 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
465
466         * plugins/elements/gstmultiqueue.c:
467         * plugins/elements/gstmultiqueue.h:
468         Fix dead-lock in underrun_cb
469
470 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
471
472         * docs/design/part-states.txt:
473         Fix device open/close docs.
474
475 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
476
477         * ChangeLog:
478           Mention bugnumber for last commit.
479
480 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
481
482         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
483
484         * docs/manual/manual.xml:
485         - Reorganised the previous "introduction" bundle into Foreword,
486         Introduction, and About GStreamer. The two first are <preface>
487         docbook elements. The later is the first part of the book.
488         - added intro-gstreamer.xml (content partially from
489         intro-preface.xml)
490         - moved appendix-win32.xml into appendix-integration.xml
491
492         * docs/manual/intro-preface.xml: gstreamer section moved...
493         * docs/manual/intro-gstreamer.xml: ...here. new file.
494
495         * docs/manual/appendix-win32.xml: removed file. Content moved...
496         * docs/manual/appendix-integration.xml: ...here.
497         
498         * docs/manual/highlevel-components.xml: section about GstEditor moved...
499         * docs/manual/appendix-checklist.xml: ...here.
500         
501         Fixes: 538764
502
503 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
504
505         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
506
507         * docs/manual/basics-helloworld.xml:
508         * docs/manual/hello-world.fig:
509           - Explicitely include glib.h.
510           - Do not use global variables.
511           - Use g_printerr() instead of g_print().
512           - Minor formating/renaming to increase readibility.
513           - Renamed new_pad() to on_pad_added()
514           - Improved explenatory comments.
515           - renamed ogg parser to ogg demuxer
516           - Use "autoaudiosink" instead of "alsasink".
517           Fixes: #538619
518
519 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
520
521         * ChangeLog:
522           Remove cvs conflict marker.
523
524 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
525
526         * docs/README:
527           Document that for plgin-docs we extraxt he short-desc from the element
528           details.
529
530         * docs/design/part-states.txt:
531           Tell that devices should be closed in PAUSED -> READY.
532
533         * docs/manual/README:
534           Document how tests in the manual are handled.
535
536         * docs/manuals.mak:
537           Typo in comment.
538
539 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
540
541         * gst/gstbin.c: (bin_query_latency_fold):
542         Only care about latency min and max when the sink is actually a live
543         sink.
544
545 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
546
547         * docs/design/part-block.txt:
548         Fix typo.
549
550         * docs/design/part-element-transform.txt:
551         Add notes about why transform needs to know input/output sizes.
552         Add some issues that need to be solved.
553         Add some more use cases.
554
555         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
556         (gst_test_trans_class_init), (result_sink_chain),
557         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
558         (gst_test_trans_push), (gst_test_trans_pop):
559         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
560         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
561         (set_caps_1), (set_caps_ct1), (transform_ct1),
562         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
563         (gst_basetransform_suite):
564         Add suport for different pad templates and buffer-alloc.
565         Add more checks for caps and buffer-alloc.
566         Add checks for proxy buffer alloc.
567         Add unit test for copy transform.
568
569 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
570
571         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
572
573         * docs/manual/appendix-integration.xml:
574         * docs/manual/appendix-licensing.xml:
575         * docs/manual/basics-elements.xml:
576         * docs/manual/basics-helloworld.xml:
577         * docs/manual/basics-pads.xml:
578         * docs/manual/highlevel-components.xml:
579         * docs/manual/highlevel-xml.xml:
580         * docs/manual/intro-basics.xml:
581         * docs/manual/intro-preface.xml:
582           Typo and formatting fixes (#538594).
583
584 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
585
586         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
587         Fix some memory leaks and uses of object instances that we don't
588         actually own.
589
590 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
591
592         * plugins/elements/gstmultiqueue.c:
593         Add functionality to extra-size-buffers property.
594
595 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
596
597         * plugins/elements/gstmultiqueue.c:
598         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
599         activate the pads if they are added in STATE_NULL.
600
601 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
602
603         * docs/libs/gstreamer-libs-sections.txt:
604         Add new API to doc
605         * libs/gst/check/gstcheck.c:
606         * libs/gst/check/gstcheck.h:
607         API: gst_check_teardown_pad_by_name
608
609 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
610
611         * libs/gst/check/gstcheck.c:
612         * libs/gst/check/gstcheck.h:
613         Also setup request pads and allow setup pads by name (#537812)
614         API: gst_check_setup_src_pad_by_name
615         API: gst_check_setup_sink_pad_by_name
616
617 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
618
619         * tests/check/gst/gstbuffer.c:
620         * tests/check/pipelines/parse-launch.c:
621           Use HAVE_VALGRIND_H some more.
622
623 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
624
625         * scripts/cvs-update.sh:
626           Pass arguments to make.
627           Run autoregen.sh if Makefile is not there.
628
629 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
630
631         * configure.ac:
632         * gst/gstinfo.c:
633           Don't assume that <valgrind/valgrind.h> exists just because
634           the binary is there.
635
636 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
637
638         * tests/check/Makefile.am:
639         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
640         (gst_test_trans_class_init), (gst_test_trans_init),
641         (gst_test_trans_set_data), (result_sink_chain),
642         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
643         (gst_test_trans_pop):
644         * tests/check/libs/transform1.c: (GST_START_TEST),
645         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
646         Add some test basetransform element and the beginnings of various
647         unit tests for it.
648
649 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
650
651         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
652         Increase code readability.
653         Don't try to compare buffer offsets when ther are invalid.
654
655 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
656
657         * docs/design/Makefile.am:
658           Dist some more design docs.
659
660         * docs/random/moving-plugins:
661           Small addition: good plugins mustn't have functional code
662           within assertion macros.
663
664 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
665
666         * docs/design/draft-framestep.txt:
667         Some ideas about a framestep API
668
669         * docs/design/part-element-transform.txt:
670         Start design and use cases for basetransform in order to get it
671         fixed soon.
672
673 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
674
675         * gst/gsttaglist.h:
676           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
677           be in UTF-8 encoding.
678
679 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
680
681         * gst/gstbus.c:
682           Make it known that gst_bus_poll() is pure evil (fixes #538810).
683
684 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
685
686         * plugins/elements/gstcapsfilter.c:
687         * plugins/elements/gstfakesink.c:
688         * plugins/elements/gstfakesrc.c:
689         * plugins/elements/gstfdsink.c:
690         * plugins/elements/gstfdsrc.c:
691         * plugins/elements/gstfilesink.c:
692         * plugins/elements/gstfilesrc.c:
693         * plugins/elements/gstidentity.c:
694         * plugins/elements/gstmultiqueue.c:
695         * plugins/elements/gstqueue.c:
696         * plugins/elements/gsttee.c:
697         * plugins/elements/gsttypefindelement.c:
698           Remove short_description. Add basic docs for gsttypefindelement.
699           Simplify markup for fakesrc/fdsrc.
700
701 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
702
703         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
704         Added Since doc.
705
706 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
707
708         Patch by: joel larsson <tilljoel at gmail dot com>
709
710         * docs/plugins/gstreamer-plugins.args:
711         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
712         (gst_fd_src_init), (gst_fd_src_update_fd),
713         (gst_fd_src_set_property), (gst_fd_src_get_property),
714         (gst_fd_src_create):
715         * plugins/elements/gstfdsrc.h:
716         Add timeout property like udpsrc. Fixes #538628.
717         Add some more docs and example pipelines.
718
719 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
720
721         * docs/libs/gstreamer-libs-sections.txt:
722         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
723         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
724         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
725         (gst_base_sink_do_sync):
726         * libs/gst/base/gstbasesink.h:
727         * win32/common/libgstbase.def:
728         Add method to allow sinks to specify additional delay between the sync
729         times and the actual rendering of the data.
730         API: gst_base_sink_set_render_delay()
731         API: gst_base_sink_get_render_delay()
732
733 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
734
735         * configure.ac:
736         Bump version number back to dev -> 0.10.20.1
737
738 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
739
740         * docs/gst/gstreamer-sections.txt:
741         * gst/gsttaglist.c: (_gst_tag_initialize):
742         * gst/gsttaglist.h:
743         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
744         Fixes bug #538568.
745
746 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
747
748         * libs/gst/controller/gstcontroller.c:
749           Revert one change, that make ret value possible uninitialized.
750
751 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
752
753         * libs/gst/controller/gstcontroller.c:
754           Use freeze/thaw notify to sync notify emission a bit (its also more
755           efficient). Move debug output to LOG (is called a lot in a loop).
756           Always unset g_values if the have been initialized.
757
758 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
759
760         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
761         (gst_base_sink_wait_eos), (gst_base_sink_event):
762         If we have not seen a buffer before EOS, use the segment values to
763         report the current position instead of invalid positions.
764
765 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
766
767         * docs/plugins/tmpl/.cvsignore:
768         * tests/check/gst/.cvsignore:
769           Ignore more.
770
771 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
772
773         * libs/gst/controller/gstinterpolation.c:
774         * libs/gst/controller/gstinterpolationcontrolsource.c:
775         * tests/check/libs/controller.c:
776           Rewrite handling of default values. Fix overflow with unsigned types
777           in linear interpolation. Remove now obsolete _first_value() function.
778           Add more tests. Fixes #538201.
779
780 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
781
782         * libs/gst/base/gstbasetransform.c:
783         (gst_base_transform_class_init), (gst_base_transform_init),
784         (gst_base_transform_transform_caps),
785         (gst_base_transform_prepare_output_buffer):
786         Add debug info.
787         When a buffer is writable, its metadata is also writable so we don't
788         need to subbuffer (which then makes the buffer not-writable anymore).
789
790 === release 0.10.20 ===
791
792 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
793
794         * configure.ac:
795           releasing 0.10.20, "You Crazy Diamond"
796
797 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
798
799         * configure.ac:
800         0.10.19.3 pre-release
801
802 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
803
804         * configure.ac:
805         * gst/gstpreset.c:
806         Rename DATADIR to GST_DATADIR to avoid build problems
807         on win32. Patch By: David Schleef <ds@schleef.org>
808         Fixes: #536857
809
810 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
811
812         * configure.ac:
813         Explicitely link with -ldl if dladdr() is found there. Before it was
814         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
815         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
816
817 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
818
819         * gst/gsterror.c: (_gst_stream_errors_init):
820           Fix typo (spotted by Fabricio Godoy, #536723).
821
822 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
823
824         * configure.ac:
825         0.10.19.2 pre-release
826
827 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
828
829         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
830         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
831         Add some debug.
832         Make sure we don't generate invalid QoS messages.
833
834 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
835
836         * gst/gstevent.c: (gst_event_new_qos):
837         Add some assert and docs for invalid input to the qos function.
838
839 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
840
841         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
842         (gst_base_sink_get_position):
843         The reported position must always be smaller than the last seen
844         timestamps (or timestamp + duration for reverse).
845
846 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
847
848         Patch by: Rob Bradford <rob at robster dot org dot uk>
849
850         * gst/gstregistry.c: (gst_registry_scan_path_level):
851         Don't recurse into .debug directories as some distros install
852         the debugging symbols next to the plugins in .debug directories
853         and dlopen() crashes on them sometimes. Fixes bug #508070.
854
855         Add FIXME for 0.11 to not recurse into directories at all because
856         it's very inconsistent to the behaviour of other PATH environment
857         variables.
858
859 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
860
861         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
862         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
863         Fix position query range checks in reverse playback.
864
865 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
866
867         * gst/gstelement.c:
868         * gst/gstelement.h:
869         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
870         clear of the reference to the resulting pad must be released later
871         or not, resulting in possible leaks. Fixes bug #533865.
872
873 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
874
875         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
876
877         * gst/gstelementfactory.c:
878         Small doc fix. Fixes #535285.
879
880 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
881
882         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
883
884         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
885         (gst_base_src_get_range), (gst_base_src_pad_get_range),
886         (gst_base_src_loop), (gst_base_src_set_flushing),
887         (gst_base_src_change_state):
888         Make sending an EOS event to the basesrc non-blocking even if the
889         implementation does blocking waits in the create function. This is done
890         by unlocking the create function when EOS is sent.
891         Fixes #535218.
892
893 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
894
895         * tools/gst-inspect.c: (print_element_properties_info):
896         If possible print the element type of GValueArray properties.
897
898 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
899
900         * gst/gstiterator.c:
901         Remove an unused field from the private GstListIterator struct.
902
903 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
904
905         * libs/gst/controller/gstcontroller.c:
906           Add parameter guards.
907
908 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
909
910         * tests/check/gst/gstpipeline.c:
911           Revert test change and add comment why it should not work.
912
913 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
914
915         * tests/check/gst/gstpipeline.c:
916           Extending the test a little to verify that we also get the NULL state-
917           change message.
918
919 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
920
921         * gst/gstpreset.c: (gst_preset_default_get_meta),
922           (gst_preset_get_preset_names), (gst_preset_get_property_names),
923           (gst_preset_load_preset), (gst_preset_save_preset),
924           (gst_preset_rename_preset), (gst_preset_delete_preset),
925           (gst_preset_set_meta):
926           Add Since: markers to docs blurbs.
927
928         * win32/common/libgstreamer.def:
929           Add recently-added API.
930
931 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
932
933         Patch by: Stefan Kost  <ensonic@users.sf.net>
934
935         * configure.ac:
936         Add DATADIR for storing presets.
937
938         * docs/gst/gstreamer-docs.sgml:
939         * docs/gst/gstreamer-sections.txt:
940         * docs/gst/gstreamer.types.in:
941         Add GstPreset to docs.
942
943         * gst/Makefile.am:
944         * gst/gst.h:
945         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
946         (preset_open_and_parse_header), (preset_parse_version),
947         (preset_merge), (preset_get_keyfile),
948         (gst_preset_default_get_preset_names),
949         (gst_preset_default_get_property_names),
950         (gst_preset_default_load_preset),
951         (gst_preset_default_save_presets_file),
952         (gst_preset_default_save_preset),
953         (gst_preset_default_rename_preset),
954         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
955         (gst_preset_default_get_meta), (gst_preset_default_randomize),
956         (gst_preset_default_reset), (gst_preset_get_preset_names),
957         (gst_preset_get_property_names), (gst_preset_load_preset),
958         (gst_preset_save_preset), (gst_preset_rename_preset),
959         (gst_preset_delete_preset), (gst_preset_set_meta),
960         (gst_preset_get_meta), (gst_preset_class_init),
961         (gst_preset_base_init), (gst_preset_get_type):
962         * gst/gstpreset.h:
963         Add GstPreset to core. Fixes #396779
964
965         * tests/check/Makefile.am:
966         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
967         (gst_preset_test_set_property), (gst_preset_test_class_init),
968         (gst_preset_test_base_init), (gst_preset_test_get_type),
969         (gst_preset_test_plugin_init), (GST_START_TEST),
970         (remove_preset_file), (test_setup), (test_teardown),
971         (gst_preset_suite):
972         Add GstPreset unit tests.
973
974 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
975
976         * gst/gstpad.c: (gst_pad_event_default_dispatch):
977         The default event function on a sinkpad should return TRUE when
978         there are no internal links but should collect the return values from
979         the internal links otherwise.
980
981 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
982
983         * plugins/elements/gsttypefindelement.c:
984         (gst_type_find_element_src_event),
985         (gst_type_find_element_handle_event):
986         Use faster and safer _pad_push_event().
987
988 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
989
990         * docs/gst/gstreamer-sections.txt:
991         * gst/gstutils.c: (element_find_unlinked_pad),
992           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
993         * gst/gstutils.h:
994           API: add gst_bin_find_unlinked_pad()
995           API: deprecate gst_bin_find_unconnected_pad() (#401456)
996
997 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
998
999         * gst/gstclock.c:
1000         * gst/gstclock.h:
1001         * gst/gsttask.c:
1002         * gst/gsttask.h:
1003         Fixed a bunch of typos.
1004
1005 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1006
1007         * gst/gstpad.h:
1008         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
1009           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
1010           (gst_parse_bin_from_description_full):
1011         * gst/gstutils.h:
1012           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
1013
1014 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1015
1016         * docs/pwg/advanced-tagging.xml:
1017           Small docs update, can't be bothered to rewrite the nonsensical
1018           examples right now.
1019
1020 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1021
1022         * gst/gstevent.h:
1023           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
1024
1025 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1026
1027         * gst/parse/grammar.y:
1028           Remove unneeded casts.
1029
1030 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1031
1032         * gst/parse/grammar.y:
1033         * tests/check/pipelines/parse-launch.c:
1034           Get all missing elements from a parse launch string if possible
1035           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
1036
1037 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1038
1039         * tests/check/Makefile.am:
1040         * tests/check/pipelines/parse-launch.c:
1041           Add some unit tests for the new gst_parse_launch*_full() API.
1042           (Exposes a previously-existing memory leak in the error code
1043           path, so adding to VALGRIND_TO_FIX for now).
1044
1045 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1046
1047         * docs/gst/gstreamer-sections.txt:
1048         * gst/gst.c: (init_post):
1049         * gst/gst_private.h: (_GstParseContext):
1050         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
1051           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
1052           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
1053           (gst_parse_launch_full):
1054         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
1055           (GstParseFlags), (GstParseContext):
1056         * gst/gstutils.c: (gst_parse_bin_from_description),
1057           (gst_parse_bin_from_description_full):
1058         * gst/gstutils.h:
1059         * gst/parse/grammar.y:
1060         * gst/parse/types.h:
1061         * win32/common/libgstreamer.def:
1062           Add new gst_parse_*_full API (#528178):
1063           API: gst_parse_launch_full()
1064           API: gst_parse_launchv_full()
1065           API: gst_parse_bin_from_description_full()
1066           API: gst_parse_context_new()
1067           API: gst_parse_context_free()
1068           API: gst_parse_context_get_missing_elements()
1069
1070 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
1071
1072         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
1073
1074         * docs/faq/gst-uninstalled:
1075           Also support ffmpeg in gst-uninstalled.
1076
1077 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1078
1079         * configure.ac:
1080         After discussion on IRC use the binary registry as default
1081         but allow to disable it with --disable-binary-registry.
1082
1083         * win32/common/libgstreamer.def:
1084         Add the two new symbols for the binary registry.
1085
1086 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
1087
1088         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
1089         * gst/gstutils.c: (gst_parse_bin_from_description):
1090         * gst/parse/grammar.y: (graph):
1091           More guards against bad input; typo fix; some minor clean-ups.
1092
1093 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1094
1095         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1096
1097         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1098         If nothing else can be used, use the last buffer's start time as
1099         the segment's last stop. Fixes bug #534258.
1100
1101 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
1102
1103         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1104           Move size sanity check to the right place: downstream may return
1105           a buffer with a smaller size if the buffer caps are different than
1106           the requested ones, as may happen when doing reverse negotiation.
1107
1108 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1109
1110         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
1111         (gst_file_sink_render):
1112         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
1113         (gst_file_src_start):
1114         Small cleanups. Add note adbout g_fopen() on windows and why we don't
1115         use it yet.
1116
1117 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1118
1119         * gst/gstpad.c: (gst_pad_load_and_link):
1120         * gst/gstutils.c: (gst_element_link_pads),
1121         (gst_element_unlink_pads):
1122         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1123         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1124         (gst_check_teardown_sink_pad),
1125         (gst_check_element_push_buffer_list):
1126         * tests/check/elements/fakesink.c: (GST_START_TEST):
1127         * tests/check/elements/filesink.c:
1128         * tests/check/elements/filesrc.c: (GST_START_TEST):
1129         * tests/check/elements/multiqueue.c: (setup_multiqueue),
1130         (mq_sinkpad_to_srcpad):
1131         * tests/check/elements/tee.c: (GST_START_TEST):
1132         * tests/check/generic/sinks.c: (GST_START_TEST):
1133         * tests/check/gst/gstbin.c: (GST_START_TEST):
1134         * tests/check/gst/gstevent.c: (GST_START_TEST):
1135         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1136         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
1137         * tests/check/gst/gstquery.c: (GST_START_TEST):
1138         * tests/check/gst/gstutils.c: (GST_START_TEST):
1139         * tests/check/libs/basesrc.c: (GST_START_TEST):
1140         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
1141         (gst_parse_test_element_change_state):
1142         Don't use gst_element_get_pad().
1143
1144 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
1145
1146         * docs/Makefile.am:
1147         Fix installing plugin documentation when gtk-doc is disabled.
1148
1149 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1150
1151         * docs/manual/advanced-autoplugging.xml:
1152         * docs/manual/basics-helloworld.xml:
1153         * docs/manual/basics-pads.xml:
1154         * docs/manual/highlevel-components.xml:
1155         Avoid using a bad function in the example code.
1156
1157 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1158
1159         * gst/gstclock.c: (gst_clock_set_calibration):
1160         Fix debug of the new clock rate.
1161
1162 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1163
1164         * win32/common/libgstbase.def:
1165         Add gst_base_sink_wait_clock() to the exported symbols.
1166
1167 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
1168
1169         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
1170
1171         * libs/gst/base/gstbasetransform.c:
1172         (gst_base_transform_sink_event):
1173         Unref events that the GstBaseTransform::event vfunc didn't want to
1174         have forwarded by the base class. Closes a leak in identity.
1175         Fixes bug #446763.
1176
1177 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1178
1179         * docs/libs/gstreamer-libs-sections.txt:
1180         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1181         * libs/gst/base/gstbasesink.h:
1182         Expose a method that was previously used internally to synchronize
1183         against the clock because it can be useful for subclasses too.
1184         API: GstBaseSink::gst_base_sink_wait_clock()
1185
1186 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1187
1188         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1189           Add sanity check to make sure we don't get smaller buffers
1190           than requested (and fallback to normal buffer alloc if we do).
1191
1192 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1193
1194         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1195         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1196         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1197         Refactor adjusting the running_time with latency and offset into a
1198         separate method.
1199         When doing clipping, we still want to use the subclass get_times method,
1200         just in case the DURATION or TIMESTAMP are not set.
1201
1202 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1203
1204         * docs/gst/gstreamer-sections.txt:
1205         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1206         * gst/gsttypefind.h:
1207         * win32/common/libgstreamer.def:
1208           API: add gst_type_find_suggest_simple(), #533740.
1209
1210 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1211
1212         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1213           Use right error code when typefinding fails, so we can use
1214           the default (translated) error messages.
1215
1216 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1217
1218         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1219         (gst_base_src_start):
1220         When the subclass did not set caps on outgoing buffers, configure the
1221         caps we negotiated on the source pad.
1222         When the typefind helper does not find caps, error out properly instead
1223         of doing things with NULL caps.
1224
1225 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1226
1227         * gst/gsttypefind.h:
1228           Tabs to spaces, oh yes!
1229
1230 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1231
1232         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1233           Add David's and Benjamin's tests for array intersection to the
1234           unit test suite (#147931).
1235
1236 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1237
1238         * gst/gstevent.c:
1239           Document that gst_event_new_tag() and gst_event_new_navigation()
1240           take ownership of the taglist/structure passed to them. (#533635).
1241
1242 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
1243
1244         * docs/Makefile.am:
1245         Don't descend into the plugins dir if plugin docs building
1246         is disabled.
1247
1248         * docs/README:
1249         Add a note about the new type:GTypeName syntax for the plugin
1250         documentation .types file.
1251
1252 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1253
1254         * gst/gstmessage.c: (gst_message_new_error),
1255         (gst_message_new_warning), (gst_message_new_info):
1256         * gst/gstmessage.h:
1257         Mark the debug string parameters as const. Fixes bug #533490.
1258
1259 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
1260
1261         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1262         Sort buffer cache list by end offsets. This makes sure that we don't
1263         stop to search for a cached buffer that contains the requested data
1264         too early.
1265         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1266         more efficient. Fixes bug #459862.
1267
1268 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
1269
1270         * gst/gstinfo.c:
1271           Explain why we copy the list.
1272
1273         * gst/gstpipeline.c:
1274           Improve docs.
1275
1276         * gst/gstutils.c:
1277           Add one debug-log statement to help tracing probelms with linking pads.
1278
1279 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
1280
1281         * tests/check/gst/gstinfo.c:
1282         Add a test for removing the default log handler. Seems to fail under
1283         windows.
1284
1285 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1286
1287         * gst/gstpad.c: (gst_pad_peer_accept_caps):
1288         Release pad lock before calling out to avoid a possible deadlock.
1289
1290 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1291
1292         * gst/parse/grammar.y:
1293         Remove unneeded value unset.
1294
1295         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1296         Add unit test for de/serialization of caps.
1297
1298 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1299
1300         * plugins/elements/gstfakesink.c:
1301         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1302         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1303         (gst_fake_src_class_init):
1304         Use custom marshalers that take GstMiniObject as first parameter.
1305         Using OBJECT as parameter while a GstMiniObject is given will lead
1306         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1307
1308 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1309
1310         * plugins/elements/gsttypefindelement.c:
1311         (gst_type_find_element_handle_event),
1312         (gst_type_find_element_send_cached_events),
1313         (gst_type_find_element_change_state):
1314         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1315         immediately.
1316
1317 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1318
1319         * plugins/elements/gsttypefindelement.c:
1320         (gst_type_find_handle_src_query), (stop_typefinding),
1321         (gst_type_find_element_handle_event),
1322         (gst_type_find_element_send_cached_events),
1323         (gst_type_find_element_change_state):
1324         Forward FLUSH_START events immediately and clean up instead of
1325         caching them.
1326
1327 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1328
1329         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1330
1331         * libs/gst/base/gstbasetransform.c:
1332         (gst_base_transform_buffer_alloc):
1333         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1334         fall back to default negotiation in the chain function if the caps
1335         are different from what was requested. Fixes bug #526768.
1336
1337 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1338
1339         * gst/gstsegment.c:
1340         * tests/check/gst/gstsegment.c:
1341           No, let's not use g_slice_{dup|copy} here, since they only exist
1342           since GLib 2.14 and we still depend only on >= 2.12. Also add
1343           unit test for gst_segment_copy().
1344
1345 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1346
1347         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1348           Try to fix 'dereferencing type-punned pointer will break strict
1349           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1350           changed the default GType typedef from gulong to gsize at some point,
1351           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1352           g_once_* functions all take a gsize * though, so work around the type
1353           mismatch for C++ by doing everything in gsize and casting to GType
1354           later.
1355
1356 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
1357
1358         * plugins/elements/gstmultiqueue.c:
1359         Add documentation for the signals to push our core plugin docs
1360         coverage back up to 100%.
1361
1362 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1363
1364         * gst/gstinfo.h (GST_FUNCTION):
1365           Reverted GST_FUNCTION to the old version as we don't want the
1366           full signature in C++ code. Also added support for MSVC.
1367
1368 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1369
1370         * gst/gstutils.h:
1371         Intern the type name string, similar to what G_DEFINE_TYPE does.
1372
1373 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1374
1375         * gst/gstutils.h:
1376         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1377
1378 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1379
1380         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1381
1382         * libs/gst/base/gstbasetransform.c:
1383         (gst_base_transform_buffer_alloc):
1384         Don't passthrough buffer allocation too easily if the caps change.
1385         This breaks when working in passthrough mode and upstream changes
1386         it's caps. Fixes bug #526768.
1387
1388 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1389
1390         * gst/gstinfo.c (gst_debug_log_valist):
1391           Improved the __FILE__ part of debug output for MSVC.
1392
1393 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1394
1395         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1396           Declaration after statement fix for compilers like MSVC.
1397
1398 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1399
1400         * win32/common/config.h.in:
1401           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1402           use the real thing than having "???" unconditionally.
1403
1404 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1405
1406         * gst/gstinfo.h (GST_FUNCTION):
1407           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1408
1409 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1410
1411         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1412         Small code cleanup.
1413
1414         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1415         (gst_base_sink_set_flushing):
1416         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1417         Fix some comments.
1418
1419 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1420
1421         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1422         (gst_fake_src_init), (gst_fake_src_set_property),
1423         (gst_fake_src_get_property), (gst_fake_src_start):
1424         * plugins/elements/gstfakesrc.h:
1425         Added format property to control the format of the newsegment events.
1426         API: GstFakeSrc:format
1427
1428 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1429
1430         * win32/common/libgstreamer.def:
1431         Add gst_pad_has_name() to the exported symbols.
1432
1433 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1434
1435         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1436         * libs/gst/base/gstbasetransform.c:
1437         (gst_base_transform_prepare_output_buffer):
1438         Don't allow negative sizes when allocating new buffers.
1439         Fixes bug #461253.
1440
1441 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1442
1443         Patch by: Sjoerd Simons <sjoerd at luon net>
1444
1445         * gst/gstbus.c: (gst_bus_source_dispatch):
1446           Don't print a warning if the queue is empty when we try to pop
1447           here. That could happen if another thread or callback set the
1448           bus to flushing between the source's check/prepare and the
1449           dispatch being called (#531538).
1450
1451 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1452
1453         * plugins/elements/gstmultiqueue.c:
1454           Small docs fix.
1455         
1456 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1457
1458         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1459         Add unit test for deserializing uint64s and check some really large
1460         numbers in the int64 test.
1461
1462 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1463
1464         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1465         (print_interfaces), (print_element_properties_info),
1466         (print_signal_info):
1467         Use "%s" as format string instead of printing strings directly.
1468
1469 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1470
1471         * gst/gstclock.c: (gst_clock_set_calibration):
1472         Make some checks actually useful.
1473
1474         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1475         Remove some unused code. Unsigned integers tend to be >= 0.
1476
1477 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1478
1479         * gst/gstminiobject.c: (gst_value_get_mini_object):
1480           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1481           function was not in the unscheduled 0.10.19 release.
1482
1483 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1484
1485         * gst/gstregistry.c: (gst_registry_scan_path_level):
1486           Only print one log message per non-plugin file.
1487
1488 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1489
1490         * gst/gstinfo.c: (gst_debug_log_default):
1491           Fix alignment of debug log columns on 64-bit.
1492
1493 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1494
1495         * docs/libs/Makefile.am:
1496         * docs/libs/gstreamer-libs-sections.txt:
1497           Ignore private controller headers for docs.
1498
1499 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1500
1501         * libs/gst/controller/gstcontrollerprivate.h:
1502         * libs/gst/controller/gsthelper.c:
1503         * libs/gst/controller/gstinterpolation.c:
1504         * libs/gst/controller/gstinterpolationcontrolsource.c:
1505         (gst_interpolation_control_source_set_interpolation_mode):
1506         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1507         * libs/gst/controller/lib.c:
1508         Move some private declarations into private headers.
1509
1510 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1511
1512         * gst/gstdebugutils.c: (debug_dump_element_pad):
1513         Remove some code that is unused after Stefan's refactoring and uses
1514         uninitialized variables now, resulting in a compiler warning.
1515
1516 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1517
1518         * gst/gstregistry.c: (gst_registry_scan_path_level):
1519           Run g_str_has_suffix() only on the file name, not the
1520           entire file path.
1521
1522 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1523
1524         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1525           Since we're not called only from the chain function any longer,
1526           we can't assume that there's always data in the queue, so move
1527           the is_full check to the beginning of the loop (otherwise we'd
1528           hit the assert when changing the limit properties while the
1529           queue is empty or not running yet).
1530           Also, only set a discont if items were actually removed from
1531           the queue.
1532
1533         * tests/check/elements/queue.c: (test_leaky_downstream):
1534           Test case for the above.
1535
1536 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1537
1538         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1539
1540         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1541         (gst_queue_chain), (queue_capacity_change),
1542         (gst_queue_set_property):
1543         When changing thr max capacity of a leaky queue, immediatly drop buffers
1544         instead of waiting for a push on the sinkpad. Fixes #530637.
1545
1546 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1547
1548         * gst/gstdebugutils.c:
1549           Refactor code and fix handling of ghostpads and their proxypads.
1550
1551 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1552
1553         * docs/gst/gstreamer-sections.txt:
1554         * gst/gstevent.c: (gst_event_has_name):
1555         * gst/gstevent.h:
1556         * tests/check/gst/gstevent.c: (GST_START_TEST):
1557         Add method to conveniently check the name of a custom event with
1558         gst_event_has_name().
1559         Reformat the event docs so that related methods are put together instead
1560         of the default alphabetical sort.
1561         Update unit test with new method.
1562         API: GstEvent::gst_event_has_name()
1563
1564 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1565
1566         * libs/gst/check/Makefile.am:
1567           Don't add an explicit link to libgstreamer-0.10.la; it's already
1568           included in GST_OBJ_LIBS.
1569
1570 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1571
1572         * gst/gst.c:
1573         Register GstClock type from a type-safe context. Fixes bug #530317.
1574
1575 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1576
1577         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1578         * tools/gst-run.c:
1579           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1580
1581 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1582
1583         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1584         (gst_bin_dispose):
1585         Use the GLib stuff to create a private structure.
1586         Add some locking around some dispose methods to make them a little
1587         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1588
1589 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1590
1591         * libs/gst/base/gstbasesink.h:
1592         * libs/gst/base/gstbasesrc.h:
1593         * libs/gst/base/gstbasetransform.h:
1594         * libs/gst/base/gstcollectpads.h:
1595           Fix doc typos and unify caps a bit.
1596
1597 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1598
1599         * tools/gst-launch.1.in:
1600           Forgot to also add the envvar docs here.
1601
1602 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1603
1604         * gst/gst.c: (init_post), (gst_deinit):
1605         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1606           (test_concurrent_create), (gst_pipeline_suite):
1607           Ref some more classes in gst_init() to work around thread-safety
1608           issues in pre-2.16 GLibs, and add basic unit test.
1609
1610 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1611
1612         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1613         (gst_base_sink_send_event):
1614         Rearrange the latency query code. We always want to do the upstream
1615         query, even if we are not live so that the upstream elements can get the
1616         latency results too. If we fail doing the query and we are live, we
1617         return TRUE afterwards.
1618
1619 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1620
1621         patch by: Jason Zhao <e3423c@motorola.com>
1622
1623         * docs/gst/running.xml:
1624         * gst/gst.c:
1625           Enable/disable scan_and_update_registry() based on commandline switch
1626           or environment variable. Fixes #520468.
1627           
1628         * ChangeLog:
1629           Fix typo in my previous commit.
1630
1631 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1632
1633         * gst/gstregistrybinary.c:
1634           Add a warning if we hit unhandled factories when saving.
1635           More debug logging detail, but move to LOG category.
1636
1637 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1638
1639         * gst/gstregistry.c:
1640           Tell the *truth* when improving the documentation.
1641
1642 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1643
1644         * gst/gstelementfactory.c: (gst_element_factory_make):
1645         Unref the factory after it was used the last time, not before.
1646
1647         * gst/gstindexfactory.c: (gst_index_factory_make):
1648         Improve debugging a bit and don't leak a ref to the index factory with
1649         each call.
1650
1651 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1652
1653         * gst/gstregistry.c:
1654           Improve the documentation.
1655
1656 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1657
1658         * gst/gstsegment.c:
1659           The glib macro seems to be borked. Use g_slice_copy directly and cast
1660           in the hope that this fixes the warning on 64bit.
1661
1662 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1663
1664         * gst/gstsegment.c:
1665           Document the new function. Use g_slice_dup() (no need for
1666           gst_segment_init()).    
1667
1668 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1669
1670         * docs/gst/gstreamer-sections.txt:
1671           Move GParamSepc macros to standart section.
1672   
1673         * gst/gstbin.c:
1674           Dn't document _get_type - its in private section in docs anyway and
1675           this doc-blob was incomplete.
1676
1677         * gst/gstclock.h:
1678           Fix wrong symbol names in docs.
1679
1680         * gst/gstmacros.h:
1681           Add once doc sentence.
1682
1683         * tests/check/gst/.cvsignore:
1684           Ignore more.
1685
1686 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1687
1688         * docs/gst/Makefile.am:
1689           And remove those libs here.
1690
1691 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1692
1693         * docs/libs/Makefile.am:
1694           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1695
1696 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1697
1698         Patch by: Olivier Crete <tester at tester dot ca>
1699
1700         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1701         Add the min-threshold to the min latency if possible. Fixes #529148.
1702
1703 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1704
1705         * docs/gst/gstreamer.types.in:
1706           Stupid editor, I removed that line as it should go in yet.
1707
1708 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1709
1710         * docs/gst/gstreamer.types.in:
1711         * docs/libs/gstreamer-libs.types:
1712           Remove library types fro core docs and have them in libs docs.
1713           Reformat and cleanup. Add comment for miniobject types.
1714
1715 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1716
1717         * gst/gsturi.c: (gst_uri_get_protocol):
1718           Fix leak: g_strdown operates on the string in place, while
1719           g_ascii_strdown() returns a newly-allocated string.
1720
1721 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1722
1723         * tools/gst-inspect.c: (print_uri_handler_info),
1724         (print_element_info):
1725         Print the URI protocols and the URI type supported by the element.
1726
1727 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1728
1729         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1730         Use g_value_take_string() instead of the deprecated
1731         g_value_set_string_take_ownership().
1732
1733 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1734
1735         * gst/gstregistrybinary.c: (_gst_crc32):
1736         Return the old CRC instead of 0 if we give a NULL buffer
1737         or a buffer with a length of 0.
1738
1739 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1740
1741         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1742         (gst_uri_get_protocol), (gst_uri_has_protocol),
1743         (gst_uri_construct), (gst_uri_handler_set_uri):
1744         A valid URI scheme can also include '+', '-' and '.' additional
1745         to alphanumeric characters as per RFC 3986 Section 3.1.
1746
1747         Handle URI schemes case insensitive in all places and convert
1748         to lower-case when constructing an URI or setting an URI with
1749         the GstURIHandler interface. Fixes bug #528868.
1750         All elements can still assume (as before) that they will
1751         get passed URIs with a lower-case URI scheme by the GstURIHandler
1752         interface.
1753
1754 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1755
1756         * gst/gstcaps.c: (gst_static_caps_get):
1757         * gst/gstclock.c: (gst_clock_entry_new):
1758           Don't use g_atomic_set_int where it's not needed.
1759
1760 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1761
1762         * gst/gstvalue.c: (gst_value_deserialize_caps):
1763         * gst/parse/grammar.y:
1764         Fix 2 caps leaks.
1765
1766 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1767
1768         * gst/gstutils.c: (gst_atomic_int_set):
1769         Use g_atomic_int_set() here too instead of assignment +
1770         g_atomic_int_get().
1771
1772 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1773         
1774         * gst/gstutils.c:
1775         * gst/gstutils.h:
1776         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1777         now that we depend on new enough GLib.
1778
1779         * gst/gstcaps.c: (gst_static_caps_get):
1780         * gst/gstclock.c: (gst_clock_entry_new):
1781         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1782         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1783         (gst_debug_category_set_threshold):
1784         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1785         (gst_base_sink_set_qos_enabled):
1786         * libs/gst/net/gstnettimeprovider.c:
1787         (gst_net_time_provider_set_property):
1788         Use g_atomic_int_set() instead of gst_atomic_int_set().
1789
1790 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1791
1792         * gst/gstquery.c:
1793           Also use G_GINT64_CONSTANT for the queries.
1794
1795 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1796
1797         * gst/gstmessage.c:
1798           Use G_GINT64_CONSTANT in varargs function.
1799
1800 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1801
1802         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1803         Initialize the registry magic with zeroes.
1804
1805 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1806
1807         * gst/gstregistrybinary.c: (_gst_crc32),
1808         (gst_registry_binary_write),
1809         (gst_registry_binary_initialize_magic),
1810         (gst_registry_binary_write_cache),
1811         (gst_registry_binary_check_magic),
1812         (gst_registry_binary_read_cache):
1813         * gst/gstregistrybinary.h:
1814         Add crc32 checksum to the binary registry file and check this before
1815         accepting a registry file.
1816
1817         Also free the data list when writing to the registry file fails.
1818
1819 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1820
1821         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1822         (gst_registry_binary_load_feature),
1823         (gst_registry_binary_load_plugin):
1824         If an element supports the Uri interface, returns a valid pointer
1825         to the supported URI protocols but this pointer contains nothing
1826         don't try to save that as it will corrupt the registry.
1827
1828         Don't unref the plugin if we added it to the registry already but
1829         fail to load a feature as gst_registry_add_plugin() takes ownership
1830         of the plugin.
1831
1832         Improve debugging a bit.
1833
1834 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1835
1836         * gst/gsttaglist.h:
1837           Clarify some tag item docs after discussion on irc.
1838
1839 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1840
1841         * docs/gst/gstreamer-docs.sgml:
1842           Remove commented out plugins (they have their own docs). Update
1843           comments.
1844
1845 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1846
1847         * docs/gst/gstreamer-docs.sgml:
1848         * docs/gst/gstreamer-sections.txt:
1849         * gst/gstparamspecs.c:
1850         * gst/gstparamspecs.h:
1851           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1852           docs to own section.
1853
1854         * gst/gstvalue.c:
1855           This now only documents GValue.
1856           
1857         * docs/libs/gstreamer-libs-sections.txt:
1858         * libs/gst/controller/gstcontroller.h:
1859           Remove GST_PARAM_CONTROLLABLE.
1860
1861 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1862
1863         * docs/README:
1864           Correct file path. Tell about how to use -overrides.txt.
1865         * docs/design/draft-tagreading.txt:
1866           Small design update.
1867
1868 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1869
1870         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1871         (gst_registry_binary_load_plugin):
1872         Fix a typo in a debug message and revert change from yesterday as
1873         gst_registry_add_plugin() will only fail if something is really wrong
1874         already and we can't survive it anyway.
1875
1876 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1877
1878         * gst/gst.c: (init_post), (gst_deinit):
1879           Pre-register GstGError GType from a thread-safe context
1880           (fixes #527967); unref enum type classes in deinit.
1881
1882 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1883
1884         Patch by: Rene Stadler <mail at renestadler de>
1885
1886         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1887           Merging an empty list with another list in KEEP_ALL mode should
1888           yield an empty list as result and not the second list (#512578).
1889
1890         * tests/check/gst/gsttagsetter.c:
1891           Add unit test for tag merge modes and the aforementioned bug.
1892
1893 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1894
1895         Patch by: Rene Stadler <mail at renestadler de>
1896
1897         * gst/gsttaglist.h:
1898           Fix description to match the order in the table (#512577).
1899   
1900 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1901
1902         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1903
1904         * libs/gst/net/gstnettimepacket.h:
1905         * docs/libs/gstreamer-libs-sections.txt:
1906           Define socklen_t as int if it's not defined yet. Fixes compilation
1907           with MSVC6 and other versions where socklen_t is not defined in
1908           the windows headers (#518022).
1909
1910 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1911
1912         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1913         If gst_registry_add_plugin() fails our reference to the plugin is
1914         invalid so don't try to use it anymore and instead error out.
1915
1916 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1917
1918         * tools/gst-xmlinspect.c: (print_element_info), (main):
1919           De-cruft a bit. If no argument is specified, print all elements in
1920           XML syntax rather than a freestyle list of elements like gst-inspect.
1921           Also, don't print XML header chunk unless we actually have something
1922           to print (ie. don't print it before an error message); print error
1923           message to stderr not stdout. Remove support for printing plugin
1924           info (it would just output something freestyle along the lines of
1925           gst-inspect so far), which fixes #514507. Also add license header.
1926
1927 2008-04-11  Julien Moutte  <julien@fluendo.com>
1928
1929         Mac OS X love...
1930         * configure.ac: Merge platform specific defines, introduce a new
1931         define on OS X to remember that forking when updating registry is
1932         unsafe.
1933         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1934         module.
1935         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1936         is defined.
1937         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1938         condition that leads to absolutely no plugins being registered on
1939         OS X.
1940
1941 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1942
1943         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1944
1945         * gst/gstutils.c: (gst_pad_add_data_probe),
1946           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1947           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1948           (gst_pad_add_buffer_probe_full):
1949         * gst/gstutils.h:
1950         * docs/gst/gstreamer-sections.txt:
1951         * win32/common/libgstreamer.def:
1952           Add gst_pad_add_*_probe_full() functions with a notify callback that
1953           lets the caller free the data it passes to the probe functions. This
1954           is useful for bindings such as gst-python or gstreamermm (#526814).
1955           API: gst_pad_add_data_probe_full
1956           API: gst_pad_add_buffer_probe_full
1957           API: gst_pad_add_event_probe_full
1958
1959         * tests/check/gst/gstutils.c:
1960           Add minimal unit test to make sure freeing the data actually works
1961           as expected.
1962
1963         * tests/benchmarks/.cvsignore:
1964           Random cvsignore addendum.
1965
1966 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1967
1968         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1969           (GST_DEBUG_BIN_TO_DOT_FILE):
1970           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1971           to it in the docs (since these are macros the types of the arguments
1972           won't be shown in the docs otherwise).
1973
1974 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1975
1976         * gst/gstpad.c:
1977           Do not abort on out of memory for pad_alloc_buffer.
1978
1979 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1980
1981         * libs/gst/check/gstcheck.c:
1982           Remove blank line between symbol name ad parameters to fix gtkdoc
1983           warning.
1984
1985 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1986
1987         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1988
1989         * docs/gst/gstreamer-sections.txt:
1990         * gst/gstsegment.c:
1991         * gst/gstsegment.h:
1992         * win32/common/libgstreamer.def:
1993           Expose gst_segment_copy() to make things easier for the c++ bindings.
1994           Fixes #518932.
1995           API: gst_segment_copy()
1996
1997 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1998
1999         * gst/gst.c: (gst_init_get_option_group), (init_post):
2000           Fix const position; ref GType classes for enum types to work
2001           around thread-safety issues in GLib versions < 2.16.
2002
2003 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2004
2005         * docs/design/part-buffering.txt:
2006         Fix some typos and set the estimated total for push mode to -1.
2007
2008         * gst/gstquery.c: (gst_query_new_buffering):
2009         Set buffering-left to 0 as we're not buffering by default.
2010
2011         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2012         Implement BUFFERING query.
2013
2014 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2015
2016         Based on patch by: Milosz Derezynski <internalerror gmail com>
2017
2018         * gst/gsterror.c: (_gst_stream_errors_init):
2019         * gst/gsterror.h:
2020           Add two new error codes for encrypted content. Fixes #524659.
2021           API: GST_STREAM_ERROR_DECRYPT
2022           API: GST_STREAM_ERROR_DECRYPT_NOKEY
2023
2024 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2025
2026         * gst/gstquery.h:
2027           Fix typo.
2028
2029         * win32/common/libgstreamer.def:
2030           Add new functions.
2031
2032 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
2033
2034         * plugins/elements/gstidentity.c: (gst_identity_event),
2035         (gst_identity_start):
2036         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
2037         event after processing some data. Fixes bug #526042.
2038
2039 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2040
2041         * docs/gst/gstreamer-sections.txt:
2042         * gst/gstquery.c: (gst_query_parse_latency),
2043         (gst_query_set_buffering_percent),
2044         (gst_query_parse_buffering_percent),
2045         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
2046         * gst/gstquery.h:
2047         Rename _avail -> _range
2048         API: gst_query_set_buffering_range
2049         API: gst_query_parse_buffering_range
2050
2051 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2052
2053         * docs/design/part-buffering.txt:
2054         * gst/gstquark.c:
2055         * gst/gstquark.h:
2056         * gst/gstquery.c: (gst_query_parse_latency),
2057         (gst_query_new_buffering), (gst_query_set_buffering_percent),
2058         (gst_query_parse_buffering_percent):
2059         * gst/gstquery.h:
2060         Add busy field and quark for the buffering query so that the app can
2061         only use the query to see if buffering is in progress.
2062
2063 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2064
2065         * docs/gst/gstreamer-sections.txt:
2066         * gst/gstmessage.c: (gst_message_set_buffering_stats),
2067         (gst_message_parse_buffering_stats):
2068         * gst/gstmessage.h:
2069         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2070         (gst_query_parse_latency), (gst_query_new_buffering),
2071         (gst_query_set_buffering_percent),
2072         (gst_query_parse_buffering_percent),
2073         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
2074         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
2075         * gst/gstquery.h:
2076         Reorder the message docs and headers for clarity.
2077         Add aditional buffering stats API for messages.
2078         Add buffering query.
2079         Convert some leftover queries to use GstQuark.
2080         API: gst_message_set_buffering_stats
2081         API: gst_message_parse_buffering_stats
2082         API: GST_QUERY_BUFFERING
2083         API: GstBufferingMode
2084         API: gst_query_new_buffering
2085         API: gst_query_set_buffering_percent
2086         API: gst_query_parse_buffering_percent
2087         API: gst_query_set_buffering_stats
2088         API: gst_query_parse_buffering_stats
2089
2090 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2091
2092         * gst/gstmessage.c: (gst_message_new_error),
2093         (gst_message_new_warning), (gst_message_new_info),
2094         (gst_message_new_buffering), (gst_message_new_state_changed),
2095         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
2096         (gst_message_new_new_clock), (gst_message_new_segment_start),
2097         (gst_message_new_segment_done), (gst_message_new_duration),
2098         (gst_message_new_async_start), (gst_message_parse_buffering),
2099         (gst_message_parse_state_changed),
2100         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2101         (gst_message_parse_new_clock), (gst_message_parse_error),
2102         (gst_message_parse_warning), (gst_message_parse_info),
2103         (gst_message_parse_segment_start),
2104         (gst_message_parse_segment_done), (gst_message_parse_duration),
2105         (gst_message_parse_async_start):
2106         Use GstQuark for messages.
2107
2108 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2109
2110         * gst/gstquark.c: (_priv_gst_quarks_initialize):
2111         * gst/gstquark.h:
2112         Add some more quarks needed for messages and queries.
2113
2114 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2115
2116         * docs/design/part-buffering.txt:
2117         Remove the "none" buffering mode, STREAM is a good default.
2118         Move estimated-time to the avail query, that's when it will be needed.
2119         Other small typo fixes and updates.
2120
2121 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
2122
2123         * gst/gstindex.c: (gst_index_resolver_get_type):
2124           Don't put descriptions into the nick field of a GEnumValue: it's not
2125           meant for that and some language bindings rely on the nick field to
2126           construct constants and the like. Fixes #526705.
2127
2128 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
2129
2130         * NEWS:
2131         * RELEASE:
2132         * gstreamer.doap:
2133           Merge other changes from 0.10.19 release branch.
2134
2135 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
2136
2137         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2138
2139         * configure.ac:
2140         Actually build dlls when cross-compiling with mingw32.
2141         Fixes bug #526247.
2142
2143 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
2144
2145         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2146
2147         * gst/gstpoll.c:
2148         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
2149
2150 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2151
2152         * docs/design/draft-latency.txt:
2153         Fix typo.
2154
2155         * docs/design/part-buffering.txt:
2156         Update design docs with more buffering ideas.
2157
2158 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
2159
2160         * configure.ac:
2161           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2162
2163 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2164
2165         * configure.ac:
2166           Revert part that belongs to the preset patch.
2167
2168 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2169
2170         * configure.ac:
2171           Add qoutes to the define. Fixes # 525961.
2172
2173 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
2174
2175         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2176         (gst_file_index_load), (gst_file_index_add_id),
2177         (gst_file_index_get_assoc_entry):
2178         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2179         (gst_mem_index_free_id), (gst_mem_index_add_id),
2180         (gst_mem_index_index_format):
2181         Use GSlice when possible.
2182
2183 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
2184
2185         * libs/gst/controller/gstinterpolationcontrolsource.c:
2186         (gst_control_point_free),
2187         (gst_interpolation_control_source_set_internal):
2188         Use GSlice for allocating the control points.
2189
2190 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
2191
2192         * plugins/elements/gsttypefindelement.c:
2193         (gst_type_find_element_class_init),
2194         (gst_type_find_element_set_property),
2195         (gst_type_find_element_get_property),
2196         (gst_type_find_element_activate):
2197         * plugins/elements/gsttypefindelement.h:
2198         Cleanup properties.
2199         Fix pad leak when peer query fails.
2200         We can still typefind when the peer returns -1.
2201         Add property to force caps and bypass typefinding. This will be used in
2202         uridecodebin.
2203         API::force-caps
2204
2205 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2206
2207         * configure.ac:
2208         Require GLib 2.12.
2209
2210         * gst/glib-compat-private.h:
2211         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2212         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2213         Unconditionally use GSlice for allocation.
2214
2215         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2216         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2217         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2218         (gst_structure_free):
2219         Use GSlice for allocation.
2220
2221 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2222
2223         * gst/parse/Makefile.am:
2224         * gst/parse/grammar.tab.pre.c:
2225         * gst/parse/grammar.tab.pre.h:
2226         * gst/parse/lex._gst_parse_yy.pre.c:
2227         Require a new enough flex and bison and remove the parser hacks to use
2228         a pre-regenerated version.
2229
2230 2008-04-01  Julien Moutte  <julien@fluendo.com>
2231
2232         patch by: Jason Zhao <E3423C@motorola.com>
2233
2234         * configure.ac: Add a configure switch to disable option parsing
2235         in gst_init.
2236         Fixes #522882.
2237
2238 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2239
2240         * configure.ac:
2241         * gst/gstregistry.c:
2242           MacOS has plugins under .so or under .dylib. Add detection for MacOS
2243           and handle this case.
2244
2245         * gst/gst.c:
2246           Add a comment here describing, why we stat each plugin and not try to
2247           be smart.
2248
2249 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
2250
2251         * libs/gst/base/gstbasetransform.c:
2252         (gst_base_transform_prepare_output_buffer):
2253         Also unset the GAP flag on buffers if we're working inplace but
2254         the element is not GAP-aware.
2255
2256         Mark a comment as FIXME 0.11.
2257
2258 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2259
2260         * gst/gst.c:
2261           Fix type in log message and add one to ease seeing how long registry
2262           cache verification takes.
2263
2264         * gst/gstregistry.c:
2265           Only test plugin filenames against G_MODULE_SUFFIX.
2266
2267 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2268
2269         * gst/gstdebugutils.c:
2270           Improve handling ghost/proxy pads.
2271
2272 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
2273
2274         * docs/gst/gstreamer-sections.txt:
2275         * gst/gstpad.c:
2276         * gst/gstpad.h:
2277           Expose macro to docs and fix link to it.
2278
2279 2008-03-27  Michael Smith <msmith@fluendo.com>
2280
2281         * libs/gst/dataprotocol/dataprotocol.c:
2282         (gst_dp_packet_from_event_1_0):
2283           When calculating GDP body CRC, use the correct pointer. 
2284           Fixes part of #522401.
2285
2286 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2287
2288         Patch by: Mark Nauwelaerts <manauw at skynet be>
2289
2290         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2291         (gst_identity_init), (gst_identity_prepare_output_buffer):
2292         Identity is not always a passthrough element, it can modify the buffer
2293         timestamps when it has a datarate and operates in single-segment mode.
2294         We therefore make it an in_place filter with a custom buffer prepare
2295         function that conditionally makes the input buffer metadata writable
2296         when needed.  Fixes #523985.
2297
2298 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2299
2300         Patch by: Mark Nauwelaerts <manauw at skynet be>
2301
2302         * gst/gstclock.h:
2303         * libs/gst/base/gstbasesrc.h:
2304         * libs/gst/base/gstbasetransform.c:
2305         * libs/gst/check/gstcheck.c:
2306         Small documentation fixes. Fixes #523978.
2307
2308 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2309
2310         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2311         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2312         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2313
2314 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2315
2316         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2317         (single_queue_underrun_cb):
2318         When trying to make room in the queue, bump the max allowed buffers
2319         bigger than the current amount of buffers in the queue. this fixes some
2320         nasty deadlocks in multiqueue when dynamically changing the limits of
2321         the queue.
2322
2323 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2324
2325         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
2326
2327         * gst/gstcaps.c: (gst_caps_set_simple),
2328         (gst_caps_set_simple_valist), (gst_caps_intersect):
2329         * gst/gstcaps.h:
2330         Constify the field gchar * params in set_simple and friends.
2331         Fixes #522326.
2332
2333 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2334
2335         * gst/gstvalue.c: (gst_value_transform_object_string):
2336         Transform a GstObject to a more meaningfull string that includes the
2337         object type in addition to its name.
2338
2339 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
2340
2341         * ChangeLog:
2342           ChangeLog surgery to add bugnumber to commit.
2343
2344 2008-03-23  Rene Stadler  <mail@renestadler.de>
2345
2346         * libs/gst/base/gstbasetransform.c:
2347         (gst_base_transform_set_gap_aware): Fix confusing documentation.
2348
2349 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2350
2351         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2352         Rename constant everywhere and don't forget one occurence.
2353
2354 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2355
2356         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2357         Align memory to the pointer size even if the architecture allows
2358         unaligned memory access. Unaligned memory access usually comes with
2359         performance penality.
2360
2361 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2362
2363         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2364         (gst_registry_binary_check_magic),
2365         (gst_registry_binary_load_pad_template),
2366         (gst_registry_binary_load_feature),
2367         (gst_registry_binary_load_plugin):
2368         Align memory to the pointer size instead of always 32 bit. Fixes
2369         unaligned memory accesses on ia64 and friends.
2370
2371         * gst/gstregistrybinary.h:
2372         Bump binary registry format version for this as it changes the
2373         format on those architectures that don't have unaligned access
2374         and 64 bit pointers.
2375
2376 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2377
2378         * docs/pwg/advanced-dparams.xml:
2379         * docs/pwg/building-props.xml:
2380         * docs/pwg/other-source.xml:
2381         * gst/glib-compat.h:
2382         * gst/gstbin.c: (gst_bin_class_init):
2383         * gst/gstclock.c: (gst_clock_class_init):
2384         * gst/gstindex.c: (gst_index_class_init):
2385         * gst/gstobject.c: (gst_object_class_init):
2386         * gst/gstpad.c: (gst_pad_class_init):
2387         * gst/gstpipeline.c: (gst_pipeline_class_init):
2388         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2389         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2390         * libs/gst/base/gstbasetransform.c:
2391         (gst_base_transform_class_init):
2392         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2393         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2394         (_gst_check_fault_handler_sighandler),
2395         (_gst_check_fault_handler_setup), (gst_check_init):
2396         * libs/gst/controller/gstcontroller.c:
2397         (_gst_controller_class_init):
2398         * libs/gst/controller/gstlfocontrolsource.c:
2399         (gst_lfo_control_source_class_init):
2400         * libs/gst/net/gstnetclientclock.c:
2401         (gst_net_client_clock_class_init):
2402         * libs/gst/net/gstnettimeprovider.c:
2403         (gst_net_time_provider_class_init):
2404         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2405         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2406         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2407         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2408         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2409         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2410         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2411         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2412         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2413         * plugins/elements/gstqueue.c: (gst_queue_class_init):
2414         * plugins/elements/gsttee.c: (gst_tee_class_init):
2415         * plugins/elements/gsttypefindelement.c:
2416         (gst_type_find_element_class_init):
2417         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2418         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2419         use it everywhere for GParamSpecs that use static strings (i.e. all).
2420         This gives us less memory usage, fewer allocations and thus less
2421         memory defragmentation. Fixes bug #523806.
2422
2423 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2424
2425         * gst/gstminiobject.c: (gst_value_dup_mini_object),
2426         (gst_param_spec_mini_object):
2427         * gst/gstminiobject.h:
2428         * win32/common/libgstreamer.def:
2429         * docs/gst/gstreamer-sections.txt:
2430         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2431         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2432         GstParamSpecMiniObject into a public header for this.
2433
2434         This make GstMiniObject a bit more consistent with GObject and makes
2435         it possible to extend the param specs.
2436
2437         gst_value_dup_mini_object is mainly useful for set_property methods.
2438
2439         Fixes bug #523798.
2440
2441         * tools/gst-inspect.c: (print_element_properties_info):
2442         Print something useful for GstMiniObject properties and not just
2443         "unknown type".
2444
2445 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2446
2447         * docs/gst/gstreamer-sections.txt:
2448         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2449         (gst_registry_binary_check_magic):
2450         * gst/gstregistrybinary.h:
2451         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2452         and add it to the (private part) of the docs to fix the build.
2453
2454 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2455
2456         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2457         (gst_registry_binary_check_magic),
2458         (gst_registry_binary_read_cache):
2459         * gst/gstregistrybinary.h:
2460         Don't use GST_MAJORMINOR for the binary registry version. Instead
2461         hardcode a value that must be changed whenever the format changes
2462         in an incompatible way.
2463         Also don't GST_ERROR when there is a version mismatch, just
2464         regenerate the registry silently.
2465
2466 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2467
2468         * configure.ac:
2469         Back to development - 0.10.18.1
2470
2471 === release 0.10.18 ===
2472
2473 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2474
2475         * configure.ac:
2476           releasing 0.10.18, "So far away"
2477
2478 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2479
2480         * configure.ac:
2481         * win32/common/config.h:
2482         0.10.17.4 pre-release
2483
2484 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2485
2486         Patch by: Ole André Vadla Ravnås
2487             <ole dot andre dot ravnas at tandberg dot com>
2488
2489         * docs/gst/gstreamer-sections.txt:
2490         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2491         (gst_poll_update_winsock_event_mask),
2492         (gst_poll_prepare_winsock_active_sets),
2493         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2494         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2495         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2496         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2497         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2498         * gst/gstpoll.h:
2499         * win32/common/libgstreamer.def:
2500         Add new function gst_poll_fd_ignored() for improved Windows
2501         compatibility.
2502         Various minor fixes and cleanups. See #520808.
2503
2504 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2505
2506         * gst/gstindex.c: (gst_index_entry_free):
2507         * gst/gstindex.h:
2508           Don't free key strings which we don't own. Fixes crash in
2509           gst_index_entry_free() (#522741).
2510
2511         * tests/check/Makefile.am:
2512         * tests/check/gst/.cvsignore:
2513         * tests/check/gst/gstindex.c: (test_index_entries),
2514           (gst_index_suite), (gst_index):
2515           Add unit test for the above.
2516
2517 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2518
2519         * win32/common/libgstreamer.def:
2520         Remove symbols that were removed recently. Fixes bug #521740.
2521
2522 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2523
2524         * configure.ac:
2525         * win32/common/config.h:
2526         0.10.17.3 pre-release
2527
2528 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2529
2530         Patch by: Ole André Vadla Ravnås
2531             <ole dot andre dot ravnas at tandberg dot com>
2532
2533         * docs/gst/gstreamer-sections.txt:
2534         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2535         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2536         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2537         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2538         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2539         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2540         (gst_poll_fd_can_write), (gst_poll_wait),
2541         (gst_poll_set_controllable), (gst_poll_restart),
2542         (gst_poll_set_flushing):
2543         * gst/gstpoll.h:
2544         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2545         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2546         (gst_net_time_provider_new):
2547         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2548         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2549         * tests/benchmarks/gstpollstress.c: (main):
2550         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2551         Remove GstPollMode from the API, it does not make sense to let the
2552         application control this.
2553         Add support for Win32.
2554         Fix the testsuite. Fixes #520671.
2555
2556 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2557
2558         Patch by: Ole André Vadla Ravnås
2559             <ole dot andre dot ravnas at tandberg dot com>
2560
2561         * gst/gstregistrybinary.c:
2562         Include io.h for write() and close() when building with MSVC. Fixes
2563         bug #520877.
2564
2565 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2566
2567         * configure.ac:
2568         * gst/gst_private.h:
2569         * gst/gstconfig.h.in:
2570         * gst/gstregistry.h:
2571         * gst/gstregistrybinary.c:
2572         * win32/common/gstconfig.h:
2573           Move registry backend API to private headers where we can. Add
2574           fixme-0.11 comments for the others. Add stubs for the xml backend when
2575           using the binary to ensure they functions exists (they should not be
2576           used though). Fixes #520756.
2577
2578 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2579
2580         * configure.ac:
2581         * win32/common/config.h:
2582         0.10.17.2 prelease
2583
2584 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2585
2586         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2587         (gst_registry_binary_read_cache):
2588         * gst/gstregistryxml.c: (gst_registry_save):
2589         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2590         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2591         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2592         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2593         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2594         Fixes #520152
2595
2596 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2597
2598         * gst/gstminiobject.c:
2599         Import gst_private.h before any other header that might include other
2600         glib headers. This fixes the build on windows using native compilers.
2601
2602 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2603
2604         * win32/common/gstconfig.h:
2605           Add here too, just for completeness.
2606
2607 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2608
2609         * configure.ac:
2610         * gst/gstconfig.h.in:
2611         * gst/gstregistry.h:
2612           Fix broken use of config.h-defined preprocessor directive in a public
2613           header file. Add a corresponding define to gstconfig.h, since we can't
2614           really remove those function declarations from the header file now
2615           (or can we? and why are they there in the first place?).
2616
2617 2008-03-03  Andy Wingo  <wingo@pobox.com>
2618
2619         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2620         the new warning.
2621
2622         * gst/gststructure.c (gst_structure_from_string): Warn if
2623         structure_from_string didn't consume the whole string, but the
2624         caller did not provide an end pointer.
2625
2626 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2627
2628         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2629
2630         * gst/gstregistryxml.c: (read_string), (load_feature):
2631           Strings allocated by libxml2 should be freed with xmlFree(), not
2632           with g_free(). Fixes issues on windows in certain contexts (#519698).
2633
2634 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2635
2636         * gst/gstinterface.c: (gst_element_implements_interface):
2637           Don't crash if the element supports the interface queried, but does
2638           not implement GstImplementsInterface. Fixes #519584.
2639
2640         * tests/check/Makefile.am:
2641         * tests/check/gst/.cvsignore:
2642         * tests/check/gst/gstinterface.c:
2643           Add unit test for the above.
2644
2645 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2646
2647         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2648         Small doc update.
2649
2650 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2651
2652         * gst/gstsegment.c: (gst_segment_set_seek),
2653         (gst_segment_to_stream_time):
2654         Improve some comment.
2655         Update variables where it makes more sense.
2656
2657 2008-02-29  Rene Stadler  <mail@renestadler.de>
2658
2659         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2660         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2661         URIHandlers implemented using language bindings.
2662
2663 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2664
2665         * gst/gstelementfactory.h:
2666         * tests/check/elements/fakesink.c:
2667         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2668         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2669         * tests/check/elements/filesink.c: (setup_filesink):
2670         * tests/check/elements/filesrc.c: (setup_filesrc):
2671         * tests/check/elements/identity.c: (setup_identity):
2672         * tests/check/elements/tee.c:
2673         * tests/check/generic/sinks.c:
2674         * tests/check/generic/states.c: (setup), (teardown):
2675         * tests/check/gst/gst.c:
2676         * tests/check/gst/gstabi.c:
2677         * tests/check/gst/gstbin.c:
2678         * tests/check/gst/gstbus.c: (pull_messages):
2679         * tests/check/gst/gstcaps.c:
2680         * tests/check/gst/gstelement.c:
2681         * tests/check/gst/gstevent.c:
2682         * tests/check/gst/gstghostpad.c:
2683         * tests/check/gst/gstiterator.c:
2684         * tests/check/gst/gstmessage.c:
2685         * tests/check/gst/gstminiobject.c: (my_foo_init):
2686         * tests/check/gst/gstobject.c: (thread_name_object),
2687         (gst_object_suite):
2688         * tests/check/gst/gstpad.c:
2689         * tests/check/gst/gstplugin.c:
2690         * tests/check/gst/gstpoll.c:
2691         * tests/check/gst/gstquery.c:
2692         * tests/check/gst/gstsegment.c:
2693         * tests/check/gst/gststructure.c:
2694         * tests/check/gst/gstsystemclock.c:
2695         * tests/check/gst/gsttask.c:
2696         * tests/check/gst/gstutils.c:
2697         * tests/check/gst/gstvalue.c:
2698         * tests/check/gst/struct_hppa.h:
2699         * tests/check/gst/struct_i386.h:
2700         * tests/check/gst/struct_ppc32.h:
2701         * tests/check/gst/struct_ppc64.h:
2702         * tests/check/gst/struct_x86_64.h:
2703         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2704         * tests/check/libs/basesrc.c:
2705         * tests/check/libs/controller.c: (GST_START_TEST):
2706         * tests/check/libs/gdp.c:
2707         * tests/check/libs/gstnetclientclock.c:
2708         * tests/check/libs/gstnettimeprovider.c:
2709         * tests/check/libs/libsabi.c:
2710         * tests/check/libs/struct_hppa.h:
2711         * tests/check/libs/struct_i386.h:
2712         * tests/check/libs/struct_ppc32.h:
2713         * tests/check/libs/struct_ppc64.h:
2714         * tests/check/libs/struct_x86_64.h:
2715         * tests/check/pipelines/cleanup.c:
2716         * tests/check/pipelines/simple-launch-lines.c:
2717         * tests/check/pipelines/stress.c:
2718         And correct even more valid sparse warnings.
2719
2720         * win32/common/libgstreamer.def:
2721         Add gst_poll_fd_init to the list of symbols.
2722
2723 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2724
2725         * gst/gstconfig.h.in:
2726         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2727         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2728         (gst_check_log_critical_func), (gst_check_drop_buffers),
2729         (gst_check_element_push_buffer_list):
2730         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2731         (gst_controller_get_type):
2732         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2733         (gst_object_get_controller), (gst_object_get_control_source):
2734         * libs/gst/controller/gstinterpolationcontrolsource.c:
2735         (gst_interpolation_control_source_new):
2736         * libs/gst/controller/gstlfocontrolsource.c:
2737         (gst_lfo_control_source_new):
2738         * libs/gst/dataprotocol/dataprotocol.c:
2739         (gst_dp_event_from_packet_0_2):
2740         * plugins/elements/gstfdsrc.c:
2741         * plugins/elements/gstmultiqueue.c:
2742         * plugins/elements/gsttee.c:
2743         * plugins/elements/gsttypefindelement.c:
2744         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2745         (gst_file_index_add_association):
2746         * plugins/indexers/gstmemindex.c:
2747         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2748         * tests/check/elements/queue.c: (setup_queue):
2749         * tests/check/gst/gstpipeline.c:
2750         * tests/check/libs/collectpads.c: (setup), (teardown),
2751         (gst_collect_pads_suite):
2752         * tests/examples/adapter/adapter_test.c:
2753         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2754         * tests/examples/xml/createxml.c:
2755         * tests/examples/xml/runxml.c:
2756         * tools/gst-inspect.c:
2757         * tools/gst-run.c:
2758         Correct all relevant warnings found by the sparse semantic code
2759         analyzer. This include marking several symbols static, using
2760         NULL instead of 0 for pointers, not using variable sized arrays
2761         on the stack, moving variable declarations to the beginning of
2762         a block and using "foo (void)" instead of "foo ()" for declarations.
2763
2764 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2765
2766         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2767         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2768         Don't reset GstPollFDs, this is not necessary at all.
2769
2770         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2771         (delayed_restart), (delayed_control):
2772         Use GST_POLL_FD_INIT.
2773
2774 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2775
2776         * gst/gstpoll.c: (gst_poll_fd_init):
2777         * gst/gstpoll.h:
2778         Added Since tags.
2779
2780         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2781         Use some more init macros.
2782
2783 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2784
2785         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2786         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2787         Use init macros and functions.
2788
2789 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2790
2791         * docs/gst/gstreamer-sections.txt:
2792         * gst/gstpoll.c: (gst_poll_fd_init):
2793         * gst/gstpoll.h:
2794         Add INIT macro and _init method for initializing the GstPollFD.
2795
2796 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2797
2798         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2799         (gst_fd_sink_update_fd):
2800         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2801         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2802         (delayed_restart), (delayed_control):
2803         Initialize some uninitialized variables as spotted by valgrind.
2804
2805 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2806
2807         * tests/benchmarks/Makefile.am:
2808         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2809         (main):
2810         Add poll stress test.
2811
2812 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2813
2814         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2815
2816         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2817         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2818         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2819         * plugins/elements/gstfdsink.h:
2820         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2821         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2822         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2823         (gst_fd_src_uri_set_uri):
2824         * plugins/elements/gstfdsrc.h:
2825         Port to GstPoll. See #505417.
2826
2827 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2828
2829         * win32/common/libgstreamer.def:
2830         Add new gst_poll_ symbols to win32 defs.
2831
2832 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2833
2834         * docs/libs/gstreamer-libs-sections.txt:
2835         * libs/gst/net/gstnetclientclock.c:
2836         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2837         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2838         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2839         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2840         * libs/gst/net/gstnetclientclock.h:
2841         * libs/gst/net/gstnettimeprovider.c:
2842         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2843         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2844         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2845         (gst_net_time_provider_new):
2846         * libs/gst/net/gstnettimeprovider.h:
2847         Use a private stuct to not break ABI.
2848
2849 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2850
2851         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2852
2853         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2854         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2855         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2856         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2857         * libs/gst/net/gstnetclientclock.h:
2858         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2859         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2860         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2861         (gst_net_time_provider_new):
2862         * libs/gst/net/gstnettimeprovider.h:
2863         Massive code removal and cleanups because of GstPoll.
2864         Fixes #505417.
2865
2866 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2867
2868         * configure.ac:
2869         Add checks for poll, ppoll and pselect.
2870
2871         * docs/gst/gstreamer-docs.sgml:
2872         * docs/gst/gstreamer-sections.txt:
2873         Add docs for GstPoll.
2874
2875         * gst/Makefile.am:
2876         * gst/gst.h:
2877         * gst/gstpoll.c: (find_index), (selectable_fds),
2878         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2879         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2880         (gst_poll_set_mode), (gst_poll_get_mode),
2881         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2882         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2883         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2884         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2885         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2886         (gst_poll_fd_can_write), (gst_poll_wait),
2887         (gst_poll_set_controllable), (gst_poll_restart),
2888         (gst_poll_set_flushing):
2889         * gst/gstpoll.h:
2890         Add generic poll abstraction. We ideally don't want to have this in core
2891         here but in glib intead...
2892         This code will be used in various network elements and ultimately for
2893         the nanosecond precision monotonic clock (that's why it's here in core).
2894         It'll allow us to implement cancelable socket operations for windows too.
2895
2896         * tests/check/Makefile.am:
2897         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2898         (delayed_stop), (delayed_restart), (delayed_flush),
2899         (delayed_control), (gst_poll_suite):
2900         Add GstPoll unit test.
2901
2902 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2903
2904         * gst/gstfilter.c:
2905           Improve documentation of gst_filter_run(). Fixes #518627.
2906
2907 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2908
2909         * docs/README:
2910           Add a few lines about the new 'check-inspected-versions' target.
2911
2912 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2913
2914         * tests/check/gst/gstevent.c:
2915           Add qos to the event test. Rename tcase/tsuite; is not only about
2916           custom events.
2917
2918 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2919
2920         * plugins/elements/gstqueue.c:
2921           Ensure that buffer metadata is writeable, before modifying. Spotted by
2922           Mike.
2923
2924 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2925
2926         * plugins/elements/gstqueue.c:
2927         * plugins/elements/gstqueue.h:
2928           When dropping buffers in leaky modes, mark next buffers we sent as
2929           DISCONT.
2930
2931 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2932
2933         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2934           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2935
2936 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2937
2938         * plugins/elements/Makefile.am:
2939         * plugins/elements/gstbufferstore.c:
2940         * plugins/elements/gstbufferstore.h:
2941         * plugins/elements/gsttypefindelement.h:
2942           Remove GstBufferStore, no idea why we were still building it.
2943           It's not used anywhere and superseded by GstAdapter.
2944
2945         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2946           (gst_file_src_create_mmap):
2947         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2948           Printf format fixes for 64-bit integers.
2949
2950 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2951
2952         * configure.ac:
2953         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2954         We're not in 0.8 times anymore.
2955
2956 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2957
2958         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2959         (gst_check_element_push_buffer_list):
2960         * libs/gst/check/gstcheck.h:
2961         Make the declaration in the header for
2962         gst_check_element_push_buffer_list match the implementation.
2963
2964         Fix up spelling, grammar and wording of the documentation in a few
2965         places, and add the Since keyword to new API functions.
2966         Use g_list_delete_link instead of g_list_remove in
2967         gst_check_drop_buffers, since it's immeasurably more efficient.
2968
2969         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2970         Use new gst_check_drop_buffers function where appropriate.
2971
2972         * win32/common/libgstbase.def:
2973         * win32/common/libgstreamer.def:
2974         Add new symbols gst_collect_pads_take_buffer, 
2975         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2976         exports
2977
2978         Changelog surgery to add API keyword to new gst_check API.
2979
2980 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2981
2982         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2983         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2984         Update pre-generated flex files with flex 2.3.34.
2985
2986 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2987
2988         * gst/gstminiobject.c:
2989           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2990           friendly to subclasses and not require them to know all internals
2991           of their parent class.
2992
2993 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2994
2995         * docs/libs/gstreamer-libs-sections.txt:
2996         * libs/gst/base/gstcollectpads.c:
2997         * libs/gst/base/gstcollectpads.h:
2998           Add sub-buffer functions to collectpads. Fixes #516187.
2999           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
3000
3001 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
3002
3003         * gst/gstbuffer.c:
3004           Copy selected buffer-flags when creating subbuffers.
3005           Fixes #516395.
3006
3007 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
3008
3009         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
3010         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
3011         * gst/gstmessage.c: (gst_message_class_init),
3012         (gst_message_finalize):
3013         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
3014         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
3015         (gst_mmap_buffer_finalize):
3016         Properly chain up finalize functions to the parent class.
3017
3018 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
3019
3020         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
3021
3022         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
3023         (gst_index_set_resolver_full):
3024         * gst/gstindex.h:
3025         Add new function with option to dispose of user_data in resolver.
3026         Actually call the dispose function when finalizing the object and not
3027         just when changing the resolver/filter.
3028         API: GstIndex::gst_index_set_resolver_full()
3029
3030         * docs/gst/gstreamer-sections.txt:
3031         Add new function to docs. Fixes #515469.
3032
3033 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
3034
3035         * gst/gstindex.c: (gst_index_finalize):
3036         Chain up finalize to the parent class. Fixes leaking the GstObject
3037         name and other things.
3038
3039 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
3040
3041         * configure.ac:
3042         Make DISABLE_DEPRECATED defined *only* during CVS, not during
3043         pre-releases or releases.
3044
3045         * docs/faq/gst-uninstalled:
3046         Add gst-plugins-gl
3047
3048         * docs/random/release:
3049         Change one of the steps - we only upload core & base to Gnome FTP
3050
3051 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
3052
3053         * gst/gstconfig.h.in:
3054           Add 'id' for example.
3055
3056         * gst/gstpad.c:
3057         * gst/gstutils.c:
3058         * plugins/elements/gstfdsink.c:
3059           Link to signals. Doc and comment fixes.
3060
3061 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
3062
3063         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
3064         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
3065           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
3066           unused and unimplemented; finally, it is plugin features, not
3067           plugins, that have ranks.
3068           
3069 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
3070
3071         * gst/gstpluginfeature.h:
3072           Clarify GstRank range docs.
3073
3074 2008-02-05  David Schleef  <ds@schleef.org>
3075
3076         * gst/gst.c: Add a separate gst_deinitialized that prevents
3077           gst_init() from being called after gst_deinit().  Fixes #509559
3078
3079 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3080
3081         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
3082         (gst_bin_class_init):
3083         * gst/gstelement.c: (gst_element_base_class_init),
3084         (gst_element_class_add_pad_template):
3085         * gst/gstpadtemplate.c: (gst_pad_template_init):
3086         * gst/gstpipeline.c: (gst_pipeline_get_type),
3087         (gst_pipeline_base_init), (gst_pipeline_class_init):
3088         * libs/gst/base/gstbasesink.c:
3089         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3090         (gst_base_src_base_init), (gst_base_src_class_init):
3091         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3092         (gst_capsfilter_class_init):
3093         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3094         (gst_fake_sink_class_init):
3095         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3096         (gst_fake_src_class_init):
3097         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3098         (gst_fd_sink_class_init):
3099         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3100         (gst_fd_src_class_init):
3101         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3102         (gst_file_sink_class_init):
3103         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3104         (gst_file_src_class_init):
3105         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3106         (gst_identity_class_init):
3107         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3108         (gst_multi_queue_class_init):
3109         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3110         (gst_queue_class_init):
3111         * plugins/elements/gsttee.c: (gst_tee_base_init),
3112         (gst_tee_class_init):
3113         * plugins/elements/gsttypefindelement.c:
3114         (gst_type_find_element_base_init),
3115         (gst_type_find_element_class_init):
3116         * tests/check/gst/gstelement.c: (gst_element_suite):
3117         Revert previous changes to the behaviour of GstPadTemplates, etc
3118         and the possiblity to call them in class_init as it breaks too
3119         many elements. Reopens bug #491501.
3120
3121         Should be applied again for 0.11, thus added a few FIXME 0.11 at
3122         several places.
3123
3124 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
3125
3126         * tools/gst-launch.c:
3127         Dump one graph per pipeline state-change and state change name
3128         (if GST_DEBUG_DUMP_DOT_DIR is set).
3129
3130 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
3131
3132         * gst/gstpad.c:
3133         * tests/check/gst/gstpad.c:
3134         Be sure that we have a new copy of the caps and not
3135         reffed caps from a template
3136
3137 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3138
3139         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3140         * gst/gstpipeline.c: (gst_pipeline_get_type),
3141         (gst_pipeline_class_init):
3142         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3143         (gst_base_sink_class_init):
3144         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3145         (gst_base_src_class_init):
3146         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3147         (gst_base_transform_class_init):
3148         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3149         (gst_collect_pads_class_init):
3150         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
3151         * libs/gst/net/gstnettimeprovider.c:
3152         (gst_net_time_provider_base_init),
3153         (gst_net_time_provider_class_init):
3154         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3155         (gst_capsfilter_class_init):
3156         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3157         (gst_fake_sink_class_init):
3158         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3159         (gst_fake_src_class_init):
3160         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3161         (gst_fd_sink_class_init):
3162         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3163         (gst_fd_src_class_init):
3164         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3165         (gst_file_sink_class_init):
3166         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3167         (gst_file_src_class_init):
3168         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3169         (gst_identity_class_init):
3170         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3171         (gst_multi_queue_class_init):
3172         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3173         (gst_queue_class_init):
3174         * plugins/elements/gsttee.c: (gst_tee_base_init),
3175         (gst_tee_class_init):
3176         * plugins/elements/gsttypefindelement.c:
3177         (gst_type_find_element_base_init),
3178         (gst_type_find_element_class_init):
3179         Don't use base_init where not absolutely necessary. For example it's
3180         not necessary anymore for adding pad templates or setting element
3181         details.
3182
3183         Leave empty base_init functions in several places as GST_BOILERPLATE
3184         still defines and uses them.
3185
3186 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3187
3188         * gst/gstelement.c: (gst_element_base_class_init),
3189         (gst_element_class_add_pad_template):
3190         * gst/gstpadtemplate.c:
3191         Make it possible (and recommended) to set element details and add
3192         pad templates in the class_init functions by copying the details/pad
3193         templates in GstElement's base_init.
3194
3195         Also make it possible to replace existing pad templates by adding
3196         a new one with the same name. This was done in a hackish fashion
3197         in same elements before already.
3198
3199         Don't reference pad templates that are added a second time. A
3200         new pad template has a refcount of one and is not floating anymore
3201         and to be owned by the element's class. Make this more explicit by
3202         mentioning it in the docs of gst_element_class_add_pad_template().
3203
3204         These changes are backwards compatible. Fixes bug #491501.
3205
3206         * tests/check/gst/gstelement.c:
3207         Add unit test for setting element details, adding pad templates and
3208         replacing them in a subclass.
3209
3210 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
3211
3212         * tools/gst-inspect.c: (print_interfaces),
3213         (print_element_properties_info), (print_pad_info),
3214         (print_signal_info), (print_element_info):
3215         Fix a few memory leaks.
3216
3217 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3218
3219         * docs/libs/gstreamer-libs-sections.txt:
3220         * libs/gst/check/gstcheck.c:
3221         * libs/gst/check/gstcheck.h:
3222         Add more functions for unit testing: gst_check_drop_buffers,
3223         gst_check_caps_equal, gst_check_element_push_buffer_list,
3224         gst_check_element_push_buffer
3225         API: gst_check_drop_buffers
3226         API: gst_check_caps_equal
3227         API: gst_check_element_push_buffer_list
3228         API: gst_check_element_push_buffer
3229
3230 2008-02-01  Julien Moutte  <julien@fluendo.com>
3231
3232         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3233         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3234         (gst_index_finalize), (gst_index_entry_free),
3235         (gst_index_add_association): Fix memory leaks.
3236         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3237         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3238         (gst_mem_index_free_format), (gst_mem_index_free_id),
3239         (gst_mem_index_finalize): Fix memory leaks.
3240         * win32/common/config.h: Updated to CVS HEAD.
3241
3242 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3243
3244         * docs/README:
3245           Some more details about how the plugin docs works.
3246
3247         * docs/plugins/gstreamer-plugins-sections.txt:
3248           Whitespace cleanup.
3249
3250 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3251
3252         * gst/parse/grammar.tab.pre.c:
3253         * gst/parse/grammar.tab.pre.h:
3254         * gst/parse/grammar.y:
3255         * gst/parse/lex._gst_parse_yy.pre.c:
3256           Add delayed set-property. This allows to set properties on dynamicaly
3257           created objects (pads in videomxer). Fixes #509391.
3258
3259 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3260
3261         * gst/gstutils.c:
3262         Check if caps are not NULL (fix bug #510194)
3263
3264 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3265
3266         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3267         (gst_base_sink_get_position_paused):
3268         Add fixme regarding EOS in pull mode.
3269         Fix position reporting in PAUSED for negative rates.
3270
3271 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3272
3273         * gst/gstminiobject.c: (gst_mini_object_replace):
3274         When replacing a miniobject, do a quick equality check first so that we
3275         can avoid a ref/unref pair.
3276
3277 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3278
3279         * docs/design/part-synchronisation.txt:
3280         Update some docs.
3281
3282         * docs/plugins/Makefile.am:
3283         * docs/plugins/gstreamer-plugins-docs.sgml:
3284         * docs/plugins/gstreamer-plugins-sections.txt:
3285         * plugins/elements/gstmultiqueue.c:
3286         Add multiqueue to the docs.
3287
3288 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3289
3290         * configure.ac:
3291           Back to CVS
3292
3293 === release 0.10.17 ===
3294
3295 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
3296
3297         * configure.ac:
3298           releasing 0.10.17, "Due Negligence"
3299
3300 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3301
3302         * gst/gstutils.c:
3303         Revert caps != NULL check temporarily for 0.10.17 release.
3304
3305 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3306
3307         * gst/gstutils.c:
3308         Check if caps are not NULL (fix bug #510194)
3309
3310 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3311
3312         * gst/gstutils.c:
3313         Fix compilation on systems that have posix timers but no
3314         monotonic clock.
3315         Fixes: #512715
3316         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3317         dot net>
3318
3319 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3320
3321         * tools/gst-inspect.c:
3322         Revert previous commit in preparation for an impromptu 0.10.17 release
3323
3324 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
3325
3326         * tools/gst-inspect.c: (print_interfaces),
3327         (print_element_properties_info), (print_pad_info),
3328         (print_signal_info), (print_element_info):
3329         Fix a few memory leaks.
3330
3331 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
3332
3333         * configure.ac:
3334         Back to CVS
3335
3336 === release 0.10.16 ===
3337
3338 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
3339
3340         * configure.ac:
3341           releasing 0.10.16, "Special Dispensation"
3342
3343 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
3344
3345         * configure.ac:
3346           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3347           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3348           not fail when trying to crosscompile on OpenEmbedded (#511750).
3349
3350 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
3351
3352         * docs/manuals.mak:
3353         Use $(MAKE) instead of make to fix the build if GNU make is
3354         called different. Fixes bug #510747.
3355
3356 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3357
3358         * gst/gstplugin.c: (_gst_plugin_initialize):
3359           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3360           again, which I broke two commits ago when changing the API
3361           of gst_plugin_register_static(): the g_list_foreach() in
3362           _gst_plugin_register_static still assumed the old function
3363           signature and would therefore fail (re-fixes #510187).
3364
3365         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3366           (_gst_plugin_register_static), (gst_plugin_register_static):
3367           Revert the (technically correct) change to call g_thread_init() from
3368           the pre-main() constructor. This will break programs which call
3369           g_thread_init() without an if (!g_thread_supported()) guard in their
3370           main function. We could just blame it on GLib or the application, but
3371           it's probably best to just avoid this altogether and simply not use
3372           any GLib functions here and use plain old malloc() with a simple
3373           array to store the plugins to register later when gst_init() is
3374           finally called (re-fixes #510187).
3375
3376         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3377           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3378           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3379           (GST_START_TEST), (gst_plugin_suite):
3380           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3381           works.
3382
3383 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3384
3385         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3386           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3387           This makes gtk-doc complain, but results in slightly better
3388           compiler errors. The old _gst_plugin_register_static() is
3389           still guarded, so there'll be a compiler warning about that
3390           instead. Fixes #510187 too.
3391
3392 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3393
3394         * gst/gst.c: (init_post):
3395         * gst/gstplugin.c: (_gst_plugin_register_static),
3396           (gst_plugin_register_static), (_gst_plugin_initialize):
3397         * gst/gstplugin.h: (GstPluginFilter):
3398           Change API of gst_plugin_register_static() to not take
3399           a GstPluginDesc, but rather just take all the arguments
3400           in a GstPluginDesc directly. This is more intuitive and
3401           avoids certain mistakes when porting code from
3402           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3403           Fixes #510187.
3404
3405         * tests/check/gst/gstplugin.c:
3406           Fix up for changed API.
3407
3408 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3409
3410         * docs/faq/legal.xml:
3411           Update FAQ, Totem actually has an exception these days.
3412
3413 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
3414
3415         * win32/common/libgstreamer.def:
3416         Add new API declarations
3417
3418 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3419
3420         * gst/gstminiobject.c:
3421           Spelling fixes for the API docs.
3422
3423 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3424
3425         * libs/gst/base/gstbasetransform.c:
3426           Fix long property description for QoS.
3427
3428 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
3429
3430         * gst/gst.c:
3431         _gst_trace_on is already provided by gsttrace.h, no need to declare
3432         it ourselves.
3433
3434         * docs/libs/gstreamer-libs-sections.txt:
3435         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3436         and remove strange tcase_add_test which is outputting a warning.
3437
3438         * libs/gst/check/gstcheck.c:
3439         * libs/gst/check/gstcheck.h:
3440         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3441         and define them in gstcheck.c instead of having every .c file whcih
3442         includes gstcheck.h be defining its own copy and relying on symbol
3443         interposing to marry them all, which doesn't work on Solaris.
3444
3445         * tests/check/elements/identity.c: (GST_START_TEST):
3446         Don't define 'buffers' locally, it comes from libgstcheck.
3447
3448         * tests/check/generic/sinks.c: (send_buffer):
3449         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3450
3451         * tests/check/gst/gststructure.c: (GST_START_TEST):
3452         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3453         * tests/check/gst/gstutils.c: (GST_START_TEST):
3454         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3455         Add a bunch of casts to make various constants fit the types
3456         they're being assigned to.
3457
3458 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3459
3460         * gst/gstchildproxy.c:
3461           Improve docs and add some ideas for making this more general-purpose.
3462
3463 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3464
3465         * gst/gst_private.h: (GST_CAT_TYPES):
3466           Add GST_CAT_TYPES, for consistency, and so that the other
3467           debug categories don't make fun of it. Spotted by Saur on IRC.
3468
3469 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3470
3471         * gst/parse/Makefile.am:
3472           Move types.h from EXTRA_DIST to noinst_HEADERS.
3473
3474 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3475
3476         * autogen.sh:
3477           Add -Wno-portability to the automake parameters to stop warnings
3478           about GNU make extensions being used. We require GNU make in almost
3479           every Makefile anyway.
3480
3481         * configure.ac:
3482           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3483           at the same time is required for per target flags.
3484
3485 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3486
3487         * gst/gstmacros.h:
3488           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3489           __GNUC__ is defined before using it.
3490
3491 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3492
3493         * docs/gst/gstreamer-sections.txt:
3494         * gst/gst.c: (init_post):
3495         * gst/gstplugin.c: (_gst_plugin_register_static),
3496           (gst_plugin_register_static), (_gst_plugin_initialize),
3497           (gst_plugin_register_func):
3498         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3499           API: add gst_plugin_register_static() and deprecate
3500           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3501           (#498924).
3502           Also, in _gst_plugin_register_static(), make sure to call
3503           g_thread_init() before calling GLib functions such as
3504           g_list_append() if we're not initialised yet, since that
3505           may lead to random crashes with older GSlice/GLib versions.
3506
3507         * tests/check/gst/gstplugin.c:
3508           Adapt unit test to above changes.
3509
3510 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3511
3512         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3513         * gst/gstcaps.c: (gst_caps_to_string):
3514         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3515           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3516           Yet another gratuitous GString micro-optimisation: add a (private)
3517           function that serialises a structure appending to an existing
3518           GString, so that when we serialise caps we don't need to alloc+free
3519           a throwaway GString for each structure (each of which also entailing
3520           multiple reallocs on the way); also use g_string_sized_new() in
3521           various places with an approximate string length to avoid reallocs
3522           within GString. See #500143.
3523
3524 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3525
3526         * gst/gststructure.c: (gst_structure_id_set_value):
3527           Always check UTF-8 conformance of structure strings and not only
3528           if the debugging system is enabled; reasoning: the behaviour of
3529           the actual code shouldn't really change depending on whether the
3530           debugging system is enabled or not (#508291).
3531
3532 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3533
3534         * Makefile.am:
3535           Remove old coverage target in favour of "make lcov".
3536
3537 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3538
3539         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3540         (gst_base_src_loop):
3541         The start segment for reverse playback goes from start to last_stop.
3542
3543 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3544
3545         Patch by: Peter Kjellerstedt <pkj axis com>
3546
3547         * gst/gstclock.h:
3548         Cast the results from the timeval/spec_to_time macros to what the
3549         docs say it casts to, a GstClockTime. fixes #508175.
3550
3551 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3552
3553         * gst/gstbuffer.c:
3554         Update some comments.
3555
3556         * tools/gst-inspect.c: (print_element_properties_info):
3557         Improve printing of flags.
3558
3559 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3560
3561         * libs/gst/base/gstbasetransform.c:
3562           (gst_base_transform_transform_size):
3563           Print element name with g_warning() if there's a problem
3564           with the unit size.
3565
3566 2008-01-07  David Schleef  <ds@schleef.org>
3567
3568         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3569
3570         * libs/gst/controller/gstcontroller.h:
3571         * libs/gst/controller/gstcontrolsource.h:
3572         * libs/gst/controller/gstinterpolationcontrolsource.h:
3573         * libs/gst/controller/gstlfocontrolsource.h:
3574         * libs/gst/dataprotocol/dataprotocol.h:
3575           Fix empty prototypes.  Fixes bug #507957.
3576
3577 2008-01-07  David Schleef  <ds@schleef.org>
3578
3579         * docs/faq/dependencies.xml: Fix typo.
3580
3581 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3582
3583         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3584         (gst_base_src_loop):
3585         Don't update the last_stop position in do_seek, that's the position we
3586         did a seek to.
3587         Read backwards when we have a negative rate.
3588
3589         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3590         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3591         (filesrc_suite):
3592         Add check for reverse reading.
3593
3594 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3595
3596         Patch by: Alexis Ballier <aballier at gentoo org>
3597
3598         * tests/check/gst/gstabi.c:
3599         * tests/check/gst/struct_ppc64.h:
3600         * tests/check/libs/libsabi.c:
3601         * tests/check/libs/struct_ppc64.h:
3602           Decide which header to include based on the userland ABI target
3603           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3604           for 64-bit userland (#503590).  Might need something similar for
3605           x86 too.
3606
3607 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3608
3609         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3610           Log the reason why fopen fails in addition to the fact that it failed.
3611           
3612 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3613
3614         * gst/parse/parse.l:
3615         Use "%option never-interactive" to prevent useless calls to isatty()
3616         on every input when parsing. Also use "%option noinput" to not define
3617         the static input/yyinput functions which we don't use anyway. This
3618         removes a compiler warning with gcc 4.3 and saves some bytes in the
3619         library.
3620         
3621         * gst/parse/lex._gst_parse_yy.pre.c:
3622         Regenerated for the above change.
3623
3624 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3625
3626         * gst/gstpad.c: (fixate_value):
3627         Don't crash when trying to fixate and empty list.
3628         Fixes #506643.
3629
3630 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3631
3632         * docs/faq/gst-uninstalled:
3633         Clarify the comments to make the usage of this script and what it
3634         does easier to understand.
3635
3636 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3637
3638         * tools/gst-plot-timeline.py:
3639         Add more options to gst-plot-timeline
3640
3641 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3642
3643         * docs/design/part-synchronisation.txt:
3644         Some more info on how the stream_time in GstBaseSink is done.
3645
3646 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3647
3648         * tests/check/generic/sinks.c: (gst_sinks_suite):
3649           Put back the tcase_set_timeout(), apparently it's needed after
3650           all; fix it up in a way that makes things work with valgrind too.
3651
3652 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3653
3654         * gst/gstdebugutils.c:
3655           Add warning when failed to open file for writing.
3656
3657 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3658
3659         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3660
3661         * gst/gstvalue.c: (gst_value_is_fixed):
3662           Optimisation: bail out of the loop as early as possible (#500143).
3663
3664 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3665
3666         * gst/gstcaps.c: (gst_caps_to_string):
3667         * gst/gstinfo.c: (gst_debug_construct_term_color):
3668         * gst/gstparse.c: (gst_parse_launchv):
3669         * gst/gstutils.c: (gst_util_dump_mem):
3670         * gst/gstvalue.c: (gst_value_serialize_any_list),
3671           (gst_value_transform_any_list_string):
3672           Bunch of gratuitous nano-optimisations.
3673
3674 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3675
3676         * tests/check/generic/sinks.c: (async_done_func),
3677           (async_done_eos_func):
3678           Fix leak in unit test (bus sync handler must unref the message
3679           if it returns GST_BUS_DROP). Don't fiddle with the default test
3680           timeout, this is smaller than the current preconfigured value
3681           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3682           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3683
3684 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3685
3686         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3687
3688         * configure.ac:
3689         Check for stdio_ext.h for the filesink changes.
3690
3691         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3692         (gst_file_sink_class_init), (gst_file_sink_init),
3693         (gst_file_sink_dispose), (gst_file_sink_set_property),
3694         (gst_file_sink_get_property), (gst_file_sink_open_file),
3695         (gst_file_sink_close_file):
3696         * plugins/elements/gstfilesink.h:
3697         Add two properties to control the buffering mode and size.
3698         API: GstFileSink::buffer-mode
3699         API: GstFileSink::buffer-size
3700         Fixes #500150.
3701
3702 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3703
3704         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3705         Add some more docs to explain why a FIXME was wrongly added. 
3706
3707 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3708
3709         * gst/gstobject.c:
3710           Fix typo in the gst_object_{ref,unref} documentation.
3711
3712 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3713
3714         * tests/check/libs/controller.c:
3715         * tests/check/libs/typefindhelper.c:
3716         * tests/check/pipelines/parse-launch.c:
3717           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3718           going to be deprecated (see #498924).
3719
3720 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3721
3722         * gst/gsttypefind.c: (gst_type_find_register):
3723           Make gst_type_find_register work for static typefind functions,
3724           ie. allow passing plugin == NULL (prerequisite for #498924).
3725
3726         * gst/gstelementfactory.c: (gst_element_register):
3727           Small docs addition.
3728
3729 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3730
3731         * gst/gstpad.c: (gst_pad_dispose):
3732         Really unlink the peer pad instead of setting the peer pointer to NULL
3733         when we dispose the pad.
3734         This correctly calls the unlink functions and makes sure that the peer
3735         does not have a handle to invalid memory. See #504671.
3736
3737         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3738         Add testsuite for above case.
3739
3740 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3741
3742         Patch by: Peter Kjellerstedt <pkj axis com>
3743
3744         * libs/gst/check/gstcheck.h:
3745           Fix detection of the check version we're compiling against (would
3746           otherwise break if check goes v0.10.0); correctly report the
3747           name of the failed test again in case of failure, instead of
3748           just 'tf' (fixes #504499).
3749
3750 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3751
3752         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3753         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3754         (gst_base_src_loop), (gst_base_src_set_flushing),
3755         (gst_base_src_change_state):
3756         Allow sending EOS to the source to make it send out an EOS event from
3757         the streaming thread.
3758         Update docs and deprecate the old NULL/READY shutdown method.
3759
3760         * tests/check/libs/basesrc.c: (GST_START_TEST),
3761         (gst_basesrc_suite):
3762         Add unit test for controlled shutdown.
3763
3764 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3765
3766         * docs/design/part-synchronisation.txt:
3767         Small updates.
3768
3769         * gst/gstsegment.c: (gst_segment_set_seek),
3770         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3771         (gst_segment_to_running_time):
3772         The seek format can be different from the segment format when the start
3773         and stop values are not to be updated, when we only do a rate change for
3774         example.
3775
3776         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3777         (gst_segment_suite):
3778         Add a testcase for the rate-only seeks, checking that the format is
3779         correctly ignored when start and stop are not updated.
3780
3781 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3782
3783         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3784
3785         * win32/vs8/grammar.vcproj:
3786         * win32/vs8/libgstcontroller.vcproj:
3787         * win32/vs8/libgstreamer.vcproj:
3788         Fix compilation with VS8 and include some missing files.
3789
3790 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3791
3792         * gst/gsttaglist.c:
3793           Small docs addition: mention that the strings returned by
3794           gst_tag_list_get_string*() are in UTF-8 encoding.
3795
3796 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3797
3798         * Makefile.am:
3799           The check-exports stuff moved to common/win32.mak, so include that.
3800
3801 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3802
3803         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3804         (gst_base_src_perform_seek), (gst_base_src_get_range),
3805         (gst_base_src_set_playing), (gst_base_src_change_state):
3806         Make _wait_playing() not check any variables so that we can call this
3807         function from subclasses. Move the checks elsewhere similar to
3808         _wait_preroll() in basesink.
3809         Add some debugging.
3810         Only signal the LIVE cond when we are going back to PLAYING.
3811
3812 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3813
3814         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3815           Use g_remove() and g_rename(). Check result of g_rename(), and
3816           don't leak the open file descriptor if we error out when writing.
3817
3818         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3819           Must check the return value of close() after writing out the new
3820           registry file.  Sometimes write problems such as out-of-diskspace
3821           are only reported when the file is closed and not already during
3822           the write.  This may have caused partial/broken registry files in
3823           some rare circumstances. Should fix #503675.
3824
3825 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3826
3827         * docs/gst/.cvsignore:
3828         * docs/libs/.cvsignore:
3829         * docs/plugins/.cvsignore:
3830         Ignore files generated by new common/* modifications
3831
3832 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3833
3834         * win32/common/libgstbase.def:
3835           Yes, you can also have a <TAB> if you want.
3836
3837 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3838
3839         * win32/common/libgstbase.def:
3840           Add new basetransform API to win export file.
3841
3842 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3843
3844         * tests/check/gst/gstbin.c:
3845           Adjust the test to the refcount change two days ago.
3846
3847 2007-12-14  David Schleef  <ds@schleef.org>
3848
3849         * docs/faq/getting.xml: Fix typo.
3850
3851 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3852
3853         * docs/libs/gstreamer-libs-sections.txt:
3854         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3855           (gst_base_transform_prepare_output_buffer),
3856           (gst_base_transform_set_gap_aware):
3857         * libs/gst/base/gstbasetransform.h:
3858           API: Add gst_base_transform_set_gap_aware() to control whether
3859           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3860           get buffers with this flag at all. Fixes #503231.
3861
3862 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3863
3864         * libs/gst/base/gstbasesink.c:
3865         * libs/gst/base/gstbasesrc.c:
3866         * libs/gst/base/gstbasetransform.c:
3867           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3868           thread. Correct log message in gstbasesrc.c.
3869
3870 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3871
3872         * gst/gstutils.c: (element_find_unconnected_pad):
3873           Fix possible compiler warning (#503417).
3874
3875 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3876
3877         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3878           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3879
3880 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3881
3882         * tools/gst-inspect.c: (print_element_properties_info):
3883           Add support for GstFraction properties.
3884
3885 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3886
3887         * Makefile.am:
3888           Add check-exports target and run it as part of 'make check'
3889           (see #499140 and #493983).
3890
3891         * gst/gst_private.h:
3892         * gst/gstelementfactory.h:
3893         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3894         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3895           (_priv_gst_in_valgrind):
3896         * gst/gstinfo.h: (GstLogFunction):
3897         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3898           (gst_type_find_register):
3899         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3900           (gst_type_find_factory_get_type):
3901         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3902           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3903           (gst_controller_new_valist), (gst_controller_new_list),
3904           (_gst_controller_dispose), (_gst_controller_class_init):
3905         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3906         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3907           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3908           (gst_object_get_controller), (gst_object_set_controller),
3909           (gst_object_suggest_next_sync), (gst_object_sync_values),
3910           (gst_object_set_control_source), (gst_object_get_control_source),
3911           (gst_object_get_value_arrays), (gst_object_get_value_array),
3912           (gst_object_get_control_rate), (gst_object_set_control_rate):
3913         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3914         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3915           Make some functions that should be static static; rename some
3916           private symbols so that they don't get exported; add some FIXME
3917           comments so we can move accidentally exported functions into
3918           our private section in 0.11.
3919
3920         * win32/common/libgstreamer.def:
3921           Add gst_utils_get_timestamp().
3922
3923 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3924
3925         * gst/gstvalue.c:
3926         * gst/gstvalue.h:
3927           Add more missing "Since:" tags to docs.
3928
3929 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3930
3931         * gst/gstutils.c:
3932           Add mising "Since:" to docs.
3933
3934 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3935
3936         * gst/gstplugin.c:
3937           Include "glib-compat-private.h" to fix the build on system with
3938           glib < 2.10. Fixes #503131.
3939
3940 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3941
3942         * gst/gstutils.c:
3943         * gst/gstutils.h:
3944           Actually its not PURE as it gets the time from elsewhere.
3945
3946 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3947
3948         * docs/gst/gstreamer-sections.txt:
3949         * gst/gstclock.h:
3950         * gst/gstdebugutils.c:
3951         * gst/gstinfo.c:
3952         * gst/gstutils.c:
3953         * gst/gstutils.h:
3954         * libs/gst/base/gstbasesink.c:
3955         * tools/gst-launch.c:
3956           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3957           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3958           Thanks Tim for spotting.
3959           API: gst_util_get_timestamp
3960
3961 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3962
3963         * configure.ac:
3964           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3965
3966 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3967
3968         * gst/gststructure.c: (gst_structure_validate_name),
3969           (gst_structure_new_valist), (gst_structure_parse_value),
3970           (gst_structure_from_string):
3971           Don't crash in _from_string() if the structure name is not valid
3972           (fixes #501560).  Allow structure names to start with a number
3973           again (this apparently broke the ubuntu codec installer).
3974
3975         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3976           (GST_START_TEST):
3977           Add unit test for the crash; update unit tests for new behaviour.
3978
3979 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3980
3981         * gst/gstutils.c:
3982         Clarify gst_element_get_compatible_pad() documentation.
3983         Fixes #500919.
3984
3985 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3986
3987         * tests/check/Makefile.am:
3988           Don't forget to dist {gst,libs}/struct_hppa.h.
3989
3990 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3991
3992         * libs/gst/base/gstbasesink.c:
3993           Use new API to get elapsed time.
3994
3995 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3996
3997         * gst/gstdebugutils.c:
3998         * gst/gstinfo.c:
3999           Fix wrong order of args in GST_CLOCK_DIFF() usage.
4000
4001         * tools/gst-launch.c:
4002           Use new API to get elapsed time.
4003
4004 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4005
4006         * docs/gst/gstreamer-sections.txt:
4007         * gst/gstclock.h:
4008         * gst/gstdebugutils.c:
4009         * gst/gstinfo.c:
4010           Rename new API + ChangeLog surgery to remove old name from last entry..
4011
4012 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4013
4014         * docs/gst/gstreamer-sections.txt:
4015         * gst/gstclock.h:
4016         * gst/gstdebugutils.c:
4017         * gst/gstinfo.c:
4018           Now hide the different clock stuff behind a macro.
4019
4020 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4021
4022         * configure.ac:
4023         * gst/gstdebugutils.c:
4024         * gst/gstinfo.c:
4025           Apply the posix-timer check from #361155. Conditionally use the posix
4026           timer for logging. This gives better timestamp precission, less
4027           overhead and no ntp jitter.
4028
4029 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
4030
4031         * gst/gstminiobject.c: (gst_mini_object_get_type),
4032         (gst_mini_object_class_init), (gst_mini_object_copy_default),
4033         (gst_mini_object_finalize), (gst_mini_object_copy),
4034         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
4035         (gst_mini_object_replace), (param_mini_object_validate),
4036         (gst_param_spec_mini_object_get_type):
4037         Some cleanup and checking against invalid function parameters.
4038
4039 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
4040
4041         * docs/gst/gstreamer-sections.txt:
4042         * gst/gstclock.h:
4043         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4044         (gst_systemclock_suite):
4045         Start merging in the easy bits of #361155, the monotonic clock patch.
4046         This one adds a few handy macros with docs and a testsuite.
4047
4048 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
4049
4050         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
4051         Be a bit smarter when seeking, like, don't try to do a seek when it's
4052         not needed. This avoids errors when the file is not seekable.
4053         Fixes #499771.
4054
4055 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
4056
4057         * docs/gst/gstreamer-docs.sgml:
4058         * docs/gst/gstreamer-sections.txt:
4059         * docs/gst/gstreamer.types.in:
4060         * gst/Makefile.am:
4061         * gst/gst.h:
4062         * gst/gstpreset.c:
4063         * gst/gstpreset.h:
4064         * plugins/elements/gstqueue.c:
4065           Due to popular request remove preset interface again. :-(.
4066
4067 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4068
4069         * tools/gst-inspect.c:
4070           Print 'default value' for enums and flags too.
4071
4072 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4073
4074         * docs/random/ensonic/profiling.txt:
4075           More ideas.
4076
4077         * gst/gstbin.c:
4078           Fix typo and give better log output.
4079
4080         * gst/gstdebugutils.c:
4081         * gst/gstdebugutils.h:
4082           More ideas, make graphs a bit smaller and fix param name in macro.
4083
4084 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4085
4086         * gst/gstpreset.c:
4087           Try harder to use the return value from fgets().
4088
4089 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
4090
4091         * gst/gstpreset.c:
4092           For theses two fgets we handle the error below.
4093
4094 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
4095
4096         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
4097         Only send upstream events upstream. Fixes #498746.
4098
4099 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
4100
4101         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4102
4103         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4104         (gst_identity_init), (gst_identity_transform_ip),
4105         (gst_identity_set_property), (gst_identity_get_property):
4106         * plugins/elements/gstidentity.h:
4107         Add property to disable handoff signal emission. Fixes #498694.
4108         API: GstIdentity::signal-handoffs
4109
4110 2007-11-21  Julien Moutte  <julien@fluendo.com>
4111
4112         * docs/faq/gst-uninstalled: Yet another missing library for the
4113         uninstalled script (fft)
4114
4115 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
4116
4117         * docs/faq/developing.xml:
4118         Add a question about how to submit new translations.
4119
4120         * docs/random/release:
4121         Update the contact email address for the Translation Project
4122
4123         * plugins/elements/gstfdsrc.c:
4124         The parent_class for fdsrc is pushsrc, not GstElement.
4125
4126 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
4127
4128         * gst/gstpreset.c:
4129           Plug a leak and fix saving.
4130
4131 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
4132
4133         * docs/gst/gstreamer-sections.txt:
4134         Add new gst_preset__get_property_names() function to the docs
4135         to fix the build.
4136
4137 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
4138
4139         * gst/gstpreset.c:
4140         * gst/gstpreset.h:
4141           Change _get_preset_names API to return a strv with copies. Add
4142           _get_property_names to allow implementations to filter and provide
4143           good default implementation.
4144
4145 2007-11-20  Julien MOUTTE  <julien@moutte.net>
4146
4147         * docs/faq/gst-uninstalled: Add another library to the uninstalled
4148         script (sdp).
4149
4150 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4151
4152         * gst/gstpreset.c:
4153           More cleanups, docs, and TODOs from comments that now slowly come in.
4154
4155 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4156
4157         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
4158         search path.
4159
4160 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4161
4162         * gst/gstpreset.c:
4163           Fix bogus warning and make the property type specific code more
4164           similar.
4165
4166 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4167
4168         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4169         it build on OS X.
4170
4171 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
4172
4173         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4174         (gst_bin_add_func), (gst_bin_remove_func),
4175         (gst_bin_change_state_func), (gst_bin_continue_func):
4176         Change email, cleanups add some more debug and comments.
4177         Also set bus and clock on new elements when the pipeline was in error.
4178
4179 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
4180
4181         * gst/gstbin.c:
4182         * gst/gstdebugutils.c:
4183           Fix build with --disable-gst-debug. Fixes #497859.
4184           Spotted by Sameer Naik.
4185
4186 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4187
4188         * gst/gstevent.c:
4189           Little documentation improvment.
4190
4191         * gst/gstpreset.c:
4192           More TODO cleanups. Remove c++ comments.
4193
4194         * libs/gst/controller/gstcontroller.c:
4195           Add TODO and use quark from static string.
4196
4197         * tests/check/gst/gstmessage.c:
4198         * tests/check/gst/gststructure.c:
4199           Use quark from static string.
4200
4201 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4202
4203         * gst/gstpreset.c:
4204           Add some comments and TODOs.
4205
4206         * gst/gstpreset.h:
4207           Add padding for future changes.
4208
4209         * plugins/elements/gstqueue.c:
4210           Implement the iface.    
4211
4212 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4213
4214         * docs/gst/gstreamer-docs.sgml:
4215         * docs/gst/gstreamer-sections.txt:
4216         * docs/gst/gstreamer.types.in:
4217         * gst/Makefile.am:
4218         * gst/gst.h:
4219         * gst/gstpreset.c:
4220         * gst/gstpreset.h:
4221           Add the preset interface (Fixes #396779). Do some doc cleanups along.
4222
4223 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
4224
4225         * configure.ac:
4226
4227         Back to CVS
4228
4229 === release 0.10.15 ===
4230
4231 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
4232
4233         * configure.ac:
4234           releasing 0.10.15, "October"
4235
4236 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
4237
4238         * win32/vs6/libgstreamer.dsp:
4239         Convert line endings back to DOS.
4240
4241 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
4242
4243         * docs/design/draft-tagreading.txt:
4244         * docs/random/ensonic/profiling.txt:
4245         Update fast tagreading draft and performance profiling ideas.
4246
4247 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4248
4249         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4250         Don't hold the object lock when unreffing a buffer because it could
4251         cause a deadlock when the finalize function wants to grab the object
4252         lock too. Fixes #495133.
4253
4254 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4255
4256         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4257         (gst_segment_to_stream_time), (gst_segment_to_running_time):
4258         Also accumulate time correctly when doing reverse playback. Fixes
4259         #488201,
4260         When converting to running and stream time, use default values for
4261         start/stop/time/accum when comparing different formats. Fixes #494245.
4262
4263         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4264         Do running/stream time in TIME format.
4265
4266         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4267         (gst_segment_suite):
4268         2 new unit tests for segment accumulation.
4269
4270 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4271
4272         * gst/gst.c: (init_pre):
4273         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4274           (_gst_debug_bin_to_dot_file):
4275           Move getenv() back into gst_init, so everyone can live happily
4276           ever after. Make sure the symbol isn't exported though.
4277
4278 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4279
4280         Patch by: Sebastien Moutte  <sebastien moutte net>
4281
4282         * win32/common/gstenumtypes.c:
4283         * win32/common/gstenumtypes.h:
4284           Update enum types.
4285
4286         * win32/vs6/libgstreamer.dsp:
4287           Update vs6 project files (#494343).
4288
4289 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4290
4291         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4292         (gst_base_src_perform_seek), (gst_base_src_default_event),
4293         (gst_base_src_set_flushing), (gst_base_src_activate_push),
4294         (gst_base_src_activate_pull):
4295         Unify flushing code, remove some old unlock code that is no longer used.
4296         Take the streaming lock when seeking to avoid races. Fixes #492729.
4297         Added some more comments.
4298
4299 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4300
4301         * gst/gst.c: (_gst_disable_segtrap):
4302           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
4303           we can use gst_segtrap_is_enabled() there now that we have that API.
4304           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4305           to do the getenv here (and export the variable).
4306
4307         * gst/gstdebugutils.c: (debug_dump_element),
4308           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4309           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4310
4311         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4312           (gst_debug_log_default):
4313           Rename _gst_info_start_time to priv_gst_info_start_time so it
4314           doesn't get exported (was never in any header).
4315
4316         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4317           (gst_plugin_loading_mutex):
4318           Make static mutex gst_plugin_loading_mutex really static (was never
4319           in any header), and use gst_segtrap_is_enabled() instead of
4320           _gst_disable_segtrap.
4321
4322         * gst/gsttrace.c: (_gst_trace_default):
4323           Make local _gst_trace_default static (was never in any header).
4324
4325 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4326
4327         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4328
4329         * win32/common/libgstbase.def:
4330         * win32/common/libgstcontroller.def:
4331         * win32/common/libgstdataprotocol.def:
4332         * win32/common/libgstnet.def:
4333         * win32/common/libgstreamer.def:
4334           Add more missing symbols, remove some duplicates, and sort
4335           as the 'sort' command sorts it (partially fixes #493983).
4336
4337 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4338
4339         * gst/gstelement.c: (gst_element_set_state_func):
4340         Only change the state cookie if a different state was set on the
4341         element. See #492729.
4342
4343 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4344
4345         * gst/gstvalue.c:
4346           Remove unused and uninitialised type variables that were still
4347           exported for some reason (they were never in any header files
4348           though).
4349
4350 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4351
4352         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4353         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4354         (gst_base_sink_event), (gst_base_sink_get_position_last),
4355         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4356         (gst_base_sink_change_state):
4357         Don't try to report a 0 position when we don't know, return -1 and FALSE
4358         instead. This mostly happens when we are prerolling.
4359         Make sure we can report the right position before we post the ASYNC_DONE
4360         message so that a message handler can query position without races.
4361
4362         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4363         (async_done_handoff), (async_done_func), (send_buffer),
4364         (async_done_eos_func), (gst_sinks_suite):
4365         Add two tests for the above.
4366
4367 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4368
4369         * MAINTAINERS:
4370         Update with new email address.
4371
4372         * docs/design/part-TODO.txt:
4373         Add some more info about future pad-block and negotiation changes.
4374
4375         * docs/design/part-buffering.txt:
4376         Add some ideas about buffering reporting.
4377
4378 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
4379
4380         * tests/check/gst/gstobject.c:
4381         Disable silly racy test that always fails on this combination of CPU
4382         and kernel.
4383
4384 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4385
4386         Patch by: Murray Cumming  <murrayc@murrayc.com>
4387
4388         * gst/gstobject.c:
4389           Corrected the registration of the parent-set and parent-unset
4390           signals: The parameter is a GstObject, not a GObject (#493134).
4391
4392 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4393
4394         * gst/gst_private.h:
4395         * gst/gstbuffer.h:
4396         * gst/gstevent.h:
4397         * gst/gstformat.h:
4398         * gst/gstmessage.h:
4399         * gst/gstplugin.h:
4400         * gst/gstquery.h:
4401         * gst/gsttaglist.h:
4402         * gst/gstvalue.h:
4403           Move declaration of private _gst_foo_initialize() functions into
4404           our private header file where they should have been all along.
4405
4406 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4407
4408         * docs/plugins/gstreamer-plugins-sections.txt:
4409         * gst/gstdebugutils.h:
4410         * gst/gstxml.h:
4411         * plugins/elements/gstqueue.c:
4412           gtk-doc fixes; trailing-comma-in-enum fix.
4413
4414 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4415
4416         * gst/gst.c: (gst_deinit):
4417           Clean up on deinit (not the external ones though, doesn't seem to be
4418           needed for some reason).
4419
4420 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4421
4422         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4423           Remove __declspec(dllimport) for MSVC that was copied over into core
4424           from a plugin, obviously without ever having been tested (note the
4425           single underscore in _declspec in the initial commit), and that doesn't
4426           really make sense.  See #492077.
4427
4428 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4429
4430         * gst/gst.c: (init_post):
4431         * gst/gstevent.c: (_gst_event_initialize):
4432         * gst/gstquery.c: (_gst_query_initialize):
4433         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4434           g_type_class_ref() other types as well, see #349410 and #64764.
4435
4436         * gst/gstbuffer.c: (_gst_buffer_initialize):
4437         * gst/gstmessage.c: (_gst_message_initialize):
4438           Simplify existing g_type_class_ref().
4439
4440 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4441
4442         * gst/gstformat.c: (_gst_format_initialize):
4443           g_type_class_ref() our GstFormat type to make sure we avoid the
4444           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4445           bug #64764. Should fix intermittent tee unit test failures (#474823).
4446
4447 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4448
4449         * tests/check/elements/tee.c: (test_num_buffers):
4450           Simplify, simplify, simplify - or not.  Rewrite unit test
4451           not to use gst_parse_launch(); allow N sub-streams. Increasing
4452           the number of sub-streams seems to reproduce #474823 more easily.
4453
4454 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4455
4456         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4457
4458         * gst/gsttrace.c:
4459         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4460         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4461         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4462           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4463           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4464           so use _pipe() directly (#492077).
4465
4466         * win32/common/dirent.c: (_treaddir):
4467           Add a couple of casts to make it build without warnings with MSVC.
4468
4469         * win32/common/libgstreamer.def:
4470           Add some more symbols that need to be exported.
4471
4472 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4473
4474         * tests/examples/metadata/read-metadata.c: (message_loop):
4475           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4476           arriving in a second or third tag message are added to
4477           the tag list as well.
4478
4479 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4480
4481         * libs/gst/base/gstbasesrc.c:
4482           Its "Since:" and not "@Since:". And remove an superflous cast.
4483
4484 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4485
4486         * docs/libs/gstreamer-libs-sections.txt:
4487         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4488         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4489         (gst_base_sink_get_property), (gst_base_sink_render_object),
4490         (gst_base_sink_preroll_object),
4491         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4492         (gst_base_sink_change_state):
4493         * libs/gst/base/gstbasesink.h:
4494         Add a new last-buffer property that contains the last buffer used in
4495         basesink for preroll or rendering. useful for making snapshots.
4496         API: gst_base_sink_get_last_buffer()
4497         API: GstBaseSink::last-buffer
4498
4499 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4500
4501         * docs/gst/running.xml:
4502         * gst/gst.c:
4503         * gst/gstdebugutils.c:
4504         * gst/gstdebugutils.h:
4505         * tools/gst-launch.c:
4506           Improve bin graph dumping, by using the envvar to specify a path.
4507           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4508
4509 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4510
4511         * plugins/elements/gsttypefindelement.c:
4512           (gst_type_find_element_handle_event),
4513           (gst_type_find_element_activate):
4514           Post special error message if we can't determine the type of a stream
4515           because it's empty.
4516
4517 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4518
4519         * docs/gst/running.xml:
4520         * gst/gstdebugutils.c:
4521           Document new env-var. Add one log-line after dumpng a graph.
4522
4523 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4524
4525         * configure.ac:
4526           Ugly hack to put the (recently removed and non-portable, apparently)
4527           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4528           GNU ld, because without that 'make check' fails miserably on my debian
4529           stable box.  Someone with more knowledge of linker intricacies and
4530           portability issues than me fix this properly please.
4531
4532 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4533
4534         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4535         Reset last seen position after flushing so that we don't report the old
4536         position anymore.
4537
4538 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4539
4540         * gst/gstelementfactory.c: (gst_element_register):
4541         * gst/gsturi.h:
4542         Patch from Alessandro Decina adding get_type_full and
4543         get_protocols_full private vfuncs to the URIHandler interface
4544         to allow bindings to support creating URI handlers. 
4545         Partially fixes: #339279
4546         API: GstURIHandlerInterface::get_type_full
4547         API: GstURIHandlerInterface::get_protocols_full
4548
4549 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4550
4551         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4552         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4553         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4554         Make it so that pads are considered linked until a buffer is pushed
4555         and discovered otherwise. This avoids problems with decodebin2 hanging
4556         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4557         case.
4558
4559         Make sure we lock the multiqueue when updating the max-size properties.
4560         
4561         Fix a crash on Solaris in a debug statement in get_request_pad that
4562         passes a NULL string to GST_DEBUG. 
4563
4564         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4565         (run_output_order_test):
4566         Fix the test to allow the first buffer on not-linked pads to come out
4567         of sequence while multiqueue discovers that they are not-linked.
4568
4569 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4570
4571         * configure.ac:
4572         * libs/gst/check/Makefile.am:
4573         Use a custom export symbol regex for libgstcheck, as it needs
4574         to export symbols that don't match the standard GStreamer gst_*
4575         pattern, and  --export-dynamic is not portable (only works on 
4576         GNU ld)
4577
4578         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4579         (gst_check_setup_sink_pad):
4580         Make sure to pass a message parameter to the fail_* macros.
4581
4582         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4583         Fix some compiler warnings.
4584
4585 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4586
4587         * tests/check/gst/gststructure.c: (test_to_string):
4588           Disable test that checks that white spaces are not allowed
4589           in structure names or field names, since we need to
4590           support that for now for backwards compatibility reasons.
4591
4592 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4593
4594         * docs/gst/gstreamer-sections.txt:
4595         * gst/gsttaglist.c:
4596         * gst/gsttaglist.h:
4597           API: add GST_TAG_ARTIST_SORTNAME
4598           API: add GST_TAG_ALBUM_SORTNAME
4599           API: add GST_TAG_TITLE_SORTNAME
4600           Add tag variants for sorting (#414539).
4601
4602 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4603
4604         * gst/gststructure.c:
4605           Also allow white space for names so we don't break
4606           backwards compatibility.
4607
4608 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4609
4610         * docs/design/part-TODO.txt:
4611         * docs/design/part-segments.txt:
4612         * docs/design/part-streams.txt:
4613         Small updates.
4614
4615 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4616
4617         * docs/gst/gstreamer-sections.txt:
4618          Fixed documentation from my previous commit (added new API add
4619          gst_value_set_structure(), add gst_value_get_structure() and
4620          GST_VALUE_HOLDS_STRUCTURE).
4621
4622 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4623
4624         * gst/gstdebugutils.c:
4625           Reflow code to fix uninitialized variable warning.
4626
4627 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4628
4629         * gst/gstcaps.c: (gst_caps_to_string),
4630         (gst_caps_from_string_inplace):
4631         * gst/gststructure.c: (gst_structure_get_abbrs),
4632         (gst_structure_to_string), (gst_structure_from_string):
4633         * gst/gstvalue.c: (gst_value_set_structure),
4634         (gst_value_get_structure), (gst_value_serialize_structure),
4635         (gst_value_deserialize_structure), (_gst_value_initialize):
4636         * gst/gstvalue.h:
4637         * tests/check/gst/gststructure.c: (GST_START_TEST),
4638         (gst_structure_suite):
4639         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4640          Added GstStructure to gst_value_table and its related functions.
4641          Changed gst_structure_to_string to print ';' in the end.
4642          Changed gst_caps_to_string to not print ';' beteween its
4643          fields (structures) anymore and remove the lastes ';' from latest
4644          structure. Now it is possible to have nested structures.
4645          In addition, backward compatibilty is assured by accepting '\0' as
4646          end delimiter. Fixes: #487969.
4647          API: add gst_value_set_structure()
4648          API: add gst_value_get_structure()
4649          API: add GST_VALUE_HOLDS_STRUCTURE
4650
4651 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4652
4653         * gst/gstbus.c:
4654           When no GSource callback has been set up, tell developer
4655           to use a function that actually exists.
4656
4657 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4658
4659         * docs/gst/gstreamer-sections.txt:
4660         * gst/Makefile.am:
4661         * gst/gst.c:
4662         * gst/gst.h:
4663         * gst/gstdebugutils.c:
4664         * gst/gstdebugutils.h:
4665         * gst/gstinfo.c:
4666         * gst/gstinfo.h:
4667         * tools/gst-launch.c:
4668           Allow dumping pipelines as dot graphs. Fixes #456573.
4669
4670 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4671
4672         * gst/gststructure.c:
4673           Allow '+' as well, it can be part of media or mime types
4674           such as image/svg+xml.
4675
4676 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4677
4678         * docs/gst/gstreamer-sections.txt:
4679         * gst/gstbus.c:
4680         * gst/gstbus.h:
4681           API: add gst_bus_pop_filtered
4682           API: add gst_bus_timed_pop_filtered
4683           Two new functions for waiting for specific message types on the
4684           bus for a specified amount of time without iterating any main
4685           loops or main contexts.
4686
4687         * tests/check/gst/gstbus.c:
4688           Some tests for the new functions.
4689
4690 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4691
4692         * docs/libs/gstreamer-libs-sections.txt:
4693           Make gtk-doc ignore stuff it should ignore.
4694
4695 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4696
4697         * libs/gst/check/gstcheck.c:
4698         * libs/gst/check/gstcheck.h:
4699           Allow runtime selection of unit tests to run via the GST_CHECKS
4700           environment variable (test case function names, comma-separated).
4701
4702 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4703
4704         * gst/gststructure.c:
4705         * tests/check/gst/gststructure.c:
4706           Revert serialisation change and constrain structure-names after
4707           consensus on irc. Update api documentation to reflect the change.
4708
4709 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4710
4711         * gst/gststructure.c:
4712           Improve serialization and fix tests.
4713
4714         * tests/check/gst/gststructure.c:
4715           Add another test that covers why I actually did the previous structure
4716           change.
4717
4718 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4719
4720         * tools/gst-inspect.c: (print_element_info):
4721         Don't crash when inspecting an element.
4722
4723 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4724
4725         * tests/check/gst/gststructure.c:
4726           Add unit test for escaping of structure name when serialising
4727           and deserialising to/from strings.
4728
4729 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4730
4731         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4732         (gst_single_queue_new):
4733         * plugins/elements/gstqueue.c: (gst_queue_init),
4734         (gst_queue_push_one):
4735         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4736         upstream is tricked into thinking it can suggest a format downstream
4737         while downstream does not support that format. The real problem is that
4738         core calls acceptcaps when pushing a buffer with new caps, for which we
4739         do a little workaround by setting the caps on the srcpad ourselves
4740         before pushing the buffer (until this is figured out). Fixes #486758.
4741
4742 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4743
4744         * gst/gststructure.c:
4745         * gst/gstvalue.c:
4746           Add some more comments and debug output. Quote structure name to fix
4747           deserialisation of some strings.
4748
4749 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4750
4751         * gst/gstbuffer.h:
4752           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4753           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4754
4755 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4756
4757         * tools/gst-inspect.c:
4758           Save approx. 400 1 byte allocs when printing. Use API to acces element
4759           details.
4760
4761         * tools/gst-run.c:
4762           Avoid a strdup.
4763
4764         * tools/gst-xmlinspect.c:
4765           Use API to acces element details.
4766
4767 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4768
4769         * gst/gstinfo.c:
4770           Fix some spelling errors.
4771
4772 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4773
4774         * gst/gstbin.c: (bin_handle_async_done):
4775         Correctly set the next state if all of our async children commited their
4776         state. This makes sure we can actually cancel the state change in
4777         progress. Fixes a regression in Rhythmbox when seeking.
4778
4779 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4780
4781         * gst/gstbin.c:
4782           Don't shadow local variable.
4783
4784         * gst/gstinfo.c:
4785           Don't shadow global function name.
4786
4787 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4788
4789         * gst/gstelementfactory.c:
4790         * gst/gstpluginfeature.c:
4791         * gst/gstpluginfeature.h:
4792         * gst/gstregistrybinary.c:
4793         * gst/gstregistryxml.c:
4794         * gst/gsttypefind.c:
4795           Use already-interned string for the private GstPluginFeature
4796           plugin_name field.
4797
4798 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4799
4800         * docs/libs/gstreamer-libs-sections.txt:
4801           Add new API to docs; fixes the build.
4802
4803 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4804         
4805         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4806
4807         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4808         (gst_base_sink_event):
4809         * libs/gst/base/gstbasesink.h:
4810         Add function to wait for EOS, subclasses can use this to correctly wait
4811         for devices to drain before performing the EOS logic. Fixes #485343.
4812         API: gst_base_sink_wait_eos()
4813
4814 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4815
4816         * gst/gstplugin.h:
4817           Cast description string constants in GST_PLUGIN_DEFINE macros
4818           to a (gchar*) to make C++ code using these macros compile
4819           without warning with g++-4.2 (see #462737).  Even if slightly
4820           ugly, this seems preferable to putting the description strings
4821           into the GLib quark table or making the structure member a
4822           const gchar * and doing casts in core code that allocs and
4823           frees these strings, or requiring a cast in the C++ code.
4824
4825 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4826
4827         * gst/gstinfo.h:
4828           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4829           to print the entire class/function signature into the log
4830           file for C++ code.  This only affects C++ code, for C code
4831           everything remains the same.
4832
4833 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4834
4835         * gst/gstbin.c: (remove_from_queue):
4836         Work around a problem with pipelines containing (semi)loops until a
4837         proper, more complicated solution is ready. See #475455.
4838
4839 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4840
4841         * gst/gstplugin.c:
4842         * gst/gstplugin.h:
4843         * gst/gstregistrybinary.c:
4844         * gst/gstregistryxml.c:
4845           Put more strings into the GLib quark table. No need to keep
4846           a hundred-something copies of identical version strings,
4847           license strings, package name strings and package origin
4848           strings around. 
4849
4850 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4851
4852         * docs/manual/advanced-dataaccess.xml:
4853           Don't imply that it's okay to unconditionally change
4854           buffer data or buffer metadata in a pad probe callback,
4855           and a bunch of other comments. Fixes #430031.
4856
4857 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4858
4859         * win32/common/gstenumtypes.c:
4860         * win32/common/gstenumtypes.h:
4861         * win32/common/gstversion.h:
4862           Update generated files.
4863
4864 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4865
4866         * docs/manual/advanced-autoplugging.xml:
4867           Prefix section with broken code with a warning (see #342432).
4868
4869 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4870
4871         * docs/manual/appendix-integration.xml:
4872         * docs/manual/basics-init.xml:
4873           Call g_thread_init() before g_option_context_new() to
4874           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4875
4876 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4877
4878         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4879         (gst_base_sink_queue_object_unlocked),
4880         (gst_base_sink_queue_object), (gst_base_sink_event),
4881         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4882         When we received EOS and are waiting for when to post the EOS message,
4883         our state is prerolled and we should not return ASYNC.
4884         Reorganize some code paths to implement this behavior.
4885
4886         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4887         (gst_sinks_suite):
4888         Add unit test to verify above EOS fix.
4889
4890 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4891
4892         * plugins/elements/gsttypefindelement.c:
4893         (gst_type_find_element_have_type), (gst_type_find_element_init),
4894         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4895         Move detecting the input caps of the sinkpad to the setcaps function.
4896         This allows us to update the output caps when we receive new input caps
4897         instead of always using the first detected caps.
4898
4899 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4900
4901         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4902         (gst_base_sink_get_position):
4903         Don't try to preroll non-async elements after a flush.
4904         Subtract latency form clock times when reporting position.
4905
4906 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4907
4908         * gst/gstpad.c: (gst_pad_pause_task):
4909         * gst/gstutils.c:
4910         Small comment and documentation update.
4911
4912 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4913
4914         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4915         (gst_base_src_set_live), (gst_base_src_is_live),
4916         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4917         (gst_base_src_default_event), (gst_base_src_wait),
4918         (gst_base_src_do_sync), (gst_base_src_get_range),
4919         (gst_base_src_pad_get_range), (gst_base_src_loop),
4920         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4921         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4922         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4923         (gst_base_src_change_state):
4924         Rework the locking of basesrc in a similar fashion to basesink. We
4925         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4926         us to handle live sources and semi live ones much better.
4927         Simplify flushing.
4928         Fix unlocking when seeking, shutting down and pausing in live sources.
4929
4930 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4931
4932         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4933         Fix compilation again.
4934
4935 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4936
4937         * gst/gstelement.c:
4938           Use meaningful categories for the logs to clean the default one.
4939
4940 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4941
4942         * tests/check/pipelines/cleanup.c:
4943           Print message name and not just number.
4944
4945 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4946
4947         * docs/design/draft-tagreading.txt:
4948           Add some more thoughts.
4949
4950 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4951
4952         * tests/check/pipelines/simple-launch-lines.c:
4953           Print message name and not just number.
4954
4955 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4956
4957         * libs/gst/base/gsttypefindhelper.c:
4958           Speedup typefinding. This is work in progress (see #459862).
4959
4960 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4961
4962         * gst/gstplugin.c:
4963           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4964           Spotted by Josep Torra Valles <josep@fluendo.com>.
4965
4966 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4967
4968         * gst/gstclock.h:
4969           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4970           field has moved to GstObject.
4971
4972 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4973
4974         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4975         (gst_base_src_get_range), (gst_base_src_change_state):
4976         Call unlock for live sources so that they can't get stuck in _create and
4977         produce a buffer before they are set back to PLAYING.
4978
4979 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4980
4981         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4982         (gst_queue_locked_dequeue):
4983         Comment the segment-related code... in the PROPER function.
4984         See #482147 and my commit from yesterday.
4985
4986 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4987
4988         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4989         Also initialize the counter that calculates the first timestamp on a
4990         buffer correctly for non-live sources.
4991
4992 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4993
4994         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4995         Disable code that's breaking the current-time-level reporting.
4996         See #482147
4997
4998 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4999
5000         * docs/gst/gstreamer-sections.txt:
5001         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
5002         as they shouldn't show up. Fixes the docs build.
5003
5004 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
5005         
5006         * gst/gstinfo.h:
5007         Add an explicit variable importation needed on VS6 (only for MSC_VER)
5008         Define M_PI which is used in files which are including gstinfo.h. 
5009         VS6 includes doesn't define it.
5010         * win32/common/libgstbase.def:
5011         * win32/common/libgstcontroller.def:
5012         * win32/common/libgstreamer.def:
5013         Add new exported functions and variables.
5014         * win32/vs6/libgstcontroller.dsp:
5015         * win32/vs6/libgstreamer.dsp:
5016         Update the list of files to build.
5017         
5018 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
5019
5020         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5021
5022         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
5023         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
5024         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
5025         Improve debugging. Fixes #480858.
5026
5027 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
5028
5029         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5030
5031         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5032         First patch of code cleanups, use the macros and right arguments in the
5033         macros to signal and lock the queue. See #480858.
5034
5035 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
5036
5037         * gst/gstbus.c: (poll_func):
5038         Improve debugging when dealing with _poll().
5039
5040 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5041
5042         * gst/gstregistryxml.c:
5043           Fix memory leak I introduced a few days ago.
5044
5045 2007-09-26  Michael Smith <msmith@fluendo.com>
5046
5047         * gst/gstbuffer.c: (gst_buffer_finalize):
5048           Make it once again possible to free GstBuffers in the default
5049           build.
5050           The poisoning scribbles on parts of the miniobject we need in
5051           order to free it.
5052           Fixes #480341
5053
5054 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5055
5056         * docs/gst/gstreamer-sections.txt:
5057         * gst/gsttaglist.c:
5058         * gst/gsttaglist.h:
5059         API: add GST_TAG_COMPOSER, fixes #459809.
5060
5061 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
5062
5063         * gst/gstplugin.c:
5064         * gst/gstplugin.h:
5065         Add the 3-clause BSD license and the MIT/X11 license to the license
5066         list. Fixes #479784.
5067
5068 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5069
5070         * docs/faq/getting.xml:
5071           Add Q+A about different GStreamer versions (#364056).
5072
5073 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5074
5075         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5076         (gst_base_sink_event), (gst_base_sink_change_state):
5077         Return correct gboolean from query function.
5078
5079 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5080
5081         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5082         (gst_base_sink_event), (gst_base_sink_query),
5083         (gst_base_sink_change_state):
5084         Simplify latency query.
5085         When not synchronizing, we can report latency without querying the peer
5086         element.
5087
5088 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5089
5090         * gst/gstobject.h:
5091         * gst/gstvalue.c:
5092         Fix small typos in the docs.
5093
5094 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5095
5096         * docs/design/draft-latency.txt:
5097         * docs/design/draft-push-pull.txt:
5098         * docs/design/draft-tagreading.txt:
5099         * docs/design/part-MT-refcounting.txt:
5100         * docs/design/part-activation.txt:
5101         * docs/design/part-block.txt:
5102         * docs/design/part-element-source.txt:
5103         * docs/design/part-events.txt:
5104         * docs/design/part-gstbin.txt:
5105         * docs/design/part-gstelement.txt:
5106         * docs/design/part-gstobject.txt:
5107         * docs/design/part-gstpipeline.txt:
5108         * docs/design/part-messages.txt:
5109         * docs/design/part-preroll.txt:
5110         * docs/design/part-push-pull.txt:
5111         * docs/design/part-qos.txt:
5112         * docs/design/part-query.txt:
5113         * docs/design/part-scheduling.txt:
5114         * docs/design/part-seeking.txt:
5115         * docs/design/part-segments.txt:
5116         * docs/design/part-states.txt:
5117         Documentation updates and typo fixes.
5118
5119 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5120
5121         * plugins/elements/gstfakesink.c:
5122           Add some debug text to error message to indicate that
5123           we errored out on request.
5124
5125         * tools/gst-launch.c:
5126           When the state change to PLAYING fails, check for an
5127           error message on the bus and print it.
5128
5129 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5130
5131         translated by: Jorge González González <aloriel@gmail.com>
5132
5133         * po/LINGUAS:
5134         * po/es.po:
5135           Added Spanish translation.
5136
5137 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
5138
5139         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5140         Fix printf arguments.
5141
5142 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
5143
5144         * tests/check/generic/states.c:
5145           Improved state change unit test.
5146
5147 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
5148
5149         * gst/gstbin.h:
5150           Move priv to the right place.
5151
5152         * gst/gstsystemclock.c:
5153           Add FIXME: and improve log.
5154
5155         * tests/check/Makefile.am:
5156         * tests/examples/manual/Makefile.am:
5157           Work with all types of registries.
5158
5159 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
5160
5161         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5162         Don't unref the event after pushing it. Fixes #478401.
5163
5164 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5165
5166         * .cvsignore:
5167         * tests/examples/manual/.cvsignore:
5168           Ignore registries in any format.
5169
5170 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5171
5172         * gst/glib-compat-private.h:
5173           Add compatibility macro for g_intern_string() for
5174           GLib-2.8 (any reason we can't just bump the
5175           requirement to at least 2.10?)
5176
5177         * gst/gstpadtemplate.h:
5178         * gst/gstelementfactory.c:
5179         * gst/gstregistryxml.c:
5180         * gst/gstregistrybinary.c:
5181           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5182           up the internal code accordingly.  This shouldn't be a problem, since
5183           there is no reason external code could ever assume the string in such
5184           a structure is dynamically allocated unless it did that itself;  the
5185           use of g_strdup() is private to element factories.  The new code also
5186           saves some memory by putting pad template name strings into the GLib
5187           quark table instead of allocating them dynamically.
5188           Declaring this field constant fixes warnings with g++-4.2 when using
5189           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5190
5191 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5192
5193         * gst/gstelementfactory.c:
5194           Release static caps. Fixes #475723.
5195
5196 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
5197
5198         * gst/gstinfo.c:
5199         * gst/gstinfo.h:
5200           Make some internal API take const gchar * instead of just
5201           gchar * to avoid compiler warnings with g++-4.2.2 when
5202           passing string constants (partially fixes #478092).
5203
5204 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5205
5206         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5207         A latency query fails when one of the sinks fail.
5208
5209         * gst/gstelement.c: (gst_element_set_base_time):
5210         Improve debugging.
5211
5212 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5213
5214         * gst/gstbin.c: (gst_bin_continue_func):
5215         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5216         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5217         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5218
5219         Fix minor compilation warnings shown with Forte.
5220
5221 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5222
5223         * plugins/elements/gstqueue.c: (apply_buffer),
5224         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5225         Measure queue level based on the diff between head and tail timestamps
5226         even when pushing the first buffer.
5227
5228 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5229
5230         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5231         (gst_base_sink_event), (gst_base_sink_change_state):
5232         Sinks that don't preroll can always be queried for the latency.
5233         Don't post ASYNC start when we are not async.
5234
5235 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5236
5237         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5238         (gst_queue_handle_sink_event), (gst_queue_chain),
5239         (gst_queue_push_one), (gst_queue_handle_src_query),
5240         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5241         * plugins/elements/gstqueue.h:
5242         When downstream returns UNEXPECTED from pushing a buffer, don't try to
5243         push more buffers but allow pushing of EOS and NEWSEGMENT.
5244         Add some more debug info here and there. Fixes #476514.
5245
5246 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5247
5248         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5249         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5250         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5251         (gst_base_sink_set_flushing), (gst_base_sink_query),
5252         (gst_base_sink_change_state):
5253         Latency query is allowed after we are prerolled. Introduce a new flag
5254         for this and stop abusing other variables.
5255
5256 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5257
5258         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5259         Push OOB events downstream when we get them in send_event. This allows
5260         the application to insert events in the pipeline.
5261         Add some more comments.
5262
5263 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5264
5265         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5266         (do_bin_latency), (gst_bin_change_state_func):
5267         * gst/gstpipeline.c: (gst_pipeline_change_state):
5268         Move latency query from GstPipeline to GstBin so that we can also
5269         use it when async-handling is enabled on bins.
5270
5271 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5272
5273         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5274         (gst_base_src_do_sync), (gst_base_src_change_state):
5275         Update docs.
5276         Clean up the timestamping and syncing code for pseudo live sources.
5277
5278 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
5279
5280         Patch by: Steve Fink  <sphink gmail com>
5281
5282         * docs/manual/appendix-checklist.xml:
5283           Mention less -R switch in the section about debug output (#474055).
5284
5285 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5286
5287         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5288         Queue can latency to the pipeline up to the configured max size in time.
5289         Report this fact in the latency query.
5290
5291 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5292
5293         Patch by: Sebastien Moutte <sebastien at moutte dot net>
5294
5295         * libs/gst/controller/gstinterpolation.c:
5296         * libs/gst/controller/gstlfocontrolsource.c:
5297         Use gst_guint64_to_gdouble() when converting from a uint64 or
5298         GstClockTime to double to fix the build on win32. Fixes #474371.
5299
5300 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5301
5302         * gst/gstbuffer.c: (gst_buffer_finalize):
5303         Implement poisoning for GstBuffer if --enable-poisoning is specified.
5304         When finalizing a buffer the complete struct is filled with 0xff,
5305         thus making a use of the buffer after the final unref impossible.
5306
5307 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5308
5309         * tests/check/libs/controller.c: (GST_START_TEST):
5310         Use fail_unless_equals_int(a, b) instead of
5311         fail_unless_equals (a == b) to get better output on failures.
5312
5313 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5314
5315         * tests/check/gst/gsturi.c:
5316           Also check for the other file URI variant on win32.
5317
5318 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5319
5320         * gst/gsturi.c: (gst_uri_get_location):
5321           If there's no hostname, we want to return 'c:/foo/bar.txt'
5322           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5323
5324         * tests/check/gst/gsturi.c:
5325           Unit test for the above and a few more things.
5326
5327 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5328
5329         * docs/design/part-live-source.txt:
5330         Add docs on how live sources should timestamp.
5331
5332         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5333         Add some more debug info.
5334         For subclasses that are live and like to sync, add aditional startup
5335         latency to sync time and timestamps so that we timstamp according to the
5336         design doc.
5337
5338 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5339
5340         * gst/gstbuffer.c:
5341           Also do a g_type_class_ref() for the subbuffer type in
5342           the init function.
5343
5344 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5345
5346         * docs/gst/gstreamer-sections.txt:
5347         * gst/gstpad.c: (gst_pad_peer_query):
5348         * gst/gstpad.h:
5349         Add function to perform a query on the peer of a pad.
5350         API: gst_pad_peer_query()
5351
5352 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
5353
5354         * tests/check/gst/gstsystemclock.c:
5355           Cleanup the test a little (use gst-logging and not g_message). Improve
5356           test to check if a wait reached the target.
5357
5358 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5359
5360         * docs/libs/gstreamer-libs-sections.txt:
5361           Add new API to docs and fix the build.
5362
5363 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
5364
5365         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5366         (gst_base_src_init), (gst_base_src_set_do_timestamp),
5367         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5368         (gst_base_src_get_property), (gst_base_src_do_sync):
5369         * libs/gst/base/gstbasesrc.h:
5370         Add property to make the basesrc timestamp buffers based on the current
5371         running time.
5372         API: GstBaseSrc::do-timestamp
5373         API: gst_base_src_set_do_timestamp()
5374         API: gst_base_src_get_do_timestamp()
5375
5376 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
5377
5378         * docs/random/release:
5379           Really make sure translations are up-to-date before
5380           a release (#465010).
5381
5382 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
5383
5384         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5385         Always destroy the timer, also in error cases.
5386
5387 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5388
5389         * docs/manual/highlevel-xml.xml:
5390         Fix XML example code. Fixes #472714.
5391
5392 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5393
5394         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5395         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5396         (gst_base_sink_query):
5397         Protect eos and have_preroll with the OBJECT lock so we don't need to
5398         take the PREROLL lock when querying the latency. Fixes #473846.
5399
5400 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
5401
5402         * gst/gstelement.c:
5403           Give some log-messages a category.
5404
5405 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
5406
5407         * gst/gststructure.c:
5408         (gst_structure_fixate_field_nearest_fraction):
5409         Fix fraction list fixation code. Take the fraction with the smallest
5410         difference with the target instead of the first one in the list.
5411
5412         * tests/check/gst/gststructure.c: (GST_START_TEST),
5413         (gst_structure_suite):
5414         Added test to verify correct fraction list fixation behaviour.
5415
5416 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
5417
5418         * win32/common/libgstreamer.def:
5419           Export gst_bus_add_signal_watch too.
5420
5421 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
5422
5423         * docs/libs/gstreamer-libs-sections.txt:
5424         Add new methods to docs.
5425
5426         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5427         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5428         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5429         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5430         * libs/gst/base/gstbasesink.h:
5431         Add ts-offset property to fine-tune the synchronisation.
5432         API: GstBaseSink::ts-offset property
5433         API: gst_base_sink_set_ts_offset()
5434         API: gst_base_sink_get_ts_offset()
5435
5436 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
5437
5438         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5439         (gst_base_sink_init), (gst_base_sink_set_sync),
5440         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5441         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5442         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5443         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5444         (gst_base_sink_get_property), (gst_base_sink_change_state):
5445         * libs/gst/base/gstbasesink.h:
5446         Add async property to instruct the sink never to inform the parent about
5447         ASYNC state changes, update docs.
5448         Check argument with g_return_* for the public functions.
5449         API: GstBaseSink::async property
5450         API: gst_base_sink_set_async_enabled()
5451         API: gst_base_sink_is_async_enabled()
5452
5453 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5454
5455         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5456         Improve debugging.
5457
5458         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5459         (gst_base_src_default_query), (gst_base_src_wait),
5460         (gst_base_src_do_sync), (gst_base_src_change_state):
5461         Rearrange some code so that we can add support for measuring the 
5462         startup latency.
5463
5464 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5465
5466         * docs/random/ensonic/dynlink.txt:
5467           More thoughs on this.
5468
5469         * plugins/elements/gstcapsfilter.c:
5470           Add bugzilla ticket number to FIXME comment.
5471
5472 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5473
5474         * docs/design/part-TODO.txt:
5475         * docs/design/part-block.txt:
5476         Update some docs.
5477
5478 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5479
5480         * gst/Makefile.am:
5481           Revert patch which uses $(gst_headers) instead of $^ because it
5482           breaks make dist.
5483
5484 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5485
5486         * tests/check/gst/gstbin.c: (GST_START_TEST):
5487           Fix leaks in the new unit test.
5488
5489 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5490
5491         * gst/gst.c:
5492           Don't use GST_INFO before the debug system is actually initialised
5493           (shouldn't do any harm, but won't print anything either, so we can
5494           just as well remove it).
5495
5496         * gst/gstinfo.h:
5497           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5498           compilers that don't support variadic macros (such as MSVC), should
5499           check for debug_level <= __gst_debug_min as well, since that's the
5500           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5501           inline helper functions. Should improve performance a bit, but also
5502           makes sure uses of GST_INFO et.al are ignored if the debugging
5503           system isn't initialised yet (instead of printing an assertion
5504           failure).
5505
5506 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5507
5508         patch by: David Nečas <yeti@physics.muni.cz>
5509
5510         * gst/Makefile.am:
5511           Replace some non portable makefile constructs.
5512
5513 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5514
5515         * common/gtk-doc-plugins.mak:
5516           Grrrrr. Don't remove the types file on make clean.
5517
5518 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5519
5520         * tools/gst-launch.1.in:
5521         Add colorspace to example pipeline. Fixes #458274.
5522
5523 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5524
5525         * docs/random/release:
5526           The release manager should run 'make download-po' before making a
5527           release to make sure translations are up-to-date.
5528
5529         * po/LINGUAS:
5530         * po/be.po:
5531         * po/pl.po:
5532         * po/rw.po:
5533           Add some new translations.
5534
5535 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5536
5537         * tools/gst-launch.c: (event_loop), (main):
5538         Don´t try to do any state management when a live pipeline posts
5539         buffering messages.
5540         Also make the buffering string translatable.
5541
5542 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5543
5544         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5545         (bin_handle_async_start), (gst_bin_handle_message_func):
5546         Improve debugging.
5547         When adding elements, insert messages into the bus of the newly added
5548         element and make sure the element is the source of the message. This
5549         allows the parent bin to intercept the message and do the
5550         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5551         messages to the app (which is not allowed).
5552         Update some docs.
5553
5554         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5555         Fix testsuite so that is does not work around messages that should not
5556         have been posted in the first place.
5557
5558 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5559
5560         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5561         (update_degree), (gst_bin_sort_iterator_next):
5562         Fix annoying bug in the sorted iterator where a sink that is not really
5563         a sink (when it has downstream links) screwed up the iterator.
5564
5565         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5566         Unit test to verify the fix.
5567
5568 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5569
5570         * gst/gstmessage.h:
5571         Add some more docs for the messages.
5572
5573         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5574         (gst_base_sink_query):
5575         Add some more debugging.
5576
5577         * tools/gst-launch.c: (event_loop):
5578         When interrupting, don't try to set pipeline to PAUSED twice.
5579
5580 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5581
5582         
5583         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5584         (bin_handle_async_start), (gst_bin_handle_message_func):
5585         Move ASYNC_START message posting to where it belongs, similar to
5586         async_done. 
5587         Don't post ASYNC_START when we are in error. 
5588         Post ASYNC_START when we added an async element to a bin.
5589
5590 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5591
5592         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5593         generation from vargs. Fixes #466595.
5594
5595 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5596
5597         * gst/gstbin.c: (gst_bin_element_set_state):
5598         Always change the state of a NO_PREROLL element even if it has ASYNC
5599         elements inside (in case of a bin).
5600
5601         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5602         Unit test for this case.
5603
5604 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5605
5606         * libs/gst/check/gstbufferstraw.c:
5607         * libs/gst/check/gstcheck.h:
5608         * libs/gst/controller/gstcontroller.c:
5609         * libs/gst/controller/gstcontrolsource.h:
5610         * libs/gst/controller/gstlfocontrolsource.h:
5611         * plugins/elements/gstcapsfilter.h:
5612         * plugins/elements/gstfdsink.h:
5613         * plugins/elements/gstfdsrc.h:
5614           Add more missing docs.
5615
5616 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5617
5618         * gst/gststructure.c:
5619         Add Since tag to docs.
5620
5621 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5622
5623         * docs/gst/gstreamer-sections.txt:
5624         * gst/gststructure.c: (gst_structure_get_uint):
5625         * gst/gststructure.h:
5626         Add function to get uint from a structure.
5627         API: gst_structure_get_uint()
5628
5629 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5630
5631         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5632         (gst_caps_intersect):
5633         Fix proper check for simple caps.
5634
5635 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5636
5637         * docs/gst/Makefile.am:
5638         * docs/libs/Makefile.am:
5639           Remove cruft and do some cleanups.
5640
5641         * docs/gst/gstreamer-docs.sgml:
5642         * docs/libs/gstreamer-libs-docs.sgml:
5643           Prepare for comming gtkdoc features (rebase against online docs).
5644
5645 2007-08-10  Michael Smith <msmith@fluendo.com>
5646
5647         * docs/gst/gstreamer-sections.txt:
5648           Add gst_registry_add_path to docs.
5649
5650 2007-08-10  Michael Smith <msmith@fluendo.com>
5651
5652         * gst/gstregistry.h:
5653           Add gst_registry_add_path, which was missing from this header.
5654
5655 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5656
5657         * libs/gst/controller/gstlfocontrolsource.c:
5658           Printf format fix.
5659
5660 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5661
5662         * libs/gst/base/gstbasesink.c:
5663           Don't send an async_start message during downwards state change if 
5664           target state is less than READY
5665
5666 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5667
5668         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5669
5670         * po/LINGUAS:
5671         * po/hu.po:
5672           Added Hungarian translation.
5673
5674 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5675
5676         * po/fi.po:
5677         * po/it.po:
5678         * po/nl.po:
5679         * po/sv.po:
5680         * po/uk.po:
5681           Updated translations.
5682
5683 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5684
5685         * libs/gst/controller/Makefile.am:
5686         Dist gstlfocontrolsourceprivate.h
5687
5688 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5689
5690         * docs/libs/gstreamer-libs.types:
5691         Don't register the enum type gst_lfo_waveform_get_type() in the
5692         .types file - only GObject derived types belong.
5693
5694 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5695
5696         Patch by: <arenevier at fdn dot fr>
5697
5698         * gst/gstbuffer.h:
5699         Remove comma from last element in enum to avoid compile errors when
5700         using -pendantic. Fixes #464366.
5701
5702 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5703
5704         * docs/design/part-TODO.txt:
5705         Add some more TODO items
5706
5707         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5708         Improve debugging.
5709
5710         * gst/gstcaps.c: (gst_caps_intersect):
5711         Optimize trivial intersection case between identical caps pointers.
5712
5713         * gst/gstelement.c: (gst_element_continue_state),
5714         (gst_element_set_state_func):
5715         * gst/gstpad.c:
5716         Fix spelling and grammar mistakes.
5717
5718 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5719
5720         * po/POTFILES.in:
5721         * po/POTFILES.skip:
5722           Update POTFILES. Fixes #461599.
5723
5724 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5725
5726         * gst/gst.c:
5727         Fix confusing typo in debug output.
5728
5729 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5730
5731         reviewed by: Stefan Kost <ensonic@users.sf.net>
5732
5733         * libs/gst/controller/Makefile.am:
5734         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5735         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5736         (gst_lfo_control_source_new),
5737         (gst_lfo_control_source_set_waveform),
5738         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5739         (gst_lfo_control_source_finalize),
5740         (gst_lfo_control_source_dispose),
5741         (gst_lfo_control_source_set_property),
5742         (gst_lfo_control_source_get_property),
5743         (gst_lfo_control_source_class_init):
5744         * libs/gst/controller/gstlfocontrolsource.h:
5745         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5746         API: Add GstLFOControlSource, a control source that gives values
5747         for specific timestamps based on several periodic waveforms.
5748         Fixes #459717.
5749
5750         * tests/check/libs/controller.c: (GST_START_TEST),
5751         (gst_controller_suite):
5752         * docs/libs/gstreamer-libs-docs.sgml:
5753         * docs/libs/gstreamer-libs-sections.txt:
5754         * docs/libs/gstreamer-libs.types:
5755         Add documentation and unit tests for GstLFOControlSource.
5756
5757 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5758
5759         * configure.ac:
5760         Back to CVS
5761
5762 === release 0.10.14 ===
5763
5764 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5765
5766         * configure.ac:
5767           releasing 0.10.14, "Breathing Vacuum"
5768
5769 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5770
5771         * gst/gstelement.c: (gst_element_class_set_details_simple):
5772         * gst/gstelement.h:
5773           Make strings passed to gst_element_class_set_details_simple()
5774           constant, as they should be (#462752).
5775
5776 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5777
5778         * gst/gstbin.c: (gst_bin_change_state_func),
5779         (bin_handle_async_done), (gst_bin_handle_message_func):
5780         Don't forget about the fact that some element went ASYNC even after a
5781         resync. This makes us post the ASYNC_DONE message correctly.
5782         Fixes #462558.
5783
5784 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5785
5786         * gst/gstregistry.c: (gst_registry_add_feature):
5787         When replacing an existing feature in the registry, make sure to
5788         continue holding a reference until we've replaced the name string
5789         within our feature hash table. Make sure to use g_hash_table_replace
5790         instead of g_hash_table_insert to ensure the new name string is used
5791         as a key instead of the old one that we're about to free.
5792         Fixes: #462085
5793
5794 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5795
5796         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5797         (gst_plugin_feature_set_name):
5798         Revert patch from #459466 until after the release and we can work
5799         out exactly what the problem is (if any).
5800
5801 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5802
5803         * docs/gst/gstreamer-sections.txt:
5804         * gst/gsttaglist.c:
5805         * gst/gsttaglist.h:
5806           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5807
5808 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5809
5810         * docs/libs/Makefile.am:
5811         Include our build-prefix libs and includes before the generic ones to
5812         avoid linking against the installed libs when we want the build-tree
5813         ones.
5814
5815 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5816
5817         Patch by: Steve Fink  <sphink gmail com>
5818
5819         * docs/pwg/building-testapp.xml:
5820           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5821           if people try to build or install the example from the plugin
5822           template against a GStreamer from package using the configure
5823           defaults.
5824
5825 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5826
5827         Patch by: Steve Fink  <sphink gmail com>
5828
5829         * tools/gst-inspect.1.in:
5830           Document --print-all and --print-plugin-auto-install-info command
5831           line options in man page.
5832
5833 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5834
5835         * docs/gst/gstreamer-sections.txt:
5836         Add docs for new api function.
5837
5838 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5839
5840         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5841         * gst/gstelementfactory.h:
5842         API: gst_element_factory_has_interface()
5843         Added method to check if an element factory implements a named
5844         interface.
5845
5846 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5847
5848         * configure.ac:
5849         * docs/gst/gstreamer.types.in:
5850           Another conditional doc check.
5851
5852         * gst/gstmessage.c:
5853         * gst/gstparamspecs.h:
5854         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5855         * gst/gstvalue.c:
5856         * gst/gstxml.h:
5857           API-doc fixes.
5858
5859 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5860
5861         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5862         (gst_registry_binary_load_feature),
5863         (gst_registry_binary_load_plugin),
5864         (gst_registry_binary_read_cache):
5865           Print error just once and with additional info.
5866
5867 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5868
5869         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5870         (helper_find_suggest), (helper_find_get_length),
5871         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5872         (gst_type_find_helper_for_buffer):
5873           Cleanup the typefindhelper code and add private doc comments.
5874
5875 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5876
5877         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5878         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5879         Fix capsfilter for cases where the caps set on capsfilter will provide
5880         additional information.
5881         Fixes #449197
5882
5883 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5884
5885         * gst/gsttypefindfactory.c:
5886           Fix docs that recommened wrong function to use.
5887
5888 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5889
5890         * tools/gst-inspect.c: (print_plugin_features):
5891           Also give media-type for typefinders in element output.
5892
5893 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5894
5895         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5896         (gst_registry_remove_features_for_plugin_unlocked),
5897         (gst_registry_add_feature), (gst_registry_remove_feature),
5898         (gst_registry_lookup_feature_locked):
5899         * gst/gstregistry.h:
5900           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5901           Fixes #459501.
5902
5903 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5904
5905         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5906         (gst_plugin_feature_set_name):
5907           Avoid double memory usage for pluginfeature names. Fixes #459466.
5908
5909 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5910
5911         * gst/gstpad.h:
5912           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5913           driving the pipeline may need to explicitly check for NOT_LINKED as
5914           well, since IS_FATAL doesn't cover that.
5915
5916 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5917
5918         * docs/pwg/advanced-types.xml:
5919           Fix typo and duplicate entry in video formats list.
5920
5921 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5922
5923         * libs/gst/controller/gstinterpolation.c:
5924         Also round to the nearest int when using cubic interpolation.
5925
5926 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5927
5928         * libs/gst/controller/gstinterpolation.c:
5929         When linearly interpolating integer types, round to the nearest int
5930         by adding 0.5. Don't do it for float/double types.
5931         Fixes the failing controller test on my machine, which is somehow
5932         rounding differently than on the buildbots.
5933
5934 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5935
5936         * tools/gst-plot-timeline.py:
5937           Better log parsing (categories can have -). Adjust text vs. lines, so
5938           that they span the same y-range.        
5939
5940 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5941
5942         * docs/random/ensonic/audiobaseclasses.txt:
5943         * docs/random/ensonic/dynlink.txt:
5944         * docs/random/ensonic/profiling.txt:
5945           Save my thoughts.
5946
5947         * docs/random/moving-plugins:
5948           Add note to use g_assert type macros.
5949
5950 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5951
5952         * configure.ac:
5953         * libs/gst/check/Makefile.am:
5954           Add libm check as we use in for plugins.
5955
5956 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5957
5958         * gst/gstbin.c: (gst_bin_continue_func):
5959         Check that the state_cookie hasn't changed since the continue_func
5960         was scheduled. Avoids problems where the state changes back to
5961         something it shouldn't be because it was changed in the meantime.
5962
5963 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5964
5965         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5966         (gst_registry_binary_save_string),
5967         (gst_registry_binary_save_pad_template),
5968         (gst_registry_binary_save_feature),
5969         (gst_registry_binary_save_plugin),
5970         (gst_registry_binary_load_feature),
5971         (gst_registry_binary_load_plugin),
5972         (gst_registry_binary_read_cache):
5973           Fix memory leak. Be less verbose in the log.
5974
5975 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5976
5977         * tests/check/elements/.cvsignore:
5978         Add file to cvsignore as commanded.
5979
5980 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5981
5982         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5983         (mq_dummypad_event), (run_output_order_test):
5984         Use a GStaticMutex to protect all cases where libcheck
5985         fail_if/fail_unless macros might be called from multiple threads
5986         simultaneously to avoid errors like:
5987           "check_pack.c:107: :-1081725400:Bad message type arg"
5988
5989 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5990
5991         * tests/check/pipelines/stress.c: (GST_START_TEST):
5992         Make sure we set the pipeline back to the NULL state before
5993         dropping our final reference.
5994
5995 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5996
5997         * tests/check/elements/tee.c: (GST_START_TEST):
5998         Make the tee stress-test a little less stressful so it doesn't just
5999         time out on slow-machines, and remove a small race when it's starting 
6000         up by adding a get_state() call.
6001
6002 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
6003
6004         * gst/gst.c:
6005           Avoid reading registry twice on startup. Fixes #457322.
6006
6007 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
6008
6009         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6010         * pkgconfig/gstreamer-check.pc.in:
6011         Substitute the CFLAGS for libcheck into our .pc file too so that
6012         dependent modules will pick it up properly if libcheck is installed
6013         into some other prefix.
6014
6015 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
6016
6017         * configure.ac:
6018         Revert the pkg-config check for libcheck, since it pulls in the
6019         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
6020         a proper solution, either from the check project, or something else.
6021
6022 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
6023
6024         * configure.ac:
6025           Use pkg-config to locate check.
6026
6027 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
6028
6029         * gst/gsttaglist.c:
6030           Fix doc syntax.
6031
6032         * gst/gstutils.c:
6033         * gst/gstutils.h:
6034           Add deprecation guards.
6035
6036         * libs/gst/base/gstcollectpads.h:
6037           Don't document object (this is implicitly private).
6038
6039 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
6040
6041         * gst/gststructure.c: (gst_structure_parse_value):
6042           When deserialising foo=bar without a type cast, check if it's a
6043           boolean before falling back to a string type, otherwise things like
6044           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
6045           because the filtercaps end up having a signed=(string)true field,
6046           which causes problems later when intersection caps.
6047
6048         * tests/check/gst/gststructure.c: (GST_START_TEST):
6049           Add a unit test for this.
6050
6051 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
6052
6053         Reviewed by: Stefan Kost <ensonic@users.sf.net>
6054
6055         * libs/gst/controller/Makefile.am:
6056         * libs/gst/controller/gstcontroller.c:
6057         (gst_controlled_property_add_interpolation_control_source),
6058         (gst_controlled_property_new), (gst_controlled_property_free),
6059         (gst_controller_find_controlled_property),
6060         (gst_controller_new_valist), (gst_controller_new_list),
6061         (gst_controller_new), (gst_controller_remove_properties_valist),
6062         (gst_controller_remove_properties_list),
6063         (gst_controller_remove_properties),
6064         (gst_controller_set_property_disabled),
6065         (gst_controller_set_disabled), (gst_controller_set_control_source),
6066         (gst_controller_get_control_source), (gst_controller_get),
6067         (gst_controller_sync_values), (gst_controller_get_value_array),
6068         (_gst_controller_dispose), (gst_controller_get_type),
6069         (gst_controlled_property_set_interpolation_mode),
6070         (gst_controller_set), (gst_controller_set_from_list),
6071         (gst_controller_unset), (gst_controller_unset_all),
6072         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
6073         * libs/gst/controller/gstcontroller.h:
6074         * libs/gst/controller/gstcontrollerprivate.h:
6075         * libs/gst/controller/gstcontrolsource.c:
6076         (gst_control_source_class_init), (gst_control_source_init),
6077         (gst_control_source_get_value),
6078         (gst_control_source_get_value_array), (gst_control_source_bind):
6079         * libs/gst/controller/gstcontrolsource.h:
6080         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
6081         (gst_object_get_control_source):
6082         * libs/gst/controller/gstinterpolation.c:
6083         (gst_interpolation_control_source_find_control_point_node),
6084         (gst_interpolation_control_source_get_first_value),
6085         (_interpolate_none_get), (interpolate_none_get),
6086         (interpolate_none_get_boolean_value_array),
6087         (interpolate_none_get_enum_value_array),
6088         (interpolate_none_get_string_value_array),
6089         (_interpolate_trigger_get), (interpolate_trigger_get),
6090         (interpolate_trigger_get_boolean_value_array),
6091         (interpolate_trigger_get_enum_value_array),
6092         (interpolate_trigger_get_string_value_array):
6093         * libs/gst/controller/gstinterpolationcontrolsource.c:
6094         (gst_control_point_free), (gst_interpolation_control_source_reset),
6095         (gst_interpolation_control_source_new),
6096         (gst_interpolation_control_source_set_interpolation_mode),
6097         (gst_interpolation_control_source_bind),
6098         (gst_control_point_compare), (gst_control_point_find),
6099         (gst_interpolation_control_source_set_internal),
6100         (gst_interpolation_control_source_set),
6101         (gst_interpolation_control_source_set_from_list),
6102         (gst_interpolation_control_source_unset),
6103         (gst_interpolation_control_source_unset_all),
6104         (gst_interpolation_control_source_get_all),
6105         (gst_interpolation_control_source_get_count),
6106         (gst_interpolation_control_source_init),
6107         (gst_interpolation_control_source_finalize),
6108         (gst_interpolation_control_source_dispose),
6109         (gst_interpolation_control_source_class_init):
6110         * libs/gst/controller/gstinterpolationcontrolsource.h:
6111         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
6112         API: Refactor GstController into the core controller which can take
6113         a GstControlSource for providing actual values for timestamps.
6114         Implement a interpolation control source and use this for backward
6115         compatibility, deprecate a bunch of functions that are now handled
6116         by GstControlSource or GstInterpolationControlSource.
6117         Make it possible to disable the controller completely or only for
6118         specific properties. Fixes #450711.
6119         * docs/libs/gstreamer-libs-docs.sgml:
6120         * docs/libs/gstreamer-libs-sections.txt:
6121         * docs/libs/gstreamer-libs.types:
6122         Add new functions and classes to the docs.
6123         * tests/check/libs/controller.c: (GST_START_TEST),
6124         (gst_controller_suite):
6125         * tests/examples/controller/audio-example.c: (main):
6126         Port unit test and example to the new API and add some new
6127         unit tests.
6128
6129 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
6130
6131         Patch by: Mark Nauwelaerts <manauw at skynet be>
6132
6133         * plugins/elements/gstmultiqueue.c:
6134         (gst_multi_queue_get_internal_links), (apply_buffer),
6135         (single_queue_overrun_cb), (gst_single_queue_new):
6136         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
6137         the pipeline layout can be tracked correctly. Fixes #453732.
6138
6139 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
6140
6141         * docs/gst/Makefile.am:
6142         * docs/libs/Makefile.am:
6143         * docs/plugins/Makefile.am:
6144           Simplify --extra-dir as gtkdoc scans recursively.
6145
6146 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6147
6148         * tools/gst-launch.c: (main):
6149         When we got an error, there is no point in waiting for preroll when
6150         shutting down.
6151
6152 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6153
6154         * plugins/elements/gsttee.c: (gst_tee_base_init),
6155         (gst_tee_request_new_pad), (gst_tee_release_pad),
6156         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6157         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6158         (gst_tee_chain):
6159         Be a lot smarter when deciding what srcpad to use for proxying
6160         the buffer_alloc. Also handle pad added/removed when doing so.
6161         Fixes #357959.
6162         Keep track of what pads we already pushed on in case we have pads
6163         added/removed while pushing. Fixes #374639 
6164
6165         * tests/check/Makefile.am:
6166         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6167         (tee_suite):
6168         Added unit test for pad resync.
6169
6170 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6171
6172         * po/nl.po:
6173         * po/sv.po:
6174           Updated translations.
6175
6176 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6177
6178         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6179
6180         * po/LINGUAS:
6181         * po/fi.po:
6182           Added new Finnish translation.
6183
6184 2007-06-28  Wim Taymans  <wim@fluendo.com>
6185
6186         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6187         (single_queue_overrun_cb):
6188         When figuring out when a queue is filled, use our internal time estimate
6189         based on segments, just like check_full does.
6190
6191 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6192
6193         * gst/gstminiobject.c: (gst_mini_object_get_type):
6194           Remove 3 do-nothing methods.
6195
6196 2007-06-27  Wim Taymans  <wim@fluendo.com>
6197
6198         Patch by: Tim Angus <tim at ngus dot net>
6199
6200         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6201         (gst_capsfilter_set_property):
6202         Take a reference instead of a copy when setting "caps".
6203         Fix documentation to clarify this behaviour. Fixes #449414.
6204
6205 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6206
6207         * gst/gstindexfactory.c: (gst_index_factory_get_type):
6208         * gst/gstplugin.c: (gst_plugin_init):
6209         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6210         * gst/gstquery.c: (gst_query_get_type):
6211         * gst/gstregistry.c: (gst_registry_init):
6212         * gst/gsturi.c: (gst_uri_handler_base_init):
6213           Remove empty instance_init() functions to save relocs and lessen the
6214           noise. Remove some of the function prototypes that are doubled by
6215           G_DEFINE_TYPE.
6216           
6217 2007-06-27  Wim Taymans  <wim@fluendo.com>
6218
6219         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6220
6221         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6222         Add peer and direction in the XML serialisation of ghostpads.
6223         Fixes #449226.
6224
6225 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6226
6227         * configure.ac:
6228           Preserve useful information, thanks Tim.
6229
6230 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
6231
6232         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6233         (gst_single_queue_flush), (apply_segment), (apply_buffer),
6234         (gst_single_queue_push_one), (gst_multi_queue_loop),
6235         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6236         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6237         (compute_high_id), (gst_single_queue_new):
6238         * plugins/elements/gstmultiqueue.h:
6239         Take the multiqueue lock when updating the fill level so we don't get
6240         confused. 
6241
6242         After applying a buffer or event on the src pad segment, make sure to
6243         call gst_data_queue_limits_changed() to get the data queue to unblock
6244         and check the filled state again.
6245         
6246         Rework the not-linked pad handling so the logic is that not-linked 
6247         pads can push as fast as they like, but only so they never get 
6248         ahead of any linked pads.
6249
6250         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6251         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6252         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6253
6254         Add a test to check that not-linked pads always stay behind
6255         linked pads.
6256
6257         Fixes: #430682
6258
6259 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
6260
6261         * docs/random/release:
6262           Some updates to the release procedure.
6263
6264 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6265
6266         * gst/gstelementfactory.c: (__gst_element_details_clear):
6267           Microoptimization that saves stunning 80 bytes.
6268
6269 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
6270
6271         * docs/plugins/gstreamer-plugins.args:
6272         * docs/plugins/inspect/plugin-coreelements.xml:
6273         * docs/plugins/inspect/plugin-coreindexers.xml:
6274           Update docs with caps info.
6275
6276 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6277
6278         * po/it.po:
6279           Updated Italian translation.
6280
6281 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6282
6283         * ChangeLog:
6284         * po/vi.po:
6285           Update Vietnamese translations.
6286
6287 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6288
6289         * libs/gst/base/gstbasesink.c:
6290           Remove unused signal enum.
6291
6292 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6293
6294         * docs/gst/gstreamer-sections.txt:
6295         * gst/gstelement.c:
6296         * gst/gstutils.c: (gst_type_register_static_full):
6297         Beef up and include the docs for gst_type_register_static_full and
6298         gst_element_class_set_details_simple and add the API keyword
6299         in the ChangeLog.
6300
6301 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6302
6303         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6304         (update_time_level), (gst_single_queue_push_one),
6305         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6306         (single_queue_overrun_cb), (single_queue_underrun_cb),
6307         (single_queue_check_full):
6308         Fix setting max-* properties after adding queues.
6309         Use IS_FILLED for checking visible items.
6310         Signal overrun if multiple queues overrun.
6311         Add extra debug output.
6312         Patch by: Wim Taymans <wim@fluendo.com>
6313
6314 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
6315
6316         * gst/gstelement.c: (gst_element_class_set_details_simple):
6317         * gst/gstelement.h:
6318         * gst/gstutils.c: (gst_type_register_static_full):
6319         * gst/gstutils.h:
6320         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6321         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6322         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6323         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6324         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6325         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6326         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6327         * plugins/elements/gstidentity.c: (gst_identity_base_init):
6328         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6329         * plugins/elements/gstqueue.c: (gst_queue_base_init),
6330         (apply_buffer), (gst_queue_chain):
6331         * plugins/elements/gsttee.c: (gst_tee_base_init):
6332         * plugins/elements/gsttypefindelement.c:
6333         (gst_type_find_element_base_init),
6334         (gst_type_find_element_class_init):
6335           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6336           API: add gst_type_register_static_full
6337           API: add gst_element_class_set_details_simple
6338
6339 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6340
6341         * docs/pwg/advanced-types.xml:
6342           Fix typo in iana.org URI.
6343
6344 2007-06-19  Andy Wingo  <wingo@pobox.com>
6345
6346         * tests/check/pipelines/simple-launch-lines.c
6347         (test_state_change_returns): Enable pull-mode tests now that
6348         basesink has been fixed.
6349
6350         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6351         Changed from gst_base_sink_is_prerolled, reversing the sense of
6352         the return value. Returns FALSE also if the sink is in pull mode,
6353         in which case it needs no preroll.
6354         (gst_base_sink_query, gst_base_sink_change_state): Update for
6355         needs_preroll change.
6356         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6357         chaining up, in which we return SUCCESS directly if we activated
6358         in pull mode instead of ASYNC. Involves countering an async_start
6359         message sent before chaining up; not sure if this is correct, in
6360         an ideal world we only send async-start when activating in push
6361         mode.
6362
6363         * tests/check/pipelines/simple-launch-lines.c
6364         (test_state_change_returns): New test, partially disabled until
6365         basesink is fixed.
6366
6367 2007-06-19  Wim Taymans  <wim@fluendo.com>
6368
6369         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6370         (gst_multi_queue_sink_event):
6371         Fix event leak.
6372
6373 2007-06-19  Wim Taymans  <wim@fluendo.com>
6374
6375         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6376         (gst_bin_change_state_func), (bin_push_state_continue),
6377         (bin_handle_async_start), (bin_handle_async_done),
6378         (gst_bin_handle_message_func):
6379         Move the common code for posting state-change messages into
6380         one function.
6381         Broadcast the state signal after we posted the messages.
6382         Mark the bin as busy when it's doing a state-change.
6383         Make sure async-start/done messages don't interfere with the bin's
6384         state when it's busy.
6385         After the state change, let the bin check which elements completed the
6386         state change while it was busy so that it can update its state.
6387
6388 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
6389
6390         * docs/random/release:
6391         Add a note about updating the doap file to the release checklist
6392
6393 2007-06-18  Wim Taymans  <wim@fluendo.com>
6394
6395         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6396         (gst_single_queue_push_one), (gst_multi_queue_chain),
6397         (gst_multi_queue_sink_event):
6398         Make sure we don't reference the buffer/event after we have given away
6399         ownership in the queue.
6400
6401 2007-06-18  Wim Taymans  <wim@fluendo.com>
6402
6403         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6404         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6405         Update queue state _after_ adding the item in the queue because else we
6406         could end up being full without the element added yet.
6407
6408 2007-06-18  Wim Taymans  <wim@fluendo.com>
6409
6410         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6411         (gst_bin_remove_func), (gst_bin_get_state_func),
6412         (gst_bin_element_set_state), (gst_bin_continue_func),
6413         (bin_push_state_continue), (bin_handle_async_start),
6414         (bin_handle_async_done), (gst_bin_handle_message_func):
6415         * gst/gstbin.h:
6416         Immediatly commit the toplevel bin state when receiving an async-done
6417         message. This enables us to avoid spawning a thread to commit the state
6418         in some common cases and it also avoids some races.
6419         Avoid spawning a state thread when adding/removing async elements to a
6420         toplevel bin. Instead we immediatly update the bin state.
6421         Get rid of iterating all the children when getting the state in the bin
6422         because it is now always up-to-date.
6423         Fix bug where locked elements would always return _SUCCESS even it they
6424         returned NO_PREROLL before being locked.
6425         Fix the order of the state_change, async-start/done messages that was
6426         sometimes incorrect.
6427         Mark the state_dirty field as deprecated, we don't need it anymore as we
6428         are always up-to-date.
6429
6430         * gst/gstelement.c: (gst_element_get_state_func),
6431         (gst_element_continue_state):
6432         Small debug inprovements.
6433         Return the previous element state return when nothing is pending instead
6434         of blindly returning SUCCESS.
6435
6436         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6437         (gst_sinks_suite):
6438         Add a whole bunch of new testcases.
6439
6440 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6441
6442         * po/uk.po:
6443         * po/vi.po:
6444           Update translations.
6445
6446 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
6447
6448         * gst/gstpad.c:
6449         Fix typo in the docs.
6450
6451 2007-06-15  Wim Taymans  <wim@fluendo.com>
6452
6453         * docs/libs/gstreamer-libs-sections.txt:
6454         Add docs for new methods.
6455
6456 2007-06-15  Wim Taymans  <wim@fluendo.com>
6457
6458         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6459         (gst_multi_queue_item_new):
6460         Don't use GSlice because we don't depend on >= 2.10 yet.
6461
6462 2007-06-15  Wim Taymans  <wim@fluendo.com>
6463
6464         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6465         (update_time_level), (apply_segment), (apply_buffer),
6466         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6467         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6468         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6469         (single_queue_underrun_cb), (single_queue_check_full):
6470         Remove debug printf.
6471
6472 2007-06-15  Wim Taymans  <wim@fluendo.com>
6473
6474         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6475         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6476         (gst_data_queue_set_flushing), (gst_data_queue_push),
6477         (gst_data_queue_pop), (gst_data_queue_drop_head),
6478         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6479         * libs/gst/base/gstdataqueue.h:
6480         Various cleanups.
6481         Added methods to get the current levels and to inform the queue that the
6482         'full' limits changed.
6483
6484         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6485         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6486         (gst_single_queue_flush), (update_time_level), (apply_segment),
6487         (apply_buffer), (gst_single_queue_push_one),
6488         (gst_multi_queue_item_steal_object),
6489         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6490         (gst_multi_queue_loop), (gst_multi_queue_chain),
6491         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6492         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6493         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6494         (single_queue_underrun_cb), (single_queue_check_full),
6495         (gst_single_queue_new):
6496         Keep track of time in the queue by measuring the difference between
6497         running_time on input and output. This gives more accurate results and
6498         can compensate for segments correctly.
6499         Make a queue by default only 5 buffers deep. We will now increase the
6500         buffer size depending on the filledness of the other queues.
6501         Factor out commong flush code.
6502         Make sure we don't add additional refcounts to buffers when we can avoid
6503         it.
6504         Propagate GstFlowReturn differently.
6505         Use GSlice for intermediate GstMultiQueueItems.
6506         Keep track of EOS.
6507         Resize queues on over and underruns based on filled level of other
6508         queues.
6509         When checking if the queue is filled, prefer to measure in time if we
6510         can and fall back to bytes when no time is known.
6511
6512         * plugins/elements/gstqueue.c:
6513         Fix return value.
6514
6515 2007-06-15  Wim Taymans  <wim@fluendo.com>
6516
6517         * libs/gst/base/gstbasetransform.c:
6518         (gst_base_transform_sink_event):
6519         Work around the brokenness of the event vmethod in basetransform. Prefer
6520         to return TRUE when the subclass returned FALSE (meaning don't forward
6521         the event). 
6522
6523         * libs/gst/base/gstbasetransform.h:
6524         Clarify the docs.
6525
6526 2007-06-15  Wim Taymans  <wim@fluendo.com>
6527
6528         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6529         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6530         (gst_base_src_default_query), (gst_base_src_get_range),
6531         (gst_base_src_start):
6532         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6533         Improve debugging.
6534
6535 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6536
6537         * docs/pwg/advanced-types.xml:
6538           Added more formats to caps table.
6539
6540 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6541
6542         * tools/gst-launch.c: (main):
6543           Remove crufy code. GOption does not need this workaround.
6544
6545 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6546
6547         * libs/gst/controller/gstcontroller.c:
6548         (gst_controlled_property_set_interpolation_mode):
6549           Fix wrong getter for enums in controller.
6550
6551 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6552
6553         * libs/gst/check/gstcheck.c: (gst_check_init):
6554           Intercept criticals and warnings in the Gst-Phonon log domain, so
6555           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6556           well.
6557         
6558 2007-06-14  Edward Hervey  <edward@fluendo.com>
6559
6560         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6561         Since this file doesn't include "gst.h" it will not go through the
6562         macros that disable GST_LOG if debugging was disabled.
6563
6564 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6565
6566         * libs/gst/check/Makefile.am:
6567         * libs/gst/check/gstcheck.h:
6568         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6569         * pkgconfig/gstreamer-check.pc.in:
6570           Ugly 'fix' for the controller unit test on the p5 bot: in
6571           fail_unless_equals_float() check whether the values are 'almost
6572           equal' by allowing a small absolute error, which should be good
6573           enough for our use cases (normal numbers and values close to 0).
6574           Proper fixage left to floating point arithmetic aficionados.
6575
6576 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6577
6578         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6579         (gst_base_sink_render_object), (gst_base_sink_get_position):
6580           Add two breaks thats where missing.
6581
6582 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6583
6584         * docs/libs/gstreamer-libs-sections.txt:
6585         * libs/gst/check/gstcheck.h:
6586           API: add fail_unless_equals_float() and assert_equals_float().
6587           Add documentation for some of the macros.
6588
6589         * tests/check/libs/controller.c: (GST_START_TEST):
6590           Use newly-added asserts.
6591
6592 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6593
6594         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6595           Show the caps change in the log to help spotting the case of not
6596           exactly matching caps.
6597
6598 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6599
6600         * docs/pwg/building-boiler.xml:
6601           Fix typos, spotted by Thijs Vermeir (#447190).
6602
6603 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6604
6605         * docs/plugins/tmpl/.cvsignore:
6606         Ignore file to keep the buildbots happy
6607
6608 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6609
6610         * docs/plugins/Makefile.am:
6611         * docs/plugins/gstreamer-plugins-docs.sgml:
6612         * docs/plugins/gstreamer-plugins-sections.txt:
6613         Pull fdsink into the docs too.
6614
6615 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6616
6617         * libs/gst/controller/gstinterpolation.c:
6618         Actually use the new functions with min/max checks for the trigger and
6619         none interpolation modes for get() and get_value_array() instead of
6620         just the latter.
6621
6622 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6623
6624         * libs/gst/controller/gstcontroller.c:
6625         (gst_controlled_property_free):
6626         Unset the minimum and maximum GValues when freeing the corresponding
6627         GstControllerProperty struct.
6628
6629 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6630
6631         * libs/gst/controller/gstcontroller.c:
6632         (gst_controlled_property_new):
6633         * libs/gst/controller/gstcontrollerprivate.h:
6634         * libs/gst/controller/gstinterpolation.c:
6635         (gst_controlled_property_find_control_point_node),
6636         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6637         (interpolate_none_get_string_value_array),
6638         (interpolate_trigger_get),
6639         (interpolate_trigger_get_enum_value_array),
6640         (interpolate_trigger_get_string_value_array):
6641         Protect against values larger or smaller than the minimum or maximum
6642         allowed value for the property when using values that can be compared.
6643
6644         Optimize trigger interpolator a bit by taking the last requested value
6645         into account instead of always looping through the complete list.
6646
6647         Fix coding style a bit, everywhere else we use "return foo" instead
6648         of "return (foo)".
6649         
6650         * tests/check/libs/controller.c: (GST_START_TEST),
6651         (gst_controller_suite):
6652         Add unit test for the protection against too large or too small
6653         values.
6654
6655 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6656
6657         * docs/random/slomo/controller.txt:
6658         Add some thoughts about the future of the controller.
6659
6660 2007-06-08  Wim Taymans  <wim@fluendo.com>
6661
6662         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6663         Don't overflow in retimestamping code.
6664
6665 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6666
6667         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6668         Use gst_util_guint64_to_gdouble for conversions.
6669         * win32/common/libgstreamer.def:
6670         Add new exported functions.
6671
6672 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6673
6674         * gst/gstutils.c:
6675           Small docs addition.
6676
6677 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6678
6679         * README:
6680           Remove that test line again.
6681
6682 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6683
6684         * README:
6685           Test commit mail sending.
6686
6687 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6688
6689         * configure.ac:
6690           Fix typo and test commit mail sending.
6691
6692 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6693
6694         * tests/examples/controller/audio-example.c:
6695           Improve comment and test commit mail sending.
6696
6697 2007-06-07  Wim Taymans  <wim@fluendo.com>
6698
6699         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6700         (gst_bin_remove_func), (gst_bin_element_set_state),
6701         (bin_handle_async_start), (bin_handle_async_done),
6702         (gst_bin_handle_message_func):
6703         Add helper function to find messages.
6704         Generate the async-done messages together with the state change
6705         messages.
6706         Small cleanups in handling toplevel bins.
6707
6708 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6709
6710         * libs/gst/base/gstdataqueue.c:
6711         * libs/gst/base/gstdataqueue.h:
6712         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6713         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6714         (gst_multi_queue_sink_event):
6715         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6716           Fix multiqueue leaking buffers and events when downstream or the
6717           queue are flushing. Make refcounting assumptions explicit and
6718           document them (shouldn't break existing code that uses it other than
6719           maybe leak miniobjects, but that already happens anyway). Add unit
6720           test for the most common flushing case. Fixes #423700.
6721           
6722 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6723
6724         * libs/gst/controller/gstcontroller.c:
6725         Clarify docs: The get_all, get_value_array(s) functions
6726         don't modify the GObject properties.
6727
6728 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6729
6730         * libs/gst/controller/gstcontroller.c:
6731         (gst_controlled_property_set_interpolation_mode),
6732         (gst_controlled_property_prepend_default),
6733         (gst_controlled_property_new), (gst_controller_set_unlocked),
6734         (gst_controller_set), (gst_controller_set_from_list),
6735         (gst_controller_unset), (gst_controller_unset_all):
6736         * libs/gst/controller/gstcontrollerprivate.h:
6737         * libs/gst/controller/gstinterpolation.c:
6738         Factor out the 'set' logic into gst_controller_set_unlocked for the
6739         gst_controller_set and gst_controller_set_from_list functions.
6740
6741         To make life of the interpolators easier always add a control point
6742         at timestamp zero with the default value.
6743
6744         In the linear interpolator make things more obvious by better variable
6745         naming (slope).
6746
6747         Implement cubic interpolation mode (by using a natural cubic spline)
6748         and map the quadratic interpolation mode to this too (as quadratic
6749         doesn't make much sense, see discussion on the list).
6750
6751         * tests/check/libs/controller.c: (GST_START_TEST),
6752         (gst_controller_suite):
6753         Add unit test for the cubic interpolation mode and check everywhere
6754         if the interpolation mode could be set as expected.
6755
6756 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6757
6758         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6759           Don't use GLib-2.10 functions, we still depend on
6760           GLib-how-old-is-it-again-2.8.
6761
6762 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6763
6764         * docs/gst/gstreamer-sections.txt:
6765         * gst/Makefile.am:
6766         * gst/gst.c:
6767         * gst/gst.h:
6768         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6769         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6770         (_gst_param_fraction_values_cmp),
6771         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6772         * gst/gstparamspecs.h:
6773         * gst/gstvalue.c:
6774         * tests/check/Makefile.am:
6775         * tests/check/gst/.cvsignore:
6776         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6777         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6778         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6779         (GST_START_TEST), (gst_param_spec_suite):
6780           API: add GstParamSpecFraction, so elements can have fraction
6781           properties without lots of painful string parsing (#444648).
6782
6783 2007-06-05  Wim Taymans  <wim@fluendo.com>
6784
6785         * gst/gstobject.c: (gst_object_class_init):
6786         Fix signal signature.
6787
6788         * gst/gstsegment.c:
6789         Add small clarification in the api docs.
6790
6791         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6792         States are protected with object lock.
6793
6794 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6795
6796         * AUTHORS:
6797         I should probably be listed as an author by now.
6798
6799         * docs/random/release:
6800         Update the release doc
6801
6802 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6803
6804         * gst/gstvalue.c:
6805           Make docs for gst_value_compare() mention return enums that
6806           actually exist.
6807
6808 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6809
6810         * configure.ac:
6811           Back to CVS
6812
6813 === release 0.10.13 ===
6814
6815 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6816
6817         * configure.ac:
6818           releasing 0.10.13, "With or without you"
6819
6820 2007-05-25  Wim Taymans  <wim@fluendo.com>
6821
6822         * gst/gstbin.c: (bin_handle_async_done):
6823         Make sure that the child bin stops after completing the async state
6824         change so that the parent can continue the state change to PLAYING.
6825         Fixes #441159.
6826
6827 2007-05-25  Wim Taymans  <wim@fluendo.com>
6828
6829         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6830         (unref_data), (gst_collect_pads_remove_pad),
6831         (gst_collect_pads_check_pads):
6832         Use additional refcounting to avoid crashes when dynamically adding and
6833         removing pads. Fixes #420206.
6834
6835 2007-05-24  Wim Taymans  <wim@fluendo.com>
6836
6837         * tools/gst-launch.c: (event_loop):
6838         When buffering goes from a two digit to a single digit number, make sure
6839         to remove the old second digit by writing a blank over it.
6840
6841 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6842
6843         * libs/gst/base/gstdataqueue.c:
6844           Eliminate tabs and trailing comma in enum list; fix some typos.
6845
6846 2007-05-24  Wim Taymans  <wim@fluendo.com>
6847
6848         * tests/check/gst/gstbin.c: (GST_START_TEST):
6849         Allow refcount of 3 and 4 because some state thread might still be busy
6850         with it.
6851
6852 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6853
6854         * plugins/elements/Makefile.am:
6855         * plugins/elements/gstmultiqueue.h:
6856         * plugins/elements/gstqueue.h:
6857           These are not installed headers, no need for padding.
6858
6859 2007-05-24  Wim Taymans  <wim@fluendo.com>
6860
6861         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6862         (gst_bin_continue_func):
6863         Enable latency for next release.
6864         Restore STATE_LOCK around recalc_state that was left out during the
6865         rewrite and could result in racy behaviour when _get_state and
6866         recalc_state are run concurrently. See #440463.
6867
6868 2007-05-23  Wim Taymans  <wim@fluendo.com>
6869
6870         * tests/check/gst/gstsystemclock.c: (store_callback),
6871         (GST_START_TEST):
6872         Improve test_async_order to also work when both timers are already
6873         expired when we get scheduled to check it.
6874
6875 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6876
6877         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6878         (gst_bin_set_property), (gst_bin_get_property),
6879         (gst_bin_remove_func), (gst_bin_handle_message_func):
6880         * gst/gstbin.h:
6881           'private' is a c++ keyword, let's not use that in header files,
6882           otherwise c++ compilers will throw a tantrum.
6883
6884 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6885
6886         * plugins/elements/gstelements.c:
6887         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6888         (gst_file_sink_get_current_offset):
6889         * plugins/indexers/gstindexers.c: (plugin_init):
6890           Use #ifdef for HAVE_XYZ for consistency.
6891
6892         * tests/check/Makefile.am:
6893         * tests/check/elements/.cvsignore:
6894         * tests/check/elements/filesink.c: (setup_filesink),
6895         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6896           Add some unit tests for filesink.
6897
6898 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6899
6900         Patch by: Mark Nauwelaerts <manauw at skynet be>
6901
6902         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6903         (gst_file_sink_query), (gst_file_sink_do_seek),
6904         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6905         * plugins/elements/gstfilesink.h:
6906           Fix position reporting; rename data_written member to current_pos to
6907           reflect its real meaning (fixes #412648).
6908
6909 2007-05-22  Edward Hervey  <edward@fluendo.com>
6910
6911         * docs/gst/gstreamer-sections.txt:
6912         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6913         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6914         (gst_bin_remove_func), (gst_bin_handle_message_func):
6915         * gst/gstbin.h:
6916         Add a property for bins that handle the state change of their childs.
6917         Fixes #435880
6918
6919 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6920
6921         * libs/gst/controller/gstinterpolation.c:
6922         Use an array of the correct type when using _get_value_array with
6923         linear interpolation.
6924
6925 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6926
6927         * gst/gstelement.c (gst_element_requires_clock,
6928           gst_element_provides_clock, gst_element_request_pad,
6929           gst_element_class_set_details, gst_element_class_set_details_simple,
6930           gst_element_default_send_event, gst_element_abort_state,
6931           gst_element_continue_state, gst_element_set_state,
6932           gst_element_set_state_func, iterator_activate_fold_with_resync):
6933         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6934           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6935           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6936           gst_pad_get_range, gst_pad_pull_range):
6937         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6938           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6939           GstPadActivateModeFunction, GstPadChainFunction,
6940           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6941           GstPadFixateCapsFunction, GstPadTemplate):
6942         * gst/gstpipeline.c (gst_pipeline_change_state,
6943           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6944           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6945           gst_pipeline_get_delay):
6946           Whitespace and docs fixes.
6947
6948 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6949
6950         * libs/gst/controller/gstinterpolation.c:
6951         (interpolate_trigger_get_enum_value_array),
6952         (interpolate_trigger_get_string_value_array):
6953         Add support for retrieving value arrays when using the trigger
6954         interpolation mode. 
6955
6956 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6957
6958         * libs/gst/controller/gstcontroller.c:
6959         (gst_controller_get_value_array):
6960         * libs/gst/controller/gstcontroller.h:
6961         Clarify the docs of gst_controller_get_value_array(): The array where
6962         the values should be written to must be allocated as there seems to be
6963         no way to get the size of a random GType. This doesn't change any
6964         behaviour. Also fix some typos all over the place and remove an unused,
6965         commented function that is not necessary as g_object_set() could be
6966         used instead.
6967         * tests/check/libs/controller.c: (GST_START_TEST),
6968         (gst_controller_suite):
6969         Add unit test for gst_controller_get_value_array().
6970
6971 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6972
6973         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6974
6975         Disable part of the gst_buffer_try_new_and_alloc test, because
6976         it can happily succeed on 64-bit systems where there's more address
6977         space available.
6978
6979 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6980
6981         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6982         Add unit test for the improved caps checking from bug #421543.
6983
6984 2007-05-21  Wim Taymans  <wim@fluendo.com>
6985
6986         * docs/design/part-synchronisation.txt:
6987         Small addition.
6988
6989         * gst/gstbin.c: (gst_bin_query):
6990         * plugins/elements/gstqueue.c: (apply_segment):
6991         Improve debugging.
6992
6993         * gst/gstmessage.h:
6994         Improve docs.
6995
6996 2007-05-21  Wim Taymans  <wim@fluendo.com>
6997
6998         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6999         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
7000         (gst_pad_configure_src):
7001         Added simple version of improved caps checking. It was previously
7002         assumed that a setcaps function would check the validity of the caps but
7003         people prefer us to check caps against the template automatically. 
7004         Fixes #421543.
7005
7006 2007-05-21  Wim Taymans  <wim@fluendo.com>
7007
7008         * libs/gst/base/gstbasetransform.h:
7009         Fix macro for locking/unlocking the transform lock.
7010
7011 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7012
7013         * docs/plugins/tmpl/.cvsignore:
7014           Ignore more.
7015
7016 2007-05-18  Edward Hervey  <edward@fluendo.com>
7017
7018         * plugins/elements/gstqueue.c: (gst_queue_loop):
7019         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
7020         for the subtle art of warning a potentially blocking thread that it
7021         should check the source pad return value, and relay the information
7022         upstream.
7023
7024 2007-05-18  Edward Hervey  <edward@fluendo.com>
7025
7026         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7027         Release the queue lock !
7028
7029 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7030
7031         * docs/libs/gstreamer-libs-sections.txt:
7032         Add the two new controller functions to the appropiate places.
7033
7034 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7035
7036         reviewed by: Stefan Kost <ensonic@users.sf.net>
7037
7038         * libs/gst/controller/gstcontroller.c:
7039         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
7040         (_gst_controller_get_property), (_gst_controller_set_property),
7041         (_gst_controller_init), (_gst_controller_class_init):
7042         * libs/gst/controller/gstcontroller.h:
7043         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
7044         (gst_object_get_control_rate), (gst_object_set_control_rate):
7045         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
7046         Add API that provides sync suggestion timestamps for elements that
7047         call gst_object_sync_values() from which those elements can subdivide
7048         their processing loop to get the best results for the controlled
7049         properties. For now it just suggests last_sync + control_rate as
7050         new timestamp but this will be improved in the future.
7051
7052         While doing that change the control-rate property to a GstClockTime
7053         from guint and change it's meaning from samples to nanoseconds as
7054         the GstController doesn't know anything about sampling rate. Strictly
7055         speaking this breaks ABI but as the control-rate property didn't do
7056         anything in the past and as such couldn't be used this should be no
7057         problem.        
7058
7059 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7060
7061         reviewed by: Stefan Kost <ensonic@users.sf.net>
7062
7063         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7064         (gst_controller_unset_all):
7065         * libs/gst/controller/gstcontrollerprivate.h:
7066         * libs/gst/controller/gstinterpolation.c:
7067         (gst_controlled_property_find_control_point_node):
7068         Save last synced value from the list to continue searching from there
7069         in future syncs. This speeds everything up a bit.
7070         
7071 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7072
7073         reviewed by: Stefan Kost <ensonic@users.sf.net>
7074
7075         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
7076         (gst_control_point_find), (gst_controlled_property_new),
7077         (gst_control_point_free), (gst_controlled_property_free),
7078         (gst_controller_set), (gst_controller_set_from_list),
7079         (gst_controller_unset), (gst_controller_unset_all),
7080         (gst_controller_sync_values):
7081         * libs/gst/controller/gstcontroller.h:
7082         * libs/gst/controller/gstcontrollerprivate.h:
7083         * libs/gst/controller/gstinterpolation.c:
7084         (gst_controlled_property_find_control_point_node),
7085         (interpolate_none_get), (interpolate_trigger_get):
7086         Add a new private GstControlPoint struct which "inherits" from
7087         GstTimedValue to allow different interpolators to store internal
7088         values next to each control point. From the outside everything is
7089         still a GstControlPoint so we don't loose binary compatibility.
7090         Also fixup all the GValue handling to not leak GValues or list nodes.
7091         * tests/check/libs/controller.c: (GST_START_TEST):
7092         Free the list nodes and GValues in the controller_misc test.
7093
7094 2007-05-17  Edward Hervey  <edward@fluendo.com>
7095
7096         * gst/gstsegment.c:
7097         Small doc fix.
7098
7099 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
7100
7101         * gst/gstplugin.c: (gst_plugin_load_file):
7102           If we fail to load a plugin because of unresolved symbols or missing
7103           libraries and spew a warning to stderr, we may just as well mention
7104           which plugin it was that failed to load.
7105
7106 2007-05-13  David Schleef  <ds@schleef.org>
7107
7108         * docs/Makefile.am: the gtk-doc makefile snippet correctly
7109           handles the case when ENABLE_GTK_DOC is false, and installs
7110           the prebuilt documentation.  So gtk-doc subdirs are 
7111           unconditionally enabled.  Fixes: #349099.
7112
7113 2007-05-13  David Schleef  <ds@schleef.org>
7114
7115         * gst/gstutils.h: Reword some documentation.
7116
7117 2007-05-12  David Schleef  <ds@schleef.org>
7118
7119         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
7120           do anything with the passed "module" parameter, so remove it.
7121           Allows removal of additional vestigal code.
7122
7123 2007-05-12  David Schleef  <ds@schleef.org>
7124
7125         * gst/gstplugin.c:
7126           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
7127           Switch to using g_stat() because it's more portable.
7128
7129 2007-05-12  David Schleef  <ds@schleef.org>
7130
7131         * gst/gst.c:
7132           Add GST_DISABLE_OPTION_PARSING, in order to disable option
7133           parsing for embedded systems.
7134         * gst/gstelementfactory.c:
7135           Allow gst_element_register() to be called with plugin==NULL.
7136           Did nobody notice that static elements were broken?
7137
7138 2007-05-12  Wim Taymans  <wim@fluendo.com>
7139
7140         * tools/gst-launch.c: (event_loop):
7141         Give more interesting info when buffering starts and stops.
7142         Fix case where buffering starts but we fail to update the buffering flag
7143         because the target state is not PLAYING.
7144
7145 2007-05-12  Wim Taymans  <wim@fluendo.com>
7146
7147         * plugins/elements/gstqueue.c: (gst_queue_init),
7148         (gst_queue_finalize), (update_time_level), (apply_segment),
7149         (apply_buffer), (gst_queue_locked_flush),
7150         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
7151         (gst_queue_handle_sink_event), (gst_queue_chain),
7152         (gst_queue_push_one), (gst_queue_loop):
7153         * plugins/elements/gstqueue.h:
7154         Refactor an cleanup queue a bit.
7155         Do better time level calculations that also work when the srcpad is not
7156         yet running.
7157         Remove some unneeded debug lines.
7158
7159         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7160         Added testcase for time level measurement.
7161         Try to make some stuff more racefree.
7162
7163 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7164
7165         * gst/gsturi.c: (gst_element_make_from_uri):
7166           Don't leak plugin feature.
7167
7168         * tests/check/Makefile.am:
7169         * tests/check/gst/.cvsignore:
7170         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7171           Add brain-dead unit test.
7172
7173 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7174
7175         Patch by: Jeroen Wouters <woutersj at gmail com>
7176
7177         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7178           Treat protocol strings in a case-insensitive way (#437563).
7179
7180 2007-05-11  Michael Smith <msmith@fluendo.com>
7181
7182         * gst/gstplugin.c: (gst_plugin_load_file):
7183         * gst/gstregistry.c: (gst_registry_scan_path_level):
7184           Don't print a g_warning for any failure to load a shared object.
7185           Instead, push this down into gstplugin.c, and warn _only_ if we
7186           failed to open the module (i.e. failure to link).
7187           Avoids warnings on normal, working, non-plugin .so files.
7188
7189 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
7190
7191         * gst/gstplugin.c (gst_plugin_load_file):
7192         * gst/gstregistry.c (GST_CAT_DEFAULT,
7193           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7194           Print a g_warning if there was an error when loading a plugins during
7195           registry scan. The shuld help beginners starting with gst-plugin
7196           template.
7197
7198 2007-05-10  Wim Taymans  <wim@fluendo.com>
7199
7200         * plugins/elements/gstqueue.c: (gst_queue_class_init),
7201         (update_time_level), (gst_queue_locked_flush),
7202         (gst_queue_handle_sink_event), (gst_queue_chain),
7203         (gst_queue_push_one), (gst_queue_loop):
7204         * plugins/elements/gstqueue.h:
7205         Be smarter when calculating the current amount of data in the queue by
7206         measuring the difference between start and end timestamps (in running
7207         time) inside the queue. Fixes #432876.
7208         API: GstQueue::pushing to notify elements that we are pushing data again
7209         since the running signal is rather broken for this purpose.
7210
7211 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
7212
7213         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7214           gst_queue_base_init, gst_queue_init):
7215           use GST_BOILERPLATE
7216
7217 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
7218
7219         * win32/common/libgstreamer.def:
7220         Add new exported functions.
7221         * win32/vs6/grammar.dsp:
7222         Use grammar pre-generated files.
7223
7224 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7225
7226         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
7227
7228         * gst/Makefile.am:
7229         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7230         * gst/gstparse.h:
7231         * gst/gstutils.c: (gst_parse_bin_from_description):
7232         * gst/gstutils.h:
7233           Maintain API and ABI when --disable-parse is used. Now that
7234           we have an appropriate error code, we can just return NULL and the
7235           appropriate error when gst_parse_launch() is used despite it having
7236           been disabled (#342564).
7237
7238         * tests/check/Makefile.am:
7239         * tests/check/pipelines/.cvsignore:
7240         * tests/check/pipelines/parse-disabled.c:
7241           Make sure these functions exist and return NULL plus a GError when
7242           --disable-parse is used.
7243
7244 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7245
7246         * tests/benchmarks/complexity.c: (main):
7247         * tests/benchmarks/mass-elements.c: (main):
7248           Set a good example and don't leak messages.
7249
7250 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
7251
7252         * docs/gst/Makefile.am:
7253         * docs/libs/Makefile.am:
7254           Correct fixxrefs options.
7255
7256         * docs/plugins/Makefile.am:
7257         * docs/plugins/gstreamer-plugins-docs.sgml:
7258         * docs/plugins/gstreamer-plugins-sections.txt:
7259         * plugins/elements/Makefile.am:
7260         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7261         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7262           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7263           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7264           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7265           _GstCapsFilterClass, trans_class):
7266         * plugins/elements/gstelements.c (name, rank, type, _elements):
7267         * plugins/elements/gstidentity.c
7268           (gst_identity_check_imperfect_timestamp,
7269           gst_identity_check_imperfect_offset):
7270           Document capsfilter and add doc-blurb to identity.
7271
7272 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
7273
7274         * libs/gst/controller/gstcontroller.c:
7275         (gst_controlled_property_set_interpolation_mode):
7276         * libs/gst/controller/gstinterpolation.c:
7277           Don't crash if someone tries to set an interpolation mode that
7278           is invalid or that isn't supported yet. Fixes #422295.
7279
7280         * tests/check/libs/controller.c: (GST_START_TEST),
7281         (gst_controller_suite):
7282           Add a test case for the above.
7283
7284 2007-05-03  Edward Hervey  <edward@fluendo.com>
7285
7286         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7287         Properly set the last_stop position on GstSegment. This will only happen
7288         if there is a buffer to push out.
7289
7290 2007-05-03  Wim Taymans  <wim@fluendo.com>
7291
7292         * libs/gst/base/gstbasetransform.c:
7293         (gst_base_transform_buffer_alloc):
7294         always_in_place does not mean that the sink and source caps are the
7295         same! Make sure we don't blindly proxy the buffer_alloc in this case.
7296
7297 2007-05-03  Wim Taymans  <wim@fluendo.com>
7298
7299         * docs/libs/gstreamer-libs-sections.txt:
7300         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7301         (gst_base_src_default_query), (gst_base_src_get_range):
7302         * libs/gst/base/gstbasesrc.h:
7303         API: gst_base_src_query_latency(). Added method so that subclasses can
7304         easily get the latency values of the base source class.
7305
7306 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
7307
7308         * tools/gst-inspect.c (print_implementation_info):
7309         Remove 0.8 cruft.
7310
7311 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
7312
7313         * tools/Makefile.am:
7314         * tools/gst-launch.1.in:
7315           Don't create a customised man page based on the host architecture,
7316           describe the default registry path generically. That way the man
7317           page is the same for all architectures and packagers have one
7318           multilib issue less to deal with. Fixes #434926.
7319
7320 2007-05-02  Wim Taymans  <wim@fluendo.com>
7321
7322         * gst/gstpad.c:
7323         Fix documentation as spotted by rg on IRC. 
7324
7325 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
7326
7327         * gst/gstutils.c:
7328           Improve docs for gst_element_{link,unlink}.
7329
7330 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
7331
7332         * docs/design/part-events.txt:
7333         * docs/design/part-overview.txt:
7334         * gst/gstevent.c:
7335         * gst/gsturi.c:
7336         * gst/gsturi.h:
7337         * libs/gst/base/gstbasesink.c:
7338           Typo fixes; minor docs addition.
7339
7340 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7341
7342         * docs/gst/gstreamer-sections.txt:
7343         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7344         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7345         * gst/gsturi.h:
7346         API: Add gst_uri_protocol_is_supported(), which checks if a sink
7347         or src that supports a given URI protocol exists.
7348
7349 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7350
7351         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7352         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7353         Set the location to NULL if "file://" is set as URI. Otherwise
7354         some random previous URI would still be set if "file://" is
7355         set on an already used filesink/filesrc.
7356
7357 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7358
7359         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7360         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7361         Special case the "file://" URI as as this is used by some
7362         applications to test with gst_element_make_from_uri if there's
7363         an element that supports the URI protocol.
7364         Also move the g_path_is_absolute() check for the location part
7365         of the URI to also check this for "file://localhost/bla" URIs.
7366
7367 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
7368
7369         * docs/gst/gstreamer-sections.txt:
7370         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7371         * gst/gstbuffer.h:
7372         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7373         (gst_buffer_suite):
7374           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7375
7376 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
7377
7378         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7379         (gst_registry_binary_load_pad_template),
7380         (gst_registry_binary_load_plugin),
7381         (gst_registry_binary_read_cache):
7382         * gst/gstregistrybinary.h:
7383           Implement no-mmap alternative for registry reading. Do code cleanups.
7384           Add more comments about avoiding strdups for all text data. Comments
7385           welcome.
7386
7387 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7388
7389         * gst/gstregistrybinary.h (GstBinaryPluginElement,
7390           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7391           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7392           Comment structs and reformat to fix the build (that stuff should go
7393           into a priv. header).
7394
7395 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7396
7397         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7398         (gst_registry_binary_load_feature):
7399         * gst/gstregistrybinary.h:
7400           Refactor so that we can implement multiple features. Add support for
7401           TypeFindFactory features.
7402
7403 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
7404
7405         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7406
7407         * configure.ac:
7408           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7409
7410 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
7411
7412         * gst/gstbin.c: (gst_bin_element_set_state),
7413         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7414         (bin_handle_async_done), (gst_bin_handle_message_func):
7415           Fix build with --gst-disable-gst-debug
7416
7417 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
7418
7419         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7420           Make sure streaming has finished before calling the ::stop() vfunc,
7421           since that vfunc might clear state which is being used in the
7422           streaming thread. This fixes a race that caused crashes in
7423           audioresample when shutting down a pipeline (#420106).
7424
7425 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7426
7427         * docs/gst/gstreamer-sections.txt:
7428           That was one byte missing.
7429
7430 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7431
7432         * configure.ac:
7433         * docs/gst/gstreamer-sections.txt:
7434         * gst/Makefile.am:
7435         * gst/gstconfig.h.in:
7436         * gst/gstobject.c: (gst_object_class_init),
7437         (gst_signal_object_class_init):
7438         * gst/gstobject.h:
7439           2nd attempt to have a xml-less build as a joined effort of #413123
7440           and #421480.
7441
7442 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7443
7444         * docs/design/draft-tagreading.txt:
7445           Added open issues/thoughts to draft.
7446
7447 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7448
7449         * gst/parse/grammar.tab.pre.c:
7450         * gst/parse/grammar.tab.pre.h:
7451         * gst/parse/lex._gst_parse_yy.pre.c:
7452         Update the prebuild parser sources.
7453
7454 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7455
7456         * gst/parse/Makefile.am:
7457         And now fix the building of the flex sources. Now everything should
7458         work as expected.
7459
7460 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7461
7462         * gst/parse/Makefile.am:
7463         Now hopefully fix the build failures by setting proper rule
7464         dependencies and moving instead of copying.
7465
7466 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7467
7468         * tests/benchmarks/complexity.gnuplot:
7469         * tests/benchmarks/complexity.scm:
7470         * tests/benchmarks/mass-elements.gnuplot:
7471         * tests/benchmarks/mass-elements.scm:
7472           Total licensification.
7473
7474 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7475
7476         * gst/parse/Makefile.am:
7477           Fix the build by correcting the rule that gave wrong files to flex.
7478
7479 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7480
7481         * tests/benchmarks/complexity.c:
7482         * tests/benchmarks/mass-elements.c:
7483           Change licence to LGPL as granted by Benjamin and Andy.
7484
7485 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7486
7487         * gst/parse/Makefile.am:
7488         Add correct grammar.tab.h dependency if compiling without new enough
7489         flex. Fixes #431150.
7490
7491 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7492
7493         * gst/parse/Makefile.am:
7494         Fix typo and use outdated sources if the flex/bison sources are newer
7495         than the pregenerated ones but flex is too old. Print a warning in
7496         that case. This should fix the build on the build bot.
7497
7498 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7499
7500         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7501         * gst/parse/Makefile.am:
7502         * gst/parse/grammar.y:
7503         * gst/parse/parse.l:
7504         Make the parser reentrant and recursively callable. This requires flex
7505         >= 2.5.31, for older versions pregenerated sources are used as we
7506         can't bump the build dependency. Finally fixes #349180.
7507
7508         * gst/gstparse.c: (gst_parse_launch):
7509         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7510         now anyway.
7511
7512         * docs/gst/Makefile.am:
7513         * docs/gst/Makefile.am:
7514         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7515         (__gst_parse_strfree), (__gst_parse_link_new),
7516         (__gst_parse_link_free), (__gst_parse_chain_new),
7517         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7518         (gst_parse_element_set), (gst_parse_free_link),
7519         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7520         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7521         (_gst_parse_launch):
7522         * gst/parse/grammar.tab.pre.h:
7523         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7524         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7525         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7526         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7527         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7528         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7529         (_gst_parse_yypop_buffer_state),
7530         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7531         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7532         (yy_fatal_error), (_gst_parse_yyget_extra),
7533         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7534         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7535         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7536         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7537         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7538         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7539         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7540         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7541         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7542         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7543         (_gst_parse_yyfree):
7544         If the installed flex version is too old use pre-generated parser
7545         sources. These pre-generated parser sources are always updated when
7546         the actual flex/bison sources change but require everybody who wants
7547         to change something in the parser to have flex >= 2.5.31 installed.
7548
7549 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7550
7551         * common/m4/gst-gettext.m4:
7552         * gst/gst-i18n-lib.h:
7553           Make --disable-nls to work
7554
7555 2007-04-17  Wim Taymans  <wim@fluendo.com>
7556
7557         * gst/gstconfig.h.in:
7558         Revert previous change that broke the build.
7559
7560 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7561
7562         * configure.ac:
7563         * gst/Makefile.am:
7564         * gst/gstconfig.h.in:
7565           Drop libxml2 dependency when building with 
7566           --enable-binary-registry --disable-loadsave
7567
7568 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7569
7570         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7571         (gst_registry_binary_read_cache):
7572         * gst/gstregistrybinary.h:
7573           Remove unnecessary <sys/mman.h> include which broke the win32 build
7574           with MingW; move includes from header file to .c file, even if the
7575           header file isn't installed; use g_strerror() where UTF-8 strings
7576           are expected, such as in GST_DEBUG messages.
7577
7578 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7579
7580         * docs/libs/gstreamer-libs-sections.txt:
7581         Remove bogus addition for API I didn't end up keeping.
7582
7583         * libs/gst/base/gstbasesrc.h:
7584         Mention Since: 0.10.13 in the documentation.
7585
7586         Add the API keyword to the previous ChangeLog entry.
7587
7588 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7589
7590         * docs/libs/gstreamer-libs-sections.txt:
7591         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7592         (gst_base_src_default_prepare_seek_segment),
7593         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7594         * libs/gst/base/gstbasesrc.h:
7595         Allow basesrc derived classes to execute seeks in other formats
7596         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7597         to prepare the GstSegment in any format that their perform_seek method
7598         will be able to understand. The default implementation provides the
7599         old behaviour of attempting to convert the seek offsets to the 
7600         configured native format.
7601
7602         API: basesrc::prepare_seek_segment vmethod.
7603
7604 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7605
7606         * gst/gstelement.c: (gst_element_get_state_func):
7607         Don't output the same debug statement twice.
7608
7609         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7610         (gst_adapter_peek), (gst_adapter_take_buffer):
7611         Optimise the case where we have buffers at the head of the queue that
7612         can be joined quickly (because they're contiguous sub-buffers) by
7613         merging them together rather than copying data out into new memory.
7614
7615         * gst/parse/grammar.y:
7616         * tests/check/pipelines/parse-launch.c:
7617         Fix a leak in an error path for parse_launch, and add a check 
7618         for it to the testsuite.
7619
7620 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7621
7622         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7623           Don't deadlock when releasing a pad - gst_pad_set_active may try
7624           and take the multiqueue lock too.
7625
7626 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7627
7628         * gst/gsterror.c: (_gst_core_errors_init):
7629         * gst/gsterror.h:
7630           API: add GST_CORE_ERROR_DISABLED (#392804).
7631
7632 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7633
7634         * docs/faq/gst-uninstalled:
7635           don't get empty paths on the PATH variables
7636         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7637           Don't format for the uncommon terminal width of 84 characters.
7638
7639 2007-04-06  Wim Taymans  <wim@fluendo.com>
7640
7641         * gst/gstpipeline.c: (reset_stream_time),
7642         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7643         Only try to select a different pipeline clock when we went back to
7644         PAUSED and not when we merely got flushed.
7645
7646 2007-04-05  Michael Smith  <msmith@fluendo.com>
7647
7648         * tools/gst-launch.1.in:
7649           fractions are better supported in gstreamer than ractions, so
7650           suggest using those.
7651
7652 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7653
7654         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7655
7656         * po/LINGUAS:
7657         * po/da.po:
7658           Added Danish translation.
7659
7660 2007-04-05  Wim Taymans  <wim@fluendo.com>
7661
7662         * libs/gst/base/gstbasesink.c:
7663         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7664         Fix leak caused when refusing newsegment after EOS.
7665
7666         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7667         (gst_fake_sink_init), (gst_fake_sink_set_property),
7668         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7669         (gst_fake_sink_render), (gst_fake_sink_change_state):
7670         * plugins/elements/gstfakesink.h:
7671         Add num-buffers property to make the element generate EOS after a
7672         configurable amount of buffers.
7673         API: fakesink::num-buffers property.
7674
7675         * tests/check/elements/fakesink.c: (GST_START_TEST),
7676         (fakesink_suite):
7677         Fix GstBus leak in test.
7678         Test for fakesink num-buffers.
7679
7680 2007-04-05  Wim Taymans  <wim@fluendo.com>
7681
7682         * libs/gst/base/gstbasesink.c:
7683         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7684         (gst_base_sink_change_state):
7685         Don't accept anything after an EOS, return UNEXPECTED instead.
7686
7687         * tests/check/elements/fakesink.c: (GST_START_TEST),
7688         (fakesink_suite):
7689         Unit test for new EOS behaviour.
7690
7691 2007-04-05  Wim Taymans  <wim@fluendo.com>
7692
7693         * gst/gstelement.c: (gst_element_get_request_pad):
7694         Make padtemplates also work when they don't contain %s or %d.
7695
7696 2007-04-05  Wim Taymans  <wim@fluendo.com>
7697
7698         * docs/gst/gstreamer-sections.txt:
7699         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7700         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7701         * gst/gstclock.h:
7702         Improve _adjust_unlocked() so that it overflows less.
7703         Add gst_clock_unadjust_unlocked to convert from external time to
7704         internal time based on calibration.
7705         Add some more debug.
7706         API: GstClock::gst_clock_unadjust_unlocked()
7707
7708 2007-04-03  Wim Taymans  <wim@fluendo.com>
7709
7710         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7711
7712         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7713         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7714         when releasing sink pad. Fixes #425400.
7715
7716 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7717
7718         * docs/random/ensonic/dynlink.txt:
7719           More work on proposal for new core api.
7720
7721         * docs/libs/gstreamer-libs-sections.txt:
7722         * libs/gst/base/gstbasetransform.h:
7723           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7724           
7725         * libs/gst/controller/gstcontroller.c:
7726         (on_object_controlled_property_changed),
7727         (gst_controller_sync_values),
7728         (gst_controller_set_interpolation_mode):
7729         * libs/gst/controller/gstcontroller.h:
7730           Less verbose logging add docs for unimplemented parts and correctly
7731           return when using unavailable parts.
7732
7733 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7734
7735         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7736         Move all the debug to the CLOCK category, and associate it with
7737         the clock object.
7738
7739 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7740
7741         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7742         Make take_buffer a bit quicker by removing redundant checks
7743         caused by calling gst_adapter_take.
7744
7745 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7746
7747         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7748           Don't leak GCond.
7749
7750         * tests/check/Makefile.am:
7751         * tests/check/elements/.cvsignore:
7752         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7753         (GST_START_TEST), (multiqueue_suite):
7754           Add some dead simple unit tests for the 'multiqueue' element
7755           (some bits don't work yet and are disabled for now).
7756
7757 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7758
7759         * gst/gstelement.c: (gst_element_get_request_pad),
7760         (gst_element_class_get_request_pad_template):
7761           Make gst_element_get_request_pad() create request pads only for
7762           request pad templates and not for, say, sometimes pad templates.
7763
7764 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7765
7766         * docs/design/draft-klass.txt:
7767           Add example that needs more thinking.
7768         
7769         * docs/design/draft-missing-plugins.txt:
7770           More thoughts about wrapper plugins.
7771         
7772         * docs/random/ensonic/embedded.txt:
7773         * docs/random/ensonic/profiling.txt:
7774           More design work.
7775
7776 2007-03-25  Wim Taymans  <wim@fluendo.com>
7777
7778         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7779         (gst_base_src_loop):
7780         Only push the segment events in the PLAYING state for live sources.
7781
7782 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7783
7784         * gst/gstpipeline.c: (gst_pipeline_change_state):
7785         Modify the clock distribution path in PAUSED->PLAYING so that we 
7786         never attempt to choose a new clock unless we're actually leaving
7787         the PAUSED state for the first time. This prevents choosing a
7788         different clock when the state_change gets called for a 2nd time due
7789         to some element doing an async state change.
7790
7791 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7792
7793         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7794         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7795         (gst_pad_chain_unchecked), (gst_pad_push):
7796         Revert last commit. This needs some more thoughts.
7797
7798 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7799
7800         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7801         (gst_pad_chain_unchecked), (gst_pad_push):
7802         Check in set_caps if the caps are compatible with the pad and remove
7803         two functions that are redundant now. Fixes #421543.
7804
7805 2007-03-22  Wim Taymans  <wim@fluendo.com>
7806
7807         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7808         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7809         Unref some more to make valgrind happy.
7810
7811 2007-03-22  Wim Taymans  <wim@fluendo.com>
7812
7813         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7814         (gst_system_clock_id_wait_jitter),
7815         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7816         Fix anoying regression that survived a few releases. When adding an
7817         async entry while blocking on a sync entry, the sync entry will unblock
7818         but still be busy, so it should continue to wait instead of returning
7819         _BUSY to the app.
7820         Add some comments here and there.
7821
7822         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7823         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7824         Add testcase for this.
7825
7826 2007-03-22  Wim Taymans  <wim@fluendo.com>
7827
7828         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7829         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7830         WRONG_STATE and can silently pause the task. All other cases should
7831         error out.
7832
7833 2007-03-22  Wim Taymans  <wim@fluendo.com>
7834
7835         Patch by: Ville Syrjala <syrjala at sci dot fi>
7836
7837         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7838         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7839         Improve debugging.
7840
7841 2007-03-21  Michael Smith  <msmith@fluendo.com>
7842
7843         * docs/pwg/advanced-types.xml:
7844           Fix some errors in the typefinding docs pointed out on irc.
7845
7846 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7847
7848         * libs/gst/base/gstbasesrc.c:
7849         Clarify FIXME comment in the face of having added unlock_stop()
7850
7851 2007-03-21  Wim Taymans  <wim@fluendo.com>
7852
7853         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7854         Prepare for release where we warn against possible app breakage in the
7855         case of live pipelines along with an env var to enable/disable live
7856         preroll mode (GST_COMPAT=[no-]live-preroll).
7857
7858 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7859
7860         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7861         So we should use correct constants for checking for None offset.
7862
7863 2007-03-20  Wim Taymans  <wim@fluendo.com>
7864
7865         * docs/design/part-block.txt:
7866         Mention the fact that the newly switched element should be set to at
7867         least PAUSED.
7868
7869 2007-03-20  Wim Taymans  <wim@fluendo.com>
7870
7871         * gst/gst.c:
7872         Fix compilation with registry disabled as spotted by Saur.
7873
7874 2007-03-20  Wim Taymans  <wim@fluendo.com>
7875
7876         Patch by: Olivier Crete <tester at tester dot ca>
7877
7878         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7879         Look at the pending state too when syncing the element state to the
7880         parent. Fixes #420133.
7881
7882 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7883
7884         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7885         (gst_base_sink_change_state):
7886         * libs/gst/base/gstbasesink.h:
7887         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7888         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7889         (gst_base_src_deactivate):
7890         * libs/gst/base/gstbasesrc.h:
7891         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7892         for sub-classes to correctly clear any state they set trying to
7893         unlock, such as clearing out unlock commands from a command fd.
7894         API: basesrc::unlock_stop
7895         API: basesink::unlock_stop
7896
7897         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7898         (gst_fd_sink_render), (gst_fd_sink_unlock),
7899         (gst_fd_sink_unlock_stop):
7900         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7901         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7902         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7903
7904         Implement unlock_stop in fdsrc and fdsink.
7905         Implement seeking in fdsrc when a seekable fd is passed, as in
7906         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7907
7908 2007-03-19  Wim Taymans  <wim@fluendo.com>
7909
7910         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7911
7912         * gst/gstelement.c: (gst_element_class_init):
7913         Fix pad-added and pad-removed signal signatures so that the pad type is
7914         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7915
7916 2007-03-19  Wim Taymans  <wim@fluendo.com>
7917
7918         * docs/gst/gstreamer-sections.txt:
7919         Add new element field and method.
7920
7921         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7922         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7923         (gst_bin_recalc_state), (gst_bin_get_state_func),
7924         (gst_bin_element_set_state), (gst_bin_change_state_func),
7925         (gst_bin_continue_func), (bin_bus_handler),
7926         (bin_push_state_continue), (bin_handle_async_start),
7927         (bin_handle_async_done), (gst_bin_handle_message_func):
7928         Make async state changes a bit smarter by using new ASYNC_START and
7929         ASYNC_DONE messages. This reduces the number of times we run the state
7930         recalculation thread.
7931         Don't change state of element with a pending ASYNC_START message.
7932         Deprecate STATE_DIRTY messages.
7933         
7934         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7935         (gst_element_get_state_func), (gst_element_continue_state),
7936         (gst_element_lost_state), (gst_element_set_state_func),
7937         (gst_element_change_state):
7938         * gst/gstelement.h:
7939         Keep the state that was last set by the app in a new element field.
7940         Don't allow state changes when handling an element event.
7941         Post ASYNC_START and ASYNC_DONE messages.
7942         Change lost_state so that we go to PAUSED and wait for the parent to set
7943         us to PLAYING again (so latency calculation can be performed)
7944         Export gst_element_change_state() method so that subclasses can use it.
7945         API: gst_element_change_state()
7946         API: GST_STATE_TARGET
7947
7948         * gst/gstpipeline.c: (gst_pipeline_class_init),
7949         (reset_stream_time), (gst_pipeline_change_state),
7950         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7951         Using the new ASYNC_START message we can reset the base_time when
7952         needed. This can then be used to implement base_time redistribution in
7953         flushing seeks so that we can remove the explicit seek handling.
7954         Perform latency query and configuration when going to PLAYING.
7955
7956         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7957         (gst_base_sink_query), (gst_base_sink_change_state):
7958         Post new ASYNC_START/ASYNC_DONE messages.
7959
7960         * tests/check/generic/sinks.c: (GST_START_TEST):
7961         Fix test because the bin will not set the async element to PLAYING right
7962         away.
7963
7964         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7965         Make the message check a little stronger.
7966         Handle ASYNC messages.
7967
7968         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7969         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7970         Expect ASYNC_DONE messages.
7971
7972 2007-03-19  Wim Taymans  <wim@fluendo.com>
7973
7974         * docs/gst/gstreamer-sections.txt:
7975         * gst/gstmessage.c: (gst_message_new_async_start),
7976         (gst_message_new_async_done), (gst_message_parse_info),
7977         (gst_message_parse_async_start):
7978         * gst/gstmessage.h:
7979         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7980         support.
7981
7982 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7983
7984         * tools/gst-inspect.c:
7985         (print_plugin_automatic_install_info_codecs):
7986           Now that we don't check for the 'Codec' keyword any longer in the
7987           klass, we shouldn't spew a warning if the klass isn't a decoder or
7988           encoder (since it might be a Source/Network, for example).
7989
7990 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7991
7992         * tools/gst-inspect.c:
7993         (print_plugin_automatic_install_info_codecs):
7994           Don't require decoder/demuxer/depayloader elements or
7995           encoder/muxer/paylader elements to have 'Codec' as part of their
7996           factory class string when introspecting a plugin's capabilities.
7997           draft-klass.txt mentions that it might be removed in future, and
7998           flump3dec doesn't have it as part of its class string, so chances
7999           are others might also not have it.
8000
8001 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8002
8003         * po/af.po:
8004         * po/az.po:
8005         * po/bg.po:
8006         * po/ca.po:
8007         * po/cs.po:
8008         * po/de.po:
8009         * po/en_GB.po:
8010         * po/fr.po:
8011         * po/it.po:
8012         * po/nb.po:
8013         * po/nl.po:
8014         * po/ru.po:
8015         * po/sq.po:
8016         * po/sr.po:
8017         * po/sv.po:
8018         * po/tr.po:
8019         * po/uk.po:
8020         * po/vi.po:
8021         * po/zh_CN.po:
8022         * po/zh_TW.po:
8023           Update translations from translation project
8024
8025 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
8026
8027         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
8028         (gst_child_proxy_set_property):
8029           Invert precondition check to be alike the ones in the mimiced gobject
8030           api.
8031
8032 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
8033
8034         * docs/design/draft-tagreading.txt:
8035         * docs/random/ensonic/audiobaseclasses.txt:
8036           Do some Architect work.
8037
8038         * gst/gstobject.c: (gst_object_set_name):
8039           Add a WARNING.
8040
8041         * gst/gstpad.c:
8042           Add docs that point from gst_pad_get_range to gst_pad_pull_range
8043
8044 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
8045
8046         * gst/gstsystemclock.c: (gst_system_clock_init),
8047         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
8048         Defer starting the async system clock thread until the first async
8049         wait is scheduled. Fixes #414986.
8050
8051 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
8052
8053         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
8054         (gst_single_queue_free):
8055           Fix small leak (free GstSingleQueue structure too, not only contents).
8056
8057 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
8058
8059         * gst/gstbin.c:(gst_bin_add):
8060         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
8061         * win32/common/libgstbase.def:
8062         * win32/common/libgstreamer.def:
8063         Add new exported functions.
8064
8065 2007-03-09  Wim Taymans  <wim@fluendo.com>
8066
8067         * docs/plugins/gstreamer-plugins-sections.txt:
8068         Fix GstTee docs.
8069
8070 2007-03-09  Wim Taymans  <wim@fluendo.com>
8071
8072         * docs/gst/gstreamer-sections.txt:
8073         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
8074         * gst/gstbuffer.h:
8075         Add metadata copy functions. Fixes #393099.
8076         API: gst_buffer_copy_metadata()
8077
8078         * gst/gstutils.c: (gst_buffer_stamp):
8079         * libs/gst/base/gstbasetransform.c:
8080         (gst_base_transform_prepare_output_buffer):
8081         Use new metadata copy functions.
8082
8083 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8084
8085         * plugins/elements/gstidentity.c: (gst_identity_class_init),
8086         (gst_identity_init), (gst_identity_check_perfect),
8087         (gst_identity_check_imperfect_timestamp),
8088         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
8089         (gst_identity_set_property), (gst_identity_get_property):
8090         * plugins/elements/gstidentity.h:
8091         Separate out check-imperfect-timestamp and check-imperfect-offset.
8092         Put back check-perfect as it was to keep compatibility.
8093
8094 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
8095
8096         * gst/gstelement.c: (gst_element_dispose):
8097         There's no need to warn if VOID_PENDING is not NONE here, as
8098         long as the state is NULL it's ok, and that's checked immediately
8099         above.
8100
8101 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8102
8103         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8104         Fix check for perfect stream to ignore buffers with -1 
8105         offsets/offset ends when checking data contiguity.
8106
8107 2007-03-08  Wim Taymans  <wim@fluendo.com>
8108
8109         * tools/gst-launch.c: (event_loop):
8110         Print INFO messages.
8111
8112 2007-03-08  Wim Taymans  <wim@fluendo.com>
8113
8114         * libs/gst/base/gstbasetransform.c:
8115         (gst_base_transform_sink_eventfunc),
8116         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8117         (gst_base_transform_activate):
8118         * libs/gst/base/gstbasetransform.h:
8119         Add support for dropping buffers with custom GstFlowReturn.
8120         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
8121         buffers or dropped buffers.
8122
8123         * docs/libs/gstreamer-libs-sections.txt:
8124         docs for new custom return code.
8125
8126         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8127         Use drop support in base class to implement drop-probability.
8128
8129 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
8130
8131         * gst/gst.c: (load_plugin_func):
8132         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
8133         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8134         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8135           Remove newlines at end of debug log strings.
8136
8137 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8138
8139         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8140         Only post bus message at max, once per buffer received.
8141
8142 2007-03-07  Wim Taymans  <wim@fluendo.com>
8143
8144         * docs/design/Makefile.am:
8145         * docs/design/part-synchronisation.txt:
8146         Add doc about synchronisation
8147
8148         * docs/design/draft-latency.txt:
8149         * docs/design/part-TODO.txt:
8150         * docs/design/part-clocks.txt:
8151         * docs/design/part-events.txt:
8152         * docs/design/part-gstbus.txt:
8153         * docs/design/part-gstpipeline.txt:
8154         * docs/design/part-live-source.txt:
8155         * docs/design/part-messages.txt:
8156         * docs/design/part-overview.txt:
8157         * docs/design/part-streams.txt:
8158         * docs/design/part-trickmodes.txt:
8159         Documentation updates.
8160
8161 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8162
8163         * gstreamer.doap:
8164         Update the doap file.
8165
8166 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8167
8168         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8169         Rename non-perfect to imperfect for Mike and for the sanctity of the
8170         language.
8171         Also make sure bus message gets emitted for data-incontiguities.
8172
8173 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8174
8175         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8176         (gst_identity_start):
8177         * plugins/elements/gstidentity.h:
8178         Emit bus message if check-perfect is true and we encounter a
8179         non-perfect stream between 2 consecutive buffers.
8180         Fixes #415394.
8181
8182 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8183
8184         * configure.ac:
8185         Back to CVS
8186
8187 === release 0.10.12 ===
8188
8189 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
8190
8191         * configure.ac:
8192           releasing 0.10.12, "Inevitable Demise"
8193
8194 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
8195
8196         * configure.ac:
8197          Version 0.10.11.2 (0.10.12 pre-release)
8198          Bump libtool versioning.
8199
8200 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
8201
8202         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8203           Log flow-names and not numbers.
8204
8205 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8206
8207         * configure.ac:
8208           Convert to new AG_GST style.
8209
8210 2007-02-28  Wim Taymans  <wim@fluendo.com>
8211
8212         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8213         Don't unref query twice.
8214
8215 2007-02-28  Wim Taymans  <wim@fluendo.com>
8216
8217         * gst/gstvalue.c: (gst_value_transform_object_string),
8218         (_gst_value_initialize):
8219         Implement GstObject -> string transform so we print object names
8220         when serializing GValues containing GstObjects.
8221
8222 2007-02-28  Wim Taymans  <wim@fluendo.com>
8223
8224         * docs/gst/gstreamer-sections.txt:
8225         Add new stuff to docs.
8226
8227 2007-02-28  Wim Taymans  <wim@fluendo.com>
8228
8229         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8230         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8231         (gst_base_sink_change_state):
8232         Improve latency query code.
8233         Don't leak latency events.
8234
8235         * tests/check/gst/gstbin.c: (GST_START_TEST):
8236         Improve debugging.
8237
8238 2007-02-28  Wim Taymans  <wim@fluendo.com>
8239
8240         * gst/gstelement.c: (gst_element_message_full),
8241         (gst_element_get_state_func):
8242         * gst/gstelement.h:
8243         Improve docs a little. Added Since: for new macro.
8244
8245         * gst/gstobject.c: (gst_object_sink):
8246         * gst/gstpipeline.c: (gst_pipeline_change_state),
8247         (gst_pipeline_set_new_stream_time):
8248         * gst/gstpipeline.h:
8249         Improve debugging and docs.
8250
8251         * gst/gstutils.c: (gst_element_state_change_return_get_name):
8252         Improve debugging.
8253
8254 2007-02-28  Wim Taymans  <wim@fluendo.com>
8255
8256         * gst/gstelement.c: (gst_element_message_full),
8257         (gst_element_set_locked_state), (gst_element_get_state_func),
8258         (gst_element_change_state):
8259         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8260         Documentation updates.
8261         Small code cleanups.
8262
8263         * gst/gstmessage.c: (gst_message_new_info),
8264         (gst_message_parse_info):
8265         * gst/gstmessage.h:
8266         API: gst_message_new_info()
8267         API: gst_message_parse_info()
8268         Add INFO message create and parse code.
8269
8270 2007-02-28  Wim Taymans  <wim@fluendo.com>
8271
8272         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8273         (bin_query_latency_done):
8274         Also report the live parameter of a latency query.
8275
8276 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8277
8278         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8279           Copy the current generic/states example from -base and adapt so
8280           we can use the exact same code everywhere.
8281           Check a STATES_IGNORE_ELEMENTS env var which can be used
8282           to ignore certain element factories for this test, which is
8283           what is being done in -base
8284         * tests/check/Makefile.am:
8285           Mention this environment variable.
8286
8287 2007-02-27  Wim Taymans  <wim@fluendo.com>
8288
8289         * docs/gst/gstreamer-sections.txt:
8290         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8291         (gst_bus_timed_pop), (gst_bus_pop):
8292         * gst/gstbus.h:
8293         API: gst_bus_timed_pop()
8294         Implement gst_bus_timed_pop() to do a blocking timed wait for a
8295         message to arrive on the bus.
8296
8297         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8298         (gst_bus_suite):
8299         Two unit tests for new _timed_pop() function.
8300
8301 2007-02-23  Wim Taymans  <wim@fluendo.com>
8302
8303         * gst/gstpipeline.c: (gst_pipeline_change_state),
8304         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8305         Don't ref a NULL clock in _provide_clock_func().
8306         Don't allow an INVALID delay.
8307         Don't try to calculate base_time with an invalid start_time.
8308         Also distribute and notify a NULL clock when it was selected.
8309
8310         * tools/gst-launch.c: (event_loop):
8311         Don't crash when a NULL clock was selected in the pipeline.
8312
8313 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8314
8315         * docs/design/Makefile.am:
8316         * docs/design/draft-missing-plugins.txt:
8317         * docs/random/draft-missing-plugins.txt:
8318           Some small updates: update plugin system identifier prefix
8319           ('gstreamer.net' to 'gstreamer'), mention our new install
8320           API in libgstbaseutils rather than libgimme-codec, add
8321           reference to the online docs.
8322
8323 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8324
8325         * win32/common/config.h:
8326           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
8327           use moap cl ci to only check in what is mentioned in the ChangeLog.
8328
8329 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8330
8331         * docs/gst/gstreamer-sections.txt:
8332         * gst/gstelement.h:
8333           Fix up documentation to link to the correct GstGError section.
8334           Add GST_ELEMENT_INFO macro since someone else added a Info message.
8335
8336 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8337
8338         * tools/gst-launch.c: (event_loop):
8339           Make sure that we actually show the important message part of a
8340           warning message.
8341           No need to check if the gerror is not NULL to free; first of all
8342           g_free accepts NULL; and second the default error handler would
8343           segfault if gerror was NULL.
8344
8345 2007-02-21  Wim Taymans  <wim@fluendo.com>
8346
8347         * docs/gst/gstreamer-sections.txt:
8348         Removed docs as well.
8349
8350 2007-02-21  Wim Taymans  <wim@fluendo.com>
8351
8352         * gst/gstmessage.c: (gst_message_parse_duration):
8353         * gst/gstmessage.h:
8354         Remove new messages for release.
8355
8356 2007-02-20  Wim Taymans  <wim@fluendo.com>
8357
8358         * docs/design/part-gstghostpad.txt:
8359         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8360         (gst_ghost_pad_new_full):
8361         Make the ghostpad a parent of the internal pad again for better backward
8362         compatibility. Don't write code that relies on this however.
8363
8364         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8365         (gst_pad_link_check_hierarchy):
8366         Require that parents should be GstElements in the hierarchy check.
8367
8368 2007-02-20  Wim Taymans  <wim@fluendo.com>
8369
8370         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8371         (gst_bin_change_state_func), (bin_query_min_max_init),
8372         (bin_query_latency_fold), (bin_query_latency_done),
8373         (gst_bin_query):
8374         Improve debug info.
8375         Implement latency query.
8376
8377 2007-02-20  Wim Taymans  <wim@fluendo.com>
8378
8379         * docs/design/part-gstghostpad.txt:
8380         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8381         (gst_ghost_pad_internal_do_activate_push),
8382         (gst_ghost_pad_internal_do_activate_pull),
8383         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8384         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8385         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8386         Do not set the internal pad as a parent anymore so we can avoid
8387         hierarchy linking errors when the ghostpad has no parent yet. This also
8388         fixes failed activation because of unlinked internal pads, which in
8389         turn fixes the impossible case where you have to activate a pad before
8390         you can add it to a running element.
8391         Also fix the docs.
8392
8393         * gst/gstpad.c: (pre_activate), (post_activate),
8394         (gst_pad_set_active), (gst_pad_activate_pull),
8395         (gst_pad_activate_push), (gst_pad_check_pull_range):
8396         Add some more debug info.
8397         Mark activation mode in pre_activate so that we don't try to activate in
8398         endless loops. Fixes #385084.
8399
8400 2007-02-19  Wim Taymans  <wim@fluendo.com>
8401
8402         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8403         (gst_base_transform_check_get_range):
8404         Implement a checkgetrange function instead of relying on the default
8405         core behaviour that assumes we can operate in pull mode if we have a
8406         getrange function. First step at fixing #385084.
8407
8408 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
8409
8410         * gst/gstchildproxy.h:
8411         * libs/gst/base/gstbasesink.h:
8412         * libs/gst/base/gstbasesrc.h:
8413         * libs/gst/base/gstbasetransform.h:
8414         More docs coverage and some ChangeLog surgery (add missing names)
8415
8416 2007-02-15  Wim Taymans  <wim@fluendo.com>
8417
8418         * docs/design/part-TODO.txt:
8419         * docs/design/part-activation.txt:
8420         * docs/design/part-block.txt:
8421         * docs/design/part-buffering.txt:
8422         * docs/design/part-clocks.txt:
8423         * docs/design/part-element-source.txt:
8424         * docs/design/part-events.txt:
8425         * docs/design/part-gstbin.txt:
8426         * docs/design/part-gstbus.txt:
8427         * docs/design/part-gstpipeline.txt:
8428         * docs/design/part-live-source.txt:
8429         * docs/design/part-messages.txt:
8430         * docs/design/part-overview.txt:
8431         * docs/design/part-qos.txt:
8432         * docs/design/part-query.txt:
8433         * docs/design/part-states.txt:
8434         * docs/design/part-trickmodes.txt:
8435         Some doc updates. Start renaming from stream_time to running_time where
8436         it was used wrongly.
8437
8438 2007-02-15  Wim Taymans  <wim@fluendo.com>
8439
8440         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8441         Answer LATENCY query.
8442
8443 2007-02-15  Wim Taymans  <wim@fluendo.com>
8444
8445         * tests/check/gst/gstevent.c: (event_probe), (test_event),
8446         (GST_START_TEST):
8447         Improve debugging.
8448
8449 2007-02-15  Wim Taymans  <wim@fluendo.com>
8450
8451         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8452         (gst_pad_dispatcher):
8453         Improve debugging of default pad dispatcher and query functions.
8454
8455 2007-02-15  Wim Taymans  <wim@fluendo.com>
8456
8457         * docs/gst/gstreamer-sections.txt:
8458         Remove old unused method.
8459
8460 2007-02-13  Wim Taymans  <wim@fluendo.com>
8461
8462         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8463         Fix check
8464
8465 2007-02-13  Wim Taymans  <wim@fluendo.com>
8466
8467         * docs/design/part-seeking.txt:
8468         Some small update.
8469
8470         * gst/gstsegment.c: (gst_segment_set_seek):
8471         Revert old bogus change that should make seeking work again.
8472
8473 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8474
8475         * docs/random/ensonic/dynlink.txt:
8476         * docs/random/ensonic/interfaces.txt:
8477         * docs/random/ensonic/receipies.txt:
8478           Possible dynamic reconnection api, plus some type fixes the other two
8479           docs.
8480
8481 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8482
8483         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8484         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8485         Also check for an absolute path following file:// in the filesrc
8486         element. Remove redundant check and call g_path_is_absolute() on the
8487         unescaped location.
8488
8489 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8490
8491         * docs/design/draft-klass.txt:
8492           Add existing category analysis.
8493           
8494         * gst/gstcaps.c:
8495           Fix doc example, framerate is a fraction.
8496
8497 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8498
8499         * configure.ac:
8500         * docs/gst/Makefile.am:
8501         * docs/gst/gstreamer-sections.txt:
8502         * docs/libs/Makefile.am:
8503           Erm, forgot a bunch of --extra-dir.
8504
8505 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8506
8507         * configure.ac:
8508         * docs/gst/Makefile.am:
8509         * docs/libs/Makefile.am:
8510         * docs/plugins/Makefile.am:
8511           Add crossreferences to glib/gobject docs.
8512
8513 2007-02-12  Wim Taymans  <wim@fluendo.com>
8514
8515         * docs/design/draft-latency.txt:
8516         Small update.
8517
8518         * docs/libs/gstreamer-libs-sections.txt:
8519         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8520         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8521         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8522         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8523         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8524         (gst_base_sink_get_position), (gst_base_sink_query),
8525         (gst_base_sink_change_state):
8526         * libs/gst/base/gstbasesink.h:
8527         API: gst_base_sink_query_latency() to let subclasses query the upstream
8528         latency.
8529         API: gst_base_sink_get_latency() to let subclasses query the configured
8530         latency in the sink.
8531         Implement query and set latency.
8532         Update some docs.
8533         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8534         don't continue preroll when we are flushing. Fixes #405284.
8535
8536         * tests/check/pipelines/stress.c: (change_state_timeout),
8537         (quit_timeout), (GST_START_TEST), (stress_suite):
8538         Test for #405284.
8539
8540 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8541
8542         Patch by: René Stadler <mail at renestadler de>
8543
8544         * docs/gst/gstreamer-sections.txt:
8545         * gst/gsttaglist.c: (_gst_tag_initialize):
8546         * gst/gsttaglist.h:
8547           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8548
8549 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8550
8551         * docs/libs/Makefile.am:
8552           Fix path to core docs.
8553
8554         * gst/gstbin.c: (gst_bin_get_by_interface),
8555         (gst_bin_iterate_all_by_interface):
8556           Refix docs by also renaming 'interface' to 'iface' in implementation.
8557
8558         * docs/gst/gstreamer-sections.txt:
8559         * gst/gstcaps.c:
8560         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8561         * gst/gstchildproxy.h:
8562         * gst/gstelementfactory.c:
8563         * gst/gstpadtemplate.h:
8564         * libs/gst/controller/gstcontroller.c:
8565         (gst_controlled_property_new):
8566           Document more.
8567
8568 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8569
8570         * gst/gstbin.h:(gst_bin_get_by_interface),
8571         (gst_bin_iterate_all_by_interface):
8572         Replace interface parameter name by iface as interface is 
8573         a reserved keyword in Visual Studio for C++ projects so it removes
8574         a build error for application developpers using VS.
8575         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8576         Fix a bug on Windows in uri format check. Now the prefix checked
8577         is file:// and next we check if the path after file:// is absolute.
8578         * win32/common/libgstbase.def:
8579         * win32/common/libgstdataprotocol.def:
8580         * win32/common/libgstgstreamer.def:
8581         Add new exported functions.
8582
8583 2007-02-09  Andy Wingo  <wingo@pobox.com>
8584
8585         * tests/check/pipelines/simple-launch-lines.c
8586         (simple_launch_lines_suite, test_tee): Disable tee test until I
8587         have time to fix it :-(
8588
8589         * tests/check/Makefile.am (noinst_HEADERS): 
8590         * tests/check/libs/libsabi.c: 
8591         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8592         * tests/check/gst/gstabi.c: 
8593         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8594
8595         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8596         tests for push and pull tee behavior.
8597
8598         * plugins/elements/gsttee.h: 
8599         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8600         mark as deprecated as well as unimplemented. It was a crack idea.
8601         Add support for tee operating in pull mode, off by default.
8602
8603         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8604         normal-case logs down to LOG, raise errors to WARNING.
8605         (gst_registry_xml_read_cache): Don't log before calling a function
8606         that logs.
8607
8608         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8609         exit (registry finalize).
8610         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8611         DEBUG log when we emit signals that people don't even have the
8612         chance to connect to.
8613         (gst_registry_scan_path_level): Less logging in the normal case.
8614
8615 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8616
8617         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8618
8619         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8620         Correctly generate EOS for non-seekable files. We don't have a total
8621         length for them and would get an unexpected end of file if we only
8622         special-cased for regular files. (Fixes: #404569)
8623
8624 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8625
8626         * tests/check/elements/filesrc.c: (GST_START_TEST),
8627         (filesrc_suite):
8628         Add unit test for the GstURIHandler interface in filesrc. This also
8629         tests the newly added file://localhost/foo/bar support.
8630
8631 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8632
8633         * gst/gstelementfactory.h:
8634           The klass string is not a hierarchy. Add reference to the design doc
8635           for more information and common types.
8636
8637 2007-02-02  Wim Taymans  <wim@fluendo.com>
8638
8639         * gst/gstquery.c: (gst_query_new_latency):
8640         Remove old structure field.
8641
8642 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8643
8644         * tools/gst-launch.1.in:
8645           Give example for network streaming (#351998)
8646
8647 2007-02-02  Wim Taymans  <wim@fluendo.com>
8648
8649         * docs/gst/gstreamer-sections.txt:
8650         Add docs for new methods.
8651
8652         * gst/gstevent.c: (gst_event_new_latency),
8653         (gst_event_parse_latency):
8654         * gst/gstevent.h:
8655         Add new LATENCY event to configure latency in a pipeline.
8656         API: gst_event_new_latency
8657         API: gst_event_parse_latency
8658
8659         * gst/gstmessage.c: (gst_message_new_buffering),
8660         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8661         (gst_message_new_latency), (gst_message_parse_buffering),
8662         (gst_message_parse_lost_preroll):
8663         * gst/gstmessage.h:
8664         Added messages used in draft-latency.
8665         API: gst_message_new_lost_preroll
8666         API: gst_message_parse_lost_preroll
8667         API: gst_message_new_prerolled
8668         API: gst_message_new_latency
8669
8670         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8671         (gst_query_parse_latency):
8672         * gst/gstquery.h:
8673         Implemented new latency query as in design doc.
8674         API: gst_query_new_latency
8675         API: gst_query_set_latency
8676         API: gst_query_parse_latency
8677
8678 2007-02-02  Wim Taymans  <wim@fluendo.com>
8679
8680         * docs/design/draft-latency.txt:
8681         Slight redesign to allow for dynamic latency adjustments.
8682
8683         * docs/design/part-negotiation.txt:
8684         Fix some typos.
8685
8686 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8687
8688         reviewed by: Wim Taymans <wim@fluendo.com>
8689
8690         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8691         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8692         Allow file://localhost/foo/bar URLs and correctly fail for every other
8693         hostname that one sets. This was gnomevfssrc is linked for those if
8694         installed as it can handle it (#403172)
8695
8696 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8697
8698         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8699
8700         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8701         (unref_data), (gst_collect_pads_add_pad_full):
8702         * libs/gst/base/gstcollectpads.h:
8703         Don't put the previously added destroy notify in the GstCollectData
8704         struct as all it's padding is already used and we don't want to break
8705         ABI. Instead put in the pad's GObject data for now. This should be
8706         cleaned up for 0.11 (#402393).
8707
8708 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8709
8710         reviewed by: Wim Taymans <wim@fluendo.com>
8711
8712         * docs/libs/gstreamer-libs-sections.txt:
8713         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8714         (unref_data), (gst_collect_pads_add_pad),
8715         (gst_collect_pads_add_pad_full):
8716         * libs/gst/base/gstcollectpads.h:
8717         API: Add function to specify a destroy notification for custom
8718         GstCollectData when adding new pads in GstCollectPads (#402393).
8719
8720 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8721
8722         * po/sv.po:
8723           Update Swedish translation (#378255).
8724
8725 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8726
8727         * docs/design/draft-klass.txt:
8728           Fix the previous change, this is a list of categories and not a hierarchy.
8729
8730 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8731
8732         * docs/design/draft-klass.txt:
8733           Add info about how to get a list of used classes.
8734
8735 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8736
8737         * plugins/elements/gsttypefindelement.c:
8738         (gst_type_find_element_chain_do_typefinding),
8739         (gst_type_find_element_change_state):
8740           Don't leak found caps in chain function (no idea why that never
8741           showed up as a leak anywhere).
8742
8743 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8744
8745         * gst/gstplugin.h:
8746           Fix and expand GstPluginDesc API docs.
8747
8748 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8749
8750         * gst/gstcaps.c:
8751         * gst/gstelementfactory.c:
8752         * gst/gstpadtemplate.h:
8753           api doc fixes
8754
8755         * libs/gst/controller/gstcontroller.c:
8756         (gst_controlled_property_new):
8757         * tests/examples/controller/audio-example.c:
8758           comment fixes
8759
8760 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8761
8762         * configure.ac:
8763           comment about refining the xml deps
8764
8765         * docs/manuals.mak:
8766           comments about moving away from jade for docs
8767         
8768         * gst/gst.c:
8769           recommit the ifdefs to use the binary registry
8770         
8771         * gst/gstbin.c: (gst_bin_change_state_func):
8772           this break is obsolete
8773
8774         * gst/gstelementfactory.h:
8775           better GST_ELEMENT_DETAILS docs, add comment about translation
8776
8777         * gst/gstinfo.h:
8778           remove eol slash
8779
8780         * gst/gstobject.c: (gst_signal_object_get_type):
8781           add G_UNLIKELY as usual
8782
8783         * gst/gstpad.c: (gst_pad_event_default):
8784           add fall trhu comment
8785
8786         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8787         (gst_registry_binary_initialize_magic),
8788         (gst_registry_binary_save_string),
8789         (gst_registry_binary_save_pad_template),
8790         (gst_registry_binary_save_feature),
8791         (gst_registry_binary_save_plugin),
8792         (gst_registry_binary_write_cache),
8793         (gst_registry_binary_check_magic),
8794         (gst_registry_binary_load_pad_template),
8795         (gst_registry_binary_load_feature),
8796         (gst_registry_binary_load_plugin),
8797         (gst_registry_binary_read_cache):
8798           comment typo and formatting
8799
8800         * gst/gstutils.c: (gst_element_state_get_name),
8801         (gst_element_state_change_return_get_name):
8802           remove obsolete breaks
8803
8804         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8805           add FIXME 0.11 and remove cpp comment
8806
8807 2007-01-29  Edward Hervey  <edward@fluendo.com>
8808
8809         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8810         Fix print statement in an even more portable way.
8811
8812 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8813
8814         * docs/gst/gstreamer-sections.txt:
8815         * gst/gstutils.h:
8816           API: add GST_ROUND_DOWN_* macros (#401781).
8817
8818 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8819
8820         * docs/gst/gstreamer.types.in:
8821         * gst/gstregistry.c: (gst_registry_class_init):
8822           Document registry signals and make gtk-doc pick them up (#401381).
8823
8824 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8825
8826         * docs/pwg/building-testapp.xml:
8827           Add some audioconverts and audioresample to the pipeline, and some
8828           more comments and error handling.
8829
8830 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8831
8832         * docs/manual/manual.xml:
8833         * docs/pwg/pwg.xml:
8834           Fix typo (#400987).
8835
8836 2007-01-26  Wim Taymans  <wim@fluendo.com>
8837
8838         * gst/gstcaps.c: (gst_static_caps_get):
8839         Init caps flags too.
8840
8841 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8842
8843         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8844
8845         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8846         If not using mmap'ed files try to seek to the end instead of the
8847         start to determine whether we can seek at all. This fixes the case
8848         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8849         seeks for everything afterwards fail. Fixes #400656
8850
8851 2007-01-25  Wim Taymans  <wim@fluendo.com>
8852
8853         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8854         Add some refcount debugging.
8855         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8856         in multiple streaming threads.
8857
8858 2007-01-25  Wim Taymans  <wim@fluendo.com>
8859
8860         Patch by: David Schleef <ds at schleef dot org>
8861
8862         * docs/libs/gstreamer-libs-sections.txt:
8863         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8864         * libs/gst/base/gstadapter.h:
8865         API: gst_adapter_copy() that can reduce the amount of memcpy when
8866         getting data from the adapter. Fixes #388201.
8867
8868 2007-01-25  Edward Hervey  <edward@fluendo.com>
8869
8870         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8871         In print statements, "%x" is for guint. Fixes build on macosx.
8872
8873 2007-01-24  Edward Hervey  <edward@fluendo.com>
8874
8875         * plugins/elements/gstmultiqueue.c:
8876         (gst_multi_queue_loop):
8877         Small fix.
8878         (single_queue_overrun_cb), (single_queue_underrun_cb),
8879         (single_queue_check_full), (gst_single_queue_new):
8880         Implement single queue growth system.
8881         This uses the extra-size properties, and will grow single queues by
8882         that much if one goes full whereas there are others empty. This is
8883         called extra-mode in the code.
8884         When a single queue's levels go back below the initial max-size
8885         limits, it is no longer in extra-mode. This is to ensure we don't
8886         consume too much memory.
8887         Fixes #399875
8888
8889 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8890
8891         * gst/gst.c: (gst_init_get_option_group):
8892           Make warning about late g_thread_init() calls a bit more explicit,
8893           so that it's more obvious to application developers what they need
8894           to do if a user files a bug against their application.
8895
8896 2007-01-22  Edward Hervey  <edward@fluendo.com>
8897
8898         * plugins/elements/gstmultiqueue.c:
8899         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8900         Remove previous hack of unsetting the flushing flag for the source pad
8901         instead of activating it. Instead, fix the source pad activate function
8902         so that it no longer depends on having a parent set or not.
8903
8904 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8905
8906         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8907
8908         * docs/manual/basics-bus.xml:
8909           Fix example code, gst_element_unref() doesn't exist any longer.
8910
8911 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8912
8913         Patch by: Mark Nauwelaerts <manauw at skynet be>
8914
8915         * gst/gstpad.c:
8916           Fix two docs typoes (#399094).
8917
8918 2007-01-19  Edward Hervey  <edward@fluendo.com>
8919
8920         * docs/faq/gst-uninstalled:
8921         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8922         depending on libgstbaseutils can work in uninstalled environment.
8923
8924 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8925
8926         * gst/gsttaglist.h:
8927         * gst/gsttagsetter.c:
8928         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8929         statement for new tag.
8930
8931 2007-01-17  Edward Hervey  <edward@fluendo.com>
8932
8933         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8934         When dynamically creating single queues, activate sinkpad before adding
8935         it.
8936         We should be doing the same thing for the source pad, but we can't
8937         since it would call a method which needs the parent to be set in order
8938         to work propertly. Instead of activating the source pad, we just unset
8939         the flushing flag, which is the minimal requirement for adding a pad
8940         to an element in a state greater than READY.
8941
8942 2007-01-17  Edward Hervey  <edward@fluendo.com>
8943
8944         * docs/faq/gst-uninstalled:
8945         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8946         Mac OS X.
8947
8948 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8949
8950         * tests/check/gst/gstabi.c:
8951         * tests/check/gst/struct_hppa.h:
8952         * tests/check/libs/libsabi.c:
8953         * tests/check/libs/struct_hppa.h:
8954           Add ABI structs for HPPA (see #393796).
8955
8956 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8957
8958         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8959           Actually write ABI structs to the file specified in the GST_ABI
8960           environment variable, as the message we print claims we would.
8961
8962 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8963
8964         * tests/check/gst/gsttask.c:
8965           Fix header comment.
8966
8967 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8968
8969         * gst/gsttaglist.c: (_gst_tag_initialize):
8970           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8971           previous two entries.
8972
8973 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8974
8975         * docs/gst/gstreamer-sections.txt:
8976         * gst/gsttaglist.c: (_gst_tag_initialize):
8977         * gst/gsttaglist.h:
8978           Add tag support for beat-per-minute.
8979
8980 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8981
8982         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8983         (gst_registry_binary_initialize_magic),
8984         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8985         (gst_registry_binary_save_pad_template),
8986         (gst_registry_binary_save_feature),
8987         (gst_registry_binary_save_plugin),
8988         (gst_registry_binary_write_cache),
8989         (gst_registry_binary_check_magic),
8990         (gst_registry_binary_load_pad_template),
8991         (gst_registry_binary_load_feature),
8992         (gst_registry_binary_load_plugin),
8993         (gst_registry_binary_read_cache):
8994         * gst/gstregistrybinary.h:
8995           Use glib types, cleanup comments, impement interfaces and uri-types.
8996
8997 2007-01-13  Andy Wingo  <wingo@pobox.com>
8998
8999         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
9000         getrange() to return buffers with other caps, while we fix
9001         demuxers and typefind, or otherwise change part-negotiation.txt.
9002
9003 2007-01-12  Andy Wingo  <wingo@pobox.com>
9004
9005         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
9006         Factor start/stop into this private function instead of partially
9007         in activate functions and partially in the change_state function.
9008         Fixes setup before the element has changed from READY->PAUSED, as
9009         is the case in pull-mode pipelines.
9010         (gst_base_transform_sink_activate_push)
9011         (gst_base_transform_src_activate_pull): Refactor to use
9012         gst_base_transform_activate().
9013         (gst_base_transform_change_state): Removed, not needed any more.
9014
9015         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9016         Truncate before fixating.
9017         
9018         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9019         Don't set_caps() if the result of fixating is ANY, as it's not
9020         supported, and not necessary in the case of a link with no
9021         template caps on either side. Fixes tests/check/libs/basesrc in
9022         some pull-mode tests.
9023
9024         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
9025         (gst_base_transform_init, gst_base_transform_sink_activate_push)
9026         (gst_base_transform_src_activate_pull): 
9027         Track the activation mode.
9028         (gst_base_transform_setcaps): In pull mode, when activating the
9029         src pad, after activating the sink pad, activate the sink pad's
9030         peer, as discussed in part-negotiation.txt.
9031
9032         * libs/gst/base/gstbasesrc.h: 
9033         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
9034         vmethod, as in basesink.
9035
9036         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
9037
9038         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
9039         mode, first proxy the setcaps to the peer pad.
9040         (gst_base_sink_pad_fixate): Add a fixate function that calls the
9041         new fixate vmethod.
9042         (gst_base_sink_default_activate_pull): Rename from
9043         gst_base_sink_activate_pull.
9044         (gst_base_sink_negotiate_pull): New function, performs negotiation
9045         in pull mode before calling ::activate_pull().
9046         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
9047         vmethod instead of the default implementation. I have no idea how
9048         this worked before. Negotiate before calling activate_pull.
9049
9050         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
9051         sink pads in pull mode. In addition to being correct, fixes
9052         filesrc ! decodebin ! identity ! fakesink.
9053         (gst_pad_get_range, gst_pad_pull_range): Don't call
9054         gst_pad_set_caps() if the caps changes; instead error out with
9055         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
9056
9057 2007-01-12  Andy Wingo  <wingo@pobox.com>
9058
9059         * docs/design/part-negotiation.txt: Update with more policy.
9060
9061 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9062
9063         * libs/gst/check/gstbufferstraw.h:
9064         * libs/gst/check/gstcheck.h:
9065           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
9066           belongs.
9067
9068 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9069
9070         * tests/check/Makefile.am:
9071         * tests/check/gst/.cvsignore:
9072         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
9073         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
9074         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
9075         (GST_START_TEST), (gst_tag_setter_suite):
9076           Add minimal unit test for beforementioned GstTagSetter bug.
9077
9078 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9079
9080         Patch by: René Stadler <mail at renestadler dot de>
9081
9082         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
9083           gst_tag_list_merge() returns a new list, so it's not the best idea
9084           to ingore its return value. Effectively meant that tags could only
9085           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
9086           Also add function guard to require a non-NULL taglist as input (has
9087           always been so due to gst_tag_list_copy(), just making it explicit).
9088
9089 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9090
9091         * docs/random/draft-missing-plugins.txt:
9092           Some additions: mention new API that is supposed to be used at the
9093           various stages; short blob about new gst-inspect introspection
9094           option; mention potential future problem with plugins that have
9095           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
9096
9097 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9098
9099         * tools/gst-inspect.c:
9100         (print_plugin_automatic_install_info_codecs),
9101         (print_plugin_automatic_install_info_protocols),
9102         (print_plugin_automatic_install_info), (main):
9103         Add --print-plugin-auto-install-info option to gst-inspect, so we can
9104         introspect plugin files and get machine-parsable output that corresponds
9105         to the last bit of the missing-plugin installer string (small gotcha:
9106         doesn't take into account ranks).
9107
9108 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
9109
9110         * configure.ac:
9111         * docs/gst/gstreamer-sections.txt:
9112         * gst/Makefile.am:
9113         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
9114         (gst_registry_lookup_locked):
9115         * gst/gstregistry.h:
9116         * gst/gstregistrybinary.c: (gst_registry_binary_write),
9117         (gst_registry_binary_initialize_magic),
9118         (gst_registry_binary_save_string),
9119         (gst_registry_binary_save_pad_template),
9120         (gst_registry_binary_save_feature),
9121         (gst_registry_binary_save_plugin),
9122         (gst_registry_binary_write_cache),
9123         (gst_registry_binary_check_magic),
9124         (gst_registry_binary_load_pad_template),
9125         (gst_registry_binary_load_feature),
9126         (gst_registry_binary_load_plugin),
9127         (gst_registry_binary_read_cache):
9128         * gst/gstregistrybinary.h:
9129         * gst/gstregistryxml.c: (load_feature),
9130         (gst_registry_xml_read_cache):
9131           commit binary registry (disabled by default, see #359653)
9132
9133 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9134
9135         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
9136           Fix 'make check' too.
9137
9138 2007-01-10  Andy Wingo  <wingo@pobox.com>
9139
9140         * docs/design/part-negotiation.txt: Fix a typo, add a couple
9141         notes.
9142         
9143         * docs/design/part-negotiation.txt: Update with, um, one way that
9144         pull-mode negotiation might work?
9145
9146         * gst/gstpad.h: 
9147         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
9148         that the pad must be a src pad; makes sense to call it the other
9149         way in pull mode, and the logic is symmetric anyway.
9150
9151 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
9152
9153         * plugins/elements/gstfilesink.c:
9154           Include <stdio.h> for fseeko().
9155
9156 2007-01-10  Wim Taymans  <wim@fluendo.com>
9157
9158         * gst/gstevent.c:
9159         * gst/gstevent.h:
9160         Reserve LATENCY event.
9161
9162 2007-01-09  Wim Taymans  <wim@fluendo.com>
9163
9164         * docs/design/draft-latency.txt:
9165         Updates.
9166
9167 2007-01-09  Wim Taymans  <wim@fluendo.com>
9168
9169         * docs/design/draft-latency.txt:
9170         Updates.
9171
9172         * gst/gstelement.h:
9173         * gst/gststructure.c:
9174         * gst/gsttrace.c:
9175         Small typo fixes.
9176
9177 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9178
9179         * tests/check/.cvsignore:
9180           Ignore test-registry.xml as well.
9181
9182 2007-01-09  Wim Taymans  <wim@fluendo.com>
9183
9184         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9185         unref data at the end when we are done with the pad.
9186
9187 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9188
9189         * docs/gst/gstreamer-sections.txt:
9190         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9191         (init_post), (gst_deinit), (gst_update_registry):
9192         * gst/gst.h:
9193           API: add gst_update_registry() (#391296).
9194
9195         * tests/check/Makefile.am:
9196         * tests/check/gst/gstregistry.c:
9197         * tests/check/gst/.cvsignore:
9198           Simple unit test for the above.
9199
9200 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9201
9202         * gst/gstregistry.c: (gst_registry_scan_path_level):
9203           Plugin extension on HP-UX is .sl, add that to the list of approved
9204           plugin extensions (see #393796).
9205
9206         * tests/check/gst/gstpad.c: (GST_START_TEST):
9207           ulong => gulong. Fixes compilation with HP-UX compiler.
9208
9209         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9210           Fix compilation if valgrind headers are not available.
9211
9212 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
9213
9214         * win32/common/libgstreamer.def: 
9215           Add new exported function.
9216         * win32/vs6/libgstbase.dsp: 
9217           Add gstdataqueue.c to the build.
9218         * win32/vs6/libgstcoreelements.dsp:
9219           Add gstmultiqueue.c to the build.
9220         
9221 2007-01-06  Andy Wingo  <wingo@pobox.com>
9222
9223         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9224         activate_pull(), providing for a way to specialize the process of
9225         spawning a thread to pull on the sink pad. There is a default
9226         implementation.
9227
9228         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9229         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9230         (gst_base_sink_init): Renamed pad activation functions (inserting
9231         "_pad" in their names). Refactor to use the new activate_pull
9232         vmethod, as appropriate.
9233         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9234         default activate_pull function to start a task pulling from the
9235         sink pad, as before.
9236
9237         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9238         on the pads if necessary, as in push()/chain(). Update docs.
9239         Shouldn't affect existing pull() usage as it is currently only
9240         being used on buffers without caps.
9241
9242 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9243
9244         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9245         (init_pre):
9246           Call g_thread_init() first thing in gst_init() / gst_check_init().
9247           When initialisation is done via gst_init_get_option_group() and
9248           GOption parsing, issue a warning if the GLib thread system has not
9249           been initialised yet by the time gst_init_get_option_group() is
9250           called, as it's quite likely other GLib functions such as
9251           g_option_context_new() have been called already then, and
9252           g_thread_init() must be called before any other GLib function. The
9253           application in question must be fixed in that case, since memory
9254           corruption might happen otherwise.
9255           We issue the warning because even if the GLib folks decide to work
9256           around the problem on their end in future, this is still an issue
9257           with all GLib versions >= 2.10.0, so we should warn until we depend
9258           on a GLib version we know to be safe.
9259           Update documentation as well.
9260           Closes bug #391278.
9261
9262 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9263
9264         * tools/gst-inspect.c: (main):
9265         * tools/gst-launch.c: (main):
9266         * tools/gst-typefind.c: (main):
9267         * tools/gst-xmlinspect.c: (main):
9268           Call g_thread_init() really really early, before any other GLib
9269           function (see #342564 and recent discussion on gtk-devel-list).
9270
9271 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9272
9273         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
9274
9275         * gst/gst_private.h:
9276         * gst/gstconfig.h.in:
9277         * gst/gstinfo.h:
9278           On win32, all the __declspec stuff for symbol exporting is
9279           apparently only needed with MSVC, but doesn't work with MingW.
9280           Fixes compilation with MingW and #391909.
9281
9282 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9283
9284         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9285           Change some GST_ERROR_OBJECT that aren't really errors to
9286           GST_WARNING_OBJECT in order to reduce terminal spam.
9287
9288 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9289
9290         * tests/check/Makefile.am:
9291           disable test again, as there seem to be still race problems
9292
9293 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9294
9295         * tests/check/Makefile.am:
9296         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9297         (GST_START_TEST), (queue_suite):
9298           enable queue test again, add tests for the leaky behaviour
9299
9300 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
9301
9302         * configure.ac:
9303         * tests/examples/Makefile.am:
9304           Compile adapter test/example only if the required headers are
9305           available (fixes #391915).
9306
9307 2007-01-01  David Schleef  <ds@schleef.org>
9308
9309         * gst/gstplugin.c:
9310           Restore the previous signal handler for SIGSEGV instead of
9311           setting to default, since we may have stolen it away from
9312           someone.  (i.e., Mono)
9313
9314 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9315
9316         * docs/random/draft-missing-plugins.txt:
9317           Some small additions and clarifications.
9318
9319 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9320
9321         * gst/gstregistryxml.c: (gst_registry_save_escaped):
9322           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9323           since that can lead to random memory corruptions and crashes
9324           (may or may not be related to #383244, #386711, and #386711).
9325
9326 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9327
9328         * tests/check/.cvsignore:
9329         * tests/check/Makefile.am:
9330           sync .cvsignome and CLEANFILES
9331
9332 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9333
9334         * tests/check/Makefile.am:
9335           fix distcheck
9336
9337 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9338
9339         * docs/design/part-states.txt:
9340           two tiny additional comments
9341         
9342         * gst/gststructure.c:
9343           doc fixing
9344
9345         * tests/check/Makefile.am:
9346         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9347         (GST_START_TEST):
9348           disable test for now, unless it gets fixed
9349
9350 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9351
9352         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9353         (GST_START_TEST):
9354           fix race in underrun test
9355
9356 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9357
9358         * tests/check/elements/.cvsignore:
9359           ignore more
9360
9361         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9362         (GST_START_TEST):
9363           try to narrow test failure
9364
9365 2006-12-21  David Schleef  <ds@schleef.org>
9366
9367         * plugins/elements/gstfakesrc.c:
9368           Use g_random_int_range(), since it produces better random
9369           numbers in a range than almost-correct floating point code.
9370
9371 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9372
9373         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9374         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9375         (gst_check_teardown_sink_pad):
9376           do not automatically (de)activate pads
9377
9378         * tests/check/Makefile.am:
9379         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9380         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9381           add new, yet simple tests for queue
9382
9383         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9384         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9385         * tests/check/elements/filesrc.c: (cleanup_filesrc),
9386         (GST_START_TEST):
9387         * tests/check/elements/identity.c: (cleanup_identity):
9388           consistent pad (de)activation
9389
9390 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
9391
9392         Patch by: Sebastian Dröge  <slomo ubuntu com>
9393
9394         * libs/gst/base/gstcollectpads.c:
9395           Fix two doc typos (#387866).
9396
9397 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9398
9399         * docs/manual/advanced-dparams.xml:
9400           Fix typo (g_object_control_properties() doesn't exist).
9401
9402 2006-12-19  Edward Hervey  <edward@fluendo.com>
9403
9404         * gst/gstsegment.c: (gst_segment_set_seek):
9405         Fine tune the cases where the segment start/stop values are really
9406         updated.
9407         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9408         Add tests for the return values of gst_segment_set_seek().
9409
9410 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9411
9412         * gst/gst.c:
9413           Docs typo fix.
9414
9415         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9416         (gst_queue_init):
9417           Fix incorrect documentation and flesh it out a bit more.
9418           Set default values for the max properties on the GParamSpec as well,
9419           so it shows up correctly in gst-inspect.
9420
9421 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
9422
9423         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9424           Correct docs of queue, add more detail and crosslink it more.
9425
9426 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9427
9428         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9429           Print additional debug info when the stream isn't perfectly
9430           timestamped; don't try to use invalid durations.
9431
9432 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9433
9434         * docs/design/Makefile.am:
9435           Dist new design docs.
9436
9437 2006-12-16  Wim Taymans  <wim@fluendo.com>
9438
9439         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9440
9441         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9442         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9443         (gst_collect_pads_stop), (gst_collect_pads_event),
9444         (gst_collect_pads_chain):
9445         * libs/gst/base/gstcollectpads.h:
9446         Add refcounting to the collectpads data so we can track when it's safe
9447         to free the data. Fixes #383382.
9448
9449 2006-12-15  Wim Taymans  <wim@fluendo.com>
9450
9451         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9452         (gst_collect_pads_remove_pad):
9453         Automatically activate/deactivate pads when they are added to a
9454         started/stoped collectpads.
9455
9456 2006-12-15  Wim Taymans  <wim@fluendo.com>
9457
9458         * gst/gstelement.c: (gst_element_add_pad):
9459         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9460         * gst/gstpad.c: (gst_pad_init):
9461         Set pads to FLUSHING when they are created. Check, warn and fix when a
9462         demuxer adds an inactive pad to itself when running. Fixes #339326.
9463
9464 2006-12-15  Wim Taymans  <wim@fluendo.com>
9465
9466         * gst/gstelement.c: (gst_element_class_init),
9467         (gst_element_default_send_event), (gst_element_send_event),
9468         (gst_element_default_query), (gst_element_query):
9469         Expose default element send_event and query handling as vmethods that
9470         subclasses can chain up to.
9471
9472 2006-12-15  Wim Taymans  <wim@fluendo.com>
9473
9474         * gst/gstelement.c: (gst_element_set_state_func):
9475         Small documentation fixes.
9476
9477 2006-12-15  Wim Taymans  <wim@fluendo.com>
9478
9479         * docs/design/draft-latency.txt:
9480         Checked in draft for handling latency in pipelines.
9481
9482 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9483
9484         * Makefile.am:
9485         * gstreamer.doap:
9486         * gstreamer.spec.in:
9487           adding .doap file
9488
9489 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9490
9491         * gst/gst.c: (init_pre), (init_post):
9492           init_pre() and init_post() might be called via our GOptionGroup or
9493           from gst_init(), and we should skip both of them if we've already
9494           been initialised, otherwise we will init some things twice or add
9495           two default log functions.
9496
9497 2006-12-13  Edward Hervey  <edward@fluendo.com>
9498
9499         * docs/manual/basics-bus.xml:
9500         No, gst_main_loop does not exist. Its g_main_loop.
9501         Discovered by somebody who abused the copy-paste technique of coding :)
9502
9503 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9504
9505         * gst/gstghostpad.c:
9506           Log ghostpad debug stuff to the GST_PADS category as well rather
9507           than just to the default category.
9508
9509 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9510
9511         * configure.ac:
9512         * gst/gst.c: (init_pre):
9513           Add some basic system details such as OS and architecture
9514           to the debug output if possible, courtesy of uname().
9515
9516 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9517
9518         * docs/gst/running.xml:
9519           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9520           environment variables.
9521
9522 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9523
9524         * tests/check/gst/gstbin.c: (GST_START_TEST):
9525         It is acceptable to have a refcount of 2 or 3 at this point in the
9526         test, because the pipeline might be just posting its state_change
9527         message. The next line then waits for that message to appear using
9528         bus_poll, so that should be fine too.
9529
9530 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9531
9532         * gst/gst.c: (ensure_current_registry_forking):
9533         Ignore EINTR when reading from the child registry pipe.
9534         Explicitly ignore the return value from close, since it makes no
9535         difference.
9536
9537         * gst/gstminiobject.c: (gst_mini_object_ref),
9538         (gst_mini_object_unref):
9539         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9540
9541         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9542         When removing cached plugins, remove their features too, so they're
9543         not visible after they've disappeared.
9544
9545         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9546         In the unlikely case that we are linking pads with no parents, don't
9547         crash trying to get the non-existent parent bin.
9548
9549         * gst/parse/grammar.y:
9550         Output debug in the PIPELINE category
9551
9552 2005-03-08  Wim Taymans  <wim@fluendo.com>
9553
9554         Patch by: René Stadler <mail at renestadler dot de>
9555
9556         * gst/gstclock.c: (gst_clock_new_periodic_id):
9557         Reject invalid clock times for interval of periodic ids.
9558         Fixes ##383506.
9559
9560 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9561
9562         * gst/gstelementfactory.c: (gst_element_factory_create):
9563         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9564         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9565         * tools/gst-inspect.c: (print_element_info):
9566         Fix refcounting of gst_plugin_feature_load to match the docs. 
9567         Fixes: #380129
9568
9569 2006-12-07  Wim Taymans  <wim@fluendo.com>
9570
9571         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9572         (gst_base_sink_get_position):
9573         Improve debugging of events.
9574
9575 2006-12-07  Wim Taymans  <wim@fluendo.com>
9576
9577         Patch by: René Stadler <mail at renestadler dot de>
9578
9579         * gst/gstclock.c: (gst_clock_id_wait):
9580         Make period ids add the interval to the origial requested time instead
9581         of the possibly updated time which can be wrong when there are multiple
9582         waiters for the same id. Fixes #382592.
9583
9584         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9585         (gst_system_clock_id_wait_jitter_unlocked),
9586         (gst_system_clock_id_wait_jitter):
9587         Fix restart in the async notify thread when an async entry is added to
9588         the front of the list. Fixes #381492. 
9589
9590         * tests/check/gst/gstsystemclock.c: (store_callback),
9591         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9592         Added test for multiple async waits.
9593         Added test for async wait order.
9594
9595 2006-12-07  Wim Taymans  <wim@fluendo.com>
9596
9597         * gst/gstbin.c: (gst_bin_query):
9598         Add some more docs about the POSITION query.
9599
9600 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9601
9602         * configure.ac:
9603         Bump version nano - back to CVS.
9604
9605 === release 0.10.11 ===
9606
9607 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9608
9609         * configure.ac:
9610           releasing 0.10.11, "Love never runs on time"
9611
9612 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9613
9614         * win32/common/libgstbase.def:
9615         * win32/common/libgstreamer.def:
9616         * win32/vs8/libgstbase.vcproj:
9617         * win32/vs8/libgstcoreelements.vcproj:
9618         * win32/vs8/libgstreamer.vcproj:
9619         Fix compilation on win32 under VS8
9620         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9621         Partially fixes #381175
9622
9623 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9624
9625         * gst/gstvalue.c: (gst_value_compare_fraction):
9626         If someone is foolish enough to compare 2 fractions with denominator =
9627         0, return UNORDERED rather than aborting.
9628
9629 2006-11-28  Edward Hervey  <edward@fluendo.com>
9630
9631         * libs/gst/base/Makefile.am:
9632         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9633         (gst_data_queue_base_init), (gst_data_queue_class_init),
9634         (gst_data_queue_init), (gst_data_queue_new),
9635         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9636         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9637         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9638         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9639         (gst_data_queue_set_flushing), (gst_data_queue_push),
9640         (gst_data_queue_pop), (gst_data_queue_drop_head),
9641         (gst_data_queue_set_property), (gst_data_queue_get_property):
9642         * libs/gst/base/gstdataqueue.h:
9643         New GstDataQueue object for threadsafe queueing. Most useful for
9644         elements that need some queueing functionnality.
9645         * docs/libs/gstreamer-libs-docs.sgml:
9646         * docs/libs/gstreamer-libs-sections.txt:
9647         Insert documentation for GstDataQueue
9648         * plugins/elements/Makefile.am:
9649         * plugins/elements/gstelements.c:
9650         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9651         (gst_multi_queue_class_init), (gst_multi_queue_init),
9652         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9653         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9654         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9655         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9656         (gst_multi_queue_loop), (gst_multi_queue_chain),
9657         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9658         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9659         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9660         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9661         (wake_up_next_non_linked), (compute_next_non_linked),
9662         (single_queue_overrun_cb), (single_queue_underrun_cb),
9663         (single_queue_check_full), (gst_single_queue_new):
9664         * plugins/elements/gstmultiqueue.h:
9665         New multiqueue element, using GstDataQueue. Used for queuing multiple
9666         streams.
9667         Closes #344639 and #347785
9668
9669 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9670
9671         * docs/pwg/advanced-types.xml:
9672           add more missing type details
9673
9674         * tools/gst-run.c: (main):
9675           remove unused variable
9676
9677 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9678
9679         * docs/libs/Makefile.am:
9680         * docs/libs/gstreamer-libs.types:
9681           add types of base classes to enable gobject specific stuff in the docs
9682
9683         * docs/random/ensonic/embedded.txt:
9684           more ideas about isolating platform specific things
9685
9686 2006-11-20  Wim Taymans  <wim@fluendo.com>
9687
9688         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9689
9690         * libs/gst/check/gstcheck.h:
9691         Fix compilation and running against 0.9.4. Fixes #377332.
9692
9693 2006-11-20  Wim Taymans  <wim@fluendo.com>
9694
9695         * gst/gstsegment.c: (gst_segment_set_seek),
9696         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9697         (gst_segment_to_running_time):
9698         Fix boundary checking in to_running_time() and to_stream_time().
9699         Fixes #377183.
9700
9701         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9702         stream and running time can now be calculated for the complete
9703         clipped segment.
9704
9705 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9706
9707         * gst/gstpad.c: (gst_pad_push_event):
9708           Can't access event structure after giving away ownership of
9709           the event.
9710
9711 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9712
9713         * docs/random/ensonic/embedded.txt:
9714         * docs/random/ensonic/profiling.txt:
9715         * docs/random/ensonic/receipies.txt:
9716           more thinking
9717
9718 2006-11-13  Wim Taymans  <wim@fluendo.com>
9719
9720         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9721
9722         * gst/gstpad.c:
9723         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9724
9725 2006-11-13  Wim Taymans  <wim@fluendo.com>
9726
9727         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9728
9729         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9730         Store new length in segment duration so we don't keep on calling the
9731         potentially expensize get_size() call. Fixes #370865.
9732
9733 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9734
9735         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9736
9737         * win32/common/libgstreamer.def:
9738           Add two missing symbols (#366492).
9739
9740 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9741
9742         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9743         (gst_adapter_take_buffer):
9744         Fix format string to use all its arguments.
9745         Remove useless >= check on a guint
9746
9747 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9748
9749         * tests/examples/adapter/.cvsignore:
9750         Ignore build file as commanded by the build-bot
9751
9752 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9753
9754         * tests/examples/adapter/Makefile.am:
9755         * tests/examples/adapter/adapter_test.c: (run_test_take),
9756         (run_test_take_buffer), (run_tests), (main):
9757
9758         Add new files from the previous commit
9759
9760 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9761
9762         * Makefile.am:
9763         * configure.ac:
9764         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9765         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9766         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9767         * libs/gst/base/gstadapter.h:
9768         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9769         (GST_START_TEST), (gst_adapter_suite):
9770         * tests/examples/Makefile.am:
9771         Do some optimisation work in GstAdapter to avoid copies in more cases.
9772         It could still do slightly better by merging buffers when
9773         gst_buffer_is_span_fast is true, but is already faster. 
9774
9775         Also, avoid traversing a single-linked list to append each incoming 
9776         buffer inside the adapter.
9777
9778         Add simple test app that times the adapter behaviour in different
9779         situations, and extend the unit test to check that bytes enter and
9780         exit the adapter in their original order.
9781
9782 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9783
9784         * docs/random/draft-missing-plugins.txt:
9785           Update: use element message instead of adding a new message
9786           type to the core; don't provide GStreamer API to initiate the
9787           plugin download, just provide API to compose the strings needed
9788           and let an external libgimmestuff handle the rest.
9789
9790 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9791
9792         * tools/gst-inspect.c: (print_element_properties_info):
9793         Print a string instead of 'unknown type' for GValueArray properties
9794
9795 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9796
9797         * docs/random/draft-missing-plugins.txt:
9798         More small fixes.
9799
9800 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9801
9802         * tests/examples/typefind/typefind.c: (type_found), (main):
9803           Make typefind element example work again (#371894); add a
9804           license header.
9805
9806 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9807
9808         * docs/random/draft-missing-plugins.txt:
9809           Commit initial draft about how to deal with missing plugins,
9810           needs work (API too).
9811
9812 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9813
9814         * docs/pwg/advanced-types.xml:
9815           documents the new caps elements (see #363118)
9816
9817 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9818
9819         * gst/gstplugin.c: (gst_plugin_load_file):
9820         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9821         (gst_file_src_map_region), (gst_file_src_start):
9822         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9823         (gst_file_index_commit):
9824           Use g_strerror() instead of strerror() - we want UTF-8.
9825
9826 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9827
9828         Patch by: Peter Kjellerstedt <pkj at axis com>
9829
9830         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9831           Another printf fix (#371493).
9832
9833 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9834
9835         * tests/check/gst/gsttag.c:
9836           relicence (okay with author=company)
9837
9838 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9839
9840         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9841         (gst_pad_push_event):
9842           Enhance debug and improve docs
9843         
9844         * gst/gsturi.c:
9845           Fix docs
9846
9847 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9848
9849         * docs/random/ensonic/distributed.txt:
9850         * docs/random/ensonic/profiling.txt:
9851           more ideas
9852
9853 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9854
9855         * docs/gst/gstreamer-sections.txt:
9856           add new API and fix the build
9857           
9858         * gst/gstbin.c: (gst_bin_recalc_state):
9859         * gst/gstelement.c: (gst_element_message_full),
9860         (gst_element_get_state_func), (gst_element_set_state_func):
9861           use new API and improve logging
9862         
9863         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9864         * gst/gstutils.h:
9865           API: add function to get StateChangereturn names to improve logs 
9866
9867 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9868
9869         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9870           I'm considering shooting the next person to put strerror stuff
9871           in the translateable part of the message.
9872
9873 2006-11-03  Wim Taymans  <wim@fluendo.com>
9874
9875         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9876         Get the type and printf conversion specifiers right.
9877
9878 2006-11-03  Wim Taymans  <wim@fluendo.com>
9879
9880         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9881
9882         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9883         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9884         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9885         Some small cleanups. Improve debugging.
9886         * gst/gstpad.h:
9887         Signal all waiting threads with a broadcast instead of just one.
9888         Fixes #369942.
9889
9890 2006-11-03  Wim Taymans  <wim@fluendo.com>
9891
9892         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9893         (gst_fd_src_create):
9894         Add some debugging. 
9895         Only update fd when it's different from the old.
9896
9897 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9898
9899         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9900           Printf fixes for PPC/OSX, take two (#369366).
9901
9902 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9903
9904         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9905
9906         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9907         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9908         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9909           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9910           don't cast to long long for portability reasons, but use
9911           GLib's types instead.
9912
9913 2006-10-30  Michael Smith  <msmith@fluendo.com>
9914
9915         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9916           Get the arguments to lseek() the right way around.
9917           Fixes 367677.
9918
9919 2006-10-30  Wim Taymans  <wim@fluendo.com>
9920
9921         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9922
9923         * gst/gstinfo.h:
9924         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9925
9926 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9927
9928         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9929
9930         * docs/design/part-MT-refcounting.txt:
9931         * docs/random/wtay/capsnego2-docs:
9932         * gst/gstclock.c:
9933         * gst/gstxml.c:
9934           Typo fixes (#366212).
9935
9936 2006-10-28  Wim Taymans  <wim@fluendo.com>
9937
9938         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9939
9940         * gst/gst.c:
9941         * win32/common/libgstbase.def:
9942         * win32/common/libgstreamer.def:
9943         * win32/vs8/libgstbase.vcproj:
9944         * win32/vs8/libgstcontroller.vcproj:
9945         Add needed entries in .def files.
9946         Use HAVE_UNISTD_H.
9947         Rearrange def files in vs8 solutions. Fixes #366286.
9948
9949 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9950
9951         * win32/common/gstconfig.h:
9952           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9953           hand-made win32 gstconfig.h. Fixes #366321.
9954
9955 2006-10-27  Wim Taymans  <wim@fluendo.com>
9956
9957         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9958         (gst_ghost_pad_new_full):
9959         Make acceptcaps return TRUE when we don't have a target, just like
9960         setcaps does.
9961
9962 2006-10-27  Wim Taymans  <wim@fluendo.com>
9963
9964         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9965         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9966
9967 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9968
9969         * gst/gststructure.c: (gst_structure_id_set_value):
9970           If someone tries to set a non-UTF8 string field on a structure,
9971           don't just print a warning, but also ignore the request and do
9972           not change/add that field to the structure.
9973
9974         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9975           Test for the above.
9976
9977 2006-10-25  David Schleef  <ds@schleef.org>
9978
9979         * gst/gstinfo.c:
9980           g_hash_table_insert() needs a cast to a non-const pointer duh.
9981
9982 2006-10-25  David Schleef  <ds@schleef.org>
9983
9984         * gst/gstinfo.c:
9985         * gst/gstinfo.h:
9986           Change name parameter of _gst_debug_register_funcptr to const
9987           to reflect the constness of its use in the function as well
9988           as to quiet a gcc warning.
9989
9990 2006-10-25  Edward Hervey  <edward@fluendo.com>
9991
9992         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9993         Don't push the buffer if it's empty.
9994         Closes #363095
9995
9996 2006-10-24  Wim Taymans  <wim@fluendo.com>
9997
9998         * gst/gstevent.h:
9999         Add small comment.
10000
10001         * libs/gst/base/gstbasetransform.c:
10002         (gst_base_transform_sink_eventfunc):
10003         Debug segment values *after* updating them as this is more
10004         interesting.
10005
10006 2006-10-23  Wim Taymans  <wim@fluendo.com>
10007
10008         * docs/design/part-events.txt:
10009         Update some docs.
10010
10011         * docs/design/part-block.txt:
10012         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10013         (gst_pad_push_event):
10014         Revert BLOCKING patch, it tries to be smart without really having a
10015         clear idea what or how. So, now we discard all FLUSHING events again on
10016         a blocking pad. Should fix gnonlin again.
10017
10018 2006-10-23  Wim Taymans  <wim@fluendo.com>
10019
10020         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10021
10022         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10023         (gst_base_src_start), (gst_base_src_activate_push):
10024         Make sure size is always initialized. Fixes #364388.
10025
10026 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
10027
10028         * docs/random/ensonic/distributed.txt:
10029           add some ideas about doing distributed processing
10030
10031         * docs/random/ensonic/profiling.txt:
10032           get_rusage look promising
10033
10034 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
10035
10036         * docs/manual/basics-helloworld.xml:
10037           Add a cast in example to fix compile warning
10038
10039 2006-10-18  Wim Taymans  <wim@fluendo.com>
10040
10041         * gst/gstsegment.c: (gst_segment_set_last_stop),
10042         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10043         Relax arg checking again, -1 is allowed.
10044
10045 2006-10-18  Wim Taymans  <wim@fluendo.com>
10046
10047         * gst/gstsegment.c: (gst_segment_set_last_stop),
10048         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10049         _set_last_stop() must be with a value != -1
10050         A _TYPE_SET to -1 means seek to 0.
10051         Calc last_stop correctly for negative rates.
10052         Make sure we work with positive durations when updating a segment.
10053
10054 2006-10-18  Wim Taymans  <wim@fluendo.com>
10055
10056         * docs/design/part-live-source.txt:
10057         * gst/gstclock.h:
10058         Small docs fixes.
10059
10060 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
10061
10062         * gst/gstbuffer.h:
10063           Add an explicit cast to GstBuffer** to keep old code that added an
10064           explicit cast to GstMiniObject** for gst_mini_object_replace()
10065           compiling without warning.
10066
10067 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
10068
10069         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
10070           check for validity of dates
10071
10072 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10073
10074         * docs/gst/gstreamer-sections.txt:
10075           Forgot this one, makes gtk-doc shut up.
10076
10077 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10078
10079         Patch by: Peter Kjellerstedt <pkj at axis com>
10080
10081         * gst/gstobject.h:
10082           Don't define xmlNodePtr to gpointer if the core was built with
10083           --disable-loadsave and --disable-registry, this will break
10084           applications that want to use libxml2 but are buildling against a
10085           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
10086           instead so we don't have to mess with the libxml2 namespace
10087           (#361675).
10088
10089 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10090
10091         * gst/gstbuffer.h:
10092           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
10093           type-punned pointer warnings.
10094
10095 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
10096
10097         * gst/gstelement.h:
10098           Add casts to the correct return type to state <=> state transition
10099           macros.
10100
10101 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
10102
10103         * docs/design/part-live-source.txt:
10104           describe howto handle latency
10105         
10106         * docs/random/ensonic/profiling.txt:
10107           more ideas
10108
10109         * tools/gst-plot-timeline.py:
10110           fix log parsing for solaris, remove unused function
10111
10112 2006-10-16  Wim Taymans  <wim@fluendo.com>
10113
10114         * docs/design/part-trickmodes.txt:
10115         * gst/gstevent.c:
10116         Update some docs regarding reverse playback.
10117
10118 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10119
10120         Patch by: Marcus Granado  <mrc dot gran at gmail com>
10121
10122         * win32/vs8/grammar.vcproj:
10123           Error out with a warning if glib-genmarshal.exe is not in path,
10124           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
10125
10126 2006-10-13  Wim Taymans  <wim@fluendo.com>
10127
10128         * gst/gstsegment.c: (gst_segment_set_seek):
10129         When seeking to stop -1, set last_stop (current position) to the
10130         duration of the segment.
10131
10132 2006-10-13  Wim Taymans  <wim@fluendo.com>
10133
10134         * gst/gstelement.h:
10135         Clarify _NO_PREROLL a bit more.
10136
10137         * gst/gstevent.c:
10138         Fix docs.
10139
10140         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10141         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
10142         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
10143         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
10144         due to wrong locking order. Fixes #361769.
10145         Remove some redundant/misplaced checks in pad_block.
10146
10147         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10148         For negative rates, count backwards from the duration.
10149
10150 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10151
10152         * gst/gsterror.c: (_gst_library_errors_init):
10153           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10154           up with something better).
10155
10156 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10157
10158         * win32/vs6/libgstreamer.dsp:
10159         * win32/vs7/libgstreamer.vcproj:
10160         * win32/vs8/libgstreamer.vcproj:
10161           Don't reference glib-compat.c which is currently not used and not
10162           disted; add gstquark.c which was recently added. Fixes #361730.
10163
10164 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10165
10166         * win32/common/libgstbase.def:
10167         * win32/common/libgstcontroller.def:
10168         * win32/common/libgstreamer.def:
10169           Add gst_caps_merge() and a bunch of other recently-added functions.
10170           Fixes #361732.
10171
10172 2006-10-11  Wim Taymans  <wim@fluendo.com>
10173
10174         * docs/plugins/gstreamer-plugins.args:
10175         * docs/plugins/inspect/plugin-coreelements.xml:
10176         * docs/plugins/inspect/plugin-coreindexers.xml:
10177         Update element args.
10178
10179         * gst/gstsystemclock.c:
10180         Small comment update.
10181
10182         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10183         (gst_tee_request_new_pad), (gst_tee_release_pad),
10184         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10185         (gst_tee_sink_activate_pull):
10186         * plugins/elements/gsttee.h:
10187         Some tee loving:
10188         Add default property defines.
10189         Implement release pad function.
10190         Give properties better blubs etc.
10191         Activate pads before adding them to a running tee.
10192         Do simple buffer_alloc on the first requested pad.
10193         Post error when activation fails.
10194
10195 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10196
10197         * gst/gst.c: (ensure_current_registry_forking):
10198           Check return value of write() to make compiler happy.
10199
10200 2006-10-11  Wim Taymans  <wim@fluendo.com>
10201
10202         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10203
10204         * plugins/elements/gstqueue.c: (gst_queue_chain):
10205         Recheck queue filledness after signalling the overrun when we're about
10206         to leak downstream because we released the lock when emitting the signal
10207         and the queue could be empty again. Fixes #352345.
10208
10209 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10210
10211         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10212           Fix refcounting here too, just like we did for _new_valist() a few
10213           days ago (#357180) (thanks to René Stadler). Also remove all those
10214           'Since: 0.9' from the gtk-doc blobs.
10215
10216         * tests/check/libs/controller.c: (controller_refcount_new_list),
10217         (gst_controller_suite):
10218           Unit test for the above.
10219
10220 2006-10-10  Wim Taymans  <wim@fluendo.com>
10221
10222         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10223
10224         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10225         (gst_pad_save_thyself):
10226         Update some docs.
10227         Write pad direction in XML output. Fixes #345496.
10228
10229 2006-10-10  Wim Taymans  <wim@fluendo.com>
10230
10231         Patch by: René Stadler <mail at renestadler dot de>
10232
10233         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10234         (gst_controller_new_list), (_gst_controller_dispose),
10235         (_gst_controller_finalize), (_gst_controller_class_init):
10236         Take ref to controlled object so that it cannot disappear. 
10237         Fixes #357432.
10238
10239 2006-10-10  Wim Taymans  <wim@fluendo.com>
10240
10241         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10242         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10243         (gst_check_teardown_sink_pad):
10244         Activate/deactivate pads in setup/teardown respectively.
10245
10246 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10247
10248         Patch by: Josep Torra Valles <josep@fluendo.com>
10249
10250         * gst/Makefile.am:
10251         Cast values when making gstenumtypes.h.  This pacifies Forte
10252         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10253         in the enumeration.
10254
10255 2006-10-09  Wim Taymans  <wim@fluendo.com>
10256
10257         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10258         Rename some more @cur to @start to fix docs. 
10259
10260         * gst/gstsegment.c: (gst_segment_set_seek):
10261         Fix typo.
10262         time and start must always stay in sync as defined in design doc.
10263
10264         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10265         Rename param to fix docs.
10266
10267         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10268         Check that start and time are in sync.
10269
10270         * tests/check/pipelines/parse-launch.c:
10271         (gst_parse_test_element_change_state):
10272         Activate pad before adding to the element.
10273
10274 2006-10-09  Wim Taymans  <wim@fluendo.com>
10275
10276         * docs/design/part-qos.txt:
10277         Fix typo.
10278
10279         * gst/gstevent.c:
10280         * gst/gstevent.h:
10281         Update seek event docs regarding negative rates.
10282         Rename @cur to @start. 
10283
10284         * gst/gstsegment.c: (gst_segment_set_seek):
10285         * gst/gstsegment.h:
10286         Update set_seek docs regarding negative rates.
10287         Correctly update last_stop to @stop when dealing with negative
10288         rates.
10289         Rename @cur to @start. 
10290
10291         * tests/check/gst/gstpad.c: (GST_START_TEST):
10292         Activate pads before trying to use them.
10293
10294         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10295         (gst_segment_suite):
10296         Add simple check for segments and negative rates.
10297
10298 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
10299
10300         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10301         * gst/gsttaglist.h:
10302         * docs/gst/gstreamer-sections.txt:
10303           API: add gst_tag_list_is_empty() (#360467).
10304
10305         * tests/check/gst/gsttag.c: (GST_START_TEST):
10306           And a test case.
10307
10308 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10309
10310         * gst/gstmessage.h:
10311         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10312         a value that doesn't fit on enumeration.
10313
10314 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10315
10316         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10317         Remove local debugging system and use Gstreamer's instead.
10318
10319 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10320
10321         Patch by: Josep Torra Valles <josep@fluendo.com>
10322
10323         * common/m4/gst-error.m4:
10324         Disable warning of statement not reached on Forte.
10325         * gst/gstmessage.h:
10326         Fix warning on Forte (value doesn't fit on enumeration).
10327         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10328         Fix warning on Forte (value doesn't fit on enumeration).
10329         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10330         DEBUG macro says it takes minimum of 2 args and so Forte
10331         complains about the use with just 1 arg.
10332         * plugins/elements/gstfdsink.c:
10333         * plugins/elements/gstfdsrc.c:
10334         * plugins/elements/gstfilesink.c:
10335         * plugins/elements/gstfilesrc.c:
10336         Use correct return type for the uri handler implementations.
10337
10338         All these fix warnings in Forte.  Fixes bug #360860.
10339
10340 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
10341
10342         * gst/gstelement.h:
10343           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10344           format string, so don't use G_GNUC_PRINTF for those versions.
10345
10346 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10347
10348         * gst/gsttaglist.c: (gst_is_tag_list):
10349         * gst/gsttaglist.h:
10350           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10351
10352         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10353           Small test for the above.
10354
10355 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10356
10357         * gst/gsttaglist.h:
10358           Less tabs, more spaces.
10359
10360 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
10361
10362         * gst/gstinfo.h:
10363           Those two function declarations do actually belong there, revert
10364           commit from yesterday that turned them intro macros.
10365
10366 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10367
10368         Patch by: Josep Torra Valles <josep@fluendo.com>
10369
10370         * gst/gst.c: (gst_init_get_option_group):
10371         Fix empty declaration and type mismatch.
10372         * gst/gstbin.c: (gst_bin_change_state_func):
10373         Fix type mismatch.
10374         * gst/gstelement.c: (gst_element_continue_state),
10375         (gst_element_set_state_func), (gst_element_change_state),
10376         (gst_element_change_state_func):
10377         Fix type mismatches.
10378         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10379         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10380         Cast as appropriate.
10381         * gst/gstobject.c: (gst_class_signal_connect):
10382         Cast as appropriate.  The function pointer parameter really
10383         has the wrong type but would break API if we change it.
10384         * gst/gstquery.c:
10385         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10386         order of including string.h.
10387         * gst/gstutils.c: (gst_element_state_get_name):
10388         Remove unreachable line.
10389         * gst/gstxml.c: (gst_xml_parse_doc):
10390         Fix type mismatch.
10391         All these caught by Forte.
10392
10393 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10394
10395         Patch by: Josep Torra Valles <josep@fluendo.com>
10396
10397         * common/m4/gst-error.m4:
10398         Fixed bug #360151.
10399         We need to disable warnings on Forte for empty declarations
10400         due to gst-indent adding ;s to lines that just use macros
10401         where the macro actually doesn't need a ; at end to end
10402         statement.
10403
10404 2006-10-06  Wim Taymans  <wim@fluendo.com>
10405
10406         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10407         (gst_file_sink_close_file), (gst_file_sink_event),
10408         (gst_file_sink_render):
10409         Add some FIXME for the NEWSEGMENT handling.
10410
10411 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10412
10413         * gst/parse/grammar.y:
10414         Remove static function gst_parse_element_lock as all it does
10415         is return.  Looks like cruft from 0.8.
10416
10417 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10418
10419         Patch by: Josep Torra Valles <josep@fluendo.com>
10420
10421         * common/m4/gst-error.m4:
10422         * configure.ac:
10423         * libs/gst/net/Makefile.am:
10424         Fix a compilation issue with Forte on Solaris.  inet_aton is in
10425         libresolv.
10426
10427 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10428
10429         * gst/gstpad.c: (pre_activate):
10430         * gst/gstregistry.c: (gst_registry_scan_path_level):
10431         * gst/gstregistryxml.c: (load_plugin):
10432         * libs/gst/controller/gstcontroller.c:
10433         (gst_controlled_property_set_interpolation_mode):
10434         * libs/gst/dataprotocol/dataprotocol.c:
10435         (gst_dp_packet_from_event_1_0):
10436         * libs/gst/net/gstnetclientclock.c:
10437         (gst_net_client_clock_observe_times):
10438         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10439           Printf fixes.
10440
10441 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10442
10443         * configure.ac:
10444         * docs/gst/gstreamer-sections.txt:
10445         * gst/gstconfig.h.in:
10446         * gst/gstelement.h:
10447         * gst/gstinfo.h:
10448           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10449           whether we can use G_GNUC_PRINTF in other header files and at
10450           least check the printf format/arguments of debug messages and
10451           GST_ELEMENT_ERROR messages when the printf extension is not
10452           being used.
10453           Replace more tabs with spaces in gstinfo.h and remove two spurious
10454           function declarations in GST_DISABLE_DEBUG part with macros.
10455
10456 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10457
10458         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10459           More docs for the sync-message signal (mention that it is not
10460           emitted by default); log message structures of messages posted on
10461           the bus as well.
10462
10463 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10464
10465         * gst/gst.c: (ensure_current_registry_forking):
10466         Use a pipe pair to receive status results from the forked child, and
10467         ignore the result from waitpid. Fixes #355499
10468
10469 2006-10-02  Wim Taymans  <wim@fluendo.com>
10470
10471         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10472         (gst_ghost_pad_suite):
10473         Fix leak in check.
10474
10475 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10476
10477         * gst/gstpad.c:
10478           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10479
10480 2006-10-02  Edward Hervey  <edward@fluendo.com>
10481
10482         * docs/design/part-block.txt:
10483         Further explain the use of flushing on blocked pads.
10484         * docs/gst/gstreamer-sections.txt:
10485         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10486         (gst_pad_push_event):
10487         * gst/gstpad.h:
10488         Added new GstPadFlag : GST_PAD_BLOCKING.
10489         Adds the notion of pads really blocking, which enables to properly
10490         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10491         Fixes #358999
10492         API: gst_pad_is_blocking()
10493         API: GST_PAD_IS_BLOCKING() macro
10494         API: GST_PAD_BLOCKING GstPadFlag
10495         
10496 2006-10-02  Wim Taymans  <wim@fluendo.com>
10497
10498         Patch by: mrcgran <mrc.gran at gmail dot com>
10499
10500         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10501         Filter the proxied caps against the padtemplate if we have one.
10502
10503         * gst/gstquery.c: (gst_query_new_segment):
10504         Add include for gstinfo.h so that compilation with
10505         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10506
10507 2006-10-02  Wim Taymans  <wim@fluendo.com>
10508
10509         Patch by: Alessandro Decina  <alessandro at nnva org>
10510
10511         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10512         (gst_file_sink_set_location), (gst_file_sink_open_file),
10513         (gst_file_sink_close_file), (gst_file_sink_event),
10514         (gst_file_sink_render):
10515         Set file to NULL when closing filesink so that we can set a new filename
10516         in READY. Fixes #358613.
10517
10518 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10519
10520         Patch by: Alessandro Decina  <alessandro at nnva org>
10521
10522         * gst/gstevent.c: (_gst_event_copy):
10523           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10524           with event structures by setting the parent refcount address of the
10525           copied structure to the address of the refcount member of the newly
10526           copied event rather than the address of the refcount member of the
10527           original event. Fixes #358737.
10528
10529         * tests/check/gst/gstevent.c: (GST_START_TEST):
10530           Unit test for the above.
10531
10532 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10533
10534         * docs/design/Makefile.am:
10535           Dist some more files.
10536
10537 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10538
10539         * tests/check/libs/controller.c: (GST_START_TEST),
10540         (gst_controller_suite):
10541           Add test for the previous fix; add some more tests
10542           for correct refcounting behaviour; fix a few leaks
10543           in test cases; call gst_controller_init() at start
10544           of all tests.
10545
10546 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10547
10548         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10549         (gst_controller_set_from_list):
10550           Don't g_return_val_if_fail() on timed values with invalid timestamps
10551           inside a critical section without unlocking the mutex. Spotted by
10552           René Stadler. (#357617)
10553           Also, fix up refcounting properly: when returning an existing
10554           controller, we should increase the reference only once and not
10555           once per property and when trying to control a property again
10556           we should also increase the refcount.
10557
10558 2006-09-29  Wim Taymans  <wim@fluendo.com>
10559
10560         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10561         * libs/gst/net/gstnettimeprovider.c:
10562         (gst_net_time_provider_thread):
10563         Stop reading commands when EOF as well.
10564
10565         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10566         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10567         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10568         Unify description of the dump property.
10569
10570 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10571
10572         * tests/examples/manual/.cvsignore:
10573         OK, so it's actually cvsignore that needs changing. Stop laughing.
10574
10575 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10576
10577         * tests/examples/manual/Makefile.am:
10578         Gah, declare vars *before* using them
10579
10580 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10581
10582         * gst/gst.c: (init_pre), (scan_and_update_registry),
10583         (ensure_current_registry_nonforking),
10584         (ensure_current_registry_forking), (ensure_current_registry),
10585         (init_post), (gst_debug_help), (gst_deinit):
10586         * gst/gst_private.h:
10587         * gst/gstregistry.c: (gst_registry_finalize),
10588         (gst_registry_remove_features_for_plugin_unlocked),
10589         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10590         (gst_registry_scan_path),
10591         (_priv_gst_registry_remove_cache_plugins),
10592         (_priv_gst_registry_cleanup):
10593         * gst/gstregistry.h:
10594         Re-commit the registry changes, along with an extra fix:
10595           When a cached plugin is encountered at a different file path,
10596           update the stored path in the registry cache so that the parent
10597           process knows where it actually is now when it re-reads the registry
10598           cache. Fixes the thing that broke distcheck with the previous commit.
10599
10600         * tests/check/Makefile.am:
10601         Clean up files named 'core' too when running make clean.
10602
10603         * tests/examples/manual/Makefile.am:
10604         Set up a registry path for running these tests, and clean it properly
10605         for distcheck.
10606
10607 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10608
10609         * configure.ac:
10610         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10611         want gmodule-no-export-2.0.pc instead so that we don't drag in
10612         --export-dynamic on every project that links to GStreamer.
10613
10614         Also, make our export regex only match the start of symbols, rather 
10615         than any symbol that contains '_gst' somewhere.
10616
10617         * libs/gst/check/Makefile.am:
10618         The libgstcheck we build does however need export-dynamic, as it
10619         produces some symbols that don't match our _gst... style regex.
10620         Fixes: #318031
10621
10622 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10623
10624         * gst/gst.c: (init_pre), (scan_and_update_registry),
10625         (ensure_current_registry_nonforking),
10626         (ensure_current_registry_forking), (ensure_current_registry),
10627         (init_post), (gst_debug_help), (gst_deinit):
10628         * gst/gst_private.h:
10629         * gst/gstregistry.c: (gst_registry_finalize),
10630         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10631         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10632         (_gst_registry_cleanup):
10633         * gst/gstregistry.h:
10634           Revert previous change until I figure out why it breaks distcheck.
10635
10636 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10637
10638         * gst/gst.c: (init_pre), (scan_and_update_registry),
10639         (ensure_current_registry_nonforking),
10640         (ensure_current_registry_forking), (ensure_current_registry),
10641         (init_post), (gst_debug_help), (gst_deinit):
10642
10643           Make init_pre and init_post take the full complement of GOptionFunc
10644           args so they can return useful GErrors. Make the registry updating
10645           functions do so.
10646
10647           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10648           ensure that the registry we're about to write out doesn't contain
10649           stale information about old-deleted plugin files.
10650
10651           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10652           that deletion of plugin files is considered a registry change.
10653
10654         * gst/gst_private.h:
10655         * gst/gstregistry.c: (gst_registry_finalize),
10656         (gst_registry_remove_features_for_plugin_unlocked),
10657         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10658         (gst_registry_scan_path),
10659         (_priv_gst_registry_remove_cache_plugins),
10660         (_priv_gst_registry_cleanup):
10661         * gst/gstregistry.h:
10662         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10663         by adding _priv prefix, so that they won't appear in the global
10664         symbol table. They still do atm though because of #318031. Move the
10665         prototypes to gst_private.h
10666
10667         When removing a plugin, remove all features for that plugin too. 
10668         Fixes #340878.
10669
10670 2006-09-27  Wim Taymans  <wim@fluendo.com>
10671
10672         * docs/random/moving-plugins:
10673         Make it clear that the "compiled-in descriptions" really mean
10674         the element details.
10675
10676         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10677         (gst_base_sink_wait_preroll):
10678         Update docs.
10679
10680         * docs/libs/gstreamer-libs-sections.txt:
10681         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10682         (gst_base_src_get_range), (gst_base_src_activate_push):
10683         * libs/gst/base/gstbasesrc.h:
10684         Added function to block while waiting for PLAYING, this function
10685         is used by live sources that block on the clock.
10686         API: gst_base_src_wait_playing()
10687
10688 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10689
10690         Patch by: Peter Kjellerstedt <pkj at axis com>
10691
10692         * Makefile.am:
10693           gst-element-check.m4 is generated and should therefore be
10694           copied from the build dir rather than the source dir (#357593).
10695           'make distcheck' hasn't noticed this because we were disting
10696           the file as well, so stop doing that.
10697
10698 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10699
10700         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10701           Add some tests for gst_caps_intersect().
10702
10703         * tools/gst-launch.c: (event_loop):
10704           Print all buffering percentages we get, even the 100% one.
10705
10706 2006-09-26  Wim Taymans  <wim@fluendo.com>
10707
10708         * tools/gst-inspect.c: (print_element_properties_info),
10709         (print_signal_info):
10710         Fix printing of flags to match the look of enums.
10711
10712 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10713
10714         * gst/gstelementfactory.c:
10715           Fix typo in docs blurb.
10716
10717 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10718
10719         * gst/gsturi.c: (search_by_entry):
10720           Don't assert/crash here if a uri handler doesn't return any
10721           supported protocols. The list of protocols could be generated
10722           dynamically at runtime or at plugin registration, and an error
10723           in the underlying library shouldn't be fatal (#353301).
10724
10725 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10726
10727         * gst/gstinfo.c:
10728           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10729           (spotted by Peter Kjellerstedt).
10730
10731 2006-09-23  Wim Taymans  <wim@fluendo.com>
10732
10733         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10734
10735         * libs/gst/base/gstbasesrc.c:
10736         (gst_base_src_default_check_get_range), (gst_base_src_start),
10737         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10738         (gst_base_src_change_state):
10739         Match _start/_stop calls in the activate functions. Remove redundant
10740         _stop call from the state change function. Fixes #356910.
10741         Turn failure DEBUG into ERROR. 
10742
10743 2006-09-22  Wim Taymans  <wim@fluendo.com>
10744
10745         * docs/design/part-buffering.txt:
10746         * gst/gstmessage.c: (gst_message_new_buffering),
10747         (gst_message_parse_buffering):
10748         Update docs about buffering.
10749
10750         * docs/design/part-trickmodes.txt:
10751         Fix typo.
10752
10753 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10754
10755         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10756         (gst_controller_new_list):
10757           Ref instances when returning them again (fixes #357180)
10758
10759 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10760
10761         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10762           Don't forget to release proxy lock when there's an error.
10763
10764 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10765
10766         * gst/gstcaps.h:
10767           Add extra initialisers for Caps things, to fix some plugin warnings
10768           when using -Wextra
10769
10770 2006-09-18  Wim Taymans  <wim@fluendo.com>
10771
10772         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10773           Also set template on the internal pad so that a getcaps from the 
10774           target pad returns the template caps.
10775
10776 2006-09-18  Wim Taymans  <wim@fluendo.com>
10777
10778         * gst/gstelement.c: (gst_element_post_message),
10779         (gst_element_dispose):
10780         Use _DEBUG_OBJECT some more.
10781
10782         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10783         Avoid typechecks.
10784
10785         * tools/gst-launch.c: (main):
10786         If the toplevel element is not a GstPipeline, it must be put in a
10787         pipeline so that a bus and clock is selected.
10788
10789 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10790
10791         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10792           JITTER, RATE, and LATENCY query should be handled by the
10793           default case and not by the CONVERT query code.
10794
10795 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10796
10797         * gst/gstformat.c: (gst_format_register):
10798           Fix locking order (must take lock before using n_values).
10799
10800         * gst/gstvalue.c: (gst_value_serialize_enum),
10801         (gst_value_deserialize_enum_iter_cmp),
10802         (gst_value_deserialize_enum):
10803           Fix serialisation/deserialisation of custom registered GstFormats.
10804
10805         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10806           Unit test for custom format serialisation/deserialisation.
10807
10808 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10809
10810         * docs/pwg/building-boiler.xml:
10811         * plugins/elements/gstcapsfilter.c:
10812         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10813         section.
10814
10815 2006-09-16  Edward Hervey  <edward@fluendo.com>
10816
10817         * libs/gst/base/gstbasetransform.c:
10818         (gst_base_transform_buffer_alloc):
10819         Check if requested caps are the same as the sinks caps IF
10820         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10821         is FALSE.
10822         This fixes the renegotiation issues stated in #352827.
10823
10824 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10825
10826         * configure.ac:
10827         * docs/manual/advanced-autoplugging.xml:
10828         * tests/examples/Makefile.am:
10829         * tests/examples/manual/.cvsignore:
10830         * tests/examples/manual/Makefile.am:
10831         * tests/examples/manual/extract.pl:
10832           Extract the manual examples again like we used to do.
10833           Fix one of them.
10834
10835 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10836
10837         * win32/common/config.h:
10838           update for version
10839
10840 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10841
10842         * gst/gsterror.c:
10843           Documents how to receive errors.
10844
10845 2006-09-15  Wim Taymans  <wim@fluendo.com>
10846
10847         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10848         (event_loop), (main):
10849         Added some comments here and there.
10850         Post an application message when an interrupt is caught instead of doing
10851         an uncontrolled state change.
10852         Clean up the event loop.
10853         Handle buffering messages, pause/resume the pipeline.
10854         Make shutdown because of an interrupt more reliable.
10855
10856 2006-09-15  Wim Taymans  <wim@fluendo.com>
10857
10858         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10859         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10860         (gst_base_sink_preroll_object):
10861         Make sure that our internal state is correct when we commit our state
10862         asynchronously. This solves a race where a state change to PLAYING
10863         could cause the sink to remain blocked in preroll in some situations.
10864
10865 2006-09-15  Wim Taymans  <wim@fluendo.com>
10866
10867         * tools/gst-inspect.c: (print_element_properties_info),
10868         (print_signal_info):
10869         List flags as hex so it's easier to deal with.
10870
10871 2006-09-15  Wim Taymans  <wim@fluendo.com>
10872
10873         * docs/libs/gstreamer-libs-sections.txt:
10874         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10875         (gst_base_sink_do_sync):
10876         * libs/gst/base/gstbasesink.h:
10877         Expose logic to wait for preroll so that subclasses such as audiosink
10878         can also use this method.
10879         API: gst_base_sink_wait_preroll()
10880
10881 2006-09-15  Wim Taymans  <wim@fluendo.com>
10882
10883         * gst/gstobject.c: (gst_object_set_parent):
10884         * gst/gstpipeline.c: (do_pipeline_seek):
10885         Small cleanups in docs and code.
10886
10887         * gst/gstsegment.c: (gst_segment_clip):
10888         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10889         if stop == start and start is in the segment, no clipping should be
10890         done. Also add a test for this.
10891
10892 2006-09-15  Wim Taymans  <wim@fluendo.com>
10893
10894         * docs/design/part-buffering.txt:
10895         * docs/gst/gstreamer-sections.txt:
10896         * gst/gstmessage.c: (gst_message_new_buffering),
10897         (gst_message_parse_buffering):
10898         * gst/gstmessage.h:
10899         Added methods to create and parse BUFFERING messages.
10900         Added preliminary docs about buffering.
10901         API: gst_message_new_buffering
10902         API: gst_message_parse_buffering
10903
10904 2006-09-06  Wim Taymans  <wim@fluendo.com>
10905
10906         * gst/gstbin.c:
10907         Update documentation.
10908
10909         * gst/gstelement.c: (gst_element_class_init),
10910         (gst_element_release_request_pad), (gst_element_set_clock),
10911         (gst_element_get_index), (gst_element_add_pad),
10912         (gst_element_remove_pad), (gst_element_get_random_pad),
10913         (gst_element_send_event), (gst_element_get_query_types),
10914         (gst_element_query), (gst_element_post_message),
10915         (gst_element_message_full), (gst_element_continue_state),
10916         (gst_element_lost_state), (gst_element_save_thyself),
10917         (gst_element_restore_thyself):
10918         Documentation updates.
10919         Rename last bit of the new-pad -> pad-added signal rename.
10920         Fix the case where an element query would only work if the source
10921         pad was linked.
10922         Avoid some useless type checking in message handling.
10923
10924         * gst/gstevent.c:
10925         * gst/gstevent.h:
10926         * gst/gstutils.c:
10927         Documentation updates.
10928
10929 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10930
10931         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10932           add an INFO line for when we actually update the fd
10933
10934 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10935
10936         * configure.ac:
10937           back to TRUNK
10938
10939 === release 0.10.10 ===
10940
10941 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10942
10943         * configure.ac:
10944           releasing 0.10.10, "Pais"
10945
10946 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10947
10948         * docs/manual/advanced-position.xml:
10949           Fix typo in sample code.
10950
10951 2006-09-05  Wim Taymans  <wim@fluendo.com>
10952
10953         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10954         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10955         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10956         * libs/gst/net/gstnetclientclock.h:
10957         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10958         * libs/gst/net/gstnettimepacket.h:
10959         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10960         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10961         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10962         * libs/gst/net/gstnettimeprovider.h:
10963         Make stuff compile on windows. Fixes #345295.
10964
10965 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10966
10967         * gst/gst.c: (ensure_current_registry_forking):
10968           Print better details when child was terminated by signal.
10969
10970 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10971
10972         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10973           Print a warning rather than g_assert() if a plugin feature
10974           is a URI handler but returns no protocols (#353976).
10975
10976 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10977
10978         * docs/random/moving-plugins:
10979         Fix two typos.         
10980
10981 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10982
10983         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10984           Fix locking order, handle NULL function values properly.
10985
10986         * gst/gstinfo.h:
10987           Fix docs.
10988
10989         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10990           Initialise variable before using it and fix debug statement to
10991           print the address of the function rather than the address of the
10992           variable on the stack holding the address of the function.
10993
10994 2006-09-01  Wim Taymans  <wim@fluendo.com>
10995
10996         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10997         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10998         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10999         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
11000         (gst_ghost_pad_parent_unset),
11001         (gst_ghost_pad_internal_do_activate_push),
11002         (gst_ghost_pad_internal_do_activate_pull),
11003         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11004         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11005         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11006         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
11007         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
11008         (gst_ghost_pad_new_no_target_from_template),
11009         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
11010         More cleanups.
11011         Avoid needless typechecking in macros.
11012         Since the internal pad is always present and never changes, there is
11013         no need to locking or ref when retrieving it.
11014         Improve debugging a bit.
11015         Handle link errors when setting the target. Fixes #341029.
11016
11017 2006-09-01  Wim Taymans  <wim@fluendo.com>
11018
11019         * docs/libs/gstreamer-libs-sections.txt:
11020         * docs/plugins/gstreamer-plugins-sections.txt:
11021         Fix docs some more.
11022
11023         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11024         (gst_collect_pads_event):
11025         * libs/gst/base/gstcollectpads.h:
11026         Documentation updates.
11027         Free queued buffer when removing a pad.
11028
11029 2006-08-31  Michael Smith  <msmith@fluendo.com>
11030
11031         * gst/gstutils.c: (gst_element_link_pads),
11032         (gst_element_link_pads_filtered):
11033           Ensure that we set a capsfilter to NULL if we failed to link it
11034           when doing filtered linking, to avoid criticals.
11035
11036           No need to check for unreffing srcpad, which is explicly NULLed
11037           above (a trivial code cleanup).
11038
11039 2006-08-31  Wim Taymans  <wim@fluendo.com>
11040
11041         * docs/design/part-gstghostpad.txt:
11042         Update ascii art in documentation.
11043
11044         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
11045         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
11046         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11047         (gst_ghost_pad_internal_do_activate_push),
11048         (gst_ghost_pad_internal_do_activate_pull),
11049         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11050         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11051         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
11052         (gst_ghost_pad_set_target):
11053         Small cleanups and leak fixes.
11054         Remove some checks now that the internal pad is never NULL.
11055         Fix the case where linking pads without a target would create nasty
11056         criticals. Fixes #341029.
11057         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
11058         value of _set_target().
11059
11060         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11061         (gst_ghost_pad_suite):
11062         Some more tests for creating and linking untargeted ghostpads.
11063
11064 2006-08-31  Edward Hervey  <edward@fluendo.com>
11065
11066         * docs/gst/gstreamer-sections.txt:
11067         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
11068         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11069         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
11070         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
11071         (gst_ghost_pad_new_from_template),
11072         (gst_ghost_pad_new_no_target_from_template):
11073         * gst/gstghostpad.h:
11074         Refactored *_new() functions.
11075         Templates are now used as a g_object_new() parameter.
11076         Use template in _do_getcaps() if we don't have a target.
11077         Small documentation cleanups.
11078         Added two new constructors:
11079         gst_ghost_pad_new_from_template()
11080         gst_ghost_pad_new_no_target_from_template()
11081         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11082         (gst_ghost_pad_suite):
11083         Added tests for new ghostpad instanciation functions.
11084
11085         API additions: gst_ghost_pad_new_from_template,
11086         gst_ghost_pad_new_no_target_from_template
11087
11088 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
11089
11090         * docs/random/ensonic/profiling.txt:
11091           Ideas about qos profiling.
11092
11093 2006-08-29  Wim Taymans  <wim@fluendo.com>
11094
11095         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
11096         Code cleanups.
11097         Fix memleak.
11098
11099 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
11100
11101         * gst/gstxml.c:
11102           Improve and detypofy docs.
11103
11104         * tests/check/Makefile.am:
11105         * tests/check/gst/.cvsignore:
11106         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
11107           Add a basic test suite for GstXML.
11108
11109 2006-08-29  Wim Taymans  <wim@fluendo.com>
11110
11111         * gst/gstelement.c: (activate_pads), (clear_caps),
11112         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11113         Clear the pad caps when the element shut down all of the pads and
11114         is not streaming data that could modify the caps. 
11115         Fixes #352958.
11116
11117 2006-08-28  Michael Smith  <msmith@fluendo.com>
11118
11119         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11120           Revert previous change; I misunderstood single-segment mode.
11121
11122 2006-08-28  Michael Smith  <msmith@fluendo.com>
11123
11124         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11125           Unset DISCONT on buffers when using single-segment mode.
11126
11127 2006-08-28  Wim Taymans  <wim@fluendo.com>
11128
11129         * gst/gstcaps.c: (gst_caps_merge_structure):
11130         * gst/gstcaps.h:
11131         Fix docs and indentation again.
11132
11133         * tests/check/gst/gstquery.c: (GST_START_TEST):
11134         Fix leak in tests and add some more tests.
11135
11136 2006-08-28  Edward Hervey  <edward@fluendo.com>
11137
11138         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11139         Inform GstSegment of the last stop position in order for the current
11140         segment to have a proper duration if it doesn't have a specific stop
11141         position from which a duration could be calculated.
11142         This bug was noticeable when a non-flushing, non-update new segment was
11143         followed by another segment (all buffers from the new segment were being
11144         dropped).
11145
11146 2006-08-28  Wim Taymans  <wim@fluendo.com>
11147
11148         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11149         Small comment update.
11150
11151         * plugins/elements/gstidentity.c: (gst_identity_class_init),
11152         (gst_identity_transform_ip):
11153         Drop-probability is broken, mention this in the code with a 
11154         FIXME and also in the property description.
11155         Make silent also be silent about the drop messages.
11156
11157 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
11158
11159         * docs/manual/appendix-win32.xml:
11160           Remove mention of popt, we don't depend on that any
11161           longer (#353136). Add some comments pointing out that
11162           this section is slightly outdated.
11163
11164 2006-08-28  Wim Taymans  <wim@fluendo.com>
11165
11166         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11167
11168         * gst/gstquery.c: (gst_query_new_segment):
11169         * tests/check/gst/gstquery.c: (GST_START_TEST):
11170         Initialize variables when creating a new segment query.
11171         Fixes #353121.
11172
11173 2006-08-28  Wim Taymans  <wim@fluendo.com>
11174
11175         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11176
11177         * gst/gstelement.c: (gst_element_get_bus):
11178         * tests/check/gst/gstelement.c: (GST_START_TEST):
11179         Check for NULL before _reffing the bus. Fixes #353122.
11180
11181 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
11182
11183         * docs/manual/basics-bus.xml:
11184           Docs update: fix wrong callback return value explanation; add
11185           some lines about the implicit relationship between main loop
11186           and main context; remove duplicate main loop variable declaration.
11187
11188 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
11189
11190         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11191           Don't leak caps in unit test; add a few more simple
11192           checks. 
11193
11194 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
11195
11196         * docs/gst/gstreamer-sections.txt:
11197         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11198         (gst_caps_structure_is_subset), (gst_caps_merge),
11199         (gst_caps_merge_structure):
11200         * gst/gstcaps.h:
11201         * libs/gst/base/gstbasetransform.c:
11202         (gst_base_transform_transform_caps):
11203         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11204           implement caps merging (fixes #352580)
11205
11206 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
11207
11208         * tools/Makefile.am:
11209         * tools/gst-plot-timeline.py:
11210           add debug-log plotting developer tool (#340674)
11211
11212 2006-08-23  Wim Taymans  <wim@fluendo.com>
11213
11214         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11215         (gst_pad_stop_task):
11216         Improve debugging for task functions.
11217
11218         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11219         (gst_task_start), (gst_task_pause), (gst_task_join):
11220         Make sure that the task function started and finished after a 
11221         join(). 
11222         Don't try to push the task function on the threadpool multiple
11223         times.
11224         Improve the g_warning message with some useful suggestions
11225         about how to fix the problem. 
11226
11227 2006-08-23  Wim Taymans  <wim@fluendo.com>
11228
11229         * gst/gstutils.c: (gst_pad_proxy_getcaps):
11230         Handle RESYNC correctly in _proxy_getcaps.
11231
11232 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
11233
11234         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11235         (gst_xml_parse_memory), (gst_xml_get_element):
11236           Chain up to parent class in dispose function and also
11237           unref the elements in the toplevel_elements GList.
11238           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11239           Always return a reference in gst_xml_get_element() rather
11240           than only sometimes.
11241
11242         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11243           Don't leak GstXml object.
11244
11245 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
11246
11247         * docs/gst/gstreamer-sections.txt:
11248         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11249         (gst_caps_merge):
11250         * gst/gstcaps.h:
11251         * libs/gst/base/gstbasetransform.c:
11252         (gst_base_transform_transform_caps):
11253           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11254           in a better way
11255
11256 2006-08-21  Edward Hervey  <edward@fluendo.com>
11257
11258         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11259         Implement GObject::dispose virtual method in GstXML so we can free the
11260         top_elements GList.
11261
11262 2006-08-21  Wim Taymans  <wim@fluendo.com>
11263
11264         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11265         (gst_buffer_create_sub):
11266         Copy duration/offset_end/caps when creating a subbuffer of the
11267         complete parent.
11268         Make the subbuffer read-only when we make the metadata writable for
11269         now. Fixes #351768.
11270
11271         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11272         Added check for metadata copy when creating subbuffers.
11273
11274 2006-08-21  Edward Hervey  <edward@fluendo.com>
11275
11276         * libs/gst/base/gstbasetransform.c:
11277         (gst_base_transform_buffer_alloc):
11278         Only call downstream buffer_alloc if transform element is passthrough
11279         or always_in_place. Closes #350449.
11280
11281 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11282
11283         * ChangeLog:
11284           ChangeLog surgery to add comments to previous changes
11285
11286 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11287
11288         * gst/gst.c:
11289           Add comments
11290
11291         * gst/gstpad.c: (gst_pad_set_active):
11292           Be more verbose in the log
11293
11294         * libs/gst/base/gstbasetransform.c:
11295         (gst_base_transform_transform_caps):
11296           Simplify caps to get rid of duplicates, fixes #345444
11297
11298 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11299
11300         * gst/gstvalue.c:
11301         * gst/gstvalue.h:
11302           Use these optimizations only internally.
11303
11304 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11305
11306         * gst/gstvalue.c: (gst_value_compare_list),
11307         (gst_value_compare_fraction_range),
11308         (gst_value_intersect_fraction_fraction_range),
11309         (gst_value_intersect_fraction_range_fraction_range),
11310         (gst_value_subtract_fraction_fraction_range),
11311         (gst_value_subtract_fraction_range_fraction_range),
11312         (gst_value_get_compare_func), (gst_value_compare),
11313         (gst_value_compare_with_func):
11314         * gst/gstvalue.h:
11315           Saves the expensive lookup of the compare function in many cases
11316          (#345444)
11317
11318 2006-08-18  Edward Hervey  <edward@fluendo.com>
11319
11320         * tests/check/gst/gstinfo.c: (gst_info_suite):
11321         Disable test that require gstdebug if it wasn't built in core.
11322
11323 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11324
11325         * docs/random/ensonic/logging.txt:
11326           update ideas
11327           
11328         * gst/gstinfo.c: (gst_debug_log_default):
11329           reorder fields, save some columns, add optional color codes for log
11330           levels
11331
11332 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11333
11334         * docs/random/ensonic/logging.txt:
11335           add ideas about making the logs a bit more useful
11336
11337 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11338
11339         * docs/pwg/advanced-events.xml:
11340         * docs/pwg/titlepage.xml:
11341           Update for 0.10 API (#340627). Add myself
11342           to authors list.
11343
11344 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11345
11346         * docs/libs/gstreamer-libs-docs.sgml:
11347         * docs/libs/gstreamer-libs-sections.txt:
11348         * libs/gst/check/gstbufferstraw.c:
11349           Make gstcheck stuff show up in docs (still needs to
11350           be documented properly though).
11351
11352 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
11353
11354         * docs/gst/gstreamer-sections.txt:
11355         * gst/Makefile.am:
11356         * gst/gst.c: (init_post):
11357         * gst/gst_private.h:
11358         * gst/gstquark.c: (_priv_gst_quarks_initialize):
11359         * gst/gstquark.h:
11360         * gst/gstquery.c: (gst_query_new_position),
11361         (gst_query_set_position), (gst_query_parse_position),
11362         (gst_query_new_duration), (gst_query_set_duration),
11363         (gst_query_parse_duration), (gst_query_new_convert),
11364         (gst_query_set_convert), (gst_query_parse_convert),
11365         (gst_query_new_segment), (gst_query_set_segment),
11366         (gst_query_parse_segment), (gst_query_new_seeking),
11367         (gst_query_set_seeking), (gst_query_parse_seeking):
11368         Add internal helpers for pre-registering quarks from static strings
11369         and using the quark values directly instead of looking them up when
11370         creating and parsing queries. Can be used for event construction too.
11371         Closes #350432.
11372
11373 2006-08-16  Wim Taymans  <wim@fluendo.com>
11374
11375         * gst/gstbin.c:
11376         Fix bogus docs.
11377
11378 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11379
11380         * gst/gstutils.c: (gst_util_set_value_from_string):
11381           Fix memleak (#351502).
11382
11383         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11384           Add unit test for most of gst_util_set_value_from_string()
11385           (not that one would want to encourage use of this function).
11386
11387 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11388
11389         * libs/gst/check/gstcheck.h:
11390           Use const gchar * variables in fail_unless_equals_string
11391           macro to avoid compiler warnings (and don't use tabs for
11392           indenting).
11393
11394 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11395
11396         * tools/gst-launch.c: (print_tag):
11397           More space on the left for the tag names, to cater
11398           for the 'extended comment' tag (not touching the
11399           string for the first line since it's translated).
11400
11401 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11402
11403         * libs/gst/check/gstcheck.h:
11404           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11405           print something when they fail.
11406
11407 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11408
11409         * docs/gst/gstreamer-sections.txt:
11410         * gst/gsttaglist.c: (_gst_tag_initialize):
11411         * gst/gsttaglist.h:
11412           API: add GST_TAG_EXTENDED_COMMENT (#350935).
11413           Also change merge function for GST_TAG_COMMENT to
11414           use_first.
11415
11416 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11417
11418         * gst/gstinfo.c: (gst_debug_print_object):
11419           Make GST_PTR_FORMAT print messages as well.
11420
11421         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11422         (GST_START_TEST), (gst_info_suite):
11423           More tests.
11424
11425 2006-08-14  Edward Hervey  <edward@fluendo.com>
11426
11427         * gst/gstelementfactory.c: (gst_element_register):
11428         If the GstElementClass doesn't have a GstElementDetails with all fields
11429         filled up correctly (longname, description AND author), then error out
11430         nicely instead of crashing.
11431
11432 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11433
11434         * gst/gststructure.c:
11435           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11436
11437         * gst/gstvalue.h:
11438           Expand on the difference between arrays and lists as we use them.
11439           
11440 2006-08-14  Wim Taymans  <wim@fluendo.com>
11441
11442         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11443         If the parent state change function failed, don't assume we can safely
11444         stop the source, this will be done when the pads are deactivated.
11445
11446 2006-08-14  Wim Taymans  <wim@fluendo.com>
11447
11448         * gst/gstbuffer.c:
11449         * gst/gsttask.c: (gst_task_join):
11450         Small doc updates.
11451
11452         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11453         (gst_pad_stop_task):
11454         When pad (de)activation failed for some reason, restore the old
11455         activation mode and set the pad to flushing instead of assuming the
11456         pad is deactivated.
11457         If the _task_join() failed, reinstall the task on the pad so that it can
11458         be stopped later and return an error.
11459
11460 2006-08-11  Andy Wingo  <wingo@pobox.com>
11461
11462         * configure.ac:
11463         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11464         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11465         is only for users of API that don't want to see deprecated
11466         functions in the headers; people that want to compile out
11467         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11468         CFLAGS. Fixes the build of multifdsink, or will soon..
11469
11470 2006-08-11  Wim Taymans  <wim@fluendo.com>
11471
11472         * docs/gst/gstreamer-sections.txt:
11473         Add GstClockClass vmethod docs.
11474
11475         * gst/gstcaps.h:
11476         Mark #endif with comment for associated #if
11477
11478         * gst/gstclock.c: (gst_clock_id_wait):
11479         * gst/gstclock.h:
11480         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11481         most clock implementations.
11482         Document vmethods.
11483         Flesh out docs about resolution methods.
11484         API: GstClockClass::wait_jitter
11485
11486         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11487         (gst_system_clock_async_thread),
11488         (gst_system_clock_id_wait_jitter_unlocked),
11489         (gst_system_clock_id_wait_jitter):
11490         Use base class wait_jitter variant for improved performance
11491         due to less clock polling.
11492
11493 2006-08-11  Edward Hervey  <edward@fluendo.com>
11494
11495         * gst/gst.c: (gst_init_check), (init_post):
11496         Set gst as being initialized before scanning/updating the registry,
11497         since there might be my python plugin loader that calls gst_init() and
11498         we don't want to loop back in.
11499         Closes #350879
11500
11501 2006-08-11  Wim Taymans  <wim@fluendo.com>
11502
11503         * docs/design/part-qos.txt:
11504         Bring docs in line with the code. Mostly the sign of the jitter was
11505         wrong in the docs. Fixes #349943.
11506
11507         * gst/gstclock.c:
11508         Fix the docs for the jitter.
11509
11510         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11511         (gst_event_parse_tag), (gst_event_new_buffer_size),
11512         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11513         (gst_event_new_seek), (gst_event_parse_seek),
11514         (gst_event_new_navigation):
11515         Make sure the GstStructure has no parent when creating custom
11516         events.
11517         Add some more argument checking so that we avoid 0.0 rates.
11518         Flesh out the docs for the QoS event some more.
11519
11520 2006-08-11  Wim Taymans  <wim@fluendo.com>
11521
11522         * docs/gst/gstreamer-sections.txt:
11523         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11524         (ensure_current_registry_forking), (ensure_current_registry),
11525         (parse_one_option), (parse_goption_arg), (gst_deinit),
11526         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11527         * gst/gst.h:
11528         Doc updates.
11529         Added API and command line option to disable registry forking in
11530         addition to the environment variable.
11531         Constify some static arrays.
11532         Added some more debug.
11533         Don't deinit twice.
11534         API: gst_registry_fork_is_enabled()
11535         API: gst_registry_fork_set_enabled()
11536         API: --gst-disable-registry-fork command line option
11537         Fixes #348918.
11538
11539 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11540
11541         * gst/gst.c: (gst_init):
11542           Fix typo in error message.
11543
11544 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11545
11546         * libs/gst/controller/gstcontroller.h:
11547           fix ABI size-correction
11548
11549         * tests/check/libs/gdp.c: (gst_dp_suite):
11550           make tests that use deprecated API conditional
11551
11552 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11553
11554         * docs/libs/gstreamer-libs-sections.txt:
11555         * libs/gst/controller/gstcontroller.c:
11556         (_gst_controller_get_property), (_gst_controller_set_property),
11557         (_gst_controller_init), (_gst_controller_class_init):
11558         * libs/gst/controller/gstcontroller.h:
11559         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11560         (gst_object_set_control_rate):
11561           API: add gst_object_{s,g}et_control_rate(), add private data section,
11562           fix docs
11563
11564         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11565         * libs/gst/dataprotocol/dataprotocol.h:
11566           add deprecation guards to make gtk-doc happy and allow disabling cruft
11567
11568 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11569
11570         * tests/check/Makefile.am:
11571         * tests/check/gst/.cvsignore:
11572           Let's enable the new unit test as well.
11573
11574 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11575
11576         * configure.ac:
11577         * docs/gst/gstreamer-sections.txt:
11578         * gst/gstconfig.h.in:
11579         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11580         (_gst_info_printf_extension_ptr),
11581         (_gst_info_printf_extension_segment):
11582           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11583           register that lets us easily dump GstSegments into debug
11584           logs (#350419).
11585
11586         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11587         (info_segment_format_printf_extension), (gst_info_suite):
11588           Add simple unit test that logs a bunch of different segments (not
11589           valgrinded at the moment because of leaks in
11590           gst_debug_add_log_function).
11591
11592 2006-08-09  Edward Hervey  <edward@fluendo.com>
11593
11594         * libs/gst/base/gstbasetransform.c:
11595         (gst_base_transform_buffer_alloc):
11596         Even if we can't figure out the proper format to request downstream,
11597         call buffer_alloc() downstream with the input parameters without setting
11598         the caps on the srcpad. This will force negotiation in the chain
11599         function.
11600         Closes #350449
11601
11602 2006-08-08  Edward Hervey  <edward@fluendo.com>
11603
11604         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11605         Unlinking from a pad without a target is now a perfectly valid case
11606         which should NOT raise an assertion.
11607         This case would happen if a linked ghostpad its target set to NULL after
11608         it was previously linked.
11609
11610 2006-08-08  Edward Hervey  <edward@fluendo.com>
11611
11612         * tests/check/libs/gdp.c:
11613         Also comment out the test (see below).
11614
11615 2006-08-08  Edward Hervey  <edward@fluendo.com>
11616
11617         * tests/check/libs/gdp.c: (gst_dp_suite):
11618         Use the architecture information from config.h and not gcc macros
11619         in order to properly disable a test that fails on PPC64.
11620
11621 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11622
11623         * gst/gstelement.c: (gst_element_remove_pad):
11624           Don't crash printing the warning if the pad has no parent.
11625
11626 2006-08-02  Wim Taymans  <wim@fluendo.com>
11627
11628         * libs/gst/dataprotocol/dataprotocol.c:
11629         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11630         (gst_dp_crc), (gst_dp_header_payload_length),
11631         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11632         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11633         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11634         (gst_dp_event_from_packet), (gst_dp_validate_header),
11635         (gst_dp_validate_payload):
11636         Make debug category static
11637         Constify the crc table.
11638         Do some more arg checking in public functions.
11639         Fix some docs and do some small cleanups.
11640
11641         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11642         Add some more checks to see if GDP deals with bogus input.
11643
11644 2006-07-31  Wim Taymans  <wim@fluendo.com>
11645
11646         * gst/gstvalue.c: (gst_value_compare_list):
11647         Fix GstValueList comparison code. Fixes #347293.
11648
11649         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11650         Check to test GstValueList comparison.
11651
11652 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11653
11654         * gst/gstelementfactory.c: (gst_element_factory_create):
11655         Remove unnecessary ref/unref pair
11656
11657         * gst/parse/grammar.y:
11658         Make sure to free the parse buffer on all code paths.
11659         Move a g_free up to the error handler where it's easier to see.
11660
11661         * tests/check/gst/gstevent.c: (test_event):
11662         Extending timeout for downstream travelling events to 10 seconds to
11663         hopefully avoid intermittent failure on the buildbots.
11664
11665         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11666         Don't manually set the state of the src element - it will happen as a
11667         natural consequence of the pipeline changing state, and that way it
11668         will do it in the right order too.
11669
11670 2006-07-31  Wim Taymans  <wim@fluendo.com>
11671
11672         * libs/gst/base/gstbasetransform.c:
11673         (gst_base_transform_buffer_alloc):
11674         Use OBJECT_LOCK and refcounting to get the pad caps in the
11675         buffer_alloc function because the caps could change while we are
11676         busy with them. Fixes #349105
11677
11678 2006-07-31  Wim Taymans  <wim@fluendo.com>
11679
11680         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11681         Protect _PAD_CAPS with OBJECT_LOCK.
11682
11683 2006-07-31  Wim Taymans  <wim@fluendo.com>
11684
11685         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11686         (gst_pad_get_property), (gst_pad_activate_pull),
11687         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11688         (gst_pad_set_activate_function),
11689         (gst_pad_set_activatepull_function),
11690         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11691         (gst_pad_set_getrange_function),
11692         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11693         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11694         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11695         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11696         (gst_pad_set_acceptcaps_function),
11697         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11698         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11699         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11700         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11701         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11702         (gst_pad_configure_sink), (gst_pad_configure_src),
11703         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11704         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11705         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11706         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11707         (gst_pad_send_event):
11708         Use _DEBUG_OBJECT when it makes sense.
11709         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11710         Small cleanups and code reflows.
11711         Avoid caps refcounting in _accept_caps.
11712         Refactor alloc_buffer so that the code performed on the peer is in a
11713         separate function. Also if the pad does not implement a buffer alloc
11714         function, we should still check if the pad is flushing before falling
11715         back to the default allocator.
11716
11717 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11718
11719         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11720         Make all uses of identity and fakesink have silent=true to avoid
11721         serialising every passing data structure, which is breaking tests
11722         on FC4 for some unknown reason.
11723
11724 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11725
11726         * gst/parse/Makefile.am:
11727         * gst/parse/grammar.y:
11728         * gst/parse/parse.l:
11729           Reverted previous patch as it required to bump the flex dependency to
11730           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11731
11732 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11733
11734         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11735
11736         * gst/parse/Makefile.am:
11737         * gst/parse/grammar.y:
11738         * gst/parse/parse.l:
11739           push & pop the state of the lexer for reentrant use case
11740           Fixes #349180
11741
11742 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11743
11744         * libs/gst/base/gstbasesrc.h:
11745           Note in the docs that the ::newsegment vfunc is not actually used by
11746           GstBaseSrc.
11747
11748 2006-07-28  Wim Taymans  <wim@fluendo.com>
11749
11750         * libs/gst/base/gstcollectpads.c:
11751         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11752         (gst_collect_pads_clear), (gst_collect_pads_flush),
11753         (gst_collect_pads_event), (gst_collect_pads_chain):
11754         When flushing a pad, also clear the queued buffer so that we don't
11755         accidentally use it when we shouldn't.
11756         Fix leaks by inreffing incomming buffer.
11757         Flush out queued buffers in case of errors.
11758         Fixes #347452.
11759
11760 2006-07-28  Wim Taymans  <wim@fluendo.com>
11761
11762         * docs/random/phonon-gst:
11763         Random notes about a Phonon backend.
11764
11765 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11766
11767         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11768         Extra debug output
11769         * tests/check/libs/gdp.c: (gst_dp_suite):
11770         Take a whack at fixing the ppc compile using a different define to
11771         disable the broken test.
11772
11773         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11774         Remove excess g_print()
11775
11776 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11777
11778         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11779         Oops, meant to uncomment this line too to dampen the noise a bit.
11780
11781 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11782
11783         * gst/parse/grammar.y:
11784         * gst/parse/parse.l:
11785         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11786         (GST_START_TEST), (parse_suite):
11787         Fix some of the leaks exposed by extending the parse-launch testsuite,
11788         and move the 3 I can't figure out into a separate test that won't run
11789         the pipelines unless the appropriate line is uncommented.
11790
11791 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11792
11793         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11794           Requesting 0 bytes before the end of the file should result in
11795           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11796           unit test.
11797
11798 2006-07-27  Wim Taymans  <wim@fluendo.com>
11799
11800         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11801         Fix useless assert, a uint is always positive.
11802
11803         * gst/gststructure.c: (gst_structure_nth_field_name),
11804         (gst_structure_foreach), (gst_structure_map_in_place):
11805         Check input arguments for public functions to avoid obvious crashes.
11806
11807         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11808         * plugins/elements/gstfakesink.h:
11809         Do less useless typechecking.
11810
11811 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11812
11813         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11814           Do not use mmap() by default since there are a number of error
11815           conditions that we would like to handle in a non-fatal way that
11816           will result in a SIGBUS if we use mmap(). Examples: external
11817           devices (USB harddrive, portable music player) being unplugged
11818           while in use; file on mounted CD/DVD that can't be read because
11819           the medium is partly damaged. Fixes #348455 and #348475.
11820
11821 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11822
11823         * gst/gstquery.h:
11824         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11825         rates are a gdouble
11826
11827 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11828
11829         * gst/gstregistry.c:
11830           Move big documentation comment into class section header, so that it
11831           appears in the API docs.
11832
11833 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11834
11835         * docs/gst/gstreamer-sections.txt:
11836         Oops. Commit the docs additions too for new API.
11837         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11838
11839 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11840
11841         * gst/gststructure.c: (gst_structure_id_set),
11842         (gst_structure_id_set_valist):
11843         * gst/gststructure.h:
11844         Add API for setting values into structures without performing
11845         a quark lookup, if the appropriate quark is already known.
11846
11847         API: gst_structure_id_set
11848         API: gst_structure_id_set_valist
11849
11850         * gst/parse/grammar.y:
11851         * gst/parse/parse.l:
11852         Remove some dead code shown by the coverage information.
11853         Don't throw a critical g_warning when encountering a syntax error,
11854         just warn and let the normal error path handle it.
11855
11856         * plugins/elements/gstelements.c:
11857         Bump the rank of filesink up to PRIMARY so that it is preferred over
11858         gnomevfssink for file:// sink uri's
11859
11860         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11861         (GST_START_TEST), (run_delayed_test),
11862         (gst_parse_test_element_base_init),
11863         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11864         (gst_parse_test_element_change_state),
11865         (gst_register_parse_element), (parse_suite):
11866         Beef up the tests for parse syntax to check that more error cases
11867         fail as they are supposed to. Increases the test coverage a bit.
11868
11869 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11870
11871         * docs/manual/basics-elements.xml:
11872           Fix gst_element_link() example.
11873
11874         * gst/gstutils.c:
11875           Mention in API docs that one should usually gst_bin_add()
11876           elements to a bin or pipeline before doing the linking.
11877           
11878 2006-07-26  Wim Taymans  <wim@fluendo.com>
11879
11880         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11881         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11882         Avoid function call for known types by keeping the buffer and
11883         subbuffer GType global.
11884
11885         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11886         Random silly optimisations in read() path.
11887
11888 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11889
11890         * tools/gst-launch.c: (main):
11891           If the top-level of the parse is a normal bin, it doesn't do the
11892           right logic to run as a top-level element, so place it inside a
11893           pipeline.
11894
11895 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11896
11897         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11898           Remove superfluous g_object_notify() calls, GObject does
11899           that for us automatically.
11900
11901 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11902
11903         * gst/gstinfo.h:
11904           on Win32, use dllspec to export the debug category symbols
11905
11906 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11907
11908         * gst/gsttaglist.c: (_gst_tag_initialize):
11909           Allow more than one GST_TAG_IMAGE per taglist.
11910
11911 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11912
11913         * gst/gstminiobject.c:
11914           update docs
11915         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11916         (gst_fd_src_create):
11917           log recurring events at LOG level
11918           add more debug for when the fd gets set
11919
11920 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11921
11922         * gst/gstparse.c: (gst_parse_launch):
11923           Also remove reentrance checks if flex is MT safe (#348179)
11924          Fix my empty ChangeLog entry below
11925
11926 2006-07-21  Andy Wingo  <wingo@pobox.com>
11927
11928         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11929
11930         * libs/gst/check/Makefile.am
11931         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11932         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11933         * libs/gst/check/gstbufferstraw.h:
11934         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11935         functions, thus proving I am still a GStreamer haxor. OK I wrote
11936         them a long time ago, but anyways.
11937
11938 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11939
11940         * configure.ac:
11941         * gst/gstparse.c: (gst_parse_launch):
11942           Check for flex version and omit mutex if we have a MT save flex
11943           (fixes #348179)
11944
11945 2006-07-21  Wim Taymans  <wim@fluendo.com>
11946
11947         * gst/gstparse.c: (gst_parse_launch):
11948         Protect recursive calls to _parse with a recursive mutex
11949         and busy flag.
11950
11951 2006-07-21  Wim Taymans  <wim@fluendo.com>
11952
11953         * tests/check/gst/gstpad.c: (GST_START_TEST):
11954         Fix leak in test.
11955
11956 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11957
11958         * gst/gstparse.c: (gst_parse_launch):
11959           Do not hang on recursive usage of gst_parse_launch()
11960
11961 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11962
11963         * gst/gsttaglist.c:
11964           Add some more docs, comments and FIXME 0.11s here and there
11965           and also fix some typos.
11966
11967 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11968
11969         * gst/gstsegment.h:
11970           Convert tabs to spaces for better readability. 
11971
11972 2006-07-20  Edward Hervey  <edward@fluendo.com>
11973
11974         * tests/check/libs/gdp.c: (gst_dp_suite):
11975         the test_buffer test fails at line 140 on ppc64 at the following
11976         check:
11977         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11978                 GST_BUFFER_FLAG_IN_CAPS),
11979                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11980         See bug #348114 for more details.
11981
11982 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11983
11984         * docs/pwg/advanced-scheduling.xml:
11985         * gst/gstpad.c:
11986           Fix typos (#348000).
11987
11988 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11989
11990         * docs/pwg/intro-basics.xml:
11991           Fix wrong links (#347927).
11992
11993 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11994
11995         * gst/gstregistry.h:
11996         * gst/gstregistryxml.c: (load_feature),
11997         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11998         * win32/common/config.h:
11999           make --disable-index work (#342564)
12000
12001 2006-07-18  Wim Taymans  <wim@fluendo.com>
12002
12003         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12004
12005         * gst/Makefile.am:
12006         * gst/gsttrace.h:
12007         The attached patch adds two missing defines to gsttrace.h when tracing
12008         is disabled.  It also corrects one existing define.
12009         Fixes #347756.
12010
12011 2006-07-17  Wim Taymans  <wim@fluendo.com>
12012
12013         * docs/gst/gstreamer-sections.txt:
12014         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
12015         * gst/gst.h:
12016         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
12017         Add two functions to check and change the SIGSEGV behaviour
12018         when loading plugins.
12019         Don't mess with the SIGSEGV handler when we were told not to.
12020         Fixes #347794.
12021         API: gst_segtrap_is_enabled
12022         API: gst_segtrap_set_enabled
12023
12024 2006-07-14  Wim Taymans  <wim@fluendo.com>
12025
12026         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12027         * tests/check/elements/filesrc.c: (GST_START_TEST):
12028         Revert fix for regression in #347408 after release.
12029
12030 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
12031
12032         Patch by: Antoine Tremblay <hexa00 at gmail com>
12033
12034         * gst/gstutils.c: (gst_element_unlink):
12035           Free iterator when done (#347311).
12036
12037         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12038           And add a test case for this.
12039
12040 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
12041
12042         * configure.ac:
12043         Bump nano back to CVS
12044
12045 === release 0.10.9 ===
12046
12047 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
12048
12049         * configure.ac:
12050           releasing 0.10.9, "On the road again"
12051
12052 2006-07-13  Wim Taymans  <wim@fluendo.com>
12053
12054         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12055         * tests/check/elements/filesrc.c: (GST_START_TEST):
12056         Revert pull-0 fix for release. Disable check. Fixes #347408.
12057
12058 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12059
12060         * libs/gst/dataprotocol/dataprotocol.c:
12061         (gst_dp_event_from_packet_1_0):
12062           Fixes #347337: failure to deserialize event packets with
12063           empty payload (only event type)
12064
12065 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12066
12067         * gst/Makefile.am:
12068           do not install a .c file in the header directory
12069
12070 2006-07-13  Edward Hervey  <edward@fluendo.com>
12071
12072         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12073         GhostPad no longer implicitely use the padtemplates of the targets.
12074         Fixes #347384
12075
12076 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
12077
12078         * gst/gstvalue.c: (gst_value_compare_list),
12079         (gst_value_compare_array), (_gst_value_initialize):
12080         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12081         Make GstValueArray comparison be order dependent as designed.
12082         Add checks for value lists and value array comparisons.
12083         Fixes #347221
12084
12085 2006-07-11  Edward Hervey  <edward@fluendo.com>
12086
12087         * gst/gstbin.c: (activate_pads),
12088         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
12089         (gst_bin_change_state_func):
12090         (de)activate src pads before calling state_change on the childs.
12091         This is to avoid the case where a src ghostpad is blocked (holding the
12092         stream lock), which would block the deactivation of the ghostpad's
12093         target pad.
12094         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
12095         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
12096         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
12097         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12098         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12099         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12100         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12101         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
12102         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
12103         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12104         (gst_ghost_pad_class_init),
12105         (gst_ghost_pad_internal_do_activate_push),
12106         (gst_ghost_pad_internal_do_activate_pull),
12107         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12108         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12109         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
12110         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
12111         GhostPads now create their internal GstProxyPad at creation (and not
12112         when they're linked, as it was being done previously).
12113         The internal and target pads are linked straight away.
12114         The data will also travel through the other pad in order to make
12115         pad blocking and probes non-hackish (the probe/block now really happens
12116         on the GhostPad and not on the target).
12117         * gst/gstpad.c: (gst_pad_set_blocked_async),
12118         (gst_pad_link_prepare), (gst_pad_push_event):
12119         Remove previous ghostpad cruft.
12120         * gst/gstutils.c: (gst_pad_add_data_probe),
12121         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12122         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12123         (gst_pad_remove_buffer_probe):
12124         Remove previous ghost pad cruft.
12125         Added more detailed debug statements.
12126         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12127         Fix the testsuite for refcounting changes.
12128         The comments about who has references were correct, but the refcount
12129         being checked wasn't the same (!?!).
12130
12131         Fixes #341029
12132
12133 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
12134
12135         * docs/gst/gstreamer-sections.txt:
12136         * gst/gstconfig.h.in:
12137         More docs for configuration options, add docs to gtk-doc.
12138
12139 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
12140
12141         * gst/Makefile.am:
12142         * gst/gstconfig.h.in:
12143         * win32/common/config.h:
12144         Fix build when disabling tracing (fixes #344016). Also start to document
12145         the defines that disable the sub-systems.
12146
12147 2006-07-10  Edward Hervey  <edward@fluendo.com>
12148
12149         * gst/gst.c: (ensure_current_registry_forking):
12150         let's make valgrind happy...
12151
12152 2006-07-09  Wim Taymans  <wim@fluendo.com>
12153
12154         * gst/gstelement.c: (activate_pads),
12155         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12156         Better pad activation code: Reset the collect value too on resync.
12157         Add some comments.
12158
12159 2006-07-09  Wim Taymans  <wim@fluendo.com>
12160
12161         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12162         (gst_pad_activate_push):
12163         Use some more macros where it makes sense.
12164         Allow pad mode switching instead of asserting. When a pad
12165         is activated in one mode and we activate it in another, 
12166         deactivate it first before activating it in a different mode.
12167         Fixes #329198.
12168
12169 2006-07-08  Andy Wingo  <wingo@pobox.com>
12170
12171         * tools/gst-launch.c (main): Handle err == NULL.
12172
12173         * gst/gst.c (init_post, ensure_current_registry)
12174         (ensure_current_registry_forking)
12175         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12176         factoring out the registry scanning into separate functions. Don't
12177         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12178         Better environment var name/interface suggestions accepted.
12179
12180 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12181
12182         * gst/gstobject.c: (gst_object_set_name_default),
12183         (gst_object_set_name):
12184           Random micro-optimisation: don't use a hash table
12185           with strings as keys and the usual strdup/strcmp
12186           involved, but rather just use the GQuark of the
12187           type name as key, since it needs to be looked up
12188           anyway to get the type name string.
12189
12190         * tests/check/gst/gstobject.c: (GST_START_TEST):
12191           Fix various leaks.
12192
12193 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12194
12195         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12196         (gst_bin_iterate_all_by_interface):
12197           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12198           GTypes are gulongs and thus the top 4 bytes might be cut
12199           off on some platforms when doing GPOINTER_TO_INT, leading
12200           to invalid GTypes and bad things happening (see RH bug #179654).
12201           Also add a check to make sure the type passed in is really
12202           an interface type.
12203
12204 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12205
12206         * .cvsignore:
12207           Ignore more.
12208
12209 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12210
12211         * Makefile.am:
12212         * configure.ac:
12213         * gst-element-check.m4:
12214         * gst-element-check.m4.in:
12215           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12216           instead of the unversioned gst-inspect (#324176, #168659).
12217
12218 2006-07-06  Wim Taymans  <wim@fluendo.com>
12219
12220         * gst/gstmessage.h:
12221         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12222         warnings.
12223
12224 2006-07-06  Wim Taymans  <wim@fluendo.com>
12225
12226         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12227         (gst_base_src_wait), (gst_base_src_update_length),
12228         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12229         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12230         (gst_base_src_loop), (gst_base_src_start),
12231         (gst_base_src_activate_pull):
12232         Update docs.
12233         blocksize == 0 now means the default blocksize when working in push
12234         based mode.
12235         Remove some pointless asserts in _wait function.
12236         Fix offset/length calculations and EOS handling. We can now pull 0
12237         bytes as well, which is allowed.
12238         use _check_get_range() to decide if we can operate in _pull based
12239         mode.
12240         Fix refcounting leak when check_get_range function was not 
12241         implemented.
12242         API GstBaseSrc::blocksize range can be 0 too now (default)
12243
12244         * tests/check/elements/filesrc.c: (GST_START_TEST),
12245         (filesrc_suite):
12246         Added check to test _get_range() behaviour.
12247
12248 2006-07-06  Wim Taymans  <wim@fluendo.com>
12249
12250         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12251         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12252         (gst_pad_pull_range):
12253         * gst/gstpad.h:
12254         Lots of comments and docs added to the pad functions.
12255         Flesh out the expected behaviour of the get_range() functions.
12256
12257 2006-07-06  Wim Taymans  <wim@fluendo.com>
12258
12259         * gst/gstbus.h:
12260         * gst/gstclock.h:
12261         * gst/gstevent.h:
12262         * gst/gstiterator.h:
12263         * gst/gstpad.h:
12264         * gst/gstplugin.h:
12265         * gst/gsttask.h:
12266         Remove comma at end of enumerator list. 
12267
12268 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
12269
12270         * win32/common/libgstbase.def:
12271         * win32/common/libgstdataprotocol.def:
12272         * win32/common/libsgtreamer.def:
12273         Add new exported functions.
12274
12275 2006-07-05  Wim Taymans  <wim@fluendo.com>
12276
12277         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12278         Add some more docs here and there.
12279
12280 2006-07-05  Wim Taymans  <wim@fluendo.com>
12281
12282         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12283         (gst_base_sink_loop), (gst_base_sink_get_position):
12284         When operating in pull mode update the offset so that we
12285         read sequentially.
12286
12287 2006-07-05  Wim Taymans  <wim@fluendo.com>
12288
12289         * gst/gstregistryxml.c: (read_string):
12290         Avoid strdup. (will happen in libxml, but hey!)
12291
12292         * gst/gsturi.c:
12293         Add some more docs.
12294
12295 2006-07-05  Wim Taymans  <wim@fluendo.com>
12296
12297         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12298         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12299         (gst_buffer_suite):
12300         No point in checking if the size of the subbuffer > 0, the
12301         code handles it correclty as demonstrated by unit test.
12302         Also add a unit test for the zero sized _new_and_alloc and
12303         _copy. Fixes #346663.
12304
12305 2006-07-05  Wim Taymans  <wim@fluendo.com>
12306
12307         * libs/gst/base/gstbasetransform.c:
12308         (gst_base_transform_prepare_output_buffer),
12309         (gst_base_transform_buffer_alloc),
12310         (gst_base_transform_handle_buffer):
12311         Make sure the buffer we pass to transform_ip has a refcount of
12312         1 and thus is writable. Fixes #343196
12313
12314 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
12315
12316         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12317         (gst_file_src_init), (gst_file_src_set_property),
12318         (gst_file_src_get_property), (gst_file_src_map_region):
12319         * plugins/elements/gstfilesrc.h:
12320         Add "sequential" property, off by default, to use madvise and hint
12321         to the kernel that sequential access is desired.
12322         Touch all retrieved pages by default to ensure they are pulled
12323         into memory. (Closes #345720)
12324
12325 2006-07-03  Wim Taymans  <wim@fluendo.com>
12326
12327         * docs/design/part-block.txt:
12328         * docs/design/part-dynamic.txt:
12329         Small docs updates.
12330
12331 2006-07-03  Wim Taymans  <wim@fluendo.com>
12332
12333         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12334         (gst_caps_unref), (gst_static_caps_get),
12335         (gst_caps_append_structure):
12336         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12337         Use GSlice when the glib we build against is >= 2.10
12338
12339 2006-07-03  Wim Taymans  <wim@fluendo.com>
12340
12341         * gst/gstelement.c: (gst_element_pads_activate):
12342         Small cleanup in pad activation code.
12343
12344 2006-07-03  Wim Taymans  <wim@fluendo.com>
12345
12346         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12347
12348         * gst/gst-i18n-app.h:
12349         * gst/gst-i18n-lib.h:
12350         * tools/gst-inspect.c: (print_signal_info):
12351         The attached patch will make the inclusion of gettext.h unconditional in
12352         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12353         libintl.h in tools/gst-inspect.c.
12354         This allows use of --disable-nls again and fixes #344642.
12355
12356 2006-07-03  Edward Hervey  <edward@fluendo.com>
12357
12358         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12359         Implement pad blocking on events according to part-block.txt.
12360         More comments on behaviour.
12361         * tests/check/gst/gstevent.c: (test_event):
12362         Send event to peer pad of blocked pad (else it will block).
12363
12364 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12365
12366         * libs/gst/check/gstcheck.c: (gst_check_message_error),
12367         (gst_check_run_suite):
12368           if we get the wrong message, give us the types as string
12369         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12370           Fix a translatable
12371         * tests/check/elements/filesrc.c: (GST_START_TEST):
12372           add a test for trying to open a non-existing file
12373
12374 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12375
12376         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12377           add a test for adding self
12378
12379 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12380
12381         * libs/gst/check/gstcheck.h:
12382           add some assert_ as alias for fail_unless_*
12383         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12384           increase test coverage
12385
12386 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12387
12388         * Makefile.am:
12389           include lcov.mak for lcov coverage generation
12390         * tools/Makefile.am:
12391           add to CLEANFILES
12392
12393 2006-07-02  Edward Hervey  <edward@fluendo.com>
12394
12395         * tests/check/elements/.cvsignore:
12396         moaping
12397
12398 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12399
12400         * configure.ac:
12401           don't set CFLAGS and friends for gcov, done from GST_GCOV now
12402         * tests/check/Makefile.am:
12403           clean up gcov files
12404
12405 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12406
12407         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12408           remove gst_caps_simplify; it was not declared and not used
12409           and deprecated in 0.8
12410
12411 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12412
12413         * docs/faq/gst-uninstalled:
12414           don't put empty paths on PYTHONPATH
12415         * docs/gst/gstreamer-sections.txt:
12416           remove some symbols that are not there
12417
12418 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12419
12420         * gst/gstcaps.c: (gst_caps_compare_structures):
12421           whitespace fixes
12422         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12423         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12424           add more tests
12425
12426 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12427
12428         * libs/gst/dataprotocol/Makefile.am:
12429           build dataprotocol test by linking to the lib, instead of
12430           compiling the source, so we get coverage
12431         * tests/check/Makefile.am:
12432         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12433         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12434           add a test for filesrc
12435
12436 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12437
12438         * tests/check/gst/gststructure.c: (GST_START_TEST),
12439         (gst_structure_suite):
12440           Push coverage from 59.04% to 70.00%
12441
12442 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12443
12444         * tests/check/Makefile.am:
12445           gst-inspect every element; this makes sure that we also get
12446           coverage on element's get/set functions
12447
12448 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12449
12450         * configure.ac:
12451           set CFLAGS and friends to -O0 if gcov is being used
12452           add GCOV LIBS
12453         * gst/Makefile.am:
12454         * libs/gst/base/Makefile.am:
12455         * libs/gst/check/Makefile.am:
12456         * libs/gst/controller/Makefile.am:
12457         * libs/gst/dataprotocol/Makefile.am:
12458         * libs/gst/net/Makefile.am:
12459         * plugins/elements/Makefile.am:
12460         * plugins/indexers/Makefile.am:
12461           add makefile rules to generate gcov data and clean up
12462         * tests/check/Makefile.am:
12463           add a coverage target that generates an html overview
12464           of coverage data
12465
12466 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12467
12468         * tests/check/elements/fakesink.c:
12469         * tests/check/elements/fakesrc.c:
12470         * tests/check/elements/fdsrc.c:
12471         * tests/check/elements/identity.c:
12472         * tests/check/generic/sinks.c: (gst_sinks_suite):
12473         * tests/check/generic/states.c:
12474         * tests/check/gst/gst.c:
12475         * tests/check/gst/gstabi.c:
12476         * tests/check/gst/gstbin.c:
12477         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12478         * tests/check/gst/gstbus.c: (gst_bus_suite):
12479         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12480         * tests/check/gst/gstelement.c:
12481         * tests/check/gst/gstevent.c: (gst_event_suite):
12482         * tests/check/gst/gstghostpad.c:
12483         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12484         * tests/check/gst/gstmessage.c: (gst_message_suite):
12485         * tests/check/gst/gstminiobject.c:
12486         * tests/check/gst/gstobject.c:
12487         * tests/check/gst/gstpad.c:
12488         * tests/check/gst/gstpipeline.c:
12489         * tests/check/gst/gstplugin.c:
12490         * tests/check/gst/gstquery.c: (gst_query_suite):
12491         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12492         * tests/check/gst/gststructure.c:
12493         * tests/check/gst/gstsystemclock.c:
12494         * tests/check/gst/gsttag.c:
12495         * tests/check/gst/gsttask.c: (gst_task_suite):
12496         * tests/check/gst/gstutils.c:
12497         * tests/check/gst/gstvalue.c:
12498         * tests/check/libs/adapter.c:
12499         * tests/check/libs/basesrc.c:
12500         * tests/check/libs/collectpads.c:
12501         * tests/check/libs/controller.c:
12502         * tests/check/libs/gdp.c: (gst_dp_suite):
12503         * tests/check/libs/gstnetclientclock.c:
12504         * tests/check/libs/gstnettimeprovider.c:
12505         * tests/check/libs/libsabi.c: (libsabi_suite):
12506         * tests/check/libs/typefindhelper.c:
12507         * tests/check/pipelines/cleanup.c:
12508         * tests/check/pipelines/parse-launch.c:
12509         * tests/check/pipelines/simple-launch-lines.c:
12510         * tests/check/pipelines/stress.c: (stress_suite):
12511           use the new macro
12512
12513 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12514
12515         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12516         * libs/gst/check/gstcheck.h:
12517           create a macro and function so that the simple unit test
12518           case can be just one macro to create main()
12519
12520 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12521
12522         * gst/gstbin.c: (gst_bin_restore_thyself):
12523         * gst/gstxml.c: (gst_xml_make_element):
12524           Fix deserialisation from XML. Set parent manually
12525           instead of using gst_bin_add(), since gst_bin_add()
12526           will unlink all pads of the element being added.
12527           Fixes #341667.
12528
12529 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12530
12531         Patch by: Peter Kjellerstedt <pkj at axis com>
12532
12533         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12534           Fix missing g_strdup() and double free when using the
12535           --gst-plugin-load command line option (#346097).
12536
12537 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12538
12539         * gst/gstinfo.c:
12540           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12541
12542         * libs/gst/net/gstnetclientclock.c:
12543         * libs/gst/net/gstnettimeprovider.c:
12544           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12545
12546 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12547
12548         * docs/manual/advanced-dataaccess.xml:
12549           Fix buffer probe example compilation in
12550           ADM (#345708).
12551         
12552 2006-06-22  Edward Hervey  <edward@fluendo.com>
12553
12554         * gst/gstelement.c: (gst_element_pads_activate):
12555         We need to deactivate src pads first and then sink pads.
12556         The reason is the src pads might be blocking while holding the streaming
12557         lock, so we need to deactivate them first so that deactivating the sink
12558         pads doesn't block (since it will require the streaming lock).
12559
12560 2006-06-22  Wim Taymans  <wim@fluendo.com>
12561
12562         * libs/gst/base/gstbasetransform.c:
12563         (gst_base_transform_buffer_alloc):
12564         Forgot to remove two unneeded unrefs.
12565         Simplify a check _is_equal allready checks the obvious case.
12566
12567 2006-06-22  Wim Taymans  <wim@fluendo.com>
12568
12569         * docs/design/part-block.txt:
12570         Some docs about what pad_block should do.
12571
12572 2006-06-22  Wim Taymans  <wim@fluendo.com>
12573
12574         * gst/gstcaps.c: (gst_caps_replace):
12575         Fix crasher when passed NULL. Doc clarification.
12576         Optimize for the trivial case.
12577
12578         * gst/gstpipeline.c: (gst_pipeline_change_state):
12579         Small cleanups.
12580
12581         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12582         Small documentation cleanup.
12583
12584         * libs/gst/base/gstbasetransform.c:
12585         (gst_base_transform_buffer_alloc):
12586         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12587         is what we need and it avoids a whole lot of redundant 
12588         refcount operations.
12589
12590 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12591
12592         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12593
12594         * docs/manual/advanced-dataaccess.xml:
12595           Fix 'Embedding static elements' section to use
12596           GST_PLUGIN_DEFINE_STATIC (#345607).
12597
12598 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12599
12600         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12601           Attempt to 'fix' spuriously failing test case: it seems like the
12602           timeout of half a second is simply too small when the system is under
12603           load otherwise, and the timeout doesn't really seem to serve any
12604           particular purpose here. Give the pipeline a few seconds to preroll
12605           first, and then give it another half a second to go from PAUSED to
12606           PLAYING and marshal the message into the main thread.
12607
12608 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12609
12610         * tools/gst-feedback-m.m:
12611           Don't only use unversioned tools, try versioned tools as well
12612           (#345086).
12613
12614 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12615
12616         * gst/gstbus.c: (gst_bus_class_init):
12617           Fix some typos, make docs more explicit.
12618
12619 2006-06-20  Wim Taymans  <wim@fluendo.com>
12620
12621         * tests/check/gst/gstghostpad.c: (block_callback),
12622         (GST_START_TEST), (gst_ghost_pad_suite):
12623         Added some more ghostpad tests, mainly blocking
12624         and probes.
12625
12626 2006-06-16  Wim Taymans  <wim@fluendo.com>
12627
12628         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12629         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12630         (gst_file_sink_event), (gst_file_sink_render):
12631         * plugins/elements/gstfilesink.h:
12632         Check if we can seek in the file instead of assuming
12633         we always can. Post an error when we are asked to seek in a
12634         non-seekable file (like a fifo). Fixes #343312.
12635         Some cleanups.
12636
12637 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12638
12639         * tools/gst-launch.1.in:
12640           Un-garble (fourcc) bit in filtered caps section.
12641
12642 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12643
12644         * docs/manual/advanced-autoplugging.xml:
12645         * docs/manual/basics-helloworld.xml:
12646         * docs/manual/highlevel-components.xml:
12647           Don't leak bus reference in sample code.
12648
12649 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12650
12651         * autogen.sh:
12652           Add default for new --enable-plugin-docs switch.
12653
12654         * configure.ac:
12655           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12656           Fixes #344039.
12657
12658         * docs/Makefile.am:
12659           Use new ENABLE_PLUGIN_DOCS conditional.
12660
12661 2006-06-14  Wim Taymans  <wim@fluendo.com>
12662
12663         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12664         Make it clear with a FIXME and a real define what the #if 0
12665         previously disabled.
12666
12667 2006-06-14  Wim Taymans  <wim@fluendo.com>
12668
12669         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12670         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12671         * libs/gst/base/gstbasetransform.c:
12672         (gst_base_transform_sink_eventfunc):
12673         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12674         Don't randomly and silently reset a segment when the format 
12675         changes as this is a bug somewhere upstream. Fixes #330379.
12676
12677 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12678
12679         Patch by: Wouter Paesen  <wouter at kangaroot net>
12680
12681         * libs/gst/controller/gstcontroller.c:
12682         (gst_controlled_property_new):
12683           Fix controlling of float properties (#344849).
12684
12685         * tests/check/libs/controller.c:
12686         (gst_test_mono_source_get_property),
12687         (gst_test_mono_source_set_property),
12688         (gst_test_mono_source_class_init), (GST_START_TEST):
12689           While we're at it, add some float stuff to unit test.
12690
12691 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12692
12693         * docs/README:
12694         * docs/images/gdp-header.svg:
12695           add a gdp image
12696         * docs/libs/Makefile.am:
12697         * docs/libs/gdp-header.png:
12698         * libs/gst/dataprotocol/dataprotocol.c:
12699           add it to the API docs
12700         * docs/manual/intro-motivation.xml:
12701           fix typo
12702
12703 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12704
12705         * gst/gst.c: (scan_and_update_registry), (init_post):
12706           If the fork()'ed child process can't write the updated registry cache
12707           file to disk for some reason, make it exit with a failure exit code,
12708           so that the parent can then re-scan the plugins itself and update the
12709           registry structures in memory and work with that (rather than failing
12710           when creating elements because seemingly no plugins are available).
12711           Refactor registry scanning code into separate function for this and
12712           also separate fork() and non-fork() code paths. Fixes #344748.
12713
12714 2006-06-13  Wim Taymans  <wim@fluendo.com>
12715
12716         * docs/manual/advanced-dataaccess.xml:
12717         Fix wrong PluginDesc. Fixes #344755.
12718
12719 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12720
12721         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12722           Fix silly bug that prevented us from creating
12723           ~/.gstreamer-0.10 and writing the registry in one
12724           go (the first call to g_mkstemp() would overwrite the
12725           placeholder in the template string, so the second call
12726           to g_mkstemp() after creating the missing directory
12727           would then error out with 'invalid argument').
12728
12729 2006-06-13  Edward Hervey  <edward@fluendo.com>
12730
12731         * gst/gst.c: (init_post):
12732         Free string.
12733
12734 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12735
12736         * gst/glib-compat-private.h:
12737         * gst/glib-compat.c:
12738         * gst/glib-compat.h:
12739         * gst/gstvalue.c: (gst_value_serialize_flags):
12740           remove GLib 2.6 compatibility code
12741
12742 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12743
12744         * gst/parse/Makefile.am:
12745           Fix build with 'make -j N' even more (#340016).
12746
12747 2006-06-12  Wim Taymans  <wim@fluendo.com>
12748
12749         * docs/gst/gstreamer-sections.txt:
12750         Fix docs.
12751
12752 2006-06-12  Wim Taymans  <wim@fluendo.com>
12753
12754         * gst/gstsegment.c: (gst_segment_set_duration),
12755         (gst_segment_set_last_stop), (gst_segment_set_seek),
12756         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12757         (gst_segment_to_running_time), (gst_segment_clip):
12758         Use G_UNLIKELY to help the compiler a bit.
12759
12760 2006-06-12  Wim Taymans  <wim@fluendo.com>
12761
12762         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12763
12764         * gst/gstevent.c: (gst_event_get_type):
12765         * gst/gstmessage.c:
12766         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12767         (gst_pad_push):
12768         constify quark registration strings. Fixes #344115
12769         Avoid unneeded type checking is _pad_push() by internally
12770         calling gst_pad_chain_unchecked().
12771
12772 2006-06-12  Wim Taymans  <wim@fluendo.com>
12773
12774         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12775         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12776         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12777         (gst_buffer_is_span_fast), (gst_buffer_span):
12778         Init _type for consistency.
12779         Use _FLAGS macro to avoid type check.
12780         Avoid unneeded type checks in subbufer code.
12781
12782 2006-06-12  Wim Taymans  <wim@fluendo.com>
12783
12784         * gst/gst.c: (gst_debug_help):
12785         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12786         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12787         (gst_plugin_feature_list_free):
12788         * gst/gstregistry.c: (gst_registry_add_plugin),
12789         (gst_registry_add_feature), (gst_registry_plugin_filter),
12790         (gst_registry_feature_filter), (gst_registry_find_plugin),
12791         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12792         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12793         * gst/gstregistryxml.c: (load_feature),
12794         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12795         * gst/gstminiobject.c: (gst_mini_object_unref),
12796         (gst_mini_object_replace), (gst_value_mini_object_free),
12797         (gst_value_mini_object_copy):
12798         Use _CAST macros to avoid unneeded type checking.
12799         Added some more G_UNLIKELY.
12800
12801 2006-06-12  Wim Taymans  <wim@fluendo.com>
12802
12803         * gst/gstbuffer.h:
12804         Avoid unneeded type checking.
12805         API: GST_BUFFER_IS_DISCONT
12806
12807         * gst/gstminiobject.h:
12808         Avoid type check in flag accessor.
12809
12810         * gst/gstelementfactory.h:
12811         * gst/gstplugin.h:
12812         * gst/gstpluginfeature.h:
12813         Add _CAST macros.
12814         API: GST_ELEMENT_FACTORY_CAST
12815         API: GST_PLUGIN_CAST
12816         API: GST_PLUGIN_FEATURE_CAST
12817
12818 2006-06-12  Wim Taymans  <wim@fluendo.com>
12819
12820         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12821         (gst_object_unref):
12822         Add G_UNLIKELY in type registration.
12823         Avoid type check in _ref/_unref since that is also
12824         done in glib.
12825
12826 2006-06-12  Wim Taymans  <wim@fluendo.com>
12827
12828         * gst/gsterror.c: (gst_g_error_get_type):
12829         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12830         (gst_static_pad_template_get_type):
12831         * gst/gsttaglist.c: (gst_tag_list_get_type):
12832         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12833         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12834         * gst/gsturi.c: (gst_uri_handler_get_type):
12835         * gst/gstvalue.c: (gst_date_get_type):
12836         * gst/gstxml.c: (gst_xml_get_type):
12837         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12838         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12839         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12840         Add G_UNLIKELY in type registration.
12841
12842 2006-06-12  Wim Taymans  <wim@fluendo.com>
12843
12844         * tools/gst-inspect.c: (print_signal_info):
12845         Properly print enum values.
12846
12847 2006-06-12  Wim Taymans  <wim@fluendo.com>
12848
12849         * gst/gstinfo.c: (gst_debug_set_active),
12850         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12851         * gst/gstinfo.h:
12852         Add some G_[UN]LIKELY.
12853         Maintain __gst_debug_min to avoid formatting the arguments of
12854         debug messages that will be dropped anyway to avoid a lot of 
12855         overhead from the debugging system.
12856
12857 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12858
12859         * po/POTFILES.in:
12860         * po/POTFILES.skip:
12861           add missing files containing translatable strings, tell intltool about
12862           one exception
12863
12864 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12865
12866         * tests/check/libs/.cvsignore:
12867         add test-binary to ignore list
12868
12869 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12870
12871         * docs/libs/gstreamer-libs-docs.sgml:
12872         reorder (put dp into a chapter) and indent
12873
12874 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12875
12876         * configure.ac:
12877           back to HEAD
12878
12879 === release 0.10.8 ===
12880
12881 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12882
12883         * configure.ac:
12884           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12885
12886 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12887
12888         * gst/gst.c: (init_post):
12889           move pid declaration to declaration block
12890
12891 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12892
12893         * gst/gst.c: (init_post):
12894           use _exit() instead of exit() in our forked child; this ensures
12895           that none of the registered exit handlers from whatever is using
12896           GStreamer get executed.  This fixes gnome-mixer-applet failing
12897           to load, because ORBit would shut down.
12898           Spotted by: Edward Hervey  <edward@fluendo.com>
12899           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12900           Fixes #344474
12901
12902 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12903
12904         * configure.ac:
12905           back to TRUNK
12906
12907 === release 0.10.7 ===
12908
12909 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12910
12911         * configure.ac:
12912           releasing 0.10.7, "Soepeke, ik zie ou"
12913
12914 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12915
12916         * configure.ac:
12917         * po/af.po:
12918         * po/az.po:
12919         * po/bg.po:
12920         * po/ca.po:
12921         * po/cs.po:
12922         * po/de.po:
12923         * po/en_GB.po:
12924         * po/fr.po:
12925         * po/it.po:
12926         * po/nb.po:
12927         * po/nl.po:
12928         * po/ru.po:
12929         * po/sq.po:
12930         * po/sr.po:
12931         * po/sv.po:
12932         * po/tr.po:
12933         * po/uk.po:
12934         * po/vi.po:
12935         * po/zh_CN.po:
12936         * po/zh_TW.po:
12937         * win32/common/config.h:
12938           0.10.6.2 prerelease
12939
12940 2006-06-07  Wim Taymans  <wim@fluendo.com>
12941
12942         * gst/gstindex.c: (gst_index_gtype_resolver):
12943         * tools/gst-xmlinspect.c: (print_plugin_info):
12944         Fix leak spotted by coverity checker. Fixes #343827
12945         Fix another other leak found by paolo borelli.
12946
12947 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12948
12949         * libs/gst/dataprotocol/dataprotocol.c:
12950         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12951         (gst_dp_version_get_type), (gst_dp_init),
12952         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12953         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12954         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12955         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12956         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12957         (gst_dp_packetizer_free):
12958         * libs/gst/dataprotocol/dataprotocol.h:
12959           API: add a GstDPPacketizer object, and create/free functions
12960           API: add GstDPVersion enum
12961           Add 1.0 event function that uses the string serialization
12962           Serialize more useful buffer flags
12963           Fixes #343988
12964
12965 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12966
12967         * tests/check/Makefile.am:
12968         * tests/check/gst/gstabi.c:
12969         * tests/check/gst/struct_ppc64.h:
12970         * tests/check/libs/libsabi.c:
12971         * tests/check/libs/struct_ppc64.h:
12972           add ppc64 structure sizes
12973
12974 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12975
12976         * tests/check/Makefile.am:
12977         * tests/check/gst/gstabi.c:
12978         * tests/check/gst/struct_x86_64.h:
12979         * tests/check/libs/libsabi.c:
12980         * tests/check/libs/struct_x86_64.h:
12981           generate and add structure size lists for x86_64
12982
12983 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12984
12985         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12986         * libs/gst/check/gstcheck.h:
12987           factor out the method from tests that checks size of structures,
12988           and add code to generate the header containing these sizes
12989         * tests/check/gst/gstabi.c: (GST_START_TEST):
12990         * tests/check/gst/struct_i386.h:
12991         * tests/check/libs/libsabi.c: (GST_START_TEST):
12992         * tests/check/libs/struct_i386.h:
12993           use it
12994
12995 2006-06-06  Michael Smith  <msmith@fluendo.com>
12996
12997         * gst/gstsegment.h:
12998           Don't use c++-style comments, fixes #343929
12999
13000 2006-06-05  Edward Hervey  <edward@fluendo.com>
13001
13002         * gst/gst.c:
13003         plugin_paths is not used if we build without registry support.
13004
13005         * gst/gstsegment.c: (gst_segment_copy): 
13006         _copy() was always returning NULL...
13007
13008 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13009
13010         * libs/gst/dataprotocol/dataprotocol.c:
13011         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13012         (gst_dp_packet_from_event):
13013           factor out CRC code
13014
13015 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13016
13017         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
13018           make sure we unset caps
13019
13020 2006-06-02  Michael Smith  <msmith@fluendo.com>
13021
13022         * libs/gst/check/gstcheck.c: (gst_check_init),
13023         (gst_check_chain_func):
13024         * libs/gst/check/gstcheck.h:
13025           Add a cond/mutex to the check support lib, signal this whenever we
13026           add to the buffers list. This will allow tests to not busy-wait on
13027           the buffer-list.
13028
13029 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13030
13031         * libs/gst/dataprotocol/dataprotocol.c:
13032         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13033         (gst_dp_packet_from_event):
13034           factor out some common header init code
13035
13036 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13037
13038         * docs/libs/gstreamer-libs-sections.txt:
13039         * docs/libs/tmpl/gstdataprotocol.sgml:
13040         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
13041         * libs/gst/dataprotocol/dataprotocol.h:
13042           API: make gst_dp_crc() public
13043
13044 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
13045
13046         * plugins/indexers/gstindexers.c: (plugin_init):
13047         conditionally register fileindexer (fixes #343598)
13048
13049 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
13050
13051         * gst/gsttagsetter.h:
13052         Can't cast ifaces to a class
13053
13054         * libs/gst/net/gstnetclientclock.h:
13055         * libs/gst/net/gstnettimeprovider.h:
13056         * plugins/elements/gstfakesink.h:
13057         * plugins/elements/gstfakesrc.h:
13058         * plugins/elements/gstfdsink.h:
13059         * plugins/elements/gstfdsrc.h:
13060         * plugins/elements/gstfilesink.h:
13061         * plugins/elements/gstfilesrc.h:
13062         * plugins/elements/gstidentity.h:
13063         * plugins/elements/gstqueue.h:
13064         * plugins/elements/gsttee.h:
13065         * plugins/indexers/gstfileindex.c:
13066         * plugins/indexers/gstmemindex.c:
13067         * tests/old/examples/plugins/example.h:
13068         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
13069
13070 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13071
13072         * libs/gst/dataprotocol/dataprotocol.c:
13073         (gst_dp_header_from_buffer):
13074           make sure we zero the whole ABI-compatible area
13075
13076 2006-06-01  Wim Taymans  <wim@fluendo.com>
13077
13078         Patch by: Alessandro Decina <alessandro at nnva dot org>
13079
13080         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
13081         Make sure the EOS flag is cleared from pads after a flush
13082         or stop. Fixes #343538.
13083
13084         * tests/check/libs/collectpads.c: (GST_START_TEST),
13085         (gst_collect_pads_suite):
13086         Added test for collectpads reusage after EOS.
13087
13088 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
13089
13090         * gst/gst.c:
13091          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
13092         * win32/common/libgstbase.def:
13093          export gst_collect_pads_set_flushing
13094         * win32/common/libgstreamer.def:
13095          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
13096          gst_value_fraction_multiply
13097         * win32/vs6/gst_inspect.dsp:
13098          add a link to intl.lib
13099
13100 2006-05-30  Wim Taymans  <wim@fluendo.com>
13101
13102         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13103         (gst_collect_pads_chain):
13104         Handle the case where a pad is removed from the collection
13105         that could cause the other pads to become collectable.
13106
13107 2006-05-30  Wim Taymans  <wim@fluendo.com>
13108
13109         * gst/gstelement.c:
13110         Clarify the use of _release_request_pad() and
13111         _get_request_pad() a bit better.
13112
13113         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
13114         (gst_adapter_take_buffer):
13115         Fix some doc and comment typos.
13116
13117 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13118
13119         * docs/gst/gstreamer-sections.txt:
13120         * docs/libs/gstreamer-libs-sections.txt:
13121           add declared symbols
13122
13123 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
13124
13125         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13126         Add debug that can be enabled using a #define at the top of the file,
13127         for dumping stats about how late/early we were when waking up from
13128         waiting on the clock.
13129
13130 2006-05-30  Wim Taymans  <wim@fluendo.com>
13131
13132         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
13133         When rebuilding the pad list, don't leak the previous list.
13134
13135 2006-05-30  Wim Taymans  <wim@fluendo.com>
13136
13137         Patch by: Lutz Mueller <lutz at topfrose dot de>
13138
13139         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13140         (gst_base_src_get_query_types), (gst_base_src_update_length):
13141         Publish supported query types.
13142         Update last_stop field in get_range mode so the position
13143         query works. Fixes #342321.
13144
13145 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
13146
13147         * docs/gst/gstreamer-sections.txt:
13148         * gst/gsttaglist.c: (_gst_tag_initialize):
13149         * gst/gsttaglist.h:
13150           API: add GST_TAG_PREVIEW_IMAGE (#343341).
13151
13152 2006-05-30  Wim Taymans  <wim@fluendo.com>
13153
13154         Patch by: Alessandro Decina <alessandro at nnva dot org>
13155
13156         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13157         Unlock mutex when removing an unknown pad.
13158         Fixes #343334.
13159
13160         * tests/check/Makefile.am:
13161         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13162         (push_event), (setup), (teardown), (GST_START_TEST),
13163         (gst_collect_pads_suite), (main):
13164         Added collecpads check, disabled for now as check crashes for
13165         some reason.
13166
13167 2006-05-29  Wim Taymans  <wim@fluendo.com>
13168
13169         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13170         Don't leak pads lists.
13171
13172 2006-05-29  Wim Taymans  <wim@fluendo.com>
13173
13174         * docs/libs/gstreamer-libs-sections.txt:
13175         * libs/gst/base/gstcollectpads.c:
13176         (gst_collect_pads_set_flushing_unlocked),
13177         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13178         (gst_collect_pads_stop):
13179         * libs/gst/base/gstcollectpads.h:
13180         API: gst_collect_pads_set_flushing()
13181         Added api to set the pads to flushing, useful for seeking
13182         code in elements using collectpads.
13183         Clear segment when receiving a flush.
13184
13185 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
13186
13187         * gst/gst.c: (add_path_func), (init_post):
13188           Don't scan registry paths passed via --gst-plugin-path immediately
13189           (will crash, because absolutely nothing is set up and no types are
13190           registered etc.); do this later in init_post(). Fixes #343057.
13191
13192 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13193
13194         * gst/gst.c: (init_post):
13195           if we have fork, fork while reading/rebuilding the registry
13196           so the parent doesn't take the hit of having all plugins loaded
13197           in memory.  Fixes #342777.
13198         * configure.ac:
13199           Check if we have fork()
13200         * win32/common/config.h.in:
13201           no fork() on win32
13202
13203 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13204
13205         * plugins/elements/gstelements.c:
13206         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13207         (gst_file_src_init), (gst_file_src_set_property),
13208         (gst_file_src_get_property), (gst_file_src_start):
13209         * plugins/elements/gstfilesrc.h:
13210           API: GstFileSrc::use-mmap
13211
13212         Add a use-mmap property to enable easier testing of all code paths.
13213         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13214         in the absence of gnomevfssrc. (Closes #340501)
13215
13216 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13217
13218         * tools/gst-inspect.c:
13219         Add missing include, removes warning of ngettext not being defined on
13220         some arches.
13221
13222 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13223
13224         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13225         Handle NULL input and output pointers silently as a failed conversion,
13226         rather than g_warnings.
13227
13228 2006-05-25  Wim Taymans  <wim@fluendo.com>
13229
13230         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13231         Initialize variable before using. Fixes #342820.
13232
13233 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
13234
13235         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13236           Fix off-by-one bug that would only allow peeks of N-1 bytes
13237           from the start even if the buffer to typefind on contains
13238           in fact N bytes of data (makes vorbis typefinding from a
13239           vorbis identification header buffer work).
13240
13241         * tests/check/Makefile.am:
13242         * tests/check/libs/.cvsignore:
13243         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13244         (gst_typefindhelper_suite), (main), (foobar_typefind),
13245         (plugin_init):
13246           Add very basic unit test for gst_type_find_helper_for_buffer()
13247           that checks for the problem fixed above.
13248
13249 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13250
13251         * tools/gst-inspect.c: (print_interfaces),
13252         (print_element_properties_info), (print_element_list), (main):
13253           add more translatable strings
13254
13255 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
13256
13257         Patch by: Julien Moutte  <julien at moutte net>
13258
13259         * docs/gst/gstreamer-sections.txt:
13260           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13261           
13262         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13263         (gst_fake_sink_preroll):
13264         * plugins/elements/gstfakesink.h:
13265           API: Add new GstFakeSink::preroll-handoff signal (#337100).
13266
13267 2006-05-23  Wim Taymans  <wim@fluendo.com>
13268
13269         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13270         * gst/gstpad.h:
13271         Added _CUSTOM error and success GstFlowReturn that can be
13272         used be elements internally. 
13273         Added macro to check for SUCCESS flowreturns.
13274         API: GST_FLOW_CUSTOM_SUCCESS
13275         API: GST_FLOW_CUSTOM_ERROR
13276         API: GST_FLOW_IS_SUCCESS
13277
13278         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13279         Added check for GstFlowReturn sanity.
13280
13281 2006-05-23  Wim Taymans  <wim@fluendo.com>
13282
13283         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13284
13285         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13286         (gst_collect_pads_event):
13287         clear/reset segment info in FLUSH_STOP.
13288         Fixes #336929.
13289
13290 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
13291
13292         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13293         (gst_collect_pads_check_collected):
13294         Flush queued buffer on _stop(), fixes playing again (#342454)
13295
13296 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13297
13298         * tests/check/gst/gststructure.c: (GST_START_TEST),
13299         (gst_structure_suite):
13300           add a test for a complete structure
13301
13302 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13303
13304         * docs/faq/developing.xml:
13305         * docs/faq/faq.xml:
13306         * docs/faq/troubleshooting.xml:
13307         * docs/faq/using.xml:
13308           Some minor FAQ updates that won't change the fact that
13309           our FAQ is badly structured, full of information hardly
13310           anyone new to GStreamer needs to know and lacking lots
13311           of information people constantly ask for.
13312           
13313 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
13314
13315         * gst/gstpad.c: (gst_pad_set_caps):
13316           Short-circuit gst_pad_set_caps if setting the existing
13317           caps pointer again, and avoid printing debug and 
13318           reffing/unreffing the caps.
13319
13320         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13321           There's actually no need to set the caps before pushing -
13322           the acceptcaps method will handle it anyway.
13323
13324 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13325
13326         * docs/gst/gstreamer-sections.txt:
13327         * win32/common/libgstreamer.def:
13328         * gst/gstutils.c: (gst_element_seek_simple):
13329         * gst/gstutils.h:
13330           API: add gst_element_seek_simple() (#342238).
13331
13332 2006-05-18  Edward Hervey  <edward@fluendo.com>
13333
13334         * gst/gsttypefind.c: (gst_type_find_get_type):
13335         * gst/gsttypefind.h:
13336         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13337         registered for GstTypeFind pointers. This allows wrapping the structure
13338         in bindings (i.e. gst-python).
13339
13340 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13341
13342         * gst/gsttagsetter.c:
13343           Docs additions and fixes (see #339918).
13344
13345 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
13346
13347         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13348         The caps intersection algorithm can produce multiple copies of the
13349         caps. Until that is fixed, we need to simplify the result to be
13350         sure whether the allowed caps are fixed or not.
13351
13352         * plugins/elements/gstqueue.c: (gst_queue_init),
13353         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13354         (gst_queue_push_one):
13355         Proxied buffer alloc should not set the caps on the source pad.
13356         When pushing buffers, we always accept the caps change that triggers.
13357         This prevents negotiation errors caused by caps changing mid-stream 
13358         and then being refused on our source pad (because upstream is now
13359         refusing those caps).
13360
13361 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13362
13363         * tests/examples/helloworld/helloworld.c: (main):
13364           Must plug audioconvert and audioresample between decoder
13365           and audio sink.
13366
13367 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
13368
13369         * gst/gstregistryxml.c: (read_string), (load_pad_template),
13370         (load_feature), (load_plugin):
13371         Allow empty strings for some of the plugin fields so we don't 
13372         drop valid plugin entries that were written out correctly
13373         (Fixes #341479)
13374
13375 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
13376         
13377         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13378           Use g_remove and g_rename instead of remove and rename that don't 
13379           handle utf8 characters. rename was failing for users who had specific
13380           characters in their name then the registry was built at each 
13381           gstreamer init.
13382         * win32/vs6/gst_inspect.dsp:
13383         * win32/vs6/gst_launch.dsp:
13384         * win32/vs6/libgstbase.dsp:
13385         * win32/vs6/libgstcoreelements.dsp:
13386         * win32/vs6/libgstreamer.dsp:
13387           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
13388           build of libgstreamer and clean unused libraries in projects link 
13389           settings.
13390
13391 2006-05-17  Edward Hervey  <edward@fluendo.com>
13392
13393         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13394         The queue is not responsible for pushing an EOS when receiving a fatal
13395         flow error. It's up to the real element driving the pipeline to do that.
13396
13397 2006-05-16  Edward Hervey  <edward@fluendo.com>
13398
13399         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13400         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13401         buffer returned a fatal error. It should just send an EOS and stop
13402         its task.
13403         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13404         when pushing buffers on the queue and will be able to handle the event.
13405
13406 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
13407
13408         * docs/manual/basics-bins.xml:
13409         * docs/manual/basics-init.xml:
13410           Fix typos and minor errors in sample code (#341856).
13411
13412 2006-05-16  Wim Taymans  <wim@fluendo.com>
13413
13414         * docs/design/part-qos.txt:
13415         Fix indexes in formulas to make more sense.
13416
13417 2006-05-15  Wim Taymans  <wim@fluendo.com>
13418
13419         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13420         Don't report POSITION based on clock time if sync is
13421         disabled in a sink.
13422
13423 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
13424
13425         * gst/gstobject.h:
13426           Add cast to make compiler happy - refcount variable was a gint
13427           in GstObject but is a guint in GObject and g_atomic_int_get()
13428           wants a gint *.
13429
13430 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13431
13432         * gst/parse/Makefile.am:
13433           chain commands using &&, which also makes parallel make work
13434
13435 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
13436
13437         * docs/gst/gstreamer-sections.txt:
13438         * gst/gstevent.c:
13439         * gst/gstevent.h:
13440         * gst/gstmessage.h:
13441           Minor docs fixes.
13442
13443 === release 0.10.6 ===
13444
13445 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
13446
13447         * configure.ac:
13448           releasing 0.10.6, "Take the cannoli"
13449
13450 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13451
13452         * tools/gst-launch.c: (print_tag):
13453           Fix use of uninitialized variable in the hypothetical
13454           case that some broken plugin creates a GST_TAG_IMAGE
13455           tag containing a NULL buffer (#341667).
13456
13457 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13458
13459         * tools/gst-launch.c: (print_tag):
13460           Print something more intelligible for image tags when
13461           using the -t switch (#341556).
13462
13463 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13464
13465         * Makefile.am:
13466           updates for win32
13467         * configure.ac:
13468           define GST_MAJORMINOR so we have it available in win32/common/config.h
13469           Possibly remove it from our Makefile.am files later
13470         * win32/common/config.h:
13471         * win32/common/config.h.in:
13472           added GST_MAJORMINOR
13473         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13474         * win32/common/gstversion.h:
13475           updated
13476
13477 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13478
13479         * win32/MANIFEST:
13480           Update win32 files listing.
13481         * win32/common/gstversion.h:
13482           Add GST_MAJORMINOR definition.
13483         * win32/common/libgstreamer.def:
13484           Add new exported functions.
13485           
13486 2006-05-12  Michael Smith  <msmith@fluendo.com>
13487
13488         * gst/gstplugin.c: (gst_plugin_load_file):
13489           If an so file has no plugin entry point, unload the module.
13490
13491 2006-05-11  Wim Taymans  <wim@fluendo.com>
13492
13493         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13494         (gst_queue_set_property):
13495         Don't forget to signal the _chain or _loop function 
13496         when the queue size or thresholds change since that might
13497         cause them to make progres again.
13498
13499 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13500
13501         * gst/gstclock.c: (gst_clock_class_init):
13502         * gst/gstindex.c: (gst_index_class_init):
13503         * gst/gstobject.c: (gst_object_class_init):
13504         * gst/gstpad.c: (gst_pad_class_init):
13505         * gst/gstpipeline.c: (gst_pipeline_class_init):
13506         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13507         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13508         * libs/gst/base/gstbasetransform.c:
13509         (gst_base_transform_class_init):
13510         * libs/gst/net/gstnetclientclock.c:
13511         (gst_net_client_clock_class_init):
13512         * libs/gst/net/gstnettimeprovider.c:
13513         (gst_net_time_provider_class_init):
13514         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13515         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13516         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13517         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13518         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13519         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13520         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13521         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13522         * plugins/elements/gsttee.c: (gst_tee_class_init):
13523         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13524         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13525           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13526
13527 2006-05-11  Wim Taymans  <wim@fluendo.com>
13528
13529         * gst/gstbuffer.c: (_gst_buffer_initialize):
13530         Register subbufer along with the buffer type so that
13531         it does not accidentally gets registered from N
13532         different streaming threads in a non threadsafe way.
13533
13534 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13535
13536         * gst/gstbuffer.h:
13537         * gst/gstevent.h:
13538         * gst/gstmessage.h:
13539           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13540           gst_event_ref() and gst_message_ref() functions again
13541           (ugly hack, please do fix if there's a better way besides
13542           overrides.txt, which doesn't seem to work).
13543
13544 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13545
13546         * libs/gst/check/gstcheck.h:
13547           add an assert for setting state to avoid lots of repetitive code
13548           in the future
13549
13550 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13551
13552         * gst/gstvalue.c: (gst_value_serialize_flags):
13553           fix a leak if no flags are set
13554         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13555           fix leak in tests
13556
13557 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13558
13559         * docs/manual/basics-pads.xml:
13560           Expand a bit on caps and filtered links and update
13561           examples that were still using the no longer existing
13562           gst_pad_link_filtered() (#338206).
13563
13564 2006-05-10  Wim Taymans  <wim@fluendo.com>
13565
13566         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13567         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13568         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13569         (gst_collect_pads_stop):
13570         * libs/gst/base/gstcollectpads.h:
13571         No need to call _stop in _finalize.
13572         Iterate the main pad list in _finalize.
13573         Added some more debug.
13574         Free lists and data in the right order.
13575         Also free data whem doing _remove_pad when stopped for
13576         backward compatibility protect ::started with PAD_LOCK as
13577         well.
13578
13579 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13580
13581         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13582         (gst_structure_parse_value):
13583           add some comments
13584           rename a method so that it actually says what it does better
13585
13586 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13587
13588         * gst/gstevent.c: (_gst_event_initialize):
13589         * gst/gstformat.c: (_gst_format_initialize):
13590           make sure some essential types used by events are registered
13591           as part of gst_init()
13592         * gst/gstvalue.c: (gst_value_serialize_flags):
13593           if no flags are set, serialize them to a value that represents NONE
13594           so that deserializing them works
13595         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13596           add tests for serialization and deserialization of flags
13597
13598 2006-05-10  Wim Taymans  <wim@fluendo.com>
13599
13600         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13601         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13602         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13603         (gst_collect_pads_event), (gst_collect_pads_chain):
13604         Update docs.
13605         Better debug info.
13606         Catch and return errors from the collect function
13607         Refuse data on eos pads.
13608
13609 2006-05-10  Edward Hervey  <edward@fluendo.com>
13610
13611         * gst/gstinterface.h:
13612         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13613         GInterface type checking.
13614         They were previously using non-defined macros.
13615
13616 2006-05-09  Wim Taymans  <wim@fluendo.com>
13617
13618         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13619         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13620         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13621         (gst_collect_pads_start), (gst_collect_pads_stop),
13622         (gst_collect_pads_peek), (gst_collect_pads_pop),
13623         (gst_collect_pads_available), (gst_collect_pads_read),
13624         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13625         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13626         (gst_collect_pads_chain):
13627         * libs/gst/base/gstcollectpads.h:
13628         Clean up the mess that is collectpads, add comments and
13629         FIXMEs where needed.
13630         Maintain a separate pad list so we can add pads while
13631         collecting the other ones. For this we need a new separate 
13632         lock (see comics).
13633         Fix memory leak in finalize.
13634         Refactor some weird code to set/unset pad flushing flags, mark
13635         with comments.
13636         Don't crash in _available, _read, _flush when we're EOS.
13637
13638         * tests/check/libs/.cvsignore:
13639         Ignore adapter check binary.
13640
13641 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13642
13643         * gst/gstindex.c: (gst_index_resolver_get_type):
13644         * plugins/elements/gstfakesink.c:
13645         (gst_fake_sink_state_error_get_type):
13646         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13647         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13648         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13649           Const-ify GEnumValue arrays.
13650
13651 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13652
13653         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13654           Add test case for flags + gst_buffer_make_metadata_writable().
13655
13656 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13657
13658         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13659           gst_buffer_make_metadata_writable() should maintain the
13660           buffer flags (those that make sense at least) (see #340859).
13661
13662 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13663
13664         * tools/gst-inspect.c:
13665         * tools/gst-launch.c:
13666         * tools/gst-typefind.c:
13667         * tools/gst-xmlinspect.c:
13668         * tools/tools.h:
13669           Fix up includes: need to include stdlib.h in tools.h for exit().
13670
13671 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13672
13673         * gst/gsttaglist.c: (_gst_tag_initialize):
13674         * gst/gsttaglist.h:
13675           API: add GST_TAG_IMAGE tag (#340721).
13676
13677 2006-05-08  Wim Taymans  <wim@fluendo.com>
13678
13679         * gst/gstquery.c:
13680         Added some docs for the segment query.
13681
13682 2006-05-08  Wim Taymans  <wim@fluendo.com>
13683
13684         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13685         (gst_base_src_loop), (gst_base_src_change_state):
13686         Always push non-flushing serialized events in the streaming 
13687         thread.
13688
13689 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13690
13691         * gst/gsterror.c: (_gst_stream_errors_init):
13692           Add a missing error string.
13693
13694 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13695
13696         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13697         Add applied_rate to the debug
13698
13699         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13700         Copy applied_rate into the outgoing NEWSEGMENT event
13701
13702 2006-05-08  Wim Taymans  <wim@fluendo.com>
13703
13704         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13705
13706         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13707         (gst_base_sink_change_state):
13708         call ::unlock before taking the PREROLL_LOCK so we can safely
13709         handle elements that lock in ::render.
13710         Fixes #340174.
13711
13712 2006-05-08  Edward Hervey  <edward@fluendo.com>
13713
13714         * autogen.sh: (CONFIGURE_DEF_OPT): 
13715         Darwin's libtoolize is in fact called glibtoolize.
13716         Adding glibtoolize to the list of accepted names for libtoolize.
13717
13718 2006-05-08  Wim Taymans  <wim@fluendo.com>
13719
13720         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13721         Unify error handling, don't post an error message
13722         when a push() returns EOS but perform our normal EOS
13723         handling code. Fixes #340772.
13724
13725 2006-05-08  Wim Taymans  <wim@fluendo.com>
13726
13727         * docs/design/part-overview.txt:
13728         Make upsteam/downstream concepts more clear.
13729         Give an example of serialized/non-serialized events.
13730
13731         * docs/design/part-events.txt:
13732         * docs/design/part-streams.txt:
13733         Mention applied_rate.
13734
13735         * docs/design/part-trickmodes.txt:
13736         Mention applied rate, flesh out some more use cases.
13737
13738         * gst/gstevent.c: (gst_event_new_new_segment),
13739         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13740         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13741         (gst_event_parse_tag), (gst_event_new_buffer_size),
13742         (gst_event_parse_buffer_size), (gst_event_new_qos),
13743         (gst_event_parse_qos), (gst_event_parse_seek),
13744         (gst_event_new_navigation):
13745         * gst/gstevent.h:
13746         Add applied_rate field to NEWSEGMENT event.
13747         API: gst_event_new_new_segment_full()
13748         API: gst_event_parse_new_segment_full()
13749
13750         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13751         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13752         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13753         * gst/gstsegment.h:
13754         Add applied_rate to GstSegment structure.
13755         Make calculation of stream_time and running_time more correct
13756         wrt rate/applied_rate.
13757         Add some more docs.
13758         API: GstSegment::applied_rate field
13759         API: gst_segment_set_newsegment_full();
13760
13761         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13762         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13763         * libs/gst/base/gstbasetransform.c:
13764         (gst_base_transform_sink_eventfunc),
13765         (gst_base_transform_handle_buffer):
13766         Parse and use applied_rate in the GstSegment field.
13767
13768         * tests/check/gst/gstevent.c: (GST_START_TEST):
13769         Add check for applied_rate field.
13770
13771         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13772         (gstsegments_suite):
13773         Add more checks for various GstSegment operations.
13774
13775 2006-05-08  Wim Taymans  <wim@fluendo.com>
13776
13777         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13778         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13779         (gst_base_sink_get_position), (gst_base_sink_change_state):
13780         Store the sync time of the buffer end position separatly in a
13781         new variable eos_rtime so we can properly sync the EOS event.
13782         Fixes #340697.
13783         Fix the docs for gst_base_sink_set_qos_enabled().
13784         Don't set segment start to invalid value when we receive a 
13785         non TIME newsegment.
13786         get closer to handling position reporting for negative rates 
13787         correctly.
13788
13789 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13790
13791         * gst/gstcaps.c:
13792         Docs about how to print caps for debug purposes.
13793
13794         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13795         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13796
13797 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13798
13799         * gst/gstelement.c:
13800           use full enum names and preprend a '%' in docs strings to make recent 
13801           gtk-doc turn that into a link
13802
13803 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13804
13805         * docs/manual/basics-bins.xml:
13806         * docs/manual/basics-bus.xml:
13807         * docs/manual/basics-pads.xml:
13808           Some typo fixes, some additions, some clarifications. 
13809
13810 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13811
13812         * tools/gst-inspect.c: (main):
13813         * tools/gst-launch.c: (main):
13814         * tools/gst-run.c: (main):
13815         * tools/gst-typefind.c: (main):
13816         * tools/gst-xmlinspect.c: (main):
13817           Use the string passed to g_option_context_new() for
13818           what it's intended for - the program name is already
13819           printed elsewhere.
13820
13821 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13822
13823         * tools/Makefile.am:
13824         * tools/gst-inspect.c: (main):
13825         * tools/gst-launch.c: (main):
13826         * tools/gst-xmlinspect.c: (main):
13827         * tools/tools.h:
13828           Add back --version command line option (#340460).
13829
13830         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13831           Add --version option and use GOption for argument parsing; refactor a
13832           bit; accept directories as arguments and recurse into them; lastly,
13833           print a decent error message when things go wrong.
13834
13835 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13836
13837         * docs/manual/basics-bins.xml:
13838         Don't mention GstThread (#340611)
13839         * docs/manual/basics-elements.xml:
13840         Update link to GObject tutorial (#340607)
13841         
13842 2006-05-05  Wim Taymans  <wim@fluendo.com>
13843
13844         * gst/gstbuffer.h:
13845         * gst/gstminiobject.c:
13846         Add note about refcounting and miniobject/buffer writeability
13847         to docs. Fixes #340604
13848
13849         * gst/gstelementfactory.h:
13850         Added some explanation about @klass.
13851
13852 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13853
13854         * docs/manual/intro-motivation.xml:
13855         * docs/manual/manual.xml:
13856         Avoid CORBA & Bonobo references (#340598)
13857
13858 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13859
13860         * docs/manual/basics-bus.xml:
13861         * docs/manual/basics-pads.xml:
13862         Fix up some inaccuracies and omissions (#340609)
13863         
13864 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13865
13866         * gst/gstghostpad.c:
13867           Small typo in docs (#340625)
13868
13869 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13870
13871         * gst/parse/Makefile.am:
13872           Make 'make -j' proof (see #340698).
13873
13874 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13875
13876         * configure.ac:
13877           Require GLib-2.8 here as well.
13878
13879 2006-05-05  Wim Taymans  <wim@fluendo.com>
13880
13881         * gst/glib-compat.c:
13882         * gst/gst.c: (init_pre):
13883         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13884         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13885         (gst_object_dispatch_properties_changed):
13886         * gst/gstobject.h:
13887         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13888         * gst/gststructure.c: (gst_structure_set_valist):
13889         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13890         Remove pre glib2.8 compatibility, fixes #340508
13891
13892 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13893
13894         * gst/gsttaglist.h:
13895           Mention type of tags in doc blurbs.
13896
13897 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13898
13899         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13900         (gst_pad_configure_src), (gst_pad_push):
13901         Restore acceptcaps checking behaviour now that good plugins have
13902         been released.
13903
13904 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13905
13906         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13907
13908         * gst/gst.c:
13909         * gst/gstbus.c:
13910         * gst/gstclock.c:
13911         * gst/gstevent.c:
13912         * gst/gstformat.c:
13913         * gst/gstmessage.c:
13914         * gst/gstparse.c:
13915         * gst/gstquery.c:
13916         * gst/gstutils.c:
13917         * gst/parse/Makefile.am:
13918         * libs/gst/base/gstadapter.c:
13919         * libs/gst/base/gstbasesrc.c:
13920         * libs/gst/base/gstpushsrc.c:
13921         * libs/gst/base/gsttypefindhelper.c:
13922         * plugins/elements/gstfakesrc.c:
13923         * plugins/elements/gstidentity.c:
13924           Make sure gstprivate.h and/or config.h are
13925           always included first, otherwise some of our
13926           defines (like _FILE_OFFSET_BITS) might be
13927           redefined in the system headers. Fixes build
13928           on opensolaris (#340016).
13929
13930 2006-05-04  Wim Taymans  <wim@fluendo.com>
13931
13932         * docs/libs/gstreamer-libs-sections.txt:
13933         API: addition: gst_adapter_take_buffer()
13934         
13935         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13936         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13937         (gst_adapter_available_fast):
13938         * libs/gst/base/gstadapter.h:
13939         Prepare for optimizing the hell out of this hugely inefficient
13940         piece of code. 
13941         Added gst_adapter_take_buffer() so we can at least start thinking
13942         about subbuffering and merging.
13943         Added some comments.
13944
13945         * tests/check/Makefile.am:
13946         * tests/check/libs/adapter.c: (GST_START_TEST),
13947         (gst_adapter_suite), (main):
13948         Added GstAdapter check.
13949
13950 2006-05-04  Wim Taymans  <wim@fluendo.com>
13951
13952         * docs/design/part-overview.txt:
13953         Fix some typos, add blurb about buffer flags.
13954
13955 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13956
13957         * docs/libs/gstreamer-libs-sections.txt:
13958           make sure GstBaseTransformClass shows up in the docs
13959         * libs/gst/base/gstbasetransform.c:
13960         * libs/gst/base/gstbasetransform.h:
13961           move docs so gtk-doc picks it up now
13962
13963 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13964
13965         * docs/libs/gstreamer-libs-sections.txt:
13966           add missing symbols to docs
13967
13968 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13969
13970         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13971           back out the newsegment handling change, see #340060 for ongoing
13972           discussion
13973
13974 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13975
13976         * tools/gst-run.c: (get_candidates), (main):
13977           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13978           work); fix typo in error message. Fixes #340079.
13979
13980 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13981
13982         * common/Makefile.am:
13983         * docs/Makefile.am:
13984         * docs/faq/Makefile.am:
13985         * docs/gst/Makefile.am:
13986         * docs/libs/Makefile.am:
13987         * docs/manual/Makefile.am:
13988         * docs/plugins/Makefile.am:
13989         * docs/pwg/Makefile.am:
13990         * docs/slides/Makefile.am:
13991         * docs/upload.mak:
13992         * common/upload.mak:
13993           move upload.mak to common
13994
13995 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13996
13997         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13998           add more asserts on refcounts
13999           do more cleanup at end of tests
14000           fix test leaks showing in FC5
14001
14002 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
14003
14004         * plugins/elements/gsttypefindelement.c:
14005         (gst_type_find_element_handle_event):
14006         reverted wrong change and reflowed code to avoid others falling into
14007         this trap
14008
14009 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14010
14011         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14012           fix changelog entry about last collectpads change,
14013           add notes about proper fix
14014
14015 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14016
14017         * gst/gst.c:
14018         * gst/gstregistry.c: (gst_registry_scan_path_level),
14019         (gst_registry_scan_path):
14020         * gst/gstregistry.h:
14021           only write out registry if it has changed, fixes #338339
14022
14023 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14024
14025         * gst/gstbin.c:
14026         * gst/gstpipeline.c:
14027         * plugins/elements/gstcapsfilter.c:
14028         * plugins/elements/gstfakesink.c:
14029         * plugins/elements/gstfakesrc.c:
14030         * plugins/elements/gstfdsink.c:
14031         * plugins/elements/gstfdsrc.c:
14032         * plugins/elements/gstfilesink.c:
14033         * plugins/elements/gstfilesrc.c:
14034         * plugins/elements/gstidentity.c:
14035         * plugins/elements/gstqueue.c:
14036         * plugins/elements/gsttee.c:
14037         * plugins/elements/gsttypefindelement.c:
14038         (gst_type_find_element_handle_event):
14039           make GstElementDetails const
14040
14041 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14042
14043         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
14044         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14045         (gst_collect_pads_is_collected), (gst_collect_pads_event):
14046           more detailed debug and formatting cleanup,
14047           forward newsegments to src-pad (so that e.g. adder not eats them)
14048
14049 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14050
14051         * gst/gstutils.c: (gst_element_link_pads):
14052           cleanup double code
14053
14054 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14055
14056         * libs/gst/controller/gstcontroller.c:
14057         (gst_controller_sync_values):
14058           some little tuning
14059         * tests/check/libs/controller.c: (GST_START_TEST),
14060         (gst_controller_suite):
14061           a new test for live value handling
14062
14063 2006-04-28  Wim Taymans  <wim@fluendo.com>
14064
14065         * gst/gstutils.c: (push_and_ref):
14066         Added some more docs.
14067         Fix refcount issue whith gst_element_found_tags() helper 
14068         function. Fixes #338335
14069
14070         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14071         Added testsuite for gst_element_found_tags().
14072
14073 2006-04-28  Michael Smith  <msmith@fluendo.com>
14074
14075         * gst/gstvalue.c: (gst_value_serialize_flags):
14076           Avoid NULL dereference when trying to serialize flags containing
14077           invalid values.
14078
14079 2006-04-28  Michael Smith  <msmith@fluendo.com>
14080
14081         * plugins/elements/gsttypefindelement.c:
14082         (gst_type_find_element_handle_event):
14083           If we get EOS before any data is accumulated, don't use
14084           uninitialised local variables.
14085
14086 2006-04-28  Michael Smith  <msmith@fluendo.com>
14087
14088         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14089         (gst_dp_event_from_packet):
14090           Fixes in reading/writing events over GDP (not currently used?) - 
14091           dereferencing NULL events for unknown/invalid event types, memory
14092           leak, and change g_warning to GST_WARNING.
14093
14094 2006-04-28  Wim Taymans  <wim@fluendo.com>
14095
14096         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
14097         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14098         (gst_base_sink_get_position), (gst_base_sink_change_state):
14099         When frame dropping is enabled, we should not ignore frames
14100         without a duration.
14101         Update some documentation.
14102
14103 2006-04-28  Wim Taymans  <wim@fluendo.com>
14104
14105         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14106         (gst_base_src_send_event), (gst_base_src_change_state):
14107         Documentation updates.
14108
14109 2006-04-28  Wim Taymans  <wim@fluendo.com>
14110
14111         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
14112         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
14113         handle EAGAIN, EINTR and short writes correctly. Also clean
14114         up some error cases, avoid a deadlock on bad file descriptors and
14115         use GST_DEBUG_OBJECT.
14116         Fixes #339843
14117
14118 2006-04-28  Wim Taymans  <wim@fluendo.com>
14119
14120         * gst/gstvalue.c: (gst_value_serialize_buffer),
14121         (gst_value_deserialize_buffer):
14122         Don't try to serialize a GValue with a NULL buffer. 
14123         Fixes #339821.
14124
14125         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14126         Added check for serialisation of NULL buffers.
14127
14128 2006-04-28  Wim Taymans  <wim@fluendo.com>
14129
14130         * gst/gstminiobject.c: (gst_value_take_mini_object):
14131         Taking a NULL miniobject is valid, fix the case where
14132         we try to unref the NULL miniobject.
14133
14134 2006-04-28  Wim Taymans  <wim@fluendo.com>
14135
14136         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14137
14138         * gst/gstbin.c: (gst_bin_handle_message_func):
14139         Update docs.
14140         Don't leak bin refcount when a state recalc is
14141         in progress and we delay another one #339808.
14142
14143 2006-04-28  Wim Taymans  <wim@fluendo.com>
14144
14145         * docs/design/part-TODO.txt:
14146         Mention QoS as an ongoing work item.
14147
14148         * docs/design/part-buffering.txt:
14149         New doc about buffering that needs to be fleshed out
14150         at some point.
14151
14152         * docs/design/part-qos.txt:
14153         More QoS policy for decoders/demuxers/transforms
14154
14155         * docs/design/part-trickmodes.txt:
14156         Small update.
14157
14158 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14159
14160         * configure.ac:
14161           back to HEAD
14162
14163 === release 0.10.5 ===
14164
14165 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
14166
14167         * configure.ac:
14168           releasing 0.10.5, "Fogo"
14169
14170 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14171
14172         patch by: Wim Taymans
14173
14174         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14175         (gst_pad_configure_src), (gst_pad_push):
14176         * gst/gstpipeline.c: (gst_pipeline_init):
14177           Fix internal data flow errors.  Fixes #338711.
14178
14179 2006-04-12  Wim Taymans  <wim@fluendo.com>
14180
14181         * tests/check/gst/gstelement.c: (GST_START_TEST):
14182         Don't leak the factory.
14183
14184 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14185
14186         * configure.ac:
14187         * win32/common/config.h:
14188           prerelease
14189
14190 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
14191
14192         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14193         (gst_controller_unset_all):
14194           Free allocated GstTimedValues when freeing list nodes.
14195           Should fix leaks 'make check-valgrind' complains about.
14196
14197         * win32/common/libgstcontroller.def:
14198           Add gst_controller_unset_all.
14199
14200 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
14201
14202         * docs/libs/gstreamer-libs-sections.txt:
14203         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14204         (gst_controller_unset_all):
14205         * libs/gst/controller/gstcontroller.h:
14206         API: Added new method gst_controller_unset_all()
14207         fixed gst_controller_unset()
14208         * tests/check/libs/controller.c: (GST_START_TEST),
14209         (gst_controller_suite):
14210         Added two testcases for new and fixed method
14211
14212 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
14213
14214         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14215           MSG_DONTWAIT is not defined on Cygwin, so work
14216           around that (fixes #317048).
14217           
14218 2006-04-11  Wim Taymans  <wim@fluendo.com>
14219
14220         * gst/gstelementfactory.c: (gst_element_register),
14221         (gst_element_factory_create), (gst_element_factory_make):
14222         Some cleanups.
14223         Fixed a FIXME.
14224         Updated docs (Fixes #131079)
14225
14226         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14227         Small cleanups.
14228
14229         * tests/check/gst/gstelement.c: (GST_START_TEST),
14230         (gst_element_suite):
14231         Added testcase for elementfactory class field.
14232
14233 2006-04-10  Wim Taymans  <wim@fluendo.com>
14234
14235         * gst/gstsegment.c:
14236         Added some more docs.
14237
14238         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14239         (gst_base_sink_reset_qos):
14240         Calculate more accurate rate values.
14241
14242 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
14243
14244         * gst/gst_private.h:
14245           add a new #ifdef to use __declspec(dllimport) only for
14246           other modules and not for gstreamer core
14247         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14248           use gst_guint64_to_gdouble for conversion
14249         * win32/common/libgstreamer.def:
14250           add new exported functions
14251         * win32/vs6/gst_inspect.dsp:
14252         * win32/vs6/gst_launch.dsp:
14253         * win32/vs6/libgstbase.dsp:
14254         * win32/vs6/libgstcontroller.dsp:
14255         * win32/vs6/libgstcoreelements.dsp:
14256         * win32/vs6/libgstdataprotocol.dsp:
14257         * win32/vs6/libgstnet.dsp:
14258           update project files
14259
14260 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14261
14262         * gst/gstbuffer.c: (gst_subbuffer_class_init):
14263         * gst/gstclock.c: (gst_clock_class_init):
14264         * gst/gstelement.c: (gst_element_class_init):
14265         * gst/gstindex.c: (gst_index_class_init):
14266         * gst/gstindexfactory.c: (gst_index_factory_class_init):
14267         * gst/gstobject.c: (gst_object_class_init),
14268         (gst_signal_object_class_init):
14269         * gst/gstpad.c: (gst_pad_class_init):
14270         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14271         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14272         * gst/gstregistry.c: (gst_registry_class_init):
14273         * gst/gstsystemclock.c: (gst_system_clock_class_init):
14274         * gst/gsttask.c: (gst_task_class_init):
14275         * gst/gstxml.c: (gst_xml_class_init):
14276         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14277         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14278         (gst_base_src_loop):
14279         * libs/gst/controller/gstcontroller.c:/
14280         (_gst_controller_class_init):
14281         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14282         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14283         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14284         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14285         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14286         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14287
14288 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
14289
14290         * gst/gstpad.c: (gst_pad_link):
14291           Must set peer pads before calling the link function, otherwise
14292           a task started from a link function might get a flow-not-linked
14293           result when trying to push because the other thread where the
14294           linking happens hasn't had a chance to set the peers yet. This
14295           might happen for example when a queue gets linked to a downstream
14296           element, as queue starts a streaming task when its source pad
14297           gets linked. Happens in real life when playing back flac/musepack
14298           files in playbin (#332390).
14299           
14300 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14301
14302         * gst/gstindex.h:
14303         * gst/gstxml.h:
14304         * libs/gst/base/gstadapter.h:
14305         * libs/gst/base/gstbasesink.h:
14306         * libs/gst/base/gstbasesrc.h:
14307         * libs/gst/base/gstbasetransform.h:
14308         * libs/gst/base/gstcollectpads.h:
14309         * libs/gst/base/gstpushsrc.h:
14310         Fix broken GObject macros
14311
14312 2006-04-07  Wim Taymans  <wim@fluendo.com>
14313
14314         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14315         Initialize start and stop times, thanks valgrind.
14316
14317 2006-04-07  Wim Taymans  <wim@fluendo.com>
14318
14319         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14320         Be a bit nicer to badly behaving upstream elements that expect
14321         us to deal with non TIME segments and timestamps (such as fakesrc
14322         in the testsuite).
14323
14324 2006-04-07  Wim Taymans  <wim@fluendo.com>
14325
14326         * gst/gstbus.c:
14327         Small documentation clarification about the signal watch.
14328
14329         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14330         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14331         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14332         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14333         (gst_base_sink_get_position_last),
14334         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14335         Convert and store timestamps in stream time and running time, the
14336         raw timestamps are not useful, also document this better.
14337         Use different window sizes for good and bad QoS observations so
14338         we react to badness a little quicker.
14339         Keep track of the amount of rendered and dropped buffers.
14340         Send QoS timestamps in running time.
14341
14342         * libs/gst/base/gstbasetransform.c:
14343         (gst_base_transform_sink_eventfunc),
14344         (gst_base_transform_handle_buffer):
14345         Compare QoS timestamps against running time.
14346
14347 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14348
14349         * gst/gstpad.c:
14350           Typo fixes in docs.
14351
14352 2006-04-06  Michael Smith  <msmith@fluendo.com>
14353
14354         * gst/gstpad.c: (gst_pad_set_property):
14355           Use g_value_get_object() instead of g_value_dup_gst_object(),
14356           to avoid double-reffing the pad template (which we then sink,
14357           so this worked previously if (and only if) the pad template
14358           was floating.
14359
14360         * gst/gstpadtemplate.c: (gst_pad_template_init),
14361         (gst_pad_template_pad_created):
14362           Never return floating references to pad templates, create
14363           them as initially-sunken.
14364
14365           Document an extra function (and make this stop sinking our
14366           pad template, since that is now guaranteed to do nothing,
14367           since we created it sunken).
14368
14369         * gst/gstghostpad.c:
14370           Fix docs typo.
14371
14372 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14373
14374         * gst/gstinfo.c: (__gst_in_valgrind):
14375           Add some newlines.
14376
14377         * plugins/elements/gsttypefindelement.c:
14378         (gst_type_find_element_chain):
14379           Don't leak buffer caps.
14380
14381 2006-04-06  Michael Smith  <msmith@fluendo.com>
14382
14383         * gst/parse/grammar.y:
14384           Fix a leak in parse-launch for any source-or-sink named element 
14385           references used.
14386
14387         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14388           Unref the pipeline if it exists after we've failed parsing.
14389
14390 2006-04-05  Michael Smith  <msmith@fluendo.com>
14391
14392         * gst/gstpipeline.c: (gst_pipeline_init):
14393           When we create a pipeline bus, initially create it in flushing mode.
14394           Fixes leaks in at least one test, and makes a new pipeline work the
14395           same as one that has gone to READY and then back to NULL.
14396
14397         * gst/gstelement.c:
14398           Typo fix in docs.
14399
14400 2006-04-05  Michael Smith  <msmith@fluendo.com>
14401
14402         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14403           Unref a pad we reffed.
14404         * tests/check/gst/gstutils.c: (GST_START_TEST):
14405           Unref bins
14406
14407 2006-04-05  Michael Smith  <msmith@fluendo.com>
14408
14409         * gst/gstquery.c: (gst_query_set_formats),
14410         (gst_query_set_formatsv):
14411           Fix leaking GValues in queries, as shown by valgrind/testsuite.
14412
14413 2006-04-05  Michael Smith  <msmith@fluendo.com>
14414
14415         * tests/check/generic/sinks.c: (GST_START_TEST):
14416           Fix a variety of memleaks in sinks check, which are only sometimes 
14417           shown by running the tests under valgrind (weird?).
14418
14419 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
14420
14421         * docs/version.entities.in:
14422           Fix the substituted entity name after thomas' changes on the
14423           weekend.
14424
14425 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14426
14427         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14428         VALGRIND_PRINTF
14429         
14430 2006-04-05  Andy Wingo  <wingo@pobox.com>
14431
14432         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14433
14434         * libs/gst/base/gstbasetransform.c
14435         (gst_base_transform_sink_eventfunc): When resetting our segment on
14436         FLUSH_STOP, also update the flag saying we haven't seen a
14437         newsegment.
14438
14439 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14440
14441         Patch by: Paolo Borelli  <pborelli at katamail dot com>
14442
14443         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14444         (gst_plugin_check_license):
14445           minor clean-ups: G_DEFINE_TYPE already takes care of the
14446           parent_class stuff, no need to do it twice. Mark array of
14447           license strings as constant. (#337103)
14448           
14449 2006-04-04  Michael Smith  <msmith@fluendo.com>
14450
14451         * tools/gst-inspect.c: (print_element_list):
14452           Free the right plugin list; fixes a memory leak.
14453
14454 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14455
14456         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14457
14458         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14459           Don't error out on empty buffers (#336945).
14460           
14461 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14462
14463         * docs/libs/gstreamer-libs-sections.txt:
14464         * gst/gsttaglist.c:
14465         * libs/gst/base/gstbasesink.c:
14466         * libs/gst/base/gstbasesink.h:
14467         * libs/gst/base/gstbasesrc.c:
14468         * libs/gst/base/gstbasesrc.h:
14469           Documentation updates. Make BaseSink and BaseSrc docs contain the
14470           class structure so that people can actually see the prototypes for
14471           virtual functions they're supposed to be overriding.
14472
14473 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14474
14475         * plugins/elements/gsttypefindelement.c:
14476         (gst_type_find_element_chain):
14477           More debug info; when skipping typefinding, send cached
14478           events in all cases.
14479
14480 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14481
14482         * configure.ac:
14483           use new AS_VERSION and AS_NANO macros
14484         * gst/gst-i18n-lib.h:
14485         * gst/gst.c:
14486         * gst/gsterror.c:
14487         * gst/gstversion.h.in:
14488         * win32/common/config.h:
14489         * win32/common/config.h.in:
14490           update accordingly
14491
14492 2006-03-31  Michael Smith  <msmith@fluendo.com>
14493
14494         * plugins/elements/gsttypefindelement.c:
14495         (gst_type_find_element_chain):
14496           Do not typefind content if the buffers already have caps.
14497           Neccesary for icydemux (#333657), and the right thing to do anyway.
14498
14499 2006-03-30  Wim Taymans  <wim@fluendo.com>
14500
14501         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14502         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14503         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14504         (gst_base_sink_record_qos_observation),
14505         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14506         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14507         (gst_base_sink_change_state):
14508         More QoS measurements as described in the design doc.
14509         Get rid of ringbuffer with observations, running average is
14510         more simple and equally good.
14511         Calculates valid proportion now.
14512         Added beginning of flood measurement.
14513
14514 2006-03-29  Wim Taymans  <wim@fluendo.com>
14515
14516         * docs/design/part-qos.txt:
14517         * gst/gstclock.c:
14518         Small documentation updates and additions.
14519
14520 2006-03-29  Wim Taymans  <wim@fluendo.com>
14521
14522         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14523         (gst_base_src_send_event), (gst_base_src_loop),
14524         (gst_base_src_change_state):
14525         Perform the EOS logic when we reach the segment stop position.
14526         Fix compilation on gcc4.1
14527
14528 2006-03-29  Wim Taymans  <wim@fluendo.com>
14529
14530         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14531
14532         * plugins/elements/gstqueue.c: (gst_queue_init),
14533         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14534         (gst_queue_set_property):
14535         * plugins/elements/gstqueue.h:
14536         In queue, when EOS is received, if minimum threshold > max_size -
14537         current_level, there is chance that queue blocks forever in conditional
14538         item del wait. This is because the queue is not emptied completely due
14539         to minimum threshold.  Here is another approach. Instead of setting
14540         cur_levels to max in EOS, just zero all minimum threshold levels. This
14541         should make sure that queue gives out all data. When going to READY
14542         (stop) state, just reset the original minimum threshold levels.
14543         Fixes #336336.
14544
14545 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14546
14547         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14548         (gst_type_find_element_handle_event),
14549         (gst_type_find_element_send_cached_events),
14550         (gst_type_find_element_change_state):
14551         * plugins/elements/gsttypefindelement.h:
14552           When typefinding is done in push mode, we should cache
14553           events we receive during typefinding instead of just
14554           dropping them (e.g. newsegment, custom events from
14555           dvdreadsrc etc.) and then send them out once we've
14556           determined the type of the stream (and decodebin
14557           has had a chance to plug in a decoder/demuxer).
14558           
14559 2006-03-27  Wim Taymans  <wim@fluendo.com>
14560
14561         * docs/design/part-qos.txt:
14562         First QoS ideas.
14563
14564 2006-03-27  Wim Taymans  <wim@fluendo.com>
14565
14566         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14567
14568         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14569         (gst_base_src_send_event), (gst_base_src_change_state):
14570         Handle element seek correctly when we are streaming.
14571         Fixes #326998.
14572
14573 2006-03-24  Michael Smith  <msmith@fluendo.com>
14574
14575         * docs/faq/gst-uninstalled:
14576           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14577           allow you to correctly run intalled applications built against old 
14578           core, using plugins that require updated core (e.g. running
14579           installed totem against a full uninstalled gstreamer stack)
14580
14581 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14582
14583         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14584         more debug details
14585
14586 2006-03-24  Wim Taymans  <wim@fluendo.com>
14587
14588         * docs/gst/gstreamer-sections.txt:
14589         Rearrange the order of the methods so that related methods
14590         are grouped together in sections.
14591
14592 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14593
14594         * gst/gstelement.c:
14595           Little clarification in the docs
14596
14597 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14598
14599         * docs/README:
14600         formatting fix
14601         * plugins/elements/gstidentity.c:
14602         * plugins/elements/gstqueue.c:
14603         * plugins/elements/gsttee.c:
14604         * plugins/elements/gsttypefindelement.c:
14605         GST_ELEMENT_DETAILS formatting
14606
14607 2006-03-24  Wim Taymans  <wim@fluendo.com>
14608
14609         * libs/gst/base/gstbasesink.h:
14610         Only add fields, not insert or we break ABI.
14611
14612 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14613
14614         * win32/common/libgstbase.def:
14615         * win32/common/libgstreamer.def:
14616           Update, add recently added functions.
14617
14618 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14619
14620         * docs/gst/gstreamer-sections.txt:
14621         * gst/gstutils.c: (gst_pad_query_peer_position),
14622         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14623         * gst/gstutils.h:
14624           API: add some new utility functions:
14625            - gst_pad_query_peer_position()
14626            - gst_pad_query_peer_duration()
14627            - gst_pad_query_peer_convert()
14628           
14629 2006-03-23  Wim Taymans  <wim@fluendo.com>
14630
14631         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14632         (gst_base_sink_init), (gst_base_sink_finalize),
14633         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14634         (gst_base_sink_set_property), (gst_base_sink_get_property),
14635         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14636         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14637         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14638         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14639         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14640         (gst_base_sink_preroll_object), (gst_base_sink_event),
14641         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14642         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14643         (gst_base_sink_query), (gst_base_sink_change_state):
14644         Decouple max-lateness and the fact that QoS messages are generated
14645         with a new property (qos).
14646         added API: GstBaseSink::async_play()
14647         Add vmethod so subclasses can be notified of ASYNC playing
14648         state changes.
14649         Collect timestamp start and stop to report better current
14650         position in EOS/PLAYING/PAUSED/READY/NULL.
14651         Refactor QoS/frame dropping and other measurements.
14652         API: GstBaseSrc::qos
14653         Fixes #326311
14654
14655         * libs/gst/base/gstbasesink.h:
14656         Added Private struct.
14657         API: gst_base_sink_set_qos_enabled()
14658         API: gst_base_sink_is_qos_enabled()
14659
14660 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14661
14662         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14663           If compiling against GLib-2.8 or newer, try to read the
14664           registry file using GMappedFile first before falling back
14665           to fopen() + fread() (#332151).
14666
14667 2006-03-22  Wim Taymans  <wim@fluendo.com>
14668
14669         * gst/gstinfo.c: (gst_debug_set_active),
14670         (gst_debug_category_set_threshold):
14671         Disable debugging unless explicitly activated.
14672         Fixes #335480.
14673
14674 2006-03-22  Wim Taymans  <wim@fluendo.com>
14675
14676         * gst/gstelement.c: (gst_element_set_locked_state),
14677         (gst_element_dispose):
14678         Cleanup the error case.
14679
14680         * gst/gstobject.c: (gst_object_dispose):
14681         print a critical when some object was disposed with
14682         a parent, also revive the object since it might
14683         crash the parent.
14684
14685 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14686
14687         * tools/gst-launch.1.in:
14688           Fix another typo.
14689
14690 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14691
14692         * configure.ac:
14693         * tests/check/Makefile.am:
14694           disable some tests when we don't have a registry
14695         * tests/check/gst/gstutils.c: (gst_utils_suite):
14696           don't build the part that needs parsing
14697
14698 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14699
14700         * gst/Makefile.am
14701         * tests/examples/Makefile.am:
14702           fix --disable-parse build
14703
14704 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14705
14706         * tools/gst-feedback.1.in:
14707           Fix typo: s/feeback/feedback/ (#133494).
14708
14709 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14710
14711         * tools/Makefile.am:
14712         * tools/gst-launch.1.in:
14713           Add FILES section and correct entry about GST_REGISTRY_PATH
14714           environment variable (#133495; #133494).
14715
14716 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14717
14718         * tools/Makefile.am:
14719         * tools/gst-md5sum.1.in:
14720         * tools/gst-md5sum.c:
14721           Remove gst-md5sum and man page (the md5sink element
14722           required was removed ages ago)
14723
14724 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14725
14726         * gst/gststructure.c: (gst_structure_id_set_value):
14727           Make sure that string fields in structures/taglists
14728           contain valid UTF-8 - we don't want to pass rubbish to
14729           applications because of a buggy plugin (cp. #334167).
14730
14731 2006-03-21  Edward Hervey  <edward@fluendo.com>
14732
14733         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14734         (gst_bin_handle_message_func):
14735         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14736         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14737         (gst_element_set_bus_func):
14738         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14739         * gst/gstminiobject.c: (gst_value_set_mini_object),
14740         (gst_value_take_mini_object):
14741         * gst/gstpad.c: (gst_pad_set_pad_template):
14742         * gst/gstpipeline.c: (gst_pipeline_dispose),
14743         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14744         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14745         (gst_collect_pads_chain):
14746         * libs/gst/net/gstnettimeprovider.c:
14747         (gst_net_time_provider_set_property):
14748         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14749         It's in fact all issues with gst_*object_replace().
14750
14751 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14752
14753         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14754         
14755         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14756         * pkgconfig/gstreamer-check.pc.in:
14757           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14758
14759 2006-03-21  Edward Hervey  <edward@fluendo.com>
14760
14761         * gst/gstbuffer.h:
14762         * gst/gstevent.h:
14763         * gst/gstmessage.h:
14764         gst_[buffer|event|message]_ref() macros are replaced by a static
14765         inline functions because gcc-4.1 will about if the return value
14766         isn't used.
14767         * tests/check/gst/gstevent.c: (event_probe):
14768         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14769
14770 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14771
14772         * gst/gstutils.h:
14773         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14774         the type' case. (Closes: #335195 for now). In the future, when we
14775         depend on GLib 2.10, we could also intern the type name using
14776         g_intern_static_string()
14777
14778 2006-03-20  Wim Taymans  <wim@fluendo.com>
14779
14780         * gst/gstbin.c: (gst_bin_handle_message_func),
14781         (bin_query_max_init), (bin_query_position_fold),
14782         (bin_query_position_done), (gst_bin_query):
14783         Position query should also take max of all streams.
14784
14785 2006-03-20  Wim Taymans  <wim@fluendo.com>
14786
14787         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14788         (gst_fake_src_finalize):
14789         Fix leaks in fakesrc.
14790
14791         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14792         Fix leaks in the testcase.
14793
14794 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14795
14796         * gst/gst_private.h:
14797           add win32 specific import decoration(__declspec(dllimport)) 
14798           for all extern GstDebugCategory * variables
14799         * win32/common/libgstbase.def:
14800         * win32/common/libgstcontroller.def:
14801         * win32/common/libgstreamer.def:
14802           Add some exports, remove empty lines
14803         * win32/common/libgstdataprotocol.def:
14804         * win32/common/libgstdataprotocol.dsp:
14805         * win32/common/libgstnet.def:
14806         * win32/common/libgstnet.dsp:
14807           new project files and exportation files added
14808         
14809 2006-03-19  Wim Taymans  <wim@fluendo.com>
14810
14811         * tests/check/libs/basesrc.c: (eos_event_counter):
14812         Use proper return value for probe.
14813
14814 2006-03-17  Wim Taymans  <wim@fluendo.com>
14815
14816         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14817         (gst_pad_push):
14818         Don't leak buffers, caps and pads on negotiation errors.
14819
14820 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14821
14822         * docs/faq/cvs.xml:
14823         * docs/faq/dependencies.xml:
14824         * docs/faq/developing.xml:
14825         * docs/faq/faq.xml:
14826         * docs/faq/general.xml:
14827         * docs/faq/getting.xml:
14828         * docs/faq/legal.xml:
14829         * docs/faq/troubleshooting.xml:
14830         * docs/faq/using.xml:
14831         Faq review and update.
14832
14833 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14834
14835         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14836         (gst_pad_push):
14837         Don't pound the cpu to pieces by checking get_caps when accept_caps
14838         is called with the same caps as the pad already has.
14839         Use GST_DEBUG_OBJECT when outputting caps change information.
14840
14841 2006-03-15  Wim Taymans  <wim@fluendo.com>
14842
14843         * gst/gstclock.c: (gst_clock_class_init):
14844         Fix docs.
14845
14846 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14847
14848         * gst/gstbuffer.h:
14849         Documentation fix.
14850
14851         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14852         (gst_pad_accept_caps), (gst_pad_configure_sink),
14853         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14854         Make the default acceptcaps behaviour be to check the requested 
14855         caps against the gst_pad_get_caps output. 
14856
14857         Ensure that gst_pad_accept_caps is used to check caps when a pad
14858         doesn't have a setcaps function, so that pads automatically refuse 
14859         caps that they don't allow in their pad template. (Fixes #332986)
14860
14861         When a buffer with attached caps is pushed, ensure that the source 
14862         pad receives those caps even if the element didn't call
14863         gst_pad_set_caps first.
14864
14865 2006-03-15  Wim Taymans  <wim@fluendo.com>
14866
14867         * libs/gst/base/gstadapter.c:
14868         Add some docs.
14869
14870 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14871
14872         * win32/common/libgstbase.def:
14873         * win32/common/libgstcontroller.def:
14874         * win32/common/libgstreamer.def:
14875           Add a whole bunch of missing functions (#334434).
14876
14877 2006-03-14  Wim Taymans  <wim@fluendo.com>
14878
14879         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14880         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14881         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14882         Better debug info when we receive a segment event.
14883         Reorganize a bit so we can pass the get_times() results around.
14884         Use the segment format when calculating the running time.
14885         Don't do QoS is sync is disabled or we have no clock or the
14886         element does not want us to sync to the clock.
14887         Don't drop buffers if QoS is disabled for now.
14888
14889 2006-03-14  Wim Taymans  <wim@fluendo.com>
14890
14891         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14892         Marked the stats property as unimplemented so people don't get
14893         wild ideas.
14894         Add debug message when regression goes wrong.
14895         Added some more docs.
14896
14897 2006-03-14  Wim Taymans  <wim@fluendo.com>
14898
14899         * gst/gstsegment.c: (gst_segment_to_stream_time):
14900         Return correct return type in case of errors.
14901
14902 2006-03-14  Wim Taymans  <wim@fluendo.com>
14903
14904         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14905           Don't segfault on invalid formats.
14906
14907 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14908
14909         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14910           Can't use gst_segment_to_running_time() when the segment
14911           is not in GST_TIME_FORMAT (like with filesink, for example).
14912           Stops flac encoding pipelines from spewing critical warnings
14913           at EOS (#331248).
14914           
14915 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14916
14917         * gst/gstpipeline.c: (gst_pipeline_class_init):
14918           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14919
14920         * plugins/elements/gsttypefindelement.c:
14921         (gst_type_find_element_handle_event):
14922           Don't try to typefind empty streams.
14923
14924 2006-03-14  Wim Taymans  <wim@fluendo.com>
14925
14926         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14927         (gst_base_sink_do_qos):
14928         Separate QoS calculation.
14929         Only drop buffers when lateness is bigger than the 
14930         duration of the buffer.
14931
14932 2006-03-13  Wim Taymans  <wim@fluendo.com>
14933
14934         * gst/gstpipeline.c: (gst_pipeline_set_property),
14935         (gst_pipeline_get_property), (do_pipeline_seek),
14936         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14937         (gst_pipeline_get_delay):
14938         Don't deadlock when reading properties.
14939
14940 2006-03-13  Wim Taymans  <wim@fluendo.com>
14941
14942         * libs/gst/base/gstbasetransform.c:
14943         (gst_base_transform_class_init), (gst_base_transform_init),
14944         (gst_base_transform_sink_event),
14945         (gst_base_transform_sink_eventfunc),
14946         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14947         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14948         (gst_base_transform_set_property),
14949         (gst_base_transform_get_property),
14950         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14951         (gst_base_transform_set_qos_enabled),
14952         (gst_base_transform_is_qos_enabled):
14953         * libs/gst/base/gstbasetransform.h:
14954         Make basetransform virtual method for src events too.
14955         Handle QOS in basetransform.
14956         API: gst_base_transform_update_qos()
14957         API: gst_base_transform_set_qos_enabled()
14958         API: gst_base_transform_is_qos_enabled()
14959
14960 2006-03-13  Wim Taymans  <wim@fluendo.com>
14961
14962         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14963         (gst_base_sink_do_sync):
14964         Small cleanups.
14965         Use QOS debug category.
14966
14967 2006-03-13  Wim Taymans  <wim@fluendo.com>
14968
14969         * plugins/elements/gstqueue.c:
14970         Very small doc update.
14971
14972 2006-03-13  Wim Taymans  <wim@fluendo.com>
14973
14974         * gst/gst_private.h:
14975         * gst/gstinfo.c: (_gst_debug_init):
14976         Added QOS debug category
14977
14978 2006-03-13  Wim Taymans  <wim@fluendo.com>
14979
14980         * docs/gst/gstreamer-sections.txt:
14981         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14982         * gst/gstbin.h:
14983         * gst/gstbus.c: (gst_bus_class_init):
14984         * gst/gstbus.h:
14985         * gst/gstclock.c:
14986         * gst/gstelement.c: (gst_element_set_locked_state):
14987         * gst/gstsegment.c:
14988         Documentation updates.
14989
14990         * gst/gstpipeline.c: (gst_pipeline_get_type),
14991         (gst_pipeline_class_init), (gst_pipeline_init),
14992         (gst_pipeline_dispose), (gst_pipeline_set_property),
14993         (gst_pipeline_get_property), (do_pipeline_seek),
14994         (gst_pipeline_send_event), (gst_pipeline_change_state),
14995         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14996         (gst_pipeline_get_delay):
14997         * gst/gstpipeline.h:
14998         Added methods for setting the delay.
14999         API: gst_pipeline_set_delay()
15000         API: gst_pipeline_get_delay()
15001         Add pipeline debug category
15002         Various cleanups.
15003         Updated docs.
15004         Don't reset stream time when seek failed.
15005
15006 2006-03-13  Wim Taymans  <wim@fluendo.com>
15007
15008         * docs/design/draft-klass.txt:
15009         * docs/design/part-clocks.txt:
15010         * docs/design/part-events.txt:
15011         * docs/design/part-gstbin.txt:
15012         * docs/design/part-gstpipeline.txt:
15013         * docs/design/part-messages.txt:
15014         * docs/design/part-negotiation.txt:
15015         * docs/design/part-overview.txt:
15016         * docs/design/part-preroll.txt:
15017         * docs/design/part-seeking.txt:
15018         * docs/design/part-states.txt:
15019         * docs/design/part-streams.txt:
15020         Documentation updates.
15021
15022 2006-03-12  Julien MOUTTE  <julien@moutte.net>
15023
15024         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
15025         us to leak strings...
15026
15027 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15028
15029         * libs/gst/net/gstnettimeprovider.c:
15030           fix docs
15031         * win32/common/config.h:
15032           update
15033
15034 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
15035
15036         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
15037
15038         * configure.ac:
15039           Don't check for libgnomeui (leftover from old examples
15040           that aren't built or disted any longer) (#334303).
15041           
15042 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
15043
15044         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
15045         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15046           Emit RESOURCE_NO_SPACE_LEFT error here as well when
15047           there's no space left on the device.
15048
15049 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
15050
15051         * gst/gstclock.h:
15052           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
15053           to cast the input to GstClockTime before comparing with
15054           another GstClockTime value.
15055
15056 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15057
15058         * configure.ac:
15059           back to trunk
15060
15061 === release 0.10.4 ===
15062
15063 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
15064
15065         * configure.ac:
15066           releasing 0.10.4, "Light"
15067
15068 2006-03-10  Michael Smith  <msmith@fluendo.com>
15069
15070         * libs/gst/dataprotocol/dataprotocol.c:
15071           Fix docs for dataprocotol to not get the return types completely
15072           wrong for a few functions.
15073
15074 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15075
15076         * docs/gst/gstreamer-sections.txt:
15077         * gst/gstpipeline.c: (gst_pipeline_class_init),
15078         (gst_pipeline_init), (gst_pipeline_set_property),
15079         (gst_pipeline_get_property), (gst_pipeline_change_state),
15080         (gst_pipeline_set_auto_flush_bus),
15081         (gst_pipeline_get_auto_flush_bus):
15082         * gst/gstpipeline.h:
15083           Add new API: gst_pipeline_set_auto_flush_bus() and
15084           gst_pipeline_get_auto_flush_bus() to disable automatic
15085           flushing of the pipeline's GstBus when going from READY
15086           to NULL state (#332045).
15087
15088 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15089
15090         * docs/gst/gstreamer-sections.txt:
15091         * gst/gsturi.c: (gst_uri_has_protocol):
15092         * gst/gsturi.h:
15093            Add new API: gst_uri_has_protocol() (#333779).
15094
15095 2006-03-09  Wim Taymans  <wim@fluendo.com>
15096
15097         * gst/gstclock.c: (gst_clock_entry_new),
15098         (gst_clock_id_compare_func), (gst_clock_id_wait),
15099         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
15100         (gst_clock_init), (gst_clock_get_internal_time),
15101         (gst_clock_set_master), (do_linear_regression),
15102         (gst_clock_add_observation), (gst_clock_set_property):
15103         * gst/gstclock.h:
15104         Review docs.
15105         Small cleanups.
15106         Fix a possible segfault when the window-size is made smaller.
15107         Calculate jitter before performing the clock wait. Ideally
15108         the clock implementation should calculate jitter but we need
15109         API breakage for that.
15110
15111         * gst/gstsystemclock.c: (gst_system_clock_init):
15112         Docs review.
15113         
15114         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15115         Remove leftover else
15116
15117         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
15118         (gst_systemclock_suite):
15119         Added check to test GST_CLOCK_DIFF.
15120
15121 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15122
15123         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
15124         (gst_type_find_helper_get_range):
15125           If we are provided with the size, we should implement
15126           GstTypeFind::get_length, so that typefind functions who
15127           want to can actually peek at the middle of a file.
15128
15129 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
15130
15131         * docs/manual/advanced-dataaccess.xml:
15132           Add some very very basic error checking.
15133
15134         * docs/pwg/appendix-checklist.xml:
15135           Some updates to the list of things to check when writing an element.
15136
15137 2006-03-08  Wim Taymans  <wim@fluendo.com>
15138
15139         * docs/design/part-element-transform.txt:
15140         Added some docs about the design of tranform elements.
15141
15142         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15143         (gst_base_src_loop), (gst_base_src_change_state):
15144         Mark buffers with the DISCONT flag.
15145
15146 2006-03-08  Michael Smith  <msmith@fluendo.com>
15147
15148         * gst/gstregistry.h:
15149         * gst/gstregistryxml.c: (gst_registry_save),
15150         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
15151         (gst_registry_xml_save_pad_template),
15152         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15153         (gst_registry_xml_write_cache):
15154           Rewrite registry-saving to avoid race conditions and check for
15155           failed writes.
15156
15157 2006-03-08  Wim Taymans  <wim@fluendo.com>
15158
15159         * libs/gst/base/gstbasetransform.c:
15160         (gst_base_transform_transform_caps),
15161         (gst_base_transform_transform_size),
15162         (gst_base_transform_prepare_output_buffer),
15163         (gst_base_transform_get_unit_size),
15164         (gst_base_transform_buffer_alloc),
15165         (gst_base_transform_handle_buffer),
15166         (gst_base_transform_change_state):
15167         Cleanups, separate normal flow from errors, add sensible
15168         DEBUG lines.
15169         Don't try to renegotiate when allocating an output buffer.
15170         Also copy DISCONT buffer flag when copying a buffer.
15171         Reset the transform after we finish streaming, not during.
15172
15173 2006-03-08  Wim Taymans  <wim@fluendo.com>
15174
15175         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15176         Use last buffer timestamp in qos message.
15177
15178 2006-03-07  Wim Taymans  <wim@fluendo.com>
15179
15180         Patch by: Christophe Fergeau
15181
15182         * docs/pwg/advanced-tagging.xml:
15183         * docs/pwg/building-pads.xml:
15184           fixes #333416
15185
15186 2006-03-07  Wim Taymans  <wim@fluendo.com>
15187
15188         * docs/libs/gstreamer-libs-sections.txt:
15189         Added basesink new methods.
15190
15191         * gst/gstevent.c:
15192         * gst/gstevent.h:
15193         Docs updates. Flesh out the QoS docs.
15194
15195         * libs/gst/base/gstadapter.c:
15196         Small doc clarification about ownership and flushing.
15197
15198         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15199         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15200         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15201         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15202         * libs/gst/base/gstbasesink.h:
15203         API additions: 
15204         Added new methods to allow subclass to control max-lateness 
15205         and sync.
15206         Generate very basic QoS events based on last sync observation.
15207         Updated docs, fix typo, added some QoS blurb.
15208
15209         * libs/gst/base/gstbasesrc.c:
15210         Remove obsolete _get_state() calls from docs.
15211
15212 2006-03-07  Wim Taymans  <wim@fluendo.com>
15213
15214         * docs/libs/gstreamer-libs-sections.txt:
15215         * libs/gst/base/gstbasetransform.h:
15216         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15217         Fix docs for GstBaseSrc.
15218
15219 2006-03-07  Wim Taymans  <wim@fluendo.com>
15220
15221         * docs/gst/gstreamer-sections.txt:
15222         * gst/gstbuffer.h:
15223         * gst/gstvalue.c:
15224         * libs/gst/base/gstbasetransform.h:
15225         Small documentation fixes.
15226
15227 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15228
15229         * gst/gstvalue.c:
15230           Document thread-unsafety of gst_value_register_foo_func()
15231           when used at the same time as gst_value_foo() (#322628).
15232
15233 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15234
15235         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15236         (gst_push_src_check_get_range):
15237           Push sources don't support pull mode by default.
15238
15239 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15240
15241         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15242         (gst_base_src_init), (gst_base_src_pad_check_get_range),
15243         (gst_base_src_default_check_get_range):
15244         * libs/gst/base/gstbasesrc.h:
15245           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15246           provide default implementation, and rename
15247           gst_base_src_check_get_range() to
15248           gst_base_src_pad_check_get_range() for clarity.
15249
15250 2006-03-06  Wim Taymans  <wim@fluendo.com>
15251
15252         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15253         Make property overridable.
15254
15255 2006-03-06  Wim Taymans  <wim@fluendo.com>
15256
15257         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15258         (gst_base_sink_init), (gst_base_sink_set_property),
15259         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15260         * libs/gst/base/gstbasesink.h:
15261         API addition: Make max-lateness a property.
15262
15263 2006-03-06  Wim Taymans  <wim@fluendo.com>
15264
15265         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15266         (gst_base_sink_do_sync), (gst_base_sink_render_object):
15267         Don't ever draw a frame that is >10ms late.
15268
15269 2006-03-06  Michael Smith  <msmith@fluendo.com>
15270
15271         * gst/gstmessage.c: (_gst_message_copy):
15272           When copying a message, set the parent_refcount of the enclosed
15273           structure to point at the copy, not the original message.
15274
15275 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15276
15277         Patch by: Christophe Fergeau
15278
15279         * gst/gstutils.h:
15280           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15281           usable in c++ code (#333417)
15282
15283 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15284
15285         * gst/gstclock.h:
15286           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15287
15288 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
15289
15290         * libs/gst/base/gstbasetransform.c:
15291         (gst_base_transform_transform_caps):
15292           Make sure caps are writable before passing them to
15293           gst_caps_append().
15294
15295 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15296
15297         * gst/gsterror.h:
15298           Fix some minor docs errors.
15299
15300 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15301
15302           Patch by: Ross Burton <ross at burtonini dot com>
15303
15304         * gst/gsterror.c: (_gst_resource_errors_init):
15305         * gst/gsterror.h:
15306           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15307
15308 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15309
15310         * gst/gst.c:
15311         Add a check and output a g_warning when GStreamer is built
15312         against GLib 2.6 but running against 2.8 or higher, and vice 
15313         versa. (Closes: #323542)
15314
15315 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15316
15317         * gst/parse/parse.l:
15318           Commit patch for parse_launch syntax from #331255. Removes 
15319           support for quoted strings and mimetypes when writing filtered 
15320           caps. See the bug report for more details - I'm pretty sure this
15321           obscure feature is not in use by _anyone_ anywhere.
15322
15323           With this simple change, the size of the gstreamer.so here 
15324           drops from 2193KB to 1565KB.
15325
15326 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15327
15328         * plugins/elements/gsttypefindelement.h:
15329         * plugins/elements/gsttypefindelement.c:
15330         (gst_type_find_element_src_event), (start_typefinding),
15331         (stop_typefinding), (gst_type_find_element_handle_event),
15332         (gst_type_find_element_chain),
15333         (gst_type_find_element_chain_do_typefinding):
15334           Use gst_type_find_helper_for_buffer() for chain-based
15335           typefinding.
15336
15337 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15338
15339         * plugins/elements/gsttypefindelement.c:
15340         (gst_type_find_element_class_init),
15341         (gst_type_find_element_set_property),
15342         (gst_type_find_element_get_property):
15343           Deprecate "maximum" property (not only was it only taken into
15344           account for typefinding in push-mode anyway, it also was never
15345           actually possible to set it in the first place because the
15346           property was registered with the numeric property ID for the
15347           "minimum" property). Register "maximum" property correctly,
15348           for the sake of future copy'n'pasters. Remove some cruft
15349           from property get/set functions.
15350
15351 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15352
15353         * plugins/elements/gsttypefindelement.c:
15354         (gst_type_find_element_activate):
15355           Use gst_type_find_helper_get_range() here, so we
15356           can honour the "minimum" property and also emit
15357           the signal with the correct probability of the found caps.
15358
15359 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
15360
15361         * docs/libs/gstreamer-libs-sections.txt:
15362         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15363         (helper_find_suggest), (gst_type_find_helper_get_range),
15364         (gst_type_find_helper):
15365         * libs/gst/base/gsttypefindhelper.h:
15366           New API: gst_type_find_helper_get_range() (#333042).
15367
15368 2006-03-02  Michael Smith  <msmith@fluendo.com>
15369
15370         * gst/gstregistryxml.c: (load_feature):
15371           Asserting on a failure to read part of the registry is Not Cool.
15372           Just log a warning and return NULL (which is already handled)
15373
15374 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
15375
15376         * win32/common/libgstbase.def:
15377           added export of gst_type_find_helper_for_buffer
15378         * win32/common/libgstbase.def:
15379           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15380           gst_ghost_pad_get_target
15381
15382 2006-02-28  Wim Taymans  <wim@fluendo.com>
15383
15384         * docs/design/draft-klass.txt:
15385         We use Filter now.
15386         Added Connector to mark elements that are only used to
15387         allow pipeline connections.
15388         Moved Debug to extra feature since most of them are 
15389         functionally something else.
15390
15391 2006-02-28  Wim Taymans  <wim@fluendo.com>
15392
15393         * docs/design/draft-klass.txt:
15394         Some updates and clarifications.
15395
15396 2006-02-28  Wim Taymans  <wim@fluendo.com>
15397
15398         * docs/design/draft-klass.txt:
15399         Proposal for klass field values.
15400
15401         * docs/design/part-streams.txt:
15402         Start of a doc describing stream anatomy.
15403
15404 2006-02-28  Wim Taymans  <wim@fluendo.com>
15405
15406         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15407         Help the compiler a bit with type registration.
15408         Use existing forward cod path instead of duplicating it when 
15409         handling a message.
15410         
15411         * gst/gstbus.c: (gst_bus_get_type):
15412         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15413         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15414         * gst/gstclock.c: (gst_clock_get_type):
15415         * gst/gstelement.c: (gst_element_get_type),
15416         * gst/gstelementfactory.c: (gst_element_factory_get_type):
15417         * gst/gstindexfactory.c: (gst_index_factory_get_type):
15418         * gst/gstminiobject.c: (gst_mini_object_get_type):
15419         * gst/gstpad.c: (gst_pad_get_type):
15420         * gst/gstsegment.c: (gst_segment_get_type):
15421         * gst/gststructure.c: (gst_structure_get_type):
15422         * gst/gstsystemclock.c: (gst_system_clock_get_type):
15423         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15424         * gst/gstvalue.c:
15425         Help compiler with type registration.
15426
15427         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15428         Small doc update.
15429
15430 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15431
15432         * plugins/elements/gsttypefindelement.c:
15433         (gst_type_find_element_handle_event):
15434           When we get an EOS event and have not found a type yet
15435           (most likely because we had not yet accumulated
15436           TYPE_FIND_MIN_SIZE of data yet), try to determine the
15437           type given the data we have so far. Fixes typefinding
15438           for very short streams again, most notably quicktime
15439           redirections as used on Apple's trailer site (#331701).
15440
15441 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15442
15443         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15444         (gst_type_find_helper):
15445           Try typefinding factories with the highest rank first.
15446
15447 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15448
15449         * docs/libs/gstreamer-libs-docs.sgml:
15450         * docs/libs/gstreamer-libs-sections.txt:
15451         * libs/gst/base/gsttypefindhelper.c:
15452           Add section for typefind helper and add documentation
15453           for the old and the new function.
15454
15455 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15456
15457         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15458         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15459         (gst_type_find_helper_for_buffer):
15460         * libs/gst/base/gsttypefindhelper.h:
15461           New API: gst_type_find_helper_for_buffer() (#332723).
15462           
15463 2006-02-27  Michael Smith  <msmith@fluendo.com>
15464
15465         Patch by: Loïc Minier
15466
15467         * configure.ac:
15468         * docs/Makefile.am:
15469         * docs/slides/Makefile.am:
15470           prevent CVS directories getting disted.
15471
15472 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15473
15474         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15475           Use the REFCOUNTING category for caps refcounting.
15476           
15477 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15478
15479         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15480           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15481
15482 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15483
15484         * plugins/elements/gsttypefindelement.c:
15485         (gst_type_find_element_activate):
15486           Use gst_pad_check_pull_range() before _activate_pull()
15487           to avoid unnecessary open/close (see #331690).
15488
15489 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15490
15491         * gst/gstutils.c:
15492           Docs enhancement: make it crystal clear what the
15493           gst_pad_add_*_probe() callbacks should look like.
15494
15495 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15496
15497         * libs/gst/base/gstbasesrc.c:
15498           Document how applications can stop recording from
15499           live sources (see #330996).
15500
15501 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15502
15503         * tests/check/Makefile.am:
15504         * tests/check/libs/basesrc.c: (eos_event_counter),
15505         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15506         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15507         (gst_basesrc_suite), (main):
15508           ... and add some tests for the base source EOS stuff.
15509
15510 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15511
15512         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15513           Test case originally showed the problem fixed below,
15514           but was then amended. Add checks back at the place
15515           where they used to be.
15516
15517 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15518
15519         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15520         (gst_base_src_init), (gst_base_src_loop),
15521         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15522         (gst_base_src_change_state):
15523         * libs/gst/base/gstbasesrc.h:
15524           Don't unconditionally send EOS when going from PAUSED to
15525           READY state, esp. make sure we don't send two EOS events
15526           in some cases (e.g. one when reaching EOS and one when
15527           going from PAUSED to READY). Also, we don't want to send
15528           EOS events when operating in pull mode. However, we do
15529           want to send an EOS event when shutting down a live
15530           source explicitly, for example (fixes #330996).
15531           
15532 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15533
15534         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15535           Update src->read_position after a seek when not using mmap.
15536           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15537
15538 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15539
15540         * gst/Makefile.am:
15541         * gst/gstparse.h:
15542         * gst/gstutils.c:
15543         * gst/gstutils.h:
15544         Make things work with --disable-parse as they do with 
15545         --disable-load-save - the symbols involved disappear, but the
15546         header is still installed and GST_DISABLE_PARSE is included via
15547         gstconfig.h
15548
15549 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15550
15551         * libs/gst/base/gstbasetransform.c:
15552         (gst_base_transform_change_state): Fix a stupid bug. I was 
15553         sure I compiled that.
15554
15555 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15556
15557         * gst/gstpad.c: (gst_pad_set_blocked_async):
15558         * gst/gstutils.c: (gst_pad_add_data_probe),
15559         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15560         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15561         (gst_pad_remove_buffer_probe): Make those function act on the
15562         ghostpad target when it's a ghostpad. (Closes #331727)
15563
15564 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15565
15566         * libs/gst/base/gstbasetransform.c:
15567         (gst_base_transform_change_state): Make basetransform reusable.
15568         (Closes #331898)
15569
15570 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15571
15572         * docs/random/release:
15573         Move the current documentation of how to do a release to the top
15574         of the file.
15575
15576         * gst/gstbin.c: (gst_bin_class_init),
15577         (gst_bin_handle_message_func):
15578         Allow multiple state-recalculation threads. (Closes #328873)
15579
15580 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15581
15582         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15583         * gst/gstpad.c: (gst_pad_set_event_function),
15584         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15585         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15586         2 strings. You can't use the STR_NULL macro on that.
15587
15588 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15589
15590         * gst/gstpad.c: (gst_pad_set_event_function),
15591         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15592         (gst_pad_set_getcaps_function)
15593         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15594           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15595           So now, we can use --gst-debug-level=5 on Windows
15596         * win32/common/libgstcontroller.def:
15597           Added export of gst_controller_init
15598         * win32/vs6/libgstcontroller.dsp:
15599           Fixed Release post build configuration
15600
15601 2006-02-17  Wim Taymans  <wim@fluendo.com>
15602
15603         * tests/check/gst/gstquery.c: (GST_START_TEST):
15604         Added another check.
15605
15606 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15607
15608         * plugins/elements/gsttypefindelement.c: (find_peek):
15609           We can do peeks at non-zero offsets, as long as they
15610           fall within the buffer we have.
15611
15612 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15613
15614         * tests/check/Makefile.am:
15615         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15616         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15617         (parse_suite), (main):
15618           Add testsuite for parse launch syntax
15619
15620 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15621
15622         * plugins/elements/gsttypefindelement.c:
15623         (gst_type_find_element_chain):
15624           When typefinding is unsuccessful in the chain function, don't
15625           error out immediately. Only error out with NO_CAPS_FOUND if
15626           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15627           otherwise simply wait for more data so we can try typefinding
15628           again with more data later. Also, don't attempt to typefind
15629           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15630           this should improve typefinding from network sources where the
15631           size of the first buffer can be somewhat random.
15632
15633 2006-02-14  Wim Taymans  <wim@fluendo.com>
15634
15635         * docs/gst/gstreamer-sections.txt:
15636         * gst/gstpadtemplate.c:
15637         * gst/gstpadtemplate.h:
15638         Fix padtemplate docs, fixes #328805.
15639
15640 2006-02-14  Wim Taymans  <wim@fluendo.com>
15641
15642         * tools/gst-launch.c: (main):
15643         NO_PREROLL is not an ERROR so don't send confusing messages
15644         to the user.
15645
15646 2006-02-14  Wim Taymans  <wim@fluendo.com>
15647
15648         Patch by: Torsten Schoenfeld
15649
15650         * gst/gstregistry.c: (gst_registry_get_default),
15651         (_gst_registry_cleanup):
15652         Protect default registry with lock and ref/sink it.
15653         Fixes #324818
15654
15655 2006-02-14  Wim Taymans  <wim@fluendo.com>
15656
15657         * gst/gstbuffer.c:
15658         * gst/gstquery.c: (gst_query_list_add_format),
15659         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15660         (gst_query_parse_formats_nth):
15661         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15662         Docs fixes.
15663
15664 2006-02-14  Wim Taymans  <wim@fluendo.com>
15665
15666         * docs/gst/gstreamer-sections.txt:
15667         Reworked query docs.
15668
15669         * gst/gstquery.c: (gst_query_new_formats),
15670         (gst_query_list_add_format), (gst_query_set_formats),
15671         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15672         (gst_query_parse_formats_nth):
15673         * gst/gstquery.h:
15674         Flesh out formats query, added some new methods.
15675         Fix part of #324398.
15676
15677         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15678         Added query creation tests.
15679
15680 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15681
15682         * gst/gstpad.c: (fixate_value):
15683         Add a default fixation for fraction lists.
15684
15685 2006-02-13  Wim Taymans  <wim@fluendo.com>
15686
15687         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15688         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15689         (gst_task_join):
15690         * gst/gsttask.h:
15691         Detect and warn for obvious deadlocks. fixes #320340
15692         Fix error case where lock was not released.
15693
15694         * tests/check/Makefile.am:
15695         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15696         (task_func), (gst_element_suite), (main):
15697         Add task check.
15698
15699 2006-02-13  Wim Taymans  <wim@fluendo.com>
15700
15701         * docs/gst/gstreamer-sections.txt:
15702         * gst/gstbus.c:
15703         Add new functions to docs.
15704
15705 2006-02-13  Wim Taymans  <wim@fluendo.com>
15706
15707         * docs/design/part-TODO.txt:
15708         Updated TODO list, basesrc supports seeking to non-bytes
15709         formats.
15710
15711         * docs/design/part-element-sink.txt:
15712         Update docs.
15713
15714         * gst/gstbin.c: (bin_replace_message),
15715         (gst_bin_handle_message_func):
15716         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15717         * gst/gstevent.c: (gst_event_finalize):
15718         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15719         (gst_pad_send_event):
15720         Use shiny new _TYPE_NAME macros.
15721
15722         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15723         Move debug statement up.
15724
15725         * gst/gstelement.c: (gst_element_set_locked_state):
15726         Add some debugging.
15727
15728 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15729
15730         * docs/gst/gstreamer-sections.txt:
15731         * gst/gstmessage.h:
15732         * gst/gstquery.h:
15733           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15734           macros (#330906). Also, document the already existing
15735           GST_QUERY_TYPE macro.
15736
15737 2006-02-13  Wim Taymans  <wim@fluendo.com>
15738
15739         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15740         (event_probe), (GST_START_TEST):
15741         Only events up to the pipeline EOS are counted, there are
15742         some more when going to NULL currently which we don't care
15743         about for now.
15744
15745 2006-02-13  Wim Taymans  <wim@fluendo.com>
15746
15747         * gst/gstpad.c: (gst_pad_send_event):
15748         Correctly check flushing and emit probes. fixes #330125
15749
15750 2006-02-10  Andy Wingo  <wingo@pobox.com>
15751
15752         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15753         structure.
15754         (gst_bus_init): Cache the location of the private data in the
15755         instance structure.
15756         (gst_bus_enable_sync_message_emission) 
15757         (gst_bus_disable_sync_message_emission): Implement new public
15758         functions.
15759         (gst_bus_post): Emit the sync-message signal if the user asked for
15760         it. Fixes #330684.
15761
15762         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15763         location of the bus-private structure.
15764         (gst_bus_enable_sync_message_emission)
15765         (gst_bus_disable_sync_message_emission): API addition
15766
15767 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15768
15769         Patch by: Vincent Torri
15770
15771         * docs/pwg/building-boiler.xml:
15772         PWG patch from #326800
15773
15774 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15775
15776         * configure.ac:
15777         * docs/Makefile.am:
15778         * docs/design/Makefile.am:
15779           Dist design docs.
15780
15781 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15782
15783         * configure.ac:
15784           back to CVS
15785
15786 === release 0.10.3 ===
15787
15788 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15789
15790         * configure.ac:
15791           releasing 0.10.3, "Like a virgin"
15792
15793 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15794
15795         * configure.ac:
15796           2nd prerelease of 0.10.3
15797           Bump libtool versioning.
15798
15799 2006-02-07  Andy Wingo  <wingo@pobox.com>
15800
15801         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15802         update last_stop if we're in TIME format and the timestamp is
15803         valid.
15804
15805         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15806         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15807         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15808         If we get a new newsegment with a different format, adapt
15809         accordingly.
15810
15811         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15812         of 0. Not a problem, really.
15813
15814         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15815         warn if sync=true.
15816
15817 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15818
15819         * configure.ac:
15820           Prelease of 0.10.3
15821
15822 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15823
15824         * win32/vs7:
15825           project files updated to the default vs7 configuration
15826         * win32/common/libgstbase.def:
15827         * win32/common/libgstreamer.def:
15828           added new symbols,
15829           removed empty lines,
15830           sorted all exported symbols alphabetically
15831         * win32/common/dirent.c:
15832         * win32/common/dirent.h:
15833         * win32/common/gchar.h:
15834           use windows line end.
15835           
15836 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15837
15838         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15839           Send EOS event when stopping.
15840
15841 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15842
15843         * docs/README:
15844           Tell folks what to do if the plugin-foobar.xml file
15845           hasn't been generated for a newly-added plugin.
15846
15847 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15848
15849         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15850         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15851         (gst_collect_pads_start), (gst_collect_pads_stop),
15852         (gst_collect_pads_event): Collectpads now holds a reference
15853         to the GstPad that was added. Indeed we don't want to look
15854         at pads that might just go away with no warning...
15855
15856 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15857
15858         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15859         (gst_collect_pads_start), (gst_collect_pads_stop),
15860         (gst_collect_pads_event), (gst_collect_pads_chain):
15861         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15862         Mark Nauwelaerts's patch on bug #328491.
15863
15864 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15865
15866         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15867         (gst_utils_suite):
15868           Add some simple tests for gst_parse_bin_from_description() and
15869           gst_bin_find_unconnected_pad() (#329069).
15870
15871 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15872
15873         * tools/gst-launch.c: (event_loop), (main):
15874           Catch errors during preroll (#320084).
15875
15876 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15877
15878         * plugins/elements/gsttypefindelement.c:
15879         (gst_type_find_element_activate):
15880           Post TYPE_NOT_FOUND error message when typefinding
15881           is unsuccessful in the activate function as well.
15882
15883 2006-02-02  Wim Taymans  <wim@fluendo.com>
15884
15885         * docs/design/part-element-sink.txt:
15886         Updated doc.
15887
15888 2006-02-02  Wim Taymans  <wim@fluendo.com>
15889
15890         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15891         (gst_base_sink_render_object),
15892         (gst_base_sink_queue_object_unlocked):
15893         Only keep track of prerollable items when we are 
15894         prerolling.
15895         Before rendering after preroll, always check if we
15896         have queued items.
15897         Added some more debugging.
15898
15899 2006-02-02  Wim Taymans  <wim@fluendo.com>
15900
15901         * gst/gstelement.c: (gst_element_continue_state),
15902         (gst_element_set_state_func), (gst_element_change_state):
15903         Fixed #326576, been running this for quite some time with
15904         no regressions at all.
15905
15906 2006-02-02  Wim Taymans  <wim@fluendo.com>
15907
15908         * common/gst.supp:
15909         Added more suppressions
15910
15911 2006-02-02  Wim Taymans  <wim@fluendo.com>
15912
15913         * docs/design/part-element-sink.txt:
15914         Updated document.
15915
15916         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15917         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15918         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15919         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15920         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15921         (gst_base_sink_preroll_object),
15922         (gst_base_sink_queue_object_unlocked),
15923         (gst_base_sink_queue_object), (gst_base_sink_event),
15924         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15925         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15926         (gst_base_sink_get_position), (gst_base_sink_change_state):
15927         * libs/gst/base/gstbasesink.h:
15928         Totally refactored matching the design doc.
15929         Use two segments, one to clip incomming buffers and another to
15930         perform sync.
15931         Handle queueing correctly, bypass the queue when playing.
15932         Make EOS cancelable.
15933         Handle errors correctly when operating in pull based mode.
15934
15935         * tests/check/elements/fakesink.c: (GST_START_TEST),
15936         (fakesink_suite):
15937         Added new check for sinks.
15938
15939 2006-02-02  Wim Taymans  <wim@fluendo.com>
15940
15941         * gst/gstsegment.c: (gst_segment_clip):
15942         No reason to refuse to clip when start == -1
15943
15944 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15945
15946         * docs/README:
15947         * docs/manual/intro-basics.xml:
15948         * docs/manual/intro-preface.xml:
15949         * docs/manual/manual.xml:
15950         * docs/pwg/advanced-dparams.xml:
15951         * docs/pwg/intro-basics.xml:
15952         * docs/pwg/intro-preface.xml:
15953         * docs/pwg/pwg.xml:
15954           describe dparams (controller) for plugins
15955           unify docs a little more
15956
15957 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15958
15959         * docs/gst/gstreamer-sections.txt:
15960         * gst/gstutils.c: (element_find_unconnected_pad),
15961         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15962         * gst/gstutils.h:
15963           Add new API: gst_parse_bin_from_description() and
15964           gst_bin_find_unconnected_pad() (#329069).
15965
15966 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15967
15968         * docs/manual/README:
15969           uncover a nasty detail of the docs build
15970
15971 2006-01-31  Wim Taymans  <wim@fluendo.com>
15972
15973         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15974         Don't cache duration messages if we're not going to use or
15975         free them.
15976
15977 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15978
15979         * docs/manual/advanced-dparams.xml:
15980         * docs/pwg/advanced-dparams.xml:
15981           more dparam docs
15982         * gst/gstindex.c:
15983           fix docs
15984         * libs/gst/controller/lib.c: (gst_controller_init):
15985           init just once
15986
15987 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15988
15989         * gst/gstelement.c: (gst_element_message_full):
15990           also show file/line/func if no additional debug was given
15991
15992 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15993         
15994         * win32/vs7/grammar.vcproj:
15995           activate copy of autogenerated files for Release mode
15996
15997 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15998         
15999         * win32/common/libgstreamer.def:
16000           export gst_value_compare
16001
16002 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
16003
16004         * plugins/elements/Makefile.am:
16005         * plugins/elements/gstelements.c:
16006         * plugins/elements/gstfdsink.c: (_do_init),
16007         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
16008         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
16009         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
16010         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
16011         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
16012         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
16013         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
16014         * plugins/elements/gstfdsink.h:
16015         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
16016
16017 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
16018
16019         * docs/manual/advanced-dparams.xml:
16020           describe controller
16021         * docs/manual/advanced-position.xml:
16022         * docs/manual/basics-init.xml:
16023         * docs/manual/manual.xml:
16024         * docs/manual/titlepage.xml:
16025         * docs/pwg/pwg.xml:
16026         * docs/pwg/titlepage.xml:
16027           cleanup xml (more to come)
16028         * libs/gst/controller/gstcontroller.c:
16029           fix typo
16030
16031 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
16032         
16033         * win32/vs6/grammar.dsp:
16034           add autogen of gstmarshal.c,h for Release mode
16035                 
16036 2006-01-30  Wim Taymans  <wim@fluendo.com>
16037
16038         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16039         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
16040         (gst_base_sink_handle_object), (gst_base_sink_event),
16041         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
16042         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16043         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
16044         (gst_base_sink_deactivate), (gst_base_sink_activate),
16045         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16046         (gst_base_sink_query), (gst_base_sink_change_state):
16047         Basesink cleanups, remove some old code.
16048         Handle the case where a subclass can preroll in the render
16049         method (mostly audiosinks).
16050         Handle more events.
16051         Remove some locks around variables that are now protected
16052         with the PREROLL_LOCK (clock_id, flushing, ..).
16053         Optimize position query some more, do correct locking.
16054         Remove old code to push queue in state change, this is not
16055         needed anymore since preroll blocks on all prerollable items 
16056         now.
16057         Almost implemented as described in design doc.
16058
16059 2006-01-30  Wim Taymans  <wim@fluendo.com>
16060
16061         * tests/check/gst/gstbin.c: (GST_START_TEST):
16062         Wait for refcount to settle down before checking.
16063
16064 2006-01-30  Wim Taymans  <wim@fluendo.com>
16065
16066         * docs/design/part-element-sink.txt:
16067         Pseudo code overview of desired sink behaviour regarding
16068         preroll.
16069
16070 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16071         * win32/vs6/grammar.dsp:
16072           fix some bugs in Release mode for autogenerated files
16073                 
16074 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16075         * win32/common/libgstbase.def:
16076         * win32/common/libgstreamer.def:
16077           export some new symbols: gst_base_src_set_format,
16078           gst_iterator_next, gst_structure_set_valist
16079
16080 2006-01-29  Julien MOUTTE  <julien@moutte.net>
16081
16082         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
16083         Set pad functions unconditionally. Fixes #329105.
16084
16085 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16086         * win32/vs8:
16087           add vs8 project files created by Sergey Scobich
16088
16089 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
16090
16091         * gst/gstutils.c: (gst_element_unlink_pads):
16092         Don't leak pad references.
16093
16094         * tests/check/elements/fakesink.c: (GST_START_TEST):
16095         * tests/check/generic/sinks.c: (GST_START_TEST):
16096         * tests/check/generic/states.c: (GST_START_TEST):
16097         * tests/check/gst/gstbin.c: (GST_START_TEST):
16098         * tests/check/gst/gstcaps.c: (GST_START_TEST):
16099         * tests/check/gst/gstelement.c: (GST_START_TEST):
16100         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16101         * tests/check/gst/gstiterator.c: (GST_START_TEST):
16102         * tests/check/gst/gstvalue.c: (GST_START_TEST):
16103         Fix a bunch of leaks. Make generic/sinks.c
16104         use a bit less cpu by slowing the buffer rate
16105         between fakesrc and fakesink.
16106         
16107 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
16108         * gst/gstcaps.c:
16109         * gst/gstelement.c: (gst_element_send_event):
16110         * gst/gstevent.c:
16111         * gst/gstinfo.c:
16112         * gst/gstiterator.c:
16113         * gst/gstiterator.h:
16114         * gst/gstpad.c: (gst_pad_send_event):
16115         * gst/gststructure.c:
16116         * gst/gsturi.c:
16117         * gst/gstutils.c:
16118         * gst/gstvalue.c:
16119         * libs/gst/base/gstadapter.c:
16120           doc fixes, to link to function, just write gst_cool_function(), don't
16121           prefix with '#'
16122
16123 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16124
16125         * plugins/elements/gsttee.c: (gst_tee_do_push),
16126         (gst_tee_handle_buffer):
16127         Always prefer an actual return value from a src
16128         pad in place of NOT_LINKED. This means we return
16129         WRONG_STATE when all src pads are WRONG_STATE
16130         instead of NOT_LINKED.
16131
16132         Lock when replacing the last message to prevent
16133         racing with the get_property method.
16134
16135         Add debug output
16136
16137 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16138
16139         * tests/check/Makefile.am:
16140         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
16141         (main):
16142         Add a very simple check that should have caught the memleak I fixed
16143         last night (if not for the slice allocator hiding it)
16144
16145 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16146
16147         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16148         (gst_bin_remove_func), (gst_bin_handle_message_func),
16149         (bin_query_duration_fold), (bin_query_generic_fold):
16150         Clean up references to the clock provider when disposed or when
16151         handling a clock-lost message from it.
16152
16153         Unref sinks when performing a query via gst_iterator_fold, as the
16154         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16155
16156         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16157         (gst_clock_set_master):
16158         Drop our reference to the master clock, if any, when we are disposed.
16159
16160         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16161         Chain up in dispose. 
16162
16163 2006-01-26  Wim Taymans  <wim@fluendo.com>
16164
16165         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16166         Add some debugging.
16167
16168 2006-01-26  Julien MOUTTE  <julien@moutte.net>
16169
16170         * plugins/elements/gsttee.c: (gst_tee_do_push),
16171         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16172         handles pad being NOT_LINKED or in WRONG_STATE.
16173
16174 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16175
16176         * win32/MANIFEST:
16177           more updating
16178
16179 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16180
16181         * win32/MANIFEST:
16182           remove obsolete entry
16183
16184 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16185
16186         * docs/gst/gstreamer-sections.txt:
16187         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16188         (gst_bin_iterate_sources), (gst_bin_send_event):
16189         * gst/gstbin.h:
16190         * gst/gstelement.c: (gst_element_send_event):
16191         * gst/gstevent.c:
16192         * gst/gstpad.c: (gst_pad_send_event):
16193           added code for downstream events, reviewed docs in gstevent.c
16194
16195 2006-01-25  Julien MOUTTE  <julien@moutte.net>
16196
16197         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16198         We only query position using the clock in the playing state.
16199         Query peer in the other cases.
16200         * win32/common/config.h: Updates.
16201
16202 2006-01-24  Wim Taymans  <wim@fluendo.com>
16203
16204         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16205         A clock entry that is scheduled for the exact time of the
16206         clock is still in time.
16207
16208         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16209         (gst_base_sink_do_sync):
16210         Add some more debug info.
16211
16212 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16213
16214         * win32/vs7:
16215           Add new vs7 project files and solution.
16216
16217 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16218
16219         * win32/vs7:
16220           all files removed as they were out-dated.
16221
16222 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16223
16224         * docs/random/release:
16225           update notes
16226         * gst/gstbin.c: (gst_bin_init):
16227         * gst/gstbus.c: (gst_bus_new):
16228         * gst/gstbus.h:
16229         * gst/gstpipeline.c: (gst_pipeline_init):
16230           use gst_bus_new(), improve logging, fix docs
16231         * win32/common/config.h:
16232           update for cvs build
16233
16234 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16235
16236         * autogen.sh:
16237           up required version of automake to 1.7
16238
16239 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
16240
16241         * win32/common/libgstreamer.def:
16242           export gst_buffer_is_metadata_writable
16243
16244 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
16245
16246         * docs/gst/gstreamer-sections.txt:
16247         * gst/gstevent.h:
16248           Add gst_event_replace() (#327001)
16249
16250 2006-01-20  Wim Taymans  <wim@fluendo.com>
16251
16252         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16253         Make it actually compile too..
16254
16255 2006-01-20  Wim Taymans  <wim@fluendo.com>
16256
16257         * gst/gstcaps.c:
16258         Clarify behaviour of _is_equal() when passing NULL parameters.
16259
16260         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16261         (gst_pad_set_caps):
16262         Cleanups. Don't unref NULL caps.
16263         When setting the same caps, protect caps of the pad with
16264         proper lock.
16265         Use full functionality of _is_equal() when comparing caps.
16266
16267 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16268
16269         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16270         Don't loop infinitely if there are no buffers to present. Partially
16271         fixes #327197, but collectpads is just broken for reusing elements
16272         to do multiple encodes atm.
16273
16274 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16275
16276         * tools/gst-inspect.c: (print_element_features):
16277         * tools/gst-xmlinspect.c: (main):
16278         URL_HANDLER is not a plugin feature we can search for in
16279         the registry.
16280
16281 2006-01-19  Edward Hervey  <edward@fluendo.com>
16282
16283         * gst/gstelement.c: (gst_element_pads_activate): 
16284         When activating, do src pads first, then sink pads.
16285         When de-activating, do sink pads first, then src pads.
16286
16287 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16288
16289         * docs/gst/gstreamer-sections.txt:
16290         Add gst_index_add_associationv to the docs
16291
16292 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16293
16294         * gst/gstevent.c:
16295           Fix docs typo
16296
16297         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16298         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16299           Do some refactoring. Doesn't actually change functionality,
16300           but makes landing the DRAIN event easier later.
16301
16302 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
16303
16304         * docs/pwg/advanced-scheduling.xml:
16305           Update from 0.9.x to 0.10 API and make example a bit
16306           clearer.
16307
16308 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16309
16310         * docs/gst/gstreamer-sections.txt:
16311         Add gst_buffer_(is|make)_metadata_writable methods.
16312
16313 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16314
16315         * docs/design/part-sparsestreams.txt:
16316         Update sparse streams doc, hopefully for greater clarity
16317
16318 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
16319
16320         * docs/design/part-events.txt:
16321         Remove mention of FILLER events.
16322         Add DRAIN event.
16323
16324         * docs/design/part-sparsestreams.txt:
16325         Write some things about using NEWSEGMENT to keep sparse streams
16326         flowing.
16327
16328 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16329
16330         * gst/gstbin.c: (gst_bin_dispose):
16331           Guard gst_object_unref call against a NULL object (dispose
16332           can theoretically be called multiple times).
16333           
16334 2006-01-18  Wim Taymans  <wim@fluendo.com>
16335
16336         * gst/gstbin.c: (gst_bin_element_set_state):
16337         * gst/gstclock.c: (gst_clock_id_wait):
16338         Added some more debug info.
16339
16340         * libs/gst/base/gstadapter.c:
16341         Added more docs.
16342
16343         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16344         (gst_base_sink_do_sync), (gst_base_sink_chain):
16345         Added some comments.
16346
16347 2006-01-18  Wim Taymans  <wim@fluendo.com>
16348
16349         * tests/check/Makefile.am:
16350         * tests/check/elements/fakesink.c: (chain_async_buffer),
16351         (chain_async), (chain_async_return), (GST_START_TEST),
16352         (fakesink_suite), (main):
16353         Added fakesink test that checks prerolling and clipping
16354         behaviour.
16355
16356         * tests/check/gst/gstutils.c: (GST_START_TEST):
16357         Make check run faster so that buildbots don't timeout.
16358
16359 2006-01-18  Wim Taymans  <wim@fluendo.com>
16360
16361         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16362         (gst_base_sink_do_sync):
16363         Some cleanups.
16364         When the sink finishes blocking on the preroll buffer, it can
16365         immediatly render it instead of rendering when the next buffer
16366         arrives.
16367
16368 2006-01-18  Wim Taymans  <wim@fluendo.com>
16369
16370         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16371         (gst_base_sink_get_property), (gst_base_sink_do_sync),
16372         (gst_base_sink_chain):
16373         Small cleanups.
16374         GST_ELEMENT_CLOCK and sync are protected with LOCK.
16375         Don't store _last_stop if the buffer is dropped.
16376
16377 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16378
16379         * plugins/elements/gsttypefindelement.c:
16380         (gst_type_find_element_class_init):
16381           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16382           object method handler that sets the caps on the pad and we want
16383           that to happen before we emit the signal (fixes e.g. feeding a
16384           plain text file to decodebin).
16385
16386 2006-01-18  Christian Schaller  <Christian@fluendo.com>
16387
16388         * gst/gstplugin.c: Add MPL and Proprietary as license options
16389
16390 2006-01-18  Andy Wingo  <wingo@pobox.com>
16391
16392         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16393         symbol was exported before, it appears this was just an oversight.
16394         Fixes #168703.
16395         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16396
16397         * gst/gstindex.c (gst_index_add_associationv): Changed int in
16398         prototype to gint. OK since this prototype was not in the header.
16399
16400 2006-01-17  Andy Wingo  <wingo@pobox.com>
16401
16402         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16403         registry while we remove plugins.
16404
16405         * tools/gst-inspect.c (print_element_info): Don't unref the
16406         factory arg, that should be the responsibility of whatever code
16407         received the ref. Fixes a double-free when called from
16408         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16409         (main): Unref the factory if we have one.
16410         (print_element_list): No change -- relies on the
16411         plugin_feature_list_free to free the list of features.
16412
16413 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
16414
16415         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16416         (gst_buffer_make_metadata_writable):
16417         * gst/gstbuffer.h:
16418         * libs/gst/base/gstbasetransform.c:
16419         (gst_base_transform_prepare_output_buf):
16420         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16421         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16422           Replace gst_buffer_(make|is)_metadata_writable patch now
16423           that the release is out.
16424
16425 2006-01-17  Andy Wingo  <wingo@pobox.com>
16426
16427         * gst/gstregistry.c: Reflow design comment. Update so as to speak
16428         in the present tense without reference to versions.
16429
16430         * gst/gstregistry.c (gst_registry_add_plugin)
16431         (gst_registry_remove_plugin, gst_registry_remove_feature)
16432         (gst_registry_find_feature, gst_registry_get_feature_list)
16433         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16434         (gst_registry_lookup, gst_registry_scan_path)
16435         (_gst_registry_remove_cache_plugins)
16436         (gst_registry_get_feature_list_by_plugin): Add argument
16437         validation.
16438
16439 === release 0.10.2 ===
16440
16441 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
16442
16443         * configure.ac:
16444           releasing 0.10.2, "If man is five"
16445
16446 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16447
16448         * gst/gstbuffer.c:
16449         * gst/gstbuffer.h:
16450         * libs/gst/base/gstbasetransform.c:
16451         (gst_base_transform_prepare_output_buf):
16452         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16453         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16454           Back out patch until after the release.
16455
16456 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16457
16458         * gst/gstminiobject.c:
16459           Spelling fix in docs.
16460         * ChangeLog - remove conflict indicator
16461
16462 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16463
16464         Reviewed By: Andy Wingo
16465
16466         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16467         (gst_buffer_make_metadata_writable):
16468         * gst/gstbuffer.h:
16469           Add gst_buffer_(is|make)_metadata_writable as analogues of
16470           gst_buffer_(is|make)_writable.
16471
16472         * libs/gst/base/gstbasetransform.c:
16473         (gst_base_transform_prepare_output_buf):
16474         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16475           Use name gst_buffer_(is|make)_metadata_writable functions.
16476
16477         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16478           Test gst_buffer_(is|make)_metadata_writable
16479         
16480           (Closes: #324162)
16481
16482 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16483
16484         * docs/manual/Makefile.am:
16485           don't do parallel make
16486         * configure.ac:
16487           AC_SUBST HOST_CPU
16488         * win32/common/config.h.in:
16489           add generations for HOST_CPU and GST_MAJORMINOR
16490         * win32/common/config.h:
16491           commit generated result
16492
16493 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16494
16495         * docs/manual/appendix-integration.xml:
16496           Update GNOME integration section to use gst_init_get_option_group()
16497           instead of the old popt stuff (#322911). Also, GNOME applications
16498           should  now use gconf*sink and gconf*src instead of the old gconf
16499           helper lib we had.
16500
16501 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16502
16503
16504         * docs/gst/gstreamer-docs.sgml:
16505         * docs/gst/gstreamer-sections.txt:
16506         * docs/libs/gstreamer-libs-sections.txt:
16507           add new API entries to the docs
16508         * libs/gst/controller/Makefile.am:
16509         * libs/gst/controller/gstcontroller.c:
16510         * libs/gst/controller/gstcontroller.h:
16511         * libs/gst/controller/gstcontrollerprivate.h:
16512         * libs/gst/controller/gsthelper.c:
16513         * libs/gst/controller/gstinterpolation.c:
16514           move private structs to private header
16515         * po/README:
16516           gstreamer-0.7 -> gstreamer-0.10
16517         * tests/check/libs/struct_i386.h:
16518           remove private structs
16519
16520 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16521
16522         * plugins/indexers/Makefile.am:
16523           Fixes as part of #317048
16524
16525 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16526
16527         * plugins/indexers/Makefile.am:
16528           fix #316086 - compilation when mmap is missing
16529
16530 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16531
16532         * libs/gst/base/gstbasesink.c:
16533           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16534           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16535         * win32/common/config.h:
16536           added some defines GST_MAJORMINOR and HOST_CPU
16537         * win32/common/libgstbase.def:
16538         * win32/common/libgstreamer.def:
16539           added some exported functions.
16540
16541 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16542
16543         * libs/gst/controller/gstcontroller.c:
16544         (gst_controlled_property_set_interpolation_mode),
16545         (gst_controlled_property_new):
16546         * libs/gst/controller/gstcontroller.h:
16547         * libs/gst/controller/gstinterpolation.c:
16548         (interpolate_none_get_string_value_array):
16549           make G_TYPE_STRING controlable
16550
16551 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16552
16553         * tools/README:
16554         * tools/gst-feedback.1.in:
16555         * tools/gst-inspect.1.in:
16556         * tools/gst-launch.1.in:
16557         * tools/gst-md5sum.1.in:
16558         * tools/gst-typefind.1.in:
16559         * tools/gst-xmlinspect.1.in:
16560         * tools/gst-xmllaunch.1.in:
16561           cleanup man-pages, remove reference to gst-register, document env-vars
16562
16563 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16564
16565         * gst/gstbuffer.c: (gst_buffer_span):
16566           gst_buffer_span should copy the timestamp of the first buffer
16567           if they were both originally overlapping subbuffers of the 
16568           same parent, using the same logic as the 'slow copy' case.
16569
16570 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16571
16572         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16573           Need to awaken ALL the pads when we pop a buffer, otherwise
16574           collectpads only works when there is 2 input streams.
16575
16576 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16577
16578         * docs/random/ensonic/media-device-daemon.txt:
16579           more ideas (dbus)
16580         * gst/gstbuffer.c:
16581           fix doc example, add clarification
16582         * tools/gst-launch.1.in:
16583           add initial info about GST_PLUGIN_PATH, needs more work
16584
16585 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16586
16587         * docs/manual/basics-bins.xml:
16588         * docs/manual/basics-elements.xml:
16589         * docs/manual/intro-basics.xml:
16590           Some more minor docs additions and updates.
16591
16592 2006-01-11  Wim Taymans  <wim@fluendo.com>
16593
16594         * docs/manual/basics-bins.xml:
16595         * docs/manual/basics-elements.xml:
16596         Some small fixes as pointed out by Ser-ver on IRC.
16597
16598 2006-01-10  Edward Hervey  <edward@fluendo.com>
16599
16600         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16601         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16602         the single-segment mode.
16603
16604 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16605
16606         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16607
16608         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16609         (gst_base_src_perform_seek), (gst_base_src_send_event),
16610         (gst_base_src_set_property), (gst_base_src_get_property),
16611         (gst_base_src_loop), (gst_base_src_start),
16612         (gst_base_src_activate_push):
16613         * libs/gst/base/gstbasesrc.h:
16614           Name (private) union; makes Sun's Forte compiler happy (#324900).
16615
16616 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16617
16618         * README:
16619           gst-register is gone.
16620
16621 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16622
16623         * gst/gstvalue.c: (_gst_value_initialize):
16624           make the G_TYPE_DATE instantiation work if debug is disabled
16625
16626 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16627
16628         * gst/gstmessage.c: (gst_message_parse_tag),
16629         (gst_message_parse_error), (gst_message_parse_warning):
16630           Don't crash when return location for error/warning debug
16631           string is NULL; add fact that return locations can be
16632           NULL to docs where appropriate.
16633
16634 2006-01-05  Wim Taymans  <wim@fluendo.com>
16635
16636         * gst/gstplugin.c: (gst_plugin_load_file):
16637         Replace strdup by g_strdup.
16638
16639 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16640
16641         * docs/pwg/advanced-types.xml:
16642           fix doc borkage
16643
16644 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16645
16646         submitted by: Abel Cheung
16647
16648         * po/LINGUAS:
16649         * po/zh_TW.po:
16650           Added Chinese (traditional) translation
16651
16652 2006-01-04  Wim Taymans  <wim@fluendo.com>
16653
16654         * docs/manual/basics-pads.xml:
16655         * docs/plugins/Makefile.am:
16656         * docs/plugins/gstreamer-plugins-docs.sgml:
16657         * docs/plugins/gstreamer-plugins-sections.txt:
16658         * docs/pwg/advanced-clock.xml:
16659         * docs/pwg/advanced-scheduling.xml:
16660         * docs/pwg/advanced-types.xml:
16661         * plugins/elements/gstfdsink.c:
16662         * plugins/elements/gstfdsrc.c:
16663         * plugins/elements/gstfdsrc.h:
16664         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16665         * plugins/elements/gstidentity.h:
16666         * plugins/elements/gstqueue.h:
16667         * plugins/elements/gsttee.c:
16668         * plugins/elements/gsttee.h:
16669         * plugins/elements/gsttypefindelement.c:
16670         (gst_type_find_element_class_init):
16671         * plugins/elements/gsttypefindelement.h:
16672         Small updates to various docs.
16673         Added core plugins to docs.
16674
16675 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16676
16677         * common/gst.supp:
16678           add a suppression for liboil's uninitialized variable
16679
16680 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16681
16682         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16683
16684         * gst/gstutils.h:
16685           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16686           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16687           compiler switch is being used (#325429).
16688
16689 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16690
16691         * gst/gstbin.c: (gst_bin_query):
16692           Disable duration query caching in bins until it gets
16693           fixed (see #324807).
16694
16695 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16696
16697         * tools/gst-inspect.c: (print_element_properties_info):
16698           Handle properties of POINTER and BOXED type.
16699
16700 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16701
16702         * gst/gst.c: (init_post):
16703           Init tags stuff and some other things before loading
16704           any static plugins (there may be other static plugins
16705           than just the GStreamer ones, and they may want to
16706           register their own tags or formats or whatever, and
16707           preferably without segfaulting).
16708
16709         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16710           Print at least a warning in the debug logs if we drop a
16711           query just because we don't know how to adjust the value
16712           in the particular format.
16713
16714 2005-12-24  David Schleef  <ds@schleef.org>
16715
16716         * tools/gstreamer-completion:
16717           Replacement for gst-complete written in sh and sed.  Only
16718           completes names of features, but that's 90% of what I want
16719           it for.  Properties are not available in registry.xml.  (Maybe
16720           they should be...)
16721
16722 === release 0.10.1 ===
16723
16724 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16725
16726         * configure.ac:
16727           releasing 0.10.1, "Nollaig chridheil"
16728
16729 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16730
16731         * docs/faq/cvs.xml:
16732           Add missing quote, should be make ERROR_CFLAGS="".
16733
16734 2005-12-20  Wim Taymans  <wim@fluendo.com>
16735
16736         * docs/design/part-trickmodes.txt:
16737         More documentation on trickmodes.
16738
16739 2005-12-20  Edward Hervey  <edward@fluendo.com>
16740
16741         * gst/gstcaps.c: (gst_static_caps_get_type):
16742         * gst/gstcaps.h:
16743           API addition: GST_TYPE_STATIC_CAPS
16744         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16745         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16746         * gst/gstpadtemplate.h:
16747           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16748         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16749         bindings.
16750
16751 2005-12-18  Wim Taymans  <wim@fluendo.com>
16752
16753         * libs/gst/base/gstadapter.c:
16754         * libs/gst/base/gstadapter.h:
16755         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16756         (gst_base_sink_get_position):
16757         * libs/gst/base/gstbasesink.h:
16758         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16759         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16760         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16761         (gst_base_src_send_event), (gst_base_src_update_length),
16762         (gst_base_src_get_range), (gst_base_src_loop),
16763         (gst_base_src_start):
16764         * libs/gst/base/gstbasesrc.h:
16765         * libs/gst/base/gstbasetransform.h:
16766         * libs/gst/base/gstcollectpads.h:
16767         * libs/gst/base/gstpushsrc.c:
16768         * libs/gst/base/gstpushsrc.h:
16769         * libs/gst/dataprotocol/dataprotocol.c:
16770         * libs/gst/dataprotocol/dataprotocol.h:
16771         * libs/gst/net/gstnetclientclock.h:
16772         * libs/gst/net/gstnettimeprovider.h:
16773         Documentation updates.
16774
16775 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16776
16777         * docs/manual/basics-helloworld.xml:
16778           Remove superfluous closing bracket in helloworld example.
16779
16780 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16781
16782         * tools/gst-launch.1.in:
16783           Update gst-launch man page; add a section with useful
16784           environment variables. Fixes #323882.
16785
16786 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16787
16788         * gst/gst.c:
16789         * gst/gst_private.h:
16790           change some char* into char[]
16791
16792 2005-12-16  Wim Taymans  <wim@fluendo.com>
16793
16794         * gst/gstregistryxml.c: (load_feature):
16795         Cleanups.
16796         Don't use g_object_unref on GstObjects so that we avoid
16797         leaks on unsafe glibs.
16798
16799 2005-12-16  Wim Taymans  <wim@fluendo.com>
16800
16801         * gst/gstbin.c: (gst_bin_recalc_state):
16802         Small doc updates.
16803
16804 2005-12-16  Wim Taymans  <wim@fluendo.com>
16805
16806         * common/check.mak:
16807         Added make forever target for check.
16808
16809 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16810
16811         * gst/gst.c: (init_post):
16812           make the registry cache file HOST_CPU-dependent
16813
16814 2005-12-16  Andy Wingo  <wingo@pobox.com>
16815
16816         * plugins/elements/gstbufferstore.c
16817         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16818         return value.
16819
16820         * tests/check/gst/gstobject.c
16821         (test_fake_object_name_threaded_unique): Pay attention to
16822         g_list_sort return value.
16823
16824 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16825
16826         * tools/gst-feedback-m.m:
16827           Update for 0.9/0.10 (fixes #323870).
16828
16829 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16830
16831         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16832           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16833           
16834         * tests/check/gst/gstminiobject.c: (my_foo_init),
16835         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16836         (test_value_collection), (gst_mini_object_suite):
16837           Add test to ensure refcounts end up as expected when passing
16838           GstMiniObjects through g_object_get() and g_object_set().
16839
16840 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16841
16842         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16843         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16844         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16845         of collectpads. This version removes a lot of races without
16846         touching API/ABI. Yay !
16847
16848 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16849
16850         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16851           Don't allow activation of a srcpad in pull_range if it has no
16852           getrange function.
16853           Change some debug statements to be a little clearer
16854
16855         * plugins/elements/gsttypefindelement.c:
16856         (gst_type_find_handle_src_query):
16857           Check that we have a peer before executing queries thereupon.
16858
16859         * tests/examples/metadata/read-metadata.c: (message_loop):
16860           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16861           immediately return us any available message with 0 timeout.
16862
16863 2005-12-12  Michael Smith  <msmith@fluendo.com>
16864
16865         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16866           Don't unref factories after calling them.
16867         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16868         * plugins/elements/gsttypefindelement.c:
16869         (gst_type_find_element_chain):
16870           Free lists of factories after using them. Fixing typefinding memory
16871           leaks.
16872
16873 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16874
16875         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16876         (gst_plugin_feature_load):
16877           more meaningful debug output
16878         * configure.ac:
16879         * tests/Makefile.am:
16880         * tests/old/examples/Makefile.am:
16881           make make distcheck happy again
16882
16883 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16884
16885         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16886           Catch the special case where we are operating chain-based,
16887           but the downstream peer pad has no chain function. Emit a
16888           custom error message in this case instead of letting the
16889           core generate one implying that this is some sort of core
16890           bug. It's not, it just means that whatever got plugged
16891           into the pipeline downstream when we announced the type
16892           can only operate pull-based, while our source can only
16893           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16894           Error string has not been marked for translation yet, as
16895           it probably needs some more work first.
16896
16897         (gst_type_find_element_get_best_possibility):
16898           Add helper function to find the best of all available
16899           found possibilities that qualify given the min. threshold.
16900
16901         (gst_type_find_element_handle_event):
16902           Fix the case where we get an EOS while still in TYPEFIND
16903           mode (we want to chose the best of all possible types,
16904           not just the first type that happens to be in our unsorted
16905           list of possible types).
16906
16907         (gst_type_find_element_chain):
16908           Make sure we return GST_FLOW_ERROR when we errored out
16909           in stop_typefinding(); also, don't just find the best of
16910           all found type entries and then use the last examined
16911           type entry, but actually use the best entry.
16912
16913 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16914
16915         * tests/examples/typefind/typefind.c: (type_found):
16916         * tests/examples/xml/runxml.c: (xml_loaded):
16917           More gcc4 fixes and a mem leak fix.
16918
16919 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16920
16921         * tests/examples/xml/createxml.c: (object_saved):
16922           gcc 4 fixes
16923
16924 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16925
16926         * tests/Makefile.am:
16927           enable the examples even more
16928
16929 2005-12-12  Andy Wingo  <wingo@pobox.com>
16930
16931         * libs/gst/net/gstnettimeprovider.c
16932         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16933         (gst_net_time_provider_set_property)
16934         (gst_net_time_provider_get_property):
16935         API addition: Export "active" as a GObject property.
16936         (gst_net_time_provider_thread): Only respond to time queries if
16937         the time provider is active.
16938
16939         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16940         NetTimeProvider, preserving binary compat.
16941
16942 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16943
16944         * tests/examples/controller/audio-example.c: (main):
16945         * tests/examples/launch/Makefile.am:
16946           convert comments again
16947
16948 2005-12-12  Wim Taymans  <wim@fluendo.com>
16949
16950         * libs/gst/base/gstpushsrc.c:
16951         Fix typo.
16952
16953 2005-12-12  Wim Taymans  <wim@fluendo.com>
16954
16955         * docs/libs/gstreamer-libs-sections.txt:
16956         Added new symbol to docs.
16957
16958         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16959         (gst_base_src_init), (gst_base_src_set_format),
16960         (gst_base_src_default_query), (gst_base_src_query),
16961         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16962         (gst_base_src_perform_seek), (gst_base_src_send_event),
16963         (gst_base_src_default_event), (gst_base_src_event_handler),
16964         (gst_base_src_set_property), (gst_base_src_get_property),
16965         (gst_base_src_wait), (gst_base_src_do_sync),
16966         (gst_base_src_update_length), (gst_base_src_get_range),
16967         (gst_base_src_check_get_range), (gst_base_src_loop),
16968         (gst_base_src_default_negotiate), (gst_base_src_start),
16969         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16970         (gst_base_src_change_state):
16971         * libs/gst/base/gstbasesrc.h:
16972         Implement seeking to other formats than _BYTES.
16973         Implement more seeking methods correctly.
16974         Doc updates.
16975         Added query vmethod.
16976         Added do_seek vmethod to make life easier for subclasses
16977         when seeking.
16978         API addition: gst_base_src_set_format()
16979
16980 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16981
16982         * tests/examples/Makefile.am:
16983           added that too
16984
16985 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16986
16987         * configure.ac:
16988         * docs/random/ensonic/media-device-daemon.txt:
16989         * tests/examples/controller/.cvsignore:
16990         * tests/examples/controller/Makefile.am:
16991         * tests/examples/controller/audio-example.c: (main):
16992         * tests/examples/helloworld/.cvsignore:
16993         * tests/examples/helloworld/Makefile.am:
16994         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16995         * tests/examples/launch/.cvsignore:
16996         * tests/examples/launch/Makefile.am:
16997         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16998         * tests/examples/metadata/.cvsignore:
16999         * tests/examples/metadata/Makefile.am:
17000         * tests/examples/metadata/read-metadata.c: (message_loop),
17001         (make_pipeline), (print_tag), (main):
17002         * tests/examples/queue/.cvsignore:
17003         * tests/examples/queue/Makefile.am:
17004         * tests/examples/queue/queue.c: (event_loop), (main):
17005         * tests/examples/typefind/.cvsignore:
17006         * tests/examples/typefind/Makefile.am:
17007         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
17008         (main):
17009         * tests/examples/xml/.cvsignore:
17010         * tests/examples/xml/Makefile.am:
17011         * tests/examples/xml/createxml.c: (object_saved), (main):
17012         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
17013         * tests/old/examples/Makefile.am:
17014         * tests/old/examples/TODO:
17015         * tests/old/examples/controller/.cvsignore:
17016         * tests/old/examples/controller/Makefile.am:
17017         * tests/old/examples/controller/audio-example.c:
17018         * tests/old/examples/helloworld/.cvsignore:
17019         * tests/old/examples/helloworld/Makefile.am:
17020         * tests/old/examples/helloworld/helloworld.c:
17021         * tests/old/examples/launch/.cvsignore:
17022         * tests/old/examples/launch/Makefile.am:
17023         * tests/old/examples/launch/mp3parselaunch.c:
17024         * tests/old/examples/launch/mp3play:
17025         * tests/old/examples/manual/Makefile.am:
17026         * tests/old/examples/metadata/Makefile.am:
17027         * tests/old/examples/metadata/read-metadata.c:
17028         * tests/old/examples/queue/.cvsignore:
17029         * tests/old/examples/queue/Makefile.am:
17030         * tests/old/examples/queue/queue.c:
17031         * tests/old/examples/typefind/.cvsignore:
17032         * tests/old/examples/typefind/Makefile.am:
17033         * tests/old/examples/typefind/typefind.c:
17034         * tests/old/examples/xml/.cvsignore:
17035         * tests/old/examples/xml/Makefile.am:
17036         * tests/old/examples/xml/createxml.c:
17037         * tests/old/examples/xml/runxml.c:
17038           applied some simple fixing to some examples
17039           re-enabled the working examples
17040
17041 2005-12-12  Wim Taymans  <wim@fluendo.com>
17042
17043         * gst/gstsegment.c: (gst_segment_init),
17044         (gst_segment_set_last_stop), (gst_segment_set_seek),
17045         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17046         (gst_segment_to_running_time):
17047         Added more documentation.
17048         Make sure the last_pos value is updated properly.
17049         Make sure to_stream_time and to_running_time don't
17050         operate on wrong values.
17051
17052         * tests/check/gst/gstsegment.c: (GST_START_TEST):
17053         Update check.
17054
17055 2005-12-12  Michael Smith  <msmith@fluendo.com>
17056
17057         * plugins/elements/gsttypefindelement.c: (free_entry),
17058         (gst_type_find_element_chain):
17059           Now that we're not leaking factories, make sure we keep references
17060           to them while we need them.
17061
17062 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17063
17064         * tests/check/gst/struct_i386.h:
17065           ifdef out the XML structs
17066
17067 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17068
17069         * gst/gstvalue.c: (gst_value_transform_double_fraction):
17070           floor is not needed, F is always positive; this obviates the
17071           need for adding -lm when building without libxml
17072
17073 2005-12-12  Wim Taymans  <wim@fluendo.com>
17074
17075         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17076         Take current playback rate into account when reporting
17077         the position.
17078
17079 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17080
17081         * docs/manual/mime-world.fig:
17082           Let's try this again, this time with a file that is
17083           actually in XFig format.
17084
17085 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17086
17087         * docs/manual/mime-world.fig:
17088           Add audioconvert element to diagram so that it
17089           matches the text and the code (fixes #319526).
17090
17091 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17092
17093         * docs/pwg/building-chainfn.xml:
17094         * docs/pwg/building-pads.xml:
17095         * docs/pwg/building-state.xml:
17096         * docs/pwg/other-source.xml:
17097           Update state change stuff for 0.10 (fixes #322969).
17098
17099 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17100
17101         * docs/manual/advanced-dataaccess.xml:
17102         * docs/manual/appendix-checklist.xml:
17103         * docs/manual/appendix-programs.xml:
17104         * docs/manual/basics-pads.xml:
17105         * docs/manual/highlevel-components.xml:
17106         * docs/manual/manual.xml:
17107           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
17108           add converters in front of pipelines; remove curly
17109           brackets for threads stuff, they no longer exist; use
17110           GST_TYPE_FRACTION for framerates; update some pieces of
17111           code to 0.10, but there's plenty more to do.
17112
17113         * docs/manual/appendix-porting.xml:
17114           Expand on asynchroneous state changes; s/0.9/0.10/;
17115           mention disappearance of gst_init_get_popt_table()
17116           (fixes #322916).
17117
17118 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17119
17120         * docs/faq/using.xml:
17121           Spider no longer exists, and neither does gst-launch-ext.
17122           Update examples to use decodebin and playbin and put
17123           converters in front of sinks (fixes #323726).
17124
17125 2005-12-09  Michael Smith  <msmith@fluendo.com>
17126
17127         * plugins/elements/gsttypefindelement.c: (find_peek),
17128         (gst_type_find_element_chain):
17129           Fix leaking element factories in typefinding.
17130           Fix problem where we forgot about a probable type on non-seekable
17131           files, and thus later mis-typefound it.
17132
17133 2005-12-09  Michael Smith  <msmith@fluendo.com>
17134
17135         * common/m4/gst-makecontext.m4:
17136         * common/m4/gst-mcsc.m4:
17137         * configure.ac:
17138         * win32/common/config.h:
17139         * win32/common/config.h.in:
17140           Remove makecontext stuff; not used in 0.10 and causes problems on
17141           HPUX according to bug #322441
17142
17143 2005-12-07  Wim Taymans  <wim@fluendo.com>
17144
17145         * tests/check/Makefile.am:
17146         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
17147         (main):
17148         * tests/check/libs/struct_i386.h:
17149         Added ABI check for libs
17150
17151 2005-12-07  Wim Taymans  <wim@fluendo.com>
17152
17153         * tests/check/Makefile.am:
17154         And add the struct_i386.h to dist.
17155
17156 2005-12-07  Wim Taymans  <wim@fluendo.com>
17157
17158         * tests/check/Makefile.am:
17159         * tests/check/gst/.cvsignore:
17160         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17161         (main):
17162         * tests/check/gst/struct_i386.h:
17163         Added check for ABI compatibility.
17164
17165 2005-12-07  Wim Taymans  <wim@fluendo.com>
17166
17167         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17168         (gst_fake_src_get_times), (gst_fake_src_create):
17169         Fix broken sync option, fixes #323259
17170
17171 2005-12-07  Wim Taymans  <wim@fluendo.com>
17172
17173         * gst/gstbuffer.c:
17174         Small docs update.
17175
17176         * gst/gstcaps.c: (gst_caps_is_equal):
17177         Don't assert on NULL <--> X. Fixes #323260
17178
17179         * gst/gstminiobject.c: (gst_mini_object_replace):
17180         If we're doing atomic operations, we might just as well use
17181         the proper way to get an atomic pointer.
17182
17183         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17184         Clean up debugging.
17185
17186 2005-12-07  Michael Smith  <msmith@fluendo.com>
17187
17188         * gst/parse/grammar.y:
17189           Remove handling of { } for threads.
17190
17191 2005-12-06  David Schleef  <ds@schleef.org>
17192
17193         * libs/gst/base/gstbasetransform.c: speling fix.
17194
17195 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17196
17197         * docs/libs/tmpl/gstdataprotocol.sgml:
17198         * docs/random/omega/testing/gstobject.c:
17199         * gst/gst.c:
17200         * gst/gstclock.c:
17201         * gst/gstelement.c:
17202         * gst/gstelementfactory.c:
17203         * gst/gsterror.c:
17204         * gst/gstevent.c:
17205         * gst/gstghostpad.c:
17206         * gst/gstinfo.c:
17207         * gst/gstpadtemplate.c:
17208         * gst/gstregistryxml.c:
17209         * gst/gsttaglist.c:
17210         * gst/gsttagsetter.c:
17211         * gst/gsttypefind.c:
17212         * gst/gstvalue.c:
17213         * libs/gst/base/gstbasesrc.c:
17214         * libs/gst/net/gstnetclientclock.c:
17215         * libs/gst/net/gstnettimeprovider.c:
17216         * plugins/elements/gstfakesrc.c:
17217         * plugins/elements/gstfdsrc.c:
17218         * plugins/elements/gstfilesrc.c:
17219         * plugins/elements/gstidentity.c:
17220         * plugins/elements/gstqueue.c:
17221         * plugins/elements/gsttypefindelement.c:
17222         * plugins/indexers/gstfileindex.c:
17223         * plugins/indexers/gstmemindex.c:
17224         * tests/check/gst/gsttag.c:
17225         * tests/old/examples/cutter/cutter.c:
17226         * tests/old/examples/mixer/mixer.c:
17227         * tests/old/examples/xml/runxml.c: (main):
17228         * tests/old/testsuite/caps/normalisation.c:
17229         * tests/old/testsuite/debug/global.c:
17230         * tests/old/testsuite/parse/parse1.c:
17231         * tools/gst-xmlinspect.c:
17232         * win32/common/dirent.c:
17233           expand tabs
17234
17235 === release 0.10.0 ===
17236
17237 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17238
17239         * configure.ac:
17240           releasing 0.10.0, "Maroilles"
17241
17242 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17243
17244         submitted by: Funda Wang <fundawang@linux.net.cn>
17245
17246         * po/LINGUAS:
17247         * po/zh_CN.po:
17248           added Chinese (Traditional) translation
17249
17250 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17251
17252         * docs/gst/gstreamer-sections.txt:
17253         * docs/libs/tmpl/gstdataprotocol.sgml:
17254         * docs/random/thomasvs/TODO:
17255         * gst/gstutils.c:
17256         * gst/gstutils.h:
17257           fix docs
17258
17259 2005-12-05  Andy Wingo  <wingo@pobox.com>
17260
17261         patch by: Wim Taymans <wim@fluendo.com>
17262
17263         * libs/gst/base/gstbasetransform.c
17264         (gst_base_transform_prepare_output_buf)
17265         (gst_base_transform_buffer_alloc):
17266         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17267         alloc_buffer_and_set_caps.
17268
17269         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17270         set_caps on the source pad.
17271         (gst_pad_alloc_buffer_and_set_caps): New function, does what
17272         alloc_buffer used to do. Fixes #322874.
17273
17274         * docs/gst/gstreamer-sections.txt: 
17275         * docs/design/part-negotiation.txt: 
17276         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17277         changes.
17278
17279 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17280
17281         patch by: Sebastien Moutte
17282
17283         * win32/MANIFEST:
17284         * win32/common/config.h.in:
17285         * win32/vs6/libgstcontroller.dsp:
17286           win32 build fixes
17287
17288 2005-12-05  Wim Taymans  <wim@fluendo.com>
17289
17290         * gst/gstcaps.c: (gst_caps_is_equal):
17291         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17292         (gst_fake_src_create):
17293         Back out previous code changes, leave doc updates, file bugs 
17294         instead. 
17295
17296 2005-12-05  Wim Taymans  <wim@fluendo.com>
17297
17298         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17299         (gst_fake_src_get_times), (gst_fake_src_create):
17300         * plugins/elements/gstfakesrc.h:
17301         Fix broken sync code.
17302
17303 2005-12-05  Wim Taymans  <wim@fluendo.com>
17304
17305         * gst/gstcaps.c: (gst_caps_is_equal):
17306         Comparing NULL against !NULL yields different caps, not a
17307         failure.
17308
17309 2005-12-05  Wim Taymans  <wim@fluendo.com>
17310
17311         * gst/gstpipeline.c:
17312         Fix small typo in docs.
17313
17314 2005-12-05  Andy Wingo  <wingo@pobox.com>
17315
17316         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
17317
17318         * gst/gst.c (init_post): remove hard-coded 0.9 location for
17319         registries/plugins with a MAJORMINOR one.
17320         (plugin_desc): Rename library from gstcoreleements to
17321         staticelements. Fixes #323222.
17322
17323 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
17324
17325         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17326           Change debug category to 'collectpads' from 'collect_pads'
17327           (fixes #323250).
17328
17329 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17330
17331         patch by: Sebastien Moutte
17332
17333         * libs/gst/controller/gstinterpolation.c:
17334           use convert function for uint64/double
17335         * win32/vs6/libgstcontroller.dsp:
17336           link to GLib
17337
17338 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17339
17340         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17341         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17342         * gst/gstutils.h:
17343         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17344           add tests that seem to show that the guint64/gdouble conversions
17345           are correct.
17346
17347 2005-12-02  Wim Taymans  <wim@fluendo.com>
17348
17349         * gst/gstregistry.c: (gst_registry_add_path):
17350         * gst/gstregistry.h:
17351         * gst/gstregistryxml.c:
17352         Fix docs again.
17353
17354 2005-12-02  Wim Taymans  <wim@fluendo.com>
17355
17356         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17357         (gst_util_uint64_scale_int):
17358         Small cleanup.
17359
17360         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17361         Add debug log line.
17362
17363         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17364         Add FIXME.
17365
17366 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17367
17368         * win32/MANIFEST:
17369         * win32/common/config.h:
17370         * win32/vs6/gstreamer.dsw:
17371         * win32/vs6/libgstcoreelements.dsp:
17372         * win32/vs6/libgstelements.dsp:
17373           renamed core elements plugin
17374
17375 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17376
17377         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17378         (get_candidates):
17379           do piece-wise major/minor comparison so 0.9 < 0.10
17380           also allow .exe extensions for tools
17381
17382 2005-12-02  Michael Smith  <msmith@fluendo.com>
17383
17384         * gst/gst.c:
17385           Escape a % to make gtkdoc happier; bug 322958.
17386
17387 === release 0.9.7 ===
17388
17389 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17390
17391         * configure.ac:
17392           releasing 0.9.7, "My Dog Has No Nose"
17393
17394 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17395
17396         * common/gst-xmlinspect.py:
17397         * configure.ac:
17398         * docs/libs/tmpl/gstdataprotocol.sgml:
17399         * docs/random/release:
17400         * po/af.po:
17401         * po/az.po:
17402         * po/bg.po:
17403         * po/ca.po:
17404         * po/cs.po:
17405         * po/de.po:
17406         * po/en_GB.po:
17407         * po/fr.po:
17408         * po/it.po:
17409         * po/nb.po:
17410         * po/nl.po:
17411         * po/ru.po:
17412         * po/sq.po:
17413         * po/sr.po:
17414         * po/sv.po:
17415         * po/tr.po:
17416         * po/uk.po:
17417         * po/vi.po:
17418         * win32/common/config.h:
17419         * win32/common/config.h.in:
17420         * win32/vs6/gst_inspect.dsp:
17421         * win32/vs6/gst_launch.dsp:
17422         * win32/vs6/libgstbase.dsp:
17423         * win32/vs6/libgstelements.dsp:
17424         * win32/vs6/libgstreamer.dsp:
17425         * win32/vs7/GStreamer.vcproj:
17426         * win32/vs7/gst-inspect.vcproj:
17427         * win32/vs7/gst-launch.vcproj:
17428         * win32/vs7/libgstbase.vcproj:
17429           bump GST_MAJORMINOR to 0.10
17430           reset libtool version
17431
17432 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17433
17434         * po/LINGUAS:
17435         * po/bg.po:
17436           Added Bulgarian translation by (Alexander Shopov)
17437
17438 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17439
17440         * tests/check/gst/gstplugin.c:
17441           fix test
17442
17443 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17444
17445         * common/gst-xmlinspect.py:
17446         * common/gtk-doc-plugins.mak:
17447         * configure.ac:
17448         * docs/Makefile.am:
17449         * docs/gst/Makefile.am:
17450         * docs/gst/gstreamer-docs.sgml:
17451         * docs/gst/gstreamer-sections.txt:
17452         * docs/gst/gstreamer.types:
17453         * docs/gst/gstreamer.types.in:
17454         * docs/plugins/Makefile.am:
17455         * docs/plugins/gstreamer-plugins-docs.sgml:
17456         * docs/plugins/gstreamer-plugins-sections.txt:
17457         * docs/plugins/gstreamer-plugins.types:
17458         * docs/plugins/inspect.stamp:
17459         * docs/plugins/inspect/plugin-coreelements.xml:
17460         * docs/plugins/inspect/plugin-coreindexers.xml:
17461         * docs/plugins/scanobj-build.stamp:
17462         * gstreamer.spec.in:
17463         * plugins/elements/Makefile.am:
17464         * plugins/elements/gstelements.c:
17465         * plugins/elements/gstfakesink.c:
17466         * plugins/elements/gstfakesrc.c:
17467         * plugins/elements/gstfilesink.c:
17468         * plugins/elements/gstfilesrc.c:
17469         * plugins/elements/gstqueue.c:
17470         * plugins/indexers/Makefile.am:
17471         * plugins/indexers/gstindexers.c:
17472           document core plugins in a separate document just like all the
17473           others
17474           rename these plugins to something starting with core
17475
17476 2005-12-01  Andy Wingo  <wingo@pobox.com>
17477
17478         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17479         padding here before, but it missed the commit.
17480
17481 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17482
17483         * libs/gst/controller/gstinterpolation.c:
17484           whitespace prices have crashed, we should feel free to use some now
17485           use gst_guint64_to_gdouble
17486
17487 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17488
17489         * libs/gst/controller/gstcontroller.c:
17490         * libs/gst/controller/gsthelper.c:
17491         * libs/gst/controller/gstinterpolation.c:
17492         * libs/gst/controller/lib.c:
17493           wrap config.h include
17494
17495 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17496
17497         * docs/gst/gstreamer-sections.txt:
17498           update docs
17499
17500 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17501
17502         * plugins/elements/gstelements.c:
17503         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17504         (gst_fd_sink__class_init), (gst_fd_sink__init),
17505         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17506         (gst_fd_sink__get_property):
17507         * plugins/elements/gstfdsink.h:
17508         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17509         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17510         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17511         (gst_fd_src_unlock), (gst_fd_src_set_property),
17512         (gst_fd_src_get_property), (gst_fd_src_create),
17513         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17514         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17515         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17516         (gst_fd_src_uri_handler_init):
17517         * plugins/elements/gstfdsrc.h:
17518         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17519           more anal cleanup
17520
17521 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17522
17523         * docs/gst/Makefile.am:
17524         * docs/gst/gstreamer.types.in:
17525         * gst/Makefile.am:
17526           fix the docs build
17527
17528 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17529
17530         * configure.ac:
17531         * gst/Makefile.am:
17532         * gst/gst.c:
17533         * gst/gstplugin.h:
17534         * gst/gstregistry.h:
17535         * tests/benchmarks/complexity.c:
17536         * tests/benchmarks/mass-elements.c:
17537         * tests/check/Makefile.am:
17538         * tools/Makefile.am:
17539         * tools/gst-inspect.c:
17540         * tools/gst-xmlinspect.c:
17541           various fixes to make
17542           --disable-nls --disable-registry --disable-loadsave
17543           --disable-parse --disable-gst-debug
17544           work and get the core .so down to 360444 bytes after stripping
17545
17546 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17547
17548         * Makefile.am:
17549         * configure.ac:
17550           descend into tests
17551         * docs/random/thomasvs/TODO:
17552         * tests/Makefile.am:
17553         * tests/README:
17554           add a README
17555
17556 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17557
17558         * win32/GStreamer.vcproj:
17559         * win32/MANIFEST:
17560         * win32/Makefile:
17561         * win32/Makefile.inspect:
17562         * win32/Makefile.launch:
17563         * win32/Makefile.register:
17564         * win32/README.txt:
17565         * win32/gst-inspect.vcproj:
17566         * win32/gst-launch.vcproj:
17567         * win32/gst-register.vcproj:
17568         * win32/gstelements.vcproj:
17569         * win32/gstgetbits.def:
17570         * win32/gstgetbits.vcproj:
17571         * win32/gstreamer-dbg.def:
17572         * win32/gstreamer.def:
17573         * win32/libgstbase.def:
17574         * win32/libgstbase.vcproj:
17575         * win32/link_oldruntime.c:
17576         * win32/mman.c:
17577         * win32/mman.h:
17578         * win32/mman.inl:
17579         * win32/msvc71.sln:
17580           move even more stuff, win32/ is nice and clean now
17581
17582 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17583
17584         * libs/gst/control/.cvsignore:
17585         * win32/MANIFEST:
17586         * win32/config.h:
17587         * win32/dirent.c:
17588         * win32/dirent.h:
17589         * win32/gstbytestream.def:
17590         * win32/gstbytestream.vcproj:
17591         * win32/gstconfig.h:
17592         * win32/gstenumtypes.c:
17593         * win32/gstenumtypes.h:
17594         * win32/gstoptimalscheduler.vcproj:
17595         * win32/gstversion.h:
17596         * win32/gtchar.h:
17597         * win32/testsuite/bins.vcproj:
17598         * win32/testsuite/bytestream.vcproj:
17599         * win32/testsuite/caps.vcproj:
17600         * win32/testsuite/cleanup.vcproj:
17601         * win32/testsuite/clock.vcproj:
17602         * win32/testsuite/debug.vcproj:
17603         * win32/testsuite/dlopen.vcproj:
17604         * win32/testsuite/dynparams.vcproj:
17605         * win32/testsuite/elements.vcproj:
17606         * win32/testsuite/ghostpads.vcproj:
17607         * win32/testsuite/indexers.vcproj:
17608         * win32/testsuite/negotiation.vcproj:
17609         * win32/testsuite/parse.vcproj:
17610         * win32/testsuite/plugin.vcproj:
17611         * win32/testsuite/refcounting.vcproj:
17612         * win32/testsuite/schedulers.vcproj:
17613         * win32/testsuite/states.vcproj:
17614         * win32/testsuite/tags.vcproj:
17615         * win32/testsuite/threads.vcproj:
17616           remove old win32 stuff that isn't maintained and should be
17617           reorganized
17618
17619 2005-11-30  Andy Wingo  <wingo@pobox.com>
17620
17621         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17622         loading the gst.interfaces python module bork.
17623
17624         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17625         available since GLib 2.2. Fixes #318031.
17626
17627 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17628
17629         * Makefile.am:
17630         * check/.cvsignore:
17631         * check/Makefile.am:
17632         * check/elements/.cvsignore:
17633         * check/elements/fakesrc.c:
17634         * check/elements/fdsrc.c:
17635         * check/elements/identity.c:
17636         * check/generic/.cvsignore:
17637         * check/generic/states.c:
17638         * check/gst-libs/.cvsignore:
17639         * check/gst-libs/controller.c:
17640         * check/gst-libs/gdp.c:
17641         * check/gst/.cvsignore:
17642         * check/gst/capslist.h:
17643         * check/gst/gst.c:
17644         * check/gst/gstbin.c:
17645         * check/gst/gstbuffer.c:
17646         * check/gst/gstbus.c:
17647         * check/gst/gstcaps.c:
17648         * check/gst/gstelement.c:
17649         * check/gst/gstevent.c:
17650         * check/gst/gstghostpad.c:
17651         * check/gst/gstiterator.c:
17652         * check/gst/gstmessage.c:
17653         * check/gst/gstminiobject.c:
17654         * check/gst/gstobject.c:
17655         * check/gst/gstpad.c:
17656         * check/gst/gstpipeline.c:
17657         * check/gst/gstplugin.c:
17658         * check/gst/gstsegment.c:
17659         * check/gst/gststructure.c:
17660         * check/gst/gstsystemclock.c:
17661         * check/gst/gsttag.c:
17662         * check/gst/gstutils.c:
17663         * check/gst/gstvalue.c:
17664         * check/net/.cvsignore:
17665         * check/net/gstnetclientclock.c:
17666         * check/net/gstnettimeprovider.c:
17667         * check/pipelines/.cvsignore:
17668         * check/pipelines/cleanup.c:
17669         * check/pipelines/simple_launch_lines.c:
17670         * check/pipelines/stress.c:
17671         * check/states/.cvsignore:
17672         * check/states/sinks.c:
17673         * configure.ac:
17674         * examples/Makefile.am:
17675         * examples/appreader/.cvsignore:
17676         * examples/appreader/Makefile.am:
17677         * examples/appreader/appreader.c:
17678         * examples/controller/.cvsignore:
17679         * examples/controller/Makefile.am:
17680         * examples/controller/audio-example.c:
17681         * examples/cutter/.cvsignore:
17682         * examples/cutter/Makefile.am:
17683         * examples/cutter/cutter.c:
17684         * examples/cutter/cutter.h:
17685         * examples/events/Makefile.am:
17686         * examples/events/seek.c:
17687         * examples/helloworld/.cvsignore:
17688         * examples/helloworld/Makefile.am:
17689         * examples/helloworld/helloworld.c:
17690         * examples/helloworld2/.cvsignore:
17691         * examples/helloworld2/Makefile.am:
17692         * examples/helloworld2/helloworld2.c:
17693         * examples/launch/.cvsignore:
17694         * examples/launch/Makefile.am:
17695         * examples/launch/mp3parselaunch.c:
17696         * examples/launch/mp3play:
17697         * examples/manual/.cvsignore:
17698         * examples/manual/Makefile.am:
17699         * examples/manual/extract.pl:
17700         * examples/metadata/Makefile.am:
17701         * examples/metadata/read-metadata.c:
17702         * examples/mixer/.cvsignore:
17703         * examples/mixer/Makefile.am:
17704         * examples/mixer/mixer.c:
17705         * examples/mixer/mixer.h:
17706         * examples/pingpong/.cvsignore:
17707         * examples/pingpong/Makefile.am:
17708         * examples/pingpong/pingpong.c:
17709         * examples/plugins/.cvsignore:
17710         * examples/plugins/Makefile.am:
17711         * examples/plugins/example.c:
17712         * examples/plugins/example.h:
17713         * examples/pwg/.cvsignore:
17714         * examples/pwg/Makefile.am:
17715         * examples/pwg/extract.pl:
17716         * examples/queue/.cvsignore:
17717         * examples/queue/Makefile.am:
17718         * examples/queue/queue.c:
17719         * examples/queue2/.cvsignore:
17720         * examples/queue2/Makefile.am:
17721         * examples/queue2/queue2.c:
17722         * examples/queue3/.cvsignore:
17723         * examples/queue3/Makefile.am:
17724         * examples/queue3/queue3.c:
17725         * examples/queue4/.cvsignore:
17726         * examples/queue4/Makefile.am:
17727         * examples/queue4/queue4.c:
17728         * examples/retag/.cvsignore:
17729         * examples/retag/Makefile.am:
17730         * examples/retag/retag.c:
17731         * examples/retag/transcode.c:
17732         * examples/thread/.cvsignore:
17733         * examples/thread/Makefile.am:
17734         * examples/thread/thread.c:
17735         * examples/typefind/.cvsignore:
17736         * examples/typefind/Makefile.am:
17737         * examples/typefind/typefind.c:
17738         * examples/xml/.cvsignore:
17739         * examples/xml/Makefile.am:
17740         * examples/xml/createxml.c:
17741         * examples/xml/runxml.c:
17742         * tests/Makefile.am:
17743         * tests/check/Makefile.am:
17744         * testsuite/.cvsignore:
17745         * testsuite/Makefile.am:
17746         * testsuite/Rules:
17747         * testsuite/caps/.cvsignore:
17748         * testsuite/caps/Makefile.am:
17749         * testsuite/caps/app_fixate.c:
17750         * testsuite/caps/audioscale.c:
17751         * testsuite/caps/caps.c:
17752         * testsuite/caps/caps.h:
17753         * testsuite/caps/caps_strings:
17754         * testsuite/caps/compatibility.c:
17755         * testsuite/caps/deserialize.c:
17756         * testsuite/caps/enumcaps.c:
17757         * testsuite/caps/eratosthenes.c:
17758         * testsuite/caps/filtercaps.c:
17759         * testsuite/caps/fixed.c:
17760         * testsuite/caps/fraction-convert.c:
17761         * testsuite/caps/fraction-multiply-and-zero.c:
17762         * testsuite/caps/intersect2.c:
17763         * testsuite/caps/intersection.c:
17764         * testsuite/caps/normalisation.c:
17765         * testsuite/caps/random.c:
17766         * testsuite/caps/renegotiate.c:
17767         * testsuite/caps/sets.c:
17768         * testsuite/caps/simplify.c:
17769         * testsuite/caps/string-conversions.c:
17770         * testsuite/caps/structure.c:
17771         * testsuite/caps/subtract.c:
17772         * testsuite/caps/union.c:
17773         * testsuite/debug/.cvsignore:
17774         * testsuite/debug/Makefile.am:
17775         * testsuite/debug/category.c:
17776         * testsuite/debug/commandline.c:
17777         * testsuite/debug/global.c:
17778         * testsuite/debug/output.c:
17779         * testsuite/debug/printf_extension.c:
17780         * testsuite/dlopen/.cvsignore:
17781         * testsuite/dlopen/Makefile.am:
17782         * testsuite/dlopen/dlopen_gst.c:
17783         * testsuite/dlopen/loadgst.c:
17784         * testsuite/elements/.cvsignore:
17785         * testsuite/elements/Makefile.am:
17786         * testsuite/elements/gst-inspect-check.in:
17787         * testsuite/elements/struct_i386.h:
17788         * testsuite/elements/struct_size.c:
17789         * testsuite/indexers/.cvsignore:
17790         * testsuite/indexers/Makefile.am:
17791         * testsuite/indexers/cache1.c:
17792         * testsuite/indexers/indexdump.c:
17793         * testsuite/parse/.cvsignore:
17794         * testsuite/parse/Makefile.am:
17795         * testsuite/parse/parse1.c:
17796         * testsuite/parse/parse2.c:
17797         * testsuite/plugin/.cvsignore:
17798         * testsuite/plugin/Makefile.am:
17799         * testsuite/plugin/README:
17800         * testsuite/plugin/dynamic.c:
17801         * testsuite/plugin/linked.c:
17802         * testsuite/plugin/loading.c:
17803         * testsuite/plugin/registry.c:
17804         * testsuite/plugin/static.c:
17805         * testsuite/plugin/static2.c:
17806         * testsuite/plugin/testplugin.c:
17807         * testsuite/plugin/testplugin2.c:
17808         * testsuite/plugin/testplugin2_s.c:
17809         * testsuite/plugin/testplugin_s.c:
17810         * testsuite/refcounting/.cvsignore:
17811         * testsuite/refcounting/Makefile.am:
17812         * testsuite/refcounting/bin.c:
17813         * testsuite/refcounting/element.c:
17814         * testsuite/refcounting/element_pad.c:
17815         * testsuite/refcounting/mainloop.c:
17816         * testsuite/refcounting/mem.c:
17817         * testsuite/refcounting/mem.h:
17818         * testsuite/refcounting/object.c:
17819         * testsuite/refcounting/pad.c:
17820         * testsuite/refcounting/sched.c:
17821         * testsuite/refcounting/thread.c:
17822         * testsuite/states/.cvsignore:
17823         * testsuite/states/Makefile.am:
17824         * testsuite/states/bin.c:
17825         * testsuite/states/locked.c:
17826         * testsuite/states/parent.c:
17827         * testsuite/threads/.cvsignore:
17828         * testsuite/threads/159566.c:
17829         * testsuite/threads/159852.c:
17830         * testsuite/threads/Makefile.am:
17831         * testsuite/threads/queue.c:
17832         * testsuite/threads/signals.c:
17833         * testsuite/threads/staticrec.c:
17834         * testsuite/threads/thread.c:
17835         * testsuite/threads/threadb.c:
17836         * testsuite/threads/threadc.c:
17837         * testsuite/threads/threadd.c:
17838         * testsuite/threads/threade.c:
17839         * testsuite/threads/threadf.c:
17840         * testsuite/threads/threadg.c:
17841         * testsuite/threads/threadh.c:
17842         * testsuite/threads/threadi.c:
17843           move all of these under tests
17844
17845 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17846
17847         * configure.ac:
17848         * tests/Makefile.am:
17849           fix distcheck
17850
17851 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17852
17853         * docs/gst/gstreamer-sections.txt:
17854         * tests/sched/.cvsignore:
17855         * tests/sched/Makefile.am:
17856         * tests/sched/cases/(fs-fs).xml:
17857         * tests/sched/cases/(fs-i-fs).xml:
17858         * tests/sched/cases/(fs-i-i-fs).xml:
17859         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17860         * tests/sched/dynamic-pipeline.c:
17861         * tests/sched/interrupt1.c:
17862         * tests/sched/interrupt2.c:
17863         * tests/sched/interrupt3.c:
17864         * tests/sched/runtestcases:
17865         * tests/sched/runxml.c:
17866         * tests/sched/sched-stress.c:
17867         * tests/sched/sort.c:
17868         * tests/sched/testcases:
17869         * tests/sched/testcases1.tc:
17870         * tests/seeking/.cvsignore:
17871         * tests/seeking/Makefile.am:
17872         * tests/seeking/seeking1.c:
17873         * tests/threadstate/.cvsignore:
17874         * tests/threadstate/Makefile.am:
17875         * tests/threadstate/test1.c:
17876         * tests/threadstate/test2.c:
17877         * tests/threadstate/threadstate1.c:
17878         * tests/threadstate/threadstate2.c:
17879         * tests/threadstate/threadstate3.c:
17880         * tests/threadstate/threadstate4.c:
17881         * tests/threadstate/threadstate5.c:
17882           remove obsolete tests
17883         * configure.ac:
17884         * tests/bench-complexity.scm:
17885         * tests/bench-mass_elements.scm:
17886         * tests/complexity.c:
17887         * tests/complexity.gnuplot:
17888         * tests/instantiate/.cvsignore:
17889         * tests/instantiate/Makefile.am:
17890         * tests/instantiate/caps.c:
17891         * tests/mass_elements.c:
17892         * tests/network-clock-utils.scm:
17893         * tests/network-clock.scm:
17894         * tests/plot-data:
17895         First pass at cleaning up tests/ dir before moving the rest
17896         Combined with CVS surgery
17897
17898 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17899
17900         * po/POTFILES.in:
17901           queue has moved, update
17902
17903 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17904
17905         * docs/gst/gstreamer-sections.txt:
17906           remove double entries from the docs
17907         * gst/gst_private.h:
17908         * gst/gstinfo.c: (_gst_debug_init):
17909           remove the THREAD debug category
17910         * gst/Makefile.am:
17911         * gst/gstqueue.c:
17912         * gst/gstqueue.h:
17913         * docs/gst/gstreamer.types:
17914         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17915         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17916           completely move queue and fix up debugging categories
17917
17918 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17919
17920         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17921           make initialization portable, using LL is not
17922
17923 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17924
17925         * win32/common/gstconfig.h:
17926           add large padding
17927
17928 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17929
17930         * win32/common/libgstreamer.def:
17931           rename symbols; sort base section
17932
17933 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17934
17935         * gst/gstclock.c: (do_linear_regression):
17936           remove crack non-portable handrolled DEBUG macro
17937
17938 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17939
17940         * docs/random/release:
17941           update notes
17942         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17943         (gst_object_flags_get_type), (register_gst_bin_flags),
17944         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17945         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17946         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17947         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17948         (gst_caps_flags_get_type), (register_gst_clock_return),
17949         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17950         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17951         (gst_clock_flags_get_type), (register_gst_state),
17952         (gst_state_get_type), (register_gst_state_change_return),
17953         (gst_state_change_return_get_type), (register_gst_state_change),
17954         (gst_state_change_get_type), (register_gst_element_flags),
17955         (gst_element_flags_get_type), (register_gst_core_error),
17956         (gst_core_error_get_type), (register_gst_library_error),
17957         (gst_library_error_get_type), (register_gst_resource_error),
17958         (gst_resource_error_get_type), (register_gst_stream_error),
17959         (gst_stream_error_get_type), (register_gst_event_type_flags),
17960         (gst_event_type_flags_get_type), (register_gst_event_type),
17961         (gst_event_type_get_type), (register_gst_seek_type),
17962         (gst_seek_type_get_type), (register_gst_seek_flags),
17963         (gst_seek_flags_get_type), (register_gst_format),
17964         (gst_format_get_type), (register_gst_index_certainty),
17965         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17966         (gst_index_entry_type_get_type),
17967         (register_gst_index_lookup_method),
17968         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17969         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17970         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17971         (gst_index_flags_get_type), (register_gst_debug_level),
17972         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17973         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17974         (gst_iterator_result_get_type), (register_gst_iterator_item),
17975         (gst_iterator_item_get_type), (register_gst_message_type),
17976         (gst_message_type_get_type), (register_gst_mini_object_flags),
17977         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17978         (gst_pad_link_return_get_type), (register_gst_flow_return),
17979         (gst_flow_return_get_type), (register_gst_activate_mode),
17980         (gst_activate_mode_get_type), (register_gst_pad_direction),
17981         (gst_pad_direction_get_type), (register_gst_pad_flags),
17982         (gst_pad_flags_get_type), (register_gst_pad_presence),
17983         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17984         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17985         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17986         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17987         (gst_plugin_flags_get_type), (register_gst_rank),
17988         (gst_rank_get_type), (register_gst_query_type),
17989         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17990         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17991         (gst_tag_flag_get_type), (register_gst_task_state),
17992         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17993         (gst_alloc_trace_flags_get_type),
17994         (register_gst_type_find_probability),
17995         (gst_type_find_probability_get_type), (register_gst_uri_type),
17996         (gst_uri_type_get_type), (register_gst_parse_error),
17997         (gst_parse_error_get_type):
17998         * win32/common/gstenumtypes.h:
17999         * win32/common/gstversion.h:
18000           update visual studio generated files
18001
18002 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18003
18004         * win32/vs6/libgstbase.dsp:
18005         * win32/vs6/libgstelements.dsp:
18006           update project files for new locations
18007
18008 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18009
18010         * Makefile.am:
18011           remove some files
18012         * README:
18013           reinstate and update
18014         * DEVEL:
18015         * REQUIREMENTS:
18016           removed
18017         * LICENSE:
18018         * docs/random/LICENSE:
18019           moved to random
18020
18021 2005-11-30  Edward Hervey  <edward@fluendo.com>
18022
18023         * gst/gsttypefind.c: (gst_type_find_register):
18024         * gst/gsttypefind.h:
18025         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
18026         (gst_type_find_factory_dispose):
18027         * gst/gsttypefindfactory.h:
18028         Fix memory leak in GstTypeFindFactory.
18029
18030 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18031
18032         * gst/gst.c:
18033         * plugins/elements/Makefile.am:
18034         * plugins/elements/gstelements.c:
18035         * plugins/elements/gstqueue.c:
18036           move queue from core to the elements plugin
18037
18038 2005-11-29  Andy Wingo  <wingo@pobox.com>
18039
18040         * libs/gst/base/gstbasetransform.h: 
18041         * libs/gst/base/gstbasesrc.h: 
18042         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
18043
18044         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
18045         of pointers by which to pad very extensible base classes (like the
18046         ones in libs/gst/base).
18047
18048 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18049
18050         * docs/gst/gstreamer-docs.sgml:
18051         * docs/gst/gstreamer-sections.txt:
18052         * docs/libs/gstreamer-libs-docs.sgml:
18053         * docs/libs/gstreamer-libs-sections.txt:
18054           moving documentation from core to lib
18055
18056 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18057
18058         * check/Makefile.am:
18059         * configure.ac:
18060         * docs/gst/Makefile.am:
18061         * gst/Makefile.am:
18062         * gst/base/.cvsignore:
18063         * gst/base/Makefile.am:
18064         * gst/base/README:
18065         * gst/base/gstadapter.c:
18066         * gst/base/gstadapter.h:
18067         * gst/base/gstbasesink.c:
18068         * gst/base/gstbasesink.h:
18069         * gst/base/gstbasesrc.c:
18070         * gst/base/gstbasesrc.h:
18071         * gst/base/gstbasetransform.c:
18072         * gst/base/gstbasetransform.h:
18073         * gst/base/gstcollectpads.c:
18074         * gst/base/gstcollectpads.h:
18075         * gst/base/gstpushsrc.c:
18076         * gst/base/gstpushsrc.h:
18077         * gst/base/gsttypefindhelper.c:
18078         * gst/base/gsttypefindhelper.h:
18079         * gst/check/Makefile.am:
18080         * gst/check/gstcheck.c:
18081         * gst/check/gstcheck.h:
18082         * gst/net/Makefile.am:
18083         * gst/net/gstnet.h:
18084         * gst/net/gstnetclientclock.c:
18085         * gst/net/gstnetclientclock.h:
18086         * gst/net/gstnettimepacket.c:
18087         * gst/net/gstnettimepacket.h:
18088         * gst/net/gstnettimeprovider.c:
18089         * gst/net/gstnettimeprovider.h:
18090         * libs/gst/Makefile.am:
18091         * libs/gst/base/Makefile.am:
18092         * libs/gst/base/gstbasetransform.c:
18093         * libs/gst/check/Makefile.am:
18094         * plugins/elements/Makefile.am:
18095         * po/POTFILES.in:
18096           CVS surgery + support to move base, check, and net out of gst
18097           and into libs/gst
18098
18099 2005-11-29  Andy Wingo  <wingo@pobox.com>
18100
18101         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
18102
18103         * gst/gststructure.h (struct _GstStructure): Only one pointer of
18104         padding.
18105
18106         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
18107
18108         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
18109
18110         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
18111
18112         * gst/gstobject.h: (struct _GstObject): Only one pointer of
18113         padding; reduces object size by about 30%. We don't expect
18114         anything else to go into gstobject.
18115
18116         * gst/gstminiobject.h (struct _GstMiniObject)
18117         (struct _GstMiniObjectClass): Only one pointer of padding; the
18118         payload is only a pointer and two ints anyway. For the class there
18119         are only two methods as well.
18120         
18121         * gst/gstelement.h (struct _GstElementClass): Removed
18122         the state_changed signal callback, it is not used.
18123
18124 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18125
18126         * docs/gst/gstreamer.types:
18127           fix includes, though they are a little dinky
18128
18129 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18130
18131         * check/Makefile.am:
18132           look in the right place for elements, a lot more chance of
18133           success
18134         * gst/Makefile.am:
18135           remove indexers and elements subdirs
18136         * plugins/Makefile.am:
18137           make indexers conditional
18138
18139 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18140
18141         * Makefile.am:
18142         * configure.ac:
18143         * plugins/elements/Makefile.am:
18144         * plugins/elements/gstcapsfilter.c:
18145         * plugins/elements/gstfilesink.c:
18146         * plugins/elements/gstfilesrc.c:
18147         * plugins/elements/gstidentity.c:
18148         * plugins/indexers/Makefile.am:
18149           do CVS surgery and related build fixery to move elements
18150           and indexers in a new gstreamer/plugins directory, out of the
18151           gst/ directory
18152
18153 2005-11-29  Andy Wingo  <wingo@pobox.com>
18154
18155         * check/Makefile.am:
18156         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18157         * pkgconfig/gstreamer-net.pc.in:
18158         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18159         #322257.
18160
18161 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18162
18163         * tools/Makefile.am:
18164         * tools/gst-complete.1.in:
18165         * tools/gst-complete.c:
18166         * tools/gst-compprep.1.in:
18167         * tools/gst-compprep.c:
18168           removing -compprep and -complete
18169
18170 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18171
18172         * gst/gstevent.c: (gst_event_new_new_segment),
18173         (gst_event_parse_new_segment):
18174         * gst/gstevent.h:
18175           fix #320529 - clean up new_segment API and structure.
18176           Let's hope everyone was using the methods, and not the structure.
18177
18178 2005-11-29  Edward Hervey  <edward@fluendo.com>
18179
18180         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18181         (gst_base_sink_event), (gst_base_sink_do_sync),
18182         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18183         Properly handle non GST_FORMAT_TIME segment
18184         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18185         Properly handle non GST_FORMAT_TIME segment
18186         * gst/gstsegment.c:
18187         This function is valid if the accumulator is 0 and the format
18188         is different from the requested format.
18189         
18190 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18191
18192         * docs/gst/gstreamer-sections.txt:
18193         Add gst_query_new_seeking and gst_query_parse_seeking to the
18194         docs.
18195
18196 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18197
18198         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18199           Treat a pad alloc with new caps the same as if we were not
18200           negotiated, in order to allow a changing upstream output
18201           to produce a new format of data.
18202
18203 2005-11-29  Edward Hervey  <edward@fluendo.com>
18204
18205         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18206         (gst_base_transform_event), (gst_base_transform_eventfunc):
18207         The event virtual method is now properly implemented, with a default
18208         handler
18209         Sub classes should call the parent_class event method. They should
18210         return FALSE if they had a problem handling the given event, or don't
18211         want GstBaseTransform to send that even downstream
18212         * gst/elements/gstidentity.c: (gst_identity_class_init),
18213         (gst_identity_init), (gst_identity_event),
18214         (gst_identity_transform_ip), (gst_identity_set_property),
18215         (gst_identity_get_property):
18216         * gst/elements/gstidentity.h:
18217         Added the single-segment boolean property.
18218         If set to TRUE, it will output a single segment of data, starting from
18219         0, will eat up all incoming newsegment, and modify the timestamp of the
18220         buffers accordingly
18221
18222 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
18223
18224         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18225           Don't ref NULL target pad (#322751). Improve docs.
18226
18227 2005-11-29  Michael Smith  <msmith@fluendo.com>
18228
18229         * gst/gstregistryxml.c: (load_plugin):
18230           Don't crash if we failed to load a feature from a plugin. 
18231
18232 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18233
18234         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18235         (GST_START_TEST):
18236           use more check API and less GLib API
18237
18238 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18239
18240         * Makefile.am:
18241           don't run checks if we don't have check
18242         * common/check.mak:
18243           remove the registry when running make torture
18244         * docs/gst/gstreamer-sections.txt:
18245           remove second multiply
18246         * gst/gstqueue.c: (gst_queue_loop):
18247           fix a compile warning when disabling debug
18248
18249 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18250
18251         * gst/gstinfo.h:
18252         Hey! Let's print the pad name if the pointer != NULL instead
18253         of when it == NULL :-)
18254
18255 2005-11-28  Wim Taymans  <wim@fluendo.com>
18256
18257         * check/gst/gstutils.c: (GST_START_TEST):
18258         Updated check, add some scaling accuracy checking code.
18259
18260         * gst/gstutils.c: (gst_util_div128_64),
18261         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18262         (gst_util_uint64_scale_int):
18263         Fix 6 times faster division code. Optimize for common 
18264         1/1 and less common X/1 cases.
18265
18266 2005-11-28  Wim Taymans  <wim@fluendo.com>
18267
18268         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18269         More checks.
18270
18271         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18272         (do_linear_regression), (gst_clock_add_observation):
18273         Cleanups.
18274         Release lock when the clock cannot be slaved.
18275         Catch the case where the regression returned an invalid denominator.
18276
18277         * gst/gstutils.c: (gst_util_div128_64_iterate),
18278         (gst_util_div128_64), (gst_util_uint64_scale_int64),
18279         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18280         Add protentially more performant non-iterative 128/64 divide function
18281         that unfortunatly does not work yet.
18282         Shortcut the trivial 0/X = 0 case.
18283         Remove the warnings on overflow.
18284
18285 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18286
18287         * gst/gstplugin.c: (gst_plugin_register_func):
18288           everything causing a plugin not to load should be at least a WARNING
18289
18290 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
18291
18292         * docs/random/ensonic/dparams.txt:
18293           some TODOs for the next dev cycle
18294         * libs/gst/controller/gstcontroller.c:
18295         (gst_controlled_property_set_interpolation_mode),
18296         (gst_controlled_property_new):
18297         * libs/gst/controller/gstcontroller.h:
18298           use base type to assign acccessor functions
18299
18300 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18301
18302         * check/Makefile.am:
18303         Oops, that should have been top_srcdir
18304
18305 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18306
18307         * check/Makefile.am:
18308         * check/elements/fdsrc.c: (GST_START_TEST):
18309         Use a cmdline define to specify the location of a file to use for
18310         testing, to avoid breaking distcheck.
18311
18312 2005-11-28  Andy Wingo  <wingo@pobox.com>
18313
18314         * gst/gstpad.c (fixate_value): Use array functions for arrays.
18315
18316 2005-11-28  Edward Hervey  <edward@fluendo.com>
18317
18318         * tools/gst-launch.c: (main):
18319         Clarify the output strings, makes it easier to translate.
18320         Fixes #322626
18321
18322 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18323
18324         * gst/Makefile.am:
18325           don't try and build net if we don't even have <sys/socket.h>
18326
18327 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
18328
18329         * check/Makefile.am:
18330         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18331         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18332           Add tests for fdsrc seekability
18333
18334         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18335         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18336         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18337         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18338         * gst/elements/gstfdsrc.h:
18339           fdsrc should not be a 'live' source.
18340           Implement seeking on seekable fd's.
18341
18342         * gst/gstquery.c: (gst_query_new_seeking),
18343         (gst_query_parse_seeking):
18344         * gst/gstquery.h:
18345           Implement SEEKING query functions: 
18346             *_new_seeking and *_parse_seeking
18347
18348 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
18349
18350         * gst/gstelement.c: (gst_element_dispose):
18351           don't loop forever
18352
18353         * gst/gstiterator.c:
18354         * gst/gststructure.c:
18355           doc fixes
18356
18357         * libs/gst/controller/gstcontroller.c:
18358         (gst_controlled_property_set_interpolation_mode):
18359         * libs/gst/controller/gstcontroller.h:
18360         * libs/gst/controller/gstinterpolation.c:
18361         (interpolate_none_get_enum_value_array):
18362           support controlling enums
18363
18364 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18365
18366         * gst/gstvalue.c:
18367           Improve documentation for gst_value_union().
18368
18369         * gst/gstvalue.h:
18370           Change return value for union, intersect and subtract functions
18371           from gint to gboolean.
18372
18373 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18374
18375         * gst/gstvalue.c: (gst_value_serialize_any_list),
18376         (gst_value_transform_any_list_string),
18377         (gst_value_deserialize_list), (gst_value_deserialize_array),
18378         (gst_value_set_int_range), (gst_value_deserialize_int_range),
18379         (gst_value_set_double_range), (gst_value_deserialize_double_range),
18380         (gst_value_set_fraction_range_full),
18381         (gst_value_deserialize_fraction_range),
18382         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18383         (gst_value_deserialize_boolean),
18384         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18385         (gst_value_serialize_float), (gst_value_deserialize_float),
18386         (gst_string_wrap), (gst_value_deserialize_string),
18387         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18388         (gst_value_union_int_range_int_range),
18389         (gst_value_intersect_int_range_int_range),
18390         (gst_value_intersect_double_range_double_range),
18391         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18392         (gst_value_subtract_int_range_int_range),
18393         (gst_value_subtract_double_double_range),
18394         (gst_value_subtract_double_range_double_range),
18395         (gst_value_deserialize_fraction):
18396         * gst/gstvalue.h:
18397           Use gint, gdouble and gchar in our API instead of int, double and
18398           char (and make usage in gstvalue.c more consistent).
18399
18400 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18401
18402         * check/Makefile.am:
18403         * libs/gst/controller/Makefile.am:
18404         * libs/gst/dataprotocol/Makefile.am:
18405           fix up Makefile.am and remove GST_ENABLE_NEW
18406
18407 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18408
18409         * configure.ac:
18410         * gst/Makefile.am:
18411         * gst/base/Makefile.am:
18412         * gst/check/Makefile.am:
18413         * gst/elements/Makefile.am:
18414         * gst/net/Makefile.am:
18415           update LDFLAGS use some more
18416
18417 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18418
18419         * common/m4/gst-doc.m4:
18420           Fixes #312589
18421
18422 2005-11-26  Edward Hervey  <edward@fluendo.com>
18423
18424         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18425         This shouldn't issue a g_warning since it returns NULL if it
18426         couldn't find the plugin, and all functions using this behave
18427         properly on a NULL return. Switching to a GST_WARNING.
18428
18429 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
18430
18431         * gst/gstbin.c: (gst_bin_handle_message_func):
18432         Don't leak clock messages.
18433
18434 2005-11-25  Wim Taymans  <wim@fluendo.com>
18435
18436         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18437         (gst_util_uint64_scale_int):
18438         Optimisations, remove unneeded vars.
18439
18440 2005-11-25  Wim Taymans  <wim@fluendo.com>
18441
18442         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18443         Added more checks for the high precision uint64 cases.
18444
18445         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18446         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18447         Implement high precision (guint64 * guint64) / guint64.
18448
18449 2005-11-24  Wim Taymans  <wim@fluendo.com>
18450
18451         * gst/base/gstbasesrc.c: (gst_base_src_query):
18452         Fix wrong percentage query.
18453
18454         * gst/gstutils.c: (gst_util_uint64_scale),
18455         (gst_util_uint64_scale_int):
18456         Add some more common cases that can be handled 
18457         efficiently to _scale.
18458
18459 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18460
18461         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18462         (gst_mini_object_suite):
18463           don't use check calls from threads; check probably isn't
18464           threadsafe and using a lock to make it threadsafe would
18465           defeat the purpose of this check
18466         * gst/check/gstcheck.c:
18467         * gst/check/gstcheck.h:
18468           use GST_DEBUG some more
18469
18470 2005-11-24  Wim Taymans  <wim@fluendo.com>
18471
18472         * gst/gstutils.c: (gst_util_uint64_scale),
18473         (gst_util_uint64_scale_int):
18474         Chain trivial case to _scale_int.
18475
18476 2005-11-24  Wim Taymans  <wim@fluendo.com>
18477
18478         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18479         Added test for scaling.
18480
18481         * gst/gstclock.h:
18482         Small doc fix.
18483
18484         * gst/gstutils.c: (gst_util_uint64_scale_int):
18485         Implemented high precision scaling code.
18486
18487 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18488
18489         * gst/gstinfo.h:
18490           do not crash on pad==NULL
18491
18492 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18493
18494         Patch by: Stefan Kost
18495
18496         * common/gtk-doc.mak:
18497         * docs/gst/Makefile.am:
18498         * docs/libs/Makefile.am:
18499           Fix distcheck issues for the libraries docs build
18500           Closes #319599.
18501
18502 2005-11-24  Michael Smith <msmith@fluendo.com>
18503
18504         * docs/manual/basics-helloworld.xml:
18505           Fix bug #315027: memory leak in example code in docs.
18506
18507 2005-11-24  Michael Smith <msmith@fluendo.com>
18508
18509         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18510           Unlock the PREROLL_LOCK in a failure case.
18511
18512 2005-11-24  Wim Taymans  <wim@fluendo.com>
18513
18514         * docs/gst/gstreamer-sections.txt:
18515         * gst/base/gstadapter.h:
18516         * gst/base/gstbasesink.h:
18517         * gst/base/gstbasesrc.h:
18518         * gst/base/gstbasetransform.h:
18519         * gst/base/gstpushsrc.h:
18520         * gst/elements/gstfakesink.h:
18521         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18522         * gst/elements/gstfakesrc.h:
18523         * gst/elements/gstfilesink.h:
18524         * gst/elements/gstfilesrc.h:
18525         * gst/gst.c:
18526         * gst/gstbin.c:
18527         * gst/gstbuffer.c: (_gst_buffer_copy):
18528         * gst/gstbus.h:
18529         * gst/gstcaps.c:
18530         * gst/gstchildproxy.c:
18531         * gst/gstclock.c:
18532         * gst/gstelement.c:
18533         * gst/gstelementfactory.c:
18534         * gst/gstelementfactory.h:
18535         * gst/gstevent.c:
18536         * gst/gstghostpad.h:
18537         * gst/gstindex.h:
18538         * gst/gstinterface.h:
18539         * gst/gstminiobject.c:
18540         * gst/gstminiobject.h:
18541         * gst/gstpad.c:
18542         * gst/gstpad.h:
18543         * gst/gstpadtemplate.h:
18544         * gst/gstpipeline.h:
18545         * gst/gstpluginfeature.h:
18546         * gst/gstquery.h:
18547         * gst/gstqueue.h:
18548         * gst/gsttaglist.c:
18549         * gst/gsttaglist.h:
18550         * gst/gsttagsetter.c:
18551         * gst/gsttagsetter.h:
18552         * gst/gsttrace.c:
18553         * gst/gsttrace.h:
18554         * gst/gsttypefind.h:
18555         * gst/gsturi.h:
18556         * gst/gstvalue.c:
18557         * gst/net/gstnetclientclock.c:
18558         * gst/net/gstnetclientclock.h:
18559         * gst/net/gstnettimepacket.c:
18560         * gst/net/gstnettimeprovider.c:
18561         * gst/net/gstnettimeprovider.h:
18562         Doc fixes.
18563
18564 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18565
18566         * configure.ac: back to HEAD
18567
18568 === release 0.9.6 ===
18569
18570 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18571
18572         * configure.ac:
18573           releasing 0.9.6, "Always On Time"
18574
18575 2005-11-23  Wim Taymans  <wim@fluendo.com>
18576
18577         * docs/gst/gstreamer-sections.txt:
18578         * gst/glib-compat.c:
18579         * gst/gsttagsetter.c:
18580         * gst/gstvalue.c:
18581         * gst/net/gstnetclientclock.c:
18582         * gst/net/gstnettimepacket.h:
18583         Doc updates.
18584
18585 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18586
18587         * docs/faq/using.xml:
18588         * docs/libs/tmpl/gstcontrol.sgml:
18589         * docs/manual/advanced-dparams.xml:
18590         * docs/manual/appendix-checklist.xml:
18591         * docs/manual/basics-elements.xml:
18592         * docs/pwg/other-source.xml:
18593         * docs/random/moving-plugins:
18594         * gst/gstpad.c:
18595         * tools/gst-launch.1.in:
18596           remove mentions of sinesrc
18597
18598 2005-11-23  Michael Smith <msmith@fluendo.com>
18599
18600         * docs/gst/gstreamer-sections.txt:
18601           Update for new API and API changes.
18602         * gst/gstobject.h:
18603           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18604         * gst/gstvalue.c:
18605           Documentation typo fix.
18606         * gst/net/gstnettimepacket.c:
18607           Documentation fixes for arguments.
18608
18609 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18610
18611         * gst/gststructure.c: (gst_structure_get_fraction),
18612         (gst_structure_parse_value),
18613         (gst_structure_fixate_field_nearest_fraction):
18614         * gst/gststructure.h:
18615         * gst/gstutils.c: (gst_util_uint64_scale_int):
18616         * gst/gstutils.h:
18617         * scripts/update-funcnames:
18618         API Changes. 
18619         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18620         Make gst_structure_fixate_field_nearest_fraction take a numerator
18621         and denominator argument instead of a GValue
18622         add gst_structure_get_fraction helper function.
18623
18624 2005-11-23  Wim Taymans  <wim@fluendo.com>
18625
18626         * docs/design/part-TODO.txt:
18627         Update TODO.
18628
18629         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18630         * gst/net/gstnetclientclock.h:
18631         Use parent fields for timeout and window_size.
18632
18633 2005-11-23  Andy Wingo  <wingo@pobox.com>
18634
18635         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18636         rate_num/rate_denom change.
18637
18638         * gst/net/gstnetclientclock.c
18639         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18640         OBJECT_LOCK. Don't call add_observation with the lock.
18641
18642         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18643         fraction.
18644         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18645         rate fraction.
18646         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18647         deal with rate as a fraction whose numerator and denominator are
18648         GstClockTime values.
18649         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18650         master; the other fields are protected by the SLAVE_LOCK.
18651         (do_linear_regression): Note that this must be called with the
18652         SLAVE_LOCK.
18653         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18654         OBJECT_LOCK. Call set_calibration instead of touching the
18655         variables directly.
18656         (gst_clock_set_property, gst_clock_get_property): Protect
18657         master/slave parameters with the SLAVE_LOCK.
18658
18659         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18660         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18661         note that all of the instance variables that add_observation and
18662         the set_master functions use are protected by that lock and not
18663         the OBJECT_LOCK.
18664         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18665
18666         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18667         the caller to take the object lock.
18668
18669 2005-11-23  Wim Taymans  <wim@fluendo.com>
18670
18671         * gst/gsterror.c: (_gst_core_errors_init):
18672         * gst/gsterror.h:
18673         Add error for clock stuff.
18674
18675         * gst/gstpipeline.c: (gst_pipeline_change_state),
18676         (gst_pipeline_set_clock):
18677         Post clock error when clock cannot be used in a pipeline.
18678
18679 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18680
18681         * docs/gst/gstreamer-sections.txt:
18682           make two symbols from gstinfo private for the docs
18683         * gst/base/gstcollectpads.h:
18684         * gst/gstutils.c:
18685           fix doc typos, update docs
18686
18687 2005-11-22  Wim Taymans  <wim@fluendo.com>
18688
18689         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18690         (gst_base_sink_wait), (gst_base_sink_do_sync),
18691         (gst_base_sink_handle_event):
18692         * gst/base/gstbasesink.h:
18693         No need to store the clock, the parent element class already
18694         has it.
18695
18696         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18697         Updates for clock_set returning a gboolean
18698
18699         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18700         (gst_clock_id_wait_async), (gst_clock_class_init),
18701         (gst_clock_init), (gst_clock_finalize),
18702         (gst_clock_get_internal_time), (gst_clock_get_time),
18703         (gst_clock_slave_callback), (gst_clock_set_master),
18704         (gst_clock_get_master), (do_linear_regression),
18705         (gst_clock_add_observation), (gst_clock_set_property),
18706         (gst_clock_get_property):
18707         * gst/gstclock.h:
18708         Implement master/slave. When setting a clock as a slave, a
18709         periodic timeout is scheduled to sample master and slave times.
18710         Then the slave clock is recalibrated to match offset and rate
18711         of the master clock.
18712         Update logging a bit.
18713         Add flag so that a clock can state that is cannot be slaved to
18714         another clock.
18715
18716         * gst/gstelement.c: (gst_element_set_clock):
18717         * gst/gstelement.h:
18718         The set clock returns a gboolean for when an element cannot
18719         deal with the selected clock in the pipeline. 
18720
18721         * gst/gstpipeline.c: (gst_pipeline_change_state),
18722         (gst_pipeline_set_clock):
18723         * gst/gstpipeline.h:
18724         Handle the case where the selected clock cannot be set on
18725         the pipeline.
18726
18727         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18728         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18729         (gst_net_client_clock_set_property),
18730         (gst_net_client_clock_get_property),
18731         (gst_net_client_clock_observe_times):
18732         * gst/net/gstnetclientclock.h:
18733         Use regression code in GstClock parent, remove duplicated
18734         functionality.
18735
18736 2005-11-22  Michael Smith <msmith@fluendo.com>
18737
18738         * gst/gstutils.c: (gst_util_clock_time_scale):
18739         * gst/gstutils.h:
18740         * docs/gst/gstreamer-sections.txt:
18741           Rename method to have extra underscore.
18742
18743 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18744
18745         * gst/elements/Makefile.am:
18746         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18747         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18748         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18749         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18750         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18751         * gst/elements/gstfakesrc.h:
18752         * gst/gstqueue.c: (queue_leaky_get_type):
18753           correctly fix GEnumValues so that nick is the short lowercase
18754           dashed tag
18755         * tools/gst-inspect.c: (print_element_properties_info):
18756           also show the nick, since it's useful to use from parse_launch
18757           syntax
18758           Fixes #322139
18759
18760 2005-11-22  Michael Smith <msmith@fluendo.com>
18761
18762         * gst/gstutils.c: (gst_util_clocktime_scale):
18763         * gst/gstutils.h:
18764         * docs/gst/gstreamer-sections.txt:
18765           Add util method for scaling a clocktime by a fraction. Useful 
18766           implementation is left as an exercise for the reader.
18767
18768 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18769
18770         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18771         If needed, allocate storage in the destination value during
18772         collection.
18773
18774 2005-11-22  Edward Hervey  <edward@fluendo.com>
18775
18776         * docs/gst/gstreamer-sections.txt:
18777         * gst/Makefile.am:
18778         * gst/gst.h:
18779         * gst/gsturitype.c:
18780         * gst/gsturitype.h:
18781         * gst/gstutils.c: (gst_util_set_object_arg):
18782         * tools/gst-compprep.c: (main):
18783         * tools/gst-inspect.c: (print_element_properties_info):
18784         Removed GstURI, closes bug #321061
18785
18786 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18787
18788         * check/gst/gststructure.c: (GST_START_TEST):
18789         * gst/gststructure.c: (gst_structure_parse_value):
18790           Oops, broke automatic string type parsing.
18791           Add a test to catch it in future.
18792
18793 2005-11-22  Andy Wingo  <wingo@pobox.com>
18794
18795         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18796         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18797         Actually rename the function implementations. Grr.
18798
18799 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18800
18801         * check/gst/capslist.h:
18802           Comment test cases
18803         * check/gst/gststructure.c: (GST_START_TEST),
18804         (gst_structure_suite):
18805           Test automatic value type detection in gst_structure_from_string.
18806         * gst/gststructure.c: (gst_structure_parse_value):
18807           Add fraction as a type we try and guess automatically in
18808           caps/structure strings.
18809
18810 2005-11-22  Andy Wingo  <wingo@pobox.com>
18811
18812         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18813
18814         * gst/gsttagsetter.h:
18815         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18816         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18817         (gst_tag_setter_add_tag_valist)
18818         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18819         _add_values, _add_valist, and _add_valist_values. Since this is an
18820         interface the function suffixes should be more explicit so
18821         language binding don't end up with element.add_valist ->
18822         gst_tag_setter_add_valist, for example. Fixes #322069.
18823
18824 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18825
18826         * check/gst/gstcaps.c: (GST_START_TEST):
18827           Extend caps string tests to check that a caps to string
18828           conversion is reversible and produces the same caps.
18829
18830         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18831           Output "fraction" as the generic type fraction range, so caps
18832           serialisation and deserialisation works.
18833         * check/gst/capslist.h:
18834         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18835           Support 'MIN' and 'MAX' for deserialising fractions.
18836
18837 2005-11-22  Andy Wingo  <wingo@pobox.com>
18838
18839         * gst/gstevent.h (gst_event_new_new_segment)
18840         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18841         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18842         Renamed from *_newsegment, *_buffersize, *_notarget.
18843
18844         * scripts/update-funcnames: New script, performs the changes
18845         listed above.
18846
18847 2005-11-22  Wim Taymans  <wim@fluendo.com>
18848
18849         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18850         Make sure the GstFlowReturn is returned.
18851
18852         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18853         (gst_bus_add_signal_watch):
18854         * gst/gstbus.h:
18855         add gst_bus_add_signal_watch_full.
18856
18857         * gst/gstplugin.c: (gst_plugin_load_file):
18858         Small style cleanup.
18859
18860 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18861
18862         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18863           Block the fakesrc srcpad when we send an event, to avoid
18864           contention on the stream_lock causing random test failures.
18865
18866 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18867
18868         * check/gst/gstvalue.c: (GST_START_TEST):
18869         * gst/gstvalue.c: (gst_value_fraction_subtract):
18870           Fix subtraction.
18871
18872 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18873
18874         * gst/gst.h:
18875           include "gstchildproxy.h"
18876         * gst/gstchildproxy.h:
18877         * libs/gst/controller/gstcontroller.h:
18878           use G_GNUC_NULL_TERMINATED
18879
18880 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18881
18882         * check/gst/capslist.h:
18883         * check/gst/gstcaps.c: (GST_START_TEST):
18884         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18885         * gst/gststructure.c: (gst_structure_parse_range),
18886         (gst_structure_fixate_field_nearest_fraction):
18887         * gst/gststructure.h:
18888         * gst/gstvalue.c: (gst_value_init_fraction_range),
18889         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18890         (gst_value_collect_fraction_range),
18891         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18892         (gst_value_set_fraction_range_full),
18893         (gst_value_get_fraction_range_min),
18894         (gst_value_get_fraction_range_max),
18895         (gst_value_serialize_fraction_range),
18896         (gst_value_transform_fraction_range_string),
18897         (gst_value_compare_fraction_range),
18898         (gst_value_deserialize_fraction_range),
18899         (gst_value_intersect_fraction_fraction_range),
18900         (gst_value_intersect_fraction_range_fraction_range),
18901         (gst_value_subtract_fraction_fraction_range),
18902         (gst_value_subtract_fraction_range_fraction),
18903         (gst_value_subtract_fraction_range_fraction_range),
18904         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18905         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18906         (gst_value_transform_string_fraction), (_gst_value_initialize):
18907         * gst/gstvalue.h:
18908           Implement fraction ranges and extend GstFraction to support
18909           arithmetic subtraction, as well as deserialization from integer
18910           strings such as "100"
18911           Add a testsuite as for int and double range set operations
18912
18913 2005-11-21  Andy Wingo  <wingo@pobox.com>
18914
18915         * gst/gsttaglist.h: 
18916         * gst/gstcaps.h: 
18917         * gst/gststructure.h: Add glib-compat.h.
18918
18919 2005-11-21  Wim Taymans  <wim@fluendo.com>
18920
18921         * gst/gstbin.c: (gst_bin_change_state_func):
18922         Fix for #321595
18923
18924 2005-11-21  Wim Taymans  <wim@fluendo.com>
18925
18926         * gst/gstsegment.h:
18927         And add a nice define too.
18928
18929 2005-11-21  Wim Taymans  <wim@fluendo.com>
18930
18931         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18932         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18933         (gst_segment_set_duration), (gst_segment_set_last_stop),
18934         (gst_segment_set_seek), (gst_segment_set_newsegment),
18935         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18936         (gst_segment_clip):
18937         * gst/gstsegment.h:
18938         Make binding friendly.
18939
18940 2005-11-21  Andy Wingo  <wingo@pobox.com>
18941
18942         * gst/gsttagsetter.h: 
18943         * gst/gsttaglist.h: 
18944         * gst/gststructure.h: 
18945         * gst/gstcaps.h: 
18946         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18947         #319940.
18948
18949         * gst/gsterror.c (_gst_core_errors_init):
18950         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18951         category.
18952
18953         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18954         (noinst_HEADERS): noinst the -private.
18955
18956 2005-11-21  Michael Smith <msmith@fluendo.com>
18957
18958         * gst/gstplugin.h:
18959         * gst/gstregistry.h:
18960           Remove unimplemented declarations for which we can see no sensible
18961           use.
18962
18963 2005-11-21  Andy Wingo  <wingo@pobox.com>
18964
18965         * gst/gst.h: Include glib-compat.h.
18966
18967         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18968
18969         * gst/glib-compat.c: Include the public and the private header.
18970
18971         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18972
18973         * gst/gstvalue.c: 
18974         * gst/gstpad.c: 
18975         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18976
18977         * check/gst/gstevent.c (create_custom_events): Check that
18978         FLUSH_STOP is serialized.
18979
18980         * check/elements/identity.c (event_func): 
18981         * check/elements/fakesrc.c (event_func): No stream lock, the core
18982         takes it.
18983
18984         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18985         stream lock taking, yay.
18986
18987         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18988         ensure that core takes the stream lock.
18989
18990         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18991         lock name change.
18992
18993         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18994         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18995         it already. For the flush start we do take it though so we get the
18996         right preroll state change messages.
18997
18998         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18999         the stream lock here, the core does it for us.
19000
19001         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
19002         GST_STREAM_GET_LOCK.
19003         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
19004         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
19005         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
19006         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
19007         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
19008         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
19009
19010         * gst/gstpad.c: Update for stream lock name change.
19011
19012         * gst/base/gstbasesink.c: Update for preroll lock name change.
19013
19014 2005-11-21  Wim Taymans  <wim@fluendo.com>
19015
19016         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
19017         (gst_clock_get_master):
19018         * gst/gstclock.h:
19019         * gst/gstsystemclock.c: (gst_system_clock_init):
19020         Convert Clock flags to object flags.
19021         Added methods to manage master/slave clocks.
19022
19023 2005-11-21  Wim Taymans  <wim@fluendo.com>
19024
19025         * check/gst/gstsegment.c: (GST_START_TEST):
19026         * docs/design/part-TODO.txt:
19027         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19028         (gst_base_sink_event), (gst_base_sink_do_sync),
19029         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
19030         (gst_base_sink_query), (gst_base_sink_change_state):
19031         * gst/base/gstbasesink.h:
19032         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19033         (gst_base_src_default_newsegment),
19034         (gst_base_src_configure_segment), (gst_base_src_do_seek),
19035         (gst_base_src_get_range), (gst_base_src_loop),
19036         (gst_base_src_change_state):
19037         * gst/base/gstbasesrc.h:
19038         * gst/base/gstbasetransform.c:
19039         (gst_base_transform_prepare_output_buf),
19040         (gst_base_transform_event), (gst_base_transform_change_state):
19041         * gst/base/gstbasetransform.h:
19042         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
19043         (gst_collect_pads_event):
19044         * gst/base/gstcollectpads.h:
19045         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
19046         (gst_fake_src_create):
19047         * gst/elements/gstfakesrc.h:
19048         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19049         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19050         (gst_segment_set_last_stop), (gst_segment_set_seek),
19051         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
19052         (gst_segment_to_running_time), (gst_segment_clip):
19053         * gst/gstsegment.h:
19054         More segment updates, replace code in plugins with segment
19055         helper functions.
19056
19057 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19058
19059         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
19060         Don't ignore sscanf results
19061
19062 2005-11-21  Andy Wingo  <wingo@pobox.com>
19063
19064         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
19065
19066         * *.h:
19067         * *.c: Ran scripts/update-macros. Oh yes.
19068
19069         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
19070         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
19071         GST_GET_LOCK, etc.
19072
19073         * scripts/update-macros: New script. Run it on your files to
19074         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
19075         well.
19076
19077 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
19078
19079         * docs/gst/Makefile.am:
19080         * docs/gst/gstreamer-docs.sgml:
19081         * docs/gst/gstreamer-sections.txt:
19082         * docs/gst/gstreamer.types:
19083         * gst/gstinfo.h:
19084           more docs fixes, add new api to the docs
19085
19086 2005-11-21  Andy Wingo  <wingo@pobox.com>
19087
19088         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
19089         state_broadcast call.
19090
19091         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
19092
19093 2005-11-21  Julien MOUTTE  <julien@moutte.net>
19094
19095         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
19096         function calls for arrays.
19097
19098 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
19099
19100         * docs/random/ensonic/media-device-daemon.txt:
19101           wild idea, can this be done?
19102         * docs/gst/gstreamer-sections.txt:
19103         * gst/gsterror.h:
19104         * gst/gstfilter.c:
19105         * gst/gstfilter.h:
19106         * gst/gstplugin.h:
19107         * gst/gstpluginfeature.c:
19108         * gst/gsttrace.c:
19109         * gst/gstvalue.c:
19110         * gst/gstvalue.h:
19111           doc fixes and additions
19112
19113 2005-11-21  Andy Wingo  <wingo@pobox.com>
19114
19115         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
19116         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
19117         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
19118         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
19119         private to the basesrc implementation.
19120
19121         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
19122         behalf of event function if necessary. It should no longer be
19123         necessary to take the stream lock in pad's event functions. Fixes
19124         #320299.
19125
19126 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19127         * docs/gst/gstreamer-sections.txt:
19128         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
19129         (gst_structure_fixate_field_nearest_double),
19130         (gst_structure_fixate_field_boolean):
19131         * gst/gststructure.h:
19132         * win32/common/libgstreamer.def:
19133         * win32/gstreamer.def:
19134
19135         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
19136         (#322027)
19137
19138 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19139
19140         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
19141         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
19142         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
19143         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
19144         (gst_fdsrc_uri_handler_init):
19145         * gst/elements/gstfdsrc.h:
19146           Port fd:// URI handler from 0.8 to fdsrc
19147
19148 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19149
19150         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
19151         (gst_value_serialize_fourcc):
19152         * gst/gstvalue.h:
19153           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19154           consistent with our other format defines (#320324).
19155
19156 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19157
19158         * gst/gstvalue.c: (gst_value_is_fixed):
19159           Revert previous commit. Value lists are by definition
19160           not fixed, as they are a list of possible values.
19161
19162 2005-11-21  Andy Wingo  <wingo@pobox.com>
19163
19164         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19165         during the stable series if we need it. Fixes #319178.
19166
19167         * gst/gstevent.c (gst_event_new_filler): Removed.
19168
19169         * check/gst/gstevent.c: Update comment about filler events.
19170
19171 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19172
19173         * gst/gstvalue.c: (gst_value_is_fixed):
19174           Should handle both value arrays and value lists.
19175
19176 2005-11-21  Andy Wingo  <wingo@pobox.com>
19177
19178         patch by: Alessandro Dessina <alessandro nnva org>
19179
19180         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19181         functions to access arrays. Fixes #321962.
19182
19183 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19184
19185         * docs/gst/gstreamer.types:
19186           gst_collectpads_get_type => gst_collect_pads_get_type.
19187           
19188         * gst/base/gstbasetransform.c:
19189           Remove unused SIGNAL_HANDOFF enum.
19190
19191 2005-11-21  Andy Wingo  <wingo@pobox.com>
19192
19193         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19194         the event type (upstream, downstream, serialized). Renamed
19195         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19196         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19197         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19198
19199         * gst/gstevent.c: Update for new CUSTOM event names.
19200
19201         * check/gst/gstevent.c: Update check for new CUSTOM event names.
19202
19203         * gst/gstevent.h:
19204         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19205         bug #319392.
19206
19207 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19208
19209         * docs/gst/gstreamer-sections.txt:
19210         * win32/common/libgstbase.def:
19211         * win32/libgstbase.def:
19212         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19213         (gst_collect_pads_class_init), (gst_collect_pads_init),
19214         (gst_collect_pads_finalize), (gst_collect_pads_new),
19215         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19216         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19217         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19218         (gst_collect_pads_start), (gst_collect_pads_stop),
19219         (gst_collect_pads_peek), (gst_collect_pads_pop),
19220         (gst_collect_pads_available), (gst_collect_pads_read),
19221         (gst_collect_pads_flush), (gst_collect_pads_event),
19222         (gst_collect_pads_chain):
19223         * gst/base/gstcollectpads.h:
19224           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19225           unimplemented functions as unimplemented. Add padding to
19226           GstCollectData. (#320766, #320423)
19227
19228 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19229
19230         * gst/gstmessage.c:
19231           Improve docs for DURATION message (usage of duration parameter)
19232           (#320113)
19233
19234 2005-11-20  Wim Taymans  <wim@fluendo.com>
19235
19236         * check/Makefile.am:
19237         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19238         (main):
19239         * gst/Makefile.am:
19240         * gst/gst.h:
19241         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19242         (gst_segment_set_seek), (gst_segment_set_newsegment),
19243         (gst_segment_to_stream_time), (gst_segment_to_running_time),
19244         (gst_segment_clip):
19245         * gst/gstsegment.h:
19246         Added segment helper structure and methods. Not fully implemented
19247         yet.
19248         Added segment check.
19249
19250 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
19251
19252         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19253           Add a deserialisation test for fractions
19254         * examples/metadata/read-metadata.c: (message_loop),
19255         (make_pipeline), (main):
19256           Fix up metadata reading sample.
19257         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19258           Debug format fix
19259         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19260           Don't try and fixate empty caps
19261         * gst/gst_private.h:
19262           Wrap in G_BEGIN_DECLS/G_END_DECLS
19263         * gst/gstvalue.c: (gst_value_collect_fraction),
19264         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19265         (gst_value_transform_string_fraction),
19266         (gst_value_compare_fraction):
19267           Add some extra guards to ensure that we don't end up 
19268           with an invalid denominator of 0 in a gstfraction and
19269           that fractions always get reduced.
19270
19271 2005-11-20  Wim Taymans  <wim@fluendo.com>
19272
19273         * docs/gst/gstreamer-sections.txt:
19274         * gst/gstbuffer.h:
19275         * gst/gstelement.c:
19276         * gst/gstformat.c:
19277         * gst/gstformat.h:
19278         * gst/gstindex.h:
19279         * gst/gstquery.c:
19280         * gst/gstquery.h:
19281         * gst/gstvalue.c:
19282         Doc fixes.
19283
19284 2005-11-20  Wim Taymans  <wim@fluendo.com>
19285
19286         * docs/design/part-TODO.txt:
19287         * gst/gstcaps.h:
19288         Make a proper enum of the flag.
19289
19290 2005-11-19  Wim Taymans  <wim@fluendo.com>
19291
19292         * docs/design/part-TODO.txt:
19293         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19294         (gst_format_to_quark), (gst_format_register):
19295         * gst/gstformat.h:
19296         * gst/gstquery.c: (_gst_query_initialize),
19297         (gst_query_type_get_name), (gst_query_type_to_quark),
19298         (gst_query_type_register):
19299         * gst/gstquery.h:
19300         Add type to quark and type to string conversions.
19301
19302 2005-11-19  Andy Wingo  <wingo@pobox.com>
19303
19304         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19305         #320097.
19306
19307 2005-11-19  Wim Taymans  <wim@fluendo.com>
19308
19309         * docs/design/part-TODO.txt:
19310         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19311         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19312         (gst_bin_handle_message_func):
19313         * gst/gstbin.h:
19314         Make message handling overridable.
19315
19316 2005-11-19  Andy Wingo  <wingo@pobox.com>
19317
19318         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19319
19320         * gst/gstclock.h:
19321         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19322         be a GstClockTime.
19323         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19324         is a GstClockTime. Fixes #321710.
19325
19326         * gst/gstclock.h (GstClock): Remove offset property. Add
19327         internal_calibration and external_calibration. Fix padding. Pad
19328         also by GstClockTime so we don't run into problems.
19329
19330         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19331         (gst_clock_get_rate_offset): Remove.
19332         (gst_clock_set_time_adjust): Remove. Fixes #321712.
19333
19334         * gst/gstutils.h:
19335         * gst/gstutils.c (g_static_rec_cond_wait)
19336         (g_static_rec_cond_timed_wait): Removed, no longer needed.
19337
19338         * gst/gstbin.c: Remove terrible continue_state prototype.
19339
19340         * gst/gstelement.h (gst_element_continue_state): Make public.
19341
19342         * gst/gstelement.h:
19343         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19344         by continue_state. Fixes #319389.
19345
19346         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19347         Really fixes #168438. However I don't see anywhere where the
19348         filter function is called... stupid GStreamer...
19349         
19350         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19351         don't have a dispose function, so it won't get called when the
19352         object is unreffed, but oh well!
19353
19354         * gst/gstindex.c (gst_index_set_filter_full): New API function,
19355         allows a destroy function to be set so user_data can be freed.
19356         Fixes #168438.
19357         (gst_index_set_filter): Call gst_index_set_filter_full.
19358
19359         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19360
19361         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19362         string should produce an error, given the lack of a way to
19363         represent NULL strings. Fixes #165650.
19364         
19365         * gst/gstvalue.h: 
19366         * gst/gstvalue.c (gst_value_array_append_value) 
19367         (gst_value_array_prepend_value, gst_value_array_get_size) 
19368         (gst_value_array_get_value): New API, copied from
19369         gst_value_list_*, only operates on arrays.
19370         (gst_value_list_append_value, gst_value_list_prepend_value) 
19371         (gst_value_list_concat, gst_value_list_get_size) 
19372         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19373
19374         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19375         init_list, because it works on both.
19376         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19377         (gst_value_copy_list_or_array): Renamed from copy_list.
19378         (gst_value_free_list_or_array): Renamed from free_list.
19379         (gst_value_collect_list_or_array): Renamed from collect_list.
19380         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19381         (gst_value_list_or_array_peek_pointer): Renamed from
19382         list_peek_pointer.
19383         (_gst_value_array_value_table, _gst_value_list_value_table):
19384         Update value table functions.
19385         (gst_value_compare_list_or_array): Renamed from compare_list.
19386
19387         * gsttaglist.h: Whoops, foreach function returns void. Also fix
19388         some constness.
19389
19390         * gst/gsttaglist.c:
19391         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19392         GstTagList*. Fixes #143472.
19393
19394         * gst/gststructure.h: Clarify what the foreach/map functions can
19395         or can't do to their arguments.
19396
19397 2005-11-18  Wim Taymans  <wim@fluendo.com>
19398
19399         * gst/gstclock.c: (gst_clock_set_calibration),
19400         (gst_clock_get_calibration):
19401         Doc and API fixes.
19402         Calibration can be set with internal time equal to current
19403         internal time too.
19404
19405 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19406
19407         * gst/gsterror.c:
19408         * gst/gsterror.h:
19409           document
19410
19411 2005-11-18  Andy Wingo  <wingo@pobox.com>
19412
19413         * configure.ac: 
19414         * pkgconfig/gstreamer-net.pc.in:
19415         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19416         * pkgconfig/Makefile.am: Add net pkgconfig files.
19417
19418 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
19419
19420         * gst/gstcaps.c:
19421         * gst/gstghostpad.c:
19422         * gst/gsttrace.c:
19423         * gst/gstvalue.c:
19424         * gst/gstvalue.h:
19425           docs fixes
19426
19427 2005-11-18  Andy Wingo  <wingo@pobox.com>
19428
19429         * gst/net/gstnetclientclock.c: Turn off debugging.
19430
19431         * check/net/gstnetclientclock.c (test_functioning): Assert that the
19432         times connverge somewhat. Can't make a real test.
19433
19434         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19435         integer arithmetic. Return the minimum of the domain, which can be
19436         set as "internal" for gst_clock_set_calibration.
19437         (gst_net_client_clock_observe_times): Call _set_calibration.
19438         (gst_net_client_clock_new): Call _set_calibration instead of
19439         rate_offset.
19440
19441         * check/net/gstnetclientclock.c (test_functioning): Use the right
19442         adjustment api.
19443
19444         * gst/gstclock.h:
19445         * gst/gstclock.c (gst_clock_get_calibration) 
19446         (gst_clock_set_calibration): New functions, obsolete the ones I
19447         added yesterday. Doh. Precision issues mean we have to extrapolate
19448         from a point in the more recent past than 1970.
19449         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19450         obsolete.
19451         (gst_clock_adjust_unlocked): Use the right calibration data.
19452
19453 2005-11-18  Edward Hervey  <edward@fluendo.com>
19454
19455         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19456         Also reset the ->current_* values in READY->PAUSED
19457
19458 2005-11-18  Andy Wingo  <wingo@pobox.com>
19459
19460         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19461         Whoops, check the right fd. Also add some debugging.
19462         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19463         (do_linear_regression): Add a crapload of debugging. Subtract off
19464         the minimum values from the input series to discard unneeded bits.
19465         Use only int arithmetic. There is still double arithmetic when
19466         calculating the intercept that needs fixing. Return boolean to
19467         indicate success; FALSE would mean the domain or range is too
19468         great. Still needs fixes.
19469
19470 2005-11-18  Wim Taymans  <wim@fluendo.com>
19471
19472         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19473         For the current position in stream time, we need to subtract
19474         accumulated time.
19475         
19476         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19477         Release lock before calling the callback function of async
19478         entries.
19479
19480 2005-11-18  Andy Wingo  <wingo@pobox.com>
19481
19482         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19483         Port goes all the way to MAXUINT16.
19484
19485         * gst/net/gstnettimeprovider.c: Make the port range the same as
19486         for the kernel: 0 assigns, otherwise ports are less than
19487         MAXUINT16.
19488
19489         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19490         port change.
19491
19492         * check/net/gstnetclientclock.c (test_functioning): Add the start
19493         of another test. 
19494
19495 2005-11-18  Wim Taymans  <wim@fluendo.com>
19496
19497         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19498         (gst_bin_remove_func), (bin_bus_handler):
19499         * gst/gstbin.h:
19500         Removing a clock provider from a bin, triggers a clock lost message
19501         so that a new clock will be selected.
19502         Adding a clock to a bin triggers a clock provider message.
19503         Make sure we reselect a clock when we received a clock lost message.
19504         Keep a reference to the element that provided the clock.
19505
19506 2005-11-18  Andy Wingo  <wingo@pobox.com>
19507
19508         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19509         the clock initially so it produces values around the base time.
19510         (gst_net_client_clock_class_init): Typo fix.
19511         (gst_net_client_clock_thread): Add note on when the socket gets
19512         closed.
19513
19514 2005-11-17  Wim Taymans  <wim@fluendo.com>
19515
19516         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19517         Free remote and local time arrays.
19518
19519 2005-11-17  Wim Taymans  <wim@fluendo.com>
19520
19521         * gst/net/gstnetclientclock.c: (do_linear_regression),
19522         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19523         Fix compilation, uninitialized vars and a forgotten continue.
19524
19525 2005-11-17  Andy Wingo  <wingo@pobox.com>
19526
19527         * check/Makefile.am (check_PROGRAMS): 
19528         * check/net/gstnetclientclock.c: Add a most minimal test for the
19529         net client clock. More to come later.
19530
19531         * gst/net/gstnet.h: 
19532         * gst/net/Makefile.am: Add netclientclock.
19533
19534         * gst/net/gstnetclientclock.h:
19535         * gst/net/gstnetclientclock.c: New files, implement an untested
19536         GstClock that takes its time from a network time provider.
19537         Implements the algorithm in network-clock.scm.
19538
19539         * tests/network-clock.scm (*window-size*): Rename from
19540         *queue-length*.
19541         * tests/network-clock.scm (network-time): 
19542         * tests/network-clock-utils.scm (q-push): Update callers.
19543
19544 2005-11-17  Wim Taymans  <wim@fluendo.com>
19545
19546         * gst/gstbin.c: (gst_bin_provide_clock_func),
19547         (gst_bin_sort_iterator_new):
19548         And unref the child too..
19549
19550 2005-11-17  Wim Taymans  <wim@fluendo.com>
19551
19552         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19553         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19554         Refactor the sort iterator so it can be used while holding the
19555         LOCK too.
19556         Make clock selection select a clock closest to the source.
19557
19558 2005-11-17  Michael Smith <msmith@fluendo.com>
19559
19560         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19561         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19562         * gst/gstclock.h:
19563           Anonymous structs are a gcc (and some other compilers) extension, so
19564           don't use them. Since this is only for ABI-compatibility, and our
19565           API/ABI freeze is over in a few days, this whole thing will only
19566           last a few days, so don't bother trying to think up a meaningful
19567           name for the struct.
19568
19569 2005-11-17  Andy Wingo  <wingo@pobox.com>
19570
19571         * gst/gstclock.h (GstClock): Add rate and offset properties,
19572         preserving ABI stability. Add rate/offset accessors. Will file bug
19573         for the freeze break.
19574
19575         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19576         and offset, trying to keep precision and avoiding
19577         underflow/overflow.
19578         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19579         functions. Make gst_clock_set_time_adjust obsolete.
19580         (gst_clock_set_time_adjust): Note that this function is obsolete.
19581         Will file bug soon.
19582
19583         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19584         greppable by using GST_PADDING-1+1.
19585
19586 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19587
19588         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19589
19590         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19591           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19592
19593         * gst/gstpadtemplate.h:
19594         * gst/gstpluginfeature.h:
19595           Don't use c++ style comments in headers (#321638).
19596
19597 2005-11-16  Andy Wingo  <wingo@pobox.com>
19598
19599         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19600         buffer.
19601
19602         * check/net/gstnettimeprovider.c: Check to see that the time
19603         provider actually provides times. Works, yo!
19604
19605 2005-11-16  Wim Taymans  <wim@fluendo.com>
19606
19607         * check/Makefile.am:
19608         Enable more tests.
19609
19610         * check/elements/fakesrc.c: (GST_START_TEST):
19611         Set element to NULL before disposing it.
19612
19613 2005-11-16  Andy Wingo  <wingo@pobox.com>
19614
19615         * gst/net/Makefile.am:
19616         * gst/net/gstnet.h:
19617         * gst/net/gstnettimeprovider.c: 
19618         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19619         provider, include it from gstnet.h, and add it to the build.
19620
19621         * gst/net/gstnettimepacket.h: 
19622         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19623         sending and receiving.
19624
19625 2005-11-16  Wim Taymans  <wim@fluendo.com>
19626
19627         * check/Makefile.am:
19628         Enable valgrind check.
19629
19630         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19631         (gst_fake_src_alloc_buffer):
19632         Fix memleak.
19633
19634 2005-11-16  Wim Taymans  <wim@fluendo.com>
19635
19636         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19637         Call parent finalize too.
19638
19639 2005-11-16  Wim Taymans  <wim@fluendo.com>
19640
19641         * check/Makefile.am:
19642         Enable valgrind check that should work fine now.
19643
19644         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19645         * gst/gstqueue.c: (gst_queue_init):
19646         Fix memleaks in pad allocation.
19647
19648 2005-11-16  Andy Wingo  <wingo@pobox.com>
19649
19650         * gst/net/Makefile.am:
19651         * gst/net/gstnet.h: New part of core to hold network elements and
19652         objects. Put in core because it exposes API that applications want
19653         to use. The library is named libgstnet-tempname right now because
19654         of the existing libgstnet in gst-plugins-base. Solution is
19655         probably to rename the one in plugins-base; will file a bug for
19656         the freeze break.
19657
19658         * gst/net/gstnettimeprovider.c: 
19659         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19660         get_time call over the network.
19661
19662         * configure.ac: 
19663         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19664
19665         * check/Makefile.am:
19666         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19667         get additions shortly.
19668
19669 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19670
19671         * gst/gstpad.c: (gst_pad_new_from_static_template):
19672         * gst/gstpad.h:
19673           add gst_pad_new_from_static_template functions
19674         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19675         (gst_check_setup_sink_pad):
19676         * gst/elements/gsttee.c: (gst_tee_init):
19677           and use them
19678
19679 2005-11-16  Wim Taymans  <wim@fluendo.com>
19680
19681         * gst/gstpad.c: (gst_pad_pause_task):
19682         Removed warning, it's not really an error either.
19683
19684 2005-11-16  Wim Taymans  <wim@fluendo.com>
19685
19686         * gst/base/gstbasetransform.c:
19687         (gst_base_transform_prepare_output_buf),
19688         (gst_base_transform_event):
19689         Check if the caps are NULL, this can happen if the element
19690         is shutting down and the pad caps are set to NULL.
19691
19692 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19693
19694         * gst/elements/gsttee.c: (gst_tee_init):
19695           fix pad template leak in tee
19696
19697 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19698
19699         * gst/glib-compat.c: (g_value_dup_gst_object):
19700         * gst/glib-compat.h:
19701         * gst/gstpad.c: (gst_pad_set_property):
19702           use gst_object_ref when setting the pad template; this will
19703           trigger the pad template leaks on GLib 2.6 and the slaves
19704
19705 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19706
19707         * gst/glib-compat.c: (gst_flags_get_first_value):
19708         * gst/glib-compat.h:
19709         * gst/gstregistryxml.c:
19710           remove functions copied from GLib 2.6
19711
19712 2005-11-16  Michael Smith <msmith@fluendo.com>
19713
19714         * gst/Makefile.am:
19715           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19716           do, but only breaks with newer valgrind versions. We're not a
19717           valgrind tool, we have no link-time dependencies on libcoregrind.
19718
19719 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19720
19721         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19722           some debug changes
19723         * gst/gstmessage.h:
19724           typo fixes
19725
19726 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19727
19728         * gst/base/gstbasesrc.c: (gst_base_src_init):
19729         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19730         * gst/gstqueue.c: (gst_queue_init):
19731         * gst/gstregistryxml.c: (load_feature):
19732           Revert all these unrefs, they don't even pass make check !
19733
19734 2005-11-15  Johan Dahlin  <johan@gnome.org>
19735
19736         * gst/base/gstbasesrc.c: (gst_base_src_init):
19737         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19738         * gst/gstqueue.c: (gst_queue_init): 
19739         Free pad templates, fixes a couple of leaks.
19740
19741 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19742
19743         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19744
19745         * gst/gstpad.c: (gst_pad_get_property):
19746           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19747           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19748           (#321452)
19749
19750 2005-11-15  Wim Taymans  <wim@fluendo.com>
19751
19752         * gst/gstevent.c:
19753         Small doc update.
19754
19755 2005-11-15  Andy Wingo  <wingo@pobox.com>
19756
19757         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19758
19759         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19760         using GST_CLOCK_TIME_NONE to disable base time management.
19761         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19762         time if it was NONE before.
19763         (gst_pipeline_change_state): Only munge the base time if
19764         stream_time != GST_CLOCK_TIME_NONE.
19765
19766         * check/gst/gstpipeline.c (test_base_time): Punt around the
19767         problem of the probe not being called, because that's not the
19768         issue I'm looking at. Add a check that setting stream_time to NONE
19769         disables base time management.
19770         
19771 2005-11-15  Wim Taymans  <wim@fluendo.com>
19772
19773         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19774         segment_stop == -1 at startup.
19775
19776         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19777         (gst_base_transform_change_state):
19778         Init segment values at start.
19779
19780 2005-11-15  Wim Taymans  <wim@fluendo.com>
19781
19782         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19783         0 segment values are 0 in any format.
19784
19785         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19786         * gst/base/gstbasetransform.h:
19787         Parse newsegment correctly in basetransform
19788
19789         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19790         Sync to clock using updated segment values.
19791
19792 2005-11-15  Andy Wingo  <wingo@pobox.com>
19793
19794         * check/gst/gstpipeline.c (test_base_time): Add check that the
19795         base time and stream time are reset correctly.
19796
19797 2005-11-15  Wim Taymans  <wim@fluendo.com>
19798
19799         * docs/design/part-TODO.txt:
19800         Some more TODO items.
19801
19802 2005-11-15  Andy Wingo  <wingo@pobox.com>
19803
19804         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19805         error if the user selected "no clock" as the clocking method.
19806
19807         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19808         timestamps with live capture.
19809
19810         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19811         is 0 but we are a live source, timestamp the buffers using the
19812         element's clock.
19813
19814 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19815
19816         * docs/gst/gstreamer-sections.txt:
19817         * gst/gsterror.c:
19818         * gst/gstghostpad.c:
19819         * gst/gstobject.h:
19820         * gst/gstxml.c:
19821           more section docs
19822
19823 2005-11-14  Wim Taymans  <wim@fluendo.com>
19824
19825         * common/gst.supp:
19826           add suppressions from Wim's Debian machine
19827
19828 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19829
19830         * common/gst.supp:
19831           add suppressions from Andy's AMD64 Ubuntu machine
19832
19833 2005-11-14  Andy Wingo  <wingo@pobox.com>
19834
19835         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19836         STATE_LOCK not necessary. Fixes #311489.
19837
19838         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19839         #305291.
19840
19841         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19842         this function is not implemented.
19843
19844 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19845
19846         * gst/base/gstbasetransform.c:
19847         (gst_base_transform_prepare_output_buf):
19848         Ref the source pad caps while we need them.
19849         Fixes (#321386)
19850
19851 2005-11-11  Wim Taymans  <wim@fluendo.com>
19852
19853         * docs/gst/gstreamer-sections.txt:
19854         Added some docs for GstCollectData.
19855
19856         * gst/base/gstadapter.c:
19857         Some small code example fix.
19858
19859         * gst/base/gstcollectpads.c:
19860         * gst/base/gstcollectpads.h:
19861         Document some more.
19862
19863 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19864
19865         * configure.ac: back to HEAD
19866
19867 === release 0.9.5 ===
19868
19869 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19870
19871         * configure.ac:
19872           releasing 0.9.5, "Bike Lunch Day"
19873
19874 2005-11-11  Wim Taymans  <wim@fluendo.com>
19875
19876         * gst/gstbuffer.c: (_gst_buffer_copy):
19877         Copy more flags.
19878
19879         * gst/gstcaps.c: (gst_caps_is_equal):
19880         Fix some docs.
19881         Make _is_equal fast in the trivial cases.
19882
19883         * gst/gstminiobject.c:
19884         * gst/gstminiobject.h:
19885         More docs. Spifify .h file.
19886
19887         * gst/gstutils.c:
19888         Small doc update.
19889
19890 2005-11-11  Wim Taymans  <wim@fluendo.com>
19891
19892         * gst/base/gstbasetransform.c:
19893         (gst_base_transform_prepare_output_buf),
19894         (gst_base_transform_handle_buffer):
19895         Small cleanups.
19896         If we're processing a buffer and need to allocate an output
19897         buffer, we cannot accept a format change. If we did get a 
19898         format change, we have to alloc a buffer ourselves of the 
19899         right size.
19900
19901 2005-11-11  Wim Taymans  <wim@fluendo.com>
19902
19903         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19904         While checking the flag for reentrancy in the gstcaps function
19905         is nice to detect recursive invocations, it also makes it 
19906         impossible to call getcaps from multiple threads, which must be
19907         possible. So, checking for recursive calls has to go.
19908
19909 2005-11-11  Michael Smith <msmith@fluendo.com>
19910
19911         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19912           Don't sync on buffers that fall partially outside our current
19913           segment. Prevents an assertion failure/abort playing some files.
19914
19915 2005-11-10  Andy Wingo  <wingo@pobox.com>
19916
19917         * check/gst/gstbin.c (test_message_state_changed_children): Style
19918         fix..
19919
19920         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19921         gst_bus_poll with the signal watch. Ensures that poll and a signal
19922         watch see the same messages.
19923
19924         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19925         a poll and a watch at the same time get the same messages.
19926
19927 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19928
19929         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19930         * gst/gstcaps.c: (gst_caps_intersect):
19931           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19932           and it's not needed.
19933
19934 2005-11-10  Wim Taymans  <wim@fluendo.com>
19935
19936         * docs/design/part-TODO.txt:
19937         Updated todo.
19938
19939 2005-11-10  Wim Taymans  <wim@fluendo.com>
19940
19941         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19942         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19943         (gst_base_src_do_sync), (gst_base_src_get_range):
19944         Implement clock sync in base class.
19945
19946 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19947
19948         patch by: Tim-Philipp Müller <tim at centricular dot net>
19949
19950         * gst/gststructure.c: (gst_structure_parse_field),
19951         (gst_structure_from_string):
19952           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19953           so that gst_parse_launch() can deal with spaces in filtered link
19954           caps (fixes #164479)
19955         * check/gst/capslist.h:
19956         * check/gst/gststructure.c: (GST_START_TEST):
19957           add unit tests for this change
19958
19959 2005-11-10  Wim Taymans  <wim@fluendo.com>
19960
19961         * docs/gst/gstreamer-sections.txt:
19962         * gst/gstelement.c:
19963         * gst/gstelement.h:
19964         Fix docs, move some STATE macros to private.
19965
19966 2005-11-10  Wim Taymans  <wim@fluendo.com>
19967
19968         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19969         Added check for bug #317341
19970
19971         * gst/gstbuffer.c:
19972         * gst/gstbuffer.h:
19973         Some more spiffifying.
19974
19975         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19976         Call peer linkfunction if we are a source pad. Totally fixes
19977         #317341
19978
19979         * gst/gstpad.c:
19980         Update docs, source pads should call the peer linkfunction
19981         so they can atomically perform the pad link.
19982
19983 2005-11-09  Wim Taymans  <wim@fluendo.com>
19984
19985         * gst/gstbuffer.c:
19986         * gst/gstbuffer.h:
19987         Uber-spiffy-spiffify some more.
19988
19989 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19990
19991         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19992         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19993         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19994         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19995         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19996         * gst/gstpad.c: (gst_pad_init):
19997           Use GST_DEBUG_FUNCPTR() more extensively.
19998
19999 2005-11-09  Wim Taymans  <wim@fluendo.com>
20000
20001         * gst/gstobject.c: (gst_object_class_init):
20002         * gst/gstobject.h:
20003         Documentation fixes.
20004
20005 2005-11-09  Edward Hervey  <edward@fluendo.com>
20006
20007         * gst/gsttypefindfactory.c:
20008         Fix docs.
20009         
20010 2005-11-09  Edward Hervey  <edward@fluendo.com>
20011
20012         * gst/base/gsttypefindhelper.c:
20013         * gst/gsttypefind.c:
20014         * gst/gsttypefind.h:
20015         Fix docs.
20016
20017 2005-11-09  Wim Taymans  <wim@fluendo.com>
20018
20019         * gst/gstiterator.c:
20020         Fix revision data.
20021
20022         * gst/gsttask.c:
20023         * gst/gsttask.h:
20024         Fix docs.
20025
20026 2005-11-09  Wim Taymans  <wim@fluendo.com>
20027
20028         * gst/gstevent.h:
20029         * gst/gsturi.h:
20030         Fix docs.
20031
20032 2005-11-09  Wim Taymans  <wim@fluendo.com>
20033
20034         * docs/gst/gstreamer-sections.txt:
20035         Moved the message async delivery private lock and cond
20036         to the private section.
20037
20038         * gst/gstmessage.c:
20039         * gst/gstmessage.h:
20040         Fixed docs.
20041
20042 2005-11-09  Edward Hervey  <edward@fluendo.com>
20043
20044         * docs/gst/gstreamer-sections.txt:
20045         * gst/gsturi.c:
20046         * gst/gsturi.h:
20047         Document GstURIHandler
20048
20049 2005-11-09  Wim Taymans  <wim@fluendo.com>
20050
20051         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
20052         (gst_iterator_find_custom):
20053         * gst/gstiterator.h:
20054         Fix iterator docs.
20055
20056 2005-11-09  Wim Taymans  <wim@fluendo.com>
20057
20058         * gst/gstbin.h:
20059         Document another field.
20060
20061         * gst/gststructure.c:
20062         * gst/gststructure.h:
20063         Document.
20064
20065 2005-11-09  Wim Taymans  <wim@fluendo.com>
20066
20067         * gst/gstbin.h:
20068         Documented structs.
20069
20070 2005-11-09  Wim Taymans  <wim@fluendo.com>
20071
20072         * docs/gst/gstreamer-sections.txt:
20073         Added some new macros.
20074
20075         * gst/gstclock.c:
20076         * gst/gstclock.h:
20077         * gst/gstobject.h:
20078         Docs updates.
20079
20080 2005-11-09  Wim Taymans  <wim@fluendo.com>
20081
20082         * docs/design/part-TODO.txt:
20083         Some more items for the TODO
20084
20085         * gst/gstcaps.c:
20086         * gst/gstcaps.h:
20087         Document GstCaps.
20088
20089 2005-11-09  Andy Wingo  <wingo@pobox.com>
20090
20091         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
20092         to work on something else now tho...
20093
20094         * gst/base/gstadapter.c: More adapter docs.
20095
20096         * gst/elements/gstfilesink.c (gst_file_sink_start) 
20097         (gst_file_sink_stop): New functions, replace the state change
20098         handler.
20099         (gst_file_sink_class_init): Hook up the start and stop functions.
20100         (gst_file_sink_base_init): Don't set the state change handler any
20101         more. It was a bit ugly too, being set from here...
20102         (gst_file_sink_get_property, gst_file_sink_set_property):
20103         Cleanups...
20104         (gst_file_sink_set_location): More robust check that doesn't call
20105         GST_STATE. Ugggggg.
20106
20107 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
20108
20109         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20110           Hold STREAM_LOCK while pushing newsegment or tag events as well.
20111
20112 2005-11-08  Wim Taymans  <wim@fluendo.com>
20113
20114         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20115         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20116         (gst_base_sink_chain), (gst_base_sink_change_state):
20117         * gst/base/gstbasesink.h:
20118         * gst/base/gstbasesrc.h:
20119         * gst/gstelement.h:
20120         * gst/gstevent.h:
20121         Avoid excessive typechecking in macros.
20122
20123         * gst/gstminiobject.c: (gst_mini_object_get_type),
20124         (gst_mini_object_init), (gst_mini_object_new),
20125         (gst_mini_object_free):
20126         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20127         (gst_object_finalize):
20128         Remove cruft code, optimize alloc_trace.
20129
20130 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
20131
20132         * docs/faq/gst-uninstalled:
20133           fix up PS1 for systems that try to reset it
20134
20135 2005-11-07  Wim Taymans  <wim@fluendo.com>
20136
20137         * gst/base/gstbasesrc.c: (gst_base_src_init),
20138         (gst_base_src_get_range):
20139         Set the segment_end to -1 initially. Fixed typefind.
20140
20141 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
20142
20143         * gst/base/gstadapter.c:
20144           Debug category should be 'adapter', not 'GstAdapter'.
20145           
20146         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
20147         (gst_collectpads_class_init), (gst_collectpads_init),
20148         (gst_collectpads_peek), (gst_collectpads_pop),
20149         (gst_collectpads_event), (gst_collectpads_chain):
20150           Add debug category and some debugging output. Use boilerplate
20151           macros. Remove some extraneous words from docs.
20152
20153 2005-11-05  Andy Wingo  <wingo@pobox.com>
20154
20155         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20156         macro.
20157
20158 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20159
20160         * docs/gst/gstreamer-sections.txt:
20161         * gst/gstcaps.h:
20162         * gst/gstinfo.c:
20163         * gst/gstminiobject.h:
20164         * gst/gstobject.h:
20165         * gst/gstutils.h:
20166           more docs added
20167
20168 2005-11-04  Wim Taymans  <wim@fluendo.com>
20169
20170         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20171         Small update to stop at the configured segment_end
20172         position.
20173
20174 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20175
20176         * gst/gstregistry.c:
20177         * gst/gstregistry.h:
20178           added missing docs
20179
20180 2005-11-04  Edward Hervey  <edward@fluendo.com>
20181
20182         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20183         Check if we are doing a segment seek and have arrived at the
20184         end of that segment.
20185
20186 2005-11-04  Wim Taymans  <wim@fluendo.com>
20187
20188         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20189         Don't leak a mutex unlock in case of an error.
20190
20191         * gst/gstbus.h:
20192         Doc fixes.
20193
20194 2005-11-04  Wim Taymans  <wim@fluendo.com>
20195
20196         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20197         (gst_bus_post):
20198         Get the context to wake up only once.
20199
20200 2005-11-03  Wim Taymans  <wim@fluendo.com>
20201
20202         * check/states/sinks.c: (GST_START_TEST):
20203         Uncomment fixed check.
20204
20205         * docs/design/part-TODO.txt:
20206         Updated TODO.
20207
20208         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20209         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20210         (gst_base_sink_get_position):
20211         If we are going to PLAYING, post the right pending state
20212         when we post the intermediate paused message.
20213
20214         * gst/gstelement.c: (gst_element_continue_state),
20215         (gst_element_set_state_func), (gst_element_change_state):
20216         Don't post state changes that were between the same state
20217         and were not ASYNC.
20218
20219 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20220
20221         * docs/gst/gstreamer-sections.txt:
20222         * gst/gstcaps.h:
20223         * gst/gstinfo.c:
20224         * gst/gstminiobject.h:
20225         * gst/gstobject.h:
20226         * gst/gstutils.h:
20227           more docs and doc style fixes
20228
20229 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20230
20231         * docs/gst/gstreamer-sections.txt:
20232         * gst/gstelement.c:
20233         * gst/gstminiobject.c:
20234         doc fixes
20235
20236 2005-11-03  Andy Wingo  <wingo@pobox.com>
20237
20238         * check/states/sinks.c (test_livesrc_sink): Add checks that the
20239         state-changed messages actually have the right order and the right
20240         values.
20241
20242 2005-11-03  Wim Taymans  <wim@fluendo.com>
20243
20244         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20245         Added some more checks. Specifically the case where NO_PREROLL
20246         elements are in the pipeline.
20247
20248         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20249         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20250         (gst_base_sink_get_position):
20251         Post READY->PAUSED state change messages too.
20252         Fix bug where VOID was posted as pending state...
20253
20254         * gst/gstbin.c: (gst_bin_recalc_state):
20255         use _element_continue_state() to continue the state change.
20256
20257         * gst/gstelement.c: (gst_element_continue_state),
20258         (gst_element_commit_state), (gst_element_set_state_func),
20259         (gst_element_change_state), (gst_element_change_state_func):
20260         Lots of state change cleanups, assign the STATE_RETURN in
20261         a new continue_state() function that also propagates the
20262         last return value from a state change to the app.
20263         Update some debug statements with proper category.
20264
20265 2005-11-03  Wim Taymans  <wim@fluendo.com>
20266
20267         * docs/design/part-events.txt:
20268         * docs/design/part-gstpipeline.txt:
20269         * docs/design/part-messages.txt:
20270         * docs/design/part-overview.txt:
20271         * docs/design/part-seeking.txt:
20272         * docs/design/part-states.txt:
20273         * docs/design/part-trickmodes.txt:
20274         * docs/manual/advanced-position.xml:
20275         Small docs updates.
20276
20277         * gst/gstobject.h:
20278         People think !! is ugly, this looks better.
20279
20280         * gst/gstpad.c: (gst_pad_set_blocked_async):
20281         Remove !! since it's fixed elsewhere now.
20282
20283 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20284
20285         * gst/gstminiobject.h:
20286         * gst/gstobject.h:
20287           Add !! to _FLAG_IS_SET macros to make the result boolean.
20288
20289 2005-11-03  Edward Hervey  <edward@fluendo.com>
20290
20291         * gst/gstpad.c: (gst_pad_set_blocked_async):
20292         comparing a flag and a gboolean rarely returns coherent results...
20293         Added two characters (!!) to make that work correctly.
20294         
20295 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20296
20297         * gst/gstbus.c: (gst_bus_class_init):
20298           Fix some typos.
20299           
20300         * gst/gstqueue.c: (gst_queue_loop):
20301           Don't assume a miniobject that isn't a buffer is an
20302           event (it could be that there is a refcounting
20303           problem somewhere and the pointer is stale and
20304           refers to an already destroyed miniobject).
20305
20306 2005-11-03  Julien MOUTTE  <julien@moutte.net>
20307
20308         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20309
20310 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20311
20312         * docs/manual/advanced-position.xml:
20313           Update seek example and explanations to current 0.9 API.
20314
20315         * gst/elements/gsttypefindelement.c:
20316         (gst_type_find_element_activate):
20317           Remove FIXME comment now that the found caps
20318           are unreffed.
20319
20320 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20321
20322         * gst/gstregistryxml.c: (load_feature):
20323           Add another GST_STR_NULL instance
20324
20325 2005-11-02  Edward Hervey  <edward@fluendo.com>
20326
20327         * gst/gstpad.c: (handle_pad_block):
20328         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20329         
20330 2005-11-02  Wim Taymans  <wim@fluendo.com>
20331
20332         * gst/gstbin.c:
20333         Fix typo in docs.
20334
20335         * gst/gstelement.c: (gst_element_commit_state):
20336         Remove unused value.
20337
20338         * gst/gstiterator.c:
20339         Mention that the returned element is reffed in the docs.
20340
20341 2005-11-02  Wim Taymans  <wim@fluendo.com>
20342
20343         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20344         (gst_pad_push), (gst_pad_push_event):
20345         Unlock blocked pads when they are flushed.
20346
20347 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20348
20349         * docs/README:
20350         * docs/gst/gstreamer-sections.txt:
20351         * gst/gstbin.c:
20352           doc updates
20353         * gst/gstregistry.c: (gst_registry_scan_path_level):
20354           fix for a nasty little missed situation where an installed plug-in
20355           which was in the cache did not get overridden by an uninstalled one
20356           which was earlier in the plugin path because the newly created plugin
20357           for the uninstalled one (not in the registry) didn't get its
20358           ->registered set to TRUE
20359
20360 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20361
20362         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20363         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20364         (gst_collectpads_is_active), (gst_collectpads_collect),
20365         (gst_collectpads_collect_range), (gst_collectpads_start),
20366         (gst_collectpads_stop), (gst_collectpads_peek),
20367         (gst_collectpads_pop), (gst_collectpads_available),
20368         (gst_collectpads_read), (gst_collectpads_flush):
20369           Guard public API with assertions.
20370         
20371         * gst/gstpad.c:
20372           Fix docs for gst_pad_set_link_function().
20373
20374 2005-11-02  Johan Dahlin  <johan@gnome.org>
20375
20376         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
20377         Unref found_caps after we used it.
20378
20379 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20380
20381         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20382           Don't try to ref NULL.
20383
20384 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20385
20386         * win32/common/config.h.in:
20387           provide a GST_FUNCTION that just gives a string for now
20388
20389 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20390
20391         * win32/common/gstenumtypes.c: (register_gst_object_flags),
20392         (gst_object_flags_get_type), (register_gst_bin_flags),
20393         (gst_bin_flags_get_type), (register_gst_buffer_flag),
20394         (gst_buffer_flag_get_type), (register_gst_bus_flags),
20395         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20396         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20397         (gst_clock_return_get_type), (register_gst_clock_entry_type),
20398         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20399         (gst_clock_flags_get_type), (register_gst_state),
20400         (gst_state_get_type), (register_gst_state_change_return),
20401         (gst_state_change_return_get_type), (register_gst_state_change),
20402         (gst_state_change_get_type), (register_gst_element_flags),
20403         (gst_element_flags_get_type), (register_gst_core_error),
20404         (gst_core_error_get_type), (register_gst_library_error),
20405         (gst_library_error_get_type), (register_gst_resource_error),
20406         (gst_resource_error_get_type), (register_gst_stream_error),
20407         (gst_stream_error_get_type), (register_gst_event_type),
20408         (gst_event_type_get_type), (register_gst_seek_type),
20409         (gst_seek_type_get_type), (register_gst_seek_flags),
20410         (gst_seek_flags_get_type), (register_gst_format),
20411         (gst_format_get_type), (register_gst_index_certainty),
20412         (gst_index_certainty_get_type), (register_gst_index_entry_type),
20413         (gst_index_entry_type_get_type),
20414         (register_gst_index_lookup_method),
20415         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20416         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20417         (gst_index_resolver_method_get_type), (register_gst_index_flags),
20418         (gst_index_flags_get_type), (register_gst_debug_level),
20419         (gst_debug_level_get_type), (register_gst_debug_color_flags),
20420         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20421         (gst_iterator_result_get_type), (register_gst_iterator_item),
20422         (gst_iterator_item_get_type), (register_gst_message_type),
20423         (gst_message_type_get_type), (register_gst_mini_object_flags),
20424         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20425         (gst_pad_link_return_get_type), (register_gst_flow_return),
20426         (gst_flow_return_get_type), (register_gst_activate_mode),
20427         (gst_activate_mode_get_type), (register_gst_pad_direction),
20428         (gst_pad_direction_get_type), (register_gst_pad_flags),
20429         (gst_pad_flags_get_type), (register_gst_pad_presence),
20430         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20431         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20432         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20433         (gst_plugin_error_get_type), (register_gst_plugin_flags),
20434         (gst_plugin_flags_get_type), (register_gst_rank),
20435         (gst_rank_get_type), (register_gst_query_type),
20436         (gst_query_type_get_type), (register_gst_tag_merge_mode),
20437         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20438         (gst_tag_flag_get_type), (register_gst_task_state),
20439         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20440         (gst_alloc_trace_flags_get_type),
20441         (register_gst_type_find_probability),
20442         (gst_type_find_probability_get_type), (register_gst_uri_type),
20443         (gst_uri_type_get_type), (register_gst_parse_error),
20444         (gst_parse_error_get_type):
20445         * win32/common/gstversion.h:
20446           update win32 copies
20447
20448 2005-11-01  Luca Ognibene  <luogni@tin.it>
20449
20450         * gst/gst.c:
20451           fix docs. popt is dead, long live GOption.
20452
20453 2005-10-31  Wim Taymans  <wim@fluendo.com>
20454
20455         * gst/gstbuffer.h:
20456         Small doc fix.
20457
20458 2005-10-31  Andy Wingo  <wingo@pobox.com>
20459
20460         * Boo!
20461
20462         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20463
20464         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20465         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20466         the possibility of deadlocks here if code calling notify() or
20467         set() has a lock that can be taken in another notify handler (ABBA
20468         with class lock and e.g. python GIL state lock).
20469
20470 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20471
20472         * gst/gstbus.c: Doc updates.
20473
20474 2005-10-28  Wim Taymans  <wim@fluendo.com>
20475
20476         * docs/design/part-TODO.txt:
20477         * gst/gstiterator.c:
20478         * gst/gstsystemclock.c:
20479         * gst/gstsystemclock.h:
20480         Doc updates.
20481
20482 2005-10-28  Edward Hervey  <edward@fluendo.com>
20483
20484         * docs/gst/gstreamer-docs.sgml:
20485         * docs/gst/gstreamer-sections.txt:
20486         the GstURIType documentation page is private, it only defines GstURIType
20487         which should be defined in the GstURIHandler page
20488         
20489 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20490
20491         * gst/gstbin.c: (gst_bin_class_init):
20492         * gst/gstbin.h:
20493         * gst/gstutils.c:
20494         Documentation updates.
20495
20496 2005-10-28  Wim Taymans  <wim@fluendo.com>
20497
20498         * docs/gst/gstreamer-sections.txt:
20499         * gst/gstclock.c:
20500         * gst/gstclock.h:
20501         Documented the clocks.
20502
20503 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20504
20505         * docs/gst/gstreamer-sections.txt:
20506           move some macros to private sections
20507         * gst/gstminiobject.c:
20508         * gst/gstminiobject.h:
20509           add descriptions provided by ds and some more
20510         * gst/gstpad.h:
20511           mark macro as to be removed
20512
20513 2005-10-28  Wim Taymans  <wim@fluendo.com>
20514
20515         * docs/design/part-TODO.txt:
20516         Add an item to TODO.
20517
20518         * gst/gstiterator.c: (gst_iterator_fold),
20519         (gst_iterator_find_custom):
20520         * gst/gstiterator.h:
20521         Add iterator docs.
20522
20523 2005-10-28  Wim Taymans  <wim@fluendo.com>
20524
20525         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20526         (gst_base_transform_init):
20527         Don't leak class.
20528
20529         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20530         An EOS event marks the queue as completely filled.
20531
20532 2005-10-27  Wim Taymans  <wim@fluendo.com>
20533
20534         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20535         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20536         Some more debugging.
20537
20538         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20539         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20540         (gst_base_transform_event), (gst_base_transform_getrange),
20541         (gst_base_transform_chain):
20542         * gst/base/gstbasetransform.h:
20543         Fix debugging,
20544         Protect transform and concurrent buffer alloc with a new lock.
20545         Try not to break ABI/API.
20546
20547 2005-10-27  Wim Taymans  <wim@fluendo.com>
20548
20549         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20550         (gst_base_src_init), (gst_base_src_query),
20551         (gst_base_src_default_newsegment),
20552         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20553         (gst_base_src_send_event), (gst_base_src_event_handler),
20554         (gst_base_src_pad_get_range), (gst_base_src_loop),
20555         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20556         (gst_base_src_start), (gst_base_src_deactivate),
20557         (gst_base_src_activate_push), (gst_base_src_change_state):
20558         Move some stuff around and cleanup things.
20559
20560 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20561
20562         * gst/base/gstbasesrc.c: (gst_base_src_query):
20563           Add missing break statements.
20564
20565 2005-10-27  Wim Taymans  <wim@fluendo.com>
20566
20567         * check/gst/gstbin.c: (GST_START_TEST):
20568         An extra refcount is taken in basesrc.
20569
20570         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20571         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20572         (gst_base_src_loop):
20573         Small cleanups, check for flushing after being unlocked from the 
20574         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20575         Don't send out EOS when going to READY.
20576
20577 2005-10-27  Wim Taymans  <wim@fluendo.com>
20578
20579         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20580         (gst_base_sink_get_position):
20581         Some more debug.
20582
20583         * gst/gstbin.c: (message_check), (bin_replace_message),
20584         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20585         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20586         (bin_query_duration_init), (bin_query_duration_fold),
20587         (bin_query_duration_done), (bin_query_generic_fold),
20588         (gst_bin_query):
20589         * tools/gst-launch.c: (main):
20590         Remove old option.
20591
20592 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20593
20594         * examples/controller/audio-example.c: (main):
20595         * examples/queue/queue.c: (event_loop):
20596         * gst/base/gstbasetransform.h:
20597         * gst/gstelement.c: (gst_element_send_event):
20598         * gst/gstevent.h:
20599         * gst/gstpad.c: (gst_pad_send_event):
20600           fixing examples
20601           fixing docs typos
20602           changing log priority in error situations
20603
20604 2005-10-25  Wim Taymans  <wim@fluendo.com>
20605
20606         * gst/gstbin.c: (message_check), (bin_replace_message),
20607         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20608         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20609         (bin_query_duration_init), (bin_query_duration_fold),
20610         (bin_query_duration_done), (bin_query_generic_fold),
20611         (gst_bin_query):
20612         Some doc and debug updates.
20613         Cache previously requested query DURATION for speed. invalidate
20614         cached duration if element posts a DURATION message.
20615
20616 2005-10-25  Wim Taymans  <wim@fluendo.com>
20617
20618         * docs/design/part-TODO.txt:
20619         Update TODO.
20620
20621         * gst/gstbin.c: (message_check), (bin_replace_message),
20622         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20623         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20624         (bin_query_duration_init), (bin_query_duration_fold),
20625         (bin_query_duration_done), (bin_query_generic_fold),
20626         (gst_bin_query):
20627         Handle SEGMENT_START/DONE messages correctly.
20628         More evolved query algorithm that handles duration queries
20629         correctly.
20630
20631         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20632         (gst_element_get_state_func), (gst_element_abort_state),
20633         (gst_element_commit_state), (gst_element_lost_state):
20634         Some more debugging.
20635
20636         * gst/gstmessage.h:
20637         Added doc.
20638
20639 2005-10-25  Wim Taymans  <wim@fluendo.com>
20640
20641         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20642         Don't use invalid stream_time.
20643
20644         * gst/gstevent.c: (gst_event_new_newsegment):
20645         stream_time in newsegment cannot be undefined.
20646
20647 2005-10-24  Wim Taymans  <wim@fluendo.com>
20648
20649         * gst/gstbus.c:
20650         Doc fix.
20651
20652         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20653         (gst_queue_loop):
20654         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20655
20656 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20657
20658         * docs/libs/tmpl/gstdparam.sgml:
20659         * docs/libs/tmpl/gstdplinint.sgml:
20660         * docs/libs/tmpl/gstdpman.sgml:
20661         * docs/libs/tmpl/gstdpsmooth.sgml:
20662         * docs/libs/tmpl/gstunitconvert.sgml:
20663           these are obsolete
20664
20665 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20666
20667         * configure.ac:
20668           back to HEAD
20669
20670 === release 0.9.4 ===
20671
20672 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20673
20674         * configure.ac:
20675           releasing 0.9.4, "Tyrannosaurus Rex"
20676
20677 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20678
20679         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20680         (gst_file_sink_get_current_offset):
20681           Use fseeko() and ftello() if available. When falling back on
20682           lseek() to get the current offset, fflush() first to make sure
20683           everything is up-to-date and we get the right offset.
20684
20685 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20686
20687         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20688         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20689         * gst/gsterror.c: (_gst_stream_errors_init):
20690         * gst/gsterror.h:
20691         * gst/gstqueue.c: (gst_queue_loop):
20692         * po/POTFILES.in:
20693           remove prematurely added error category and clean up the instances
20694
20695 2005-10-21  Wim Taymans  <wim@fluendo.com>
20696
20697         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20698         (gst_base_sink_get_position), (gst_base_sink_query),
20699         (gst_base_sink_change_state):
20700         Simply set the right flag when going to playing, that's all
20701         we need to do instead of calling a function inside the object
20702         lock (that could take the lock as well and deadlock)
20703
20704 2005-10-21  Wim Taymans  <wim@fluendo.com>
20705
20706         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20707         (gst_base_src_loop):
20708         Don't warn, the peer element knows what to do best when
20709         the seek failed, it might try something else.
20710
20711 2005-10-21  Wim Taymans  <wim@fluendo.com>
20712
20713         * gst/base/gstbasesrc.c: (gst_base_src_init),
20714         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20715         Fix seeking.
20716
20717 2005-10-21  Wim Taymans  <wim@fluendo.com>
20718
20719         * docs/design/part-segments.txt:
20720         More docs.
20721
20722         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20723         Correctly set caps, even on the subbufer.
20724
20725 2005-10-21  Wim Taymans  <wim@fluendo.com>
20726
20727         * docs/gst/gstreamer-docs.sgml:
20728         * docs/gst/gstreamer-sections.txt:
20729         * gst/gstelement.h:
20730         * gst/gstevent.c:
20731         * gst/gstevent.h:
20732         * gst/gstmessage.h:
20733         * gst/gstpad.h:
20734         * gst/gstparse.h:
20735         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20736         * gst/gsttask.h:
20737         * gst/gstutils.c:
20738         * gst/gstutils.h:
20739         And 2% more doc coverage.
20740
20741 2005-10-21  Andy Wingo  <wingo@pobox.com>
20742
20743         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20744         position reporting.
20745
20746 2005-10-20  Wim Taymans  <wim@fluendo.com>
20747
20748         * gst/gsterror.c: (gst_error_get_message):
20749         * gst/gstparse.h:
20750         * gst/gstquery.h:
20751         * gst/gststructure.c:
20752         * gst/gsttrace.c:
20753         * gst/gstutils.c:
20754         More docs.
20755
20756 2005-10-20  Wim Taymans  <wim@fluendo.com>
20757
20758         * gst/gstbuffer.h:
20759         * gst/gstpad.c:
20760         * gst/gstparse.c:
20761         Another 1% more coverage.
20762
20763 2005-10-20  Wim Taymans  <wim@fluendo.com>
20764
20765         * docs/gst/gstreamer-sections.txt:
20766         * gst/gstelement.c: (gst_element_get_state_func),
20767         (gst_element_abort_state), (gst_element_commit_state),
20768         (gst_element_lost_state):
20769         * gst/gstevent.h:
20770         * gst/gstquery.c: (gst_query_set_position),
20771         (gst_query_parse_position), (gst_query_set_duration),
20772         (gst_query_parse_duration), (gst_query_new_convert):
20773         * gst/gstutils.c:
20774         Yay! 1% more docs coverage.
20775
20776 2005-10-20  Wim Taymans  <wim@fluendo.com>
20777
20778         * gst/gstpad.h:
20779         * gst/gstquery.c: (gst_query_set_position),
20780         (gst_query_parse_position), (gst_query_set_duration),
20781         (gst_query_parse_duration), (gst_query_new_convert):
20782         * gst/gstquery.h:
20783         * gst/gstutils.c: (gst_element_query_convert):
20784         * gst/gstutils.h:
20785         Docs and consistency fixes.
20786
20787 2005-10-20  Wim Taymans  <wim@fluendo.com>
20788
20789         * gst/gsttask.c:
20790         * gst/gsttask.h:
20791         More docs.
20792
20793 2005-10-20  Wim Taymans  <wim@fluendo.com>
20794
20795         * gst/gstbin.c: (message_check), (bin_replace_message),
20796         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20797         (update_degree), (gst_bin_sort_iterator_next),
20798         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20799         Reworked the message handling a bit, cache the messages instead of
20800         only the senders. alows us to do more in the future.
20801
20802 2005-10-20  Wim Taymans  <wim@fluendo.com>
20803
20804         * docs/design/part-TODO.txt:
20805         Update TODO
20806
20807         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20808         (gst_base_sink_query):
20809         Don't use clock time to report position when in EOS.
20810
20811 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20812
20813         * tools/gst-inspect.c: (print_interfaces),
20814         (print_element_properties_info), (print_element_info):
20815           Fix interface output with gst-inspect -a; don't print
20816           newlines after double/float properties.
20817
20818 2005-10-20  Wim Taymans  <wim@fluendo.com>
20819
20820         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20821         (gst_base_sink_query):
20822         Speed up current position calculation.
20823
20824         * gst/base/gstbasesrc.c: (gst_base_src_query),
20825         (gst_base_src_default_newsegment):
20826         Correctly set stream position in newsegment.
20827
20828         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20829         (update_degree), (gst_bin_sort_iterator_next),
20830         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20831         * gst/gstmessage.c: (gst_message_new_custom):
20832         Clean up debugging info
20833
20834         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20835         (gst_queue_loop), (gst_queue_handle_src_query):
20836         Pause task faster.
20837
20838 2005-10-19  Wim Taymans  <wim@fluendo.com>
20839
20840         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20841         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20842         Fix query handling again.
20843
20844 2005-10-19  Wim Taymans  <wim@fluendo.com>
20845
20846         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20847         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20848         * gst/base/gstbasesrc.c: (gst_base_src_query):
20849         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20850         * gst/elements/gsttypefindelement.c:
20851         (gst_type_find_handle_src_query), (find_element_get_length),
20852         (gst_type_find_element_activate):
20853         API change fix.
20854
20855         * gst/gstquery.c: (gst_query_new_position),
20856         (gst_query_set_position), (gst_query_parse_position),
20857         (gst_query_new_duration), (gst_query_set_duration),
20858         (gst_query_parse_duration), (gst_query_set_segment),
20859         (gst_query_parse_segment):
20860         * gst/gstquery.h:
20861         Bundling query position/duration is not a good idea since duration
20862         does not change much and we don't want to recalculate it for every
20863         position query, so they are separated again..
20864         Base value in segment query is not needed.
20865
20866         * gst/gstqueue.c: (gst_queue_handle_src_query):
20867         * gst/gstutils.c: (gst_element_query_position),
20868         (gst_element_query_duration), (gst_pad_query_position),
20869         (gst_pad_query_duration):
20870         * gst/gstutils.h:
20871         Updates for query API change.
20872         Added some docs here and there.
20873
20874 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20875
20876         * check/gst/gstbin.c: (GST_START_TEST):
20877         * check/gst/gstghostpad.c: (GST_START_TEST):
20878         * check/pipelines/cleanup.c: (GST_START_TEST):
20879           wait on thread to die so we can check refcount correctly
20880
20881 2005-10-18  Wim Taymans  <wim@fluendo.com>
20882
20883         * check/pipelines/stress.c: (GST_START_TEST):
20884         Make check a little more time consuming.
20885
20886 2005-10-18  Wim Taymans  <wim@fluendo.com>
20887
20888         * check/Makefile.am:
20889         * check/pipelines/stress.c: (GST_START_TEST),
20890         (simple_launch_lines_suite), (main):
20891         Small state change torture test.
20892
20893         * docs/design/part-states.txt:
20894         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20895         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20896         (gst_base_sink_change_state):
20897         Never take state lock from streaming thread, clean up ugly
20898         hacks. Unfortunatly core does not yet support nice ways to
20899         async commit state.
20900         
20901         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20902         (bin_bus_handler):
20903         Start state recalc if a STATE_DIRTY message is posted, but only
20904         on the toplevel bin.
20905
20906         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20907         (gst_element_get_state_func), (gst_element_abort_state),
20908         (gst_element_commit_state), (gst_element_lost_state),
20909         (gst_element_set_state_func), (gst_element_change_state):
20910         * gst/gstelement.h:
20911         State variables are now protected with the LOCK, the state
20912         lock is only used to serialize _set_state().
20913
20914 2005-10-18  Wim Taymans  <wim@fluendo.com>
20915
20916         * check/gst/gstbin.c: (GST_START_TEST):
20917         * check/gst/gstmessage.c: (GST_START_TEST):
20918         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20919         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20920         (bin_bus_handler):
20921         * gst/gstelement.c: (gst_element_abort_state),
20922         (gst_element_commit_state), (gst_element_lost_state):
20923         * gst/gstmessage.c: (gst_message_new_state_changed),
20924         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20925         (gst_message_new_segment_done), (gst_message_new_duration),
20926         (gst_message_parse_state_changed),
20927         (gst_message_parse_segment_start),
20928         (gst_message_parse_segment_done), (gst_message_parse_duration):
20929         * gst/gstmessage.h:
20930         * tools/gst-launch.c: (event_loop):
20931         Seriously, this is better than a previous commit as we only need
20932         to notify the fact that an element changed state in a streaming
20933         thread, marking the state of the parents dirty, hence the 
20934         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20935         message.
20936
20937 2005-10-18  Wim Taymans  <wim@fluendo.com>
20938
20939         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20940         (gst_bin_recalc_func):
20941         * gst/gstelement.c: (gst_element_set_clock),
20942         (gst_element_abort_state), (gst_element_lost_state):
20943         Cleanups, prepare for state change fixes.
20944
20945 2005-10-18  Wim Taymans  <wim@fluendo.com>
20946
20947         * gst/gstbin.h:
20948         * gst/gstelement.c: (gst_element_class_init),
20949         (gst_element_set_state), (gst_element_set_state_func):
20950         * gst/gstelement.h:
20951         Pending ABI changes.
20952         GThreadPool in GstBinClass to monitor async state changes.
20953         state_cookie in GstElement to detect concurrent gst/set state.
20954         set_state is now virtual too in case a very complicated element
20955         has to be constructed.
20956
20957 2005-10-18  Wim Taymans  <wim@fluendo.com>
20958
20959         * check/gst/gstbin.c: (GST_START_TEST):
20960         * check/gst/gstmessage.c: (GST_START_TEST):
20961         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20962         * gst/gstbin.c: (bin_bus_handler):
20963         * gst/gstelement.c: (gst_element_commit_state),
20964         (gst_element_lost_state):
20965         * gst/gstmessage.c: (gst_message_new_state_changed),
20966         (gst_message_new_segment_start), (gst_message_new_segment_done),
20967         (gst_message_new_duration), (gst_message_parse_state_changed),
20968         (gst_message_parse_segment_start),
20969         (gst_message_parse_segment_done), (gst_message_parse_duration):
20970         * gst/gstmessage.h:
20971         * tools/gst-launch.c: (event_loop):
20972         Make messages future proof.
20973         state-change gets a flag if it was a message comming from the
20974         streaming thread.
20975         segment-start/stop can also be specified in other formats.
20976         A message to notify an app that a pipeline changed playback 
20977         duration.
20978         Also fix a GstMessage leak in -launch
20979
20980 2005-10-18  Andy Wingo  <wingo@pobox.com>
20981
20982         * gst/gstelement.c (gst_element_dispose): More helpful message.
20983
20984 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20985
20986         reviewed by: <delete if not using a buddy>
20987
20988         * common/gtk-doc.mak:
20989
20990 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20991
20992         * gst/gstregistry.c: (gst_registry_scan_path_level):
20993           unref a plug-in we get that was already initialized
20994
20995 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20996
20997         * docs/gst/gstreamer-sections.txt:
20998         * docs/libs/gstreamer-libs-sections.txt:
20999         * gst/gstelement.h:
21000           add new api entries
21001           hide internal macro
21002
21003 2005-10-17  Andy Wingo  <wingo@pobox.com>
21004
21005         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
21006         cleanup.
21007
21008         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
21009
21010         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
21011
21012         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
21013         (gst_element_get_state_func): Better debug message.
21014         (gst_element_commit_state): s/INFO/DEBUG/.
21015         (gst_element_lost_state, gst_element_change_state): 
21016
21017         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
21018         (gst_message_new_custom): s/INFO/LOG/.
21019
21020 2005-10-17  Michael Smith <msmith@fluendo.com>
21021
21022         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21023           Check if end time is valid using end time, not start time.
21024
21025 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
21026
21027         * check/gst-libs/controller.c: (GST_START_TEST),
21028         (gst_controller_suite):
21029         * libs/gst/controller/gstcontroller.c:
21030         (gst_controlled_property_set_interpolation_mode):
21031         * libs/gst/controller/gstcontroller.h:
21032         * libs/gst/controller/gstinterpolation.c:
21033         * testsuite/controller/.cvsignore:
21034         * testsuite/controller/Makefile.am:
21035         * testsuite/controller/interpolator.c:
21036           merge controller testsuites
21037           fix broken tests
21038           remove mem-chunk from docs
21039
21040 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21041
21042         * gst/gstmemchunk.c:
21043         * gst/gstmemchunk.h:
21044         * gst/gsttrashstack.c:
21045         * gst/gsttrashstack.h:
21046           out.  get out.  you're fired.  to the Attic !
21047
21048 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21049
21050         * gst/gstcaps.c: (gst_caps_intersect):
21051           fix signedness issues in a (hopefully) correct way
21052         * gst/gstelement.c: (gst_element_pads_activate):
21053           some debugging
21054         * gst/gstobject.c: (gst_object_set_parent):
21055           some debugging
21056
21057 2005-10-17  Julien MOUTTE  <julien@moutte.net>
21058
21059         * gst/gstvalue.h: Fix prototypes.
21060
21061 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21062
21063         * docs/gst/gstreamer-sections.txt:
21064         * gst/gst.c: (gst_version_string):
21065         * gst/gst.h:
21066         * gst/gstversion.h.in:
21067         * win32/common/libgstreamer.def:
21068           add gst_version_string ()
21069
21070 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21071
21072         * configure.ac:
21073           clean up further
21074         * gst/gst.c: (init_post):
21075         * win32/common/config.h.in:
21076           it's PLUGINDIR now
21077         * gst/gstcaps.c: (gst_caps_intersect):
21078           use gint64, the range could be bigger than a guint
21079
21080 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21081
21082         * gst/gstclock.h:
21083           document potential problem in 2038
21084
21085 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21086
21087         * gst/gstcaps.c: (gst_caps_intersect):
21088           Fix guint j diving under 0
21089
21090 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21091
21092         * configure.ac:
21093         * win32/common/config.h:
21094         * win32/common/config.h.in:
21095           check for process.h, declares getpid() on Windows
21096         * gst/gstinfo.c:
21097           include process.h if we have it
21098         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
21099         * gst/gstmemchunk.h:
21100           fix signedness issues
21101         * win32/common/libgstreamer.def:
21102           fix get_type's
21103
21104 2005-10-16  Julien MOUTTE  <julien@moutte.net>
21105
21106         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
21107         fix. Because of unsigned ints, caps intersection was going nuts and
21108         trying to access structures with G_MAXUINT index. That fixes
21109         videotestsrc ! ffmpegcolorspace ! fakesink
21110         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
21111         consistency.
21112
21113 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21114
21115         * configure.ac:
21116           use the gettext macro
21117         * gst/elements/gstelements.c:
21118         * gst/gst.c:
21119         * gst/indexers/gstindexers.c:
21120           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
21121         * win32/common/config.h:
21122           updated config.h
21123         * win32/common/config.h.in:
21124           add the template to generate config.h
21125         * win32/common/gstenumtypes.c:
21126         * win32/common/gstversion.h:
21127           updated copies
21128
21129 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21130
21131         * gst/gst.c: (gst_version):
21132         * gst/gstversion.h.in:
21133           add the nano
21134
21135 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
21136
21137         * gst/gstevent.h:
21138           Oops, add missing closing bracket.
21139
21140 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21141
21142         * configure.ac:
21143           use common m4's for argument checking
21144
21145 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
21146
21147         * docs/gst/gstreamer-sections.txt:
21148         * gst/gstevent.h:
21149           Add GST_EVENT_TYPE_NAME() macro.
21150
21151 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21152
21153         * gst/gstinfo.c:
21154         * gst/gstpluginfeature.c:
21155         * gst/gsttask.c:
21156           privatize more symbols
21157
21158 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21159
21160         * configure.ac:
21161           add srcdir, builddir includes to GST_ALL_CFLAGS, since
21162           everything that uses GStreamer API should have the includes
21163
21164 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21165
21166         * docs/gst/gstreamer-sections.txt:
21167         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21168         * gst/gstvalue.h:
21169           give each value a _get_type, removes the DATA exports
21170
21171 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21172
21173         * gst/gst.c:
21174         * gst/gst.h:
21175           remove _gst_registry_auto_load, not used anymore
21176         * gst/gstbin.c: (gst_bin_get_type):
21177         * gst/gstbin.h:
21178         * gst/gstelement.c: (gst_element_get_type):
21179         * gst/gstelement.h:
21180         * gst/gstobject.c: (gst_object_get_type):
21181         * gst/gstobject.h:
21182         * gst/gstpad.c: (gst_pad_get_type):
21183         * gst/gstpad.h:
21184           make _get_type functions similar, fixes data export from library
21185
21186 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21187
21188         * configure.ac:
21189           correctly make conditionals
21190         * gst/elements/Makefile.am:
21191         * gst/elements/gstelements.c:
21192           fix typo causing fdsrc not to build
21193
21194 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21195
21196         * testsuite/Makefile.am:
21197         * testsuite/bytestream/.cvsignore:
21198         * testsuite/bytestream/Makefile.am:
21199         * testsuite/bytestream/filepadsink.c:
21200         * testsuite/bytestream/gstbstest.c:
21201         * testsuite/bytestream/test1.c:
21202         * testsuite/bytestream/testfile1:
21203         * testsuite/caps/normalisation.c:
21204         * testsuite/caps/random.c: (main):
21205         * testsuite/cleanup/.cvsignore:
21206         * testsuite/cleanup/Makefile.am:
21207         * testsuite/cleanup/cleanup1.c:
21208         * testsuite/cleanup/cleanup2.c:
21209         * testsuite/cleanup/cleanup3.c:
21210         * testsuite/cleanup/cleanup4.c:
21211         * testsuite/cleanup/cleanup5.c:
21212         * testsuite/controller/interpolator.c:
21213         * testsuite/debug/printf_extension.c: (main):
21214         * testsuite/elements/tee.c:
21215         * testsuite/negotiation/.cvsignore:
21216         * testsuite/negotiation/Makefile.am:
21217         * testsuite/negotiation/pad_link.c:
21218         * testsuite/pad/Makefile.am:
21219         * testsuite/pad/chainnopull.c:
21220         * testsuite/pad/getnopush.c:
21221         * testsuite/pad/link.c:
21222         * testsuite/refcounting/sched.c: (create_pipeline):
21223         * testsuite/registry/Makefile.am:
21224         * testsuite/registry/gst-print-formats.c:
21225         * testsuite/schedulers/.cvsignore:
21226         * testsuite/schedulers/142183-2.c:
21227         * testsuite/schedulers/142183.c:
21228         * testsuite/schedulers/143777-2.c:
21229         * testsuite/schedulers/143777.c:
21230         * testsuite/schedulers/147713.c:
21231         * testsuite/schedulers/147819.c:
21232         * testsuite/schedulers/147894-2.c:
21233         * testsuite/schedulers/147894.c:
21234         * testsuite/schedulers/Makefile.am:
21235         * testsuite/schedulers/group_link.c:
21236         * testsuite/schedulers/queue_link.c:
21237         * testsuite/schedulers/relink.c:
21238         * testsuite/schedulers/unlink.c:
21239         * testsuite/schedulers/unref.c:
21240         * testsuite/schedulers/useless_iteration.c:
21241         * testsuite/states/bin.c:
21242           clean out/remove some stuff from the testsuite directories
21243
21244 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21245
21246         * configure.ac:
21247           check for some headers
21248         * gst/elements/Makefile.am:
21249         * gst/elements/gstelements.c:
21250           don't compile fdsrc without sys/socket.h
21251         * gst/indexers/Makefile.am:
21252         * gst/indexers/gstindexers.c: (plugin_init):
21253           don't compile fileindex without mmap
21254
21255 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21256
21257         * configure.ac:
21258           reorganize
21259           clean up
21260           document more
21261           remove cruft
21262         * check/Makefile.am:
21263         * docs/gst/Makefile.am:
21264         * examples/helloworld/Makefile.am:
21265         * gst/Makefile.am:
21266         * gst/base/Makefile.am:
21267         * gst/check/Makefile.am:
21268         * gst/elements/Makefile.am:
21269         * gst/indexers/Makefile.am:
21270         * gst/parse/Makefile.am:
21271         * libs/gst/controller/Makefile.am:
21272         * libs/gst/dataprotocol/Makefile.am:
21273         * examples/helloworld/helloworld.c: (event_loop):
21274           compile fixes, though it's not being compiled currently
21275
21276 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21277
21278         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21279           Add some simple tests for the new taglist date API.
21280
21281 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21282
21283         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21284         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21285           Beautify 'last-message' output: print 'none' for buffer timestamps
21286           and durations if none is set; improve alignment with next messages.
21287
21288 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21289
21290         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21291         * gst/gstpluginfeature.h:
21292         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21293         * gst/gstregistry.h:
21294         * docs/gst/gstreamer-sections.txt:
21295           Add new API to check plugin feature version requirements.
21296
21297         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21298           Some basic tests for the above.         
21299
21300 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21301
21302         * gst/gststructure.c: (gst_structure_to_string):
21303           guard against NULL printf - happens when for example
21304           a message structure with GstClock gets serialized
21305
21306 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21307
21308         * gst/base/gstcollectpads.c: (gst_collectpads_event):
21309           Fix presumable copy'n'pasto.
21310
21311 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21312
21313         * gst/elements/gstfakesrc.h:
21314         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21315         * gst/elements/gsttypefindelement.c:
21316           fix some signedness
21317         * gst/elements/gstfilesink.c: (gst_file_sink_render):
21318           I wonder if this could actually write +2GB files before
21319
21320 2005-10-13  Andy Wingo  <wingo@pobox.com>
21321
21322         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21323         Fix Timmeke Waymans bug.
21324         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21325         string of the proper length to gst_caps_from_string. There's a
21326         potential for, before this fix, that this could cause someone
21327         connecting over the network to cause a segfault if the payload is
21328         not NUL-terminated.
21329
21330 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21331
21332         * docs/design/draft-push-pull.txt:
21333         * docs/design/part-overview.txt:
21334         * docs/random/TODO-pre-0.9:
21335         * docs/random/old/ChangeLog.gstreamer:
21336         * gst/base/gstpushsrc.c:
21337         * gst/gstclock.c:
21338           fixed typos
21339
21340 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21341
21342         * gst/glib-compat.c: (gst_flags_get_first_value):
21343         * gst/glib-compat.h:
21344         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21345         (gst_value_compare_double), (gst_value_serialize_flags):
21346           GLib 2.6 g_flags_get_first_value has a bug that triggers an
21347           infinite loop
21348
21349 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21350
21351         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21352         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21353           fix up debugging
21354         * tools/gst-launch.c: (event_loop):
21355           print out clock nicely
21356
21357 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21358
21359         * docs/gst/gstreamer-sections.txt:
21360         * gst/gsttaglist.h:
21361         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21362         (gst_tag_list_get_date_index):
21363           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21364           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21365
21366 2005-10-13  Julien MOUTTE  <julien@moutte.net>
21367
21368         * gst/base/gstcollectpads.c: (gst_collectpads_event),
21369         (gst_collectpads_chain):
21370         * gst/base/gstcollectpads.h: Handle newsegment and store informations
21371         in CollectData.
21372
21373 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21374
21375         * docs/gst/gstreamer-sections.txt:
21376         * gst/gst.c:
21377         * gst/gsterror.h:
21378         * tools/gst-inspect.c: (main):
21379         * tools/gst-launch.c: (main):
21380         * tools/gst-run.c: (main):
21381         * tools/gst-xmlinspect.c: (main):
21382           fix GOption context leaks
21383           doc fixes
21384
21385 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21386
21387         * gst/gstbus.c:
21388           use HAVE_UNISTD_H
21389         * win32/common/config.h:
21390           update config
21391         * win32/vs6/grammar.dsp:
21392         * win32/vs6/libgstelements.dsp:
21393         * win32/vs6/libgstreamer.dsp:
21394           update vs6 files
21395
21396 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21397
21398         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21399         * gst/base/gstbasesrc.c: (gst_base_src_query):
21400           fix more guint64<->gdouble conversions
21401
21402 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21403
21404         * Makefile.am:
21405           add win32-update target
21406         * win32/common/gstconfig.h:
21407         * win32/common/gstenumtypes.c:
21408         * win32/common/gstenumtypes.h:
21409         * win32/common/gstversion.h:
21410           add files that visual studio can't generate
21411
21412 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21413
21414         * Makefile.am:
21415           add a win32-update target
21416         * configure.ac:
21417
21418 2005-10-12  Wim Taymans  <wim@fluendo.com>
21419
21420         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21421         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21422         * gst/gstelement.c: (gst_element_commit_state),
21423         (gst_element_set_state):
21424         Protect flags with proper lock.
21425         unref provided cached clock in dispose.
21426
21427 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21428
21429         * gst/gst.c:
21430         * gst/gstminiobject.h:
21431         * gst/gstpad.h:
21432         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21433           removed unused flags from miniobject
21434           doc fixes
21435
21436 2005-10-12  Wim Taymans  <wim@fluendo.com>
21437
21438         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21439         (gst_file_sink_event), (gst_file_sink_render):
21440         Flush before seeking.
21441
21442 2005-10-12  Andy Wingo  <wingo@pobox.com>
21443
21444         * gst/gst.c (gst_init_check): Ignore unknown options, as has
21445         always been the case.
21446
21447 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21448
21449         * check/gst/gstbin.c: (GST_START_TEST):
21450         * docs/gst/gstreamer-sections.txt:
21451         * gst/base/gstbasesink.c: (gst_base_sink_init):
21452         * gst/base/gstbasesrc.c: (gst_base_src_init),
21453         (gst_base_src_get_range), (gst_base_src_check_get_range),
21454         (gst_base_src_start), (gst_base_src_stop):
21455         * gst/base/gstbasesrc.h:
21456         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21457         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21458         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21459         (bin_bus_handler):
21460         * gst/gstbin.h:
21461         * gst/gstbuffer.h:
21462         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21463         * gst/gstbus.h:
21464         * gst/gstelement.c: (gst_element_is_locked_state),
21465         (gst_element_set_locked_state), (gst_element_commit_state),
21466         (gst_element_set_state):
21467         * gst/gstelement.h:
21468         * gst/gstindex.c: (gst_index_init):
21469         * gst/gstindex.h:
21470         * gst/gstminiobject.h:
21471         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21472         (gst_object_set_parent):
21473         * gst/gstobject.h:
21474         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21475         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21476         * gst/gstpad.h:
21477         * gst/gstpadtemplate.h:
21478         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21479         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21480         * gst/gstpipeline.h:
21481         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21482         (gst_file_index_commit):
21483         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21484         * testsuite/pad/link.c: (gst_test_src_init),
21485         (gst_test_filter_init), (gst_test_sink_init):
21486         * testsuite/states/locked.c: (main):
21487           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21488           moved bitshift from macro to enum definition
21489
21490 2005-10-12  Wim Taymans  <wim@fluendo.com>
21491
21492         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21493         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21494         (gst_file_sink_render):
21495         Some more debugging info.
21496
21497 2005-10-12  Wim Taymans  <wim@fluendo.com>
21498
21499         * docs/design/part-states.txt:
21500         * tools/gst-launch.c: (main):
21501         Some doc updates.
21502         Revert non-intentional change.
21503
21504 2005-10-12  Wim Taymans  <wim@fluendo.com>
21505
21506         * check/gst/gstbin.c: (GST_START_TEST):
21507         * check/gst/gstelement.c: (GST_START_TEST):
21508         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21509         * check/gst/gstghostpad.c: (GST_START_TEST):
21510         * check/gst/gstpipeline.c: (GST_START_TEST):
21511         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21512         * check/states/sinks.c: (GST_START_TEST):
21513         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21514         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21515         (gst_bin_remove_func), (gst_bin_get_state_func),
21516         (gst_bin_recalc_state), (gst_bin_change_state_func),
21517         (bin_bus_handler):
21518         * gst/gstelement.c: (gst_element_get_state_func),
21519         (gst_element_get_state), (gst_element_abort_state),
21520         (gst_element_commit_state), (gst_element_set_state),
21521         (gst_element_change_state), (gst_element_change_state_func):
21522         * gst/gstelement.h:
21523         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21524         (gst_pipeline_provide_clock_func):
21525         * gst/gstutils.c: (gst_element_link_pads_filtered):
21526         * tools/gst-launch.c: (main):
21527         * tools/gst-typefind.c: (main):
21528         Use GstClockTime in _get_state() instead of GTimeVal.
21529         Remove old code in gstutils.c
21530
21531 2005-10-12  Andy Wingo  <wingo@pobox.com>
21532
21533         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21534         removed.
21535
21536         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21537         there is no task. Shouldn't affect any code, as nothing in our
21538         plugins checks this return value.
21539         (gst_pad_stop_task): Also take the stream lock if the pad has no
21540         task. Docs updated.
21541
21542 2005-10-12  Wim Taymans  <wim@fluendo.com>
21543
21544         * gst/gstpad.c: (pre_activate), (post_activate),
21545         (gst_pad_activate_pull), (gst_pad_activate_push):
21546         Cleanup activation code. Reset old state if
21547         activation failed.
21548
21549 2005-10-12  Wim Taymans  <wim@fluendo.com>
21550
21551         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21552         (gst_base_sink_change_state):
21553         No need to prerol after receiving EOS.
21554
21555         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21556         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21557         * gst/elements/gstidentity.c: (gst_identity_event):
21558         Print events more verbosely.
21559
21560 2005-10-12  Wim Taymans  <wim@fluendo.com>
21561
21562         * check/Makefile.am:
21563         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21564         * check/states/sinks2.c:
21565         Moved sinks2 testcode in sinks check.
21566
21567         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21568         (gst_bin_remove_func), (gst_bin_recalc_state),
21569         (gst_bin_change_state_func), (bin_bus_handler):
21570         Fix potential race condition when _get_state() iterated over an
21571         ASYNC element right before it posted a state completion.
21572
21573         * gst/gstclock.h:
21574         Do proper cast here.
21575
21576         * gst/gstevent.c: (gst_event_new_newsegment),
21577         (gst_event_parse_newsegment):
21578         A playback rate of 0.0 is not allowed.
21579
21580 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21581
21582         * win32/common/config.h:
21583         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21584         (_trewinddir), (_ttelldir), (_tseekdir):
21585         * win32/common/dirent.h:
21586         * win32/common/gtchar.h:
21587         * win32/common/libgstbase.def:
21588         * win32/common/libgstreamer.def:
21589         * win32/vs6/grammar.dsp:
21590         * win32/vs6/gst_inspect.dsp:
21591         * win32/vs6/gst_launch.dsp:
21592         * win32/vs6/gstreamer.dsw:
21593         * win32/vs6/libgstbase.dsp:
21594         * win32/vs6/libgstelements.dsp:
21595         * win32/vs6/libgstreamer.dsp:
21596           Visual Studio 6 project files, and a new common directory.
21597           Phear.
21598
21599 2005-10-11  Wim Taymans  <wim@fluendo.com>
21600
21601         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21602         (gst_base_sink_do_sync), (gst_base_sink_query),
21603         (gst_base_sink_change_state):
21604         * gst/base/gstbasesink.h:
21605         Correctly parse newsegment info.
21606
21607 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21608
21609         * gst/gst.c: (init_post):
21610           split plugin paths correctly
21611
21612 2005-10-11  Wim Taymans  <wim@fluendo.com>
21613
21614         * check/gst/gstevent.c: (GST_START_TEST):
21615         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21616         (gst_base_sink_change_state):
21617         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21618         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21619         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21620         * gst/gstevent.c: (gst_event_new_newsegment),
21621         (gst_event_parse_newsegment):
21622         * gst/gstevent.h:
21623         Added extra flag to newsegment for future API freeze.
21624         Updated check and base elements.
21625
21626 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21627
21628         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21629         (gst_collectpads_add_pad), (gst_collectpads_pop),
21630         (gst_collectpads_event), (gst_collectpads_chain):
21631         * gst/base/gstcollectpads.h: Handle EOS correctly.
21632
21633 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21634
21635         * tools/gst-launch.c: (main):
21636           more null protecting
21637
21638 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21639
21640         * gst/gst-i18n-lib.h:
21641           check for ENABLE_NLS, not GETTEXT_PACKAGE
21642         * gst/gstregistry.c: (gst_registry_add_plugin),
21643         (gst_registry_scan_path_level),
21644         (_gst_registry_remove_cache_plugins):
21645           protect possibly NULL strings
21646         * gst/parse/types.h:
21647           config.h already included before
21648         * tools/gst-inspect.c: (main):
21649           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21650           check for ENABLE_NLS, not GETTEXT_PACKAGE
21651         * tools/gst-launch.c: (main):
21652           check for ENABLE_NLS, not GETTEXT_PACKAGE
21653
21654 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21655
21656         * configure.ac:
21657           if we don't have glib, fail before testing 2.8
21658         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21659           fix a leak, should fix plugins-base testsuite
21660
21661 2005-10-11  Andy Wingo  <wingo@pobox.com>
21662
21663         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21664         take the mode we're going to as an arg. Go head and set the mode
21665         and flushing flags now, so that if the activate function starts a
21666         thread all the flags will be in the right state.
21667         (post_activate): Renamed also. Just handle making sure streaming
21668         finishes for the deactivation case, and setting the deactivated
21669         mode.
21670         (gst_pad_set_active): Complain loudly if deactivation fails.
21671         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21672         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21673         remove the terrible hack.
21674
21675 2005-10-11  Wim Taymans  <wim@fluendo.com>
21676
21677         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21678         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21679         (gst_bin_recalc_state), (gst_bin_change_state_func),
21680         (gst_bin_dispose), (bin_bus_handler):
21681         * gst/gstbin.h:
21682         Prepare to make current EOS message queue more generic.
21683         Fix some typos.
21684
21685         * gst/gstevent.c: (gst_event_new_newsegment),
21686         (gst_event_parse_newsegment):
21687         * gst/gstevent.h:
21688         Rename base to stream_time.
21689
21690         * gst/gstmessage.h:
21691         Fix typo in docs.
21692
21693 2005-10-11  Wim Taymans  <wim@fluendo.com>
21694
21695         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21696         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21697         (gst_bin_change_state_func), (bin_bus_handler):
21698         * gst/gstbin.h:
21699         Work on proper clock selection.
21700
21701 2005-10-11  Edward Hervey  <edward@fluendo.com>
21702
21703         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21704         * libs/gst/controller/gstcontroller.h:
21705         Added GList* version of _remove_properties() in order to be able to wrap
21706         it in bindings.
21707
21708 2005-10-11  Wim Taymans  <wim@fluendo.com>
21709
21710         * docs/design/part-states.txt:
21711         Some more docs.
21712
21713         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21714         (gst_bin_change_state_func), (bin_bus_handler):
21715         Doc updates. Don't distribute the same clock over and over again.
21716
21717         * gst/gstclock.c:
21718         * gst/gstclock.h:
21719         Doc updates.
21720
21721         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21722         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21723         (gst_pad_send_event):
21724         * gst/gstpad.h:
21725         Make probe emission threadsafe again.
21726         Register quarks and move _get_name() from utils.
21727         Doc updates.
21728
21729         * gst/gstpipeline.c: (gst_pipeline_class_init),
21730         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21731         Only redistribute the clock of it changed.
21732
21733         * gst/gstsystemclock.h:
21734         Doc updates. 
21735
21736         * gst/gstutils.c:
21737         * gst/gstutils.h:
21738         Moved the _flow_get_name() to GstPad.
21739
21740 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21741
21742         * check/gst-libs/gdp.c: (GST_START_TEST):
21743         * check/gst/gstcaps.c: (GST_START_TEST):
21744         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21745         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21746         (gst_dp_packet_from_caps):
21747           fix more valgrind warnings before turning up the heat
21748
21749 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21750
21751         * gst/parse/grammar.y:
21752           some cleanup before the hacking
21753
21754 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21755
21756         * gst/base/gstbasesrc.c: (gst_base_src_query):
21757           use conversions
21758         * gst/gstutils.c: (gst_guint64_to_gdouble),
21759         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21760         * gst/gstutils.h:
21761           externalize, basesrc uses it
21762           obviously the implementation needs testing
21763
21764 2005-10-10  Wim Taymans  <wim@fluendo.com>
21765
21766         * tests/sched/Makefile.am:
21767         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21768         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21769
21770 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21771
21772         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21773           apparently converting from guint64 to double is not implemented
21774           on MSVC
21775
21776 2005-10-10  Wim Taymans  <wim@fluendo.com>
21777
21778         * check/Makefile.am:
21779         * check/generic/states.c: (GST_START_TEST):
21780         * check/gst/gstbin.c: (GST_START_TEST):
21781         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21782         * check/states/sinks.c: (GST_START_TEST):
21783         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21784         (main):
21785         Check fixes, use API as stated in design docs, remove hacks.
21786
21787         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21788         (gst_base_sink_change_state):
21789         Catch stopping our task while we're shutting down.
21790
21791         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21792         (gst_bin_remove_func), (gst_bin_get_state_func),
21793         (gst_bin_recalc_state), (gst_bin_change_state_func),
21794         (bin_bus_handler):
21795         * gst/gstbin.h:
21796         * gst/gstelement.c: (gst_element_init),
21797         (gst_element_get_state_func), (gst_element_abort_state),
21798         (gst_element_commit_state), (gst_element_lost_state),
21799         (gst_element_set_state), (gst_element_change_state),
21800         (gst_element_change_state_func):
21801         * gst/gstelement.h:
21802         New state change algorithm (see #318116)
21803
21804         * gst/gstpipeline.c: (gst_pipeline_class_init),
21805         (gst_pipeline_init), (gst_pipeline_set_property),
21806         (gst_pipeline_get_property), (do_pipeline_seek),
21807         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21808         * gst/gstpipeline.h:
21809         Remove crude state change hacks.
21810
21811         * gst/gstutils.h:
21812         Remove crude hacks.
21813
21814         * tools/gst-launch.c: (main):
21815         Fixes for state change. Needs some more work to fully use the
21816         new stuff.
21817
21818 2005-10-10  Andy Wingo  <wingo@pobox.com>
21819
21820         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21821
21822         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21823         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21824         issue.
21825
21826 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21827
21828         * gst/gstiterator.c: (gst_iterator_new):
21829           Fix my previous commit: GTypes passed to gst_iterator_new()
21830           can be fundamental types.
21831
21832 2005-10-10  Wim Taymans  <wim@fluendo.com>
21833
21834         * gst/gstelement.c: (gst_element_iterate_pad_list),
21835         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21836         (gst_element_iterate_sink_pads):
21837         Use src/sink pads lists for the respective iterators instead
21838         of filtering.
21839
21840 2005-10-10  Andy Wingo  <wingo@pobox.com>
21841
21842         Merged in popt removal + GOption addition patch from Ronald, bug
21843         #169772.
21844
21845         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21846         GstElement macros around, remove popt-related symbols, add goption
21847         stuff.
21848
21849         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21850         
21851         * docs/gst/Makefile.am:
21852         * docs/libs/Makefile.am: No POPT_CFLAGS.
21853         
21854         * examples/manual/Makefile.am:
21855         * docs/manual/basics-init.xml: Doc updates with an example.
21856         
21857         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21858         (gst_init), (parse_one_option), (parse_goption_arg):
21859         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21860         bit of hand merging and debugging to get the GOption stuff working
21861         tho.
21862         
21863         * tests/Makefile.am:
21864         * tools/Makefile.am:
21865         * tools/gst-inspect.c: (main):
21866         * tools/gst-launch.c: (main):
21867         * tools/gst-run.c: (main):
21868         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21869
21870 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21871
21872         * gst/gstiterator.c: (gst_iterator_new):
21873           Add assertions to make sure passed GType is likely to really
21874           be a GType (as the compiler won't catch it if the size and
21875           GType arguments get mixed up, see #318447).
21876
21877 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21878
21879         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21880
21881         * gst/gstbin.c: (gst_bin_iterate_sorted):
21882           Pass GType and size arguments to gst_iterator_new() in the right
21883           order (maybe we should make _new() take the GType as first argument
21884           just like _new_list()?) (#318447).
21885           
21886
21887 2005-10-10  Wim Taymans  <wim@fluendo.com>
21888
21889         * gst/gstelement.c: (gst_element_finalize):
21890         And free the GStaticRecMutex too
21891
21892 2005-10-10  Andy Wingo  <wingo@pobox.com>
21893
21894         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21895         Allocate and free the mutex properly.
21896
21897         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21898         New macros.
21899         (GstElement): The state_lock is now recursive. Rebuild your
21900         plugins, suckers. Old macros adapted.
21901
21902         * docs/gst/gstreamer-sections.txt: Doc updates.
21903
21904         * gst/gstutils.h:
21905         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21906         (g_static_rec_cond_wait): Ported from state changes patch, while
21907         we wait on bug #317802 to be solved in a well-distributed GLib.
21908
21909         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21910         gst_element_change_state, variable name changes.
21911         (gst_element_change_state): Split out of gst_element_set_state in
21912         preparation for the state change merge. Doesn't pay attention to
21913         the 'transition' argument.
21914         (gst_element_set_state): Updates, hopefully purely cosmetic.
21915         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21916         state change patch.
21917         (gst_element_get_state_func): Renamed from get_state, cosmetic
21918         changes.
21919
21920 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21921
21922         * gst/elements/gstelements.c:
21923         * win32/GStreamer.vcproj:
21924         * win32/config.h:
21925         * win32/dirent.c: (_tseekdir):
21926         * win32/gst-inspect.vcproj:
21927         * win32/gst-launch.vcproj:
21928         * win32/gstconfig.h:
21929         * win32/gstelements.vcproj:
21930         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21931         * win32/gstreamer.def:
21932         * win32/msvc71.sln:
21933           updates for the win32 build (patch from Sebastien Moutte)
21934
21935 2005-10-10  Andy Wingo  <wingo@pobox.com>
21936
21937         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21938         gst_bin_get_state, cleaned up (but no logic changes).
21939         (bin_element_is_sink): Comment updates.
21940         (sink_iterator_filter): Remove needless cast.
21941         (gst_bin_iterate_sinks): Doc update.
21942         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21943         cleaned up (but no logic changes).
21944
21945         * check/states/sinks.c (test_src_sink): Cleanups from the state
21946         change patch.
21947         (test_livesrc_sink): Sync on the state.
21948
21949         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21950         the state change patch.
21951
21952         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21953         change patch.
21954
21955         * check/gst/gstbin.c: Merge in some style fixes and additional
21956         checks from Wim's state change patch.
21957
21958 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21959
21960         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21961         (gst_type_find_helper):
21962           Check whether we have the requested data already in our list of
21963           cached buffers before pulling a new buffer; also make the buffer
21964           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21965
21966 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21967
21968         * gst/gstcaps.c:
21969         * gst/gstevent.c:
21970           doc updates
21971         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21972           don't use long long, it's not portable.  Replacing with
21973           gint64 seems to work; let's hope no skeletons fall out of the closet.
21974
21975 2005-10-10  Andy Wingo  <wingo@pobox.com>
21976
21977         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21978
21979 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21980
21981         * docs/gst/gstreamer-sections.txt:
21982         * gst/gstevent.c:
21983         * gst/gstevent.h:
21984         * gst/gstinfo.c:
21985         * gst/gstinfo.h:
21986         * gst/gstmessage.c: (gst_message_parse_state_changed):
21987         * gst/gstpad.c:
21988         * gst/gstpad.h:
21989           more docs, fix compilation
21990
21991 2005-10-09  Philippe Khalaf <burger@speedy.org>
21992         * gst/gstmessage.c:
21993           Fixed a few forgotten variables on previous commit
21994
21995 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21996
21997         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21998           Fix evil typefind crasher: getrange() might return a short
21999           buffer at the end of a file, but gst_type_find_peek() must
22000           either return the full data as requested or NULL, but
22001           never a short buffer.
22002
22003 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22004
22005         * gst/gstmessage.c: (gst_message_new_state_changed),
22006         (gst_message_parse_state_changed):
22007         * gst/gstmessage.h:
22008           don't use "new", it's a C++ keyword
22009
22010 2005-10-08  Wim Taymans  <wim@fluendo.com>
22011
22012         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
22013         * gst/gstelement.c: (gst_element_post_message):
22014         * gst/gstpipeline.c: (gst_pipeline_change_state):
22015         Small docs and debug updates.
22016
22017 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
22018
22019         * docs/gst/gstreamer-sections.txt:
22020         * gst/gstelementfactory.c:
22021         * gst/gstevent.c:
22022         * gst/gsttaglist.c:
22023           more docs
22024
22025 2005-10-08  Wim Taymans  <wim@fluendo.com>
22026
22027         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
22028         (gst_bin_dispose), (bin_bus_handler):
22029         Fix typos, add comments.
22030         Clear EOS list when going to PAUSED from any direction and do it
22031         in a threadsafe way.
22032         Get base time in a threadsafe way too.
22033         Fix confusing debug in the change_state function.
22034         Various other small cleanups.
22035         
22036         * gst/gstelement.c: (gst_element_post_message):
22037         Fix very verbose bus posting code.
22038
22039         * gst/gstpipeline.c: (gst_pipeline_class_init),
22040         (gst_pipeline_set_property), (gst_pipeline_get_property),
22041         (gst_pipeline_change_state):
22042         Small ARG_ -> PROP_ cleanup
22043
22044 2005-10-08  Wim Taymans  <wim@fluendo.com>
22045
22046         * gst/gstbin.c: (is_eos), (bin_bus_handler):
22047         Do a less CPU demanding EOS check because we can.
22048
22049 2005-10-08  Wim Taymans  <wim@fluendo.com>
22050
22051         * libs/gst/dataprotocol/dataprotocol.c:
22052         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
22053         (gst_dp_packet_from_event):
22054         * libs/gst/dataprotocol/dataprotocol.h:
22055         * libs/gst/dataprotocol/dp-private.h:
22056         It's about time we bump the version number.
22057         Since event types don't fit in the guint8 anymore describing
22058         the payload type, make payload type 16 bits wide.
22059
22060 2005-10-08  Wim Taymans  <wim@fluendo.com>
22061
22062         * docs/design/part-TODO.txt:
22063         * docs/design/part-clocks.txt:
22064         * docs/design/part-events.txt:
22065         * docs/design/part-gstbin.txt:
22066         * docs/design/part-gstelement.txt:
22067         * docs/design/part-gstpipeline.txt:
22068         * docs/design/part-live-source.txt:
22069         * docs/design/part-messages.txt:
22070         * docs/design/part-overview.txt:
22071         * docs/design/part-states.txt:
22072         Many doc updates.
22073
22074 2005-10-08  Wim Taymans  <wim@fluendo.com>
22075
22076         * gst/gstevent.c:
22077         * gst/gstevent.h:
22078         Fix event quark registration.
22079         Add some space between events so we can insert them in the
22080         right groups.
22081
22082 2005-10-08  Wim Taymans  <wim@fluendo.com>
22083
22084         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22085         (gst_base_sink_handle_buffer):
22086         Better log message.
22087
22088         * gst/gstbus.h:
22089         * gst/gstelement.h:
22090         More docs.
22091
22092         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22093         (gst_queue_set_property), (gst_queue_get_property):
22094         * gst/gstqueue.h:
22095         Remove old unused properties.
22096
22097 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
22098         * docs/gst/gstreamer-sections.txt:
22099         * gst/gstmessage.c:
22100         * gst/gstmessage.h:
22101         * gst/gstminiobject.c:
22102         * gst/gstminiobject.h:
22103         * gst/gstobject.h:
22104         * gst/gstpad.h:
22105         * gst/gstutils.h:
22106           lots of new docs and doc fixes
22107
22108 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22109
22110         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
22111         * gst/gstplugin.h:
22112         * gst/gstregistry.c: (gst_registry_lookup_locked),
22113         (gst_registry_scan_path_level):
22114         * gst/gstregistryxml.c: (load_plugin):
22115           Only ever load one plugin for a given plugin basename.
22116           This ensures correct overriding of GST_PLUGIN_PATH over
22117           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
22118           system installed plugins.
22119
22120 2005-10-08  Wim Taymans  <wim@fluendo.com>
22121
22122         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22123         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
22124         Prepare for doing QOS.
22125
22126 2005-10-08  Wim Taymans  <wim@fluendo.com>
22127
22128         * check/gst/gstbin.c: (GST_START_TEST):
22129         * check/pipelines/cleanup.c: (GST_START_TEST):
22130         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22131         Allow new clock message too.
22132
22133 2005-10-08  Wim Taymans  <wim@fluendo.com>
22134
22135         * gst/gstmessage.c: (gst_message_new_error),
22136         (gst_message_new_warning), (gst_message_new_tag),
22137         (gst_message_new_state_changed), (gst_message_new_clock_provide),
22138         (gst_message_new_clock_lost), (gst_message_new_new_clock),
22139         (gst_message_new_segment_start), (gst_message_new_segment_done),
22140         (gst_message_parse_state_changed),
22141         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
22142         (gst_message_parse_new_clock):
22143         * gst/gstmessage.h:
22144         Also carry the clock in question.
22145
22146 2005-10-08  Wim Taymans  <wim@fluendo.com>
22147
22148         * gst/gstmessage.c: (gst_message_new_custom),
22149         (gst_message_new_eos), (gst_message_new_error),
22150         (gst_message_new_warning), (gst_message_new_tag),
22151         (gst_message_new_state_changed), (gst_message_new_clock_provide),
22152         (gst_message_new_new_clock), (gst_message_new_segment_start),
22153         (gst_message_new_segment_done), (gst_message_parse_state_changed),
22154         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22155         * gst/gstmessage.h:
22156         Clean up.
22157         Added clock related messages.
22158
22159         * gst/gstpipeline.c: (gst_pipeline_change_state):
22160         Post message when the clock changed.
22161
22162         * tools/gst-launch.c: (event_loop):
22163         Print new clock.
22164
22165 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
22166
22167         * tools/gst-inspect.c: (print_element_properties_info):
22168           Can't pass NULL strings to g_print() on windows.
22169
22170 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22171
22172         * docs/Makefile.am:
22173         * docs/gst/Makefile.am:
22174         * docs/gst/gstreamer-docs.sgml:
22175         * docs/gst/running.xml:
22176         * docs/version.entities.in:
22177           add a chapter on running GStreamer.
22178           document GST_DEBUG and GST_PLUGIN* env vars
22179
22180 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22181
22182         * Makefile.am:
22183           remove include dir
22184         * configure.ac:
22185           remove PLUGINS_BUILDDIR stuff
22186         * gst/gst.c: (init_post):
22187           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22188         * idiottest.mak:
22189           remove, it was condescending and not needed
22190
22191 2005-10-08  Wim Taymans  <wim@fluendo.com>
22192
22193         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22194         (gst_base_sink_handle_object), (gst_base_sink_event),
22195         (gst_base_sink_wait), (gst_base_sink_handle_event),
22196         (gst_base_sink_change_state):
22197         * gst/base/gstbasesink.h:
22198         Repost EOS message while going to PLAYING if still EOS.
22199         Make sure that when receiving a FLUSH_START we don't attempt
22200         to sync on the clock anymore.
22201
22202 2005-10-08  Wim Taymans  <wim@fluendo.com>
22203
22204         * tools/gst-launch.c: (event_loop):
22205         Better message printout.
22206
22207 2005-10-08  Wim Taymans  <wim@fluendo.com>
22208
22209         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22210         (gst_bin_child_proxy_get_children_count):
22211         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22212         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22213         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22214         (gst_child_proxy_set_valist):
22215         * gst/parse/grammar.y:
22216         Make ChildProxy threadsafe and fix mem leaks.
22217
22218 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22219
22220         * gst/gst.c: (init_post):
22221           debug the GST_PLUGIN_ env vars
22222
22223 2005-10-08  Wim Taymans  <wim@fluendo.com>
22224
22225         * check/gst/gstbin.c: (GST_START_TEST):
22226         * check/gst/gstmessage.c: (GST_START_TEST):
22227         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22228         * gst/gstelement.c: (gst_element_commit_state),
22229         (gst_element_lost_state):
22230         * gst/gstmessage.c: (gst_message_new_state_changed),
22231         (gst_message_parse_state_changed):
22232         * gst/gstmessage.h:
22233         * tools/gst-launch.c: (event_loop):
22234         Added extra field to STATE_CHANGE message with the pending
22235         state, which will be different from the new state soon.
22236
22237 2005-10-08  Wim Taymans  <wim@fluendo.com>
22238
22239         * gst/gstbus.c: (gst_bus_pop):
22240         * gst/gstclock.c:
22241         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22242         Small cleanups and doc updates.
22243
22244 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22245
22246         * gst/gst.c: (init_pre):
22247         * gst/gstbin.c: (gst_bin_add_func):
22248           log distributing clocks and base time
22249         * gst/gstregistry.c: (gst_registry_add_plugin),
22250         (gst_registry_scan_path_level), (gst_registry_scan_path):
22251           clean up the debugging output a little
22252         * gst/gstutils.c: (gst_element_state_get_name):
22253           warn about a memleak (I've actually seen this be used, though
22254           it was probably a bug)
22255
22256 2005-10-07  Wim Taymans  <wim@fluendo.com>
22257
22258         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22259         (gst_base_src_init), (gst_base_src_default_newsegment),
22260         (gst_base_src_newsegment), (gst_base_src_do_seek),
22261         (gst_base_src_loop), (gst_base_src_start):
22262         * gst/base/gstbasesrc.h:
22263         Make the newsegment event customizable by subclasses.
22264
22265 2005-10-07  Wim Taymans  <wim@fluendo.com>
22266
22267         * gst/gstevent.c: (gst_event_new_buffersize),
22268         (gst_event_parse_buffersize):
22269         * gst/gstevent.h:
22270         New event for future idea.
22271
22272 2005-10-07  Andy Wingo  <wingo@pobox.com>
22273
22274         * gst/gstelement.c (gst_element_post_message): Doc update.
22275
22276         * docs/gst/gstreamer-sections.txt: Update.
22277
22278         * gst/gstmessage.c (gst_message_new_application): Made into a
22279         function like honest API calls.
22280         (gst_message_new_element): New message type.
22281
22282         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22283
22284         * check/elements/fakesrc.c (test_no_preroll): New check, checks
22285         that setting a live fakesrc to PAUSED returns NO_PREROLL both
22286         times.
22287
22288         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22289         NO_PREROLL from gst_element_change_state to fall through.
22290
22291 2005-10-07  Wim Taymans  <wim@fluendo.com>
22292
22293         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22294         (gst_ghost_pad_do_activate_push):
22295         Activating a ghostpad with no internal pad in push mode
22296         is ok.
22297
22298 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22299
22300         * gst/gstobject.h:
22301           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22302           Fixes compilation on Windows.
22303
22304 2005-10-07  Michael Smith <msmith@fluendo.com>
22305
22306         * tools/gst-inspect.c:
22307           Print out feature and plugin count at the end when printing out
22308           all features.
22309
22310 2005-10-04  Michael Smith <msmith@fluendo.com>
22311
22312         * gst/gsterror.c: (_gst_stream_errors_init):
22313           Add another error string used in a few existing plugins.
22314
22315         * gst/gstplugin.c:
22316         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22317         * tools/gst-inspect.c: (print_element_info):
22318           When a feature disappears from a plugin (and the feature exists in
22319           the cached registry file), things went horribly wrong. This isn't a
22320           complete fix, we should actually be removing the 'missing' features
22321           from the features list when we load the actual plugin. That's not
22322           yet implemented. 
22323
22324 2005-10-04  Johan Dahlin  <johan@gnome.org>
22325
22326         * check/gst/gstiterator.c: (GST_START_TEST):
22327         * gst/gstbin.c: (gst_bin_iterate_elements),
22328         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22329         * gst/gstelement.c: (gst_element_iterate_pads):
22330         * gst/gstformat.c: (gst_format_iterate_definitions):
22331         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22332         (gst_iterator_new_list), (gst_iterator_filter):
22333         * gst/gstiterator.h:
22334         * gst/gstquery.c: (gst_query_type_iterate_definitions):
22335         Add a GType to GstIterator, update callsites and tests.
22336
22337 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22338
22339         * gst/gstpad.c: (gst_pad_event_default_dispatch):
22340           give events a chance to be handled by event probes when the pad
22341           is not linked
22342
22343 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22344
22345         * gst/gstevent.c: (gst_event_type_get_name),
22346         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22347         * gst/gstevent.h:
22348           add string representations for event types
22349
22350 2005-10-06  Wim Taymans  <wim@fluendo.com>
22351
22352         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22353         Don't use NULL pointers.
22354
22355 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22356
22357         * gst/gst_private.h:
22358         * gst/gstbus.c:
22359         * gst/gstelement.c:
22360         * gst/gstinfo.c:
22361         * gst/gstpluginfeature.c:
22362           widen the debug category in output to fit the biggest one we have
22363           add a bus category and use it
22364           play with the colors
22365           fix up some categories
22366
22367 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22368
22369         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22370           add push activation of sink ghost pads.
22371           Andye, please verify
22372
22373 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22374
22375         * gst/gstutils.c: (gst_element_link_pads):
22376           fix a bug in the case where neither element has a pad
22377         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22378           add a test for that case
22379
22380 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22381
22382         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22383           emit have-data before checking for peers.  This allows
22384           for probe handlers to connect elements.  This helps autopluggers.
22385         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22386         (gst_pad_suite):
22387           add six checks, linked/unlinked with no/true/false probe
22388
22389 2005-10-04  Wim Taymans  <wim@fluendo.com>
22390
22391         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22392         (gst_fake_sink_event), (gst_fake_sink_preroll),
22393         (gst_fake_sink_render), (gst_fake_sink_change_state):
22394         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22395         (gst_fake_src_get_property), (gst_fake_src_create),
22396         (gst_fake_src_stop):
22397         * gst/elements/gstidentity.c: (gst_identity_stop):
22398         Protect last_message with lock.
22399
22400 2005-10-04  Edward Hervey  <edward@fluendo.com>
22401
22402         * gst/gstformat.h: 
22403         Added precision in the comments for GST_FORMAT_DEFAULT
22404
22405 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
22406
22407         * tools/gst-launch.c: (main):
22408           Don't try to run erroneous pipelines.
22409
22410 2005-10-04  Julien MOUTTE  <julien@moutte.net>
22411
22412         * gst/gstbus.c: We don't need this header.
22413
22414 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22415
22416         * configure.ac:
22417           back to development
22418
22419 === release 0.9.3 ===
22420
22421 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22422
22423         * README:
22424         * configure.ac:
22425           Releasing 0.9.3, "Unregistered"
22426
22427 2005-10-03  Andy Wingo  <wingo@pobox.com>
22428
22429         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22430         whereby calling a pad's activatepush() function can start a thread
22431         that starts to push or pull before the pad gets the FLUSHING flag
22432         unset. Hack around it by holding the stream lock until the flag is
22433         set. Need to replace this with a proper solution. Together with
22434         the ghost pad fixes, this fixes mp3 playing/tagreading.
22435
22436         * docs/design/part-gstghostpad.txt: Add a note about activation of
22437         proxy pads outside of ghost pads.
22438
22439         * gst/gstghostpad.c: Implement the ghost pad activation design.
22440
22441 2005-10-02  Andy Wingo  <wingo@pobox.com>
22442
22443         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22444         It is volatile, after all.
22445
22446         * docs/design/part-gstghostpad.txt: Flesh out activation with
22447         ghost pads.
22448
22449         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22450         GST_DEBUG_FUNCPTR.
22451
22452 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22453
22454         * configure.ac:
22455           Fix (unused) AM_CONDITIONAL tests.
22456
22457 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22458
22459         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22460
22461         * gst/gstutils.c: (gst_pad_query_convert):
22462           Add assertion that makes sure src_val is >=0, just like
22463           gst_query_new_convert() has. (#315895)
22464
22465 2005-09-30  Edward Hervey  <edward@fluendo.com>
22466
22467         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22468         Let's not iterate pads we're not interested in, it avoids getting 
22469         sky-high refcounts on sinkpad.
22470
22471 2005-09-30  Wim Taymans  <wim@fluendo.com>
22472
22473         * gst/gstelement.c: (gst_element_set_state),
22474         (gst_element_change_state):
22475         Small tweak, element in ASYNC remains ASYNC.
22476
22477 2005-09-30  Wim Taymans  <wim@fluendo.com>
22478
22479         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22480         Only error is an error.
22481
22482         * gst/gstbin.c: (gst_bin_change_state):
22483         Better debugging.
22484
22485         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22486         Also call pad_block in pad alloc.
22487
22488         * gst/gstutils.c: (gst_flow_get_name):
22489         Better debugging.
22490
22491 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22492
22493         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22494         (gst_base_src_get_range):
22495           Fix documentation typos. Add some more debug info.
22496
22497 2005-09-29  David Schleef  <ds@schleef.org>
22498
22499         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22500           more end-user friendly.
22501         * tools/gst-inspect.c: (main): Check if command-line argument is
22502           a file and attempt to load that file as a plugin.
22503
22504 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22505
22506         * check/gst/gstbin.c:
22507         * check/states/sinks.c:
22508           fix tests for the new warning
22509         * check/gst/gstpipeline.c:
22510           add a test for pipeline and bus interaction
22511         * gst/gstelement.c:
22512           elements should be NULL if they get disposed; add a warning if not
22513
22514 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22515
22516         * gst/gstobject.c:
22517           for 2.6 refcounting, make debug log more correct by printing
22518           the actual refcounts at the time of swap (Wim)
22519
22520 2005-09-29  Andy Wingo  <wingo@pobox.com>
22521
22522         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22523         removes signal watches previously added via
22524         gst_bus_add_signal_watch.
22525         (gst_bus_add_signal_watch): Don't return the source id, just store
22526         it on the bus if there wasn't an id already.
22527
22528         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22529         add_signal_watch and remove_signal_watch.
22530
22531 2005-09-29  Edward Hervey  <edward@fluendo.com>
22532
22533         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22534         Better if we actually iterate the list :)
22535
22536 2005-09-29  Wim Taymans  <wim@fluendo.com>
22537
22538         * check/gst/gstbin.c: (GST_START_TEST):
22539         Change for new bus API.
22540
22541         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22542         (send_messages), (GST_START_TEST), (gstbus_suite):
22543         Change for new bus signal API.
22544
22545         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22546         (gst_bus_source_prepare), (gst_bus_source_check),
22547         (gst_bus_create_watch), (gst_bus_add_watch_full),
22548         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22549         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22550         * gst/gstbus.h:
22551         Remove support for multiple GSources operating on different
22552         message types as it is too complex and unneeded when using
22553         signals.
22554         Added support for receiving signals from the bus.
22555
22556 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22557
22558         * docs/libs/tmpl/gstdataprotocol.sgml:
22559         * docs/manual/advanced-dataaccess.xml:
22560         * gst/elements/gstcapsfilter.c:
22561         * gst/gstutils.c:
22562           rename filter-caps to caps property
22563
22564 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22565
22566         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22567           More robust fraction string parsing.
22568
22569         * docs/pwg/appendix-porting.xml:
22570           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22571
22572 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22573
22574         * gst/gstcaps.c: (gst_caps_do_simplify):
22575           Thou shalt not free a structure and then continue using it
22576           in the next loop iteration.
22577
22578         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22579         (gst_caps_suite):
22580           Add test case for caps simplification.
22581
22582 2005-09-29  Wim Taymans  <wim@fluendo.com>
22583
22584         * check/gst/gstbin.c: (GST_START_TEST):
22585         Oops.
22586
22587 2005-09-29  Wim Taymans  <wim@fluendo.com>
22588
22589         * check/gst/gstbin.c: (GST_START_TEST):
22590         Add bus to bin.
22591
22592         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22593         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22594         (find_element), (gst_bin_sort_iterator_next),
22595         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22596         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22597         (gst_bin_change_state), (gst_bin_dispose):
22598         A bin does not have a bus, it gets the bus from the parent.
22599
22600         * gst/gstelement.c: (gst_element_requires_clock),
22601         (gst_element_provides_clock), (gst_element_is_indexable),
22602         (gst_element_is_locked_state), (gst_element_change_state),
22603         (gst_element_set_bus_func):
22604         Small cleanups.
22605
22606         * gst/gstpipeline.c: (gst_pipeline_class_init),
22607         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22608         The pipeline provides a bus.
22609
22610 2005-09-28  Johan Dahlin  <johan@gnome.org>
22611
22612         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22613         gst_structure_get_enum instead of gst_structure_get_int
22614
22615         * gst/gststructure.c (gst_structure_get_enum): Impl.
22616
22617         * gst/gststructure.h (gst_structure_get_enum): Add
22618
22619         * docs/gst/gstreamer-sections.txt: Ditto
22620
22621         * gst/gstmessage.c (gst_message_new_state_changed): Use
22622         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22623         which does introspection.
22624         Reviewed by Christian Schaller
22625
22626 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22627
22628         * gst/gstinfo.c: (gst_debug_log_default):
22629           don't do dummy g_strdup()s
22630         * libs/gst/controller/gstcontroller.c:
22631         (on_object_controlled_property_changed),
22632         (gst_controlled_property_new), (gst_controller_new_valist),
22633         (gst_controller_new_list),
22634         (gst_controller_remove_properties_valist), (gst_controller_set),
22635         (gst_controller_get), (gst_controller_sync_values),
22636         (gst_controller_get_value_array), (_gst_controller_class_init),
22637         (gst_controller_get_type):
22638         * libs/gst/controller/gstcontroller.h:
22639         * libs/gst/controller/gstinterpolation.c:
22640         (gst_controlled_property_find_timed_value_node):
22641           convert // to /**/ comments
22642
22643 2005-09-28  Wim Taymans  <wim@fluendo.com>
22644
22645         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22646         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22647         (gst_bus_sync_signal_handler):
22648         * gst/gstbus.h:
22649         Added async-message and sync-message signals to the bus.
22650         Added helper BusFunc to emit signals for all posted messages.
22651
22652         * gst/gstmessage.c: (gst_message_type_get_name),
22653         (gst_message_type_to_quark), (gst_message_get_type):
22654         * gst/gstmessage.h:
22655         Register quarks for message names.
22656
22657 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22658
22659         * docs/libs/gstreamer-libs-sections.txt:
22660         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22661         (gst_controller_new_list):
22662         * libs/gst/controller/gstcontroller.h:
22663           added another constructor for language bindings
22664
22665 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22666
22667         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22668           add another check
22669         * gst/gstbus.c:
22670           add some doc
22671         * gst/gstinfo.c: (_gst_debug_init):
22672           slightly more readable color for refcount debugging
22673
22674 2005-09-28  Wim Taymans  <wim@fluendo.com>
22675
22676         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22677         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22678         (find_element), (gst_bin_sort_iterator_next),
22679         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22680         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22681         (gst_bin_change_state), (gst_bin_dispose):
22682         Small doc fixes. get_clock -> provide_clock.
22683
22684         * gst/gstelement.c: (gst_element_class_init),
22685         (gst_element_provides_clock), (gst_element_provide_clock),
22686         (gst_element_get_clock), (gst_element_commit_state),
22687         (gst_element_lost_state):
22688         * gst/gstelement.h:
22689         Make get/set_clock() symetric. Add provide_clock vmethod since
22690         that is actually what this function does.
22691
22692         * gst/gstpipeline.c: (gst_pipeline_class_init),
22693         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22694         (gst_pipeline_get_clock):
22695         get_clock -> provide_clock.
22696
22697 2005-09-28  Andy Wingo  <wingo@pobox.com>
22698
22699         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22700         lieu of real docs...
22701
22702         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22703
22704 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22705
22706         * gst/elements/gstcapsfilter.c:
22707         * gst/elements/gstfakesink.c:
22708         * gst/elements/gstfakesrc.c:
22709         * gst/elements/gstfdsink.c:
22710         * gst/elements/gstfdsrc.c:
22711         * gst/elements/gstfilesink.c:
22712         * gst/elements/gstfilesrc.c:
22713         * gst/elements/gstidentity.c:
22714         * gst/elements/gsttee.c:
22715         * gst/elements/gsttypefindelement.c:
22716           Make element details static.
22717
22718 2005-09-28  Wim Taymans  <wim@fluendo.com>
22719
22720         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22721         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22722         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22723         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22724         (gst_bin_change_state), (gst_bin_dispose):
22725         Some documentation updates.
22726         Clean up dispose handlers.
22727
22728         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22729         * gst/gstpad.c: (gst_pad_dispose):
22730         Clean up dispose handler.
22731
22732         * gst/gstpipeline.c: (gst_pipeline_change_state):
22733         Removed spurious UNLOCK.
22734
22735 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22736
22737         * docs/gst/gstreamer-sections.txt:
22738         * gst/base/gstbasesrc.h:
22739         * gst/gstelement.h:
22740         * gst/gstevent.h:
22741         * gst/gstobject.h:
22742         * gst/gstpad.h:
22743         * gst/gstpipeline.c:
22744         * gst/gstpipeline.h:
22745         * gst/gstutils.h:
22746         * gst/gstxml.h:
22747           added two new functions to the docs
22748                 documents all undocumented GstXXXFlags
22749                 completed some incomplete docs 
22750
22751 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22752
22753         * gst/gstbin.c: (gst_bin_dispose):
22754         * gst/gstelement.c: (gst_element_dispose):
22755           remove now useless and leaky resurrection code in dispose
22756         * gst/base/gstbasesrc.c: (gst_base_src_init):
22757         * gst/gstelementfactory.c: (gst_element_factory_create):
22758         * gst/gstobject.c: (gst_object_set_parent):
22759           add some debugging
22760
22761 2005-09-27  Wim Taymans  <wim@fluendo.com>
22762
22763         * docs/design/part-TODO.txt:
22764         Update TODO.
22765
22766         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22767         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22768         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22769         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22770         (gst_bin_change_state):
22771         * gst/gstelement.h:
22772         Remove element variable, we keep element info in the iterator now.
22773
22774 2005-09-27  Andy Wingo  <wingo@pobox.com>
22775
22776         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22777         values.
22778
22779 2005-09-27  Wim Taymans  <wim@fluendo.com>
22780
22781         * check/gst/gstbin.c: (GST_START_TEST):
22782         Enable check that works now.
22783
22784         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22785         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22786         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22787         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22788         (gst_bin_change_state):
22789         * gst/gstbin.h:
22790         Redid the state change algorithm using a topological sort algo.
22791         Handles all cases correctly.
22792         Exposed iterator for state change order.
22793
22794         * gst/gstelement.h:
22795         Temp storage for state changes. Need to get rid of this soon.
22796
22797 2005-09-27  Wim Taymans  <wim@fluendo.com>
22798
22799         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22800         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22801         (link_fold_func), (gst_pad_proxy_setcaps):
22802         Leak fixes, the fold functions need to unref the passed object and
22803         _get_parent_*() returns ref to parent.
22804
22805 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22806
22807         * check/gst/gstbuffer.c: (test_make_writable):
22808           Plug leak in test case and fix 'make check-valgrind'
22809
22810 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22811
22812         * gst/gstbuffer.c: (gst_subbuffer_init):
22813           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22814           works correctly in all circumstances (we could have just copied
22815           the parent buffer's readonly flag, but conceptually it seems
22816           cleaner to mark all subbuffers as read-only). (based on patch
22817           by Alessandro Decina, #314710).
22818         
22819         * check/gst/gstbuffer.c: (create_read_only_buffer),
22820         (test_make_writable), (test_subbuffer_make_writable),
22821         (gst_test_suite):
22822           Add some tests for gst_buffer_make_writable().
22823
22824 2005-09-27  Wim Taymans  <wim@fluendo.com>
22825
22826         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22827         use gst_object_has_ancestor().
22828
22829         * gst/gstobject.c: (gst_object_has_ancestor):
22830         * gst/gstobject.h:
22831         gst_object_has_ancestor() copied from gstbin.c as it is a
22832         useful function.
22833
22834         * tests/instantiate/create.c: (create_all_elements):
22835         * tests/lat.c: (handoff_src), (handoff_sink):
22836         * tests/sched/runxml.c: (main):
22837         * tests/seeking/seeking1.c: (main):
22838         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22839         (main):
22840         Fix compilation of some tests.
22841
22842 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22843
22844         * gst/gsterror.h:
22845           Remove comment. GST_TYPE_G_ERROR is here to stay,
22846           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22847           (#316961, #300610).
22848
22849 2005-09-26  Wim Taymans  <wim@fluendo.com>
22850
22851         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22852         Added check that shows error in state change order.
22853
22854 2005-09-26  Wim Taymans  <wim@fluendo.com>
22855
22856         * gst/gstbin.c: (gst_bin_change_state):
22857         Make state change function use 3 queues again, we were
22858         adding elements in the wrong order.
22859
22860         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22861         Some debug info,
22862
22863         * gst/gstpad.c: (gst_pad_dispose):
22864         Added some debug info first.
22865
22866 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22867
22868         * docs/design/draft-push-pull.txt:
22869         * docs/design/part-events.txt:
22870         * docs/design/part-overview.txt:
22871         * docs/design/part-scheduling.txt:
22872           Replace all _pull_region() with _pull_range()
22873           
22874 2005-09-26  Andy Wingo  <wingo@pobox.com>
22875
22876         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22877
22878         * check/gst-libs/controller.c: Update for controller api change.
22879
22880         * configure.ac: 
22881         * tests/Makefile.am:
22882         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22883         over by GLib bug 118439.
22884         
22885         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22886         routines to a function.
22887
22888         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22889
22890         * libs/gst/controller/gsthelper.c:
22891         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22892         (gst_object_sync_values): Renamed from sink_values. Ugh.
22893
22894         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22895
22896         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22897         Renamed from controller_key, as it is exported.
22898
22899         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22900
22901 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22902
22903         * gst/Makefile.am:
22904         * gst/gst.h:
22905         * gst/gstpad.h:
22906         * gst/gstpadtemplate.h:
22907         * gst/gstquery.c:
22908         * gst/gstquery.h:
22909         * gst/gstqueryutils.c:
22910         * gst/gstqueryutils.h:
22911           remove queryutils headers after moving the two used functions
22912           to gstquery.  also fixes build problem for gstsiddec
22913
22914 2005-09-26  Michael Smith <msmith@fluendo.com>
22915
22916         * tools/gst-launch.1.in:
22917         Correct documentation in manpage of debug syntax
22918
22919 2005-09-26  Wim Taymans  <wim@fluendo.com>
22920
22921         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22922         (gst_base_src_is_seekable), (gst_base_src_change_state):
22923         Some more debugging info.
22924
22925 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22926
22927         * docs/gst/gstreamer-sections.txt:
22928         * gst/base/gstbasetransform.h:
22929         * gst/gstindex.h:
22930           added more docs
22931
22932 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22933
22934         * docs/gst/.cvsignore:
22935         * docs/gst/tmpl/.cvsignore:
22936         * docs/gst/tmpl/gstpipeline.sgml:
22937         * docs/gst/tmpl/gstplugin.sgml:
22938         * gst/gstpipeline.c:
22939         * gst/gstplugin.c:
22940         * gst/gstplugin.h:
22941           inlined the last two docs files
22942           removed the tmpl directory from cvs (no more conflicts here!)
22943
22944 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22945
22946         * docs/gst/gstreamer-sections.txt:
22947         * docs/gst/tmpl/.cvsignore:
22948         * docs/gst/tmpl/gstpad.sgml:
22949         * docs/gst/tmpl/gstpadtemplate.sgml:
22950         * gst/Makefile.am:
22951         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22952         (gst_pad_finalize), (gst_pad_set_pad_template):
22953         * gst/gstpad.h:
22954         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22955         (gst_pad_template_class_init), (gst_pad_template_init),
22956         (gst_pad_template_dispose), (name_is_valid),
22957         (gst_static_pad_template_get), (gst_pad_template_new),
22958         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22959         (gst_pad_template_pad_created):
22960         * gst/gstpadtemplate.h:
22961           inlined two more docs
22962           factored gstpadtemplate out of gstpad
22963
22964 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22965
22966         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22967         (test_children_state_change_order_semi_sink):
22968           Fix test case: we can't rely on a fixed state change order when
22969           going from READY => PAUSED because the sink might commit its 
22970           new state first when the first buffer created by the source 
22971           reaches the sink before the source has finished its change state.
22972           (Test case still fails at times, see #316856, comment 5 onwards)
22973
22974 2005-09-24  Wim Taymans  <wim@fluendo.com>
22975
22976         * docs/design/part-events.txt:
22977         * docs/design/part-gstbus.txt:
22978         * docs/design/part-gstpipeline.txt:
22979         * docs/design/part-messages.txt:
22980         * docs/design/part-overview.txt:
22981         * docs/design/part-segments.txt:
22982         * gst/gstbin.c:
22983         * gst/gstbuffer.c:
22984         * gst/gstclock.c:
22985         * gst/gstelement.c:
22986         * gst/gstevent.c:
22987         * gst/gstfilter.c:
22988         * gst/gstiterator.c:
22989         Various documentation updates.
22990
22991 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22992
22993         * gst/gstclock.h:
22994           Well, that's embarassing.  Luckily we weren't using
22995           GST_CLOCK_DIFF anywhere.
22996
22997 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22998
22999         * common/gtk-doc.mak:
23000           don't fail on building XML, FC4 slave shows a bunch of doc
23001           missing bits that I don't get
23002         * gst/gstpad.c:
23003         * gst/gstpipeline.c:
23004         * gst/gststructure.c:
23005           some doc updates
23006
23007 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
23008
23009         * docs/design/part-gstbin.txt:
23010         * docs/design/part-gstbus.txt:
23011         * gst/gstbus.c:
23012           Add blurb about how the bus goes into flushing mode and
23013           drops all messages when its bin goes from READY into NULL 
23014           state.
23015
23016 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23017
23018         * docs/gst/gstreamer-sections.txt:
23019         * gst/gststructure.c: (gst_structure_get_clock_time):
23020         * gst/gststructure.h:
23021           add a method to get a GstClockTime out of a structure
23022
23023 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
23024
23025         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23026         (test_children_state_change_order_semi_sink), (gst_bin_suite):
23027           Added test to check state change order in bins (can still be made
23028           to fail here under heavy disk load; bails out with 'Push on pad
23029           fakesink:sink0, but it was not activated in push mode').
23030
23031         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
23032           Fix state change order when there is only a semi sink (#316856)
23033
23034         * gst/gstbus.c: (gst_bus_class_init):
23035           Use _class_peek_parent(), not _class_ref(); fix docs to say
23036           'default main context' instead of 'mainloop' where that is
23037           what's meant.
23038
23039         * gst/gstelement.c: (gst_element_commit_state),
23040         (gst_element_set_state):
23041           Fix typos in debug messages
23042
23043 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23044
23045         * docs/README:
23046         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
23047         * gst/gstpluginfeature.c:
23048         * gst/gstutils.c:
23049           various doc updates
23050         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23051           change an assert into an error until it gets fixed properly
23052
23053 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
23054
23055         * docs/gst/gstreamer-sections.txt:
23056         * docs/gst/tmpl/.cvsignore:
23057         * docs/gst/tmpl/gstelement.sgml:
23058         * docs/gst/tmpl/gstinfo.sgml:
23059         * docs/gst/tmpl/gstobject.sgml:
23060         * gst/gstelement.c:
23061         * gst/gstelement.h:
23062         * gst/gstinfo.c:
23063         * gst/gstinfo.h:
23064         * gst/gstobject.c: (gst_object_class_init):
23065         * gst/gstobject.h:
23066           inlined 3 more biiiig doc files and added some missing docs on the fly
23067
23068 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23069
23070         * check/gst/.cvsignore:
23071         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
23072         * gst/gstregistryxml.c: (load_plugin),
23073         (gst_registry_xml_save_plugin):
23074           put back source in registry.  add checks for find_plugin.
23075         * testsuite/states/bin.c: (assert_state), (empty_bin),
23076         (test_adding_one_element), (main):
23077         * testsuite/states/locked.c: (main):
23078           some compile/run fixes
23079
23080 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23081
23082         * check/gst/gstvalue.c: (GST_START_TEST):
23083           fix leaks in the test itself
23084
23085 2005-09-22  Wim Taymans  <wim@fluendo.com>
23086
23087         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23088         (gst_base_sink_send_event), (gst_base_sink_peer_query),
23089         (gst_base_sink_query):
23090         Prepare for more accurate position reporting and query
23091         handling.
23092
23093         * gst/gstelement.c: (gst_element_send_event),
23094         (gst_element_set_state):
23095         Add some comment.
23096
23097 2005-09-22  Wim Taymans  <wim@fluendo.com>
23098
23099         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
23100         (gst_query_parse_segment):
23101         * gst/gstquery.h:
23102         More documentation.
23103         Add segment query for future use.
23104
23105 2005-09-22  Wim Taymans  <wim@fluendo.com>
23106
23107         * gst/gstbin.c: (gst_bin_add_func):
23108         Some more debug info.
23109
23110         * gst/gstelement.c: (gst_element_send_event):
23111         Simplify send_event
23112
23113         * gst/gstelement.h:
23114         Don't know how flags got broken.
23115
23116         * gst/gstquery.h:
23117         Added new query.
23118
23119 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
23120
23121         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
23122           Add simplistic test suite for GST_TYPE_DATE serialisation and
23123           deserialisation.
23124
23125 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
23126
23127         * docs/gst/gstreamer-sections.txt:
23128         * gst/gststructure.c: (gst_structure_set_valist),
23129         (gst_structure_get_date):
23130         * gst/gststructure.h:
23131         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
23132         (gst_date_copy), (gst_value_compare_date),
23133         (gst_value_serialize_date), (gst_value_deserialize_date),
23134         (gst_value_transform_date_string),
23135         (gst_value_transform_string_date), (_gst_value_initialize):
23136         * gst/gstvalue.h:
23137           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
23138           bunch of utility functions along with a hack that checks that
23139           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
23140           is required. Part of the grand scheme in #170777.
23141
23142 2005-09-22  Andy Wingo  <wingo@pobox.com>
23143
23144         * gst/gstconfig.h.in: Psych out gtk-doc.
23145
23146         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
23147
23148         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
23149
23150         * tools/gst-inspect.c (print_element_list): Plug some
23151         inconsequential leaks.
23152
23153         * gst/gstregistry.c (gst_registry_get_default): Doc.
23154
23155         * check/gst/gstplugin.c: 
23156         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23157         * gst/gstelementfactory.c (gst_element_factory_create): 
23158         * gst/gstindexfactory.c (gst_index_factory_create): Update for
23159         refcount changes.
23160
23161         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23162         (gst_plugin_feature_load): Doc, don't eat refs.
23163
23164         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23165         (gst_plugin_list_free): Doc.
23166         (gst_plugin_load_file): Doc updates.
23167
23168         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23169         accessors returning refcounted objects, return a ref.
23170
23171         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23172         accessor for caps. IDEMPOTENCE. Oh yes.
23173
23174 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
23175
23176         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23177
23178         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23179         (_gst_debug_register_funcptr):
23180           Add mutex to serialise access to the hash table with
23181           the function pointer => function name string mapping;
23182           make that hash table static scope (#316809).
23183
23184         * gst/registries/.cvsignore:
23185           Remove left-over file.
23186
23187 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23188
23189         * docs/pwg/appendix-porting.xml:
23190           And something about newsegment events and caps-on-buffers to
23191           the porting guide (feel free to improve).
23192
23193 2005-09-21  Andy Wingo  <wingo@pobox.com>
23194
23195         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23196         data and event probes on the same pad.
23197         (test_buffer_probe_once): Test that removing probes from within
23198         the probe functions works.
23199
23200 2005-09-21  Andy Wingo  <wingo@pobox.com>
23201
23202         * check/gst/gstutils.c: New file.
23203         (test_buffer_probe_n_times): A simple buffer probe test. More to
23204         come, foolios.
23205
23206         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23207         have-data::buffer, not have-data.
23208         (gst_pad_add_event_probe): Likewise for have-data::event.
23209         (gst_pad_add_data_probe): More docs. The part about 'resolving the
23210         peer' isn't quite right yet though.
23211         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
23212         (gst_pad_remove_data_probe): Change to take the guint handler_id
23213         as their arg, not the function+data, which is more glib-like.
23214
23215         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23216         the signal emission to indicate if the data is a buffer or an
23217         event.
23218         (gst_pad_get_type): Initialize buffer and event quarks.
23219         (gst_pad_class_init): have-data is now a detailed signal, yes it
23220         is.
23221
23222 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23223
23224         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23225         * gst/gstutils.c: (gst_util_set_value_from_string),
23226         (gst_util_set_object_arg):
23227           Don't put functional code in g_return_if_fail() or
23228           g_return_val_if_fail() statements, otherwise things will 
23229           break when G_DISABLE_CHECKS is defined during compilation.
23230
23231 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23232
23233         * docs/gst/tmpl/.cvsignore:
23234         * docs/gst/tmpl/gstvalue.sgml:
23235         * gst/gstvalue.c:
23236         * gst/gstvalue.h:
23237           inlied another one and added  some obvious docs
23238
23239 2005-09-21  Wim Taymans  <wim@fluendo.com>
23240
23241         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23242         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23243         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23244         (gst_fdsrc_get_property), (gst_fdsrc_create):
23245         * gst/elements/gstfdsrc.h:
23246         Properly implement fdsrc. Removed signal and timeout,
23247         better implemented somewhere else.
23248
23249 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23250
23251         * docs/gst/tmpl/.cvsignore:
23252         * docs/gst/tmpl/gstimplementsinterface.sgml:
23253         * gst/gstinterface.c:
23254           inlined more docs
23255
23256 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23257
23258         * docs/gst/gstreamer-sections.txt:
23259         * docs/gst/tmpl/.cvsignore:
23260         * docs/gst/tmpl/gstenumtypes.sgml:
23261           remove obsolete doc file
23262
23263 2005-09-21  David Schleef  <ds@schleef.org>
23264
23265         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23266         little beer, fix a little leak.
23267
23268 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23269
23270         * docs/gst/gstreamer-docs.sgml:
23271         * docs/gst/gstreamer-sections.txt:
23272         * docs/gst/tmpl/.cvsignore:
23273         * gst/Makefile.am:
23274         * gst/gst.h:
23275         * gst/gstbin.c:
23276         * gst/gstelement.h:
23277         * gst/gstindex.c: (gst_index_class_init):
23278         * gst/gstindex.h:
23279         * gst/gstindexfactory.c: (gst_index_factory_get_type),
23280         (gst_index_factory_class_init), (gst_index_factory_init),
23281         (gst_index_factory_finalize), (gst_index_factory_new),
23282         (gst_index_factory_destroy), (gst_index_factory_find),
23283         (gst_index_factory_create), (gst_index_factory_make):
23284         * gst/gstindexfactory.h:
23285         * gst/gstpluginfeature.c:
23286         * gst/gstpluginfeature.h:
23287         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23288           more docs inlined, splitted gstindex.{c,h}
23289
23290 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23291
23292         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23293           fix a leak
23294
23295 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23296
23297         * gst/elements/gstfilesink.c: (gst_file_sink_init):
23298           Set sync to FALSE by default.
23299
23300 2005-09-20  Wim Taymans  <wim@fluendo.com>
23301
23302         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23303         (gst_base_sink_init):
23304         Make sync property settable from subclass.
23305
23306         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23307         (gst_fake_sink_change_state):
23308         Set sync to FALSE by default.
23309
23310 2005-09-20  Wim Taymans  <wim@fluendo.com>
23311
23312         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23313         * tools/gst-launch.c: (main):
23314         The timeout handler should have lower priority than the source
23315         so we don't timeout before popping a message with 0 timeout.
23316         Dump error messages after failed state change.
23317
23318 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23319
23320         * tools/gst-inspect.c: (print_element_properties_info):
23321           Fix two typos.
23322
23323 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23324
23325         * check/gst/gstevent.c:
23326         * gst/elements/gstfakesink.c:
23327         * gst/elements/gstfakesink.h:
23328           remove the sync property from fakesink.
23329           has the side effect of setting sync TRUE
23330           for fakesink, which is a change.  Anyone who knows how
23331           to fix this nicely in a GObject-y way, feel free.
23332
23333 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23334
23335         * docs/gst/gstreamer-docs.sgml:
23336           remove probe refsection
23337
23338 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23339
23340         * check/Makefile.am:
23341           disable valgrinding the controller test again
23342         * docs/gst/gstreamer-sections.txt:
23343           update for api-changes
23344
23345 2005-09-20  Wim Taymans  <wim@fluendo.com>
23346
23347         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23348         (gst_base_sink_set_property), (gst_base_sink_get_property),
23349         (gst_base_sink_do_sync):
23350         * gst/base/gstbasesink.h:
23351         Added sync property to basesink to disable clock sync.
23352
23353 2005-09-20  Andy Wingo  <wingo@pobox.com>
23354
23355         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23356         eating the caller's refcount.
23357
23358         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
23359         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23360         refcount.
23361
23362         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23363         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23364         of GLib 2.8 public, so we can know which refcount to check in
23365         tests.
23366
23367         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23368         (gst_object_init): Only set the gst refcount if we're going ahead
23369         with the refcount hack.
23370
23371 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23372
23373         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23374         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23375           more leaks plumbed, added more debug-logging
23376         * gst/gstmacros.h:
23377           whitespace fix
23378
23379 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23380
23381         * gst/gstmessage.c:
23382           remove include of gstmemchunk.h
23383
23384 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23385
23386         * gst/gstclock.c: (_gst_clock_id_free):
23387           Commit from the Political Party For More Atomic CVS Commits,
23388           so that people don't waste too much of their day fishing
23389           out obvious leaks out of massive commits.
23390           Oh, and fix a pretty damn obvious leak in the memchunk
23391           removal code.
23392
23393 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23394
23395         * check/Makefile.am:
23396         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23397           plug mem-leak, re-add to valgrindable tests
23398
23399 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23400
23401         * gst/gstplugin.h:
23402           unbreak the build for those who have chronic arthritis
23403           and typing "make check" is just too taxing on the hands
23404
23405 2005-09-20  Andy Wingo  <wingo@pobox.com>
23406
23407         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23408         really want it out, you should fix plugins at the same time.
23409
23410 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
23411
23412         * configure.ac:
23413         * docs/gst/gstreamer-sections.txt:
23414         * gst/gstobject.c:
23415           added missing symbols to api docs
23416           disable ref-count hack if we have glib >= 2.8
23417
23418 2005-09-19  David Schleef  <ds@schleef.org>
23419
23420         * docs/gst/Makefile.am: Ignore a few more internal headers
23421         * docs/gst/gstreamer-docs.sgml: Remove old sections
23422         * docs/gst/gstreamer-sections.txt: Remove old sections
23423         * docs/gst/tmpl/gstobject.sgml: update
23424         * docs/gst/tmpl/gstplugin.sgml: update
23425         * docs/gst/tmpl/gstpluginfeature.sgml: update
23426         * docs/random/ds/0.9-suggested-changes: update.
23427         * gst/Makefile.am: remove memchunk and trashstack, since they're
23428           not used.
23429         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23430         * gst/gst.h: don't include some headers
23431         * gst/gstchildproxy.c: add gstmarshal.h
23432         * gst/gstclock.c: Don't use memchunks
23433         * gst/gstminiobject.c: Add some docs
23434         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23435         * gst/gstobject.h: same
23436         * gst/gstplugin.c: include gstmacros.h
23437         * gst/gstplugin.h: don't include gstmacros.h, since it's private
23438         * gst/gstquery.c: don't use memchunks
23439         * gst/gstregistry.c: rename gst_registry_deinit()
23440         * gst/gstregistry.h: same
23441
23442 2005-09-19  David Schleef  <ds@schleef.org>
23443
23444         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23445         * docs/libs/gstreamer-libs-sections.txt:
23446         * docs/libs/tmpl/gstgetbits.sgml:
23447         * docs/libs/tmpl/gstputbits.sgml:
23448
23449 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23450
23451         * win32/gstenumtypes.c:
23452         * win32/gstenumtypes.h:
23453           Update.
23454
23455 2005-09-19  Wim Taymans  <wim@fluendo.com>
23456
23457         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23458         Automatically PAUSE and RESUME a pipeline when a flushing seek
23459         is performed.
23460
23461 2005-09-19  Andy Wingo  <wingo@pobox.com>
23462
23463         * gst/gstregistry.h: Spacing fixen.
23464
23465 2005-09-19  Wim Taymans  <wim@fluendo.com>
23466
23467         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23468         Handle state change failure more correctly.
23469
23470 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23471
23472         * check/Makefile.am:
23473         * check/pipelines/cleanup.c: (run_pipeline):
23474         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23475         (GST_START_TEST):
23476           enable cleanup again after fixing the leak
23477         * docs/README:
23478           some more info on docs
23479
23480 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23481
23482         * check/Makefile.am:
23483           re-enable tests now that leaks are plugged
23484         * check/gst/gst.c:
23485         * check/gst/gstbin.c:
23486         * check/gst/gstpipeline.c:
23487           add some more tests while fixing leaks
23488         * common/check.mak:
23489           make sure binaries are uptodate when valgrinding/gdbing
23490         * gst/gst.c:
23491         * gst/gstelementfactory.c:
23492           remove a ref too many, and add a FIXME for when we get
23493           round to disposing of classes
23494         * gst/gstplugin.c:
23495           fix the refcounting when loading a plugin from a file and
23496           the code pretends that the pointer is the same even though
23497           of course it can change
23498         * gst/gstpluginfeature.c:
23499           unref plugins marked cached (a bit confusing as a name)
23500           as the docs state should be done
23501           various doc additions to explain refcounting
23502         * gst/gstregistry.c:
23503         * gst/gstregistryxml.c:
23504           debugging
23505
23506 2005-09-19  Wim Taymans  <wim@fluendo.com>
23507
23508         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23509         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23510         (send_messages), (GST_START_TEST), (gstbus_suite):
23511         * check/gst/gstpipeline.c: (GST_START_TEST):
23512         * check/pipelines/cleanup.c: (run_pipeline):
23513         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23514         (GST_START_TEST):
23515         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23516         (gst_bus_source_check), (gst_bus_source_dispatch),
23517         (gst_bus_create_watch), (gst_bus_add_watch_full),
23518         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23519         * gst/gstbus.h:
23520         * tools/gst-launch.c: (event_loop):
23521         * tools/gst-md5sum.c: (event_loop):
23522         GstBusHandler -> GstBusFunc, return value has the same meaning as
23523         any other GSource (FALSE == remove source).
23524         _add_watch() and _add_watch_full() now take a MessageType mask to
23525         only handle specific types of messages.
23526         _poll() returns the GstMessage instead of the message type to avoid
23527         race conditions.
23528         _have_pending() takes a MessageType mask now too.
23529         Added testsuite for multiple bus watches.
23530         Fix testsuites and applications for new bus API.
23531
23532 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23533
23534         * check/Makefile.am:
23535           mark a bunch of the tests as to fix until we fix them
23536
23537 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23538
23539         * common/check.mak:
23540           use GST_PLUGIN settings for valgrind tests as well, so we're
23541           valgrinding the correct thing
23542         * gst/gst.c: (init_post):
23543           plug another leak
23544
23545 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23546
23547         * gst/gst.c: (init_post), (gst_deinit):
23548         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23549         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23550         * gst/gstindex.c: (gst_index_factory_class_init),
23551         (gst_index_factory_finalize):
23552         * gst/gstobject.c: (gst_object_dispose):
23553         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23554         (gst_plugin_load_file), (gst_plugin_desc_free):
23555         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23556         (gst_plugin_feature_finalize):
23557         * gst/gstregistry.c: (gst_registry_class_init),
23558         (gst_registry_init), (gst_registry_finalize),
23559         (gst_registry_get_default), (gst_registry_deinit):
23560         * gst/gstregistry.h:
23561         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23562           various cleanups and memleak plugging.  make valgrind is happy now.
23563
23564 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23565
23566         * common/check.mak:
23567           add a check-valgrind target
23568
23569 2005-09-18  David Schleef  <ds@schleef.org>
23570
23571         * tools/gst-inspect.c: Revert the GOption code.
23572
23573 2005-09-17  David Schleef  <ds@schleef.org>
23574
23575         * check/Makefile.am: Fix environment variables.
23576         * check/gst/gstplugin.c: Fix for API changes.
23577         * tools/gst-inspect.c: Fix for API changes.
23578         * tools/gst-xmlinspect.c: Fix for API changes.
23579         * gst/gstelementfactory.c:
23580         * gst/gstplugin.c:
23581         * gst/gstplugin.h:
23582         * gst/gstpluginfeature.c:
23583         * gst/gstpluginfeature.h:
23584         * gst/gstregistry.c:
23585         * gst/gstregistry.h:
23586         * gst/gstregistryxml.c:
23587         * gst/gsttypefind.c:
23588         * gst/gsttypefindfactory.c:
23589         * gst/indexers/gstfileindex.c:
23590         * gst/indexers/gstmemindex.c:
23591         * gst/schedulers/Makefile.am:
23592           Change registry to keep track of both plugins and features,
23593           removing the feature tracking from plugins themselves.
23594
23595 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23596
23597         * check/Makefile.am:
23598         * tools/gst-register.1.in:
23599           remove gst-register
23600
23601 2005-09-15  David Schleef  <ds@schleef.org>
23602
23603         * check/gst/gstplugin.c:
23604         * gst/gstelementfactory.c:
23605         * gst/gstplugin.c:
23606         * gst/gstpluginfeature.c:
23607         * gst/gstregistry.c:
23608           Getting tired of debugging.  Disabled all the unreffing of
23609           plugins and features, which fixes the segfaults, but of
23610           course leaks like crazy.  At least playbin works.
23611
23612 2005-09-15  David Schleef  <ds@schleef.org>
23613
23614         * check/gst/gstplugin.c: (register_check_elements),
23615         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23616         More testing
23617         * gst/elements/gsttypefindelement.c: Fix refcounting.
23618         * gst/gsttypefind.c:
23619         * gst/gsttypefindfactory.c:
23620         * gst/gsttypefindfactory.h:
23621
23622 2005-09-15  David Schleef  <ds@schleef.org>
23623
23624         * gst/gstindex.c: get refcounting correct.
23625         * gst/gstregistry.c: Handle the case where a feature/plugin is
23626           not found.
23627
23628 2005-09-15  David Schleef  <ds@schleef.org>
23629
23630         * check/Makefile.am:
23631         * check/gst/gstplugin.c: Add test
23632         * gst/gstplugin.c: Fix problems noticed by testsuite
23633         * gst/gstplugin.h:
23634         * gst/gstregistry.c: 
23635         * gst/gstregistry.h:
23636
23637 2005-09-15  David Schleef  <ds@schleef.org>
23638
23639         * gst/gstplugin.c: Implement semi-decent recounting and locking
23640           in plugins and plugin features.
23641         * gst/gstplugin.h:
23642         * gst/gstpluginfeature.c:
23643         * gst/gstpluginfeature.h:
23644         * gst/gstregistry.c:
23645
23646 2005-09-15  Michael Smith <msmith@fluendo.com>
23647
23648         * gst/gstregistry.c: (gst_registry_get_feature_list):
23649           Implement this. Makes oggdemux work; decodebin still broken.
23650
23651 2005-09-14  David Schleef  <ds@schleef.org>
23652
23653         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23654           #316076)
23655         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23656         * gst/check/Makefile.am:
23657         * libs/gst/controller/Makefile.am:
23658         * libs/gst/dataprotocol/Makefile.am:
23659
23660 2005-09-14  David Schleef  <ds@schleef.org>
23661
23662         * configure.ac: Remove getbits library.  Nothing uses it, and
23663           it should be in something like liboil if someone did want
23664           to use it.
23665         * libs/gst/Makefile.am:
23666         * libs/gst/getbits/Makefile.am:
23667         * libs/gst/getbits/gbtest.c:
23668         * libs/gst/getbits/getbits.c:
23669         * libs/gst/getbits/getbits.h:
23670         * libs/gst/getbits/gstgetbits_generic.c:
23671         * libs/gst/getbits/gstgetbits_i386.s:
23672         * libs/gst/getbits/gstgetbits_inl.h:
23673
23674 2005-09-14  David Schleef  <ds@schleef.org>
23675
23676         * gst/Makefile.am: Dist glib-compat.h
23677
23678 2005-09-14  David Schleef  <ds@schleef.org>
23679
23680         * configure.ac: Remove gst/registries, since it's no longer used.
23681         * gst/registries/Makefile.am:
23682         * gst/registries/gstlibxmlregistry.c:
23683         * gst/registries/gstlibxmlregistry.h:
23684         * gst/registries/gstxmlregistry.c:
23685         * gst/registries/gstxmlregistry.h:
23686         * gst/registries/registrytest.c:
23687
23688 2005-09-14  David Schleef  <ds@schleef.org>
23689
23690         * gst/glib-compat.h:
23691         * gst/gstregistryxml.c:
23692           Convergence is near.  Seriously.
23693
23694 2005-09-14  David Schleef  <ds@schleef.org>
23695
23696         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23697         * gst/glib-compat.h:
23698           Attempt #4 to appease the buildbots.
23699
23700 2005-09-14  David Schleef  <ds@schleef.org>
23701
23702         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23703           Attempt #3.
23704
23705 2005-09-14  David Schleef  <ds@schleef.org>
23706
23707         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23708         Attempt #2.
23709
23710 2005-09-14  David Schleef  <ds@schleef.org>
23711
23712         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23713           the new functions.
23714
23715 2005-09-14  David Schleef  <ds@schleef.org>
23716
23717         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23718         * gst/glib-compat.h: Add some functions that are in newer versions
23719           of glib than we care to require.
23720         * gst/gstregistryxml.c: Use them.
23721
23722 2005-09-14  David Schleef  <ds@schleef.org>
23723
23724         * po/POTFILES.in: remove gst-register.c
23725
23726 2005-09-14  David Schleef  <ds@schleef.org>
23727
23728         * docs/gst/gstreamer-docs.sgml:
23729         * docs/gst/gstreamer-sections.txt:
23730         * docs/gst/gstreamer.types:
23731         * docs/gst/tmpl/gstelement.sgml:
23732         * docs/gst/tmpl/gstplugin.sgml:
23733         * docs/gst/tmpl/gstpluginfeature.sgml:
23734           Documentation updates for registry changes.
23735
23736 2005-09-14  David Schleef  <ds@schleef.org>
23737
23738         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23739           because we don't require glib-2.8.
23740
23741 2005-09-14  David Schleef  <ds@schleef.org>
23742
23743         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23744           registries directory.
23745
23746 2005-09-14  David Schleef  <ds@schleef.org>
23747
23748         * check/Makefile.am:
23749         * check/generic/states.c:
23750         * gst/Makefile.am:
23751         * gst/gst.c:
23752         * gst/gst.h:
23753         * gst/gst_private.h:
23754         * gst/gstelementfactory.c:
23755         * gst/gstindex.c:
23756         * gst/gstinfo.c:
23757         * gst/gstplugin.c:
23758         * gst/gstplugin.h:
23759         * gst/gstpluginfeature.c:
23760         * gst/gstpluginfeature.h:
23761         * gst/gstregistry.c:
23762         * gst/gstregistry.h:
23763         * gst/gstregistrypool.c: remove
23764         * gst/gstregistrypool.h: remove
23765         * gst/gsttypefind.c:
23766         * gst/gsttypefindfactory.c:
23767         * gst/gsturi.c:
23768         * tools/Makefile.am:
23769         * tools/gst-compprep.c:
23770         * tools/gst-inspect.c:
23771         * tools/gst-register.c: remove
23772         * tools/gst-xmlinspect.c:
23773           Registry rewrite.  Changes registry from being a file created
23774           by a tool into a simple cache file created automatically by 
23775           libgstreamer.  Removed gst-register (because it's no longer
23776           needed).  Remove registry pools, because we only have one
23777           registry implementation (XML).  Fix up other subsystems as
23778           necessary.
23779
23780 2005-09-13  Michael Smith <msmith@fluendo.com>
23781
23782         * gst/gstconfig.h.in:
23783           Don't Use windows linking attributes for MinGW. Fixes #316157
23784
23785 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23786
23787         * gst/gstutils.c: (set_state_async_thread_func),
23788         (gst_element_set_state_async):
23789           Apparently people think it's better if this function doesn't
23790           try to set the state to whatever state was asked for on the first
23791           call to this function for any object.  Seriously.
23792
23793 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23794
23795         * check/gst/gstpipeline.c: (GST_START_TEST):
23796         * docs/gst/gstreamer-sections.txt:
23797         * gst/gstutils.c: (set_state_async_thread_func),
23798         (gst_element_set_state_async):
23799         * gst/gstutils.h:
23800           add a "gst_element_set_state_async" method that
23801           sets the state and starts a thread to make sure the state
23802           change completes as best as it can
23803
23804 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23805
23806         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23807           codify design+behaviour in testsuite after discussion
23808
23809 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23810
23811         * docs/gst/tmpl/gstelement.sgml:
23812         * docs/manual/appendix-quotes.xml:
23813           add a quote
23814         * gst/gstelement.c: (gst_element_set_state):
23815           add some debug
23816
23817 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23818
23819         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23820         (gst_base_transform_prepare_output_buf),
23821         (gst_base_transform_handle_buffer):
23822         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23823         (gst_capsfilter_prepare_buf):
23824           Remove the requirement for sub-classes to call the parent
23825           implementation of prepare_output_buffer with a wrapper function.
23826           
23827         * gst/gsttaglist.h:
23828         * gst/gsttagsetter.h:
23829           Fix #define wrapper
23830
23831 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23832
23833         * docs/gst/gstreamer-sections.txt:
23834           more doc cleanups
23835
23836 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23837
23838         * docs/gst/gstreamer-sections.txt:
23839         * docs/gst/tmpl/gstelement.sgml:
23840         * docs/gst/tmpl/gstplugin.sgml:
23841         * gst/gstminiobject.c:
23842         * gst/gstvalue.h:
23843           docs now stop throwing warnings
23844
23845 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23846
23847         * docs/gst/gstreamer-sections.txt:
23848         * docs/gst/gstreamer.types:
23849         * docs/gst/tmpl/gstpad.sgml:
23850         * docs/gst/tmpl/gsttypes.sgml:
23851         * gst/base/gstadapter.h:
23852         * gst/base/gstbasesink.h:
23853         * gst/base/gstbasesrc.h:
23854         * gst/gstbin.h:
23855         * gst/gstbuffer.h:
23856         * gst/gstbus.h:
23857         * gst/gstcaps.h:
23858         * gst/gstclock.h:
23859         * gst/gstelement.h:
23860         * gst/gstevent.h:
23861         * gst/gstmessage.h:
23862         * gst/gstpad.h:
23863         * gst/gststructure.c:
23864         * gst/registries/gstlibxmlregistry.h:
23865           various documentation fixes
23866
23867 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23868
23869         * docs/gst/gstreamer-sections.txt:
23870         * docs/gst/tmpl/gstvalue.sgml:
23871           rearrange gstvalue section
23872         * gst/gstutils.c: (gst_element_state_get_name):
23873           NONE -> VOID
23874         * gst/gstvalue.c: (_gst_value_initialize):
23875         * gst/gstvalue.h:
23876           doc updates
23877
23878 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23879
23880         * check/gst-libs/controller.c:
23881           Header include fix.
23882         * gst/base/gstbasetransform.c:
23883         (gst_base_transform_default_prepare_buf),
23884         (gst_base_transform_handle_buffer):
23885         * gst/base/gstbasetransform.h:
23886           Some more basetransform changes and fixes to enable sub-classes
23887           that modify buffer metadata only.
23888         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23889         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23890         (gst_capsfilter_prepare_buf):
23891           If the output pad has fixed allowed caps and input buffers 
23892           don't have any, set the fixed caps on outgoing buffers.
23893
23894 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23895         * check/elements/identity.c: (GST_START_TEST):
23896           Make the error a little clearer when the test fails because
23897           identity made a copy of the buffer.
23898         * docs/gst/gstreamer-sections.txt:
23899           New symbols in gstbasetransform.h
23900         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23901         (gst_base_transform_init), (gst_base_transform_transform_size),
23902         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23903         (gst_base_transform_default_prepare_buf),
23904         (gst_base_transform_get_unit_size),
23905         (gst_base_transform_buffer_alloc),
23906         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23907         (gst_base_transform_change_state),
23908         (gst_base_transform_set_passthrough),
23909         (gst_base_transform_set_in_place),
23910         (gst_base_transform_is_in_place):
23911         * gst/base/gstbasetransform.h:
23912           Change BaseTransform to separate in_place operate from same_caps
23913           output. in_place implies that the element can perform the transform
23914           on incoming buffers in-place, even if the caps on the output are
23915           different.
23916           Sub-class elements can now implement special buffer allocation
23917           methods for outgoing buffers if they wish to.
23918           Big documentation addition.
23919         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23920         * gst/elements/gstelements.c:
23921           Changes for basetransform modifications.
23922         * gst/elements/Makefile.am:
23923         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23924           Compile fix. Extra debug output.
23925
23926 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23927
23928         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23929         (gst_pad_suite):
23930           add tests for valid pad naming
23931         * gst/check/gstcheck.c: (gst_check_log_message_func),
23932         (gst_check_log_critical_func):
23933           add ASSERT_WARNING
23934           remove printing of code, it is fragile when the code contains
23935           % and the line number is enough info
23936         * gst/check/gstcheck.h:
23937         * gst/gstpad.c: (gst_pad_template_new):
23938           fix memleaks
23939
23940 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23941
23942         * configure.ac:
23943           say what CHECK flags we use
23944         * docs/libs/gstreamer-libs.types:
23945         * libs/gst/controller/Makefile.am:
23946         * libs/gst/controller/gst-controller.c:
23947         * libs/gst/controller/gst-controller.h:
23948         * libs/gst/controller/gst-helper.c:
23949         * libs/gst/controller/gst-interpolation.c:
23950         * libs/gst/controller/gstcontroller.c:
23951         * libs/gst/controller/gsthelper.c:
23952         * libs/gst/controller/gstinterpolation.c:
23953         * tools/gst-inspect.c: (print_plugin_info):
23954           we don't use dashes in header names
23955
23956 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23957
23958         * check/Makefile.am:
23959         * check/gst/.cvsignore:
23960         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23961         (gst_pipeline_suite), (main):
23962           adding a test for pipelines and state changes
23963         * gst/gstutils.c: (get_state_func):
23964           add some debugging
23965         * gstreamer.spec.in:
23966           fix up spec file
23967
23968 2005-09-08  Michael Smith <msmith@fluendo.com>
23969
23970         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23971         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23972         (gst_file_src_is_seekable), (gst_file_src_get_size),
23973         (gst_file_src_start):
23974         * gst/elements/gstfilesrc.h:
23975           Various fixes for unseekable, unmmapable, and non-normal files, so
23976           that fallback to read() rather than mmap() works.
23977         * gst/gstevent.c: (gst_event_new_newsegment):
23978           Allow newsegment events with segment_start == segment_end, as will
23979           correctly happen if you use filesrc on a zero-size file, for
23980           example.
23981
23982 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23983
23984         * gst/gstplugin.c: (gst_plugin_load_file):
23985           Call g_module_close when we don't load the module
23986
23987         * gst/registries/gstlibxmlregistry.c:
23988         (gst_xml_registry_get_property):
23989           Port leak fix from 0.8
23990
23991 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23992
23993         * docs/gst/gstreamer-docs.sgml:
23994         * docs/gst/tmpl/.cvsignore:
23995         * docs/gst/tmpl/gsttrace.sgml:
23996         * docs/gst/tmpl/gsttrashstack.sgml:
23997         * gst/Makefile.am:
23998         * gst/gst.h:
23999         * gst/gstelement.h:
24000         * gst/gstevent.h:
24001         * gst/gstmessage.c:
24002         * gst/gstmessage.h:
24003         * gst/gsttag.c:
24004         * gst/gsttag.h:
24005         * gst/gsttaginterface.c:
24006         * gst/gsttaginterface.h:
24007         * gst/gsttaglist.c:
24008         * gst/gsttaglist.h:
24009         * gst/gsttagsetter.c:
24010         * gst/gsttagsetter.h:
24011         * gst/gsttrace.c:
24012         * gst/gsttrace.h:
24013         * gst/gsttrashstack.c:
24014           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
24015           inlined docs for gsttrace, gsttrashstack
24016
24017 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24018
24019         * gst/Makefile.am:
24020         * gst/elements/gstbufferstore.h:
24021         * gst/elements/gsttypefindelement.c:
24022         * gst/elements/gsttypefindelement.h:
24023         * gst/gst.h:
24024         * gst/gsttypefind.c:
24025         * gst/gsttypefind.h:
24026         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
24027         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
24028         (gst_type_find_factory_dispose),
24029         (gst_type_find_factory_unload_thyself),
24030         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
24031         (gst_type_find_factory_get_caps),
24032         (gst_type_find_factory_get_extensions),
24033         (gst_type_find_factory_call_function):
24034         * gst/gsttypefindfactory.h:
24035         * gst/registries/gstlibxmlregistry.c:
24036         * gst/registries/gstxmlregistry.c:
24037           splitted gsttypefind into gsttypefind, gsttypefindfactory
24038
24039 2005-09-07  Andy Wingo  <wingo@pobox.com>
24040
24041         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
24042         condition whereby the pad's task function is entered before the
24043         pad_mode variable was set.
24044
24045 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
24046
24047         * gst/gstpad.c: (gst_pad_alloc_buffer):
24048           Catch misbehaving pad_alloc functions that don't
24049           set up caps and do it for them.
24050
24051 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24052
24053         * check/pipelines/simple_launch_lines.c: (run_pipeline):
24054           test for pipe!=NULL
24055         * docs/gst/tmpl/.cvsignore:
24056         * docs/gst/tmpl/gstmemchunk.sgml:
24057         * docs/gst/tmpl/gstparse.sgml:
24058         * docs/gst/tmpl/gsttaglist.sgml:
24059         * docs/gst/tmpl/gsttagsetter.sgml:
24060         * docs/gst/tmpl/gsttypefind.sgml:
24061         * docs/gst/tmpl/gsttypefindfactory.sgml:
24062         * gst/gstmemchunk.c:
24063         * gst/gstparse.c:
24064         * gst/gsttag.c:
24065         * gst/gsttaginterface.c:
24066         * gst/gsttypefind.c:
24067         * gst/gsttypefind.h:
24068           inlined more docs
24069
24070 === release 0.9.2 ===
24071
24072 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24073
24074         * NEWS:
24075         * RELEASE:
24076         * configure.ac:
24077           releasing 0.9.2, "South"
24078
24079 2005-09-05  Andy Wingo  <wingo@pobox.com>
24080
24081         * gst/registries/gstxmlregistry.h:
24082         * gst/registries/gstxmlregistry.c: Um... resurrect...
24083         
24084         * gst/registries/gstxmlregistry.h:
24085         * gst/registries/gstxmlregistry.c: and update to newer API.
24086         Incidentally they should be a bit faster now that they don't have
24087         to parse the caps.
24088         
24089 2005-09-05  Andy Wingo  <wingo@pobox.com>
24090
24091         * gst/registries/gstxmlregistry.h:
24092         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
24093         replaced by the libxml registry a while back
24094
24095 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24096
24097         * docs/gst/tmpl/gstplugin.sgml:
24098         * gst/elements/gstelements.c:
24099         * gst/gst.c:
24100         * gst/gstplugin.c: (gst_plugin_register_func),
24101         (gst_plugin_desc_copy), (gst_plugin_desc_free),
24102         (gst_plugin_get_source):
24103         * gst/gstplugin.h:
24104         * gst/registries/gstlibxmlregistry.c: (load_plugin),
24105         (gst_xml_registry_save_plugin):
24106         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
24107         (gst_xml_registry_save_plugin):
24108         * tools/gst-inspect.c: (print_plugin_info):
24109           add a "source" plugin description field, to represent the source
24110           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
24111           will set it to PACKAGE, which is automake's idea of the name of
24112           the source project.
24113
24114 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24115
24116         * Makefile.am:
24117         * autogen.sh:
24118         * configure.ac:
24119         * docs/Makefile.am:
24120         * docs/faq/Makefile.am:
24121         * docs/gst/tmpl/gstelement.sgml:
24122         * docs/gst/tmpl/gsttypes.sgml:
24123         * docs/htmlinstall.mak:
24124         * docs/manual/Makefile.am:
24125         * docs/pwg/Makefile.am:
24126           reorganize doc build a little
24127           split out docbook and gtk-doc stuff
24128           have two separate --enable's and enable them through autogen
24129           but disable by default in configure (to be similar to other
24130           projects)
24131         * gstreamer.spec.in:
24132           clean up docs install
24133         * po/af.po:
24134         * po/az.po:
24135         * po/ca.po:
24136         * po/cs.po:
24137         * po/de.po:
24138         * po/en_GB.po:
24139         * po/fr.po:
24140         * po/it.po:
24141         * po/nb.po:
24142         * po/nl.po:
24143         * po/ru.po:
24144         * po/sq.po:
24145         * po/sr.po:
24146         * po/sv.po:
24147         * po/tr.po:
24148         * po/uk.po:
24149         * po/vi.po:
24150           translation updates
24151
24152 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
24153
24154         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24155           Add comment.
24156           
24157         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24158         (gst_fake_sink_change_state):
24159           Make state change function thread-safe.
24160           
24161         * gst/gstpad.c: (gst_pad_alloc_buffer):
24162           Set offset on generic buffer allocated by fallback.
24163
24164 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
24165
24166         * docs/gst/gstreamer-sections.txt:
24167         * docs/gst/tmpl/gstelement.sgml:
24168         * gst/gstpad.c:
24169         * libs/gst/controller/gst-controller.c:
24170         (gst_controlled_property_set_interpolation_mode),
24171         (gst_controlled_property_new),
24172         (gst_controller_find_controlled_property):
24173          run the wingo-magic script against the docs
24174
24175 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24176
24177         * docs/gst/gstreamer-docs.sgml:
24178         * docs/gst/gstreamer-sections.txt:
24179         * docs/gst/tmpl/.cvsignore:
24180         * docs/gst/tmpl/gstelementdetails.sgml:
24181         * docs/gst/tmpl/gstelementfactory.sgml:
24182         * gst/gst.c:
24183         * gst/gstbus.c:
24184         * gst/gstelementfactory.c:
24185         * gst/gstelementfactory.h:
24186           merged elementdetails docs into elementfactory docs
24187           inlined both
24188
24189 2005-09-02  Andy Wingo  <wingo@pobox.com>
24190
24191         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24192         consider this enum an enum and not a flags.
24193
24194 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24195
24196         * docs/gst/gstreamer-docs.sgml:
24197         * docs/gst/tmpl/.cvsignore:
24198         * docs/gst/tmpl/gstghostpad.sgml:
24199         * docs/gst/tmpl/gstiterator.sgml:
24200         * docs/gst/tmpl/gstmacros.sgml:
24201         * docs/gst/tmpl/gstrealpad.sgml:
24202         * docs/gst/tmpl/gstregistry.sgml:
24203         * docs/gst/tmpl/gstregistrypool.sgml:
24204         * docs/gst/tmpl/gststructure.sgml:
24205         * docs/gst/tmpl/gstsystemclock.sgml:
24206         * docs/gst/tmpl/gsttrace.sgml:
24207         * gst/gstghostpad.c:
24208         * gst/gstmacros.h:
24209         * gst/gstmemchunk.c:
24210         * gst/gstmemchunk.h:
24211         * gst/gstqueue.c:
24212         * gst/gstregistry.c:
24213         * gst/gstregistrypool.c:
24214         * gst/gststructure.c:
24215         * gst/gstsystemclock.c:
24216           more docs inlined
24217
24218 2005-09-02  Andy Wingo  <wingo@pobox.com>
24219
24220         * gst/gstelement.h (GstState): Renamed from GstElementState,
24221         changed to be a normal enum instead of flags.
24222         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24223         munged to be GST_STATE_CHANGE_*.
24224         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24225         work with the new state representation.
24226         (GstStateChange): New enumeration of possible state transitions.
24227         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24228         (GstElementClass::change_state): Pass the GstStateChange along as
24229         an argument. Helps language bindings, so they don't have to use
24230         tricky lock-needing macros like GST_STATE_CHANGE ().
24231
24232         * scripts/update-states (file): New script. Run it on a file to
24233         update it for state naming and API changes. Updates files in
24234         place.
24235
24236         * All files updated for the new API.
24237
24238 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24239
24240         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24241         * gst/gstutils.c: (gst_util_set_value_from_string),
24242         (gst_util_set_object_arg):
24243           fix a bunch of unchecked return values
24244         * tools/gst-complete.c: (main):
24245         * gstreamer.spec.in:
24246           clean up a little
24247
24248 2005-09-01  Wim Taymans  <wim@fluendo.com>
24249
24250         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24251         (gst_base_sink_event), (gst_base_sink_do_sync),
24252         (gst_base_sink_handle_event):
24253         * gst/base/gstbasesink.h:
24254         Handle newsegments more correctly.
24255
24256         * gst/gstbus.c:
24257         Fix docs.
24258
24259         * gst/gstevent.c: (gst_event_new_newsegment):
24260         A newsegment cannot have a start_time of -1
24261
24262 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
24263
24264         * win32/gstenumtypes.c:
24265         * win32/gstenumtypes.h:
24266           Update
24267
24268 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24269
24270         * libs/gst/controller/gst-controller.c:
24271         (gst_controlled_property_set_interpolation_mode),
24272         (gst_controlled_property_new):
24273          fixed boolean again
24274
24275 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
24276
24277         * docs/faq/gst-uninstalled:
24278           add -good
24279         * gst/gstevent.c:
24280         * gst/gstevent.h:
24281           remove wrong docs
24282         * gst/gstutils.c: (gst_element_link_filtered):
24283         * gst/gstutils.h:
24284           add gst_element_link_filtered
24285
24286 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24287
24288         * docs/gst/gstreamer-docs.sgml:
24289         * docs/gst/gstreamer-sections.txt:
24290         * docs/gst/tmpl/.cvsignore:
24291         * docs/gst/tmpl/gsterror.sgml:
24292         * docs/gst/tmpl/gstfilter.sgml:
24293         * docs/gst/tmpl/gsturihandler.sgml:
24294         * docs/gst/tmpl/gsturitype.sgml:
24295         * docs/gst/tmpl/gstutils.sgml:
24296         * docs/gst/tmpl/gstxml.sgml:
24297         * gst/gsterror.c:
24298         * gst/gsterror.h:
24299         * gst/gstfilter.c:
24300         * gst/gsturi.c:
24301         * gst/gsturitype.c:
24302         * gst/gstutils.c:
24303         * gst/gstxml.c:
24304           inlined more docs, fixed double id-ref
24305
24306 2005-08-31  Wim Taymans  <wim@fluendo.com>
24307
24308         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24309         (gst_base_transform_handle_buffer):
24310         Passthrough elements don't need the caps as they don't care.
24311
24312 2005-08-31  Wim Taymans  <wim@fluendo.com>
24313
24314         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24315         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24316         Don't leak refcounts on buffers.
24317
24318 2005-08-31  Wim Taymans  <wim@fluendo.com>
24319
24320         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24321         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24322         (gst_base_transform_chain), (gst_base_transform_change_state):
24323         * gst/base/gstbasetransform.h:
24324         Handle the case where we are not negotiated more gracefully.
24325
24326 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
24327
24328         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24329         (gst_file_src_map_region):
24330           Set READONLY flag on mmap'ed buffers, otherwise
24331           gst_buffer_make_writable() won't work properly (#314708).
24332
24333 2005-08-31  Wim Taymans  <wim@fluendo.com>
24334
24335         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24336         passthrough elements can even do inplace on non writable
24337         buffers (as they don't touch them).
24338
24339 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24340
24341         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24342         (gst_test_mono_source_set_property),
24343         (gst_test_mono_source_class_init), (GST_START_TEST),
24344         (gst_controller_suite):
24345           more tests (hehe I have the most)
24346         * gst/gstbus.c:
24347           describe popping messages whenusing mulltiple sources
24348         * libs/gst/controller/gst-controller.c:
24349         (gst_controlled_property_set_interpolation_mode),
24350         (gst_controlled_property_new):
24351         * libs/gst/controller/gst-controller.h:
24352         * libs/gst/controller/gst-interpolation.c:
24353           implement boolean properties
24354
24355 2005-08-31  Wim Taymans  <wim@fluendo.com>
24356
24357         * gst/gstminiobject.c: (gst_mini_object_ref):
24358         Cannot assert that the refcount has to be positive
24359         since a disposed object can be resurrected.
24360
24361 2005-08-31  Wim Taymans  <wim@fluendo.com>
24362
24363         * gst/gstpad.c: (gst_pad_init):
24364         Revert change, need to first fix badly behaving 
24365         apps.
24366
24367 2005-08-30  Wim Taymans  <wim@fluendo.com>
24368
24369         * check/elements/fakesrc.c: (setup_fakesrc):
24370         * check/elements/identity.c: (setup_identity):
24371         Activate pads before using them.
24372
24373 2005-08-30  Wim Taymans  <wim@fluendo.com>
24374
24375         * gst/base/gstadapter.c: (gst_adapter_flush):
24376         Flushing out 0 bytes is ok for this function.
24377
24378         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24379         no newsegment gives a warning and sets the start/stop to 
24380         invalid.
24381
24382         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24383         (gst_base_transform_set_passthrough):
24384         Some debug info.
24385
24386         * gst/gstminiobject.c: (gst_mini_object_ref):
24387         Check refcount here too.
24388
24389         * gst/gstpad.c: (gst_pad_init):
24390         Pads are initially flushing and refusing data.
24391
24392         * gst/gstutils.c: (gst_element_link_pads_filtered):
24393         When adding a capsfilter element make sure it has the
24394         same state as the parent bin.
24395
24396 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24397
24398         * docs/gst/tmpl/.cvsignore:
24399         * docs/gst/tmpl/gstformat.sgml:
24400         * docs/gst/tmpl/gstversion.sgml:
24401         * gst/gstbus.h:
24402         * gst/gstformat.c:
24403         * gst/gstformat.h:
24404         * gst/gstversion.h.in:
24405           more docs and two more inlined
24406
24407 2005-08-30  Wim Taymans  <wim@fluendo.com>
24408
24409         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24410         Don't sync to clock.
24411
24412 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24413
24414         * docs/gst/gstreamer-sections.txt:
24415           ultral33t func10ns deserve to appear in the docs actually
24416         * docs/gst/tmpl/.cvsignore:
24417         * docs/gst/tmpl/gstcompat.sgml:
24418         * docs/gst/tmpl/gstconfig.sgml:
24419         * gst/check/gstcheck.c:
24420         * gst/gstcompat.h:
24421         * gst/gstconfig.h.in:
24422           inlined more docs
24423
24424 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24425
24426         * docs/gst/tmpl/.cvsignore:
24427         * docs/gst/tmpl/gstquery.sgml:
24428         * docs/gst/tmpl/gstutils.sgml:
24429         * gst/gstquery.c:
24430         * gst/gstquery.h:
24431           inlined and extended docs
24432
24433 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24434
24435         * check/gst-libs/controller.c: (GST_START_TEST),
24436         (gst_controller_suite):
24437           more tests
24438         * docs/gst/tmpl/gstutils.sgml:
24439         * docs/libs/gstreamer-libs-sections.txt:
24440         * docs/libs/tmpl/gstdataprotocol.sgml:
24441           include path fixes
24442         * examples/controller/audio-example.c: (main):
24443           controller example works now
24444         * gst/gstclock.h:
24445           doc fixes
24446         * tools/gst-inspect.c: (print_element_properties_info):
24447           show param spec flags
24448
24449 2005-08-29  Andy Wingo  <wingo@pobox.com>
24450
24451         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24452
24453 2005-08-28  Andy Wingo  <wingo@pobox.com>
24454
24455         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24456         as having two arguments instead of just one. Allows superclasses
24457         to access information on subclasses -- see the terrible for() loop
24458         in gtype.c:g_type_create_instance for the reason why. All callers
24459         changed.
24460
24461 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24462
24463         * docs/design/part-messages.txt:
24464           update info
24465         * docs/gst/tmpl/.cvsignore:
24466         * docs/gst/tmpl/gstcaps.sgml:
24467         * docs/gst/tmpl/gstclock.sgml:
24468         * gst/gstbus.c:
24469         * gst/gstcaps.c:
24470         * gst/gstcaps.h:
24471         * gst/gstclock.c:
24472         * gst/gstclock.h:
24473         * gst/gstmessage.c:
24474           added descriptions for bus and message
24475           inline caps and clock docs
24476
24477 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24478
24479         * gst/gstmessage.c:
24480         * gst/gstmessage.h:
24481           doc fixes
24482
24483 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24484
24485         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24486           fix div-by-zero
24487
24488 2005-08-26  Andy Wingo  <wingo@pobox.com>
24489
24490         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24491         element_set_state's return val.
24492         (test_2_elements): Add test that's been disabled for months.
24493
24494         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24495         can-activate-pull properties.
24496
24497         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24498         can-activate-pull properties. Implement is_seekable so fakesrc can
24499         operate in pull mode.
24500
24501         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24502         properties.
24503         (gst_base_sink_activate, gst_base_sink_activate_pull)
24504         (gst_base_sink_activate_push): Make activation mode choosing work.
24505         Cleanups.
24506         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24507         is right. Make pull mode work. Post an eos before pausing in pull
24508         mode.
24509         (gst_base_sink_change_state): Pay attention to the core's
24510         change_state() return val.
24511         
24512         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24513         has-getrange properties. Cleanups.
24514         
24515         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24516         has_getrange and replace with can_activate_pull and
24517         can_activate_push.
24518
24519         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24520         locking comments. Remove has_loop, has_chain and replace with
24521         can_activate_pull and can_activate_push.
24522
24523 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24524
24525         * configure.ac:
24526         * examples/Makefile.am:
24527         * examples/metadata/Makefile.am:
24528         * examples/metadata/read-metadata.c: (message_loop),
24529         (have_pad_handler), (make_pipeline), (print_tag), (main):
24530           Add metadata reading example that loops over a list of filenames,
24531           dumping any tags found.
24532
24533         * gst/gstbus.c: (gst_bus_dispose):
24534         * gst/gstelement.c: (gst_element_dispose):
24535           Release a few potentially-held references in dispose.
24536
24537 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24538
24539         * docs/gst/tmpl/gstminiobject.sgml:
24540           do *not* add tmpl/*.sgml files to CVS!
24541
24542 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24543
24544         * libs/gst/bytestream/.cvsignore:
24545         * libs/gst/bytestream/Makefile.am:
24546         * libs/gst/bytestream/adapter.c:
24547         * libs/gst/bytestream/adapter.h:
24548         * libs/gst/bytestream/bytestream.c:
24549         * libs/gst/bytestream/bytestream.h:
24550         * libs/gst/bytestream/filepad.c:
24551         * libs/gst/bytestream/filepad.h:
24552           removing obsolete files
24553
24554 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24555
24556         * docs/gst/gstreamer-docs.sgml:
24557         * docs/libs/gstreamer-libs-docs.sgml:
24558           disabed additional index entries again, as this makes docs-gen just
24559           slow and they aren't useful yet
24560         * docs/libs/gstreamer-libs-sections.txt:
24561           little -section.txt cleanup for libs
24562
24563 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24564
24565         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24566         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24567           fix up some debugging
24568         (gst_base_transform_get_unit_size),
24569         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24570         (gst_base_transform_handle_buffer):
24571         * gst/base/gstbasetransform.h:
24572           handle and store timed NEWSEGMENT events so that subclasses that
24573           calculate time by counting samples have a segment_start time they
24574           need to add to their timestamps - see audioresample
24575
24576 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24577
24578         * gst/gstbin.h:
24579           removed ';' from the end of macro defs
24580         * docs/gst/gstreamer-docs.sgml:
24581         * docs/gst/gstreamer-sections.txt:
24582         * docs/gst/tmpl/.cvsignore:
24583         * gst/gstbus.h:
24584         * gst/gstelement.c: (gst_element_class_init),
24585         (gst_element_set_state), (activate_pads),
24586         (gst_element_save_thyself):
24587         * gst/gstevent.c: (gst_event_new_newsegment):
24588         * gst/gstevent.h:
24589         * gst/gstiterator.c:
24590         * gst/gstiterator.h:
24591         * gst/gstpad.c:
24592         * gst/gstprobe.h:
24593         * gst/gstutils.c: (gst_pad_query_convert):
24594         * gst/gstutils.h:
24595           fixed parameter name mismatches between source, header and docs
24596           added some more docs, resolved the last batch of unused elements in
24597           docs (now someone needs to doc them)
24598
24599 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24600
24601         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24602         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24603           don't walk through the plugins backwards.  Where is all this
24604           reversed logic coming from ?
24605
24606 2005-08-25  Wim Taymans  <wim@fluendo.com>
24607
24608         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24609         (gst_base_transform_transform_size),
24610         (gst_base_transform_configure_caps),
24611         (gst_base_transform_get_unit_size),
24612         (gst_base_transform_buffer_alloc),
24613         (gst_base_transform_change_state):
24614         * gst/base/gstbasetransform.h:
24615         Cache caps unit_size.
24616         Make sure we cannot negotiate up and downstream at the
24617         same time.
24618
24619 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24620
24621         * gst/gst.c: (init_pre), (init_post):
24622           register the installed plugin path after the env var
24623         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24624         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24625           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24626           directories, so the tests can prefer uninstalled over installed
24627
24628 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24629
24630         * gst/base/gstbasetransform.h:
24631           comment
24632         * gst/gstpad.c:
24633           add to docs
24634
24635 2005-08-25  Wim Taymans  <wim@fluendo.com>
24636
24637         * gst/gstbin.c: (bin_bus_handler):
24638         Be a bit more conservative about the posted message.
24639         
24640         * gst/gstbus.c: (gst_bus_post):
24641         Some cleanups, warn wrong return values.
24642
24643 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24644
24645         * check/gst/gstbin.c: (GST_START_TEST):
24646         * gst/gstbin.c: (bin_bus_handler):
24647         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24648         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24649         (gst_message_new_warning), (gst_message_new_tag),
24650         (gst_message_new_state_changed), (gst_message_new_segment_start),
24651         (gst_message_new_segment_done), (gst_message_new_custom):
24652         * gst/gstmessage.h:
24653         * tools/gst-launch.c: (event_loop):
24654         * tools/gst-md5sum.c: (event_loop):
24655           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24656
24657 2005-08-25  Wim Taymans  <wim@fluendo.com>
24658
24659         * check/generic/states.c: (GST_START_TEST):
24660         Cleanup can be done at the end.
24661
24662         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24663         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24664         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24665         Oh boy.. Thanks for finding this, Thomas. 
24666
24667 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24668
24669         * docs/gst/gstreamer.types:
24670           added missing types
24671
24672 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24673
24674         * docs/gst/gstreamer-docs.sgml:
24675         * docs/gst/gstreamer-sections.txt:
24676         * docs/gst/tmpl/.cvsignore:
24677         * gst/gstbin.c:
24678         * gst/gstiterator.c:
24679         * gst/gstutils.c:
24680         * gst/registries/gstxmlregistry.h:
24681           added missing classes and symbols (123 more to go)
24682           removed removed symbols from section file
24683           fixed many doc-comments
24684
24685 2005-08-24  Wim Taymans  <wim@fluendo.com>
24686
24687         * check/generic/states.c: (GST_START_TEST):
24688         Make sure all tasks are stopped.
24689
24690         * check/gst/gstbin.c: (GST_START_TEST):
24691         Unref after usage for proper valgrinding.
24692
24693         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24694         Really wait for the task to stop before destroying the
24695         mutex.
24696
24697         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24698         (gst_queue_src_activate_push):
24699         Small cleanups. Don't stop the task when we did not start
24700         it.
24701
24702         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24703         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24704         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24705         (gst_task_join):
24706         * gst/gsttask.h:
24707         Protect the stream lock with the object lock.
24708         Disallow setting the stream lock when running.
24709         Add cleanup_all to wait for the threadpool to finish.
24710         Remove code to autoallocate a mutex if none was provided.
24711         Add _join() to wait for a task to stop.
24712         Protect the thread pool with a global lock.
24713
24714 2005-08-24  Wim Taymans  <wim@fluendo.com>
24715
24716         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24717         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24718         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24719         * gst/base/gstbasesink.h:
24720         Handle newsegment events correctly.
24721         Drop buffers out of the segment range.
24722
24723 2005-08-22  Andy Wingo  <wingo@pobox.com>
24724
24725         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24726         macro, implements an interface and gstimplementsinterface for a
24727         new type.
24728
24729 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24730
24731         * check/Makefile.am:
24732         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24733           add a test that does a bunch of state changes on elements
24734           needs some fixing for valgrind
24735         * check/states/sinks.c: (gst_object_suite):
24736           whitespace
24737         * gst/gstcaps.h:
24738           add prototype for gst_caps_is_equal_fixed
24739         * gst/gstplugin.c:
24740         * gst/gstregistrypool.c:
24741           doc fixes
24742
24743 2005-08-24  Andy Wingo  <wingo@pobox.com>
24744
24745         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24746         convert a negative value. Doesn't make much sense. Mostly this is
24747         here to force callers to ensure -1 maps to -1.
24748
24749 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24750
24751         * docs/pwg/advanced-types.xml:
24752           Well done to Michael for catching my deliberate introduction
24753           of this spelling mistake. 
24754         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24755         * gst/gstelement.h:
24756           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24757           unlink pads before removing the element from the bin.
24758
24759 2005-08-24  Andy Wingo  <wingo@pobox.com>
24760
24761         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24762         the same thing as GST_DEBUG=*:4.
24763         (parse_debug_level, parse_debug_category): New helper parsers.
24764
24765 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24766
24767         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24768         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24769         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24770         (gst_base_transform_buffer_alloc),
24771         (gst_base_transform_handle_buffer):
24772           use gboolean return values and pointers to size so we can use the
24773           full GST_BUFFER_SIZE range (guint) for buffer sizes
24774           use GstPadDirection for transform_caps
24775         * gst/base/gstbasetransform.h:
24776           rename get_size to get_unit_size since that's what it is
24777         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24778           use GstPadDirection for transform_caps
24779         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24780         * gst/gstutils.h:
24781           cleanup and debugging
24782
24783 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24784
24785         * gst/gstelement.c: (gst_element_class_init),
24786         (gst_element_set_state), (activate_pads),
24787         (gst_element_save_thyself):
24788         * tools/gst-compprep.c: (main):
24789         * tools/gst-inspect.c: (print_element_properties_info):
24790         * tools/gst-xmlinspect.c: (print_element_properties):
24791           Fixed long standing mem-leak
24792
24793 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24794
24795         * check/gst/gstbin.c: (GST_START_TEST):
24796         * gst/gstbin.c: (bin_bus_handler):
24797         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24798         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24799         (gst_message_new_warning), (gst_message_new_tag),
24800         (gst_message_new_state_changed), (gst_message_new_segment_start),
24801         (gst_message_new_segment_done), (gst_message_new_custom):
24802         * gst/gstmessage.h:
24803         * tools/gst-launch.c: (event_loop):
24804         * tools/gst-md5sum.c: (event_loop):
24805           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24806           that applications can sensibly post custom messages with references
24807           to their own objects.
24808
24809 2005-08-24  Andy Wingo  <wingo@pobox.com>
24810
24811         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24812         already.
24813
24814 2005-08-24  Wim Taymans  <wim@fluendo.com>
24815
24816         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24817         (gst_base_transform_transform_caps),
24818         (gst_base_transform_transform_size),
24819         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24820         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24821         (gst_base_transform_handle_buffer):
24822         * gst/base/gstbasetransform.h:
24823         Many fixes and new features added by Thomas. Can now also do
24824         transforms with variable sizes and a custom fixate_caps function.
24825
24826 2005-08-24  Wim Taymans  <wim@fluendo.com>
24827
24828         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24829         Some debugging.
24830
24831         * gst/gstclock.h:
24832         Cast to ClockTime before formatting to time.
24833
24834         * gst/gstutils.h:
24835         Cleanups.
24836
24837 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24838
24839         * check/gst-libs/controller.c: (GST_START_TEST),
24840         (gst_controller_suite):
24841         * docs/gst/tmpl/gstcaps.sgml:
24842         * docs/gst/tmpl/gstghostpad.sgml:
24843         * docs/gst/tmpl/gstquery.sgml:
24844         * docs/gst/tmpl/gstutils.sgml:
24845         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24846         (gst_object_sink_values), (gst_object_get_value_arrays),
24847         (gst_object_get_value_array):
24848           gracefully handle helper method calls to objects that are not beeing
24849           controlled, added test case for that          
24850
24851 2005-08-23  Wim Taymans  <wim@fluendo.com>
24852
24853         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24854         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24855         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24856         (gst_event_parse_qos), (gst_event_new_seek),
24857         (gst_event_parse_seek):
24858         * gst/gstevent.h:
24859         Some more debugging output and doc cleanups.
24860
24861         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24862         Fix possible deadlock.
24863
24864 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24865
24866         * docs/gst/gstreamer-docs.sgml:
24867         * docs/gst/gstreamer-sections.txt:
24868         * docs/gst/gstreamer.types:
24869         * docs/gst/tmpl/.cvsignore:
24870         * gst/gstbin.h:
24871         * gst/gstbus.c:
24872         * gst/gstelement.c:
24873         * gst/gstevent.h:
24874           added 100 symbols from gstreamer-unused.txt to the right sections
24875           fixed more broken comments
24876           added GstBus to docs
24877
24878 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24879
24880         * docs/gst/gstreamer-sections.txt:
24881         * docs/gst/tmpl/.cvsignore:
24882         * docs/gst/tmpl/gstbin.sgml:
24883         * docs/gst/tmpl/gstbuffer.sgml:
24884         * gst/base/gstbasesrc.c:
24885         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24886         * gst/gstbuffer.c:
24887         * gst/gstbuffer.h:
24888         * tools/gst-launch.1.in:
24889           inlined more doc comments, added missing comments and fixed comments
24890           fixed typos
24891
24892 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24893
24894         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24895           some debugging
24896         * gst/gstcaps.h:
24897           whitespace fixes
24898         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24899           more debugging
24900         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24901         * gst/gststructure.h:
24902           add a fixate function for booleans; add a FIXME that these func
24903           names should probably be gst_structure_fixate_*
24904
24905 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24906
24907         * docs/gst/gstreamer-docs.sgml:
24908         * docs/gst/gstreamer-sections.txt:
24909         * gst/Makefile.am:
24910         * gst/gstbin.c: (gst_bin_get_type),
24911         (gst_bin_child_proxy_get_child_by_index),
24912         (gst_bin_child_proxy_get_children_count),
24913         (gst_bin_child_proxy_init):
24914         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24915         (gst_child_proxy_get_child_by_index),
24916         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24917         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24918         (gst_child_proxy_get), (gst_child_proxy_set_property),
24919         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24920         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24921         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24922         * gst/gstchildproxy.h:
24923         * gst/parse/grammar.y:
24924         * tools/gst-inspect.c: (print_interfaces),
24925         (print_element_properties_info), (print_element_info):
24926           ported gstchildproxy over from 0.8
24927           ported gst-inspect fixes and enhancements over from 0.8
24928
24929 2005-08-22  Wim Taymans  <wim@fluendo.com>
24930
24931         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24932         (gst_base_transform_handle_buffer):
24933         Also call the transform function if we have ANY caps.
24934
24935         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24936         Fix debug info.
24937
24938 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24939
24940         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24941           Don't pretend to handle seek events if the source is not seekable
24942
24943 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24944
24945         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24946           Remove extra parameter to debug output
24947
24948         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24949         (gst_base_src_do_seek), (gst_base_src_activate_push):
24950           Fix seek event handling.
24951
24952         * gst/gstpipeline.c: (gst_pipeline_change_state):
24953         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24954         (gst_queue_src_activate_push):
24955           Don't start the src pad task on FLUSH_STOP if the pad
24956           isn't linked.
24957           Debug changes.
24958
24959 2005-08-22  Wim Taymans  <wim@fluendo.com>
24960
24961         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24962         Added check for gst_static_caps_get() refcounting.
24963
24964 2005-08-22  Wim Taymans  <wim@fluendo.com>
24965
24966         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24967         Make _static_caps_get() refcounting sane.
24968         
24969         * gst/gstelement.c: (gst_element_set_state):
24970         Add g_return_val_if_fail() to protect against segfaults.
24971
24972 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24973
24974         * docs/gst/tmpl/gstevent.sgml:
24975         * gst/gstevent.c:
24976         * gst/gstevent.h:
24977           inlined remaining docs, added missing doc comments
24978
24979 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24980
24981         * check/gst/gstbin.c: (GST_START_TEST):
24982           since we don't know when preroll is done, use refcount range
24983           check for the sink
24984         * gst/check/gstcheck.h:
24985           add macro for checking refcount range
24986
24987 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24988
24989         * check/Makefile.am:
24990           clean up environment for when registry gets built versus
24991           when actual tests are run; valgrind seems to not report
24992           leaks if GST_PLUGIN_PATH is set to some specific values
24993         * check/gst/gstbin.c: (GST_START_TEST):
24994           add more refcounting checks; maybe this exposes a
24995           preroll lock bug ?
24996         * common/check.mak:
24997         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24998         * gst/check/gstcheck.h:
24999         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
25000         (gst_bin_change_state):
25001         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
25002           add/fix debugging/whitespace
25003
25004 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
25005
25006         * check/gst/gstevent.c: (event_probe), (test_event),
25007         (GST_START_TEST):
25008          Er, don't call gst_bin_watch_for_state_change you idiot.
25009
25010 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
25011
25012         * check/Makefile.am:
25013           Use CHECK_CFLAGS and CHECK_LIBS
25014         * check/gst/gstevent.c: (event_probe), (test_event),
25015         (GST_START_TEST):
25016           Don't leak events.
25017         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25018         (gst_base_src_start), (gst_base_src_stop),
25019         (gst_base_src_activate_push), (gst_base_src_activate_pull),
25020         (gst_base_src_change_state):
25021           Sprinkle gst_base_src_stop liberally around error paths to fix
25022           problems reusing a source after failed state changes.
25023         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25024         (helper_find_suggest), (gst_type_find_helper):
25025           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
25026         * gst/gstevent.h:
25027         * docs/gst/tmpl/gstevent.sgml:
25028           Migrate part of the docs from the SGML file. Wait for ensonic to
25029           tell me how I did it wrong ;)
25030         * tools/gst-typefind.c: (main):
25031           Extra robustness to state changes between files.
25032
25033 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25034
25035         * check/Makefile.am:
25036           don't valgrind the controller test - it's leaking - Stefan, HELP
25037         * gst/check/gstcheck.c: (gst_check_message_error),
25038         (gst_check_chain_func), (gst_check_setup_element),
25039         (gst_check_teardown_element), (gst_check_setup_src_pad),
25040         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
25041         (gst_check_teardown_sink_pad):
25042         * gst/check/gstcheck.h:
25043           add a bunch of methods to set up elements, and src and sink pads
25044         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
25045         * check/elements/identity.c: (setup_identity), (cleanup_identity),
25046         (GST_START_TEST):
25047           use them
25048         * gst/gstmessage.c:
25049         * gst/gsttag.h:
25050           whitespace/doc fixes
25051
25052 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25053
25054         * gst/gstelement.h:
25055           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
25056           be handled by the application and not always printed as well
25057
25058 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25059
25060         * check/Makefile.am:
25061           set GST_TOOLS_DIR
25062         * gst/check/gstcheck.c: (gst_check_message_error):
25063         * gst/check/gstcheck.h:
25064           add a fail_unless_equals_int
25065           add fail_unless for error messages
25066
25067 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25068
25069         * check/Makefile.am:
25070         * check/gst.supp:
25071         * common/Makefile.am:
25072         * common/check.mak:
25073         * common/gst.supp:
25074           factor out some of the common stuff so we can use it
25075
25076 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25077
25078         * check/Makefile.am:
25079         * check/gst/gstiterator.c: (GST_START_TEST):
25080         * check/gst/gstsystemclock.c: (GST_START_TEST),
25081         (gst_systemclock_suite):
25082         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25083         * gst/gstclock.c:
25084           valgrind more tests
25085
25086 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25087
25088         * check/elements/.cvsignore:
25089         * check/elements/gstfakesrc.c:
25090           rename to name of element
25091         * check/elements/identity.c: (chain_func), (event_func),
25092         (setup_identity), (cleanup_identity), (GST_START_TEST),
25093         (identity_suite), (main):
25094           add a test for identity
25095         * check/Makefile.am:
25096         * pkgconfig/Makefile.am:
25097         * pkgconfig/gstreamer-check.pc.in:
25098         * pkgconfig/gstreamer-check-uninstalled.pc.in:
25099         * gst/check:
25100         * gst/Makefile.am:
25101         * configure.ac:
25102           move the check stuff to a library that gets installed
25103         * check/gst-libs/controller.c: (GST_START_TEST):
25104         * check/gst-libs/gdp.c:
25105         * check/gst/gst.c: (GST_START_TEST):
25106         * check/gst/gstbin.c:
25107         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25108         * check/gst/gstbus.c:
25109         * check/gst/gstcaps.c: (GST_START_TEST):
25110         * check/gst/gstelement.c:
25111         * check/gst/gstghostpad.c:
25112         * check/gst/gstiterator.c:
25113         * check/gst/gstmessage.c:
25114         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
25115         * check/gst/gstobject.c:
25116         * check/gst/gstpad.c: (GST_START_TEST):
25117         * check/gst/gststructure.c: (GST_START_TEST):
25118         * check/gst/gstsystemclock.c: (GST_START_TEST),
25119         (gst_systemclock_suite):
25120         * check/gst/gsttag.c: (gst_tag_suite):
25121         * check/gst/gstvalue.c:
25122         * check/pipelines/cleanup.c:
25123         * check/pipelines/simple_launch_lines.c:
25124         * check/states/sinks.c:
25125           change include statement
25126
25127         * docs/gst/gstreamer-sections.txt:
25128         * docs/gst/tmpl/gstpad.sgml:
25129           document more pad stuff
25130         * gst/gstminiobject.c: (gst_mini_object_ref),
25131         (gst_mini_object_unref):
25132           debug refcounting
25133
25134 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
25135
25136         * docs/gst/tmpl/gst.sgml:
25137         * gst/gst.c:
25138           eliminate another tmpl file, fix spelling in the long-description
25139
25140 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25141
25142         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25143         (test_event), (timediff), (gstevents_suite):
25144           Should fix build on 64-bit arch's
25145
25146 2005-08-18  Andy Wingo  <wingo@pobox.com>
25147
25148         Make sure that when a pipeline goes to PLAYING, that data has
25149         actually hit the sink.
25150
25151         * check/states/sinks.c (test_sink): A sink that doesn't get any
25152         data shouldn't return SUCCESS for going to either PLAYING or
25153         PAUSED. Test also the return values on the way back down.
25154
25155         * gst/gstelement.c (gst_element_set_state): When changing the
25156         state of an element currently changing state asynchronously, go to
25157         lost-state after commiting the pending state. Makes future calls
25158         to get_state continue to return ASYNC.
25159
25160         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25161         ASYNC when going to PLAYING if we still don't have preroll, as can
25162         happen with live sources.
25163
25164 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25165
25166         * docs/pwg/advanced-types.xml:
25167           Hack long paragraph into 2 chunks as a workaround for buggy
25168           jadetex version in sid and breezy that loops infinitely and
25169           eats all RAM.
25170
25171 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25172
25173         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25174         (test_event), (timediff), (gstevents_suite):
25175           Provide more error margin in clock measurements to allow for 
25176           g_get_current_time inaccuracies.
25177
25178 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25179
25180         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25181         (test_event), (timediff), (gstevents_suite):
25182            Fix error message output so I might be able to tell why the
25183            test works here but fails on the build farm.
25184
25185 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25186
25187         * check/Makefile.am:
25188         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25189         (test_event), (timediff), (gstevents_suite), (main):
25190           I wrote a test!
25191
25192         * docs/design/part-seeking.txt:
25193           Spelling correction
25194
25195         * docs/gst/tmpl/gstevent.sgml:
25196         * docs/gst/tmpl/gstfakesrc.sgml:
25197           Docs updates.
25198
25199         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25200           Treat a buffer-without-newsegment the same as a receiving 
25201           a newsegment not in time format, and disable syncing to the clock
25202           with a warning.
25203
25204         * gst/gstbus.c: (gst_bus_set_sync_handler):
25205           Assert if anyone tries to replace the existing sync_handler for bus, 
25206           as only the owner should be setting it.
25207
25208         * gst/gstevent.h:
25209           Have a fixed set of custom event enums with events identified by
25210           their structure name (as in 0.8), rather than a free-for-all
25211           allowing collisions between enum values from different plugins.
25212
25213         * gst/gstpad.c: (gst_pad_class_init):
25214           Docs change.
25215           
25216         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25217           Handle out-of-band downstream events from the sending thread.
25218
25219 2005-08-17  Andy Wingo  <wingo@pobox.com>
25220
25221         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25222         play-timeout==0 to mean no timeout at all. In that case, don't
25223         bother with a get_state or a warning, just return directly, even
25224         if it's ASYNC.
25225
25226         * gst/base/gstbasetransform.c: Debug changes.
25227
25228         * gst/gstutils.h:
25229         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25230         ensure bins post state change messages. A bit of a hack but I can't
25231         think of a way to avoid it.
25232
25233         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25234
25235 2005-08-16  Andy Wingo  <wingo@pobox.com>
25236
25237         * gst/base/gstadapter.h:
25238         * gst/base/gstadapter.c (gst_adapter_take): New function, like
25239         peek() but you own the data. Not terribly efficient atm.
25240
25241 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25242
25243         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25244         (gst_element_found_tags):
25245         * gst/gstutils.h:
25246           Add two utility functions for tag handling.
25247
25248 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25249
25250         * docs/manual/advanced-dataaccess.xml:
25251         * docs/manual/basics-helloworld.xml:
25252           Fix docs to use _bin_add() before _link(), which fixes the examples
25253           with recent core versions (reported by Madhan Raj M
25254           <raj_madan@rediffmail.com>, #313199).
25255
25256 2005-08-16  Wim Taymans  <wim@fluendo.com>
25257
25258         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25259         Added subtract checks.
25260
25261         * docs/design/part-events.txt:
25262         Some more docs about newsegment
25263
25264         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25265         Fix FIXME
25266
25267         * gst/gstcaps.c: (gst_caps_to_string):
25268         Add comments, cleanups.
25269         
25270         * gst/gstelement.c: (gst_element_save_thyself):
25271         cleanups
25272         
25273         * gst/gstvalue.c: (gst_value_collect_int_range),
25274         (gst_string_unwrap), (gst_value_union_int_int_range),
25275         (gst_value_union_int_range_int_range),
25276         (gst_value_intersect_int_int_range),
25277         (gst_value_intersect_int_range_int_range),
25278         (gst_value_intersect_double_double_range),
25279         (gst_value_intersect_double_range_double_range),
25280         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25281         (gst_value_subtract_int_range_int),
25282         (gst_value_subtract_double_range_double),
25283         (gst_value_subtract_double_range_double_range),
25284         (gst_value_subtract_from_list), (gst_value_subtract_list),
25285         (gst_value_can_compare), (gst_value_compare_fraction):
25286         Cleanups, add comments, remove unneeded asserts.
25287
25288 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25289
25290         * tools/gst-launch.c: (event_loop):
25291           don't convert NULL structures to strings
25292
25293 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
25294
25295         * docs/gst/gstreamer-sections.txt:
25296           made some defines private
25297         * docs/gst/tmpl/gstconfig.sgml:
25298         * docs/gst/tmpl/gstqueue.sgml:
25299         * docs/gst/tmpl/gsttaglist.sgml:
25300         * docs/gst/tmpl/gsttypes.sgml:
25301         * docs/gst/tmpl/gstutils.sgml:
25302         * docs/pwg/appendix-porting.xml:
25303         * gst/base/gstbasesink.h:
25304         * gst/base/gstbasesrc.c:
25305         * gst/base/gstbasesrc.h:
25306         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25307         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25308         * gst/gstelement.c: (gst_element_class_init):
25309         * gst/gstpad.c: (gst_pad_class_init):
25310         * gst/gstqueue.c: (gst_queue_class_init):
25311         * gst/gstxml.c: (gst_xml_class_init):
25312           documented all undocumented signal inline
25313         * libs/gst/controller/gst-controller.h:
25314           added padding
25315
25316 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25317
25318         * docs/pwg/appendix-porting.xml:
25319           Document _set_link_function -> _set_setcaps_function.
25320
25321 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25322
25323         * check/Makefile.am:
25324           add a .check target for running the check
25325         * check/gst-libs/controller.c: (GST_START_TEST):
25326           cosmetic fixups
25327         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25328           complete checks for gstbuffer; would be nice if I could get the
25329           gcov stuff to work so I can see if I actually completed gstbuffer.c
25330         * check/gstcheck.h:
25331           add ASSERT_BUFFER_REFCOUNT
25332
25333 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
25334
25335         * docs/gst/gstreamer-sections.txt:
25336         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25337         * gst/gsttag.h:
25338           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25339           spew out a warning if a tag that is already registered
25340           is re-registered, unless it is re-registered with a 
25341           different type (#308438).
25342
25343 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
25344
25345         * docs/pwg/appendix-porting.xml:
25346         * docs/pwg/building-state.xml:
25347           Add some paragraphs about state changes in 0.9 to the PWG
25348           and the porting guide, in particular about the new meaning
25349           of GST_STATE_PAUSED and how to write state change functions
25350           with concurrent access by multiple threads in mind.
25351
25352 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
25353
25354         * docs/gst/gstreamer-docs.sgml:
25355         * docs/libs/gstreamer-libs-docs.sgml:
25356           added deprecation and since indexes
25357         * libs/gst/controller/gst-controller.c:
25358         * libs/gst/controller/gst-helper.c:
25359           added since tags
25360
25361
25362 2005-08-11  Wim Taymans  <wim@fluendo.com>
25363
25364         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25365         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25366         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25367         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25368         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25369         (gst_ghost_pad_set_target):
25370         Actually implement (re)setting the target on a ghostpad
25371         as described in the docs.
25372
25373 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25374
25375         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25376           Check whether GST_DEBUG_NO_COLOR environment variable is
25377           set and disable coloured debug output if that is the case.
25378
25379 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25380
25381         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25382         (gst_type_find_helper):
25383           The memory returned by gst_type_find_peek() needs to
25384           stay valid until the end of a typefind function, and
25385           typefind functions may keep results from different 
25386           offsets around, so we can't just unref the buffer from
25387           the previous _peek(), but have to save all buffers 
25388           returned by _peek() until typefinding is done and only
25389           free them then.
25390
25391 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
25392
25393         * docs/gst/gstreamer-sections.txt:
25394         * gst/gstutils.h:
25395           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25396
25397 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25398
25399         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25400           Fix a pretty good memleak.
25401
25402 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25403
25404         * gst/gstiterator.h:
25405           Fix wrong include and 'make distcheck'.
25406
25407 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25408
25409         * gst/gstbin.c: (bin_bus_handler):
25410           Use gst_element_post_message() instead.
25411
25412 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25413
25414         * gst/base/gstadapter.h:
25415         * gst/base/gstbasesink.h:
25416         * gst/base/gstbasesrc.h:
25417         * gst/base/gstbasetransform.h:
25418         * gst/base/gstcollectpads.h:
25419         * gst/base/gstpushsrc.h:
25420         * gst/gstiterator.h:
25421           Add padding to our base elements' class and instance structs and
25422           to GstIterator (you will need to rebuild all plugins and apps!)
25423
25424 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25425
25426         * gst/gstbin.c: (bin_bus_handler):
25427           Make default message forwarding from child->bus to bin->bus
25428           threadsafe and make it not emit warnings if the parent has no bus.
25429
25430 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25431
25432         * gst/gstelement.c: (activate_pads):
25433           On paused->ready, set pad->caps to NULL, as is the documented
25434           behaviour in this state change. Fixes playback of series of
25435           media files when visualization is enabled in Totem.
25436
25437 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25438
25439         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25440           Allow NULL as filter-caps (which means "any").
25441
25442 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25443
25444         * docs/libs/gstreamer-libs-sections.txt:
25445         * libs/gst/controller/gst-controller.c:
25446         * libs/gst/controller/gst-controller.h:
25447         * libs/gst/controller/gst-helper.c:
25448           adding more entries to the docs and fix small doc-bugs
25449
25450 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25451
25452         * docs/gst/gstreamer-docs.sgml:
25453         * docs/gst/gstreamer-sections.txt:
25454         * docs/gst/gstreamer.types:
25455         * docs/gst/tmpl/gstbasesink.sgml:
25456         * docs/gst/tmpl/gstbasesrc.sgml:
25457         * docs/gst/tmpl/gstbasetransform.sgml:
25458         * docs/gst/tmpl/gstfakesrc.sgml:
25459         * gst/base/gstcollectpads.c:
25460         * gst/base/gstcollectpads.h:
25461         * libs/gst/controller/gst-controller.c:
25462         * libs/gst/controller/gst-controller.h:
25463         * libs/gst/controller/gst-helper.c:
25464         * libs/gst/controller/gst-interpolation.c:
25465         * libs/gst/controller/lib.c:
25466           added long/short desc for controller docs
25467           added collectpads base class docs
25468           added correct includes to base-class docs
25469
25470 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25471
25472         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25473         (gst_test_mono_source_set_property),
25474         (gst_test_mono_source_class_init), (GST_START_TEST),
25475         (gst_controller_suite):
25476         * docs/gst/gstreamer-docs.sgml:
25477         * docs/gst/gstreamer-sections.txt:
25478         * docs/gst/gstreamer.types:
25479         * docs/libs/gstreamer-libs-docs.sgml:
25480         * docs/libs/gstreamer-libs-sections.txt:
25481         * gst/base/gstadapter.c:
25482         * libs/gst/controller/gst-controller.c:
25483         (gst_controlled_property_new), (gst_controlled_property_free),
25484         (gst_controller_new_valist),
25485         (gst_controller_remove_properties_valist),
25486         (gst_controller_sink_values), (_gst_controller_finalize):
25487         * libs/gst/controller/gst-controller.h:
25488         * libs/gst/controller/gst-helper.c:
25489         (gst_object_control_properties), (gst_object_uncontrol_properties),
25490         (gst_object_get_controller), (gst_object_set_controller),
25491         (gst_object_sink_values), (gst_object_get_value_arrays),
25492         (gst_object_get_value_array):
25493           more tests (and fixes) for the controller
25494           more docs for the controller
25495           integrated companies docs for the adapter 
25496
25497 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25498
25499         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25500         (GST_START_TEST), (fakesrc_suite):
25501           add tests for sizetype
25502
25503 2005-08-04  Andy Wingo  <wingo@pobox.com>
25504
25505         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25506         fixes buffer_alloc proxying among other things.
25507
25508         * gst/base/gstbasetransform.c:
25509         * gst/base/gstbasetransform.h:
25510         Revert patch to gstbasetransform from 7-28 removing
25511         delay_configure.
25512
25513         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25514         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25515         Semantics changed, should return not the size of the output buffer
25516         but the byte size of a buffer with a given caps.
25517
25518         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25519         debug object.
25520         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25521         out) are not the pad caps until setcaps finishes.
25522         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25523         not-in-place case as well. Deal with changing from in-place to
25524         not-in-place within calling pad_alloc_buffer. Still a bit
25525         concerned about the overhead here...
25526
25527 2005-08-03  Andy Wingo  <wingo@pobox.com>
25528
25529         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25530         fixating is an error.
25531
25532 2005-08-04  Edward Hervey  <edward@fluendo.com>
25533
25534         * gst/base/gstadapter.h: 
25535         Added gst_adapter_get_type() to the header
25536
25537 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25538
25539         * check/Makefile.am:
25540         * check/gst-libs/controller.c:
25541         * libs/gst/controller/gst-controller.c:
25542         (gst_controller_new_valist):
25543           added check test suite for the controller
25544         * gst/base/gstpushsrc.c:
25545           fixed a doc typo
25546
25547 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25548
25549         * docs/gst/Makefile.am:
25550         * docs/gst/gstreamer-docs.sgml:
25551         * docs/gst/gstreamer-sections.txt:
25552         * docs/gst/gstreamer.types:
25553         * docs/gst/tmpl/gstfakesrc.sgml:
25554         * gst/base/README:
25555         * gst/base/gstbasesink.c:
25556         * gst/base/gstbasesink.h:
25557         * gst/base/gstbasesrc.c:
25558         * gst/base/gstbasesrc.h:
25559         * gst/base/gstbasetransform.c:
25560         * gst/base/gstpushsrc.c:
25561         * gst/base/gstpushsrc.h:
25562           add short/long description docs to base classes
25563           add pushsrc to the docs
25564           remove consolidated doc fragments
25565
25566 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25567
25568         * configure.ac:
25569         * docs/libs/Makefile.am:
25570         * docs/libs/gstreamer-libs-docs.sgml:
25571         * docs/libs/gstreamer-libs-sections.txt:
25572         * docs/libs/gstreamer-libs.types:
25573         * examples/Makefile.am:
25574         * examples/controller/.cvsignore:
25575         * examples/controller/Makefile.am:
25576         * examples/controller/audio-example.c: (main):
25577         * libs/gst/Makefile.am:
25578         * libs/gst/controller/.cvsignore:
25579         * libs/gst/controller/Makefile.am:
25580         * libs/gst/controller/gst-controller.c:
25581         (on_object_controlled_property_changed), (gst_timed_value_compare),
25582         (gst_timed_value_find),
25583         (gst_controlled_property_set_interpolation_mode),
25584         (gst_controlled_property_new), (gst_controlled_property_free),
25585         (gst_controller_find_controlled_property),
25586         (gst_controller_new_valist), (gst_controller_new),
25587         (gst_controller_remove_properties_valist),
25588         (gst_controller_remove_properties), (gst_controller_set),
25589         (gst_controller_set_from_list), (gst_controller_unset),
25590         (gst_controller_get), (gst_controller_get_all),
25591         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25592         (gst_controller_get_value_array),
25593         (gst_controller_set_interpolation_mode),
25594         (_gst_controller_finalize), (_gst_controller_init),
25595         (_gst_controller_class_init), (gst_controller_get_type):
25596         * libs/gst/controller/gst-controller.h:
25597         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25598         (g_object_uncontrol_properties), (g_object_get_controller),
25599         (g_object_set_controller), (g_object_sink_values),
25600         (g_object_get_value_arrays), (g_object_get_value_array):
25601         * libs/gst/controller/gst-interpolation.c:
25602         (gst_controlled_property_find_timed_value_node),
25603         (interpolate_none_get), (interpolate_trigger_get),
25604         (interpolate_trigger_get_value_array):
25605         * libs/gst/controller/lib.c: (gst_controller_init):
25606         * pkgconfig/Makefile.am:
25607         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25608         * pkgconfig/gstreamer-control.pc.in:
25609         * testsuite/Makefile.am:
25610         * testsuite/controller/.cvsignore:
25611         * testsuite/controller/Makefile.am:
25612         * testsuite/controller/interpolator.c: (main):
25613           added controller code
25614           removed dparam pc files
25615
25616 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25617         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25618         (gst_collectpads_stop):
25619           Broadcast the condition when shutting down, to make sure we wake all
25620           threads up. Shut down pads on finalize, for safety.
25621
25622 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25623         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25624         (gst_base_transform_handle_buffer),
25625         (gst_base_transform_change_state):
25626           Handle PAUSED->READY->PAUSED transition after negotiation
25627           occurred already.
25628         * gst/gstmessage.c: (gst_message_init):
25629           Extra piece of debug for new messages.
25630
25631 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25632
25633         * configure.ac:
25634         * docs/gst/tmpl/gstbasesrc.sgml:
25635         * docs/gst/tmpl/gstelement.sgml:
25636         * docs/gst/tmpl/gstevent.sgml:
25637         * docs/gst/tmpl/gstfakesrc.sgml:
25638         * docs/gst/tmpl/gstformat.sgml:
25639         * docs/gst/tmpl/gstghostpad.sgml:
25640         * docs/gst/tmpl/gstpad.sgml:
25641         * docs/gst/tmpl/gstquery.sgml:
25642         * docs/gst/tmpl/gststructure.sgml:
25643         * docs/gst/tmpl/gsttaglist.sgml:
25644         * docs/gst/tmpl/gstvalue.sgml:
25645         * docs/libs/gstreamer-libs-docs.sgml:
25646         * docs/libs/gstreamer-libs-sections.txt:
25647         * docs/libs/gstreamer-libs.types:
25648         * libs/gst/Makefile.am:
25649         * libs/gst/control/.cvsignore:
25650         * libs/gst/control/Makefile.am:
25651         * libs/gst/control/control.c:
25652         * libs/gst/control/control.h:
25653         * libs/gst/control/dparam.c:
25654         * libs/gst/control/dparam.h:
25655         * libs/gst/control/dparam_smooth.c:
25656         * libs/gst/control/dparam_smooth.h:
25657         * libs/gst/control/dparamcommon.h:
25658         * libs/gst/control/dparammanager.c:
25659         * libs/gst/control/dparammanager.h:
25660         * libs/gst/control/dplinearinterp.c:
25661         * libs/gst/control/dplinearinterp.h:
25662         * libs/gst/control/unitconvert.c:
25663         * libs/gst/control/unitconvert.h:
25664         * testsuite/Makefile.am:
25665         * testsuite/dynparams/.cvsignore:
25666         * testsuite/dynparams/Makefile.am:
25667         * testsuite/dynparams/dparamstest.c:
25668         * tools/Makefile.am:
25669         * tools/gst-inspect.c: (print_element_info), (main):
25670         * tools/gst-xmlinspect.c: (print_element_info), (main):
25671           deactivate and remove dparams (libgstcontrol)
25672
25673 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25674
25675         * gst/elements/gsttypefindelement.c:
25676         (gst_type_find_element_have_type), (gst_type_find_element_init),
25677         (stop_typefinding), (gst_type_find_element_handle_event),
25678         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25679         * gst/elements/gsttypefindelement.h:
25680           Set caps on all outgoing buffers, not just the first one.
25681
25682 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25683
25684         * gst/elements/gsttypefindelement.c:
25685         (gst_type_find_element_have_type),
25686         (gst_type_find_element_check_set_buffer_caps),
25687         (gst_type_find_element_init), (stop_typefinding),
25688         (gst_type_find_element_handle_event),
25689         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25690         * gst/elements/gsttypefindelement.h:
25691           Set caps on first outgoing buffer when we've found the type.
25692
25693 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25694
25695         * docs/gst/gstreamer-docs.sgml:
25696         * docs/gst/gstreamer-sections.txt:
25697         * docs/gst/tmpl/gstscheduler.sgml:
25698         * docs/gst/tmpl/gstschedulerfactory.sgml:
25699           Remove some old cruft from docs.
25700
25701 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25702
25703         * gst/gstpad.h:
25704           Fix inline docs for GstPadLinkReturn.
25705           
25706         * gst/gststructure.c: (gst_structure_has_name):
25707         * gst/gststructure.h:
25708         * docs/gst/gstreamer-sections.txt:
25709           New API: gst_structure_has_name().
25710
25711 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25712
25713         * configure.ac:
25714           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25715           and _LARGEFILE_SOURCE in config.h as required. Do not 
25716           export those flags in our .pc files any longer (#142209).
25717
25718           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25719
25720         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25721         (gst_file_sink_do_seek), (gst_file_sink_event),
25722         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25723           Redo seek/tell calls with large file support in mind; add some
25724           debugging messages; add log message that tells us when large
25725           file support is unavailable or not enabled for some reason.
25726
25727         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25728           Add log message that tells us when large file support 
25729           is unavailable or not enabled for some reason.
25730
25731 2005-07-29  Wim Taymans  <wim@fluendo.com>
25732
25733         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25734         Added test for removing an element with ghostpad from a bin.
25735         Fixed test as current implementation does the right thing.
25736
25737         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25738         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25739         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25740         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25741         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25742         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25743         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25744         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25745         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25746         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25747         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25748         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25749         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25750         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25751         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25752         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25753         * gst/gstghostpad.h:
25754         Clean up ghostpads, remove properties for internal stuff.
25755         Make threadsafe.
25756         Fix refcounting.
25757         Prepare for switching targets, not all use cases work yet.
25758
25759 2005-07-29  Wim Taymans  <wim@fluendo.com>
25760
25761         * docs/design/part-gstghostpad.txt:
25762         Small update.
25763
25764         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25765         (gst_bin_remove_func):
25766         Unlinking pads while holding the bin LOCK is not a good
25767         idea.
25768
25769         * gst/gstpad.c: (gst_pad_class_init),
25770         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25771         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25772         No prob setting template after creating the pad.
25773
25774 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25775
25776         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25777         (gst_bus_peek), (gst_bus_source_dispatch),
25778         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25779         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25780           gst_bus_poll may be called from other threads. Handle
25781           this nicely by not making poll_data disappear off the
25782           stack once gst_bus_poll returns.
25783           gst_bus_peek now increments the refcount on the returned
25784           message.
25785
25786 2005-07-29  Wim Taymans  <wim@fluendo.com>
25787
25788         * docs/design/part-gstghostpad.txt:
25789         Overview of current GhostPad datastructures and use
25790         cases for changing the target.
25791
25792 2005-07-28  Wim Taymans  <wim@fluendo.com>
25793
25794         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25795         Added checks for hierarchy consistency whan adding linked
25796         elements to bins.
25797
25798         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25799         Added check to test element scheduling without bin/pipeline.
25800
25801         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25802         First add elements to bin, then link.
25803         
25804         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25805         (gst_bin_remove_func):
25806         Unlink pads from elements added/removed from bin to maintain
25807         hierarchy consistency.
25808
25809 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25810
25811         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25812         (gst_base_transform_handle_buffer):
25813         * gst/base/gstbasetransform.h:
25814           Remove broken delay_configure (fixes renegotiation of software
25815           scaling pipelines); remove some leftover printf()s.
25816
25817 2005-07-28  Wim Taymans  <wim@fluendo.com>
25818
25819         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25820         Added some more tests for wrong hierarchy
25821
25822         * docs/design/part-overview.txt:
25823         Some updates.
25824
25825         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25826         Cleanups.
25827
25828         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25829         (gst_element_dispose):
25830         Some more cleanups.
25831
25832         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25833         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25834         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25835         (gst_pad_set_caps), (gst_pad_send_event):
25836         Check for correct hierarchy when linking pads. Moving to
25837         strict requirement for ghostpads when linking elements in
25838         different bins.
25839
25840         * gst/gstpad.h:
25841         Clean ups. Added WRONG_HIERARCHY return value.
25842
25843 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25844
25845         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25846           Better debug if no transform is possible.
25847
25848 2005-07-27  Wim Taymans  <wim@fluendo.com>
25849
25850         * docs/random/wtay/network-transp:
25851         Some old doc I had.
25852
25853 2005-07-27  Wim Taymans  <wim@fluendo.com>
25854
25855         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25856         (gst_dp_event_from_packet):
25857         Fix serialization of seek events.
25858
25859 2005-07-27  Wim Taymans  <wim@fluendo.com>
25860
25861         * check/gst-libs/gdp.c: (GST_START_TEST):
25862         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25863         Fix compilation and fix event serialization.
25864
25865 2005-07-27  Wim Taymans  <wim@fluendo.com>
25866
25867         * CHANGES-0.9:
25868         * docs/design/part-TODO.txt:
25869         * docs/design/part-events.txt:
25870         Some docs updates
25871
25872         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25873         (gst_base_sink_event), (gst_base_sink_do_sync),
25874         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25875         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25876         (gst_base_src_do_seek), (gst_base_src_event_handler),
25877         (gst_base_src_loop):
25878         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25879         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25880         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25881         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25882         (gst_base_transform_set_passthrough),
25883         (gst_base_transform_is_passthrough):
25884         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25885         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25886         Event updates.
25887
25888         * gst/gstbuffer.h:
25889         Use faster casts.
25890
25891         * gst/gstelement.c: (gst_element_seek):
25892         * gst/gstelement.h:
25893         Update gst_element_seek.
25894
25895         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25896         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25897         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25898         (gst_event_new_eos), (gst_event_new_newsegment),
25899         (gst_event_parse_newsegment), (gst_event_new_tag),
25900         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25901         (gst_event_parse_qos), (gst_event_new_seek),
25902         (gst_event_parse_seek), (gst_event_new_navigation):
25903         * gst/gstevent.h:
25904         Make GstEvent use GstStructure. Add parsing code, make sure the
25905         API is sufficiently generic.
25906         Mark possible directions of events and serialization.
25907
25908         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25909         (_gst_message_copy), (gst_message_new_segment_start),
25910         (gst_message_new_segment_done), (gst_message_new_custom),
25911         (gst_message_parse_segment_start),
25912         (gst_message_parse_segment_done):
25913         Small cleanups.
25914
25915         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25916         (gst_pad_set_caps), (gst_pad_send_event):
25917         Update for new events. 
25918         Catch events sent in wrong directions.
25919
25920         * gst/gstqueue.c: (gst_queue_link_src),
25921         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25922         (gst_queue_handle_src_query):
25923         Event updates.
25924
25925         * gst/gsttag.c:
25926         * gst/gsttag.h:
25927         Remove event code from this file.
25928
25929         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25930         (gst_dp_event_from_packet):
25931         Event updates.
25932
25933 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25934
25935         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25936         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25937         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25938           Make debugging actually useful.
25939
25940 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25941
25942         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25943         (gst_pad_fixate_caps):
25944           Implement default fixation once again, so that gst_pad_fixate()
25945           actually does anything at all. This probably needs to be some
25946           sort of a last resort, and use profile-based fixation first, but
25947           since that doesn't exist yet, this is the best we have. Fixes
25948           visualization in Totem.
25949
25950 2005-07-22  Wim Taymans  <wim@fluendo.com>
25951
25952         * docs/design/part-events.txt:
25953         Small update.
25954
25955         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25956         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25957         (gst_base_sink_activate_pull):
25958         Some more comments.
25959
25960         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25961         (gst_fake_src_create):
25962         Fix handoff marshall.
25963
25964         * gst/elements/gstidentity.c: (gst_identity_class_init),
25965         (gst_identity_transform_ip):
25966         We're a real inplace element.
25967
25968         * gst/gstbus.c: (gst_bus_post):
25969         Added some comments.
25970
25971         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25972         * tests/muxing/case1.c: (main):
25973         * tests/sched/dynamic-pipeline.c: (main):
25974         * tests/sched/interrupt1.c: (main):
25975         * tests/sched/interrupt2.c: (main):
25976         * tests/sched/interrupt3.c: (main):
25977         * tests/sched/runxml.c: (main):
25978         * tests/sched/sched-stress.c: (main):
25979         * tests/seeking/seeking1.c: (event_received), (main):
25980         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25981         (main):
25982         * tests/threadstate/threadstate3.c: (main):
25983         * tests/threadstate/threadstate4.c: (main):
25984         * tests/threadstate/threadstate5.c: (main):
25985         Fix the tests.
25986
25987 2005-07-21  Wim Taymans  <wim@fluendo.com>
25988
25989         * docs/design/part-seeking.txt:
25990         Some small additions.
25991
25992         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25993         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25994         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25995         * gst/base/gstbasesink.h:
25996         discont values are gint64, handle the math correctly.
25997
25998         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25999         Make the basesrc report error if the source pad is not linked.
26000
26001         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
26002         (gst_queue_loop), (gst_queue_handle_src_query),
26003         (gst_queue_src_activate_push):
26004         Make queue collect data even if the srcpad is not linked.
26005         Start pushing out data as soon as it is linked.
26006
26007         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
26008         * gst/gstutils.h:
26009         Added gst_flow_get_name() to ease error reporting.
26010
26011 2005-07-20  Wim Taymans  <wim@fluendo.com>
26012
26013         * gst/gstmessage.c: (gst_message_new_segment_start),
26014         (gst_message_new_segment_done), (gst_message_parse_segment_start),
26015         (gst_message_parse_segment_done):
26016         * gst/gstmessage.h:
26017         Added a bunch of messages for advanced seeking.
26018
26019         * gst/parse/grammar.y:
26020         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
26021         (gst_dpman_state_changed):
26022         Fix some new-pad -> pad-added signals
26023
26024 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26025
26026         * docs/manual/appendix-porting.xml:
26027         * docs/pwg/appendix-porting.xml:
26028           Document new-pad/state-change signal renames and the FixedList
26029           type rename.
26030
26031 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26032
26033         * docs/manual/advanced-autoplugging.xml:
26034         * docs/manual/basics-helloworld.xml:
26035         * docs/manual/basics-pads.xml:
26036         * docs/random/ds/0.9-suggested-changes:
26037         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
26038         * gst/gstelement.h:
26039         * gst/gstevent.h:
26040         * gst/gstformat.h:
26041         * gst/gstquery.h:
26042         * gst/gststructure.c: (gst_structure_value_get_generic_type),
26043         (gst_structure_parse_array), (gst_structure_parse_value):
26044         * gst/gstvalue.c: (gst_type_is_fixed),
26045         (gst_value_list_prepend_value), (gst_value_list_append_value),
26046         (gst_value_list_get_size), (gst_value_list_get_value),
26047         (gst_value_transform_array_string), (gst_value_serialize_array),
26048         (gst_value_deserialize_array), (gst_value_intersect_array),
26049         (gst_value_is_fixed), (_gst_value_initialize):
26050         * gst/gstvalue.h:
26051           GstElement::new-pad -> pad-added, GstElement::state-change ->
26052           state-changed, GstValueFixedList -> GstValueArray, add format and
26053           flags as their own arguments in gst_element_seek() (should improve
26054           "bindeability"), remove function generators since they don't work
26055           under a whole bunch of compilers (they were deprecated already
26056           anyway).
26057
26058 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26059
26060         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
26061         (_gst_debug_register_funcptr):
26062         * gst/gstinfo.h:
26063           Fix illegal cast on some platforms (#309253).
26064
26065 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26066
26067         * gst/gstmessage.c: (gst_message_new_custom):
26068         * gst/gstmessage.h:
26069           Add _new_custom, make _new_application a macro to _new_custom.
26070
26071 2005-07-20  Wim Taymans  <wim@fluendo.com>
26072
26073         * gst/base/gstbasesrc.c: (gst_base_src_init),
26074         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
26075         * gst/base/gstbasesrc.h:
26076         Add a gboolean to decide when to push out a discont.
26077
26078         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26079         (gst_queue_loop), (gst_queue_handle_src_query),
26080         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
26081         (gst_queue_set_property), (gst_queue_get_property):
26082         Some cleanups.
26083
26084         * tests/threadstate/threadstate1.c: (main):
26085         Make a thread test compile and run... very silly..
26086
26087
26088 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26089
26090         * docs/manual/appendix-porting.xml:
26091           Mention removal of libgstgconf-0.9.la and existence of gconf
26092           elements.
26093
26094 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26095
26096         * docs/pwg/advanced-clock.xml:
26097         * docs/pwg/appendix-porting.xml:
26098         * docs/pwg/intro-preface.xml:
26099         * docs/pwg/other-base.xml:
26100         * docs/pwg/other-manager.xml:
26101         * docs/pwg/other-nton.xml:
26102         * docs/pwg/other-ntoone.xml:
26103         * docs/pwg/other-oneton.xml:
26104         * docs/pwg/pwg.xml:
26105           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
26106           demuxer), remove n-to-n (was never written), fix some code examples
26107           and links and update the porting section to include all this.
26108
26109 2005-07-19  Wim Taymans  <wim@fluendo.com>
26110
26111         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
26112         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
26113         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
26114         (gst_queue_src_activate_push), (gst_queue_change_state),
26115         (gst_queue_get_property):
26116         * gst/gstqueue.h:
26117         Propagate GstFlowReturn more intelligently upstream and output
26118         an ERROR/EOS when streaming stopped due to fatal error.
26119
26120 2005-07-19  Wim Taymans  <wim@fluendo.com>
26121
26122         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26123         Don't block forever for the state change to complete, the
26124         pipeline already did with a sensible timeout.
26125
26126 2005-07-19  Wim Taymans  <wim@fluendo.com>
26127
26128         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
26129         Make sure we never call the create function is we
26130         got deactivated.
26131
26132 2005-07-19  Andy Wingo  <wingo@pobox.com>
26133
26134         * gst/parse/parse.l: Attempt to solve bug #172815.
26135
26136 2005-07-19  Wim Taymans  <wim@fluendo.com>
26137
26138         * docs/design/part-clocks.txt:
26139         * docs/design/part-events.txt:
26140         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
26141         Small docs updates.
26142         Only update the seeking values when we are not
26143         busy streaming.
26144
26145 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
26146
26147         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26148           Oops, ignore the result of gst_pad_push_event here.
26149
26150 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
26151
26152         * gst/base/gstbasesrc.c: (gst_base_src_loop),
26153         (gst_base_src_activate_push):
26154           Send discont event from the loop function, as pads
26155           aren't activated yet in the activate_push handler.
26156
26157         * gst/gstbin.c: (bin_bus_handler):
26158           Don't leak element name.
26159
26160 2005-07-18  Andy Wingo  <wingo@pobox.com>
26161
26162         * configure.ac: Use AS_LIBTOOL_TAGS.
26163
26164 2005-07-18  Wim Taymans  <wim@fluendo.com>
26165
26166         * docs/gst/gstreamer.types:
26167         Remove deleted types.
26168
26169 2005-07-18  Wim Taymans  <wim@fluendo.com>
26170
26171         * check/elements/gstfakesrc.c: (GST_START_TEST):
26172         * configure.ac:
26173         * gst/Makefile.am:
26174         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26175         (init_popt_callback):
26176         * gst/gst.h:
26177         * gst/gst_private.h:
26178         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26179         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26180         * gst/gstbin.h:
26181         * gst/gstbus.h:
26182         * gst/gstconfig.h.in:
26183         * gst/gstelement.c: (gst_element_class_init),
26184         (gst_element_set_base_time), (gst_element_get_base_time),
26185         (iterator_fold_with_resync), (gst_element_change_state),
26186         (gst_element_dispose), (gst_element_get_bus):
26187         * gst/gstelement.h:
26188         * gst/gstelementfactory.h:
26189         * gst/gsterror.c: (_gst_core_errors_init):
26190         * gst/gsterror.h:
26191         * gst/gstevent.h:
26192         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26193         * gst/gstindex.c:
26194         * gst/gstinfo.c: (_gst_debug_init):
26195         * gst/gstmessage.c: (_gst_message_copy):
26196         * gst/gstmessage.h:
26197         * gst/gstminiobject.h:
26198         * gst/gstobject.c:
26199         * gst/gstobject.h:
26200         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26201         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26202         * gst/gstpad.h:
26203         * gst/gstparse.h:
26204         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26205         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26206         (gst_pipeline_get_last_stream_time):
26207         * gst/gstpipeline.h:
26208         * gst/gstpluginfeature.h:
26209         * gst/gstquery.h:
26210         * gst/gstscheduler.c:
26211         * gst/gstscheduler.h:
26212         * gst/gststructure.h:
26213         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26214         (gst_task_finalize), (gst_task_func), (gst_task_create),
26215         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26216         (gst_task_stop), (gst_task_pause):
26217         * gst/gsttask.h:
26218         * gst/gsttypefind.h:
26219         * gst/gsttypes.h:
26220         * gst/registries/gstlibxmlregistry.c: (load_feature),
26221         (gst_xml_registry_load), (gst_xml_registry_save_feature):
26222         * gst/registries/gstxmlregistry.c:
26223         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26224         * gst/schedulers/threadscheduler.c:
26225         * libs/gst/control/dparammanager.h:
26226         * tools/gst-inspect.c: (print_element_list),
26227         (print_plugin_features), (print_element_features):
26228         * tools/gst-xmlinspect.c: (print_element_list),
26229         (print_plugin_info), (main):
26230         Removed plugable schedulers.
26231         Removed Scheduler/Manager from elements.
26232         Removed gsttypes.h, rearranged includes.
26233         Removed dependency pad<->element, element<>pipeline, and
26234         various others,  fix includes.
26235         implement gst_pad_get_parent() with gst_object_get_parent()
26236         Make GstTask sefcontained.
26237         Fix _get_state() on GstBin, it did not return ASYNC with a 0
26238         timeout.
26239         Fix endless loop in iterator_fold_with_resync.
26240
26241
26242 2005-07-18  Wim Taymans  <wim@fluendo.com>
26243
26244         * gst/Makefile.am:
26245         * gst/gstarch.h:
26246         Remove old file.
26247
26248 2005-07-18  Wim Taymans  <wim@fluendo.com>
26249
26250         * gst/Makefile.am:
26251         No more cothreads.h
26252
26253 2005-07-18  Wim Taymans  <wim@fluendo.com>
26254
26255         * gst/cothreads.c:
26256         * gst/cothreads.h:
26257         Let's remove these.
26258
26259 2005-07-18  Wim Taymans  <wim@fluendo.com>
26260
26261         * docs/design/part-dynamic.txt:
26262         * docs/design/part-events.txt:
26263         * docs/design/part-seeking.txt:
26264         Some more docs in the works.
26265
26266         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26267         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26268         (gst_base_transform_setcaps), (gst_base_transform_get_size),
26269         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26270         (gst_base_transform_handle_buffer),
26271         (gst_base_transform_sink_activate_push),
26272         (gst_base_transform_src_activate_pull),
26273         (gst_base_transform_set_passthrough),
26274         (gst_base_transform_is_passthrough):
26275         Refcounting fixes.
26276
26277         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26278         Cleanups.
26279
26280         * gst/gstevent.c: (gst_event_finalize):
26281         Set SRC to NULL.
26282
26283         * gst/gstutils.c: (gst_element_unlink),
26284         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26285         (gst_pad_proxy_setcaps):
26286         * gst/gstutils.h:
26287         Add _get_parent_element() to get a pads parent as an element.
26288
26289 2005-07-18  Wim Taymans  <wim@fluendo.com>
26290
26291         * check/gst/gstbin.c: (GST_START_TEST):
26292         Remove bogus test.
26293
26294 2005-07-18  Wim Taymans  <wim@fluendo.com>
26295
26296         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26297         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26298         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26299         (gst_base_sink_event), (gst_base_sink_do_sync),
26300         (gst_base_sink_chain), (gst_base_sink_loop),
26301         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26302         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26303         Refcounting fixes.
26304         Fix logic for returning ASYNC when not prerolled.
26305
26306 2005-07-18  Wim Taymans  <wim@fluendo.com>
26307
26308         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26309         Fix nasty refcount bug.
26310
26311 2005-07-16 Philippe Khalaf <burger@speedy.org>
26312
26313         * gst/elements/gstfdsrc.c:
26314         * gst/elements/gstfdsrc.h:
26315         * gst/elements/gstelements.c:
26316         * gst/elements/Makefile.am:
26317         Ported fdsrc to 0.9.
26318
26319 2005-07-16  Wim Taymans  <wim@fluendo.com>
26320
26321         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26322         (gst_base_sink_do_sync):
26323         Fix compile error.
26324
26325 2005-07-16  Wim Taymans  <wim@fluendo.com>
26326
26327         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26328         (gst_base_sink_event), (gst_base_sink_get_times),
26329         (gst_base_sink_do_sync), (gst_base_sink_change_state):
26330         * gst/base/gstbasesink.h:
26331         Store and use discont values when syncing buffers as described
26332         in design docs.
26333         
26334         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26335         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26336         (gst_base_src_activate_push):
26337         Push discont event when starting.
26338
26339         * gst/elements/gstidentity.c: (gst_identity_transform):
26340         Small cleanups.
26341
26342         * gst/gstbin.c: (gst_bin_change_state):
26343         Small cleanups in base_time  distribution.
26344
26345         * gst/gstelement.c: (gst_element_set_base_time),
26346         (gst_element_get_base_time), (gst_element_change_state):
26347         * gst/gstelement.h:
26348         Added methods for the base_time of the element.
26349         Some MT fixes.
26350
26351         * gst/gstpipeline.c: (gst_pipeline_send_event),
26352         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26353         (gst_pipeline_get_last_stream_time):
26354         * gst/gstpipeline.h:
26355         MT fixes.
26356         Handle seeking as described in design doc, remove stream_time
26357         hack.
26358         Cleanups clock and stream_time selection code. Added accessors
26359         for the stream_time.
26360         
26361
26362 2005-07-16  Andy Wingo  <wingo@pobox.com>
26363
26364         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26365         (#305291).
26366
26367 2005-07-16  Wim Taymans  <wim@fluendo.com>
26368
26369         * check/gst/gstbin.c: (GST_START_TEST):
26370         Make elements silent as the deep_notify refs the
26371         parent, which might make the test fail.
26372
26373         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26374         Don't hold the lock for too long.
26375
26376 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
26377
26378         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26379           Don't unref the caps we passed to gst_caps_make_writable() after
26380           passing them. gst_caps_make_writable() will do that for us.
26381
26382 2005-07-15  Andy Wingo  <wingo@pobox.com>
26383
26384         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26385         (#157311).
26386
26387         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26388         own marshalling function for the handoff signal. Properly type the
26389         buffer as a buffer. Fixes some warnings. Should do a more general
26390         solution.
26391         (gst_identity_class_init): Plug into the right marshaller.
26392
26393 2005-07-15  Wim Taymans  <wim@fluendo.com>
26394
26395         * docs/design/part-TODO.txt:
26396         * docs/design/part-clocks.txt:
26397         * docs/design/part-element-sink.txt:
26398         * docs/design/part-events.txt:
26399         * docs/design/part-gstpipeline.txt:
26400         Updated docs, mostly DISCONT related.
26401
26402 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
26403
26404         * docs/pwg/building-pads.xml:
26405           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26406
26407 2005-07-15  Andy Wingo  <wingo@pobox.com>
26408
26409         * tools/gst-typefind.c: Update, add copyright block.
26410
26411         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26412         Normalize and truncate caps before fixation.
26413
26414         * gst/gstcaps.h:
26415         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26416         discards all but the first structure from its argument.
26417
26418 2005-07-15  Wim Taymans  <wim@fluendo.com>
26419
26420         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26421         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26422         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26423         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26424         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26425         (gst_base_transform_chain), (gst_base_transform_change_state),
26426         (gst_base_transform_set_passthrough),
26427         (gst_base_transform_is_passthrough):
26428         * gst/base/gstbasetransform.h:
26429         Make passthrough work using the bufferpools.
26430         Changed API a bit, subclasses have to write into a buffer
26431         provided by the base class.
26432         More debug info in nego functions.
26433         
26434         * gst/elements/gstidentity.c: (gst_identity_init),
26435         (gst_identity_transform):
26436         Port to new base class.
26437
26438 2005-07-15  Wim Taymans  <wim@fluendo.com>
26439
26440         * gst/gstmessage.c: (gst_message_new_state_changed):
26441         * tools/gst-launch.c: (event_loop), (main):
26442         Totally dump messages in -launch with the -m option.
26443         Fix message name for State messages,
26444
26445 2005-07-14  Wim Taymans  <wim@fluendo.com>
26446
26447         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26448         Post error messages on errors.
26449
26450 2005-07-14  Wim Taymans  <wim@fluendo.com>
26451
26452         * gst/gstcaps.c: (gst_caps_do_simplify):
26453         Remove debug info.
26454
26455         * gst/gsterror.h:
26456         Define error for stream stopped.
26457
26458         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26459         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26460         Do proper return values.
26461
26462         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26463         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26464         (gst_pad_get_range):
26465         Better return values.
26466
26467         * gst/gstpad.h:
26468         Reorganise return values, add macro to check for fatal errors.
26469
26470         * gst/gstqueue.c: (gst_queue_chain):
26471         Return proper GstFlowReturn values,
26472
26473 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26474
26475         * docs/gst/gstreamer-sections.txt:
26476         * docs/gst/gstreamer.types:
26477         * docs/gst/tmpl/gst.sgml:
26478         * docs/gst/tmpl/gstbasesink.sgml:
26479         * docs/gst/tmpl/gstbasesrc.sgml:
26480         * docs/gst/tmpl/gstbasetransform.sgml:
26481         * docs/gst/tmpl/gstbin.sgml:
26482         * docs/gst/tmpl/gstbuffer.sgml:
26483         * docs/gst/tmpl/gstcaps.sgml:
26484         * docs/gst/tmpl/gstclock.sgml:
26485         * docs/gst/tmpl/gstcompat.sgml:
26486         * docs/gst/tmpl/gstconfig.sgml:
26487         * docs/gst/tmpl/gstelement.sgml:
26488         * docs/gst/tmpl/gstelementdetails.sgml:
26489         * docs/gst/tmpl/gstelementfactory.sgml:
26490         * docs/gst/tmpl/gstenumtypes.sgml:
26491         * docs/gst/tmpl/gsterror.sgml:
26492         * docs/gst/tmpl/gstevent.sgml:
26493         * docs/gst/tmpl/gstfakesink.sgml:
26494         * docs/gst/tmpl/gstfakesrc.sgml:
26495         * docs/gst/tmpl/gstfilesink.sgml:
26496         * docs/gst/tmpl/gstfilesrc.sgml:
26497         * docs/gst/tmpl/gstfilter.sgml:
26498         * docs/gst/tmpl/gstformat.sgml:
26499         * docs/gst/tmpl/gstghostpad.sgml:
26500         * docs/gst/tmpl/gstimplementsinterface.sgml:
26501         * docs/gst/tmpl/gstindex.sgml:
26502         * docs/gst/tmpl/gstindexfactory.sgml:
26503         * docs/gst/tmpl/gstinfo.sgml:
26504         * docs/gst/tmpl/gstiterator.sgml:
26505         * docs/gst/tmpl/gstmacros.sgml:
26506         * docs/gst/tmpl/gstmemchunk.sgml:
26507         * docs/gst/tmpl/gstminiobject.sgml:
26508         * docs/gst/tmpl/gstobject.sgml:
26509         * docs/gst/tmpl/gstpad.sgml:
26510         * docs/gst/tmpl/gstpadtemplate.sgml:
26511         * docs/gst/tmpl/gstparse.sgml:
26512         * docs/gst/tmpl/gstpipeline.sgml:
26513         * docs/gst/tmpl/gstplugin.sgml:
26514         * docs/gst/tmpl/gstpluginfeature.sgml:
26515         * docs/gst/tmpl/gstquery.sgml:
26516         * docs/gst/tmpl/gstqueue.sgml:
26517         * docs/gst/tmpl/gstregistry.sgml:
26518         * docs/gst/tmpl/gstregistrypool.sgml:
26519         * docs/gst/tmpl/gstscheduler.sgml:
26520         * docs/gst/tmpl/gstschedulerfactory.sgml:
26521         * docs/gst/tmpl/gststructure.sgml:
26522         * docs/gst/tmpl/gstsystemclock.sgml:
26523         * docs/gst/tmpl/gsttaglist.sgml:
26524         * docs/gst/tmpl/gsttagsetter.sgml:
26525         * docs/gst/tmpl/gsttrace.sgml:
26526         * docs/gst/tmpl/gsttrashstack.sgml:
26527         * docs/gst/tmpl/gsttypefind.sgml:
26528         * docs/gst/tmpl/gsttypefindfactory.sgml:
26529         * docs/gst/tmpl/gsttypes.sgml:
26530         * docs/gst/tmpl/gsturihandler.sgml:
26531         * docs/gst/tmpl/gsturitype.sgml:
26532         * docs/gst/tmpl/gstutils.sgml:
26533         * docs/gst/tmpl/gstvalue.sgml:
26534         * docs/gst/tmpl/gstversion.sgml:
26535         * docs/gst/tmpl/gstxml.sgml:
26536         * docs/libs/tmpl/gstcontrol.sgml:
26537         * docs/libs/tmpl/gstdataprotocol.sgml:
26538         * docs/libs/tmpl/gstdparam.sgml:
26539         * docs/libs/tmpl/gstdplinint.sgml:
26540         * docs/libs/tmpl/gstdpman.sgml:
26541         * docs/libs/tmpl/gstdpsmooth.sgml:
26542         * docs/libs/tmpl/gstgetbits.sgml:
26543         * docs/libs/tmpl/gstunitconvert.sgml:
26544         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26545         (gst_push_src_base_init), (gst_push_src_class_init),
26546         (gst_push_src_init), (gst_push_src_create):
26547         * gst/base/gstpushsrc.h:
26548         * gst/elements/gstelements.c:
26549         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26550         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26551         (gst_fake_sink_init), (gst_fake_sink_set_property),
26552         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26553         (gst_fake_sink_event), (gst_fake_sink_preroll),
26554         (gst_fake_sink_render), (gst_fake_sink_change_state):
26555         * gst/elements/gstfakesink.h:
26556         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26557         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26558         (gst_fake_src_base_init), (gst_fake_src_class_init),
26559         (gst_fake_src_init), (gst_fake_src_event_handler),
26560         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26561         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26562         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26563         (gst_fake_src_create_buffer), (gst_fake_src_create),
26564         (gst_fake_src_start), (gst_fake_src_stop):
26565         * gst/elements/gstfakesrc.h:
26566         * gst/elements/gstfilesink.c: (_do_init),
26567         (gst_file_sink_base_init), (gst_file_sink_class_init),
26568         (gst_file_sink_init), (gst_file_sink_dispose),
26569         (gst_file_sink_set_location), (gst_file_sink_set_property),
26570         (gst_file_sink_get_property), (gst_file_sink_open_file),
26571         (gst_file_sink_close_file), (gst_file_sink_query),
26572         (gst_file_sink_event), (gst_file_sink_render),
26573         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26574         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26575         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26576         * gst/elements/gstfilesink.h:
26577         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26578         (gst_file_src_class_init), (gst_file_src_init),
26579         (gst_file_src_finalize), (gst_file_src_set_location),
26580         (gst_file_src_set_property), (gst_file_src_get_property),
26581         (gst_file_src_map_region), (gst_file_src_map_small_region),
26582         (gst_file_src_create_mmap), (gst_file_src_create_read),
26583         (gst_file_src_create), (gst_file_src_is_seekable),
26584         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26585         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26586         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26587         (gst_file_src_uri_handler_init):
26588         * gst/elements/gstfilesrc.h:
26589           more autistic cleanliness in functions/names/defines
26590
26591 2005-07-13  Andy Wingo  <wingo@pobox.com>
26592
26593         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26594         source couldn't negotiate.
26595
26596         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26597         connections again.
26598
26599         * gst/gstutils.h:
26600         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26601         function. I am channeling Hades. Put your boots on suckers!!!
26602
26603 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26604
26605         * testsuite/caps/Makefile.am:
26606         * testsuite/caps/value_compare.c:
26607         * testsuite/caps/value_intersect.c:
26608         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26609           move two testsuite apps over to the check dir
26610
26611 2005-07-12  Wim Taymans  <wim@fluendo.com>
26612
26613         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26614         Added more debug info in the negotiate process.
26615
26616         * gst/gstmessage.h:
26617         Prepare for segment playback.
26618
26619         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26620         Better debugging.
26621
26622         * gst/gstutils.c:
26623         Some more docs.
26624
26625         * tools/gst-launch.c: (main):
26626         NULL pipeline on errors.
26627
26628 2005-07-12  Andy Wingo  <wingo@pobox.com>
26629
26630         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26631         not it comes from a malloc region. Make sure our copy gets freed.
26632
26633 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26634
26635         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26636         * check/gst/gstmessage.c: (GST_START_TEST):
26637         * check/gst/gststructure.c: (GST_START_TEST),
26638         (gst_structure_suite), (main):
26639           more testing
26640         * gst/gstelement.c: (gst_element_message_full):
26641           clean up GError and debug string now that they get copied
26642         * gst/gstmessage.c: (gst_message_new_error),
26643         (gst_message_new_warning), (gst_message_parse_error),
26644         (gst_message_parse_warning):
26645           use GST_TYPE_G_ERROR for structure_new, and take copies of
26646           arguments, so that we don't mess up refcounting
26647
26648 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26649
26650         * check/Makefile.am:
26651           add per-test valgrind targets
26652         * check/gst-libs/gdp.c: (GST_START_TEST),
26653         (gst_data_protocol_suite), (main):
26654           clean up
26655
26656 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26657
26658         * check/Makefile.am:
26659           instate more valgrindable tests
26660         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26661         (GST_START_TEST), (fakesrc_suite):
26662         * check/gst/gstpad.c: (GST_START_TEST):
26663         * check/gst/gststructure.c: (GST_START_TEST):
26664           fix test leaks
26665         * docs/gst/tmpl/gstminiobject.sgml:
26666         * gst/gstpad.c: (gst_pad_finalize):
26667           fix the static mutex leak
26668
26669 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26670
26671         * check/Makefile.am:
26672           add two more tests for valgrinding
26673         * check/gst/gstvalue.c: (GST_START_TEST):
26674           test refcount of deserialized buffer, found a leak
26675         * docs/gst/gstreamer-docs.sgml:
26676         * docs/gst/gstreamer-sections.txt:
26677         * docs/gst/gstreamer.types:
26678         * docs/gst/tmpl/gstminiobject.sgml:
26679           add miniobject to docs
26680         * gst/gstminiobject.c:
26681           add some docs
26682         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26683         (gst_string_unwrap):
26684           fix a hard-to-find invalid write for one of the tests
26685           fix a leak for deserialized buffers
26686
26687 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26688
26689         * docs/pwg/advanced-events.xml:
26690         * docs/pwg/advanced-request.xml:
26691         * docs/pwg/advanced-scheduling.xml:
26692         * docs/pwg/appendix-porting.xml:
26693         * docs/pwg/building-boiler.xml:
26694         * docs/pwg/intro-preface.xml:
26695         * docs/pwg/other-ntoone.xml:
26696           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26697           of example code and explanation for pad activation, loop() and
26698           getrange() functions and a bit more. Remove old comments pointing
26699           to loop-functions.
26700         * examples/pwg/Makefile.am:
26701           Add loop/getrange examples.
26702
26703 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26704
26705         * configure.ac:
26706           check for valgrind binary + some fixes
26707         * check/gst.supp:
26708           valgrind suppressions for the tests
26709         * check/Makefile.am:
26710           add a valgrind: target that valgrinds the unit tests
26711         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26712         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26713         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26714         * check/gst/gstghostpad.c:
26715           added some cleanup
26716         * check/gst/gstdata.c:
26717           removed
26718         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26719         (thread_unref), (gst_mini_object_suite), (main):
26720           added
26721         * gst/gst.c: (gst_deinit):
26722         * gst/gst.h:
26723           add a method to clean up.
26724         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26725         (gst_system_clock_obtain):
26726           allow for disposing the system clock.
26727         * tools/gst-launch.c: (main):
26728           deinit
26729
26730 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26731
26732         * docs/gst/tmpl/gstbasesrc.sgml:
26733         * docs/gst/tmpl/gstfakesrc.sgml:
26734         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26735         (gst_base_src_init), (gst_base_src_set_property),
26736         (gst_base_src_get_property), (gst_base_src_get_range),
26737         (gst_base_src_start):
26738         * gst/base/gstbasesrc.h:
26739           add num-buffers property
26740         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26741         (gst_fakesrc_init), (gst_fakesrc_set_property),
26742         (gst_fakesrc_get_property), (gst_fakesrc_create),
26743         (gst_fakesrc_start):
26744           remove num-buffers property
26745
26746 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26747
26748         * docs/gst/gstreamer-sections.txt:
26749         * docs/gst/tmpl/gstbasesink.sgml:
26750         * docs/gst/tmpl/gstbasesrc.sgml:
26751         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26752         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26753         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26754         (gst_base_sink_set_property), (gst_base_sink_get_property),
26755         (gst_base_sink_handle_object), (gst_base_sink_event),
26756         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26757         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26758         (gst_base_sink_loop), (gst_base_sink_deactivate),
26759         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26760         (gst_base_sink_change_state):
26761         * gst/base/gstbasesink.h:
26762         * gst/base/gstbasesrc.h:
26763         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26764         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26765         (gst_filesink_init):
26766           more macro splitting
26767
26768 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26769
26770         * gst/gstelement.c: (gst_element_get_bus):
26771           add debug
26772         * tools/gst-launch.c: (check_intr), (event_loop):
26773           fix bus leaks
26774
26775 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26776
26777         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26778           fix a caps leak
26779
26780 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26781
26782         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26783         (gst_base_src_finalize):
26784           add finalize method and clean up properly
26785         * gst/gstpipeline.c: (gst_pipeline_dispose):
26786           add debug
26787
26788 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26789
26790         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26791         (gst_bin_suite):
26792           add more things to check
26793         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26794         * gst/gstelement.c:
26795           more debug
26796
26797 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26798
26799         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26800         (GST_START_TEST), (fakesrc_suite):
26801         * check/gst-libs/gdp.c: (GST_START_TEST):
26802         * check/gst/gst.c: (GST_START_TEST):
26803         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26804         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26805         * check/gst/gstbus.c: (GST_START_TEST):
26806         * check/gst/gstcaps.c: (GST_START_TEST):
26807         * check/gst/gstdata.c: (GST_START_TEST):
26808         * check/gst/gstelement.c: (GST_START_TEST):
26809         * check/gst/gstghostpad.c: (GST_START_TEST):
26810         * check/gst/gstiterator.c: (GST_START_TEST):
26811         * check/gst/gstmessage.c: (GST_START_TEST):
26812         * check/gst/gstobject.c: (GST_START_TEST):
26813         * check/gst/gstpad.c: (GST_START_TEST):
26814         * check/gst/gststructure.c: (GST_START_TEST):
26815         * check/gst/gstsystemclock.c: (GST_START_TEST),
26816         (gst_systemclock_suite):
26817         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26818         * check/gst/gstvalue.c: (GST_START_TEST):
26819         * check/pipelines/cleanup.c: (GST_START_TEST):
26820         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26821         * check/states/sinks.c: (GST_START_TEST):
26822         * check/gstcheck.c: (gst_check_init):
26823         * check/gstcheck.h:
26824           add debugging category
26825           use GST_START_TEST now, so we add a debug line
26826
26827 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26828
26829         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26830           add test for state change message on a bin
26831         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26832           add another test
26833         * gst/gstbin.c: (gst_bin_init):
26834         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26835         * gst/gstelement.c: (gst_element_post_message),
26836         (gst_element_set_state):
26837         * gst/gstelementfactory.c: (gst_element_factory_create):
26838         * gst/gstmessage.c: (gst_message_new):
26839         * gst/gstscheduler.c:
26840           various debugging additions and cleanups
26841
26842 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26843
26844         * check/Makefile.am:
26845         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26846         (main):
26847           adding tests for elements
26848         * gst/gstelement.c: (gst_element_dispose):
26849
26850 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26851
26852         * gst/registries/gstlibxmlregistry.c: (load_feature):
26853           plug more leaks.  A simple gst_init() now is leakfree, yay.
26854
26855 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26856
26857         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26858         (gst_xml_registry_load):
26859           plug another memleak
26860
26861 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26862
26863         * configure.ac:
26864           use GST_SET_ERROR_CFLAGS
26865         * docs/faq/cvs.xml:
26866           change to ERROR_CFLAGS
26867
26868 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26869
26870         * configure.ac:
26871           make GST_ERROR_CFLAGS overridable and re-enable Werror
26872         * docs/faq/cvs.xml:
26873           add a note about error CFLAGS
26874         * docs/gst/tmpl/gstfakesrc.sgml:
26875         * gst/elements/gstfakesrc.c:
26876           comment out some unused code
26877         * gst/gst.c: (split_and_iterate):
26878         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26879         (load_feature):
26880           plug some memleaks
26881
26882 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26883
26884         * common/Makefile.am:
26885         * common/gtk-doc.mak:
26886         * docs/gst/Makefile.am:
26887           factor out gtk-doc.mak
26888
26889 2005-07-07  Wim Taymans  <wim@fluendo.com>
26890
26891         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26892         (gst_thread_scheduler_dispose):
26893         Unlock the STREAM_LOCK completely.
26894
26895 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26896
26897         * check/Makefile.am:
26898         * check/elements/.cvsignore:
26899         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26900         (START_TEST), (fakesrc_suite), (main):
26901         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26902         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26903         (gst_fakesrc_create), (gst_fakesrc_start):
26904         * gst/elements/gstfakesrc.h:
26905           adding a first element test
26906
26907 2005-07-07  Andy Wingo  <wingo@pobox.com>
26908
26909         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26910         debug message.
26911
26912 2005-07-07  Wim Taymans  <wim@fluendo.com>
26913
26914         * gst/gstquery.c:
26915         * gst/gstquery.h:
26916         Remove old types
26917
26918 2005-07-07  Wim Taymans  <wim@fluendo.com>
26919
26920         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26921         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26922         Allow subclasses to implement their own negotiation.
26923
26924 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26925
26926         * docs/design/part-gstbin.txt:
26927         * docs/design/part-gstpipeline.txt:
26928           Update design notes to reflect the movement of
26929           responsibility for bus handling from GstPipeline to
26930           GstBin
26931
26932 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26933
26934         * configure.ac:
26935           Remove unnecessary queue2/3/4 examples.
26936
26937 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26938
26939         * examples/Makefile.am:
26940         * examples/helloworld/helloworld.c: (event_loop), (main):
26941         * examples/queue/queue.c: (event_loop), (main):
26942         * examples/queue2/queue2.c: (main):
26943           Update a couple of the examples to work again.
26944
26945         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26946         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26947          Spelling corrections and extra debug.
26948         
26949         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26950         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26951         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26952         * gst/gstbin.h:
26953         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26954         (gst_pipeline_change_state):
26955         * gst/gstpipeline.h:
26956           Move the bus handler for children to the GstBin, and create a
26957           separate bus for receiving messages from children to the one the
26958           bus sends 'upwards' on.
26959
26960 2005-07-06  Wim Taymans  <wim@fluendo.com>
26961
26962         * gst/base/README:
26963         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26964         (gst_base_sink_handle_object), (gst_base_sink_loop),
26965         (gst_base_sink_change_state):
26966         * gst/base/gstbasesink.h:
26967         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26968         (gst_base_src_init), (gst_base_src_setcaps),
26969         (gst_base_src_getcaps), (gst_base_src_loop),
26970         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26971         (gst_base_src_start), (gst_base_src_change_state):
26972         * gst/base/gstbasesrc.h:
26973         Make basesrc negotiate.
26974         Handle the case where preroll fails in basesink.
26975         Update README.
26976
26977 2005-07-06  Wim Taymans  <wim@fluendo.com>
26978
26979         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26980         Implement the fixate function.
26981         Clean up acceptcaps.
26982
26983 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26984
26985         * docs/pwg/building-filterfactory.xml:
26986         * docs/pwg/pwg.xml:
26987           Remove never-written filter-factory chapter; I'll add the various
26988           base classes to part 4 ("other element types") later on.
26989
26990 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26991
26992         * docs/pwg/advanced-negotiation.xml:
26993         * docs/pwg/building-boiler.xml:
26994         * docs/pwg/building-pads.xml:
26995         * docs/pwg/pwg.xml:
26996         * examples/pwg/Makefile.am:
26997           Add a chapter on caps negotiation, simplify the original code
26998           samples a bit w.r.t. caps negotiation, add link to the advanced
26999           section. Add a bunch of examples showing different use cases of
27000           different types of caps negotiation. Upstream renegotiation isn't
27001           fully documented yet since nobody knows how that works.
27002
27003 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
27004
27005         * check/gst/gstpad.c:
27006         * check/gstcheck.c:
27007         * gst/gstpad.c: (gst_pad_get_internal_links_default):
27008           if pad has no parent, return NULL as list of internal links
27009
27010 2005-07-05  Andy Wingo  <wingo@pobox.com>
27011
27012         * gst/elements/gstfilesrc.c:
27013         * gst/elements/gstfakesrc.c: 
27014         * gst/base/gstpushsrc.c:
27015         * gst/base/gstbasesrc.h: 
27016         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
27017         
27018 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
27019
27020         * Makefile.am:
27021           better report generation target (lcov needs a patch)
27022
27023 2005-07-05  Andy Wingo  <wingo@pobox.com>
27024
27025         * gst/elements, testsuite: Null if we got it...
27026
27027 2005-07-05  Wim Taymans  <wim@fluendo.com>
27028
27029         * configure.ac:
27030         * libs/gst/dataprotocol/Makefile.am:
27031         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
27032         * libs/gst/dataprotocol/dataprotocol.h:
27033         * pkgconfig/Makefile.am:
27034         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
27035         * pkgconfig/gstreamer-dataprotocol.pc.in:
27036         Ported dataprotol to 0.9. 
27037         Added pkgconfig files.
27038
27039 2005-07-05  Andy Wingo  <wingo@pobox.com>
27040
27041         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
27042         Default to returning TRUE for the case when tranform_caps returns
27043         a fixed caps, like for identity or volume.
27044
27045         * check/gst/gstbus.c (pound_bus_with_messages): 
27046         * check/gst/gstmessage.c (START_TEST): 
27047         * check/pipelines/simple_launch_lines.c (got_handoff): Application
27048         message API change.
27049
27050         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
27051         logic weaks here: always run transform_caps, trying passthrough
27052         operation only if the original caps intersects with the transform.
27053
27054         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
27055         source and sink caps.
27056
27057         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
27058         Intersect the peer caps with the pad template before going into
27059         transform_caps.
27060         (gst_base_transform_transform_caps): More debugging.
27061
27062         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
27063         src argument.
27064
27065 2005-07-04  Edward Hervey  <edward@fluendo.com>
27066
27067         * gst/gstutils.c:
27068         * gst/gstutils.h:
27069         (gst_pad_add_*_probe): now returns the signal id for better wrapping
27070         in bindings.
27071
27072 2005-07-04  Andy Wingo  <wingo@pobox.com>
27073
27074         * check/gst/gstpad.c: Only set explicit caps on pads.
27075
27076 2005-07-01  Andy Wingo  <wingo@pobox.com>
27077
27078         * tests/network-clock.scm: Commentary update.
27079
27080         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
27081         Didn't really make sense, not implementable with basetransform,
27082         etc.
27083         (gst_identity_transform): Unref inbuf via make_writable. Feeble
27084         attempt at implementing the sync property, needs an unlock method.
27085
27086         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
27087         New func, by default returns the same caps (the identity
27088         transformation).
27089         (gst_base_transform_getcaps): Uses transform_caps to return
27090         something sensible.
27091         (gst_base_transform_setcaps): Complicated logic to get caps on
27092         both pads, even if they are different, and to call set_caps once
27093         for every time both pads get their caps set.
27094         (gst_base_transform_handle_buffer): Give the ref to the transform
27095         function. Allows in-place modification of the buffer.
27096
27097         * gst/base/gstbasetransform.h (transform_caps): New class method.
27098         Given caps on one side, what can I do on the other.
27099         (set_caps): Take two caps, one for each side of the element.
27100
27101         * gst/gstpad.h:
27102         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
27103         caps in place. This is safe because we can check the mutability of
27104         the caps, and a good idea because fixate functions are just called
27105         as a matter of last resort. (Not actually implemented.)
27106         (gst_pad_set_caps): If the caps we're setting is actually the same
27107         as the existing pad caps, just update the pointer without calling
27108         setcaps. Assert that caps is either NULL or fixed, as per the
27109         docs.
27110
27111         * gst/gstghostpad.c: Update for fixate changes.
27112
27113 2005-07-02  Andy Wingo  <wingo@pobox.com>
27114
27115         * gst/gstcaps.c:
27116         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
27117         two refcounts makes it immutable, which is enough. Doc more.
27118
27119 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
27120
27121         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
27122           Put the mini_object into GValue as a mini_object,
27123           not a gpointer, since that's how we declared
27124           the signal.
27125
27126 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27127
27128         * examples/pwg/Makefile.am:
27129           Fix buildbot again.
27130
27131 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27132
27133         * docs/pwg/building-testapp.xml:
27134           Add extra check.
27135         * examples/pwg/Makefile.am:
27136           Fix buildbot.
27137
27138 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27139
27140         * configure.ac:
27141         * examples/Makefile.am:
27142         * examples/pwg/Makefile.am:
27143         * examples/pwg/extract.pl:
27144           Enable building the PWG examples.
27145         * docs/pwg/advanced-interfaces.xml:
27146           Add URI interface stub.
27147         * docs/pwg/advanced-types.xml:
27148         * docs/pwg/other-autoplugger.xml:
27149         * docs/pwg/appendix-porting.xml:
27150         * docs/pwg/pwg.xml:
27151           Add porting guide (mostly stubs), remove autoplugging (see ADM).
27152         * docs/pwg/building-boiler.xml:
27153         * docs/pwg/building-chainfn.xml:
27154         * docs/pwg/building-pads.xml:
27155         * docs/pwg/building-props.xml:
27156         * docs/pwg/building-state.xml:
27157         * docs/pwg/building-testapp.xml:
27158           Update the building-*.xml parts for 0.9 changes. All examples
27159           code blocks compile in examples/pwg/*.
27160
27161 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27162
27163         * docs/manual/advanced-autoplugging.xml:
27164         * docs/manual/appendix-checklist.xml:
27165         * docs/manual/appendix-integration.xml:
27166         * docs/manual/highlevel-components.xml:
27167           Fix playbin/decodebin examples, update docs a bit, mention bus
27168           instead of signals in various places, mention kmplayer and
27169           kaffeine since they have a working GStreamer backend in the KDE
27170           section.
27171
27172 2005-06-30  Wim Taymans  <wim@fluendo.com>
27173
27174         * CHANGES-0.9:
27175         * docs/design/draft-ghostpads.txt:
27176         * docs/design/draft-push-pull.txt:
27177         * docs/design/draft-query.txt:
27178         * docs/design/part-TODO.txt:
27179         * docs/design/part-query.txt:
27180         Added CHANGES-0.9 doc, updated status of other docs.
27181         
27182         * gst/gstquery.h:
27183         Remove "hmm" macro
27184
27185 2005-06-30  Wim Taymans  <wim@fluendo.com>
27186
27187         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27188         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27189         (gst_base_sink_change_state):
27190         * gst/base/gstbasesink.h:
27191         Some tweaks, only EOS and a buffer complete a preroll.
27192
27193 2005-06-30  Andy Wingo  <wingo@pobox.com>
27194
27195         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27196         activate_push down to the internal pad as well.
27197
27198 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
27199
27200         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27201
27202         * gst/gsttaginterface.c:
27203           Some documentation fixes (#307394 and #307397).
27204
27205 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
27206
27207         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27208
27209         * gst/gstvalue.c: (gst_value_intersect_list):
27210           Fix memleak (#309125).
27211
27212 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27213
27214         * docs/manual/advanced-dataaccess.xml:
27215           Fix fakesrc example to compile; doesn't work, bug somewhere...?
27216         * docs/manual/basics-pads.xml:
27217           Add reference for filtered caps to above chapter.
27218
27219 2005-06-30  Wim Taymans  <wim@fluendo.com>
27220
27221         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27222         (gst_bin_change_state):
27223         Probes are gone.
27224         Lame attempt at making the state change function a bit
27225         more readable.
27226
27227 2005-06-30  Wim Taymans  <wim@fluendo.com>
27228
27229         * docs/design/part-clocks.txt:
27230         * docs/design/part-element-sink.txt:
27231         * docs/design/part-events.txt:
27232         * docs/design/part-preroll.txt:
27233         * docs/design/part-states.txt:
27234         Some more tweeks and additions to the docs.
27235
27236 2005-06-30  Wim Taymans  <wim@fluendo.com>
27237
27238         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27239         (default_have_data), (gst_pad_class_init), (gst_pad_init),
27240         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27241         (gst_pad_check_pull_range), (gst_pad_get_range),
27242         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27243         * gst/gstpad.h:
27244         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27245         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27246         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27247         (gst_pad_remove_buffer_probe):
27248         Removed atomic operations, use existing LOCK.
27249         Move exception handling out of main code path.
27250
27251 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27252
27253         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27254         (silly_return_true_function), (gst_pad_class_init),
27255         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27256         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27257         (gst_pad_send_event):
27258           Fix accumulator, add default value by using _emitv() instead
27259           of _emit() for signal emission.
27260
27261 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27262
27263         * docs/manual/advanced-dataaccess.xml:
27264         * examples/manual/Makefile.am:
27265           Add probe example.
27266         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27267           Make work (??).
27268
27269 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
27270
27271         * gst/elements/gstfilesink.c: (gst_filesink_render):
27272           Simplify code so that we don't have to handle short
27273           writes and return GST_FLOW_ERROR if an error occured.
27274
27275 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27276
27277         * docs/gst/gstreamer-docs.sgml:
27278           Remove probes more.
27279
27280 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27281
27282         * docs/gst/gstreamer-sections.txt:
27283         * docs/gst/tmpl/gstpad.sgml:
27284         * docs/gst/tmpl/gstprobe.sgml:
27285         * gst/Makefile.am:
27286         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27287         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27288         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27289         (gst_pad_push_event), (gst_pad_send_event):
27290         * gst/gstpad.h:
27291         * gst/gstutils.c: (gst_pad_add_data_probe),
27292         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27293         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27294         (gst_pad_remove_buffer_probe):
27295         * gst/gstutils.h:
27296           Remove old probes, add new g-signal-based probes and some utility
27297           functions.
27298
27299 2005-06-29  Edward Hervey  <edward@fluendo.com>
27300
27301         * gst/gstelementfactory.c:
27302         * gst/gstutils.h:
27303         * gst/gstutils.c:
27304         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27305         the definition to the header file.
27306
27307 2005-06-29  Andy Wingo  <wingo@pobox.com>
27308
27309         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27310         plugins from the source directory.
27311
27312 2005-06-29  Wim Taymans  <wim@fluendo.com>
27313
27314         * docs/gst/tmpl/gstbuffer.sgml:
27315         * docs/gst/tmpl/gstclock.sgml:
27316         Some fixings for blantently wrong text.
27317
27318 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27319
27320         * check/Makefile.am:
27321         * gst/gst.c: (add_path_func), (init_pre):
27322         * gst/gstregistry.c: (gst_registry_add_path):
27323           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27324           only scan the GST_PLUGIN_PATH locations, and not add
27325           system locations
27326
27327 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27328
27329         * docs/gst/gstreamer-sections.txt:
27330         * docs/gst/tmpl/gstbasesrc.sgml:
27331         * gst/gstelement.c:
27332         * gst/gstelement.h:
27333         * gst/gstevent.c:
27334         * gst/gstutils.c:
27335           doc fixes
27336
27337 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27338
27339         * docs/manual/advanced-autoplugging.xml:
27340           Fix autoplugging example.
27341
27342 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27343
27344         * docs/manual/advanced-autoplugging.xml:
27345         * docs/manual/mime-world.fig:
27346           Try to get autoplugging working, fix type detection. Fix text
27347           in hello-world image.
27348
27349 2005-06-29  Wim Taymans  <wim@fluendo.com>
27350
27351         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27352         (gst_base_sink_change_state):
27353         Small debug line.
27354
27355         * gst/gstclock.h:
27356         map SIGNAL and BROADCAST to the right function.
27357
27358         * gst/gstobject.h:
27359         Remove redundant braces.
27360
27361         * gst/gstpad.c: (gst_pad_set_caps):
27362         Don't call setcaps function when reseting caps to NULL.
27363
27364         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27365         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27366         (gst_system_clock_id_unschedule):
27367         Use BROADCAST as this is what we do.
27368
27369 2005-06-29  Wim Taymans  <wim@fluendo.com>
27370
27371         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27372         We are actually prerolling before commiting the state
27373         change. 
27374
27375 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27376
27377         * docs/manual/advanced-clocks.xml:
27378         * docs/manual/advanced-interfaces.xml:
27379         * docs/manual/advanced-metadata.xml:
27380         * docs/manual/advanced-position.xml:
27381         * docs/manual/advanced-schedulers.xml:
27382         * docs/manual/advanced-threads.xml:
27383         * docs/manual/appendix-porting.xml:
27384         * docs/manual/basics-bins.xml:
27385         * docs/manual/basics-bus.xml:
27386         * docs/manual/basics-elements.xml:
27387         * docs/manual/basics-helloworld.xml:
27388         * docs/manual/basics-pads.xml:
27389         * docs/manual/highlevel-components.xml:
27390         * docs/manual/manual.xml:
27391         * docs/manual/thread.fig:
27392           Update (until threads/scheduling) Application Development Manual;
27393           remove GstThread, add GstBus, add simple porting checklist, add
27394           documentation for tag writing, clocks, make all examples until this
27395           part compile and run.
27396         * examples/manual/Makefile.am:
27397           Update from changes to Application Development Manual; add bus
27398           example, remove thread example.
27399
27400 2005-06-28  Wim Taymans  <wim@fluendo.com>
27401
27402         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27403         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27404         (gst_bus_source_dispatch):
27405         Add debugging messages.
27406         Make internal methods static.
27407         Handle the case where the bus is flushed in the handler.
27408         
27409         * gst/gstelement.c: (gst_element_get_bus):
27410         Fix refcount in _get_bus();
27411
27412         * gst/gstpipeline.c: (gst_pipeline_change_state),
27413         (gst_pipeline_get_clock_func):
27414         Clock refcounting fixes.
27415         Handle the case where preroll timed out more gracefully.
27416         
27417         * gst/gstsystemclock.c: (gst_system_clock_dispose):
27418         Clean up the internal thread in dispose. This is needed
27419         for subclasses that actually get disposed.
27420         
27421         * gst/schedulers/threadscheduler.c:
27422         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27423         (gst_thread_scheduler_dispose):
27424         Free thread pool in dispose.
27425
27426 2005-06-28  Andy Wingo  <wingo@pobox.com>
27427
27428         * tests/network-clock-utils.scm (debug, print-event): New utils.
27429
27430         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27431         (*packet-loss*): Unified loss probability.
27432         (network-time): Report out-of-band events.
27433
27434         * tests/plot-data: Add support for out-of-band events. Hack it
27435         into this script instead of passing it down the pipe; should fix
27436         this later.
27437
27438 2005-06-28  Wim Taymans  <wim@fluendo.com>
27439
27440         * docs/gst/gstreamer.types:
27441         * docs/gst/tmpl/gstbasesrc.sgml:
27442         * docs/gst/tmpl/gstpad.sgml:
27443         Docs fixes.
27444
27445 2005-06-28  Wim Taymans  <wim@fluendo.com>
27446
27447         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27448         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27449         (gst_proxy_pad_do_fixatecaps):
27450         Correctly proxy the check_pull_range function.
27451
27452 2005-06-28  Andy Wingo  <wingo@pobox.com>
27453
27454         * tests/network-clock.scm: Removed need for slib.
27455         
27456 2005-06-28  Wim Taymans  <wim@fluendo.com>
27457
27458         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27459         (gst_basesink_preroll_queue_flush):
27460         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27461         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27462         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27463         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27464         (gst_proxy_pad_set_property):
27465         * gst/gstpad.c:
27466         * gst/gstpad.h:
27467         * gst/gstqueue.c: (gst_queue_init):
27468         The deprecated pad loop function is removed now.
27469
27470 2005-06-28  Andy Wingo  <wingo@pobox.com>
27471
27472         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27473         New parameters, simulate network packet loss.
27474
27475         * tests/network-clock-utils.scm: Initialize the RNG.
27476
27477 2005-06-28  Wim Taymans  <wim@fluendo.com>
27478
27479         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27480         (gst_basesink_event), (gst_basesink_deactivate):
27481         Flushing the preroll queue always needs to unlock the waiters.
27482
27483 2005-06-28  Edward Hervey  <edward@fluendo.com>
27484
27485         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27486         Wheen a seek was successful on a pipeline, set the stream_time to the
27487         seek offset in order to have a synchronized stream_time.
27488
27489 2005-06-28  Wim Taymans  <wim@fluendo.com>
27490
27491         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27492         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27493         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27494         (gst_proxy_pad_do_fixatecaps):
27495         Call wrapper function instead of just calling the function
27496         pointers. This takes care of any locking and whatmore.
27497
27498 2005-06-28  Wim Taymans  <wim@fluendo.com>
27499
27500         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27501         (gst_pad_pull_range):
27502         * gst/gstpad.h:
27503         CONNECTED -> LINKED.
27504
27505 2005-06-28  Andy Wingo  <wingo@pobox.com>
27506
27507         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27508         source-munging commit!!!
27509
27510         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27511         (gst_object_sink): Take gpointer arguments, not GstObject --
27512         avoids casts. Like GLib.
27513
27514         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27515         activate.
27516
27517 2005-06-27  Andy Wingo  <wingo@pobox.com>
27518
27519         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27520         remaining buffer.
27521
27522         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27523         returns a sorted copy of the trace list.
27524         (gst_alloc_trace_print_live): New API, only prints traces with
27525         live objects. Sort the list.
27526         (gst_alloc_trace_print_all): Sort the list.
27527         (gst_alloc_trace_print): Align columns.
27528
27529         * gst/elements/gstttypefindelement.c:
27530         * gst/elements/gsttee.c:
27531         * gst/base/gstbasesrc.c:
27532         * gst/base/gstbasesink.c:
27533         * gst/base/gstbasetransform.c:
27534         * gst/gstqueue.c: Adapt for pad activation changes.
27535
27536         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27537         sched.
27538         (gst_pipeline_dispose): Drop ref on sched.
27539
27540         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27541         (gst_pad_activate_default): Push mode by default.
27542         (pre_activate_switch, post_activate_switch): New stubs, things to
27543         do before and after switching activation modes on pads.
27544         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27545         the pad's activate function to choose which mode to activate.
27546         Shortcut on deactivation and call the right function directly.
27547         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27548         mode.
27549         (gst_pad_activate_push): New API, same for push mode.
27550         (gst_pad_set_activate_function) 
27551         (gst_pad_set_activatepull_function) 
27552         (gst_pad_set_activatepush_function): Setters for new API.
27553
27554         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27555         Trace all miniobjects.
27556         (gst_mini_object_make_writable): Unref the arg if we copy, like
27557         gst_caps_make_writable.
27558
27559         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27560
27561         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27562         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27563         Adapt for new pad API.
27564
27565         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27566
27567         * gst/gstelement.h:
27568         * gst/gstelement.c (gst_element_iterate_src_pads) 
27569         (gst_element_iterate_sink_pads): New API functions.
27570         
27571         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27572         should fold into gstiterator.c in some form.
27573         (gst_element_pads_activate): Simplified via use of fold and
27574         delegation of decisions to gstpad->activate.
27575
27576         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27577         help in debugging.
27578
27579         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27580         class once in init, like gstmessage. Didn't run into this issue
27581         but it seems correct. Don't initialize a trace, gstminiobject does
27582         that.
27583
27584         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27585         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27586         to the bus.
27587         (assert_live_count): New util function, uses alloc traces to check
27588         cleanup.
27589
27590         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27591         To be modified when unlink drops the internal pad.
27592
27593 2005-06-27  Wim Taymans  <wim@fluendo.com>
27594
27595         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27596         (gst_bin_change_state):
27597         Cleanup the get_state() function a little, make sure it
27598         iterates the same set of elements.
27599         Added stub iterate_state_order().
27600
27601 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27602
27603         * docs/gst/gstreamer-docs.sgml:
27604         * docs/gst/gstreamer-sections.txt:
27605         * docs/gst/gstreamer.types:
27606         * docs/gst/tmpl/gstbasesink.sgml:
27607         * docs/gst/tmpl/gstbasesrc.sgml:
27608         * docs/gst/tmpl/gstbasetransform.sgml:
27609         * docs/gst/tmpl/gstelement.sgml:
27610         * docs/gst/tmpl/gstiterator.sgml:
27611         * gst/base/gstbasesrc.c:
27612         * gst/base/gstbasesrc.h:
27613         * gst/base/gstbasetransform.h:
27614         * gst/gstelement.c:
27615         * gst/gstiterator.h:
27616           adding basetransform and iterator docs
27617
27618 2005-06-27  Andy Wingo  <wingo@pobox.com>
27619
27620         * docs/design/part-activation.txt: Notes on how activation should
27621         work -- not quite implemented yet.
27622
27623 2005-06-25  Wim Taymans  <wim@fluendo.com>
27624
27625         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27626         At least get the chain function correct, needs more
27627         fixing.
27628
27629 2005-06-25  Wim Taymans  <wim@fluendo.com>
27630
27631         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27632         (gst_basesink_handle_object), (gst_basesink_event),
27633         (gst_basesink_do_sync), (gst_basesink_handle_event),
27634         (gst_basesink_change_state):
27635         * gst/gsttask.h:
27636         Right, two problems here: ghostpads don't take locks and
27637         glib _rec_mutex_lock_full() with depth==0 still locks.
27638         Catch illegal locking and g_warn them.
27639
27640 2005-06-25  Wim Taymans  <wim@fluendo.com>
27641
27642         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27643         Have to check for completion now...
27644
27645 2005-06-25  Wim Taymans  <wim@fluendo.com>
27646
27647         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27648         (gst_basesink_handle_object), (gst_basesink_event),
27649         (gst_basesink_do_sync), (gst_basesink_handle_event),
27650         (gst_basesink_change_state):
27651         * gst/gstpad.h:
27652         Unlock STREAM_LOCK whatever the recursion was.
27653
27654 2005-06-25  Wim Taymans  <wim@fluendo.com>
27655
27656         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27657         (gst_basesink_preroll_queue_empty),
27658         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27659         (gst_basesink_event), (gst_basesink_do_sync),
27660         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27661         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27662         (gst_basesink_change_state):
27663         Reworked the base sink, handle event and buffer serialisation
27664         correctly and removed possible deadlock.
27665         Handle EOS correctly.
27666
27667 2005-06-25  Wim Taymans  <wim@fluendo.com>
27668
27669         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27670         (gst_pipeline_change_state):
27671         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27672         Allow elements to post EOS in the state change function.
27673         Fix up -launch, make it exit the poll loop when the
27674         pipeline actually changed state.
27675         Fix up warning parsing in -launch.
27676
27677 2005-06-25  Wim Taymans  <wim@fluendo.com>
27678
27679         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27680         (gst_tee_sink_activate):
27681         Core takes STREAM_LOCK for us now.
27682
27683 2005-06-25  Wim Taymans  <wim@fluendo.com>
27684
27685         * gst/gstelement.c: (gst_element_get_state_func),
27686         (gst_element_set_state):
27687         * gst/gstelement.h:
27688         * gst/gstmessage.c: (gst_message_parse_error),
27689         (gst_message_parse_warning):
27690         Keep track of current target state while performing a state
27691         change so that subclasses can do something interesting.
27692         Fix parsing of warning/error messages when GError is NULL.
27693
27694 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27695
27696         * docs/gst/Makefile.am:
27697         * docs/gst/gstreamer-docs.sgml:
27698         * docs/gst/gstreamer-sections.txt:
27699         * docs/gst/gstreamer.types:
27700         * docs/gst/tmpl/gstbasesink.sgml:
27701         * docs/gst/tmpl/gstbasesrc.sgml:
27702         * docs/gst/tmpl/gstbin.sgml:
27703         * docs/gst/tmpl/gstcompat.sgml:
27704         * docs/gst/tmpl/gstfakesink.sgml:
27705         * docs/gst/tmpl/gstfakesrc.sgml:
27706         * docs/gst/tmpl/gstfilesink.sgml:
27707         * docs/gst/tmpl/gstfilesrc.sgml:
27708         * docs/gst/tmpl/gstindex.sgml:
27709         * docs/manual/appendix-quotes.xml:
27710         * gst/base/gstbasesrc.h:
27711         * gst/elements/gstfakesrc.h:
27712         * gst/gstmessage.h:
27713           start pulling in base classes and elements in our docs
27714
27715 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27716
27717         * docs/gst/Makefile.am:
27718         * docs/libs/Makefile.am:
27719           fixed make distcheck with gtk-doc 1.3
27720
27721 2005-06-23  Wim Taymans  <wim@fluendo.com>
27722
27723         * gst/gstelement.c: (gst_element_get_state_func),
27724         (gst_element_set_state), (gst_element_change_state):
27725         When the state did not change, also report NO_PREROLL
27726         when it matters.
27727
27728 2005-06-23  Wim Taymans  <wim@fluendo.com>
27729
27730         * gst/gstpad.c: (gst_pad_event_default):
27731         * gst/gstqueue.c: (gst_queue_loop):
27732         No unsafe task pausing please.
27733
27734 2005-06-23  Wim Taymans  <wim@fluendo.com>
27735
27736         * gst/schedulers/threadscheduler.c:
27737         (gst_thread_scheduler_task_start),
27738         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27739         Ref the task before pushing it on the threadpool. This
27740         makes sure that we have a ref when the threadfunction is
27741         actually called.
27742
27743 2005-06-23  Andy Wingo  <wingo@pobox.com>
27744
27745         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27746         offset is greater than the file's size.
27747
27748         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27749         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27750         * gst/gstobject.c (gst_object_class_init): Make the class lock
27751         recursive. Wim won't let me drop deep_notify. Decodebin works
27752         again, whoopdy doo.
27753
27754         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27755         internal pad, and hacks accordingly. Doesn't do it on the target
27756         pad because we change its caps. Probably catches all cases of
27757         interest tho.
27758         (gst_ghost_pad_set_property): Connect to notify::caps as
27759         appropritate.
27760
27761         * tests/network-clock.scm (plot-simulation): Pipe data to the
27762         elite python skript.
27763
27764         * tests/network-clock-utils.scm (define-parameter): New macro,
27765         defines a parameter that can be set via the command line.
27766         (set-parameter!, parse-parameter-arguments): Command line args
27767         parser.
27768
27769         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27770         stdin.
27771
27772 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27773
27774         * gst/elements/gsttypefindelement.c:
27775         (gst_type_find_element_handle_event):
27776           Don't restart typefinding on a discont.
27777         * gst/gstelement.c: (gst_element_set_state):
27778           Debug spelling fix.
27779         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27780           Allow changing mode of an active pad.
27781           Debug output fixes.
27782         * gst/registries/gstlibxmlregistry.c: (load_feature):
27783           Don't cast a static pad template to a normal pad template.
27784
27785 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27786
27787         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27788         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27789           remove gst_strtoll completely, since it didn't actually do
27790           anything more than what g_ascii_strtoull already does.
27791           check for range errors when deserializing
27792           do a cast for the unsigned cases; but further fixing needs
27793           a decision on what the interpretation of "(int)" and
27794           deserialization should be for values that fall outside the
27795           type's boundaries (ie, refuse, or interpret as casting)
27796
27797 2005-06-23  Wim Taymans  <wim@fluendo.com>
27798
27799         * check/Makefile.am:
27800         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27801         * docs/design/part-live-source.txt:
27802         * docs/design/part-states.txt:
27803         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27804         (gst_basesrc_set_live), (gst_basesrc_is_live),
27805         (gst_basesrc_get_range), (gst_basesrc_activate),
27806         (gst_basesrc_change_state):
27807         * gst/base/gstbasesrc.h:
27808         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27809         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27810         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27811         * gst/gstelement.c: (gst_element_get_state_func),
27812         (gst_element_set_state):
27813         * gst/gstelement.h:
27814         * gst/gsttypes.h:
27815         * tools/gst-launch.c: (event_loop), (main):
27816         Added support for live sources and other elements that
27817         cannot do preroll.
27818         Updated design docs, added live-source design doc.
27819         Implemented live source functionality in basesrc
27820         Fix error condition in _bin_get_state()
27821         Implement live source handling in -launch.
27822         Added check for live sources.
27823         Fixed case in GstBin where elements were changed state
27824         multiple times.
27825
27826
27827 2005-06-23  Andy Wingo  <wingo@pobox.com>
27828
27829         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27830         borken refcounting.
27831
27832         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27833         gst_caps_replace takes care of this for us.
27834
27835         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27836         gst_pad_set_caps on the target, not just its setcaps() function.
27837
27838         * tests/network-clock.scm: 
27839         * tests/network-clock-utils.scm: A network clock simulator.
27840         Something of an algorithmic testbed before doing something in C.
27841
27842 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27843
27844         * check/Makefile.am:
27845         * check/gst/capslist.h:
27846           copy over from 0.8, and add two with bitmasks specified with
27847           (int) 0xFF...
27848         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27849           add test to parse everything from capslist.h
27850         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27851         (main):
27852           add test for structure deserialization
27853         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27854           add tests for deserialization of strings to int types
27855         * gst/gststructure.c: (gst_structure_nth_field_name):
27856         * gst/gststructure.h:
27857           add a way to get the name of a field referenced by index
27858         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27859           instead of checking if the resulting long long lies between
27860           min and max, we check if the long long would fit into
27861           a number of bytes for the final type.
27862           This fixes cases where a string represents 2^32 - 1, which
27863           when cast to int would be the (valid) -1, but is bigger than
27864           G_MAXINT
27865
27866 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27867
27868         * gst/parse/grammar.y:
27869           add a log line for type deserialization
27870
27871 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27872
27873         * check/gst/gstvalue.c: (START_TEST):
27874         * gst/gstvalue.c: (gst_value_deserialize):
27875           return long long, not int, so gint64 deserialization actually
27876           works.  Is there any flag that makes the compiler check this ?
27877           Fixes #308559
27878
27879 2005-06-22  Wim Taymans  <wim@fluendo.com>
27880
27881         * gst/gstbuffer.h:
27882         Added convenience macros for setting buffers in GValue.
27883
27884 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27885
27886         * check/gst/.cvsignore:
27887         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27888           add a test deserializing int64, and comment part out because
27889           it fails, yay !
27890
27891 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27892
27893         * check/Makefile.am:
27894         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27895         * testsuite/Makefile.am:
27896         * testsuite/caps/Makefile.am:
27897         * testsuite/caps/value_serialize.c:
27898         * testsuite/test_gst_init.c:
27899           move a value_serialize test over
27900
27901 2005-06-20  Wim Taymans  <wim@fluendo.com>
27902
27903         * gst/gstpad.c:
27904         Small doc updates.
27905         
27906         * gst/gstvalue.c: (gst_value_compare_buffer),
27907         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27908         (gst_value_compare_flags), (gst_value_serialize_flags),
27909         (gst_value_deserialize_flags), (_gst_value_initialize):
27910         Fix serialisation of buffers, they are not boxed types anymore
27911
27912 2005-06-20  Wim Taymans  <wim@fluendo.com>
27913
27914         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27915         Testcase to show error in buffer-on-caps serialisation.
27916
27917 2005-06-20  Andy Wingo  <wingo@pobox.com>
27918
27919         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27920         will be adding to later.
27921
27922         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27923         if its socks fill with rocks.
27924         (gst_system_clock_obtain): Set the name on object construction.
27925         Avoid double-checked locking.
27926
27927 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27928
27929         * gst/gsturi.c: (gst_element_make_from_uri):
27930           Fix potential endless loop.
27931
27932 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27933
27934         * check/Makefile.am:
27935           add gsttag
27936         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27937         (main):
27938           move over from testsuite dir and clean up
27939         * configure.ac:
27940         * gst/gsttag.c:
27941         * testsuite/Makefile.am:
27942         * testsuite/tags/.cvsignore:
27943         * testsuite/tags/Makefile.am:
27944         * testsuite/tags/merge.c:
27945           remove testsuite/tags
27946
27947 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27948
27949         * docs/gst/gstreamer-sections.txt:
27950         * docs/gst/tmpl/gstenumtypes.sgml:
27951         * win32/gstenumtypes.c:
27952           clean up documentation build a little
27953
27954 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27955
27956         * check/gstcheck.h:
27957           add macros for checking refcounts on objects and caps
27958         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27959           add some more unit tests
27960         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27961         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27962           fix leaked refcounts (I hope :)) so unittest works
27963         * gst/gstpad.h:
27964           whitespace removal
27965
27966 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27967
27968         * configure.ac: back to HEAD
27969
27970 === release 0.9.1 ===
27971
27972 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27973
27974         * NEWS:
27975         * RELEASE:
27976           updated
27977
27978 2005-06-17  Andy Wingo  <wingo@pobox.com>
27979
27980         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27981         assert; it's always possible that the pad gets deactivated in
27982         between the checks in gstpad.c and the implementation. Rely on
27983         finish_preroll() to return a FLUSHING or similar instead of on the
27984         assert.
27985         
27986         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27987         clock and post an EOS message if we come out of finish_preroll in
27988         the playing state.
27989
27990 2005-06-16  David Schleef  <ds@schleef.org>
27991
27992         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27993         (gst_capsfilter_set_property): Allow NULL as possible value
27994         for filter_caps property, indicating GST_CAPS_ANY.
27995
27996 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27997
27998         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27999           fix debug output
28000         * gst/schedulers/Makefile.am:
28001           use libgst prefix
28002         * gstreamer.spec.in:
28003           fix spec for it
28004
28005 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28006
28007         * gstreamer.spec.in:
28008           clean up
28009
28010 2005-06-08  Andy Wingo  <wingo@pobox.com>
28011
28012         * gst/gstutils.c: RPAD fixes all around.
28013         (gst_element_link_pads): Refcounting fixes.
28014
28015         * tools/gst-inspect.c:
28016         * tools/gst-xmlinspect.c:
28017         * parse/grammar.y:
28018         * gst/base/gsttypefindhelper.c:
28019         * gst/base/gstbasesink.c:
28020         * gst/gstqueue.c: RPAD fixes.
28021
28022         * gst/gstghostpad.h:
28023         * gst/gstghostpad.c: New ghost pad implementation as full proxy
28024         pads. The tricky thing is they provide both source and sink
28025         interfaces, since they proxy the internal pad for the external
28026         pad, and vice versa. Implement with lower-level ProxyPad objects,
28027         with the interior proxy pad as a child of the exterior ghost pad.
28028         Should write a doc on this.
28029         
28030         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
28031         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
28032         gst_object API.
28033         
28034         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
28035         pads are real pads. No ghost pads in this file. Not documenting
28036         the myriad s/RPAD/PAD/ and REALIZE fixes.
28037         (gst_pad_class_init): Add properties for "direction" and
28038         "template". Both are construct-only, so they can't change during
28039         the life of the pad. Fixes properly deriving from GstPad.
28040         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
28041         derived objects, just set properties when creating the objects via
28042         g_object_new.
28043         (gst_pad_get_parent): Implement as a function, return NULL if the
28044         parent is not an element.
28045         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
28046         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
28047         
28048         * gst/gstobject.c (gst_object_class_init): Make name a construct
28049         property. Don't set it in the object init.
28050
28051         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
28052         with UNKNOWN direction.
28053         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
28054         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
28055         (gst_element_remove_pad): Remove ghost-pad special cases.
28056         (gst_element_pads_activate): Remove rpad cruft.
28057
28058         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
28059         catch the pad's-parent-not-an-element case.
28060
28061         * gst/gst.h: Include gstghostpad.h.
28062
28063         * gst/gst.c (init_post): No more real, ghost pads.
28064
28065         * gst/Makefile.am: Add gstghostpad.[ch].
28066
28067         * check/Makefile.am:
28068         * check/gst/gstbin.c:
28069         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
28070         into a bin creates ghost pads, and that the refcounts are right.
28071         Partly moved from gstbin.c.
28072
28073 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28074
28075         * check/gst-libs/.cvsignore:
28076         * check/gst/.cvsignore:
28077         * check/pipelines/.cvsignore:
28078           ignore more
28079         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
28080         (START_TEST), (cleanup_suite), (main):
28081           add some tests related to cleanup after running pipelines
28082
28083 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28084
28085         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
28086           add a testsuite for GstBuffer
28087
28088 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28089
28090         * gst/gstminiobject.h:
28091           add defines for accessing the refcount
28092
28093 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
28094
28095         * Makefile.am: added support for html unit test coverage reports
28096
28097 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
28098
28099         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
28100           Free existing caps if the capsfilter changes. Add a FIXME about
28101           setting those caps on the pads.
28102
28103         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
28104           Before adding a ghost pad to a parent bin, check that there isn't
28105           already one for the element on the bin. Prevents infinite recursion
28106           when using decodebin in parse pipelines. Andy says he'll rewrite the
28107           way this works anyway, so ignore the hack.
28108
28109 2005-06-02  Andy Wingo  <wingo@pobox.com>
28110
28111         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
28112         file size, pass it on to the type find helper.
28113
28114         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
28115         segment_start and segment_end properly according to the seek
28116         method. Segment_end is still a bit flaky because offset can be
28117         negative for CUR and END cases, but it takes -1 as an "unset"
28118         value.
28119
28120 2005-06-02  Wim Taymans  <wim@fluendo.com>
28121
28122         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
28123         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
28124         (gst_basesink_activate):
28125         * gst/base/gstbasesink.h:
28126         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28127         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28128         (gst_pad_query), (gst_pad_start_task):
28129         * gst/gstpad.h:
28130         * gst/gstqueue.c: (gst_queue_bufferalloc),
28131         (gst_queue_handle_sink_event), (gst_queue_chain):
28132         Bufferalloc: return GstFlowReturn to more accuratly report
28133         why allocation failed.
28134
28135 2005-06-02  Wim Taymans  <wim@fluendo.com>
28136
28137         * gst/gstpipeline.c: (gst_pipeline_send_event):
28138         Take snapshot of state without blocking.
28139
28140 2005-06-02  Wim Taymans  <wim@fluendo.com>
28141
28142         * docs/design/part-TODO.txt:
28143         * docs/design/part-caps.txt:
28144         * docs/design/part-clocks.txt:
28145         * docs/design/part-negotiation.txt:
28146         * docs/design/part-preroll.txt:
28147         Small doc updates 
28148
28149 2005-05-30  Wim Taymans  <wim@fluendo.com>
28150
28151         * gst/elements/gstidentity.c: (gst_identity_event),
28152         (gst_identity_transform), (gst_identity_get_property):
28153         Protect last_message property as it is accessed from
28154         multiple threads.
28155
28156 2005-05-30  Wim Taymans  <wim@fluendo.com>
28157
28158         * gst/gstelement.c: (gst_element_init),
28159         (gst_element_pads_activate), (gst_element_change_state):
28160         Slicker pad activation code.
28161
28162 2005-05-30  Wim Taymans  <wim@fluendo.com>
28163
28164         * gst/Makefile.am:
28165         * gst/gstelement.h:
28166         * gst/gstelementfactory.h:
28167         * gst/gsttypes.h:
28168         Move elementfactory methods to separate .h file.
28169
28170 2005-05-30  Wim Taymans  <wim@fluendo.com>
28171
28172         * docs/design/part-overview.txt:
28173         * gst/gstsystemclock.h:
28174         Small typo fixes, doc updates.
28175
28176 2005-05-30  Wim Taymans  <wim@fluendo.com>
28177
28178         * gst/gst.c: (gst_init_get_popt_table), (init_post),
28179         (init_popt_callback):
28180         Remove cpu-opt flag.
28181
28182 2005-05-30  Wim Taymans  <wim@fluendo.com>
28183
28184         * gst/gstbuffer.c: (gst_subbuffer_finalize),
28185         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28186         * gst/gstbuffer.h:
28187         Avoid typechecking in places where not needed.
28188         Added accessor for malloc_data.
28189
28190 2005-05-30  Wim Taymans  <wim@fluendo.com>
28191
28192         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28193         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28194         (gst_pad_configure_sink), (gst_pad_configure_src),
28195         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28196         (gst_pad_start_task):
28197         Propagate errors from _set_caps() in configure_src/sink
28198         functions instead of returning TRUE.
28199         FLUSH events can travel up and downstream
28200
28201
28202 2005-05-30  Wim Taymans  <wim@fluendo.com>
28203
28204         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28205         (gst_basesink_activate):
28206         Handle EOS in preroll.
28207
28208 2005-05-30  Wim Taymans  <wim@fluendo.com>
28209
28210         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28211         (gst_queue_loop), (gst_queue_handle_src_event):
28212         Remove old pieces of code
28213         Flushing the queue in an upstream event is a very bad idea.
28214
28215 2005-05-26  Andy Wingo  <wingo@pobox.com>
28216
28217         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28218         gst_value_set_mini_object so as to add a ref on the object (which
28219         will be removed when the value is unset).
28220
28221         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28222         arg type in ::handoff.
28223
28224         * gst/gstelement.c (gst_element_change_state): Also deactivate
28225         pads in READY->NULL, just in case the element didn't make it to
28226         PAUSED. Wingo tested, Wim approved.
28227
28228 2005-05-26  Wim Taymans  <wim@fluendo.com>
28229
28230         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28231         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28232         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28233         A flushing pad cannot be used to alloc_buffer from.
28234
28235 2005-05-26  Wim Taymans  <wim@fluendo.com>
28236
28237         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28238         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28239         (gst_bus_source_dispatch), (gst_bus_source_finalize),
28240         (gst_bus_create_watch), (gst_bus_add_watch_full):
28241         * gst/gstbus.h:
28242         Implement a real GSource and use g_main_context_wakeup() to
28243         signal new messages instead of the socketpair.
28244
28245 2005-05-25  Wim Taymans  <wim@fluendo.com>
28246
28247         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28248         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28249         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28250         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28251         (gst_pad_send_event), (gst_pad_start_task):
28252         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28253         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28254         (gst_queue_sink_activate), (gst_queue_src_activate),
28255         (gst_queue_change_state):
28256         * gst/gstqueue.h:
28257         Fix state changes for non sinks. We now change sinks, then elements
28258         with unconnected srcpads, then the rest.
28259         More efficient queue unlocking in flush and state changes.
28260         Set the pad activate mode even if it does not have an activate
28261         function.
28262
28263 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28264
28265         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28266           Don't go in pull mode for non-seekable sources.
28267         * gst/elements/gsttypefindelement.h:
28268         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28269         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28270         (free_entry), (stop_typefinding),
28271         (gst_type_find_element_handle_event), (find_peek),
28272         (gst_type_find_element_chain), (do_pull_typefind),
28273         (gst_type_find_element_change_state):
28274           Allow typefinding (w/o seeking) in push-mode, simplified version
28275           of what was in 0.8.
28276         * gst/gstutils.c: (gst_buffer_join):
28277         * gst/gstutils.h:
28278           gst_buffer_join() from 0.8.
28279
28280 2005-05-25  Wim Taymans  <wim@fluendo.com>
28281
28282         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28283         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28284         (gst_pad_send_event), (gst_pad_start_task):
28285         Disable attempt at mode switching until it is figured out.
28286
28287 2005-05-25  Wim Taymans  <wim@fluendo.com>
28288
28289         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28290         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28291         (gst_basesink_finish_preroll), (gst_basesink_chain),
28292         (gst_basesink_loop), (gst_basesink_activate),
28293         (gst_basesink_change_state):
28294         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28295         (gst_basesrc_get_range), (gst_basesrc_loop),
28296         (gst_basesrc_activate):
28297         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28298         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28299         (gst_real_pad_init), (gst_real_pad_set_property),
28300         (gst_real_pad_get_property), (gst_pad_set_active),
28301         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28302         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28303         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28304         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28305         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28306         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28307         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28308         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28309         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28310         (gst_pad_stop_task):
28311         * gst/gstpad.h:
28312         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28313         (gst_queue_loop), (gst_queue_src_activate):
28314         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28315         (gst_task_get_state):
28316         * gst/gsttask.h:
28317         * gst/schedulers/threadscheduler.c:
28318         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28319         Implement gst_pad_pause/start/stop_task(), take STREAM lock
28320         in task function.
28321         Remove ACTIVE pad flag, use FLUSHING everywhere
28322         Added _pad_chain(), _pad_get_range() to call chain/getrange 
28323         functions.
28324         Add locks around IS_FLUSHING when reading.
28325         Take STREAM lock in chain(), get_range() functions so plugins
28326         don't need to take it anymore.
28327         
28328
28329
28330 2005-05-25  Wim Taymans  <wim@fluendo.com>
28331
28332         * tools/gst-launch.c: (event_loop):
28333         Unref message after using its contents instead of
28334         before.
28335
28336 2005-05-24  Wim Taymans  <wim@fluendo.com>
28337
28338         * docs/design/draft-ghostpads.txt:
28339         * docs/design/draft-push-pull.txt:
28340         * docs/design/draft-query.txt:
28341         * docs/design/part-overview.txt:
28342         Docs updates, added general overview doc.
28343
28344 2005-05-21  David Schleef  <ds@schleef.org>
28345
28346         * docs/gst/tmpl/old/GstBin.sgml:
28347         * docs/gst/tmpl/old/GstBuffer.sgml:
28348         * docs/gst/tmpl/old/GstCaps.sgml:
28349         * docs/gst/tmpl/old/GstClock.sgml:
28350         * docs/gst/tmpl/old/GstCompat.sgml:
28351         * docs/gst/tmpl/old/GstData.sgml:
28352         * docs/gst/tmpl/old/GstElement.sgml:
28353         * docs/gst/tmpl/old/GstEvent.sgml:
28354         * docs/gst/tmpl/old/GstIndex.sgml:
28355         * docs/gst/tmpl/old/GstStructure.sgml:
28356         * docs/gst/tmpl/old/GstTag.sgml:
28357         * docs/gst/tmpl/old/cothreads.sgml:
28358         * docs/gst/tmpl/old/cothreads_compat.sgml:
28359         * docs/gst/tmpl/old/gettext.sgml:
28360         * docs/gst/tmpl/old/gobject2gtk.sgml:
28361         * docs/gst/tmpl/old/grammar.tab.sgml:
28362         * docs/gst/tmpl/old/gst-i18n-app.sgml:
28363         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28364         * docs/gst/tmpl/old/gst_private.sgml:
28365         * docs/gst/tmpl/old/gstaggregator.sgml:
28366         * docs/gst/tmpl/old/gstarch.sgml:
28367         * docs/gst/tmpl/old/gstatomic_impl.sgml:
28368         * docs/gst/tmpl/old/gstbufferstore.sgml:
28369         * docs/gst/tmpl/old/gstdata_private.sgml:
28370         * docs/gst/tmpl/old/gstdisksink.sgml:
28371         * docs/gst/tmpl/old/gstdisksrc.sgml:
28372         * docs/gst/tmpl/old/gstelementfactory.sgml:
28373         * docs/gst/tmpl/old/gstextratypes.sgml:
28374         * docs/gst/tmpl/old/gstfakesink.sgml:
28375         * docs/gst/tmpl/old/gstfakesrc.sgml:
28376         * docs/gst/tmpl/old/gstfdsink.sgml:
28377         * docs/gst/tmpl/old/gstfdsrc.sgml:
28378         * docs/gst/tmpl/old/gstfilesink.sgml:
28379         * docs/gst/tmpl/old/gstfilesrc.sgml:
28380         * docs/gst/tmpl/old/gsthttpsrc.sgml:
28381         * docs/gst/tmpl/old/gstidentity.sgml:
28382         * docs/gst/tmpl/old/gstindexfactory.sgml:
28383         * docs/gst/tmpl/old/gstmarshal.sgml:
28384         * docs/gst/tmpl/old/gstmd5sink.sgml:
28385         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28386         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28387         * docs/gst/tmpl/old/gstpadtemplate.sgml:
28388         * docs/gst/tmpl/old/gstpipefilter.sgml:
28389         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28390         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28391         * docs/gst/tmpl/old/gstshaper.sgml:
28392         * docs/gst/tmpl/old/gstspider.sgml:
28393         * docs/gst/tmpl/old/gstspideridentity.sgml:
28394         * docs/gst/tmpl/old/gststatistics.sgml:
28395         * docs/gst/tmpl/old/gsttee.sgml:
28396         * docs/gst/tmpl/old/gsttimecache.sgml:
28397         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28398         * docs/gst/tmpl/old/gstxmlregistry.sgml:
28399         * docs/gst/tmpl/old/gthread-cothreads.sgml:
28400         * docs/gst/tmpl/old/types.sgml:
28401           I didn't intend to add these or check them in.
28402
28403 2005-05-19  David Schleef  <ds@schleef.org>
28404
28405         * configure.ac: Use -no-common everywhere.  In a sane world, it
28406           would be the default in libtool, because without it, you can't
28407           build DLLs on Windows.
28408         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28409         * docs/gst/gstreamer-sections.txt:
28410         * docs/gst/tmpl/gstcpu.sgml:
28411         * docs/gst/tmpl/gstdata.sgml:
28412         * docs/gst/tmpl/gstthread.sgml:
28413
28414 2005-05-19  David Schleef  <ds@schleef.org>
28415
28416         * gst/gstminiobject.c: (gst_value_set_mini_object),
28417         (gst_value_take_mini_object), (gst_value_get_mini_object):
28418         * gst/gstminiobject.h: Add GValue set/get functions.
28419
28420 2005-05-19  Wim Taymans  <wim@fluendo.com>
28421
28422         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28423         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28424         (gst_subbuffer_init), (gst_buffer_is_span_fast):
28425         * gst/gstbuffer.h:
28426         * gst/gstbus.c: (gst_bus_post):
28427         * gst/gstelement.c: (gst_element_get_random_pad):
28428         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28429         Make subbufer unref the parent in finalize.
28430         some more debugging info.
28431
28432
28433 2005-05-19  Wim Taymans  <wim@fluendo.com>
28434
28435         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28436         (gst_basesink_init), (gst_basesink_finalize),
28437         (gst_basesink_activate), (gst_basesink_change_state):
28438         Don't free preroll queue too early.
28439
28440 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28441
28442         * gst/Makefile.am:
28443         * gst/ROADMAP:
28444           Hi, I'm outdated. Please shoot me.
28445
28446 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28447
28448         * gst/gstpipeline.c: (gst_pipeline_send_event):
28449           Do not access variables after they have been deleted.
28450
28451 2005-05-19  Wim Taymans  <wim@fluendo.com>
28452
28453         * tools/gst-inspect.c: (print_plugin_features):
28454         A plugin feature does unfortunatly not use the
28455         object name yet...
28456
28457 2005-05-18  Wim Taymans  <wim@fluendo.com>
28458
28459         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28460         Port _span() functions to new subbuffers.
28461
28462 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28463
28464         * gst/gstbin.c: (gst_bin_add_func):
28465           Fix clock settery in bins when adding kids after the clock has
28466           been selected.
28467
28468 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28469
28470         * gst/elements/gstidentity.c: (gst_identity_class_init):
28471           Workaround until signals support GstMiniObject.
28472
28473 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28474
28475         * gst/gstbuffer.c:
28476         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28477
28478 2005-05-18  Wim Taymans  <wim@fluendo.com>
28479
28480         * gst/base/Makefile.am:
28481         * gst/base/gstadapter.c: (gst_adapter_base_init),
28482         (gst_adapter_class_init), (gst_adapter_init),
28483         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28484         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28485         (gst_adapter_flush), (gst_adapter_available),
28486         (gst_adapter_available_fast):
28487         * gst/base/gstadapter.h:
28488         Ported and added adapter to the base classes.
28489
28490 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28491
28492         * gst/gst.c:
28493         * gst/gstmessage.c:
28494           Make sure the class is reffed/unreffed once before threads can be
28495           used.  Fixes #304551.
28496
28497 2005-05-17  Wim Taymans  <wim@fluendo.com>
28498
28499         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28500         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28501         * gst/gstminiobject.c: (gst_mini_object_get_type),
28502         (gst_mini_object_free):
28503         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28504         (gst_pad_push), (gst_pad_push_event):
28505         * gst/gstqueue.c: (gst_queue_change_state):
28506         Don't queue buffers in basesink when we are flushing.
28507         Unref buffer when flushing in basesink.
28508         Flush queue when going to READY
28509         Unref buffer when _push() returns an error.
28510         Don't free MiniObject instance when refcount is incremented
28511         in _finalize() so that we can recover objects.
28512
28513 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28514
28515         * docs/manual/advanced-schedulers.xml:
28516         * docs/manual/appendix-checklist.xml:
28517         * docs/pwg/advanced-clock.xml:
28518         * docs/pwg/advanced-interfaces.xml:
28519         * docs/pwg/advanced-request.xml:
28520         * docs/pwg/advanced-types.xml:
28521         * docs/pwg/intro-preface.xml:
28522         * examples/plugins/example.c: (gst_example_get_type),
28523         (gst_example_class_init), (gst_example_chain),
28524         (gst_example_set_property), (gst_example_get_property),
28525         (gst_example_change_state), (plugin_init):
28526         * examples/plugins/example.h:
28527           small doc fixes
28528
28529 2005-05-17  Wim Taymans  <wim@fluendo.com>
28530
28531         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28532         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28533         * gst/gstqueue.c: (gst_queue_change_state):
28534         Clear queue when going to READY.
28535         Remove IN_SETCAPS flag too.
28536
28537 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28538
28539         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28540           Remove implicit cast from gboolean to GstElementStateReturn;
28541           make sure we still return failure in paused => ready case if
28542           the parent class fails to change state and our own stop 
28543           vfunc succeeds.
28544
28545 2005-05-17  Wim Taymans  <wim@fluendo.com>
28546
28547         * tools/gst-launch.c: (event_loop):
28548         Message was unreffed too soon.
28549
28550 2005-05-16  Andy Wingo  <wingo@pobox.com>
28551
28552         * gst/gstbin.c (sink_iterator_filter): Err... um...
28553
28554         * check/gst/gstbin.c (test_ghost_pads): New test for the
28555         ghosting-if-elements-not-in-same-bin behavior.
28556
28557 2005-05-16  David Schleef  <ds@schleef.org>
28558
28559         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28560         accessing refcount directly.
28561
28562 2005-05-15  David Schleef  <ds@schleef.org>
28563
28564         * check/Makefile.am: remove GstData checks
28565         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28566         * gst/Makefile.am: add miniobject, remove data
28567         * gst/gst.h: add miniobject, remove data
28568         * gst/gstdata.c: remove
28569         * gst/gstdata.h: remove
28570         * gst/gstdata_private.h: remove
28571         * gst/gsttypes.h: remove GstEvent and GstMessage
28572         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28573         * gst/gstmarshal.list: change BOXED -> OBJECT
28574
28575         Implement GstMiniObject.
28576         * gst/gstminiobject.c:
28577         * gst/gstminiobject.h:
28578
28579         Modify to be subclasses of GstMiniObject.
28580         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28581         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28582         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28583         (gst_subbuffer_get_type), (gst_subbuffer_init),
28584         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28585         (gst_buffer_span):
28586         * gst/gstbuffer.h:
28587         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28588         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28589         (_gst_event_copy), (gst_event_new):
28590         * gst/gstevent.h:
28591         * gst/gstmessage.c: (_gst_message_initialize),
28592         (gst_message_get_type), (gst_message_class_init),
28593         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28594         (gst_message_new), (gst_message_new_error),
28595         (gst_message_new_warning), (gst_message_new_tag),
28596         (gst_message_new_state_changed), (gst_message_new_application):
28597         * gst/gstmessage.h:
28598         * gst/gstprobe.c: (gst_probe_perform),
28599         (gst_probe_dispatcher_dispatch):
28600         * gst/gstprobe.h:
28601         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28602         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28603         (_gst_query_copy), (gst_query_new):
28604
28605         Update elements for GstData -> GstMiniObject changes
28606         * gst/gstquery.h:
28607         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28608         (gst_queue_chain), (gst_queue_loop):
28609         * gst/elements/gstbufferstore.c:
28610         (gst_buffer_store_add_buffer_func),
28611         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28612         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28613         (gst_fakesink_render):
28614         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28615         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28616         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28617         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28618         (gst_filesrc_create_read):
28619         * gst/elements/gstidentity.c: (gst_identity_class_init):
28620         * gst/elements/gsttypefindelement.c:
28621         (gst_type_find_element_src_event), (free_entry_buffers),
28622         (gst_type_find_element_handle_event):
28623         * libs/gst/dataprotocol/dataprotocol.c:
28624         (gst_dp_header_from_buffer):
28625         * libs/gst/dataprotocol/dataprotocol.h:
28626         * libs/gst/dataprotocol/dp-private.h:
28627
28628 2005-05-15  David Schleef  <ds@schleef.org>
28629
28630         * gst/elements/gstelements.c: Don't include headers that were
28631         just removed.
28632
28633 2005-05-15  David Schleef  <ds@schleef.org>
28634
28635         * gst/elements/Makefile.am: Remove some elements that don't
28636         need to be in the core (or even exist at all).
28637         * gst/elements/gstaggregator.c:
28638         * gst/elements/gstaggregator.h:
28639         * gst/elements/gstmd5sink.c:
28640         * gst/elements/gstmd5sink.h:
28641         * gst/elements/gstmultifilesrc.c:
28642         * gst/elements/gstmultifilesrc.h:
28643         * gst/elements/gstpipefilter.c:
28644         * gst/elements/gstpipefilter.h:
28645         * gst/elements/gstshaper.c:
28646         * gst/elements/gstshaper.h:
28647         * gst/elements/gststatistics.c:
28648         * gst/elements/gststatistics.h:
28649         * po/POTFILES.in: Remove above files.
28650
28651 2005-05-14  Andy Wingo  <wingo@pobox.com>
28652
28653         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28654         so as to get the refs right.
28655         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28656         unreffing objects that don't pass the filter.
28657
28658         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28659         gst_element_set_bus.
28660         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28661         normal cases, this will destroy the bus.
28662
28663         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28664         object.
28665
28666         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28667         has no sinks.
28668
28669 2005-05-13  Andy Wingo  <wingo@pobox.com>
28670
28671         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28672         gst_pad_link, call pad_link_maybe_ghosting,
28673         (pad_link_maybe_ghosting): Links pads, making sure that the
28674         elements being linked are in the same bin.
28675         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28676         Helpers for pad_link_maybe_ghosting.
28677
28678 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28679
28680         * configure.ac:
28681           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28682
28683 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28684
28685         * docs/design/part-element-source.txt:
28686           Mention GstPushSrc
28687
28688 2005-05-12  Wim Taymans  <wim@fluendo.com>
28689
28690         * gst/base/gstbasesink.c: (gst_basesink_init),
28691         (gst_basesink_activate):
28692         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28693         (gst_basesrc_is_seekable):
28694         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28695         (bin_element_is_sink), (gst_bin_change_state):
28696         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28697         * gst/gstelement.h:
28698         Identify sinks by their flag to avoid overly complicated
28699         checks (fow now).
28700         Do state changes even for elements not reachable from the
28701         sinks.
28702         BaseSink is a sink now :)
28703         Some more debugging info in the basesrc.
28704
28705
28706 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28707
28708         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28709           Implement _query on a bin, similar to _send_event.
28710
28711 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28712
28713         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28714           Discont event offset format should be GST_FORMAT_BYTES,
28715           not GST_FORMAT_TIME.
28716
28717 2005-05-12  Wim Taymans  <wim@fluendo.com>
28718
28719         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28720         Same fix as Ronald's but without the signal. 
28721
28722 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28723
28724         * gst/gstutils.c: (gst_element_query_position):
28725           No, an element is not a pad.
28726
28727 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28728
28729         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28730         (gst_bin_get_state):
28731           If a child is removed from a bin while we remove the child from
28732           the bin and while we're retrieving its state, signal this to the
28733           get_state function so we abort the wait (instead of waiting for
28734           a timeout) and can immediately re-iterate over all other elements.
28735
28736 2005-05-12  Wim Taymans  <wim@fluendo.com>
28737
28738         * gst/base/Makefile.am:
28739         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28740         (gst_basesrc_start):
28741         * gst/base/gstbasesrc.h:
28742         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28743         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28744         (gst_pushsrc_init), (gst_pushsrc_create):
28745         * gst/base/gstpushsrc.h:
28746         Added is_seekable to BaseSrc
28747         Added simple PushSrc.
28748
28749 2005-05-11  Wim Taymans  <wim@fluendo.com>
28750
28751         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28752         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28753         (gst_element_link_pads), (gst_element_query_position),
28754         (gst_element_query_convert), (intersect_caps_func),
28755         (gst_pad_query_position), (gst_pad_query_convert):
28756         Fix refcounting in utils function.
28757         No point in trying to activate a pad when it's added, it could
28758         be added from the state change function and then we deadlock, the
28759         element has to decide what to do.
28760
28761 2005-05-10  Andy Wingo  <wingo@pobox.com>
28762
28763         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28764         *all* the arguments.
28765
28766         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28767         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28768         lock (according to the docs -- if this is wrong change the docs).
28769
28770         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28771         flush messages in the NULL state.
28772
28773         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28774         message immediately and return.
28775         (gst_bus_set_flushing): New function. If a bus is flushing, it
28776         flushes out any queued messages and immediately unrefs new
28777         messages. This is so when an element goes to NULL, all of the
28778         unhandled messages coming from it can be freed, and their
28779         references to the element dropped. In other words: message source
28780         ref considered harmful :P
28781
28782         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28783         we're finished with it.
28784
28785         * gst/gstmessage.c (gst_message_new_state_changed): 
28786
28787 2005-05-10  Wim Taymans  <wim@fluendo.com>
28788
28789         * gst/gstvalue.c: (gst_value_compare_flags),
28790         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28791         (_gst_value_initialize):
28792         Added flags serialize/deserialize/compare code.
28793
28794 2005-05-09  Andy Wingo  <wingo@pobox.com>
28795
28796         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28797         Intersect the peer's caps with our caps.
28798
28799 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28800
28801         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28802         * gst/elements/gsttypefindelement.c: (find_peek):
28803           Handle negative offsets better. Fixes decodebin.
28804
28805 2005-05-09  Wim Taymans  <wim@fluendo.com>
28806
28807         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28808         (gst_base_transform_event):
28809         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28810         Implement accept_caps.
28811         Fix silly lock/unlock mismatch in base class.
28812
28813 2005-05-09  Wim Taymans  <wim@fluendo.com>
28814
28815         * docs/design/draft-push-pull.txt:
28816         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28817         * gst/elements/gstfilesink.c: (gst_filesink_init),
28818         (gst_filesink_query):
28819         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28820         (gst_type_find_handle_src_query), (find_element_get_length):
28821         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28822         * gst/gstelement.h:
28823         * gst/gstmessage.c:
28824         * gst/gstmessage.h:
28825         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28826         (gst_real_pad_get_caps_unlocked),
28827         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28828         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28829         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28830         (gst_real_pad_dispose), (gst_real_pad_finalize),
28831         (gst_pad_load_and_link), (gst_pad_save_thyself),
28832         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28833         (gst_pad_check_pull_range), (gst_pad_pull_range),
28834         (gst_pad_template_get_type), (gst_pad_template_class_init),
28835         (gst_pad_template_init), (gst_pad_template_dispose),
28836         (name_is_valid), (gst_static_pad_template_get),
28837         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28838         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28839         (gst_pad_get_element_private), (gst_pad_start_task),
28840         (gst_pad_pause_task), (gst_pad_stop_task),
28841         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28842         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28843         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28844         (gst_ghost_pad_new):
28845         * gst/gstpad.h:
28846         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28847         (gst_query_new_position), (gst_query_set_position),
28848         (gst_query_parse_position), (gst_query_new_convert),
28849         (gst_query_set_convert), (gst_query_parse_convert):
28850         * gst/gstquery.h:
28851         * gst/gstqueryutils.c:
28852         * gst/gstqueryutils.h:
28853         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28854         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28855         (gst_queue_handle_src_query):
28856         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28857         (gst_element_query_position), (gst_element_query_convert),
28858         (intersect_caps_func), (gst_pad_query_position),
28859         (gst_pad_query_convert):
28860         * gst/gstutils.h:
28861         * tools/gst-inspect.c: (print_pad_info):
28862         * tools/gst-xmlinspect.c: (print_element_info):
28863         Remove old query functions. Ported old code.
28864         Added position/convert helper functions to gstutils.
28865         Reordered gstpad.c code, grouping relevant things.
28866         Remove gst_message_new(), always need to speficy a specific
28867         message.
28868
28869
28870 2005-05-09  Andy Wingo  <wingo@pobox.com>
28871
28872         * gst/gstiterator.h: Add some includes.
28873
28874         * gst/gstqueryutils.h: Include more headers.
28875
28876         * gst/gstpad.h:
28877         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28878         some uses of gst_pad_query.
28879
28880         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28881         NULL out parameters.
28882         (gst_query_new_position): New proc, allocates a new position
28883         query.
28884
28885         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28886         gstqueryutils.c to the build.
28887
28888         * gst/gststructure.c (gst_structure_set_valist): Implement with
28889         the generic G_VALUE_COLLECT.
28890         
28891 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28892
28893         * gst/Makefile.am: (gst_headers):
28894         Added gstqueryutils.h to the list of headers to install, that was
28895         a 'nachty' move wingo :)
28896
28897 2005-05-06  Andy Wingo  <wingo@pobox.com>
28898
28899         * gst/gstquery.h
28900         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28901         GstData, init a memchunk.
28902         (standard_definitions): Add a few query types, deprecate a few.
28903         (gst_query_get_type): New proc.
28904         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28905         implementation.
28906         (gst_query_new_application, gst_query_get_structure): New public
28907         procs.
28908
28909         * docs/design/draft-query.txt: Removed LINKS from the query types,
28910         because all the rest can be dispatched to other pads -- seemed
28911         ugly to have a query that couldn't be dispatched. internal_links
28912         is fine as a pad method.
28913
28914         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28915         in gstpad.c, but maintain binary compatibility for the moment.
28916         Will fix before 0.9 is out.
28917
28918         * gst/gstqueryutils.c: 
28919         * gst/gstqueryutils.h: New files, implement 3 methods for each
28920         query type: parse_query, parse_response, and set. Probably need an
28921         allocator as well.
28922
28923         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28924
28925         * gst/elements/gstfilesink.c (gst_filesink_query2):
28926         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28927         query_types, and formats methods.
28928
28929         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28930         (gst_pad_set_query2_function): New functions.
28931         (gst_real_pad_init): Set query2_default as the default query2
28932         function. Basically just dispatches to internally linked pads.
28933
28934         Needs review!
28935         
28936         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28937         without using the atomic operations. Only one thread can possibly
28938         be accessing the data at this point. Changed so as to avoid
28939         gst_atomic operations.
28940
28941 2005-05-06  Wim Taymans  <wim@fluendo.com>
28942
28943         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28944         Also set caps if we use the fallback buffer alloc.
28945
28946 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28947
28948         * docs/gst/Makefile.am:
28949         * docs/gst/gstreamer-docs.sgml:
28950         * docs/gst/gstreamer-sections.txt:
28951         * docs/gst/tmpl/gstatomic.sgml:
28952         * docs/gst/tmpl/gstmemchunk.sgml:
28953         * testsuite/elements/struct_i386.h:
28954         * win32/GStreamer.vcproj:
28955         * win32/Makefile:
28956           Purge GstAtomic stuff from docs and win32 makefiles as well
28957
28958 2005-05-06  Wim Taymans  <wim@fluendo.com>
28959
28960         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28961         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28962         * gst/gstpad.c: (gst_pad_peer_get_caps):
28963         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28964         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28965         (gst_queue_src_activate), (gst_queue_change_state):
28966         * gst/gstqueue.h:
28967         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28968         (intersect_caps_func):
28969         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28970         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28971         Some fixes for the peer_get_caps() change.
28972
28973 2005-05-06  Wim Taymans  <wim@fluendo.com>
28974
28975         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28976         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28977         (gst_basesink_activate):
28978         Actually do something with error codes returned from the push
28979         functions.
28980
28981 2005-05-06  Wim Taymans  <wim@fluendo.com>
28982
28983         * docs/design/part-element-sink.txt:
28984         * docs/design/part-element-source.txt:
28985         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28986         (gst_basesink_event), (gst_basesink_activate):
28987         * gst/base/gstbasesink.h:
28988         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28989         (gst_basesrc_activate):
28990         * gst/base/gstbasesrc.h:
28991         * gst/gstelement.c: (gst_element_pads_activate):
28992         Some more documentation.
28993         Fixed scheduling decision in _pads_activate().
28994
28995 2005-05-05  Andy Wingo  <wingo@pobox.com>
28996
28997         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28998         the test suite.
28999
29000 2005-05-05  Wim Taymans  <wim@fluendo.com>
29001
29002         * gst/base/Makefile.am:
29003         * gst/base/gstbasesink.h:
29004         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29005         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
29006         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
29007         (gst_collectpads_class_init), (gst_collectpads_init),
29008         (gst_collectpads_finalize), (gst_collectpads_new),
29009         (gst_collectpads_set_function), (gst_collectpads_add_pad),
29010         (find_pad), (gst_collectpads_remove_pad),
29011         (gst_collectpads_is_active), (gst_collectpads_collect),
29012         (gst_collectpads_collect_range), (gst_collectpads_start),
29013         (gst_collectpads_stop), (gst_collectpads_peek),
29014         (gst_collectpads_pop), (gst_collectpads_available),
29015         (gst_collectpads_read), (gst_collectpads_flush),
29016         (gst_collectpads_chain):
29017         * gst/base/gstcollectpads.h:
29018         * gst/elements/Makefile.am:
29019         * gst/elements/gstelements.c:
29020         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29021         (gst_fakesink_get_times), (gst_fakesink_event),
29022         (gst_fakesink_preroll), (gst_fakesink_render):
29023         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
29024         (gst_filesink_init), (gst_filesink_set_location),
29025         (gst_filesink_open_file), (gst_filesink_close_file),
29026         (gst_filesink_pad_query), (gst_filesink_event),
29027         (gst_filesink_render), (gst_filesink_change_state):
29028         * gst/elements/gstfilesink.h:
29029         Added object to help in making collect pad based elements.
29030         Ported filesink.
29031         Make event function in sink baseclass return gboolean.
29032
29033 2005-05-05  Wim Taymans  <wim@fluendo.com>
29034
29035         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
29036         (gst_bin_get_by_name):
29037         * gst/gstbuffer.h:
29038         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
29039         (gst_clock_finalize):
29040         * gst/gstdata.c: (gst_data_replace):
29041         * gst/gstdata.h:
29042         * gst/gstelement.c: (gst_element_request_pad),
29043         (gst_element_pads_activate):
29044         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
29045         (gst_object_unref):
29046         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29047         (gst_pad_set_checkgetrange_function),
29048         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
29049         (gst_pad_check_pull_range), (gst_pad_pull_range),
29050         (gst_static_pad_template_get_caps), (gst_pad_start_task),
29051         (gst_pad_pause_task), (gst_pad_stop_task):
29052         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29053         (gst_element_request_pad), (gst_pad_proxy_getcaps):
29054         Fix name lookup in GstBin.
29055         Added _data_replace() function and _buffer_replace()
29056         Use finalize method to clean up clock.
29057         Fix refcounting on request pads.
29058         Fix pad schedule mode error.
29059         Some more object refcounting debug info,
29060
29061
29062 2005-05-04  Andy Wingo <wingo@pobox.com>
29063
29064         * check/Makefile.am:
29065         * docs/gst/tmpl/gstatomic.sgml:
29066         * docs/gst/tmpl/gstplugin.sgml:
29067         * gst/base/gstbasesink.c: (gst_basesink_activate):
29068         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
29069         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
29070         (gst_basesrc_query), (gst_basesrc_set_property),
29071         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
29072         (gst_basesrc_activate):
29073         * gst/base/gstbasesrc.h:
29074         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
29075         (gst_base_transform_src_activate):
29076         * gst/elements/gstelements.c:
29077         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29078         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29079         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29080         * gst/elements/gsttypefindelement.c: (find_element_get_length),
29081         (gst_type_find_element_checkgetrange),
29082         (gst_type_find_element_activate):
29083         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
29084         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
29085         (gst_caps_load_thyself):
29086         * gst/gstelement.c: (gst_element_pads_activate),
29087         (gst_element_save_thyself), (gst_element_restore_thyself):
29088         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
29089         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
29090         * gst/gstpad.h:
29091         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
29092         (gst_xml_parse_file), (gst_xml_parse_memory),
29093         (gst_xml_get_element), (gst_xml_make_element):
29094         * gst/indexers/gstfileindex.c: (gst_file_index_load),
29095         (_file_index_id_save_xml), (gst_file_index_commit):
29096         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
29097         (read_enum), (load_pad_template), (load_feature), (load_plugin),
29098         (load_paths):
29099         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
29100         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
29101         * tools/gst-complete.c: (main):
29102         * tools/gst-compprep.c: (main):
29103         * tools/gst-inspect.c: (print_element_properties_info):
29104         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
29105         * tools/gst-xmlinspect.c: (print_element_properties):
29106         GCC 4 fixen.
29107         
29108 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
29109
29110         * gst/gstplugin.c: (gst_plugin_check_module),
29111         (gst_plugin_check_file), (gst_plugin_load_file):
29112             apply patch from #172526 to make register work on MacOSX
29113
29114 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29115
29116         * docs/gst/tmpl/gstconfig.sgml:
29117         * gst/gstconfig.h.in:
29118           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
29119         * testsuite/debug/printf_extension.c: (main):
29120           Do not use GST_PTR_FORMAT on pointers to types with
29121           sizeof < sizeof(gpointer).  Fixes test on 64-bit
29122         * testsuite/elements/property.h:
29123           use correct printf format
29124
29125 2005-05-02  Wim Taymans  <wim@fluendo.com>
29126
29127         * docs/design/draft-push-pull.txt:
29128         * docs/design/draft-query.txt:
29129         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
29130         (gst_basesrc_start):
29131         Added draft for new query API.
29132         Added draft for better selecting scheduling methods.
29133         Make basesrc ignore length if the subclass does not support
29134         it.
29135
29136 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29137
29138         * gst/Makefile.am:
29139           possible fixes for automake-1.5 - _LIBADD is reserved
29140
29141 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29142
29143         * docs/faq/Makefile.am:
29144         * docs/manual/Makefile.am:
29145         * docs/manuals.mak:
29146         * docs/pwg/Makefile.am:
29147         * gst/Makefile.am:
29148           possible fixes for automake-1.5
29149
29150 2005-04-28  Wim Taymans  <wim@fluendo.com>
29151
29152         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29153         (gst_basesink_pad_getcaps), (gst_basesink_init),
29154         (gst_basesink_do_sync):
29155         * gst/gstclock.c: (gst_clock_entry_new):
29156         * gst/gstevent.c: (gst_event_discont_get_value):
29157         * gst/gstpipeline.c: (pipeline_bus_handler),
29158         (gst_pipeline_change_state):
29159         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29160         Better debugging of clocking info.
29161         Allow NULL values when getting discont values.
29162
29163 2005-04-27  Wim Taymans  <wim@fluendo.com>
29164
29165         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29166         * check/gst/gstpad.c: (gst_pad_suite):
29167         Increase timeout for checks.
29168
29169 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29170
29171         * check/Makefile.am:
29172           fix the broken rule for cleanup.  Apparently this rule is
29173           only needed on FC2, so maybe this warrants further autotool
29174           inspection.
29175
29176 2005-04-26  Wim Taymans  <wim@fluendo.com>
29177
29178         * gst/gsttrashstack.h:
29179         Ooohh. a nasty one! After having a failed pop() from the stack,
29180         it's possible that the stack is empty. In that case, don't
29181         follow the NULL pointer.
29182
29183 2005-04-25  Wim Taymans  <wim@fluendo.com>
29184
29185         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29186         (gst_pad_set_checkgetrange_function),
29187         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29188         (gst_pad_check_pull_range), (gst_pad_pull_range),
29189         (gst_static_pad_template_get_caps), (gst_pad_start_task),
29190         (gst_pad_pause_task), (gst_pad_stop_task):
29191         * gst/gstplugin.c: (gst_plugin_load):
29192         * gst/gstplugin.h:
29193         Remove gst_library_load as it does more harm than good with
29194         the new g_module flags.
29195         Revert bogus caps template check in pad linking, pad caps
29196         are important when linking not the template, which is more
29197         general than the current caps.
29198
29199 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29200
29201         * gst/autoplug/.cvsignore:
29202         * gst/autoplug/Makefile.am:
29203         * gst/autoplug/gstsearchfuncs.c:
29204         * gst/autoplug/gstsearchfuncs.h:
29205         * gst/autoplug/gstspider.c:
29206         * gst/autoplug/gstspider.h:
29207         * gst/autoplug/gstspideridentity.c:
29208         * gst/autoplug/gstspideridentity.h:
29209         * gst/autoplug/spidertest.c:
29210           Die, spider, die.
29211
29212 2005-04-25  Wim Taymans  <wim@fluendo.com>
29213
29214         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29215         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29216         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29217         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29218         * gst/gstpad.h:
29219         Added stubs for unimplemented functions. 
29220
29221 2005-04-24  David Schleef  <ds@schleef.org>
29222
29223         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
29224         please fix.
29225
29226 2005-04-24  David Schleef  <ds@schleef.org>
29227
29228         Convert everything from GstAtomicInt to g_atomic_int_*, and
29229         remove gstatomic.
29230         * gst/Makefile.am:
29231         * gst/gstatomic.c:
29232         * gst/gstatomic.h:
29233         * gst/gstatomic_impl.h:
29234         * gst/gstbuffer.c:
29235         * gst/gstcaps.c:
29236         * gst/gstcaps.h:
29237         * gst/gstclock.c:
29238         * gst/gstclock.h:
29239         * gst/gstdata.c:
29240         * gst/gstdata.h:
29241         * gst/gstdata_private.h:
29242         * gst/gstevent.c:
29243         * gst/gstinfo.c:
29244         * gst/gstinfo.h:
29245         * gst/gstmessage.c:
29246         * gst/gstobject.c:
29247         * gst/gstobject.h:
29248         * gst/gststructure.c:
29249         * gst/gststructure.h:
29250         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29251         * gst/gstutils.h:
29252
29253 2005-04-24  David Schleef  <ds@schleef.org>
29254
29255         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29256         make the regressions tests work.  Remove some code that is no
29257         longer true.
29258         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29259         Disable warning for pads without templates.
29260
29261 2005-04-24  David Schleef  <ds@schleef.org>
29262
29263         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
29264         functions that handle filtered links.
29265         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29266         removed functions.
29267         * gst/gstutils.c: Fix/remove utility functions that handle
29268         filtered caps.
29269         * gst/gstutils.h:
29270         * gst/gstvalue.c: Add serialization/deserialization of caps
29271         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
29272         requires fixing so that the filter caps notation creates
29273         a capsfilter element and sets the filter_caps property.  I
29274         think everyone probably wants to keep the shorthand notation.
29275         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29276         * docs/gst/tmpl/gstpad.sgml:
29277
29278         * gst/elements/gstelements.c: Register capsfilter element.
29279         * gst/Makefile.am: fix spacing
29280         * docs/random/ds/0.9-suggested-changes: random
29281
29282 2005-04-23  David Schleef  <ds@schleef.org>
29283
29284         * gst/elements/Makefile.am:
29285         * gst/elements/gstcapsfilter.c: New element that acts like an
29286         identity, but filters caps.  Will eventually replace filtered
29287         caps in pad linking.
29288         * gst/gstutils.c: (gst_element_create_all_pads): New function
29289         to create all the ALWAYS pads that are registered with an
29290         element class.  This functionality should eventually be
29291         merged in with GstElement initialization.
29292         * gst/gstutils.h:
29293         * testsuite/trigger/README: part of trigger test code that should
29294         have been checked in a long time ago.
29295
29296 2005-04-23  David Schleef  <ds@schleef.org>
29297
29298         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
29299         needed with new versions of libtool (nobody will confirm this),
29300         and hard to carry around.
29301         * gst/autoplug/Makefile.am:
29302         * gst/base/Makefile.am:
29303         * gst/elements/Makefile.am:
29304         * gst/indexers/Makefile.am:
29305         * gst/schedulers/Makefile.am:
29306         * libs/gst/bytestream/Makefile.am:
29307         * libs/gst/control/Makefile.am:
29308         * libs/gst/dataprotocol/Makefile.am:
29309         * libs/gst/getbits/Makefile.am:
29310
29311 2005-04-21  Wim Taymans  <wim@fluendo.com>
29312
29313         * docs/design/draft-push-pull.txt:
29314         * docs/design/part-MT-refcounting.txt:
29315         * docs/design/part-TODO.txt:
29316         * docs/design/part-caps.txt:
29317         * docs/design/part-events.txt:
29318         * docs/design/part-gstbus.txt:
29319         * docs/design/part-gstpipeline.txt:
29320         * docs/design/part-messages.txt:
29321         * docs/design/part-push-pull.txt:
29322         * docs/design/part-query.txt:
29323         Some more docs.
29324
29325 2005-04-21  Wim Taymans  <wim@fluendo.com>
29326
29327         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29328         (gst_message_new), (gst_message_new_error),
29329         (gst_message_new_warning), (gst_message_new_tag),
29330         (gst_message_new_state_changed), (gst_message_new_application),
29331         (gst_message_get_structure):
29332         * gst/gstmessage.h:
29333         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29334         (gst_structure_copy_conditional):
29335         Use parent refcount in GstMessage to ensure GstStructure
29336         consistency.
29337         Cleaned up headers a bit.
29338         
29339
29340 2005-04-20  Wim Taymans  <wim@fluendo.com>
29341
29342         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29343         (gst_basesink_pad_getcaps), (gst_basesink_init),
29344         (gst_basesink_chain_unlocked):
29345         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29346         (gst_type_find_helper):
29347         * gst/elements/gsttypefindelement.c:
29348         (gst_type_find_element_have_type), (gst_type_find_element_init),
29349         (stop_typefinding), (gst_type_find_element_handle_event),
29350         (find_suggest), (gst_type_find_element_chain),
29351         (gst_type_find_element_checkgetrange),
29352         (gst_type_find_element_getrange), (do_typefind),
29353         (gst_type_find_element_activate):
29354         * gst/gstbuffer.c: (_gst_buffer_sub_free),
29355         (gst_buffer_default_free), (gst_buffer_default_copy),
29356         (gst_buffer_set_caps):
29357         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29358         (gst_caps_replace):
29359         * gst/gstmessage.c: (gst_message_new),
29360         (gst_message_new_state_changed):
29361         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29362         (gst_pad_set_checkgetrange_function),
29363         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29364         (gst_pad_set_caps), (gst_pad_check_pull_range),
29365         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29366         * gst/gstpad.h:
29367         * gst/gsttypefind.c: (gst_type_find_register):
29368         Make gst_caps_replace() work like other _replace() functions.
29369         Use _caps_replace() where possible.
29370         Make sure _message_new() initialises its field.
29371         Add gst_static_pad_template_get_caps()
29372
29373
29374 2005-04-18  Andy Wingo  <wingo@pobox.com>
29375
29376         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29377         on the peer, not the pad. I think that was a typo. Pass an extra
29378         arg to see if random access is possible. Activate the pads as
29379         PULL_RANGE if possible.
29380
29381         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29382
29383         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
29384         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29385         to PROP_....
29386
29387 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29388
29389         * docs/faq/using.xml:
29390           Add note on gstreamer-properties (#154996).
29391
29392 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29393
29394         * docs/random/bbb/optional-properties:
29395           Some analysis on optional properties.
29396
29397 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29398
29399         * docs/gst/tmpl/gstelementfactory.sgml:
29400         * gst/gstelement.h:
29401         * gst/gstelementfactory.c: (gst_element_factory_init),
29402         (gst_element_factory_cleanup), (gst_element_register),
29403         (__gst_element_factory_add_static_pad_template),
29404         (gst_element_factory_get_static_pad_templates),
29405         (gst_element_factory_can_src_caps),
29406         (gst_element_factory_can_sink_caps):
29407         * gst/registries/Makefile.am:
29408         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29409         (gst_xml_registry_class_init), (gst_xml_registry_init),
29410         (gst_xml_registry_new), (gst_xml_registry_set_property),
29411         (gst_xml_registry_get_property), (get_time), (make_dir),
29412         (gst_xml_registry_get_perms_func),
29413         (plugin_times_older_than_recurse), (plugin_times_older_than),
29414         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29415         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29416         (add_to_char_array), (read_string), (read_uint), (read_enum),
29417         (load_pad_template), (load_feature), (load_plugin), (load_paths),
29418         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29419         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29420         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29421         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29422         (gst_xml_registry_rebuild):
29423         * gst/registries/gstlibxmlregistry.h:
29424         * tools/gst-compprep.c: (main):
29425         * tools/gst-inspect.c: (print_pad_templates_info):
29426         * tools/gst-xmlinspect.c: (print_element_info):
29427           Use libxml2 for registry parsing, use staticpadtemplates in
29428           elementfactories. Makes gst_init() +/- 10x faster.
29429
29430 2005-04-12  Wim Taymans  <wim@fluendo.com>
29431
29432         * gst/base/Makefile.am:
29433         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29434         (gst_basesink_pad_getcaps), (gst_basesink_init),
29435         (gst_basesink_event), (gst_basesink_change_state):
29436         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29437         (gst_basesrc_init), (gst_basesrc_query),
29438         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29439         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29440         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29441         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29442         (gst_basesrc_stop), (gst_basesrc_activate),
29443         (gst_basesrc_change_state):
29444         * gst/base/gsttypefindhelper.c: (helper_find_peek),
29445         (helper_find_suggest), (gst_type_find_helper):
29446         * gst/base/gsttypefindhelper.h:
29447         * gst/elements/Makefile.am:
29448         * gst/elements/gstelements.c:
29449         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29450         (gst_fakesink_get_times), (gst_fakesink_event),
29451         (gst_fakesink_preroll), (gst_fakesink_render):
29452         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29453         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29454         (gst_fakesrc_get_property), (gst_fakesrc_create),
29455         (gst_fakesrc_start), (gst_fakesrc_stop):
29456         * gst/elements/gstfakesrc.h:
29457         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29458         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29459         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29460         (gst_filesrc_create_read), (gst_filesrc_create),
29461         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29462         (gst_filesrc_start):
29463         * gst/elements/gsttypefindelement.c:
29464         (gst_type_find_element_have_type), (gst_type_find_element_init),
29465         (start_typefinding), (stop_typefinding), (push_buffer_store),
29466         (gst_type_find_element_handle_event),
29467         (gst_type_find_element_chain),
29468         (gst_type_find_element_checkgetrange),
29469         (gst_type_find_element_getrange), (do_typefind),
29470         (gst_type_find_element_activate),
29471         (gst_type_find_element_change_state):
29472         * gst/elements/gsttypefindelement.h:
29473         * gst/gstpipeline.c: (pipeline_bus_handler):
29474         Added typefind helper.
29475         Small preroll fix in the base sink.
29476         Disable typefind code in basesrc.
29477         Crude port of typefindelement.
29478         Fakesrc cleanups.
29479
29480
29481 2005-04-11  Wim Taymans  <wim@fluendo.com>
29482
29483         * check/gst/gstbus.c: (gstbus_suite):
29484         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29485         * check/gstcheck.h:
29486           Fix up the timeout so that the test does not fail.
29487
29488 2005-04-06  Wim Taymans  <wim@fluendo.com>
29489
29490         * gst/base/README:
29491         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29492         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29493         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29494         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29495         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29496         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29497         (gst_basesrc_stop), (gst_basesrc_activate),
29498         (gst_basesrc_change_state), (basesrc_find_peek),
29499         (basesrc_find_suggest), (gst_basesrc_type_find):
29500         * gst/base/gstbasesrc.h:
29501         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29502         (gst_filesrc_class_init), (gst_filesrc_init),
29503         (gst_filesrc_finalize), (gst_filesrc_set_location),
29504         (gst_filesrc_set_property), (gst_filesrc_get_property),
29505         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29506         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29507         (gst_filesrc_create_read), (gst_filesrc_create),
29508         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29509         * gst/elements/gstfilesrc.h:
29510         * gst/gstelement.c: (gst_element_get_state_func),
29511         (gst_element_lost_state), (gst_element_pads_activate):
29512         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29513         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29514         (gst_pad_pull_range):
29515         * gst/gstpad.h:
29516         More work on the generic source base class, implement seeking,
29517         query.
29518         Make filesrc extend the base source class.
29519         Added gst_pad_set_checkgetrange_function to GstPad.
29520
29521 2005-04-06  Andy Wingo  <wingo@pobox.com>
29522
29523         * pkgconfig/gstreamer-base.pc.in:
29524         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29525
29526         * pkgconfig/Makefile.am:
29527         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29528
29529 2005-04-04  Wim Taymans  <wim@fluendo.com>
29530
29531         * gst/base/Makefile.am:
29532         * gst/base/README:
29533         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29534         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29535         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29536         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29537         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29538         (gst_basesrc_base_init), (gst_basesrc_class_init),
29539         (gst_basesrc_init), (gst_basesrc_get_formats),
29540         (gst_basesrc_get_query_types), (gst_basesrc_query),
29541         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29542         (gst_basesrc_set_property), (gst_basesrc_get_property),
29543         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29544         (gst_basesrc_loop), (gst_basesrc_activate),
29545         (gst_basesrc_change_state):
29546         * gst/base/gstbasesrc.h:
29547         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29548         (gst_fakesrc_class_init), (gst_fakesrc_init),
29549         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29550         (gst_fakesrc_get_property), (gst_fakesrc_create):
29551         * gst/elements/gstfakesrc.h:
29552         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29553         (gst_filesrc_open_file), (gst_filesrc_loop),
29554         (gst_filesrc_activate), (filesrc_find_peek),
29555         (gst_filesrc_type_find):
29556         Made base source class, make fakesrc extend it.
29557         Add comments to basesink class.
29558         Some filesrc cleanup.
29559
29560 2005-03-31  David Schleef  <ds@schleef.org>
29561
29562         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29563         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29564         expected to link against libgstreamer.
29565         * gst/base/Makefile.am: link against libgstreamer
29566         * gst/elements/Makefile.am: same
29567
29568 2005-03-31  Andy Wingo  <wingo@pobox.com>
29569
29570         * tests/instantiate/Makefile.am:
29571         * tests/instantiate/caps.c: Add test to test speed of caps copy
29572         and free.
29573
29574         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29575         GMemChunk to be fair.
29576
29577         * gst/gsttrashstack.h: Remove warning about using the fallback
29578         trash stack implementation, it's still faster than malloc.
29579
29580 2005-03-30  Andy Wingo  <wingo@pobox.com>
29581
29582         * tests/complexity.c: Add a copyright.
29583
29584 2005-03-31  Wim Taymans  <wim@fluendo.com>
29585
29586         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29587         (gst_base_transform_class_init), (gst_base_transform_init),
29588         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29589         (gst_base_transform_get_property),
29590         (gst_base_transform_sink_activate),
29591         (gst_base_transform_src_activate),
29592         (gst_base_transform_change_state):
29593         * gst/base/gstbasetransform.h:
29594         * gst/elements/gstidentity.c: (gst_identity_class_init),
29595         (gst_identity_event), (gst_identity_check_perfect),
29596         (gst_identity_transform), (gst_identity_start),
29597         (gst_identity_stop):
29598         Added start/stop methods to transform base class so subclasses 
29599         don't need to deal with state changes even.
29600
29601 2005-03-31  Wim Taymans  <wim@fluendo.com>
29602
29603         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29604         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29605         * gst/gstevent.h:
29606         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29607         (gst_pad_pull_range):
29608         Added rate to the discont event to prepare for variable speed
29609         and reverse playback.
29610
29611 2005-03-29  David Schleef  <ds@schleef.org>
29612
29613         * configure.ac:
29614         * testsuite/trigger/Makefile.am:
29615         * testsuite/trigger/trigger.c: A little example program to show
29616         how trigger-based elements can work.
29617
29618 2005-03-29  Wim Taymans  <wim@fluendo.com>
29619
29620         * gst/base/Makefile.am:
29621         * gst/base/README:
29622         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29623         (gst_basesink_base_init), (gst_basesink_class_init),
29624         (gst_basesink_pad_getcaps), (gst_basesink_init),
29625         (gst_basesink_activate), (gst_basesink_change_state):
29626         * gst/base/gstbasesink.h:
29627         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29628         (gst_base_transform_base_init), (gst_base_transform_finalize),
29629         (gst_base_transform_class_init), (gst_base_transform_init),
29630         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29631         (gst_base_transform_event), (gst_base_transform_getrange),
29632         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29633         (gst_base_transform_set_property),
29634         (gst_base_transform_get_property),
29635         (gst_base_transform_sink_activate),
29636         (gst_base_transform_src_activate),
29637         (gst_base_transform_change_state):
29638         * gst/base/gstbasetransform.h:
29639         * gst/elements/gstidentity.c: (gst_identity_finalize),
29640         (gst_identity_class_init), (gst_identity_init),
29641         (gst_identity_event), (gst_identity_check_perfect),
29642         (gst_identity_transform), (gst_identity_set_property),
29643         (gst_identity_get_property), (gst_identity_change_state):
29644         * gst/elements/gstidentity.h:
29645         * gst/gstelement.c: (gst_element_get_state_func),
29646         (gst_element_lost_state), (gst_element_pads_activate):
29647         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29648         (gst_pad_check_pull_range), (gst_pad_pull_range):
29649         * gst/gstpad.h:
29650         Simplify pad activation.
29651         Added function to check if pull_range can be performed.
29652         Error out when pulling inactive or flushing pads.
29653         Removed const from refcounted types as it does not make sense.
29654         Simplify pad templates in basesink
29655         Added base class for simple 1-to-1 transforms.
29656         Make identity subclass the base transform.
29657
29658 2005-03-29  Andy Wingo  <wingo@pobox.com>
29659
29660         * docs/libs/gstreamer-libs-overrides.txt: 
29661         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29662         really don't understand what's going on, but like whatever. I want
29663         green buildbot!
29664
29665         * docs/gst/Makefile.am:
29666         * docs/libs/Makefile.am: Dist the overrides files.
29667
29668         * check/Makefile.am (clean-local): Remove .libs directories.
29669
29670         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29671         elements to EXTRA_DIST, so po/ files are happy.
29672
29673         * po/POTFILES.in: Er, remove it here.
29674
29675         * po/POTFILES: Remove gstspider.c.
29676
29677         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29678
29679         * docs/libs/gstreamer-libs-docs.sgml: 
29680         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29681         bytestream.
29682
29683         * tests/complexity.c (main): Set the length of the preroll queue
29684         on the sinks to prevent a lockup.
29685
29686         * libs/gst/dataprotocol/Makefile.am: 
29687         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29688         the same as the one in check/gst-libs/gdp.c.
29689
29690         * po/, docs/gst/: Commit automatic changes to docs and po files.
29691
29692         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29693         the versioned libgstbase.
29694
29695         * check/Makefile.am: Depend on an unversioned gst-register, seems
29696         to make autoconf happier.
29697
29698         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29699
29700 2005-03-28  Wim Taymans  <wim@fluendo.com>
29701
29702         * configure.ac:
29703         * docs/design/part-gstelement.txt:
29704         * docs/design/part-negotiation.txt:
29705         * docs/design/part-preroll.txt:
29706         * docs/design/part-scheduling.txt:
29707         * docs/design/part-states.txt:
29708         * gst/Makefile.am:
29709         * gst/base/Makefile.am:
29710         * gst/base/README:
29711         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29712         (gst_basesink_base_init), (gst_basesink_class_init),
29713         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29714         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29715         (gst_basesink_set_pad_functions),
29716         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29717         (gst_basesink_set_property), (gst_basesink_get_property),
29718         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29719         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29720         (gst_basesink_preroll_queue_push),
29721         (gst_basesink_preroll_queue_empty),
29722         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29723         (gst_basesink_event), (gst_basesink_get_times),
29724         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29725         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29726         (gst_basesink_loop), (gst_basesink_activate),
29727         (gst_basesink_change_state):
29728         * gst/base/gstbasesink.h:
29729         * gst/elements/Makefile.am:
29730         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29731         (gst_fakesink_class_init), (gst_fakesink_init),
29732         (gst_fakesink_set_property), (gst_fakesink_get_property),
29733         (gst_fakesink_get_times), (gst_fakesink_event),
29734         (gst_fakesink_preroll), (gst_fakesink_render),
29735         (gst_fakesink_change_state):
29736         * gst/elements/gstfakesink.h:
29737         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29738         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29739         * gst/gstelement.c: (gst_element_add_pad),
29740         (gst_element_get_state_func), (gst_element_abort_state),
29741         (gst_element_commit_state), (gst_element_lost_state),
29742         (gst_element_set_state), (gst_element_pads_activate):
29743         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29744         * gst/gstpipeline.c: (gst_pipeline_send_event),
29745         (gst_pipeline_change_state):
29746         Added state change code.
29747         Added/updated docs.
29748         Added sink base class, make fakesink extend the base class.
29749         Small cleanups in GstPipeline.
29750
29751 2005-03-26  David Schleef  <ds@schleef.org>
29752
29753         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29754         is broken and should be implemented in a different library.
29755         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29756         * gst/gst.h: remove gstcpu.h
29757         * gst/gstcpu.c: remove
29758         * gst/gstcpu.h: remove
29759         * gst/Makefile.am.future: Remove this file.  It's ancient.
29760
29761 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29762
29763         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29764         (gst_bin_send_event):
29765           Add default event/set_manager handlers. The set_manager handler
29766           takes care that the manager is distributed over kids that were
29767           already in the bin before the manager was set. The event handler
29768           is a utility virtual function that sends the event over all sinks,
29769           so that gst_element_send_event (bin, event); has the expected
29770           behaviour.
29771         * gst/gstpad.c: (gst_pad_event_default):
29772           Re-install default event handling for discontinuities, so that
29773           seeking works without requiring hacks in applications or extra
29774           code in sinks.
29775         * gst/gstpipeline.c: (gst_pipeline_class_init),
29776         (gst_pipeline_send_event):
29777           Half hack, half utility: set a pipeline to PAUSED for seek events,
29778           since that is the only way we can guarantee a/v sync. Means that
29779           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29780           and it "just works".
29781
29782 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29783
29784         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29785           Lock/unlock mismatch.
29786
29787 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29788
29789         * docs/faq/gst-uninstalled:
29790           add gst-plugins-base
29791         * docs/gst/Makefile.am:
29792           don't error out until docs are fixed
29793         * docs/gst/gstreamer.types:
29794           remove thread
29795
29796 2005-03-22  Wim Taymans  <wim@fluendo.com>
29797
29798         * check/Makefile.am:
29799         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29800         * gst/gststructure.c: (gst_structure_set_valist),
29801         (gst_structure_copy_conditional):
29802         Activated more tests.
29803         Added message test.
29804         Added G_TYPE_POINTER to GstStructure.
29805         
29806
29807 2005-03-22  Wim Taymans  <wim@fluendo.com>
29808
29809         * docs/design/part-TODO.txt:
29810         * docs/design/part-events.txt:
29811         * docs/design/part-gstbin.txt:
29812         * docs/design/part-gstbus.txt:
29813         * docs/design/part-gstpipeline.txt:
29814         * docs/design/part-messages.txt:
29815         * gst/gstbus.c:
29816         * gst/gstmessage.c:
29817         Docs updates
29818
29819 2005-03-21  Wim Taymans  <wim@fluendo.com>
29820
29821         * gst/gstbus.c: (gst_bus_post):
29822         Fix copy-and-paste error.
29823
29824 2005-03-21  Wim Taymans  <wim@fluendo.com>
29825
29826         * check/Makefile.am:
29827         * gst/Makefile.am:
29828         * gst/elements/Makefile.am:
29829         * gst/elements/gstelements.c:
29830         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29831         (gst_fakesink_event), (gst_fakesink_chain):
29832         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29833         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29834         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29835         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29836         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29837         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29838         (gst_fakesrc_loop), (gst_fakesrc_activate),
29839         (gst_fakesrc_change_state):
29840         * gst/elements/gstfakesrc.h:
29841         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29842         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29843         (gst_filesrc_open_file), (gst_filesrc_loop),
29844         (gst_filesrc_activate), (gst_filesrc_change_state),
29845         (filesrc_find_peek), (filesrc_find_suggest),
29846         (gst_filesrc_type_find):
29847         * gst/elements/gstidentity.c: (gst_identity_finalize),
29848         (gst_identity_class_init), (gst_identity_init),
29849         (gst_identity_proxy_getcaps), (identity_queue_push),
29850         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29851         (gst_identity_getrange), (gst_identity_chain),
29852         (gst_identity_sink_loop), (gst_identity_src_loop),
29853         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29854         (gst_identity_set_property), (gst_identity_get_property),
29855         (gst_identity_change_state):
29856         * gst/elements/gstidentity.h:
29857         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29858         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29859         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29860         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29861         (gst_tee_sink_activate):
29862         * gst/elements/gsttee.h:
29863         * gst/gst.c: (gst_register_core_elements), (init_post):
29864         * gst/gst.h:
29865         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29866         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29867         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29868         (gst_bin_change_state):
29869         * gst/gstbin.h:
29870         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29871         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29872         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29873         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29874         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29875         (bus_watch_callback), (bus_watch_destroy),
29876         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29877         (poll_timeout), (gst_bus_poll):
29878         * gst/gstbus.h:
29879         * gst/gstcaps.h:
29880         * gst/gstdata.h:
29881         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29882         (gst_element_post_message), (gst_element_message_full),
29883         (gst_element_get_state_func), (gst_element_get_state),
29884         (gst_element_abort_state), (gst_element_commit_state),
29885         (gst_element_lost_state), (gst_element_set_state),
29886         (gst_element_pads_activate), (gst_element_change_state),
29887         (gst_element_dispose), (gst_element_set_manager_func),
29888         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29889         (gst_element_set_manager), (gst_element_get_manager),
29890         (gst_element_set_bus), (gst_element_get_bus),
29891         (gst_element_set_scheduler), (gst_element_get_scheduler):
29892         * gst/gstelement.h:
29893         * gst/gstevent.c: (gst_event_new_segment_seek),
29894         (gst_event_new_flush):
29895         * gst/gstevent.h:
29896         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29897         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29898         (gst_message_new_eos), (gst_message_new_error),
29899         (gst_message_new_warning), (gst_message_new_tag),
29900         (gst_message_new_state_changed), (gst_message_new_application),
29901         (gst_message_get_structure), (gst_message_parse_tag),
29902         (gst_message_parse_state_changed), (gst_message_parse_error),
29903         (gst_message_parse_warning):
29904         * gst/gstmessage.h:
29905         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29906         (gst_real_pad_set_property), (gst_pad_set_active),
29907         (gst_pad_is_active), (gst_pad_set_blocked_async),
29908         (gst_pad_set_blocked), (gst_pad_is_blocked),
29909         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29910         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29911         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29912         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29913         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29914         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29915         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29916         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29917         (gst_pad_set_caps), (gst_pad_configure_sink),
29918         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29919         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29920         (gst_real_pad_dispose), (gst_real_pad_finalize),
29921         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29922         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29923         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29924         * gst/gstpad.h:
29925         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29926         (pipeline_bus_handler), (gst_pipeline_change_state),
29927         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29928         * gst/gstpipeline.h:
29929         * gst/gstprobe.h:
29930         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29931         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29932         (gst_queue_link_src), (gst_queue_bufferalloc),
29933         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29934         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29935         (gst_queue_loop), (gst_queue_handle_src_event),
29936         (gst_queue_handle_src_query), (gst_queue_src_activate),
29937         (gst_queue_change_state):
29938         * gst/gstqueue.h:
29939         * gst/gstscheduler.c: (gst_scheduler_init),
29940         (gst_scheduler_dispose), (gst_scheduler_create_task),
29941         (gst_scheduler_factory_create):
29942         * gst/gstscheduler.h:
29943         * gst/gststructure.c: (gst_structure_get_type),
29944         (gst_structure_copy_conditional):
29945         * gst/gststructure.h:
29946         * gst/gsttaginterface.h:
29947         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29948         (gst_task_init), (gst_task_dispose), (gst_task_create),
29949         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29950         (gst_task_pause):
29951         * gst/gsttask.h:
29952         * gst/gstthread.c:
29953         * gst/gstthread.h:
29954         * gst/gsttypes.h:
29955         * gst/schedulers/Makefile.am:
29956         * gst/schedulers/cothreads_compat.h:
29957         * gst/schedulers/entryscheduler.c:
29958         * gst/schedulers/faircothreads.c:
29959         * gst/schedulers/faircothreads.h:
29960         * gst/schedulers/fairscheduler.c:
29961         * gst/schedulers/gstbasicscheduler.c:
29962         * gst/schedulers/gstoptimalscheduler.c:
29963         * gst/schedulers/gthread-cothreads.h:
29964         * gst/schedulers/threadscheduler.c:
29965         (gst_thread_scheduler_task_get_type),
29966         (gst_thread_scheduler_task_class_init),
29967         (gst_thread_scheduler_task_init),
29968         (gst_thread_scheduler_task_start),
29969         (gst_thread_scheduler_task_stop),
29970         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29971         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29972         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29973         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29974         (plugin_init):
29975         * libs/gst/Makefile.am:
29976         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29977         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29978         (gst_file_pad_parent_set):
29979         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29980         (gst_dp_event_from_packet):
29981         * tests/complexity.c: (main):
29982         * tests/mass_elements.c: (main):
29983         * testsuite/states/locked.c: (message_received), (main):
29984         * testsuite/states/parent.c: (main):
29985         * tools/gst-inspect.c: (print_element_flag_info),
29986         (print_implementation_info), (print_pad_info):
29987         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29988         (main):
29989         * tools/gst-md5sum.c: (event_loop), (main):
29990         * tools/gst-typefind.c: (main):
29991         * tools/gst-xmlinspect.c: (print_element_info):
29992         Next big merge.
29993         Added GstBus for mainloop integration.
29994         Added GstMessage for sending notifications on the bus.
29995         Added GstTask as an abstraction for pipeline entry points.
29996         Removed GstThread.
29997         Removed Schedulers.
29998         Simplified GstQueue for multithreaded core.
29999         Made _link threadsafe, removed old capsnego.
30000         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
30001         Added pad blocking functions.
30002         Reworked scheduling functions in GstPad to prepare for
30003         scheduling updates soon.
30004         Moved events out of data stream.
30005         Simplified GstEvent types.
30006         Added return values to push/pull.
30007         Removed clocking from GstElement.
30008         Added prototypes for state change function for next merge.
30009         Removed iterate from bins and state change management.
30010         Fixed some elements, disabled others for now.
30011         Fixed -inspect and -launch.
30012         Added check for GstBus.
30013
30014 2005-03-10  Wim Taymans  <wim@fluendo.com>
30015
30016         * docs/design/part-MT-refcounting.txt:
30017         * docs/design/part-clocks.txt:
30018         * docs/design/part-gstelement.txt:
30019         * docs/design/part-gstobject.txt:
30020         * docs/design/part-standards.txt:
30021         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30022         (gst_bin_remove_func), (gst_bin_remove):
30023         * gst/gstbin.h:
30024         * gst/gstbuffer.c:
30025         * gst/gstcaps.h:
30026         * testsuite/clock/clock1.c: (main):
30027         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
30028         (main):
30029         * testsuite/dlopen/loadgst.c: (do_test):
30030         * testsuite/refcounting/bin.c: (add_remove_test1),
30031         (add_remove_test2), (main):
30032         * testsuite/refcounting/element.c: (main):
30033         * testsuite/refcounting/element_pad.c: (main):
30034         * testsuite/refcounting/pad.c: (main):
30035         * tools/gst-launch.c: (sigint_handler_sighandler):
30036         * tools/gst-typefind.c: (main):
30037         Doc updates.
30038         Added doc about clock.
30039         removed gst_bin_iterate_recurse_up(), marked methods
30040         for removal.
30041         Fix more testsuites.
30042
30043 2005-03-09  Wim Taymans  <wim@fluendo.com>
30044
30045         * gst/gstpad.c: (gst_pad_get_direction),
30046         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
30047         (gst_pad_collect_valist):
30048         * testsuite/bins/interface.c: (main):
30049         * testsuite/caps/audioscale.c: (test_caps):
30050         * testsuite/caps/caps.c: (test1), (test2), (test3):
30051         * testsuite/caps/deserialize.c: (main):
30052         * testsuite/caps/enumcaps.c: (main):
30053         * testsuite/caps/filtercaps.c: (main):
30054         * testsuite/caps/intersect2.c: (main):
30055         * testsuite/caps/random.c: (main):
30056         * testsuite/caps/renegotiate.c: (my_fixate), (main):
30057         * testsuite/caps/sets.c: (check_caps):
30058         * testsuite/caps/simplify.c: (check_caps), (main):
30059         * testsuite/caps/subtract.c: (check_caps):
30060         Fix _pad_get_direction wrt ghostpads.
30061         Fix caps testsuite.
30062
30063 2005-03-09  Wim Taymans  <wim@fluendo.com>
30064
30065         * check/Makefile.am:
30066         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
30067         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
30068         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
30069         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
30070         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
30071         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
30072         (gst_bin_remove), (gst_bin_iterate_recurse_up),
30073         (bin_element_is_sink), (gst_bin_iterate_sinks),
30074         (gst_bin_iterate_all_by_interface):
30075         * gst/gstbin.h:
30076         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
30077         (gst_element_change_state), (gst_element_dispose),
30078         (gst_element_finalize), (gst_element_set_loop_function):
30079         * gst/gstelement.h:
30080         * gst/gstiterator.c: (find_custom_fold_func):
30081         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30082         (gst_pad_collectv), (gst_pad_collect_valist),
30083         (gst_pad_template_new):
30084         * gst/gstpipeline.c: (gst_pipeline_class_init),
30085         (gst_pipeline_dispose), (gst_pipeline_set_property),
30086         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
30087         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
30088         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
30089         * gst/gstutils.h:
30090         * gst/schedulers/entryscheduler.c:
30091         * gst/schedulers/gstbasicscheduler.c:
30092         (gst_basic_scheduler_cothreaded_chain),
30093         (gst_basic_scheduler_chain_add_element):
30094         * testsuite/bins/interface.c: (main):
30095         Added GstBin test.
30096         Added GstSystemClock test.
30097         Implemented clock distribution code in GstBin.
30098         Implemented iterate sinks method for future use.
30099         Rearranged gstelement.h
30100         Fix GstIterator comparison bug.
30101         Moved some code to GstPipeline, mostly clocking related.
30102
30103 2005-03-09  Wim Taymans  <wim@fluendo.com>
30104
30105         * configure.ac:
30106         * gst/gst_private.h:
30107         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30108         (gst_bin_remove_func), (gst_bin_remove),
30109         (gst_bin_get_by_name_recurse_up):
30110         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
30111         (gst_clock_id_compare_func), (gst_clock_id_wait),
30112         (gst_clock_id_wait_async), (gst_clock_init),
30113         (gst_clock_adjust_unlocked), (gst_clock_get_time):
30114         * gst/gstelement.h:
30115         * gst/gstinfo.c: (_gst_debug_init):
30116         * gst/gstobject.h:
30117         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30118         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
30119         * gst/gstpad.h:
30120         Bump version number, we're now 0.9.0
30121         Add future debugging category.
30122         Fix NULL _unref() in _get_by_name_recurse_up
30123         Rearrange gstpad.h.
30124         Update some docs.
30125
30126 2005-03-08  Wim Taymans  <wim@fluendo.com>
30127
30128         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
30129         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
30130         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30131         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
30132         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
30133         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
30134         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
30135         * gst/elements/gstidentity.c: (gst_identity_class_init):
30136         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
30137         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
30138         * gst/elements/gstshaper.c: (gst_shaper_class_init):
30139         * gst/elements/gststatistics.c: (gst_statistics_class_init):
30140         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
30141         (gst_tee_link):
30142         * gst/gstelement.c: (gst_element_class_init),
30143         (gst_element_base_class_init), (gst_element_init),
30144         (gst_element_get_random_pad), (gst_element_wait_state_change),
30145         (gst_element_change_state), (gst_element_dispose),
30146         (gst_element_finalize), (gst_element_set_loop_function):
30147         * gst/gstelement.h:
30148         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
30149         * gst/gstthread.c: (gst_thread_class_init),
30150         (gst_thread_release_children_locks), (gst_thread_change_state):
30151         * gst/schedulers/gstbasicscheduler.c:
30152         (gst_basic_scheduler_loopfunc_wrapper),
30153         (gst_basic_scheduler_chain_wrapper),
30154         (gst_basic_scheduler_src_wrapper),
30155         (gst_basic_scheduler_remove_element):
30156         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30157         Remove threadsafe properties. Fix elements because GObject
30158         complains when installing a property before declaring a
30159         set/get_property handler.
30160         Rearrange gstelement.h file, use STATE macros for state locks.
30161         Free mutexes in the finalize method instead of dispose.
30162
30163 2005-03-08  Wim Taymans  <wim@fluendo.com>
30164
30165         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30166         * gst/gstthread.c: (gst_thread_release_children_locks):
30167         Added parentage check.
30168         Fix build og GstThread again.
30169
30170 2005-03-08  Wim Taymans  <wim@fluendo.com>
30171
30172         * docs/design/part-MT-refcounting.txt:
30173         * docs/design/part-conventions.txt:
30174         * docs/design/part-gstobject.txt:
30175         * docs/design/part-relations.txt:
30176         * docs/design/part-standards.txt:
30177         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30178         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30179         (gst_bin_get_by_name), (gst_bin_get_by_interface),
30180         (gst_bin_iterate_all_by_interface):
30181         * gst/gstbuffer.h:
30182         * gst/gstclock.h:
30183         * gst/gstelement.c: (gst_element_class_init),
30184         (gst_element_change_state), (gst_element_set_loop_function):
30185         * gst/gstelement.h:
30186         * gst/gstiterator.c:
30187         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30188         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30189         (gst_object_dispatch_properties_changed), (gst_object_set_name),
30190         (gst_object_set_parent), (gst_object_unparent),
30191         (gst_object_check_uniqueness):
30192         * gst/gstobject.h:
30193         Docs updates, clean up some headers.
30194
30195 2005-03-07  Wim Taymans  <wim@fluendo.com>
30196
30197         * check/.cvsignore:
30198         * check/Makefile.am:
30199         * check/gst-libs/.cvsignore:
30200         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30201         * check/gst/.cvsignore:
30202         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30203         (START_TEST), (gstbus_suite), (main):
30204         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30205         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30206         (gst_data_suite), (main):
30207         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30208         (add_fold_func), (gstiterator_suite), (main):
30209         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30210         (thread_name_object), (thread_name_object_default),
30211         (gst_object_name_compare), (gst_object_suite), (main):
30212         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30213         (gst_pad_suite), (main):
30214         * check/gstcheck.c: (gst_check_log_message_func),
30215         (gst_check_log_critical_func), (gst_check_init):
30216         * check/gstcheck.h:
30217         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30218         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30219         Added checks.
30220
30221 2005-03-07  Wim Taymans  <wim@fluendo.com>
30222
30223         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30224         (gst_list_iterator_next), (gst_list_iterator_resync),
30225         (gst_list_iterator_free), (gst_iterator_new_list),
30226         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30227         (gst_iterator_free), (gst_iterator_push), (filter_next),
30228         (filter_resync), (filter_uninit), (filter_free),
30229         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30230         (gst_iterator_foreach), (find_custom_fold_func),
30231         (gst_iterator_find_custom):
30232         * gst/gstiterator.h:
30233         Added missing files.
30234
30235 2005-03-07  Wim Taymans  <wim@fluendo.com>
30236
30237         * Makefile.am:
30238         * configure.ac:
30239         * docs/design/part-MT-refcounting.txt:
30240         * docs/design/part-conventions.txt:
30241         * docs/design/part-gstobject.txt:
30242         * docs/design/part-relations.txt:
30243         * examples/mixer/mixer.c: (main):
30244         * examples/thread/thread.c: (eos), (main):
30245         * gst/Makefile.am:
30246         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30247         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30248         (gst_spider_plug_from_srcpad):
30249         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30250         (gst_spider_identity_change_state),
30251         (gst_spider_identity_sink_loop_type_finding):
30252         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30253         * gst/elements/gstidentity.c: (gst_identity_init):
30254         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30255         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30256         * gst/elements/gsttypefindelement.c: (free_entry):
30257         * gst/gst.c:
30258         * gst/gst.h:
30259         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30260         (gst_bin_set_clock_func), (gst_bin_auto_clock),
30261         (gst_bin_set_index), (gst_bin_set_element_sched),
30262         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30263         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30264         (gst_bin_iterate_elements), (iterate_child_recurse),
30265         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30266         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30267         (compare_interface), (gst_bin_get_by_interface),
30268         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30269         * gst/gstbin.h:
30270         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30271         (gst_buffer_default_free), (gst_buffer_default_copy),
30272         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30273         (gst_buffer_create_sub):
30274         * gst/gstbuffer.h:
30275         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30276         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30277         (gst_caps_unref), (gst_static_caps_get),
30278         (gst_caps_remove_and_get_structure), (gst_caps_append),
30279         (gst_caps_append_structure), (gst_caps_remove_structure),
30280         (gst_caps_copy_nth), (gst_caps_set_simple),
30281         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30282         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30283         (gst_caps_structure_intersect_field), (gst_caps_intersect),
30284         (gst_caps_structure_subtract_field), (gst_caps_subtract),
30285         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30286         (gst_caps_structure_figure_out_union),
30287         (gst_caps_switch_structures), (gst_caps_do_simplify),
30288         (gst_caps_replace), (gst_caps_from_string),
30289         (gst_caps_copy_conditional):
30290         * gst/gstcaps.h:
30291         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30292         (_gst_clock_id_free), (gst_clock_id_unref),
30293         (gst_clock_id_compare_func), (gst_clock_id_wait),
30294         (gst_clock_id_wait_async), (gst_clock_class_init),
30295         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30296         (gst_clock_get_time), (gst_clock_set_time_adjust),
30297         (gst_clock_set_property), (gst_clock_get_property):
30298         * gst/gstclock.h:
30299         * gst/gstcompat.h:
30300         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30301         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30302         * gst/gstdata.h:
30303         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30304         (gst_element_requires_clock), (gst_element_provides_clock),
30305         (gst_element_set_clock), (gst_element_clock_wait),
30306         (gst_element_wait), (gst_element_set_time_delay),
30307         (gst_element_is_indexable), (gst_element_add_pad),
30308         (gst_element_add_ghost_pad), (gst_element_remove_pad),
30309         (pad_compare_name), (gst_element_get_static_pad),
30310         (gst_element_request_pad), (gst_element_get_request_pad),
30311         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30312         (gst_element_class_get_pad_template_list),
30313         (gst_element_class_get_pad_template), (gst_element_error_func),
30314         (gst_element_get_random_pad), (gst_element_get_event_masks),
30315         (gst_element_send_event), (gst_element_seek),
30316         (gst_element_get_query_types), (gst_element_query),
30317         (gst_element_get_formats), (gst_element_convert),
30318         (gst_element_is_locked_state), (gst_element_set_locked_state),
30319         (gst_element_sync_state_with_parent), (gst_element_change_state),
30320         (gst_element_finalize), (gst_element_yield),
30321         (gst_element_interrupt), (gst_element_set_scheduler),
30322         (gst_element_get_scheduler), (gst_element_set_loop_function):
30323         * gst/gstelement.h:
30324         * gst/gstevent.h:
30325         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30326         (gst_format_get_by_nick), (gst_format_get_details),
30327         (gst_format_iterate_definitions):
30328         * gst/gstformat.h:
30329         * gst/gstindex.c: (gst_index_gtype_resolver):
30330         * gst/gstinfo.c:
30331         * gst/gstinfo.h:
30332         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30333         (gst_mem_chunk_free):
30334         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30335         (gst_object_ref), (gst_object_unref), (gst_object_sink),
30336         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30337         (gst_object_dispatch_properties_changed),
30338         (gst_object_set_name_default), (gst_object_set_name),
30339         (gst_object_get_name), (gst_object_set_name_prefix),
30340         (gst_object_get_name_prefix), (gst_object_set_parent),
30341         (gst_object_get_parent), (gst_object_unparent),
30342         (gst_object_check_uniqueness), (gst_object_save_thyself),
30343         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30344         (gst_object_set_property), (gst_object_get_property),
30345         (gst_object_get_path_string):
30346         * gst/gstobject.h:
30347         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30348         (gst_real_pad_init), (gst_real_pad_get_property),
30349         (gst_pad_custom_new), (gst_pad_get_direction),
30350         (gst_pad_set_active), (gst_pad_is_active),
30351         (gst_pad_set_event_function), (gst_pad_is_linked),
30352         (gst_pad_link_free), (gst_pad_link_intersect),
30353         (gst_pad_link_fixate), (gst_pad_set_caps),
30354         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30355         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30356         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30357         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30358         (gst_pad_get_caps), (gst_pad_peer_get_caps),
30359         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30360         (gst_pad_realize), (gst_pad_get_allowed_caps),
30361         (gst_real_pad_dispose), (gst_real_pad_finalize),
30362         (gst_pad_collectv), (gst_pad_collect_valist),
30363         (gst_pad_template_dispose), (gst_pad_template_new),
30364         (gst_pad_get_internal_links):
30365         * gst/gstpad.h:
30366         * gst/gstpipeline.c: (gst_pipeline_dispose),
30367         (gst_pipeline_change_state):
30368         * gst/gstpipeline.h:
30369         * gst/gstplugin.c:
30370         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30371         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30372         * gst/gstpluginfeature.h:
30373         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30374         * gst/gstquery.c: (_gst_query_type_initialize),
30375         (gst_query_type_register), (gst_query_type_get_by_nick),
30376         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30377         * gst/gstquery.h:
30378         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30379         * gst/gstscheduler.c: (gst_scheduler_add_element),
30380         (gst_scheduler_factory_create):
30381         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30382         (gst_structure_free), (gst_structure_set_name),
30383         (gst_structure_id_set_value), (gst_structure_set_value),
30384         (gst_structure_set_valist), (gst_structure_remove_field),
30385         (gst_structure_remove_fields),
30386         (gst_structure_remove_fields_valist),
30387         (gst_structure_remove_all_fields), (gst_structure_foreach),
30388         (gst_structure_map_in_place),
30389         (gst_caps_structure_fixate_field_nearest_int),
30390         (gst_caps_structure_fixate_field_nearest_double):
30391         * gst/gststructure.h:
30392         * gst/gstsystemclock.c: (gst_system_clock_class_init),
30393         (gst_system_clock_init), (gst_system_clock_dispose),
30394         (gst_system_clock_async_thread),
30395         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30396         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30397         * gst/gstsystemclock.h:
30398         * gst/gsttag.c: (gst_tag_list_add_value_internal),
30399         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30400         * gst/gsttaginterface.c:
30401         * gst/gstthread.c: (gst_thread_dispose),
30402         (gst_thread_release_children_locks), (gst_thread_change_state),
30403         (gst_thread_main_loop):
30404         * gst/gsttrashstack.h:
30405         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30406         * gst/gsttypes.h:
30407         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30408         (gst_element_request_pad), (gst_element_get_pad_from_template),
30409         (gst_element_request_compatible_pad),
30410         (gst_element_get_compatible_pad_filtered),
30411         (gst_element_get_compatible_pad), (gst_element_state_get_name),
30412         (gst_element_link_pads_filtered), (gst_element_link_filtered),
30413         (gst_element_link_many), (gst_element_link),
30414         (gst_element_link_pads), (gst_element_unlink_pads),
30415         (gst_element_unlink_many), (gst_element_unlink),
30416         (gst_pad_can_link_filtered), (gst_pad_can_link),
30417         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30418         (gst_object_default_error), (gst_bin_add_many),
30419         (gst_bin_remove_many), (gst_element_populate_std_props),
30420         (gst_element_class_install_std_props), (gst_buffer_merge),
30421         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30422         (link_fold_func), (gst_pad_proxy_setcaps):
30423         * gst/gstutils.h:
30424         * gst/gstvalue.c: (gst_value_deserialize_string):
30425         * gst/parse/grammar.y:
30426         * gst/schedulers/gstbasicscheduler.c:
30427         (gst_basic_scheduler_cothreaded_chain),
30428         (gst_basic_scheduler_chain_recursive_add),
30429         (gst_basic_scheduler_pad_link):
30430         * gst/schedulers/gstoptimalscheduler.c:
30431         (get_group_schedule_function),
30432         (gst_opt_scheduler_state_transition),
30433         (gst_opt_scheduler_add_element), (element_get_reachables_func):
30434         * libs/gst/bytestream/bytestream.c:
30435         * libs/gst/dataprotocol/dataprotocol.c:
30436         (gst_dp_header_from_buffer):
30437         * po/nb.po:
30438         * po/ru.po:
30439         * tests/threadstate/threadstate2.c: (eos):
30440         * tools/gst-compprep.c: (main):
30441         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30442         (print_pad_info), (print_children_info):
30443         * tools/gst-launch.c: (idle_func), (main):
30444         * tools/gst-md5sum.c: (idle_func), (main):
30445         * tools/gst-xmlinspect.c: (print_element_info):
30446         First THREADED backport attempt, focusing on adding locks and
30447         making sure the API is threadsafe. Needs more work. More docs
30448         follow this week.
30449
30450 2005-02-24  Andy Wingo  <wingo@pobox.com>
30451
30452         * tests/bench-complexity.scm:
30453         * tests/complexity.gnuplot: New files, good for running complexity
30454         benchmarks.
30455
30456         * tests/Makefile.am:
30457         * tests/complexity.c: New test, sets up N elements, at each level
30458         teeing into M streams per element. Eeeenteresting.
30459
30460         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30461         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30462         running bench-mass_elements.scm.
30463
30464         * tests/bench-mass_elements.scm: New script, runs mass_elements
30465         for various numbers of identities, outputting the results to a
30466         file. Requires guile 1.6. Just for testing.
30467
30468 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30469
30470         * gst/schedulers/fairscheduler.c:
30471           compile with debug disabled
30472
30473 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30474
30475         * configure.ac:
30476           hunting season on 0.9 is now OPEN