gst/gstelement.h: Fix link in documentation.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2
3         * gst/gstelement.h:
4         Fix link in documentation.
5
6 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
7
8         * gst/gstmessage.c:
9         Fix confusing documentation.
10
11 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
12
13         * libs/gst/base/gstbasesrc.h:
14         revert the changes to the header file for the ABI.
15
16 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
17
18         * libs/gst/base/gstbasesrc.c:
19         * libs/gst/base/gstbasesrc.h:
20         Don't cache the seekable status.
21         Fixes bug #544174
22
23 2008-07-24  Rene Stadler  <mail@renestadler.de>
24
25         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
26         code to close the pipeline graph.  This prevents the program from
27         printing internal data flow errors.
28
29 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
30
31         * docs/manual/basics-bus.xml:
32         Correct typo. Fixes bug #544320.
33
34 2008-07-22  Michael Smith <msmith@songbirdnest.com>
35
36         * configure.ac:
37           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
38           Add check (taken from -base) for winsock, adds WIN32_LIBS
39         * gst/Makefile.am:
40           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
41           winsock.
42           Define GST_EXPORTS when building libgstreamer (only used on win32)
43         * gst/gst_private.h:
44         * gst/gstinfo.h:
45           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
46           for symbols that we need to export in both these files.
47         * gst/gstpoll.c:
48           Include gst_private.h higher up to avoid some compile problems on win32.
49
50 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
51
52         * gst/gstvalue.c:
53         Fix typos.
54
55 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
56
57         * gst/gstcaps.c:
58         Previous commit was wrong NULL caps does not exist
59         and indicate an error, so also add a FIXME to
60         gst_caps_is_equal where NULL caps are accepted.
61
62 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
63
64         * gst/gstcaps.c:
65         Allow passing of NULL to gst_caps_union
66
67 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
68
69         * gst/gstghostpad.c:
70         Add in doc that gst_ghost_pad_set_target can accept
71         NULL to clear target
72
73 2008-07-15  Michael Smith <msmith@songbirdnest.com>
74
75         * gst/gstplugin.c:
76         * gst/gstregistry.c:
77           GstRegistryPool doesn't exist; don't refer to it in docs.
78           Don't refer to functions that don't exist in docs, it's
79           unhelpful.
80
81 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
82
83         * gst/gst.c:
84         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
85
86 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
87
88         Patch by: tmatth <le dot businessman at gmail dot com>
89
90         * docs/pwg/building-testapp.xml:
91         Don't use an undeclared variable in the example program.
92         Fixes bug #542573.
93
94 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
95
96         * gst/gstdebugutils.c:
97           Squeeze ghost-pad links and remove <> from classname labels to save
98           more horizontal space.
99
100 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
101
102         * gst/gstdebugutils.c:
103           Give request and sometimes pads a different shpe style. Condense the
104           graphs a little more.
105
106 2008-07-09  Michael Smith <msmith@songbirdnest.com>
107
108         * configure.ac:
109           Don't require flex and bison if the parser is disabled.
110
111 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
112
113         * libs/gst/controller/gstinterpolationcontrolsource.c:
114         (_list_find_sorted_custom):
115         Don't use declarations after statements.
116
117 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
118
119         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
120         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
121         of the the child-added / -removed signals as GstChildProxy
122         only supports GstObjects.
123
124 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
125
126         * gst/gstdebugutils.c:
127         Fix memleak
128
129 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
130
131         Patch by: Alessandro Decina <alessandro at nnva dot org>
132
133         * gst/gstpoll.c:
134         Fix "ignored return value" compiler warning with newer glibc.
135
136 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
137
138         * gst/gstchildproxy.c:
139         Fix copy&paste error in gst_child_proxy_removed() documentation.
140
141 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
142
143         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
144           Print error debug message if plugin description fields that should
145           be set are NULL.
146
147         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
148           Don't crash if the string to serialise is NULL (it really should
149           not be, but apparently this used to work with the xml registry ...).
150
151 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
152
153         * tools/gst-plot-timeline.py:
154         Fix parsing of log messages
155
156 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
157
158         * win32/common/libgstbase.def::
159           Sort alphabetically so make check-exports doesn't barf.
160
161 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
162
163         * gst/gstevent.c:
164           Use gst_format_get_name() to improve debug output.
165
166         * gst/gstpreset.c:
167           Remove #ifdef'ed code. Add TODO comment.
168
169         * gst/gstsegment.c:
170           Add debug output to ease spotting format != segment.format assertions.
171
172 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
173
174         * tests/check/libs/gdp.c: (gst_dp_suite):
175         Also enable the GDP unit test again on PPC now that the bug
176         is fixed.
177
178 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
179
180         * libs/gst/dataprotocol/dataprotocol.c:
181         Don't write to the same region of memory as a uint64 and uint16
182         as this breaks strict aliasing rules and apparantly breaks on PPC
183         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
184
185 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
186
187         * libs/gst/controller/gstinterpolationcontrolsource.c:
188           Optimize list handling. Use own find function. Exploit that fact that
189           the list is sorted. Also pass back the node before, so that we can
190           insert quickly. Have a fast path for append.
191
192 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
193
194         * docs/design/draft-framestep.txt:
195         * docs/design/part-negotiation.txt:
196           Fix two typos.
197
198 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
199
200         * configure.ac:
201           Show configuration sumary after configure run. Based on patch by
202           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
203
204 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
205
206         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
207
208         * docs/manual/advanced-autoplugging.xml:
209         * docs/manual/advanced-threads.xml:
210         * docs/manual/basics-bins.xml:
211         * docs/manual/basics-elements.xml:
212         * docs/manual/basics-helloworld.xml:
213         * docs/manual/basics-pads.xml:
214           Add scale factor for pdf output.
215
216         * docs/manual/intro-basics.xml:
217           Switched sections "pads" and "bins" and added a pipeline diagram.
218
219         * docs/manual/intro-gstreamer.xml:
220           Added more info on gstreamer.
221
222         * docs/manual/intro-motivation.xml:
223           Commented out the whole section "current problem", which sounds
224           historical and somehow osolete; it could be turned in a positive
225           way and reused to improve the design principles.
226
227         * docs/manual/intro-preface.xml:
228           - Update URLs to library.gnome.org. 
229           - Do not mention GTK+ in preliminary reading (irrelevant). 
230           - Mention Plugin Writer's Manual and further reading only in the
231             previous section.
232           - Added a list of most relevant GObject/glib topics.
233
234         * docs/manual/Makefile.am:
235         * docs/manual/bin-element-ghost.fig:
236         * docs/manual/bin-element-ghost.png:
237         * docs/manual/bin-element-noghost.fig:
238         * docs/manual/bin-element-noghost.png:
239         * docs/manual/bin-element.fig:
240         * docs/manual/bin-element.png:
241         * docs/manual/filter-element-multi.fig:
242         * docs/manual/filter-element-multi.png:
243         * docs/manual/filter-element.fig:
244         * docs/manual/filter-element.png:
245         * docs/manual/gstreamer-overview.png:
246         * docs/manual/hello-world.fig:
247         * docs/manual/hello-world.png:
248         * docs/manual/linked-elements.fig:
249         * docs/manual/linked-elements.png:
250         * docs/manual/mime-world.fig:
251         * docs/manual/mime-world.png:
252         * docs/manual/queue.fig:
253         * docs/manual/queue.png:
254         * docs/manual/simple-player.png:
255         * docs/manual/sink-element.fig:
256         * docs/manual/sink-element.png:
257         * docs/manual/src-element.fig:
258         * docs/manual/src-element.png:
259         * docs/manual/diagrams-general.svg:
260         * docs/manual/diagrams-pipelines.svg:
261           Removed .fig, added .png counterpart.
262           
263           Fixes: #539137
264
265 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
266
267         * plugins/elements/gstmultiqueue.c:
268         * plugins/elements/gstmultiqueue.h:
269         revert extra-size-buffers stuff, caused some race conditions
270         and extra-size-buffers is not used anymore. Docs needs some updates
271
272 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
273
274         * win32/common/config.h:
275         * win32/common/gstenumtypes.c:
276         * win32/common/gstenumtypes.h:
277         * win32/common/gstversion.h:
278           Update win32 files.
279
280 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
281
282         * gst/gstdebugutils.h: (GstDebugGraphDetails),
283           (GST_DEBUG_BIN_TO_DOT_FILE):
284           Add missing Since' markers to gtk-doc blurbs.
285
286 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
287
288         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
289         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
290         (set_caps_1), (set_caps_ct1), (transform_ct1),
291         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
292         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
293         (transform_size_ct2), (buffer_alloc_ct2):
294         Add some more tests with switching caps in buffer_alloc.
295
296 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
297
298         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
299         (gst_test_trans_class_init), (result_sink_chain),
300         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
301         (gst_test_trans_push), (gst_test_trans_pop):
302         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
303         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
304         (set_caps_1), (set_caps_ct1), (transform_ct1),
305         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
306         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
307         (transform_size_ct2), (buffer_alloc_ct2),
308         (gst_basetransform_suite):
309         More tests, prepare for tests with switching caps in buffer_alloc.
310
311 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
312
313         * plugins/elements/gstmultiqueue.c:
314         * plugins/elements/gstmultiqueue.h:
315         Fix dead-lock in underrun_cb
316
317 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
318
319         * docs/design/part-states.txt:
320         Fix device open/close docs.
321
322 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
323
324         * ChangeLog:
325           Mention bugnumber for last commit.
326
327 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
328
329         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
330
331         * docs/manual/manual.xml:
332         - Reorganised the previous "introduction" bundle into Foreword,
333         Introduction, and About GStreamer. The two first are <preface>
334         docbook elements. The later is the first part of the book.
335         - added intro-gstreamer.xml (content partially from
336         intro-preface.xml)
337         - moved appendix-win32.xml into appendix-integration.xml
338
339         * docs/manual/intro-preface.xml: gstreamer section moved...
340         * docs/manual/intro-gstreamer.xml: ...here. new file.
341
342         * docs/manual/appendix-win32.xml: removed file. Content moved...
343         * docs/manual/appendix-integration.xml: ...here.
344         
345         * docs/manual/highlevel-components.xml: section about GstEditor moved...
346         * docs/manual/appendix-checklist.xml: ...here.
347         
348         Fixes: 538764
349
350 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
351
352         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
353
354         * docs/manual/basics-helloworld.xml:
355         * docs/manual/hello-world.fig:
356           - Explicitely include glib.h.
357           - Do not use global variables.
358           - Use g_printerr() instead of g_print().
359           - Minor formating/renaming to increase readibility.
360           - Renamed new_pad() to on_pad_added()
361           - Improved explenatory comments.
362           - renamed ogg parser to ogg demuxer
363           - Use "autoaudiosink" instead of "alsasink".
364           Fixes: #538619
365
366 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
367
368         * ChangeLog:
369           Remove cvs conflict marker.
370
371 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
372
373         * docs/README:
374           Document that for plgin-docs we extraxt he short-desc from the element
375           details.
376
377         * docs/design/part-states.txt:
378           Tell that devices should be closed in PAUSED -> READY.
379
380         * docs/manual/README:
381           Document how tests in the manual are handled.
382
383         * docs/manuals.mak:
384           Typo in comment.
385
386 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
387
388         * gst/gstbin.c: (bin_query_latency_fold):
389         Only care about latency min and max when the sink is actually a live
390         sink.
391
392 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
393
394         * docs/design/part-block.txt:
395         Fix typo.
396
397         * docs/design/part-element-transform.txt:
398         Add notes about why transform needs to know input/output sizes.
399         Add some issues that need to be solved.
400         Add some more use cases.
401
402         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
403         (gst_test_trans_class_init), (result_sink_chain),
404         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
405         (gst_test_trans_push), (gst_test_trans_pop):
406         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
407         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
408         (set_caps_1), (set_caps_ct1), (transform_ct1),
409         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
410         (gst_basetransform_suite):
411         Add suport for different pad templates and buffer-alloc.
412         Add more checks for caps and buffer-alloc.
413         Add checks for proxy buffer alloc.
414         Add unit test for copy transform.
415
416 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
417
418         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
419
420         * docs/manual/appendix-integration.xml:
421         * docs/manual/appendix-licensing.xml:
422         * docs/manual/basics-elements.xml:
423         * docs/manual/basics-helloworld.xml:
424         * docs/manual/basics-pads.xml:
425         * docs/manual/highlevel-components.xml:
426         * docs/manual/highlevel-xml.xml:
427         * docs/manual/intro-basics.xml:
428         * docs/manual/intro-preface.xml:
429           Typo and formatting fixes (#538594).
430
431 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
432
433         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
434         Fix some memory leaks and uses of object instances that we don't
435         actually own.
436
437 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
438
439         * plugins/elements/gstmultiqueue.c:
440         Add functionality to extra-size-buffers property.
441
442 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
443
444         * plugins/elements/gstmultiqueue.c:
445         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
446         activate the pads if they are added in STATE_NULL.
447
448 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
449
450         * docs/libs/gstreamer-libs-sections.txt:
451         Add new API to doc
452         * libs/gst/check/gstcheck.c:
453         * libs/gst/check/gstcheck.h:
454         API: gst_check_teardown_pad_by_name
455
456 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
457
458         * libs/gst/check/gstcheck.c:
459         * libs/gst/check/gstcheck.h:
460         Also setup request pads and allow setup pads by name (#537812)
461         API: gst_check_setup_src_pad_by_name
462         API: gst_check_setup_sink_pad_by_name
463
464 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
465
466         * tests/check/gst/gstbuffer.c:
467         * tests/check/pipelines/parse-launch.c:
468           Use HAVE_VALGRIND_H some more.
469
470 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
471
472         * scripts/cvs-update.sh:
473           Pass arguments to make.
474           Run autoregen.sh if Makefile is not there.
475
476 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
477
478         * configure.ac:
479         * gst/gstinfo.c:
480           Don't assume that <valgrind/valgrind.h> exists just because
481           the binary is there.
482
483 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
484
485         * tests/check/Makefile.am:
486         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
487         (gst_test_trans_class_init), (gst_test_trans_init),
488         (gst_test_trans_set_data), (result_sink_chain),
489         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
490         (gst_test_trans_pop):
491         * tests/check/libs/transform1.c: (GST_START_TEST),
492         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
493         Add some test basetransform element and the beginnings of various
494         unit tests for it.
495
496 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
497
498         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
499         Increase code readability.
500         Don't try to compare buffer offsets when ther are invalid.
501
502 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
503
504         * docs/design/Makefile.am:
505           Dist some more design docs.
506
507         * docs/random/moving-plugins:
508           Small addition: good plugins mustn't have functional code
509           within assertion macros.
510
511 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
512
513         * docs/design/draft-framestep.txt:
514         Some ideas about a framestep API
515
516         * docs/design/part-element-transform.txt:
517         Start design and use cases for basetransform in order to get it
518         fixed soon.
519
520 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
521
522         * gst/gsttaglist.h:
523           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
524           be in UTF-8 encoding.
525
526 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
527
528         * gst/gstbus.c:
529           Make it known that gst_bus_poll() is pure evil (fixes #538810).
530
531 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
532
533         * plugins/elements/gstcapsfilter.c:
534         * plugins/elements/gstfakesink.c:
535         * plugins/elements/gstfakesrc.c:
536         * plugins/elements/gstfdsink.c:
537         * plugins/elements/gstfdsrc.c:
538         * plugins/elements/gstfilesink.c:
539         * plugins/elements/gstfilesrc.c:
540         * plugins/elements/gstidentity.c:
541         * plugins/elements/gstmultiqueue.c:
542         * plugins/elements/gstqueue.c:
543         * plugins/elements/gsttee.c:
544         * plugins/elements/gsttypefindelement.c:
545           Remove short_description. Add basic docs for gsttypefindelement.
546           Simplify markup for fakesrc/fdsrc.
547
548 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
549
550         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
551         Added Since doc.
552
553 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
554
555         Patch by: joel larsson <tilljoel at gmail dot com>
556
557         * docs/plugins/gstreamer-plugins.args:
558         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
559         (gst_fd_src_init), (gst_fd_src_update_fd),
560         (gst_fd_src_set_property), (gst_fd_src_get_property),
561         (gst_fd_src_create):
562         * plugins/elements/gstfdsrc.h:
563         Add timeout property like udpsrc. Fixes #538628.
564         Add some more docs and example pipelines.
565
566 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
567
568         * docs/libs/gstreamer-libs-sections.txt:
569         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
570         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
571         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
572         (gst_base_sink_do_sync):
573         * libs/gst/base/gstbasesink.h:
574         * win32/common/libgstbase.def:
575         Add method to allow sinks to specify additional delay between the sync
576         times and the actual rendering of the data.
577         API: gst_base_sink_set_render_delay()
578         API: gst_base_sink_get_render_delay()
579
580 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
581
582         * configure.ac:
583         Bump version number back to dev -> 0.10.20.1
584
585 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
586
587         * docs/gst/gstreamer-sections.txt:
588         * gst/gsttaglist.c: (_gst_tag_initialize):
589         * gst/gsttaglist.h:
590         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
591         Fixes bug #538568.
592
593 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
594
595         * libs/gst/controller/gstcontroller.c:
596           Revert one change, that make ret value possible uninitialized.
597
598 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
599
600         * libs/gst/controller/gstcontroller.c:
601           Use freeze/thaw notify to sync notify emission a bit (its also more
602           efficient). Move debug output to LOG (is called a lot in a loop).
603           Always unset g_values if the have been initialized.
604
605 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
606
607         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
608         (gst_base_sink_wait_eos), (gst_base_sink_event):
609         If we have not seen a buffer before EOS, use the segment values to
610         report the current position instead of invalid positions.
611
612 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
613
614         * docs/plugins/tmpl/.cvsignore:
615         * tests/check/gst/.cvsignore:
616           Ignore more.
617
618 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
619
620         * libs/gst/controller/gstinterpolation.c:
621         * libs/gst/controller/gstinterpolationcontrolsource.c:
622         * tests/check/libs/controller.c:
623           Rewrite handling of default values. Fix overflow with unsigned types
624           in linear interpolation. Remove now obsolete _first_value() function.
625           Add more tests. Fixes #538201.
626
627 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
628
629         * libs/gst/base/gstbasetransform.c:
630         (gst_base_transform_class_init), (gst_base_transform_init),
631         (gst_base_transform_transform_caps),
632         (gst_base_transform_prepare_output_buffer):
633         Add debug info.
634         When a buffer is writable, its metadata is also writable so we don't
635         need to subbuffer (which then makes the buffer not-writable anymore).
636
637 === release 0.10.20 ===
638
639 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
640
641         * configure.ac:
642           releasing 0.10.20, "You Crazy Diamond"
643
644 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
645
646         * configure.ac:
647         0.10.19.3 pre-release
648
649 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
650
651         * configure.ac:
652         * gst/gstpreset.c:
653         Rename DATADIR to GST_DATADIR to avoid build problems
654         on win32. Patch By: David Schleef <ds@schleef.org>
655         Fixes: #536857
656
657 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
658
659         * configure.ac:
660         Explicitely link with -ldl if dladdr() is found there. Before it was
661         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
662         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
663
664 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
665
666         * gst/gsterror.c: (_gst_stream_errors_init):
667           Fix typo (spotted by Fabricio Godoy, #536723).
668
669 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
670
671         * configure.ac:
672         0.10.19.2 pre-release
673
674 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
675
676         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
677         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
678         Add some debug.
679         Make sure we don't generate invalid QoS messages.
680
681 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
682
683         * gst/gstevent.c: (gst_event_new_qos):
684         Add some assert and docs for invalid input to the qos function.
685
686 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
687
688         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
689         (gst_base_sink_get_position):
690         The reported position must always be smaller than the last seen
691         timestamps (or timestamp + duration for reverse).
692
693 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
694
695         Patch by: Rob Bradford <rob at robster dot org dot uk>
696
697         * gst/gstregistry.c: (gst_registry_scan_path_level):
698         Don't recurse into .debug directories as some distros install
699         the debugging symbols next to the plugins in .debug directories
700         and dlopen() crashes on them sometimes. Fixes bug #508070.
701
702         Add FIXME for 0.11 to not recurse into directories at all because
703         it's very inconsistent to the behaviour of other PATH environment
704         variables.
705
706 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
707
708         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
709         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
710         Fix position query range checks in reverse playback.
711
712 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
713
714         * gst/gstelement.c:
715         * gst/gstelement.h:
716         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
717         clear of the reference to the resulting pad must be released later
718         or not, resulting in possible leaks. Fixes bug #533865.
719
720 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
721
722         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
723
724         * gst/gstelementfactory.c:
725         Small doc fix. Fixes #535285.
726
727 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
728
729         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
730
731         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
732         (gst_base_src_get_range), (gst_base_src_pad_get_range),
733         (gst_base_src_loop), (gst_base_src_set_flushing),
734         (gst_base_src_change_state):
735         Make sending an EOS event to the basesrc non-blocking even if the
736         implementation does blocking waits in the create function. This is done
737         by unlocking the create function when EOS is sent.
738         Fixes #535218.
739
740 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
741
742         * tools/gst-inspect.c: (print_element_properties_info):
743         If possible print the element type of GValueArray properties.
744
745 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
746
747         * gst/gstiterator.c:
748         Remove an unused field from the private GstListIterator struct.
749
750 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
751
752         * libs/gst/controller/gstcontroller.c:
753           Add parameter guards.
754
755 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
756
757         * tests/check/gst/gstpipeline.c:
758           Revert test change and add comment why it should not work.
759
760 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
761
762         * tests/check/gst/gstpipeline.c:
763           Extending the test a little to verify that we also get the NULL state-
764           change message.
765
766 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
767
768         * gst/gstpreset.c: (gst_preset_default_get_meta),
769           (gst_preset_get_preset_names), (gst_preset_get_property_names),
770           (gst_preset_load_preset), (gst_preset_save_preset),
771           (gst_preset_rename_preset), (gst_preset_delete_preset),
772           (gst_preset_set_meta):
773           Add Since: markers to docs blurbs.
774
775         * win32/common/libgstreamer.def:
776           Add recently-added API.
777
778 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
779
780         Patch by: Stefan Kost  <ensonic@users.sf.net>
781
782         * configure.ac:
783         Add DATADIR for storing presets.
784
785         * docs/gst/gstreamer-docs.sgml:
786         * docs/gst/gstreamer-sections.txt:
787         * docs/gst/gstreamer.types.in:
788         Add GstPreset to docs.
789
790         * gst/Makefile.am:
791         * gst/gst.h:
792         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
793         (preset_open_and_parse_header), (preset_parse_version),
794         (preset_merge), (preset_get_keyfile),
795         (gst_preset_default_get_preset_names),
796         (gst_preset_default_get_property_names),
797         (gst_preset_default_load_preset),
798         (gst_preset_default_save_presets_file),
799         (gst_preset_default_save_preset),
800         (gst_preset_default_rename_preset),
801         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
802         (gst_preset_default_get_meta), (gst_preset_default_randomize),
803         (gst_preset_default_reset), (gst_preset_get_preset_names),
804         (gst_preset_get_property_names), (gst_preset_load_preset),
805         (gst_preset_save_preset), (gst_preset_rename_preset),
806         (gst_preset_delete_preset), (gst_preset_set_meta),
807         (gst_preset_get_meta), (gst_preset_class_init),
808         (gst_preset_base_init), (gst_preset_get_type):
809         * gst/gstpreset.h:
810         Add GstPreset to core. Fixes #396779
811
812         * tests/check/Makefile.am:
813         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
814         (gst_preset_test_set_property), (gst_preset_test_class_init),
815         (gst_preset_test_base_init), (gst_preset_test_get_type),
816         (gst_preset_test_plugin_init), (GST_START_TEST),
817         (remove_preset_file), (test_setup), (test_teardown),
818         (gst_preset_suite):
819         Add GstPreset unit tests.
820
821 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
822
823         * gst/gstpad.c: (gst_pad_event_default_dispatch):
824         The default event function on a sinkpad should return TRUE when
825         there are no internal links but should collect the return values from
826         the internal links otherwise.
827
828 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
829
830         * plugins/elements/gsttypefindelement.c:
831         (gst_type_find_element_src_event),
832         (gst_type_find_element_handle_event):
833         Use faster and safer _pad_push_event().
834
835 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
836
837         * docs/gst/gstreamer-sections.txt:
838         * gst/gstutils.c: (element_find_unlinked_pad),
839           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
840         * gst/gstutils.h:
841           API: add gst_bin_find_unlinked_pad()
842           API: deprecate gst_bin_find_unconnected_pad() (#401456)
843
844 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
845
846         * gst/gstclock.c:
847         * gst/gstclock.h:
848         * gst/gsttask.c:
849         * gst/gsttask.h:
850         Fixed a bunch of typos.
851
852 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
853
854         * gst/gstpad.h:
855         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
856           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
857           (gst_parse_bin_from_description_full):
858         * gst/gstutils.h:
859           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
860
861 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
862
863         * docs/pwg/advanced-tagging.xml:
864           Small docs update, can't be bothered to rewrite the nonsensical
865           examples right now.
866
867 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
868
869         * gst/gstevent.h:
870           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
871
872 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
873
874         * gst/parse/grammar.y:
875           Remove unneeded casts.
876
877 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
878
879         * gst/parse/grammar.y:
880         * tests/check/pipelines/parse-launch.c:
881           Get all missing elements from a parse launch string if possible
882           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
883
884 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
885
886         * tests/check/Makefile.am:
887         * tests/check/pipelines/parse-launch.c:
888           Add some unit tests for the new gst_parse_launch*_full() API.
889           (Exposes a previously-existing memory leak in the error code
890           path, so adding to VALGRIND_TO_FIX for now).
891
892 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
893
894         * docs/gst/gstreamer-sections.txt:
895         * gst/gst.c: (init_post):
896         * gst/gst_private.h: (_GstParseContext):
897         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
898           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
899           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
900           (gst_parse_launch_full):
901         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
902           (GstParseFlags), (GstParseContext):
903         * gst/gstutils.c: (gst_parse_bin_from_description),
904           (gst_parse_bin_from_description_full):
905         * gst/gstutils.h:
906         * gst/parse/grammar.y:
907         * gst/parse/types.h:
908         * win32/common/libgstreamer.def:
909           Add new gst_parse_*_full API (#528178):
910           API: gst_parse_launch_full()
911           API: gst_parse_launchv_full()
912           API: gst_parse_bin_from_description_full()
913           API: gst_parse_context_new()
914           API: gst_parse_context_free()
915           API: gst_parse_context_get_missing_elements()
916
917 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
918
919         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
920
921         * docs/faq/gst-uninstalled:
922           Also support ffmpeg in gst-uninstalled.
923
924 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
925
926         * configure.ac:
927         After discussion on IRC use the binary registry as default
928         but allow to disable it with --disable-binary-registry.
929
930         * win32/common/libgstreamer.def:
931         Add the two new symbols for the binary registry.
932
933 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
934
935         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
936         * gst/gstutils.c: (gst_parse_bin_from_description):
937         * gst/parse/grammar.y: (graph):
938           More guards against bad input; typo fix; some minor clean-ups.
939
940 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
941
942         Patch by: Sjoerd Simons <sjoerd at luon dot net>
943
944         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
945         If nothing else can be used, use the last buffer's start time as
946         the segment's last stop. Fixes bug #534258.
947
948 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
949
950         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
951           Move size sanity check to the right place: downstream may return
952           a buffer with a smaller size if the buffer caps are different than
953           the requested ones, as may happen when doing reverse negotiation.
954
955 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
956
957         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
958         (gst_file_sink_render):
959         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
960         (gst_file_src_start):
961         Small cleanups. Add note adbout g_fopen() on windows and why we don't
962         use it yet.
963
964 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
965
966         * gst/gstpad.c: (gst_pad_load_and_link):
967         * gst/gstutils.c: (gst_element_link_pads),
968         (gst_element_unlink_pads):
969         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
970         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
971         (gst_check_teardown_sink_pad),
972         (gst_check_element_push_buffer_list):
973         * tests/check/elements/fakesink.c: (GST_START_TEST):
974         * tests/check/elements/filesink.c:
975         * tests/check/elements/filesrc.c: (GST_START_TEST):
976         * tests/check/elements/multiqueue.c: (setup_multiqueue),
977         (mq_sinkpad_to_srcpad):
978         * tests/check/elements/tee.c: (GST_START_TEST):
979         * tests/check/generic/sinks.c: (GST_START_TEST):
980         * tests/check/gst/gstbin.c: (GST_START_TEST):
981         * tests/check/gst/gstevent.c: (GST_START_TEST):
982         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
983         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
984         * tests/check/gst/gstquery.c: (GST_START_TEST):
985         * tests/check/gst/gstutils.c: (GST_START_TEST):
986         * tests/check/libs/basesrc.c: (GST_START_TEST):
987         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
988         (gst_parse_test_element_change_state):
989         Don't use gst_element_get_pad().
990
991 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
992
993         * docs/Makefile.am:
994         Fix installing plugin documentation when gtk-doc is disabled.
995
996 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
997
998         * docs/manual/advanced-autoplugging.xml:
999         * docs/manual/basics-helloworld.xml:
1000         * docs/manual/basics-pads.xml:
1001         * docs/manual/highlevel-components.xml:
1002         Avoid using a bad function in the example code.
1003
1004 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1005
1006         * gst/gstclock.c: (gst_clock_set_calibration):
1007         Fix debug of the new clock rate.
1008
1009 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1010
1011         * win32/common/libgstbase.def:
1012         Add gst_base_sink_wait_clock() to the exported symbols.
1013
1014 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
1015
1016         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
1017
1018         * libs/gst/base/gstbasetransform.c:
1019         (gst_base_transform_sink_event):
1020         Unref events that the GstBaseTransform::event vfunc didn't want to
1021         have forwarded by the base class. Closes a leak in identity.
1022         Fixes bug #446763.
1023
1024 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1025
1026         * docs/libs/gstreamer-libs-sections.txt:
1027         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1028         * libs/gst/base/gstbasesink.h:
1029         Expose a method that was previously used internally to synchronize
1030         against the clock because it can be useful for subclasses too.
1031         API: GstBaseSink::gst_base_sink_wait_clock()
1032
1033 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1034
1035         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1036           Add sanity check to make sure we don't get smaller buffers
1037           than requested (and fallback to normal buffer alloc if we do).
1038
1039 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1040
1041         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1042         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1043         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1044         Refactor adjusting the running_time with latency and offset into a
1045         separate method.
1046         When doing clipping, we still want to use the subclass get_times method,
1047         just in case the DURATION or TIMESTAMP are not set.
1048
1049 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1050
1051         * docs/gst/gstreamer-sections.txt:
1052         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1053         * gst/gsttypefind.h:
1054         * win32/common/libgstreamer.def:
1055           API: add gst_type_find_suggest_simple(), #533740.
1056
1057 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1058
1059         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1060           Use right error code when typefinding fails, so we can use
1061           the default (translated) error messages.
1062
1063 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1064
1065         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1066         (gst_base_src_start):
1067         When the subclass did not set caps on outgoing buffers, configure the
1068         caps we negotiated on the source pad.
1069         When the typefind helper does not find caps, error out properly instead
1070         of doing things with NULL caps.
1071
1072 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1073
1074         * gst/gsttypefind.h:
1075           Tabs to spaces, oh yes!
1076
1077 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1078
1079         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1080           Add David's and Benjamin's tests for array intersection to the
1081           unit test suite (#147931).
1082
1083 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1084
1085         * gst/gstevent.c:
1086           Document that gst_event_new_tag() and gst_event_new_navigation()
1087           take ownership of the taglist/structure passed to them. (#533635).
1088
1089 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
1090
1091         * docs/Makefile.am:
1092         Don't descend into the plugins dir if plugin docs building
1093         is disabled.
1094
1095         * docs/README:
1096         Add a note about the new type:GTypeName syntax for the plugin
1097         documentation .types file.
1098
1099 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1100
1101         * gst/gstmessage.c: (gst_message_new_error),
1102         (gst_message_new_warning), (gst_message_new_info):
1103         * gst/gstmessage.h:
1104         Mark the debug string parameters as const. Fixes bug #533490.
1105
1106 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
1107
1108         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1109         Sort buffer cache list by end offsets. This makes sure that we don't
1110         stop to search for a cached buffer that contains the requested data
1111         too early.
1112         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1113         more efficient. Fixes bug #459862.
1114
1115 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
1116
1117         * gst/gstinfo.c:
1118           Explain why we copy the list.
1119
1120         * gst/gstpipeline.c:
1121           Improve docs.
1122
1123         * gst/gstutils.c:
1124           Add one debug-log statement to help tracing probelms with linking pads.
1125
1126 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
1127
1128         * tests/check/gst/gstinfo.c:
1129         Add a test for removing the default log handler. Seems to fail under
1130         windows.
1131
1132 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1133
1134         * gst/gstpad.c: (gst_pad_peer_accept_caps):
1135         Release pad lock before calling out to avoid a possible deadlock.
1136
1137 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1138
1139         * gst/parse/grammar.y:
1140         Remove unneeded value unset.
1141
1142         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1143         Add unit test for de/serialization of caps.
1144
1145 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1146
1147         * plugins/elements/gstfakesink.c:
1148         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1149         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1150         (gst_fake_src_class_init):
1151         Use custom marshalers that take GstMiniObject as first parameter.
1152         Using OBJECT as parameter while a GstMiniObject is given will lead
1153         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1154
1155 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1156
1157         * plugins/elements/gsttypefindelement.c:
1158         (gst_type_find_element_handle_event),
1159         (gst_type_find_element_send_cached_events),
1160         (gst_type_find_element_change_state):
1161         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1162         immediately.
1163
1164 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1165
1166         * plugins/elements/gsttypefindelement.c:
1167         (gst_type_find_handle_src_query), (stop_typefinding),
1168         (gst_type_find_element_handle_event),
1169         (gst_type_find_element_send_cached_events),
1170         (gst_type_find_element_change_state):
1171         Forward FLUSH_START events immediately and clean up instead of
1172         caching them.
1173
1174 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1175
1176         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1177
1178         * libs/gst/base/gstbasetransform.c:
1179         (gst_base_transform_buffer_alloc):
1180         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1181         fall back to default negotiation in the chain function if the caps
1182         are different from what was requested. Fixes bug #526768.
1183
1184 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1185
1186         * gst/gstsegment.c:
1187         * tests/check/gst/gstsegment.c:
1188           No, let's not use g_slice_{dup|copy} here, since they only exist
1189           since GLib 2.14 and we still depend only on >= 2.12. Also add
1190           unit test for gst_segment_copy().
1191
1192 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1193
1194         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1195           Try to fix 'dereferencing type-punned pointer will break strict
1196           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1197           changed the default GType typedef from gulong to gsize at some point,
1198           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1199           g_once_* functions all take a gsize * though, so work around the type
1200           mismatch for C++ by doing everything in gsize and casting to GType
1201           later.
1202
1203 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
1204
1205         * plugins/elements/gstmultiqueue.c:
1206         Add documentation for the signals to push our core plugin docs
1207         coverage back up to 100%.
1208
1209 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1210
1211         * gst/gstinfo.h (GST_FUNCTION):
1212           Reverted GST_FUNCTION to the old version as we don't want the
1213           full signature in C++ code. Also added support for MSVC.
1214
1215 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1216
1217         * gst/gstutils.h:
1218         Intern the type name string, similar to what G_DEFINE_TYPE does.
1219
1220 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1221
1222         * gst/gstutils.h:
1223         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1224
1225 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1226
1227         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1228
1229         * libs/gst/base/gstbasetransform.c:
1230         (gst_base_transform_buffer_alloc):
1231         Don't passthrough buffer allocation too easily if the caps change.
1232         This breaks when working in passthrough mode and upstream changes
1233         it's caps. Fixes bug #526768.
1234
1235 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1236
1237         * gst/gstinfo.c (gst_debug_log_valist):
1238           Improved the __FILE__ part of debug output for MSVC.
1239
1240 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1241
1242         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1243           Declaration after statement fix for compilers like MSVC.
1244
1245 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1246
1247         * win32/common/config.h.in:
1248           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1249           use the real thing than having "???" unconditionally.
1250
1251 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1252
1253         * gst/gstinfo.h (GST_FUNCTION):
1254           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1255
1256 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1257
1258         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1259         Small code cleanup.
1260
1261         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1262         (gst_base_sink_set_flushing):
1263         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1264         Fix some comments.
1265
1266 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1267
1268         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1269         (gst_fake_src_init), (gst_fake_src_set_property),
1270         (gst_fake_src_get_property), (gst_fake_src_start):
1271         * plugins/elements/gstfakesrc.h:
1272         Added format property to control the format of the newsegment events.
1273         API: GstFakeSrc:format
1274
1275 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1276
1277         * win32/common/libgstreamer.def:
1278         Add gst_pad_has_name() to the exported symbols.
1279
1280 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1281
1282         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1283         * libs/gst/base/gstbasetransform.c:
1284         (gst_base_transform_prepare_output_buffer):
1285         Don't allow negative sizes when allocating new buffers.
1286         Fixes bug #461253.
1287
1288 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1289
1290         Patch by: Sjoerd Simons <sjoerd at luon net>
1291
1292         * gst/gstbus.c: (gst_bus_source_dispatch):
1293           Don't print a warning if the queue is empty when we try to pop
1294           here. That could happen if another thread or callback set the
1295           bus to flushing between the source's check/prepare and the
1296           dispatch being called (#531538).
1297
1298 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1299
1300         * plugins/elements/gstmultiqueue.c:
1301           Small docs fix.
1302         
1303 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1304
1305         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1306         Add unit test for deserializing uint64s and check some really large
1307         numbers in the int64 test.
1308
1309 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1310
1311         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1312         (print_interfaces), (print_element_properties_info),
1313         (print_signal_info):
1314         Use "%s" as format string instead of printing strings directly.
1315
1316 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1317
1318         * gst/gstclock.c: (gst_clock_set_calibration):
1319         Make some checks actually useful.
1320
1321         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1322         Remove some unused code. Unsigned integers tend to be >= 0.
1323
1324 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1325
1326         * gst/gstminiobject.c: (gst_value_get_mini_object):
1327           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1328           function was not in the unscheduled 0.10.19 release.
1329
1330 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1331
1332         * gst/gstregistry.c: (gst_registry_scan_path_level):
1333           Only print one log message per non-plugin file.
1334
1335 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1336
1337         * gst/gstinfo.c: (gst_debug_log_default):
1338           Fix alignment of debug log columns on 64-bit.
1339
1340 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1341
1342         * docs/libs/Makefile.am:
1343         * docs/libs/gstreamer-libs-sections.txt:
1344           Ignore private controller headers for docs.
1345
1346 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1347
1348         * libs/gst/controller/gstcontrollerprivate.h:
1349         * libs/gst/controller/gsthelper.c:
1350         * libs/gst/controller/gstinterpolation.c:
1351         * libs/gst/controller/gstinterpolationcontrolsource.c:
1352         (gst_interpolation_control_source_set_interpolation_mode):
1353         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1354         * libs/gst/controller/lib.c:
1355         Move some private declarations into private headers.
1356
1357 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1358
1359         * gst/gstdebugutils.c: (debug_dump_element_pad):
1360         Remove some code that is unused after Stefan's refactoring and uses
1361         uninitialized variables now, resulting in a compiler warning.
1362
1363 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1364
1365         * gst/gstregistry.c: (gst_registry_scan_path_level):
1366           Run g_str_has_suffix() only on the file name, not the
1367           entire file path.
1368
1369 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1370
1371         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1372           Since we're not called only from the chain function any longer,
1373           we can't assume that there's always data in the queue, so move
1374           the is_full check to the beginning of the loop (otherwise we'd
1375           hit the assert when changing the limit properties while the
1376           queue is empty or not running yet).
1377           Also, only set a discont if items were actually removed from
1378           the queue.
1379
1380         * tests/check/elements/queue.c: (test_leaky_downstream):
1381           Test case for the above.
1382
1383 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1384
1385         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1386
1387         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1388         (gst_queue_chain), (queue_capacity_change),
1389         (gst_queue_set_property):
1390         When changing thr max capacity of a leaky queue, immediatly drop buffers
1391         instead of waiting for a push on the sinkpad. Fixes #530637.
1392
1393 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1394
1395         * gst/gstdebugutils.c:
1396           Refactor code and fix handling of ghostpads and their proxypads.
1397
1398 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1399
1400         * docs/gst/gstreamer-sections.txt:
1401         * gst/gstevent.c: (gst_event_has_name):
1402         * gst/gstevent.h:
1403         * tests/check/gst/gstevent.c: (GST_START_TEST):
1404         Add method to conveniently check the name of a custom event with
1405         gst_event_has_name().
1406         Reformat the event docs so that related methods are put together instead
1407         of the default alphabetical sort.
1408         Update unit test with new method.
1409         API: GstEvent::gst_event_has_name()
1410
1411 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1412
1413         * libs/gst/check/Makefile.am:
1414           Don't add an explicit link to libgstreamer-0.10.la; it's already
1415           included in GST_OBJ_LIBS.
1416
1417 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1418
1419         * gst/gst.c:
1420         Register GstClock type from a type-safe context. Fixes bug #530317.
1421
1422 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1423
1424         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1425         * tools/gst-run.c:
1426           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1427
1428 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1429
1430         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1431         (gst_bin_dispose):
1432         Use the GLib stuff to create a private structure.
1433         Add some locking around some dispose methods to make them a little
1434         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1435
1436 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1437
1438         * libs/gst/base/gstbasesink.h:
1439         * libs/gst/base/gstbasesrc.h:
1440         * libs/gst/base/gstbasetransform.h:
1441         * libs/gst/base/gstcollectpads.h:
1442           Fix doc typos and unify caps a bit.
1443
1444 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1445
1446         * tools/gst-launch.1.in:
1447           Forgot to also add the envvar docs here.
1448
1449 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1450
1451         * gst/gst.c: (init_post), (gst_deinit):
1452         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1453           (test_concurrent_create), (gst_pipeline_suite):
1454           Ref some more classes in gst_init() to work around thread-safety
1455           issues in pre-2.16 GLibs, and add basic unit test.
1456
1457 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1458
1459         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1460         (gst_base_sink_send_event):
1461         Rearrange the latency query code. We always want to do the upstream
1462         query, even if we are not live so that the upstream elements can get the
1463         latency results too. If we fail doing the query and we are live, we
1464         return TRUE afterwards.
1465
1466 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1467
1468         patch by: Jason Zhao <e3423c@motorola.com>
1469
1470         * docs/gst/running.xml:
1471         * gst/gst.c:
1472           Enable/disable scan_and_update_registry() based on commandline switch
1473           or environment variable. Fixes #520468.
1474           
1475         * ChangeLog:
1476           Fix typo in my previous commit.
1477
1478 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1479
1480         * gst/gstregistrybinary.c:
1481           Add a warning if we hit unhandled factories when saving.
1482           More debug logging detail, but move to LOG category.
1483
1484 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1485
1486         * gst/gstregistry.c:
1487           Tell the *truth* when improving the documentation.
1488
1489 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1490
1491         * gst/gstelementfactory.c: (gst_element_factory_make):
1492         Unref the factory after it was used the last time, not before.
1493
1494         * gst/gstindexfactory.c: (gst_index_factory_make):
1495         Improve debugging a bit and don't leak a ref to the index factory with
1496         each call.
1497
1498 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1499
1500         * gst/gstregistry.c:
1501           Improve the documentation.
1502
1503 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1504
1505         * gst/gstsegment.c:
1506           The glib macro seems to be borked. Use g_slice_copy directly and cast
1507           in the hope that this fixes the warning on 64bit.
1508
1509 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1510
1511         * gst/gstsegment.c:
1512           Document the new function. Use g_slice_dup() (no need for
1513           gst_segment_init()).    
1514
1515 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1516
1517         * docs/gst/gstreamer-sections.txt:
1518           Move GParamSepc macros to standart section.
1519   
1520         * gst/gstbin.c:
1521           Dn't document _get_type - its in private section in docs anyway and
1522           this doc-blob was incomplete.
1523
1524         * gst/gstclock.h:
1525           Fix wrong symbol names in docs.
1526
1527         * gst/gstmacros.h:
1528           Add once doc sentence.
1529
1530         * tests/check/gst/.cvsignore:
1531           Ignore more.
1532
1533 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1534
1535         * docs/gst/Makefile.am:
1536           And remove those libs here.
1537
1538 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1539
1540         * docs/libs/Makefile.am:
1541           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1542
1543 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1544
1545         Patch by: Olivier Crete <tester at tester dot ca>
1546
1547         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1548         Add the min-threshold to the min latency if possible. Fixes #529148.
1549
1550 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1551
1552         * docs/gst/gstreamer.types.in:
1553           Stupid editor, I removed that line as it should go in yet.
1554
1555 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1556
1557         * docs/gst/gstreamer.types.in:
1558         * docs/libs/gstreamer-libs.types:
1559           Remove library types fro core docs and have them in libs docs.
1560           Reformat and cleanup. Add comment for miniobject types.
1561
1562 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1563
1564         * gst/gsturi.c: (gst_uri_get_protocol):
1565           Fix leak: g_strdown operates on the string in place, while
1566           g_ascii_strdown() returns a newly-allocated string.
1567
1568 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1569
1570         * tools/gst-inspect.c: (print_uri_handler_info),
1571         (print_element_info):
1572         Print the URI protocols and the URI type supported by the element.
1573
1574 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1575
1576         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1577         Use g_value_take_string() instead of the deprecated
1578         g_value_set_string_take_ownership().
1579
1580 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1581
1582         * gst/gstregistrybinary.c: (_gst_crc32):
1583         Return the old CRC instead of 0 if we give a NULL buffer
1584         or a buffer with a length of 0.
1585
1586 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1587
1588         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1589         (gst_uri_get_protocol), (gst_uri_has_protocol),
1590         (gst_uri_construct), (gst_uri_handler_set_uri):
1591         A valid URI scheme can also include '+', '-' and '.' additional
1592         to alphanumeric characters as per RFC 3986 Section 3.1.
1593
1594         Handle URI schemes case insensitive in all places and convert
1595         to lower-case when constructing an URI or setting an URI with
1596         the GstURIHandler interface. Fixes bug #528868.
1597         All elements can still assume (as before) that they will
1598         get passed URIs with a lower-case URI scheme by the GstURIHandler
1599         interface.
1600
1601 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1602
1603         * gst/gstcaps.c: (gst_static_caps_get):
1604         * gst/gstclock.c: (gst_clock_entry_new):
1605           Don't use g_atomic_set_int where it's not needed.
1606
1607 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1608
1609         * gst/gstvalue.c: (gst_value_deserialize_caps):
1610         * gst/parse/grammar.y:
1611         Fix 2 caps leaks.
1612
1613 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1614
1615         * gst/gstutils.c: (gst_atomic_int_set):
1616         Use g_atomic_int_set() here too instead of assignment +
1617         g_atomic_int_get().
1618
1619 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1620         
1621         * gst/gstutils.c:
1622         * gst/gstutils.h:
1623         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1624         now that we depend on new enough GLib.
1625
1626         * gst/gstcaps.c: (gst_static_caps_get):
1627         * gst/gstclock.c: (gst_clock_entry_new):
1628         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1629         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1630         (gst_debug_category_set_threshold):
1631         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1632         (gst_base_sink_set_qos_enabled):
1633         * libs/gst/net/gstnettimeprovider.c:
1634         (gst_net_time_provider_set_property):
1635         Use g_atomic_int_set() instead of gst_atomic_int_set().
1636
1637 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1638
1639         * gst/gstquery.c:
1640           Also use G_GINT64_CONSTANT for the queries.
1641
1642 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1643
1644         * gst/gstmessage.c:
1645           Use G_GINT64_CONSTANT in varargs function.
1646
1647 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1648
1649         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1650         Initialize the registry magic with zeroes.
1651
1652 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1653
1654         * gst/gstregistrybinary.c: (_gst_crc32),
1655         (gst_registry_binary_write),
1656         (gst_registry_binary_initialize_magic),
1657         (gst_registry_binary_write_cache),
1658         (gst_registry_binary_check_magic),
1659         (gst_registry_binary_read_cache):
1660         * gst/gstregistrybinary.h:
1661         Add crc32 checksum to the binary registry file and check this before
1662         accepting a registry file.
1663
1664         Also free the data list when writing to the registry file fails.
1665
1666 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1667
1668         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1669         (gst_registry_binary_load_feature),
1670         (gst_registry_binary_load_plugin):
1671         If an element supports the Uri interface, returns a valid pointer
1672         to the supported URI protocols but this pointer contains nothing
1673         don't try to save that as it will corrupt the registry.
1674
1675         Don't unref the plugin if we added it to the registry already but
1676         fail to load a feature as gst_registry_add_plugin() takes ownership
1677         of the plugin.
1678
1679         Improve debugging a bit.
1680
1681 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1682
1683         * gst/gsttaglist.h:
1684           Clarify some tag item docs after discussion on irc.
1685
1686 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1687
1688         * docs/gst/gstreamer-docs.sgml:
1689           Remove commented out plugins (they have their own docs). Update
1690           comments.
1691
1692 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1693
1694         * docs/gst/gstreamer-docs.sgml:
1695         * docs/gst/gstreamer-sections.txt:
1696         * gst/gstparamspecs.c:
1697         * gst/gstparamspecs.h:
1698           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1699           docs to own section.
1700
1701         * gst/gstvalue.c:
1702           This now only documents GValue.
1703           
1704         * docs/libs/gstreamer-libs-sections.txt:
1705         * libs/gst/controller/gstcontroller.h:
1706           Remove GST_PARAM_CONTROLLABLE.
1707
1708 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1709
1710         * docs/README:
1711           Correct file path. Tell about how to use -overrides.txt.
1712         * docs/design/draft-tagreading.txt:
1713           Small design update.
1714
1715 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1716
1717         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1718         (gst_registry_binary_load_plugin):
1719         Fix a typo in a debug message and revert change from yesterday as
1720         gst_registry_add_plugin() will only fail if something is really wrong
1721         already and we can't survive it anyway.
1722
1723 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1724
1725         * gst/gst.c: (init_post), (gst_deinit):
1726           Pre-register GstGError GType from a thread-safe context
1727           (fixes #527967); unref enum type classes in deinit.
1728
1729 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1730
1731         Patch by: Rene Stadler <mail at renestadler de>
1732
1733         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1734           Merging an empty list with another list in KEEP_ALL mode should
1735           yield an empty list as result and not the second list (#512578).
1736
1737         * tests/check/gst/gsttagsetter.c:
1738           Add unit test for tag merge modes and the aforementioned bug.
1739
1740 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1741
1742         Patch by: Rene Stadler <mail at renestadler de>
1743
1744         * gst/gsttaglist.h:
1745           Fix description to match the order in the table (#512577).
1746   
1747 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1748
1749         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1750
1751         * libs/gst/net/gstnettimepacket.h:
1752         * docs/libs/gstreamer-libs-sections.txt:
1753           Define socklen_t as int if it's not defined yet. Fixes compilation
1754           with MSVC6 and other versions where socklen_t is not defined in
1755           the windows headers (#518022).
1756
1757 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1758
1759         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1760         If gst_registry_add_plugin() fails our reference to the plugin is
1761         invalid so don't try to use it anymore and instead error out.
1762
1763 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1764
1765         * tools/gst-xmlinspect.c: (print_element_info), (main):
1766           De-cruft a bit. If no argument is specified, print all elements in
1767           XML syntax rather than a freestyle list of elements like gst-inspect.
1768           Also, don't print XML header chunk unless we actually have something
1769           to print (ie. don't print it before an error message); print error
1770           message to stderr not stdout. Remove support for printing plugin
1771           info (it would just output something freestyle along the lines of
1772           gst-inspect so far), which fixes #514507. Also add license header.
1773
1774 2008-04-11  Julien Moutte  <julien@fluendo.com>
1775
1776         Mac OS X love...
1777         * configure.ac: Merge platform specific defines, introduce a new
1778         define on OS X to remember that forking when updating registry is
1779         unsafe.
1780         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1781         module.
1782         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1783         is defined.
1784         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1785         condition that leads to absolutely no plugins being registered on
1786         OS X.
1787
1788 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1789
1790         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1791
1792         * gst/gstutils.c: (gst_pad_add_data_probe),
1793           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1794           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1795           (gst_pad_add_buffer_probe_full):
1796         * gst/gstutils.h:
1797         * docs/gst/gstreamer-sections.txt:
1798         * win32/common/libgstreamer.def:
1799           Add gst_pad_add_*_probe_full() functions with a notify callback that
1800           lets the caller free the data it passes to the probe functions. This
1801           is useful for bindings such as gst-python or gstreamermm (#526814).
1802           API: gst_pad_add_data_probe_full
1803           API: gst_pad_add_buffer_probe_full
1804           API: gst_pad_add_event_probe_full
1805
1806         * tests/check/gst/gstutils.c:
1807           Add minimal unit test to make sure freeing the data actually works
1808           as expected.
1809
1810         * tests/benchmarks/.cvsignore:
1811           Random cvsignore addendum.
1812
1813 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1814
1815         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1816           (GST_DEBUG_BIN_TO_DOT_FILE):
1817           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1818           to it in the docs (since these are macros the types of the arguments
1819           won't be shown in the docs otherwise).
1820
1821 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1822
1823         * gst/gstpad.c:
1824           Do not abort on out of memory for pad_alloc_buffer.
1825
1826 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1827
1828         * libs/gst/check/gstcheck.c:
1829           Remove blank line between symbol name ad parameters to fix gtkdoc
1830           warning.
1831
1832 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1833
1834         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1835
1836         * docs/gst/gstreamer-sections.txt:
1837         * gst/gstsegment.c:
1838         * gst/gstsegment.h:
1839         * win32/common/libgstreamer.def:
1840           Expose gst_segment_copy() to make things easier for the c++ bindings.
1841           Fixes #518932.
1842           API: gst_segment_copy()
1843
1844 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1845
1846         * gst/gst.c: (gst_init_get_option_group), (init_post):
1847           Fix const position; ref GType classes for enum types to work
1848           around thread-safety issues in GLib versions < 2.16.
1849
1850 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1851
1852         * docs/design/part-buffering.txt:
1853         Fix some typos and set the estimated total for push mode to -1.
1854
1855         * gst/gstquery.c: (gst_query_new_buffering):
1856         Set buffering-left to 0 as we're not buffering by default.
1857
1858         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1859         Implement BUFFERING query.
1860
1861 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1862
1863         Based on patch by: Milosz Derezynski <internalerror gmail com>
1864
1865         * gst/gsterror.c: (_gst_stream_errors_init):
1866         * gst/gsterror.h:
1867           Add two new error codes for encrypted content. Fixes #524659.
1868           API: GST_STREAM_ERROR_DECRYPT
1869           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1870
1871 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1872
1873         * gst/gstquery.h:
1874           Fix typo.
1875
1876         * win32/common/libgstreamer.def:
1877           Add new functions.
1878
1879 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1880
1881         * plugins/elements/gstidentity.c: (gst_identity_event),
1882         (gst_identity_start):
1883         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1884         event after processing some data. Fixes bug #526042.
1885
1886 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1887
1888         * docs/gst/gstreamer-sections.txt:
1889         * gst/gstquery.c: (gst_query_parse_latency),
1890         (gst_query_set_buffering_percent),
1891         (gst_query_parse_buffering_percent),
1892         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1893         * gst/gstquery.h:
1894         Rename _avail -> _range
1895         API: gst_query_set_buffering_range
1896         API: gst_query_parse_buffering_range
1897
1898 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1899
1900         * docs/design/part-buffering.txt:
1901         * gst/gstquark.c:
1902         * gst/gstquark.h:
1903         * gst/gstquery.c: (gst_query_parse_latency),
1904         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1905         (gst_query_parse_buffering_percent):
1906         * gst/gstquery.h:
1907         Add busy field and quark for the buffering query so that the app can
1908         only use the query to see if buffering is in progress.
1909
1910 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1911
1912         * docs/gst/gstreamer-sections.txt:
1913         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1914         (gst_message_parse_buffering_stats):
1915         * gst/gstmessage.h:
1916         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1917         (gst_query_parse_latency), (gst_query_new_buffering),
1918         (gst_query_set_buffering_percent),
1919         (gst_query_parse_buffering_percent),
1920         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1921         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1922         * gst/gstquery.h:
1923         Reorder the message docs and headers for clarity.
1924         Add aditional buffering stats API for messages.
1925         Add buffering query.
1926         Convert some leftover queries to use GstQuark.
1927         API: gst_message_set_buffering_stats
1928         API: gst_message_parse_buffering_stats
1929         API: GST_QUERY_BUFFERING
1930         API: GstBufferingMode
1931         API: gst_query_new_buffering
1932         API: gst_query_set_buffering_percent
1933         API: gst_query_parse_buffering_percent
1934         API: gst_query_set_buffering_stats
1935         API: gst_query_parse_buffering_stats
1936
1937 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1938
1939         * gst/gstmessage.c: (gst_message_new_error),
1940         (gst_message_new_warning), (gst_message_new_info),
1941         (gst_message_new_buffering), (gst_message_new_state_changed),
1942         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1943         (gst_message_new_new_clock), (gst_message_new_segment_start),
1944         (gst_message_new_segment_done), (gst_message_new_duration),
1945         (gst_message_new_async_start), (gst_message_parse_buffering),
1946         (gst_message_parse_state_changed),
1947         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1948         (gst_message_parse_new_clock), (gst_message_parse_error),
1949         (gst_message_parse_warning), (gst_message_parse_info),
1950         (gst_message_parse_segment_start),
1951         (gst_message_parse_segment_done), (gst_message_parse_duration),
1952         (gst_message_parse_async_start):
1953         Use GstQuark for messages.
1954
1955 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1956
1957         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1958         * gst/gstquark.h:
1959         Add some more quarks needed for messages and queries.
1960
1961 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1962
1963         * docs/design/part-buffering.txt:
1964         Remove the "none" buffering mode, STREAM is a good default.
1965         Move estimated-time to the avail query, that's when it will be needed.
1966         Other small typo fixes and updates.
1967
1968 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1969
1970         * gst/gstindex.c: (gst_index_resolver_get_type):
1971           Don't put descriptions into the nick field of a GEnumValue: it's not
1972           meant for that and some language bindings rely on the nick field to
1973           construct constants and the like. Fixes #526705.
1974
1975 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1976
1977         * NEWS:
1978         * RELEASE:
1979         * gstreamer.doap:
1980           Merge other changes from 0.10.19 release branch.
1981
1982 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1983
1984         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1985
1986         * configure.ac:
1987         Actually build dlls when cross-compiling with mingw32.
1988         Fixes bug #526247.
1989
1990 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1991
1992         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1993
1994         * gst/gstpoll.c:
1995         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1996
1997 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1998
1999         * docs/design/draft-latency.txt:
2000         Fix typo.
2001
2002         * docs/design/part-buffering.txt:
2003         Update design docs with more buffering ideas.
2004
2005 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
2006
2007         * configure.ac:
2008           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2009
2010 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2011
2012         * configure.ac:
2013           Revert part that belongs to the preset patch.
2014
2015 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2016
2017         * configure.ac:
2018           Add qoutes to the define. Fixes # 525961.
2019
2020 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
2021
2022         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2023         (gst_file_index_load), (gst_file_index_add_id),
2024         (gst_file_index_get_assoc_entry):
2025         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2026         (gst_mem_index_free_id), (gst_mem_index_add_id),
2027         (gst_mem_index_index_format):
2028         Use GSlice when possible.
2029
2030 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
2031
2032         * libs/gst/controller/gstinterpolationcontrolsource.c:
2033         (gst_control_point_free),
2034         (gst_interpolation_control_source_set_internal):
2035         Use GSlice for allocating the control points.
2036
2037 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
2038
2039         * plugins/elements/gsttypefindelement.c:
2040         (gst_type_find_element_class_init),
2041         (gst_type_find_element_set_property),
2042         (gst_type_find_element_get_property),
2043         (gst_type_find_element_activate):
2044         * plugins/elements/gsttypefindelement.h:
2045         Cleanup properties.
2046         Fix pad leak when peer query fails.
2047         We can still typefind when the peer returns -1.
2048         Add property to force caps and bypass typefinding. This will be used in
2049         uridecodebin.
2050         API::force-caps
2051
2052 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2053
2054         * configure.ac:
2055         Require GLib 2.12.
2056
2057         * gst/glib-compat-private.h:
2058         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2059         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2060         Unconditionally use GSlice for allocation.
2061
2062         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2063         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2064         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2065         (gst_structure_free):
2066         Use GSlice for allocation.
2067
2068 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2069
2070         * gst/parse/Makefile.am:
2071         * gst/parse/grammar.tab.pre.c:
2072         * gst/parse/grammar.tab.pre.h:
2073         * gst/parse/lex._gst_parse_yy.pre.c:
2074         Require a new enough flex and bison and remove the parser hacks to use
2075         a pre-regenerated version.
2076
2077 2008-04-01  Julien Moutte  <julien@fluendo.com>
2078
2079         patch by: Jason Zhao <E3423C@motorola.com>
2080
2081         * configure.ac: Add a configure switch to disable option parsing
2082         in gst_init.
2083         Fixes #522882.
2084
2085 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2086
2087         * configure.ac:
2088         * gst/gstregistry.c:
2089           MacOS has plugins under .so or under .dylib. Add detection for MacOS
2090           and handle this case.
2091
2092         * gst/gst.c:
2093           Add a comment here describing, why we stat each plugin and not try to
2094           be smart.
2095
2096 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
2097
2098         * libs/gst/base/gstbasetransform.c:
2099         (gst_base_transform_prepare_output_buffer):
2100         Also unset the GAP flag on buffers if we're working inplace but
2101         the element is not GAP-aware.
2102
2103         Mark a comment as FIXME 0.11.
2104
2105 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2106
2107         * gst/gst.c:
2108           Fix type in log message and add one to ease seeing how long registry
2109           cache verification takes.
2110
2111         * gst/gstregistry.c:
2112           Only test plugin filenames against G_MODULE_SUFFIX.
2113
2114 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2115
2116         * gst/gstdebugutils.c:
2117           Improve handling ghost/proxy pads.
2118
2119 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
2120
2121         * docs/gst/gstreamer-sections.txt:
2122         * gst/gstpad.c:
2123         * gst/gstpad.h:
2124           Expose macro to docs and fix link to it.
2125
2126 2008-03-27  Michael Smith <msmith@fluendo.com>
2127
2128         * libs/gst/dataprotocol/dataprotocol.c:
2129         (gst_dp_packet_from_event_1_0):
2130           When calculating GDP body CRC, use the correct pointer. 
2131           Fixes part of #522401.
2132
2133 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2134
2135         Patch by: Mark Nauwelaerts <manauw at skynet be>
2136
2137         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2138         (gst_identity_init), (gst_identity_prepare_output_buffer):
2139         Identity is not always a passthrough element, it can modify the buffer
2140         timestamps when it has a datarate and operates in single-segment mode.
2141         We therefore make it an in_place filter with a custom buffer prepare
2142         function that conditionally makes the input buffer metadata writable
2143         when needed.  Fixes #523985.
2144
2145 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2146
2147         Patch by: Mark Nauwelaerts <manauw at skynet be>
2148
2149         * gst/gstclock.h:
2150         * libs/gst/base/gstbasesrc.h:
2151         * libs/gst/base/gstbasetransform.c:
2152         * libs/gst/check/gstcheck.c:
2153         Small documentation fixes. Fixes #523978.
2154
2155 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2156
2157         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2158         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2159         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2160
2161 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2162
2163         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2164         (single_queue_underrun_cb):
2165         When trying to make room in the queue, bump the max allowed buffers
2166         bigger than the current amount of buffers in the queue. this fixes some
2167         nasty deadlocks in multiqueue when dynamically changing the limits of
2168         the queue.
2169
2170 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2171
2172         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
2173
2174         * gst/gstcaps.c: (gst_caps_set_simple),
2175         (gst_caps_set_simple_valist), (gst_caps_intersect):
2176         * gst/gstcaps.h:
2177         Constify the field gchar * params in set_simple and friends.
2178         Fixes #522326.
2179
2180 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2181
2182         * gst/gstvalue.c: (gst_value_transform_object_string):
2183         Transform a GstObject to a more meaningfull string that includes the
2184         object type in addition to its name.
2185
2186 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
2187
2188         * ChangeLog:
2189           ChangeLog surgery to add bugnumber to commit.
2190
2191 2008-03-23  Rene Stadler  <mail@renestadler.de>
2192
2193         * libs/gst/base/gstbasetransform.c:
2194         (gst_base_transform_set_gap_aware): Fix confusing documentation.
2195
2196 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2197
2198         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2199         Rename constant everywhere and don't forget one occurence.
2200
2201 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2202
2203         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2204         Align memory to the pointer size even if the architecture allows
2205         unaligned memory access. Unaligned memory access usually comes with
2206         performance penality.
2207
2208 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2209
2210         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2211         (gst_registry_binary_check_magic),
2212         (gst_registry_binary_load_pad_template),
2213         (gst_registry_binary_load_feature),
2214         (gst_registry_binary_load_plugin):
2215         Align memory to the pointer size instead of always 32 bit. Fixes
2216         unaligned memory accesses on ia64 and friends.
2217
2218         * gst/gstregistrybinary.h:
2219         Bump binary registry format version for this as it changes the
2220         format on those architectures that don't have unaligned access
2221         and 64 bit pointers.
2222
2223 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2224
2225         * docs/pwg/advanced-dparams.xml:
2226         * docs/pwg/building-props.xml:
2227         * docs/pwg/other-source.xml:
2228         * gst/glib-compat.h:
2229         * gst/gstbin.c: (gst_bin_class_init):
2230         * gst/gstclock.c: (gst_clock_class_init):
2231         * gst/gstindex.c: (gst_index_class_init):
2232         * gst/gstobject.c: (gst_object_class_init):
2233         * gst/gstpad.c: (gst_pad_class_init):
2234         * gst/gstpipeline.c: (gst_pipeline_class_init):
2235         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2236         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2237         * libs/gst/base/gstbasetransform.c:
2238         (gst_base_transform_class_init):
2239         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2240         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2241         (_gst_check_fault_handler_sighandler),
2242         (_gst_check_fault_handler_setup), (gst_check_init):
2243         * libs/gst/controller/gstcontroller.c:
2244         (_gst_controller_class_init):
2245         * libs/gst/controller/gstlfocontrolsource.c:
2246         (gst_lfo_control_source_class_init):
2247         * libs/gst/net/gstnetclientclock.c:
2248         (gst_net_client_clock_class_init):
2249         * libs/gst/net/gstnettimeprovider.c:
2250         (gst_net_time_provider_class_init):
2251         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2252         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2253         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2254         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2255         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2256         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2257         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2258         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2259         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2260         * plugins/elements/gstqueue.c: (gst_queue_class_init):
2261         * plugins/elements/gsttee.c: (gst_tee_class_init):
2262         * plugins/elements/gsttypefindelement.c:
2263         (gst_type_find_element_class_init):
2264         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2265         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2266         use it everywhere for GParamSpecs that use static strings (i.e. all).
2267         This gives us less memory usage, fewer allocations and thus less
2268         memory defragmentation. Fixes bug #523806.
2269
2270 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2271
2272         * gst/gstminiobject.c: (gst_value_dup_mini_object),
2273         (gst_param_spec_mini_object):
2274         * gst/gstminiobject.h:
2275         * win32/common/libgstreamer.def:
2276         * docs/gst/gstreamer-sections.txt:
2277         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2278         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2279         GstParamSpecMiniObject into a public header for this.
2280
2281         This make GstMiniObject a bit more consistent with GObject and makes
2282         it possible to extend the param specs.
2283
2284         gst_value_dup_mini_object is mainly useful for set_property methods.
2285
2286         Fixes bug #523798.
2287
2288         * tools/gst-inspect.c: (print_element_properties_info):
2289         Print something useful for GstMiniObject properties and not just
2290         "unknown type".
2291
2292 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2293
2294         * docs/gst/gstreamer-sections.txt:
2295         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2296         (gst_registry_binary_check_magic):
2297         * gst/gstregistrybinary.h:
2298         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2299         and add it to the (private part) of the docs to fix the build.
2300
2301 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2302
2303         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2304         (gst_registry_binary_check_magic),
2305         (gst_registry_binary_read_cache):
2306         * gst/gstregistrybinary.h:
2307         Don't use GST_MAJORMINOR for the binary registry version. Instead
2308         hardcode a value that must be changed whenever the format changes
2309         in an incompatible way.
2310         Also don't GST_ERROR when there is a version mismatch, just
2311         regenerate the registry silently.
2312
2313 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2314
2315         * configure.ac:
2316         Back to development - 0.10.18.1
2317
2318 === release 0.10.18 ===
2319
2320 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2321
2322         * configure.ac:
2323           releasing 0.10.18, "So far away"
2324
2325 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2326
2327         * configure.ac:
2328         * win32/common/config.h:
2329         0.10.17.4 pre-release
2330
2331 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2332
2333         Patch by: Ole André Vadla Ravnås
2334             <ole dot andre dot ravnas at tandberg dot com>
2335
2336         * docs/gst/gstreamer-sections.txt:
2337         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2338         (gst_poll_update_winsock_event_mask),
2339         (gst_poll_prepare_winsock_active_sets),
2340         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2341         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2342         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2343         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2344         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2345         * gst/gstpoll.h:
2346         * win32/common/libgstreamer.def:
2347         Add new function gst_poll_fd_ignored() for improved Windows
2348         compatibility.
2349         Various minor fixes and cleanups. See #520808.
2350
2351 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2352
2353         * gst/gstindex.c: (gst_index_entry_free):
2354         * gst/gstindex.h:
2355           Don't free key strings which we don't own. Fixes crash in
2356           gst_index_entry_free() (#522741).
2357
2358         * tests/check/Makefile.am:
2359         * tests/check/gst/.cvsignore:
2360         * tests/check/gst/gstindex.c: (test_index_entries),
2361           (gst_index_suite), (gst_index):
2362           Add unit test for the above.
2363
2364 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2365
2366         * win32/common/libgstreamer.def:
2367         Remove symbols that were removed recently. Fixes bug #521740.
2368
2369 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2370
2371         * configure.ac:
2372         * win32/common/config.h:
2373         0.10.17.3 pre-release
2374
2375 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2376
2377         Patch by: Ole André Vadla Ravnås
2378             <ole dot andre dot ravnas at tandberg dot com>
2379
2380         * docs/gst/gstreamer-sections.txt:
2381         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2382         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2383         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2384         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2385         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2386         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2387         (gst_poll_fd_can_write), (gst_poll_wait),
2388         (gst_poll_set_controllable), (gst_poll_restart),
2389         (gst_poll_set_flushing):
2390         * gst/gstpoll.h:
2391         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2392         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2393         (gst_net_time_provider_new):
2394         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2395         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2396         * tests/benchmarks/gstpollstress.c: (main):
2397         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2398         Remove GstPollMode from the API, it does not make sense to let the
2399         application control this.
2400         Add support for Win32.
2401         Fix the testsuite. Fixes #520671.
2402
2403 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2404
2405         Patch by: Ole André Vadla Ravnås
2406             <ole dot andre dot ravnas at tandberg dot com>
2407
2408         * gst/gstregistrybinary.c:
2409         Include io.h for write() and close() when building with MSVC. Fixes
2410         bug #520877.
2411
2412 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2413
2414         * configure.ac:
2415         * gst/gst_private.h:
2416         * gst/gstconfig.h.in:
2417         * gst/gstregistry.h:
2418         * gst/gstregistrybinary.c:
2419         * win32/common/gstconfig.h:
2420           Move registry backend API to private headers where we can. Add
2421           fixme-0.11 comments for the others. Add stubs for the xml backend when
2422           using the binary to ensure they functions exists (they should not be
2423           used though). Fixes #520756.
2424
2425 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2426
2427         * configure.ac:
2428         * win32/common/config.h:
2429         0.10.17.2 prelease
2430
2431 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2432
2433         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2434         (gst_registry_binary_read_cache):
2435         * gst/gstregistryxml.c: (gst_registry_save):
2436         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2437         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2438         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2439         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2440         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2441         Fixes #520152
2442
2443 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2444
2445         * gst/gstminiobject.c:
2446         Import gst_private.h before any other header that might include other
2447         glib headers. This fixes the build on windows using native compilers.
2448
2449 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2450
2451         * win32/common/gstconfig.h:
2452           Add here too, just for completeness.
2453
2454 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2455
2456         * configure.ac:
2457         * gst/gstconfig.h.in:
2458         * gst/gstregistry.h:
2459           Fix broken use of config.h-defined preprocessor directive in a public
2460           header file. Add a corresponding define to gstconfig.h, since we can't
2461           really remove those function declarations from the header file now
2462           (or can we? and why are they there in the first place?).
2463
2464 2008-03-03  Andy Wingo  <wingo@pobox.com>
2465
2466         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2467         the new warning.
2468
2469         * gst/gststructure.c (gst_structure_from_string): Warn if
2470         structure_from_string didn't consume the whole string, but the
2471         caller did not provide an end pointer.
2472
2473 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2474
2475         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2476
2477         * gst/gstregistryxml.c: (read_string), (load_feature):
2478           Strings allocated by libxml2 should be freed with xmlFree(), not
2479           with g_free(). Fixes issues on windows in certain contexts (#519698).
2480
2481 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2482
2483         * gst/gstinterface.c: (gst_element_implements_interface):
2484           Don't crash if the element supports the interface queried, but does
2485           not implement GstImplementsInterface. Fixes #519584.
2486
2487         * tests/check/Makefile.am:
2488         * tests/check/gst/.cvsignore:
2489         * tests/check/gst/gstinterface.c:
2490           Add unit test for the above.
2491
2492 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2493
2494         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2495         Small doc update.
2496
2497 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2498
2499         * gst/gstsegment.c: (gst_segment_set_seek),
2500         (gst_segment_to_stream_time):
2501         Improve some comment.
2502         Update variables where it makes more sense.
2503
2504 2008-02-29  Rene Stadler  <mail@renestadler.de>
2505
2506         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2507         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2508         URIHandlers implemented using language bindings.
2509
2510 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2511
2512         * gst/gstelementfactory.h:
2513         * tests/check/elements/fakesink.c:
2514         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2515         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2516         * tests/check/elements/filesink.c: (setup_filesink):
2517         * tests/check/elements/filesrc.c: (setup_filesrc):
2518         * tests/check/elements/identity.c: (setup_identity):
2519         * tests/check/elements/tee.c:
2520         * tests/check/generic/sinks.c:
2521         * tests/check/generic/states.c: (setup), (teardown):
2522         * tests/check/gst/gst.c:
2523         * tests/check/gst/gstabi.c:
2524         * tests/check/gst/gstbin.c:
2525         * tests/check/gst/gstbus.c: (pull_messages):
2526         * tests/check/gst/gstcaps.c:
2527         * tests/check/gst/gstelement.c:
2528         * tests/check/gst/gstevent.c:
2529         * tests/check/gst/gstghostpad.c:
2530         * tests/check/gst/gstiterator.c:
2531         * tests/check/gst/gstmessage.c:
2532         * tests/check/gst/gstminiobject.c: (my_foo_init):
2533         * tests/check/gst/gstobject.c: (thread_name_object),
2534         (gst_object_suite):
2535         * tests/check/gst/gstpad.c:
2536         * tests/check/gst/gstplugin.c:
2537         * tests/check/gst/gstpoll.c:
2538         * tests/check/gst/gstquery.c:
2539         * tests/check/gst/gstsegment.c:
2540         * tests/check/gst/gststructure.c:
2541         * tests/check/gst/gstsystemclock.c:
2542         * tests/check/gst/gsttask.c:
2543         * tests/check/gst/gstutils.c:
2544         * tests/check/gst/gstvalue.c:
2545         * tests/check/gst/struct_hppa.h:
2546         * tests/check/gst/struct_i386.h:
2547         * tests/check/gst/struct_ppc32.h:
2548         * tests/check/gst/struct_ppc64.h:
2549         * tests/check/gst/struct_x86_64.h:
2550         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2551         * tests/check/libs/basesrc.c:
2552         * tests/check/libs/controller.c: (GST_START_TEST):
2553         * tests/check/libs/gdp.c:
2554         * tests/check/libs/gstnetclientclock.c:
2555         * tests/check/libs/gstnettimeprovider.c:
2556         * tests/check/libs/libsabi.c:
2557         * tests/check/libs/struct_hppa.h:
2558         * tests/check/libs/struct_i386.h:
2559         * tests/check/libs/struct_ppc32.h:
2560         * tests/check/libs/struct_ppc64.h:
2561         * tests/check/libs/struct_x86_64.h:
2562         * tests/check/pipelines/cleanup.c:
2563         * tests/check/pipelines/simple-launch-lines.c:
2564         * tests/check/pipelines/stress.c:
2565         And correct even more valid sparse warnings.
2566
2567         * win32/common/libgstreamer.def:
2568         Add gst_poll_fd_init to the list of symbols.
2569
2570 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2571
2572         * gst/gstconfig.h.in:
2573         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2574         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2575         (gst_check_log_critical_func), (gst_check_drop_buffers),
2576         (gst_check_element_push_buffer_list):
2577         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2578         (gst_controller_get_type):
2579         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2580         (gst_object_get_controller), (gst_object_get_control_source):
2581         * libs/gst/controller/gstinterpolationcontrolsource.c:
2582         (gst_interpolation_control_source_new):
2583         * libs/gst/controller/gstlfocontrolsource.c:
2584         (gst_lfo_control_source_new):
2585         * libs/gst/dataprotocol/dataprotocol.c:
2586         (gst_dp_event_from_packet_0_2):
2587         * plugins/elements/gstfdsrc.c:
2588         * plugins/elements/gstmultiqueue.c:
2589         * plugins/elements/gsttee.c:
2590         * plugins/elements/gsttypefindelement.c:
2591         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2592         (gst_file_index_add_association):
2593         * plugins/indexers/gstmemindex.c:
2594         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2595         * tests/check/elements/queue.c: (setup_queue):
2596         * tests/check/gst/gstpipeline.c:
2597         * tests/check/libs/collectpads.c: (setup), (teardown),
2598         (gst_collect_pads_suite):
2599         * tests/examples/adapter/adapter_test.c:
2600         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2601         * tests/examples/xml/createxml.c:
2602         * tests/examples/xml/runxml.c:
2603         * tools/gst-inspect.c:
2604         * tools/gst-run.c:
2605         Correct all relevant warnings found by the sparse semantic code
2606         analyzer. This include marking several symbols static, using
2607         NULL instead of 0 for pointers, not using variable sized arrays
2608         on the stack, moving variable declarations to the beginning of
2609         a block and using "foo (void)" instead of "foo ()" for declarations.
2610
2611 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2612
2613         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2614         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2615         Don't reset GstPollFDs, this is not necessary at all.
2616
2617         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2618         (delayed_restart), (delayed_control):
2619         Use GST_POLL_FD_INIT.
2620
2621 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2622
2623         * gst/gstpoll.c: (gst_poll_fd_init):
2624         * gst/gstpoll.h:
2625         Added Since tags.
2626
2627         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2628         Use some more init macros.
2629
2630 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2631
2632         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2633         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2634         Use init macros and functions.
2635
2636 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2637
2638         * docs/gst/gstreamer-sections.txt:
2639         * gst/gstpoll.c: (gst_poll_fd_init):
2640         * gst/gstpoll.h:
2641         Add INIT macro and _init method for initializing the GstPollFD.
2642
2643 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2644
2645         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2646         (gst_fd_sink_update_fd):
2647         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2648         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2649         (delayed_restart), (delayed_control):
2650         Initialize some uninitialized variables as spotted by valgrind.
2651
2652 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2653
2654         * tests/benchmarks/Makefile.am:
2655         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2656         (main):
2657         Add poll stress test.
2658
2659 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2660
2661         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2662
2663         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2664         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2665         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2666         * plugins/elements/gstfdsink.h:
2667         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2668         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2669         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2670         (gst_fd_src_uri_set_uri):
2671         * plugins/elements/gstfdsrc.h:
2672         Port to GstPoll. See #505417.
2673
2674 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2675
2676         * win32/common/libgstreamer.def:
2677         Add new gst_poll_ symbols to win32 defs.
2678
2679 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2680
2681         * docs/libs/gstreamer-libs-sections.txt:
2682         * libs/gst/net/gstnetclientclock.c:
2683         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2684         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2685         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2686         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2687         * libs/gst/net/gstnetclientclock.h:
2688         * libs/gst/net/gstnettimeprovider.c:
2689         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2690         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2691         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2692         (gst_net_time_provider_new):
2693         * libs/gst/net/gstnettimeprovider.h:
2694         Use a private stuct to not break ABI.
2695
2696 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2697
2698         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2699
2700         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2701         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2702         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2703         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2704         * libs/gst/net/gstnetclientclock.h:
2705         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2706         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2707         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2708         (gst_net_time_provider_new):
2709         * libs/gst/net/gstnettimeprovider.h:
2710         Massive code removal and cleanups because of GstPoll.
2711         Fixes #505417.
2712
2713 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2714
2715         * configure.ac:
2716         Add checks for poll, ppoll and pselect.
2717
2718         * docs/gst/gstreamer-docs.sgml:
2719         * docs/gst/gstreamer-sections.txt:
2720         Add docs for GstPoll.
2721
2722         * gst/Makefile.am:
2723         * gst/gst.h:
2724         * gst/gstpoll.c: (find_index), (selectable_fds),
2725         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2726         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2727         (gst_poll_set_mode), (gst_poll_get_mode),
2728         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2729         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2730         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2731         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2732         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2733         (gst_poll_fd_can_write), (gst_poll_wait),
2734         (gst_poll_set_controllable), (gst_poll_restart),
2735         (gst_poll_set_flushing):
2736         * gst/gstpoll.h:
2737         Add generic poll abstraction. We ideally don't want to have this in core
2738         here but in glib intead...
2739         This code will be used in various network elements and ultimately for
2740         the nanosecond precision monotonic clock (that's why it's here in core).
2741         It'll allow us to implement cancelable socket operations for windows too.
2742
2743         * tests/check/Makefile.am:
2744         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2745         (delayed_stop), (delayed_restart), (delayed_flush),
2746         (delayed_control), (gst_poll_suite):
2747         Add GstPoll unit test.
2748
2749 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2750
2751         * gst/gstfilter.c:
2752           Improve documentation of gst_filter_run(). Fixes #518627.
2753
2754 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2755
2756         * docs/README:
2757           Add a few lines about the new 'check-inspected-versions' target.
2758
2759 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2760
2761         * tests/check/gst/gstevent.c:
2762           Add qos to the event test. Rename tcase/tsuite; is not only about
2763           custom events.
2764
2765 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2766
2767         * plugins/elements/gstqueue.c:
2768           Ensure that buffer metadata is writeable, before modifying. Spotted by
2769           Mike.
2770
2771 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2772
2773         * plugins/elements/gstqueue.c:
2774         * plugins/elements/gstqueue.h:
2775           When dropping buffers in leaky modes, mark next buffers we sent as
2776           DISCONT.
2777
2778 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2779
2780         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2781           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2782
2783 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2784
2785         * plugins/elements/Makefile.am:
2786         * plugins/elements/gstbufferstore.c:
2787         * plugins/elements/gstbufferstore.h:
2788         * plugins/elements/gsttypefindelement.h:
2789           Remove GstBufferStore, no idea why we were still building it.
2790           It's not used anywhere and superseded by GstAdapter.
2791
2792         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2793           (gst_file_src_create_mmap):
2794         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2795           Printf format fixes for 64-bit integers.
2796
2797 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2798
2799         * configure.ac:
2800         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2801         We're not in 0.8 times anymore.
2802
2803 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2804
2805         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2806         (gst_check_element_push_buffer_list):
2807         * libs/gst/check/gstcheck.h:
2808         Make the declaration in the header for
2809         gst_check_element_push_buffer_list match the implementation.
2810
2811         Fix up spelling, grammar and wording of the documentation in a few
2812         places, and add the Since keyword to new API functions.
2813         Use g_list_delete_link instead of g_list_remove in
2814         gst_check_drop_buffers, since it's immeasurably more efficient.
2815
2816         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2817         Use new gst_check_drop_buffers function where appropriate.
2818
2819         * win32/common/libgstbase.def:
2820         * win32/common/libgstreamer.def:
2821         Add new symbols gst_collect_pads_take_buffer, 
2822         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2823         exports
2824
2825         Changelog surgery to add API keyword to new gst_check API.
2826
2827 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2828
2829         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2830         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2831         Update pre-generated flex files with flex 2.3.34.
2832
2833 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2834
2835         * gst/gstminiobject.c:
2836           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2837           friendly to subclasses and not require them to know all internals
2838           of their parent class.
2839
2840 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2841
2842         * docs/libs/gstreamer-libs-sections.txt:
2843         * libs/gst/base/gstcollectpads.c:
2844         * libs/gst/base/gstcollectpads.h:
2845           Add sub-buffer functions to collectpads. Fixes #516187.
2846           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2847
2848 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2849
2850         * gst/gstbuffer.c:
2851           Copy selected buffer-flags when creating subbuffers.
2852           Fixes #516395.
2853
2854 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2855
2856         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2857         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2858         * gst/gstmessage.c: (gst_message_class_init),
2859         (gst_message_finalize):
2860         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2861         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2862         (gst_mmap_buffer_finalize):
2863         Properly chain up finalize functions to the parent class.
2864
2865 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2866
2867         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2868
2869         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2870         (gst_index_set_resolver_full):
2871         * gst/gstindex.h:
2872         Add new function with option to dispose of user_data in resolver.
2873         Actually call the dispose function when finalizing the object and not
2874         just when changing the resolver/filter.
2875         API: GstIndex::gst_index_set_resolver_full()
2876
2877         * docs/gst/gstreamer-sections.txt:
2878         Add new function to docs. Fixes #515469.
2879
2880 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2881
2882         * gst/gstindex.c: (gst_index_finalize):
2883         Chain up finalize to the parent class. Fixes leaking the GstObject
2884         name and other things.
2885
2886 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2887
2888         * configure.ac:
2889         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2890         pre-releases or releases.
2891
2892         * docs/faq/gst-uninstalled:
2893         Add gst-plugins-gl
2894
2895         * docs/random/release:
2896         Change one of the steps - we only upload core & base to Gnome FTP
2897
2898 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2899
2900         * gst/gstconfig.h.in:
2901           Add 'id' for example.
2902
2903         * gst/gstpad.c:
2904         * gst/gstutils.c:
2905         * plugins/elements/gstfdsink.c:
2906           Link to signals. Doc and comment fixes.
2907
2908 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2909
2910         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2911         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2912           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2913           unused and unimplemented; finally, it is plugin features, not
2914           plugins, that have ranks.
2915           
2916 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2917
2918         * gst/gstpluginfeature.h:
2919           Clarify GstRank range docs.
2920
2921 2008-02-05  David Schleef  <ds@schleef.org>
2922
2923         * gst/gst.c: Add a separate gst_deinitialized that prevents
2924           gst_init() from being called after gst_deinit().  Fixes #509559
2925
2926 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2927
2928         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2929         (gst_bin_class_init):
2930         * gst/gstelement.c: (gst_element_base_class_init),
2931         (gst_element_class_add_pad_template):
2932         * gst/gstpadtemplate.c: (gst_pad_template_init):
2933         * gst/gstpipeline.c: (gst_pipeline_get_type),
2934         (gst_pipeline_base_init), (gst_pipeline_class_init):
2935         * libs/gst/base/gstbasesink.c:
2936         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2937         (gst_base_src_base_init), (gst_base_src_class_init):
2938         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2939         (gst_capsfilter_class_init):
2940         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2941         (gst_fake_sink_class_init):
2942         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2943         (gst_fake_src_class_init):
2944         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2945         (gst_fd_sink_class_init):
2946         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2947         (gst_fd_src_class_init):
2948         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2949         (gst_file_sink_class_init):
2950         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2951         (gst_file_src_class_init):
2952         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2953         (gst_identity_class_init):
2954         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2955         (gst_multi_queue_class_init):
2956         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2957         (gst_queue_class_init):
2958         * plugins/elements/gsttee.c: (gst_tee_base_init),
2959         (gst_tee_class_init):
2960         * plugins/elements/gsttypefindelement.c:
2961         (gst_type_find_element_base_init),
2962         (gst_type_find_element_class_init):
2963         * tests/check/gst/gstelement.c: (gst_element_suite):
2964         Revert previous changes to the behaviour of GstPadTemplates, etc
2965         and the possiblity to call them in class_init as it breaks too
2966         many elements. Reopens bug #491501.
2967
2968         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2969         several places.
2970
2971 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2972
2973         * tools/gst-launch.c:
2974         Dump one graph per pipeline state-change and state change name
2975         (if GST_DEBUG_DUMP_DOT_DIR is set).
2976
2977 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2978
2979         * gst/gstpad.c:
2980         * tests/check/gst/gstpad.c:
2981         Be sure that we have a new copy of the caps and not
2982         reffed caps from a template
2983
2984 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2985
2986         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2987         * gst/gstpipeline.c: (gst_pipeline_get_type),
2988         (gst_pipeline_class_init):
2989         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2990         (gst_base_sink_class_init):
2991         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2992         (gst_base_src_class_init):
2993         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2994         (gst_base_transform_class_init):
2995         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2996         (gst_collect_pads_class_init):
2997         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2998         * libs/gst/net/gstnettimeprovider.c:
2999         (gst_net_time_provider_base_init),
3000         (gst_net_time_provider_class_init):
3001         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3002         (gst_capsfilter_class_init):
3003         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3004         (gst_fake_sink_class_init):
3005         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3006         (gst_fake_src_class_init):
3007         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3008         (gst_fd_sink_class_init):
3009         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3010         (gst_fd_src_class_init):
3011         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3012         (gst_file_sink_class_init):
3013         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3014         (gst_file_src_class_init):
3015         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3016         (gst_identity_class_init):
3017         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3018         (gst_multi_queue_class_init):
3019         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3020         (gst_queue_class_init):
3021         * plugins/elements/gsttee.c: (gst_tee_base_init),
3022         (gst_tee_class_init):
3023         * plugins/elements/gsttypefindelement.c:
3024         (gst_type_find_element_base_init),
3025         (gst_type_find_element_class_init):
3026         Don't use base_init where not absolutely necessary. For example it's
3027         not necessary anymore for adding pad templates or setting element
3028         details.
3029
3030         Leave empty base_init functions in several places as GST_BOILERPLATE
3031         still defines and uses them.
3032
3033 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3034
3035         * gst/gstelement.c: (gst_element_base_class_init),
3036         (gst_element_class_add_pad_template):
3037         * gst/gstpadtemplate.c:
3038         Make it possible (and recommended) to set element details and add
3039         pad templates in the class_init functions by copying the details/pad
3040         templates in GstElement's base_init.
3041
3042         Also make it possible to replace existing pad templates by adding
3043         a new one with the same name. This was done in a hackish fashion
3044         in same elements before already.
3045
3046         Don't reference pad templates that are added a second time. A
3047         new pad template has a refcount of one and is not floating anymore
3048         and to be owned by the element's class. Make this more explicit by
3049         mentioning it in the docs of gst_element_class_add_pad_template().
3050
3051         These changes are backwards compatible. Fixes bug #491501.
3052
3053         * tests/check/gst/gstelement.c:
3054         Add unit test for setting element details, adding pad templates and
3055         replacing them in a subclass.
3056
3057 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
3058
3059         * tools/gst-inspect.c: (print_interfaces),
3060         (print_element_properties_info), (print_pad_info),
3061         (print_signal_info), (print_element_info):
3062         Fix a few memory leaks.
3063
3064 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3065
3066         * docs/libs/gstreamer-libs-sections.txt:
3067         * libs/gst/check/gstcheck.c:
3068         * libs/gst/check/gstcheck.h:
3069         Add more functions for unit testing: gst_check_drop_buffers,
3070         gst_check_caps_equal, gst_check_element_push_buffer_list,
3071         gst_check_element_push_buffer
3072         API: gst_check_drop_buffers
3073         API: gst_check_caps_equal
3074         API: gst_check_element_push_buffer_list
3075         API: gst_check_element_push_buffer
3076
3077 2008-02-01  Julien Moutte  <julien@fluendo.com>
3078
3079         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3080         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3081         (gst_index_finalize), (gst_index_entry_free),
3082         (gst_index_add_association): Fix memory leaks.
3083         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3084         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3085         (gst_mem_index_free_format), (gst_mem_index_free_id),
3086         (gst_mem_index_finalize): Fix memory leaks.
3087         * win32/common/config.h: Updated to CVS HEAD.
3088
3089 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3090
3091         * docs/README:
3092           Some more details about how the plugin docs works.
3093
3094         * docs/plugins/gstreamer-plugins-sections.txt:
3095           Whitespace cleanup.
3096
3097 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3098
3099         * gst/parse/grammar.tab.pre.c:
3100         * gst/parse/grammar.tab.pre.h:
3101         * gst/parse/grammar.y:
3102         * gst/parse/lex._gst_parse_yy.pre.c:
3103           Add delayed set-property. This allows to set properties on dynamicaly
3104           created objects (pads in videomxer). Fixes #509391.
3105
3106 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3107
3108         * gst/gstutils.c:
3109         Check if caps are not NULL (fix bug #510194)
3110
3111 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3112
3113         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3114         (gst_base_sink_get_position_paused):
3115         Add fixme regarding EOS in pull mode.
3116         Fix position reporting in PAUSED for negative rates.
3117
3118 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3119
3120         * gst/gstminiobject.c: (gst_mini_object_replace):
3121         When replacing a miniobject, do a quick equality check first so that we
3122         can avoid a ref/unref pair.
3123
3124 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3125
3126         * docs/design/part-synchronisation.txt:
3127         Update some docs.
3128
3129         * docs/plugins/Makefile.am:
3130         * docs/plugins/gstreamer-plugins-docs.sgml:
3131         * docs/plugins/gstreamer-plugins-sections.txt:
3132         * plugins/elements/gstmultiqueue.c:
3133         Add multiqueue to the docs.
3134
3135 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3136
3137         * configure.ac:
3138           Back to CVS
3139
3140 === release 0.10.17 ===
3141
3142 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
3143
3144         * configure.ac:
3145           releasing 0.10.17, "Due Negligence"
3146
3147 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3148
3149         * gst/gstutils.c:
3150         Revert caps != NULL check temporarily for 0.10.17 release.
3151
3152 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3153
3154         * gst/gstutils.c:
3155         Check if caps are not NULL (fix bug #510194)
3156
3157 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3158
3159         * gst/gstutils.c:
3160         Fix compilation on systems that have posix timers but no
3161         monotonic clock.
3162         Fixes: #512715
3163         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3164         dot net>
3165
3166 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3167
3168         * tools/gst-inspect.c:
3169         Revert previous commit in preparation for an impromptu 0.10.17 release
3170
3171 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
3172
3173         * tools/gst-inspect.c: (print_interfaces),
3174         (print_element_properties_info), (print_pad_info),
3175         (print_signal_info), (print_element_info):
3176         Fix a few memory leaks.
3177
3178 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
3179
3180         * configure.ac:
3181         Back to CVS
3182
3183 === release 0.10.16 ===
3184
3185 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
3186
3187         * configure.ac:
3188           releasing 0.10.16, "Special Dispensation"
3189
3190 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
3191
3192         * configure.ac:
3193           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3194           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3195           not fail when trying to crosscompile on OpenEmbedded (#511750).
3196
3197 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
3198
3199         * docs/manuals.mak:
3200         Use $(MAKE) instead of make to fix the build if GNU make is
3201         called different. Fixes bug #510747.
3202
3203 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3204
3205         * gst/gstplugin.c: (_gst_plugin_initialize):
3206           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3207           again, which I broke two commits ago when changing the API
3208           of gst_plugin_register_static(): the g_list_foreach() in
3209           _gst_plugin_register_static still assumed the old function
3210           signature and would therefore fail (re-fixes #510187).
3211
3212         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3213           (_gst_plugin_register_static), (gst_plugin_register_static):
3214           Revert the (technically correct) change to call g_thread_init() from
3215           the pre-main() constructor. This will break programs which call
3216           g_thread_init() without an if (!g_thread_supported()) guard in their
3217           main function. We could just blame it on GLib or the application, but
3218           it's probably best to just avoid this altogether and simply not use
3219           any GLib functions here and use plain old malloc() with a simple
3220           array to store the plugins to register later when gst_init() is
3221           finally called (re-fixes #510187).
3222
3223         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3224           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3225           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3226           (GST_START_TEST), (gst_plugin_suite):
3227           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3228           works.
3229
3230 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3231
3232         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3233           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3234           This makes gtk-doc complain, but results in slightly better
3235           compiler errors. The old _gst_plugin_register_static() is
3236           still guarded, so there'll be a compiler warning about that
3237           instead. Fixes #510187 too.
3238
3239 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3240
3241         * gst/gst.c: (init_post):
3242         * gst/gstplugin.c: (_gst_plugin_register_static),
3243           (gst_plugin_register_static), (_gst_plugin_initialize):
3244         * gst/gstplugin.h: (GstPluginFilter):
3245           Change API of gst_plugin_register_static() to not take
3246           a GstPluginDesc, but rather just take all the arguments
3247           in a GstPluginDesc directly. This is more intuitive and
3248           avoids certain mistakes when porting code from
3249           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3250           Fixes #510187.
3251
3252         * tests/check/gst/gstplugin.c:
3253           Fix up for changed API.
3254
3255 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3256
3257         * docs/faq/legal.xml:
3258           Update FAQ, Totem actually has an exception these days.
3259
3260 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
3261
3262         * win32/common/libgstreamer.def:
3263         Add new API declarations
3264
3265 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3266
3267         * gst/gstminiobject.c:
3268           Spelling fixes for the API docs.
3269
3270 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3271
3272         * libs/gst/base/gstbasetransform.c:
3273           Fix long property description for QoS.
3274
3275 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
3276
3277         * gst/gst.c:
3278         _gst_trace_on is already provided by gsttrace.h, no need to declare
3279         it ourselves.
3280
3281         * docs/libs/gstreamer-libs-sections.txt:
3282         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3283         and remove strange tcase_add_test which is outputting a warning.
3284
3285         * libs/gst/check/gstcheck.c:
3286         * libs/gst/check/gstcheck.h:
3287         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3288         and define them in gstcheck.c instead of having every .c file whcih
3289         includes gstcheck.h be defining its own copy and relying on symbol
3290         interposing to marry them all, which doesn't work on Solaris.
3291
3292         * tests/check/elements/identity.c: (GST_START_TEST):
3293         Don't define 'buffers' locally, it comes from libgstcheck.
3294
3295         * tests/check/generic/sinks.c: (send_buffer):
3296         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3297
3298         * tests/check/gst/gststructure.c: (GST_START_TEST):
3299         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3300         * tests/check/gst/gstutils.c: (GST_START_TEST):
3301         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3302         Add a bunch of casts to make various constants fit the types
3303         they're being assigned to.
3304
3305 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3306
3307         * gst/gstchildproxy.c:
3308           Improve docs and add some ideas for making this more general-purpose.
3309
3310 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3311
3312         * gst/gst_private.h: (GST_CAT_TYPES):
3313           Add GST_CAT_TYPES, for consistency, and so that the other
3314           debug categories don't make fun of it. Spotted by Saur on IRC.
3315
3316 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3317
3318         * gst/parse/Makefile.am:
3319           Move types.h from EXTRA_DIST to noinst_HEADERS.
3320
3321 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3322
3323         * autogen.sh:
3324           Add -Wno-portability to the automake parameters to stop warnings
3325           about GNU make extensions being used. We require GNU make in almost
3326           every Makefile anyway.
3327
3328         * configure.ac:
3329           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3330           at the same time is required for per target flags.
3331
3332 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3333
3334         * gst/gstmacros.h:
3335           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3336           __GNUC__ is defined before using it.
3337
3338 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3339
3340         * docs/gst/gstreamer-sections.txt:
3341         * gst/gst.c: (init_post):
3342         * gst/gstplugin.c: (_gst_plugin_register_static),
3343           (gst_plugin_register_static), (_gst_plugin_initialize),
3344           (gst_plugin_register_func):
3345         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3346           API: add gst_plugin_register_static() and deprecate
3347           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3348           (#498924).
3349           Also, in _gst_plugin_register_static(), make sure to call
3350           g_thread_init() before calling GLib functions such as
3351           g_list_append() if we're not initialised yet, since that
3352           may lead to random crashes with older GSlice/GLib versions.
3353
3354         * tests/check/gst/gstplugin.c:
3355           Adapt unit test to above changes.
3356
3357 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3358
3359         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3360         * gst/gstcaps.c: (gst_caps_to_string):
3361         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3362           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3363           Yet another gratuitous GString micro-optimisation: add a (private)
3364           function that serialises a structure appending to an existing
3365           GString, so that when we serialise caps we don't need to alloc+free
3366           a throwaway GString for each structure (each of which also entailing
3367           multiple reallocs on the way); also use g_string_sized_new() in
3368           various places with an approximate string length to avoid reallocs
3369           within GString. See #500143.
3370
3371 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3372
3373         * gst/gststructure.c: (gst_structure_id_set_value):
3374           Always check UTF-8 conformance of structure strings and not only
3375           if the debugging system is enabled; reasoning: the behaviour of
3376           the actual code shouldn't really change depending on whether the
3377           debugging system is enabled or not (#508291).
3378
3379 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3380
3381         * Makefile.am:
3382           Remove old coverage target in favour of "make lcov".
3383
3384 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3385
3386         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3387         (gst_base_src_loop):
3388         The start segment for reverse playback goes from start to last_stop.
3389
3390 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3391
3392         Patch by: Peter Kjellerstedt <pkj axis com>
3393
3394         * gst/gstclock.h:
3395         Cast the results from the timeval/spec_to_time macros to what the
3396         docs say it casts to, a GstClockTime. fixes #508175.
3397
3398 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3399
3400         * gst/gstbuffer.c:
3401         Update some comments.
3402
3403         * tools/gst-inspect.c: (print_element_properties_info):
3404         Improve printing of flags.
3405
3406 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3407
3408         * libs/gst/base/gstbasetransform.c:
3409           (gst_base_transform_transform_size):
3410           Print element name with g_warning() if there's a problem
3411           with the unit size.
3412
3413 2008-01-07  David Schleef  <ds@schleef.org>
3414
3415         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3416
3417         * libs/gst/controller/gstcontroller.h:
3418         * libs/gst/controller/gstcontrolsource.h:
3419         * libs/gst/controller/gstinterpolationcontrolsource.h:
3420         * libs/gst/controller/gstlfocontrolsource.h:
3421         * libs/gst/dataprotocol/dataprotocol.h:
3422           Fix empty prototypes.  Fixes bug #507957.
3423
3424 2008-01-07  David Schleef  <ds@schleef.org>
3425
3426         * docs/faq/dependencies.xml: Fix typo.
3427
3428 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3429
3430         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3431         (gst_base_src_loop):
3432         Don't update the last_stop position in do_seek, that's the position we
3433         did a seek to.
3434         Read backwards when we have a negative rate.
3435
3436         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3437         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3438         (filesrc_suite):
3439         Add check for reverse reading.
3440
3441 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3442
3443         Patch by: Alexis Ballier <aballier at gentoo org>
3444
3445         * tests/check/gst/gstabi.c:
3446         * tests/check/gst/struct_ppc64.h:
3447         * tests/check/libs/libsabi.c:
3448         * tests/check/libs/struct_ppc64.h:
3449           Decide which header to include based on the userland ABI target
3450           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3451           for 64-bit userland (#503590).  Might need something similar for
3452           x86 too.
3453
3454 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3455
3456         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3457           Log the reason why fopen fails in addition to the fact that it failed.
3458           
3459 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3460
3461         * gst/parse/parse.l:
3462         Use "%option never-interactive" to prevent useless calls to isatty()
3463         on every input when parsing. Also use "%option noinput" to not define
3464         the static input/yyinput functions which we don't use anyway. This
3465         removes a compiler warning with gcc 4.3 and saves some bytes in the
3466         library.
3467         
3468         * gst/parse/lex._gst_parse_yy.pre.c:
3469         Regenerated for the above change.
3470
3471 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3472
3473         * gst/gstpad.c: (fixate_value):
3474         Don't crash when trying to fixate and empty list.
3475         Fixes #506643.
3476
3477 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3478
3479         * docs/faq/gst-uninstalled:
3480         Clarify the comments to make the usage of this script and what it
3481         does easier to understand.
3482
3483 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3484
3485         * tools/gst-plot-timeline.py:
3486         Add more options to gst-plot-timeline
3487
3488 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3489
3490         * docs/design/part-synchronisation.txt:
3491         Some more info on how the stream_time in GstBaseSink is done.
3492
3493 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3494
3495         * tests/check/generic/sinks.c: (gst_sinks_suite):
3496           Put back the tcase_set_timeout(), apparently it's needed after
3497           all; fix it up in a way that makes things work with valgrind too.
3498
3499 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3500
3501         * gst/gstdebugutils.c:
3502           Add warning when failed to open file for writing.
3503
3504 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3505
3506         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3507
3508         * gst/gstvalue.c: (gst_value_is_fixed):
3509           Optimisation: bail out of the loop as early as possible (#500143).
3510
3511 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3512
3513         * gst/gstcaps.c: (gst_caps_to_string):
3514         * gst/gstinfo.c: (gst_debug_construct_term_color):
3515         * gst/gstparse.c: (gst_parse_launchv):
3516         * gst/gstutils.c: (gst_util_dump_mem):
3517         * gst/gstvalue.c: (gst_value_serialize_any_list),
3518           (gst_value_transform_any_list_string):
3519           Bunch of gratuitous nano-optimisations.
3520
3521 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3522
3523         * tests/check/generic/sinks.c: (async_done_func),
3524           (async_done_eos_func):
3525           Fix leak in unit test (bus sync handler must unref the message
3526           if it returns GST_BUS_DROP). Don't fiddle with the default test
3527           timeout, this is smaller than the current preconfigured value
3528           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3529           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3530
3531 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3532
3533         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3534
3535         * configure.ac:
3536         Check for stdio_ext.h for the filesink changes.
3537
3538         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3539         (gst_file_sink_class_init), (gst_file_sink_init),
3540         (gst_file_sink_dispose), (gst_file_sink_set_property),
3541         (gst_file_sink_get_property), (gst_file_sink_open_file),
3542         (gst_file_sink_close_file):
3543         * plugins/elements/gstfilesink.h:
3544         Add two properties to control the buffering mode and size.
3545         API: GstFileSink::buffer-mode
3546         API: GstFileSink::buffer-size
3547         Fixes #500150.
3548
3549 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3550
3551         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3552         Add some more docs to explain why a FIXME was wrongly added. 
3553
3554 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3555
3556         * gst/gstobject.c:
3557           Fix typo in the gst_object_{ref,unref} documentation.
3558
3559 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3560
3561         * tests/check/libs/controller.c:
3562         * tests/check/libs/typefindhelper.c:
3563         * tests/check/pipelines/parse-launch.c:
3564           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3565           going to be deprecated (see #498924).
3566
3567 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3568
3569         * gst/gsttypefind.c: (gst_type_find_register):
3570           Make gst_type_find_register work for static typefind functions,
3571           ie. allow passing plugin == NULL (prerequisite for #498924).
3572
3573         * gst/gstelementfactory.c: (gst_element_register):
3574           Small docs addition.
3575
3576 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3577
3578         * gst/gstpad.c: (gst_pad_dispose):
3579         Really unlink the peer pad instead of setting the peer pointer to NULL
3580         when we dispose the pad.
3581         This correctly calls the unlink functions and makes sure that the peer
3582         does not have a handle to invalid memory. See #504671.
3583
3584         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3585         Add testsuite for above case.
3586
3587 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3588
3589         Patch by: Peter Kjellerstedt <pkj axis com>
3590
3591         * libs/gst/check/gstcheck.h:
3592           Fix detection of the check version we're compiling against (would
3593           otherwise break if check goes v0.10.0); correctly report the
3594           name of the failed test again in case of failure, instead of
3595           just 'tf' (fixes #504499).
3596
3597 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3598
3599         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3600         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3601         (gst_base_src_loop), (gst_base_src_set_flushing),
3602         (gst_base_src_change_state):
3603         Allow sending EOS to the source to make it send out an EOS event from
3604         the streaming thread.
3605         Update docs and deprecate the old NULL/READY shutdown method.
3606
3607         * tests/check/libs/basesrc.c: (GST_START_TEST),
3608         (gst_basesrc_suite):
3609         Add unit test for controlled shutdown.
3610
3611 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3612
3613         * docs/design/part-synchronisation.txt:
3614         Small updates.
3615
3616         * gst/gstsegment.c: (gst_segment_set_seek),
3617         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3618         (gst_segment_to_running_time):
3619         The seek format can be different from the segment format when the start
3620         and stop values are not to be updated, when we only do a rate change for
3621         example.
3622
3623         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3624         (gst_segment_suite):
3625         Add a testcase for the rate-only seeks, checking that the format is
3626         correctly ignored when start and stop are not updated.
3627
3628 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3629
3630         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3631
3632         * win32/vs8/grammar.vcproj:
3633         * win32/vs8/libgstcontroller.vcproj:
3634         * win32/vs8/libgstreamer.vcproj:
3635         Fix compilation with VS8 and include some missing files.
3636
3637 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3638
3639         * gst/gsttaglist.c:
3640           Small docs addition: mention that the strings returned by
3641           gst_tag_list_get_string*() are in UTF-8 encoding.
3642
3643 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3644
3645         * Makefile.am:
3646           The check-exports stuff moved to common/win32.mak, so include that.
3647
3648 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3649
3650         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3651         (gst_base_src_perform_seek), (gst_base_src_get_range),
3652         (gst_base_src_set_playing), (gst_base_src_change_state):
3653         Make _wait_playing() not check any variables so that we can call this
3654         function from subclasses. Move the checks elsewhere similar to
3655         _wait_preroll() in basesink.
3656         Add some debugging.
3657         Only signal the LIVE cond when we are going back to PLAYING.
3658
3659 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3660
3661         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3662           Use g_remove() and g_rename(). Check result of g_rename(), and
3663           don't leak the open file descriptor if we error out when writing.
3664
3665         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3666           Must check the return value of close() after writing out the new
3667           registry file.  Sometimes write problems such as out-of-diskspace
3668           are only reported when the file is closed and not already during
3669           the write.  This may have caused partial/broken registry files in
3670           some rare circumstances. Should fix #503675.
3671
3672 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3673
3674         * docs/gst/.cvsignore:
3675         * docs/libs/.cvsignore:
3676         * docs/plugins/.cvsignore:
3677         Ignore files generated by new common/* modifications
3678
3679 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3680
3681         * win32/common/libgstbase.def:
3682           Yes, you can also have a <TAB> if you want.
3683
3684 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3685
3686         * win32/common/libgstbase.def:
3687           Add new basetransform API to win export file.
3688
3689 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3690
3691         * tests/check/gst/gstbin.c:
3692           Adjust the test to the refcount change two days ago.
3693
3694 2007-12-14  David Schleef  <ds@schleef.org>
3695
3696         * docs/faq/getting.xml: Fix typo.
3697
3698 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3699
3700         * docs/libs/gstreamer-libs-sections.txt:
3701         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3702           (gst_base_transform_prepare_output_buffer),
3703           (gst_base_transform_set_gap_aware):
3704         * libs/gst/base/gstbasetransform.h:
3705           API: Add gst_base_transform_set_gap_aware() to control whether
3706           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3707           get buffers with this flag at all. Fixes #503231.
3708
3709 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3710
3711         * libs/gst/base/gstbasesink.c:
3712         * libs/gst/base/gstbasesrc.c:
3713         * libs/gst/base/gstbasetransform.c:
3714           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3715           thread. Correct log message in gstbasesrc.c.
3716
3717 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3718
3719         * gst/gstutils.c: (element_find_unconnected_pad):
3720           Fix possible compiler warning (#503417).
3721
3722 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3723
3724         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3725           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3726
3727 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3728
3729         * tools/gst-inspect.c: (print_element_properties_info):
3730           Add support for GstFraction properties.
3731
3732 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3733
3734         * Makefile.am:
3735           Add check-exports target and run it as part of 'make check'
3736           (see #499140 and #493983).
3737
3738         * gst/gst_private.h:
3739         * gst/gstelementfactory.h:
3740         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3741         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3742           (_priv_gst_in_valgrind):
3743         * gst/gstinfo.h: (GstLogFunction):
3744         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3745           (gst_type_find_register):
3746         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3747           (gst_type_find_factory_get_type):
3748         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3749           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3750           (gst_controller_new_valist), (gst_controller_new_list),
3751           (_gst_controller_dispose), (_gst_controller_class_init):
3752         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3753         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3754           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3755           (gst_object_get_controller), (gst_object_set_controller),
3756           (gst_object_suggest_next_sync), (gst_object_sync_values),
3757           (gst_object_set_control_source), (gst_object_get_control_source),
3758           (gst_object_get_value_arrays), (gst_object_get_value_array),
3759           (gst_object_get_control_rate), (gst_object_set_control_rate):
3760         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3761         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3762           Make some functions that should be static static; rename some
3763           private symbols so that they don't get exported; add some FIXME
3764           comments so we can move accidentally exported functions into
3765           our private section in 0.11.
3766
3767         * win32/common/libgstreamer.def:
3768           Add gst_utils_get_timestamp().
3769
3770 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3771
3772         * gst/gstvalue.c:
3773         * gst/gstvalue.h:
3774           Add more missing "Since:" tags to docs.
3775
3776 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3777
3778         * gst/gstutils.c:
3779           Add mising "Since:" to docs.
3780
3781 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3782
3783         * gst/gstplugin.c:
3784           Include "glib-compat-private.h" to fix the build on system with
3785           glib < 2.10. Fixes #503131.
3786
3787 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3788
3789         * gst/gstutils.c:
3790         * gst/gstutils.h:
3791           Actually its not PURE as it gets the time from elsewhere.
3792
3793 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3794
3795         * docs/gst/gstreamer-sections.txt:
3796         * gst/gstclock.h:
3797         * gst/gstdebugutils.c:
3798         * gst/gstinfo.c:
3799         * gst/gstutils.c:
3800         * gst/gstutils.h:
3801         * libs/gst/base/gstbasesink.c:
3802         * tools/gst-launch.c:
3803           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3804           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3805           Thanks Tim for spotting.
3806           API: gst_util_get_timestamp
3807
3808 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3809
3810         * configure.ac:
3811           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3812
3813 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3814
3815         * gst/gststructure.c: (gst_structure_validate_name),
3816           (gst_structure_new_valist), (gst_structure_parse_value),
3817           (gst_structure_from_string):
3818           Don't crash in _from_string() if the structure name is not valid
3819           (fixes #501560).  Allow structure names to start with a number
3820           again (this apparently broke the ubuntu codec installer).
3821
3822         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3823           (GST_START_TEST):
3824           Add unit test for the crash; update unit tests for new behaviour.
3825
3826 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3827
3828         * gst/gstutils.c:
3829         Clarify gst_element_get_compatible_pad() documentation.
3830         Fixes #500919.
3831
3832 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3833
3834         * tests/check/Makefile.am:
3835           Don't forget to dist {gst,libs}/struct_hppa.h.
3836
3837 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3838
3839         * libs/gst/base/gstbasesink.c:
3840           Use new API to get elapsed time.
3841
3842 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3843
3844         * gst/gstdebugutils.c:
3845         * gst/gstinfo.c:
3846           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3847
3848         * tools/gst-launch.c:
3849           Use new API to get elapsed time.
3850
3851 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3852
3853         * docs/gst/gstreamer-sections.txt:
3854         * gst/gstclock.h:
3855         * gst/gstdebugutils.c:
3856         * gst/gstinfo.c:
3857           Rename new API + ChangeLog surgery to remove old name from last entry..
3858
3859 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3860
3861         * docs/gst/gstreamer-sections.txt:
3862         * gst/gstclock.h:
3863         * gst/gstdebugutils.c:
3864         * gst/gstinfo.c:
3865           Now hide the different clock stuff behind a macro.
3866
3867 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3868
3869         * configure.ac:
3870         * gst/gstdebugutils.c:
3871         * gst/gstinfo.c:
3872           Apply the posix-timer check from #361155. Conditionally use the posix
3873           timer for logging. This gives better timestamp precission, less
3874           overhead and no ntp jitter.
3875
3876 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3877
3878         * gst/gstminiobject.c: (gst_mini_object_get_type),
3879         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3880         (gst_mini_object_finalize), (gst_mini_object_copy),
3881         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3882         (gst_mini_object_replace), (param_mini_object_validate),
3883         (gst_param_spec_mini_object_get_type):
3884         Some cleanup and checking against invalid function parameters.
3885
3886 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3887
3888         * docs/gst/gstreamer-sections.txt:
3889         * gst/gstclock.h:
3890         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3891         (gst_systemclock_suite):
3892         Start merging in the easy bits of #361155, the monotonic clock patch.
3893         This one adds a few handy macros with docs and a testsuite.
3894
3895 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3896
3897         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3898         Be a bit smarter when seeking, like, don't try to do a seek when it's
3899         not needed. This avoids errors when the file is not seekable.
3900         Fixes #499771.
3901
3902 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3903
3904         * docs/gst/gstreamer-docs.sgml:
3905         * docs/gst/gstreamer-sections.txt:
3906         * docs/gst/gstreamer.types.in:
3907         * gst/Makefile.am:
3908         * gst/gst.h:
3909         * gst/gstpreset.c:
3910         * gst/gstpreset.h:
3911         * plugins/elements/gstqueue.c:
3912           Due to popular request remove preset interface again. :-(.
3913
3914 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3915
3916         * tools/gst-inspect.c:
3917           Print 'default value' for enums and flags too.
3918
3919 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3920
3921         * docs/random/ensonic/profiling.txt:
3922           More ideas.
3923
3924         * gst/gstbin.c:
3925           Fix typo and give better log output.
3926
3927         * gst/gstdebugutils.c:
3928         * gst/gstdebugutils.h:
3929           More ideas, make graphs a bit smaller and fix param name in macro.
3930
3931 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3932
3933         * gst/gstpreset.c:
3934           Try harder to use the return value from fgets().
3935
3936 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3937
3938         * gst/gstpreset.c:
3939           For theses two fgets we handle the error below.
3940
3941 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3942
3943         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3944         Only send upstream events upstream. Fixes #498746.
3945
3946 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3947
3948         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3949
3950         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3951         (gst_identity_init), (gst_identity_transform_ip),
3952         (gst_identity_set_property), (gst_identity_get_property):
3953         * plugins/elements/gstidentity.h:
3954         Add property to disable handoff signal emission. Fixes #498694.
3955         API: GstIdentity::signal-handoffs
3956
3957 2007-11-21  Julien Moutte  <julien@fluendo.com>
3958
3959         * docs/faq/gst-uninstalled: Yet another missing library for the
3960         uninstalled script (fft)
3961
3962 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3963
3964         * docs/faq/developing.xml:
3965         Add a question about how to submit new translations.
3966
3967         * docs/random/release:
3968         Update the contact email address for the Translation Project
3969
3970         * plugins/elements/gstfdsrc.c:
3971         The parent_class for fdsrc is pushsrc, not GstElement.
3972
3973 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3974
3975         * gst/gstpreset.c:
3976           Plug a leak and fix saving.
3977
3978 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3979
3980         * docs/gst/gstreamer-sections.txt:
3981         Add new gst_preset__get_property_names() function to the docs
3982         to fix the build.
3983
3984 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3985
3986         * gst/gstpreset.c:
3987         * gst/gstpreset.h:
3988           Change _get_preset_names API to return a strv with copies. Add
3989           _get_property_names to allow implementations to filter and provide
3990           good default implementation.
3991
3992 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3993
3994         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3995         script (sdp).
3996
3997 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3998
3999         * gst/gstpreset.c:
4000           More cleanups, docs, and TODOs from comments that now slowly come in.
4001
4002 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4003
4004         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
4005         search path.
4006
4007 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4008
4009         * gst/gstpreset.c:
4010           Fix bogus warning and make the property type specific code more
4011           similar.
4012
4013 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4014
4015         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4016         it build on OS X.
4017
4018 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
4019
4020         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4021         (gst_bin_add_func), (gst_bin_remove_func),
4022         (gst_bin_change_state_func), (gst_bin_continue_func):
4023         Change email, cleanups add some more debug and comments.
4024         Also set bus and clock on new elements when the pipeline was in error.
4025
4026 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
4027
4028         * gst/gstbin.c:
4029         * gst/gstdebugutils.c:
4030           Fix build with --disable-gst-debug. Fixes #497859.
4031           Spotted by Sameer Naik.
4032
4033 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4034
4035         * gst/gstevent.c:
4036           Little documentation improvment.
4037
4038         * gst/gstpreset.c:
4039           More TODO cleanups. Remove c++ comments.
4040
4041         * libs/gst/controller/gstcontroller.c:
4042           Add TODO and use quark from static string.
4043
4044         * tests/check/gst/gstmessage.c:
4045         * tests/check/gst/gststructure.c:
4046           Use quark from static string.
4047
4048 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4049
4050         * gst/gstpreset.c:
4051           Add some comments and TODOs.
4052
4053         * gst/gstpreset.h:
4054           Add padding for future changes.
4055
4056         * plugins/elements/gstqueue.c:
4057           Implement the iface.    
4058
4059 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4060
4061         * docs/gst/gstreamer-docs.sgml:
4062         * docs/gst/gstreamer-sections.txt:
4063         * docs/gst/gstreamer.types.in:
4064         * gst/Makefile.am:
4065         * gst/gst.h:
4066         * gst/gstpreset.c:
4067         * gst/gstpreset.h:
4068           Add the preset interface (Fixes #396779). Do some doc cleanups along.
4069
4070 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
4071
4072         * configure.ac:
4073
4074         Back to CVS
4075
4076 === release 0.10.15 ===
4077
4078 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
4079
4080         * configure.ac:
4081           releasing 0.10.15, "October"
4082
4083 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
4084
4085         * win32/vs6/libgstreamer.dsp:
4086         Convert line endings back to DOS.
4087
4088 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
4089
4090         * docs/design/draft-tagreading.txt:
4091         * docs/random/ensonic/profiling.txt:
4092         Update fast tagreading draft and performance profiling ideas.
4093
4094 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4095
4096         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4097         Don't hold the object lock when unreffing a buffer because it could
4098         cause a deadlock when the finalize function wants to grab the object
4099         lock too. Fixes #495133.
4100
4101 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4102
4103         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4104         (gst_segment_to_stream_time), (gst_segment_to_running_time):
4105         Also accumulate time correctly when doing reverse playback. Fixes
4106         #488201,
4107         When converting to running and stream time, use default values for
4108         start/stop/time/accum when comparing different formats. Fixes #494245.
4109
4110         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4111         Do running/stream time in TIME format.
4112
4113         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4114         (gst_segment_suite):
4115         2 new unit tests for segment accumulation.
4116
4117 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4118
4119         * gst/gst.c: (init_pre):
4120         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4121           (_gst_debug_bin_to_dot_file):
4122           Move getenv() back into gst_init, so everyone can live happily
4123           ever after. Make sure the symbol isn't exported though.
4124
4125 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4126
4127         Patch by: Sebastien Moutte  <sebastien moutte net>
4128
4129         * win32/common/gstenumtypes.c:
4130         * win32/common/gstenumtypes.h:
4131           Update enum types.
4132
4133         * win32/vs6/libgstreamer.dsp:
4134           Update vs6 project files (#494343).
4135
4136 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4137
4138         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4139         (gst_base_src_perform_seek), (gst_base_src_default_event),
4140         (gst_base_src_set_flushing), (gst_base_src_activate_push),
4141         (gst_base_src_activate_pull):
4142         Unify flushing code, remove some old unlock code that is no longer used.
4143         Take the streaming lock when seeking to avoid races. Fixes #492729.
4144         Added some more comments.
4145
4146 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4147
4148         * gst/gst.c: (_gst_disable_segtrap):
4149           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
4150           we can use gst_segtrap_is_enabled() there now that we have that API.
4151           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4152           to do the getenv here (and export the variable).
4153
4154         * gst/gstdebugutils.c: (debug_dump_element),
4155           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4156           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4157
4158         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4159           (gst_debug_log_default):
4160           Rename _gst_info_start_time to priv_gst_info_start_time so it
4161           doesn't get exported (was never in any header).
4162
4163         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4164           (gst_plugin_loading_mutex):
4165           Make static mutex gst_plugin_loading_mutex really static (was never
4166           in any header), and use gst_segtrap_is_enabled() instead of
4167           _gst_disable_segtrap.
4168
4169         * gst/gsttrace.c: (_gst_trace_default):
4170           Make local _gst_trace_default static (was never in any header).
4171
4172 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4173
4174         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4175
4176         * win32/common/libgstbase.def:
4177         * win32/common/libgstcontroller.def:
4178         * win32/common/libgstdataprotocol.def:
4179         * win32/common/libgstnet.def:
4180         * win32/common/libgstreamer.def:
4181           Add more missing symbols, remove some duplicates, and sort
4182           as the 'sort' command sorts it (partially fixes #493983).
4183
4184 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4185
4186         * gst/gstelement.c: (gst_element_set_state_func):
4187         Only change the state cookie if a different state was set on the
4188         element. See #492729.
4189
4190 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4191
4192         * gst/gstvalue.c:
4193           Remove unused and uninitialised type variables that were still
4194           exported for some reason (they were never in any header files
4195           though).
4196
4197 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4198
4199         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4200         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4201         (gst_base_sink_event), (gst_base_sink_get_position_last),
4202         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4203         (gst_base_sink_change_state):
4204         Don't try to report a 0 position when we don't know, return -1 and FALSE
4205         instead. This mostly happens when we are prerolling.
4206         Make sure we can report the right position before we post the ASYNC_DONE
4207         message so that a message handler can query position without races.
4208
4209         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4210         (async_done_handoff), (async_done_func), (send_buffer),
4211         (async_done_eos_func), (gst_sinks_suite):
4212         Add two tests for the above.
4213
4214 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4215
4216         * MAINTAINERS:
4217         Update with new email address.
4218
4219         * docs/design/part-TODO.txt:
4220         Add some more info about future pad-block and negotiation changes.
4221
4222         * docs/design/part-buffering.txt:
4223         Add some ideas about buffering reporting.
4224
4225 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
4226
4227         * tests/check/gst/gstobject.c:
4228         Disable silly racy test that always fails on this combination of CPU
4229         and kernel.
4230
4231 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4232
4233         Patch by: Murray Cumming  <murrayc@murrayc.com>
4234
4235         * gst/gstobject.c:
4236           Corrected the registration of the parent-set and parent-unset
4237           signals: The parameter is a GstObject, not a GObject (#493134).
4238
4239 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4240
4241         * gst/gst_private.h:
4242         * gst/gstbuffer.h:
4243         * gst/gstevent.h:
4244         * gst/gstformat.h:
4245         * gst/gstmessage.h:
4246         * gst/gstplugin.h:
4247         * gst/gstquery.h:
4248         * gst/gsttaglist.h:
4249         * gst/gstvalue.h:
4250           Move declaration of private _gst_foo_initialize() functions into
4251           our private header file where they should have been all along.
4252
4253 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4254
4255         * docs/plugins/gstreamer-plugins-sections.txt:
4256         * gst/gstdebugutils.h:
4257         * gst/gstxml.h:
4258         * plugins/elements/gstqueue.c:
4259           gtk-doc fixes; trailing-comma-in-enum fix.
4260
4261 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4262
4263         * gst/gst.c: (gst_deinit):
4264           Clean up on deinit (not the external ones though, doesn't seem to be
4265           needed for some reason).
4266
4267 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4268
4269         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4270           Remove __declspec(dllimport) for MSVC that was copied over into core
4271           from a plugin, obviously without ever having been tested (note the
4272           single underscore in _declspec in the initial commit), and that doesn't
4273           really make sense.  See #492077.
4274
4275 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4276
4277         * gst/gst.c: (init_post):
4278         * gst/gstevent.c: (_gst_event_initialize):
4279         * gst/gstquery.c: (_gst_query_initialize):
4280         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4281           g_type_class_ref() other types as well, see #349410 and #64764.
4282
4283         * gst/gstbuffer.c: (_gst_buffer_initialize):
4284         * gst/gstmessage.c: (_gst_message_initialize):
4285           Simplify existing g_type_class_ref().
4286
4287 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4288
4289         * gst/gstformat.c: (_gst_format_initialize):
4290           g_type_class_ref() our GstFormat type to make sure we avoid the
4291           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4292           bug #64764. Should fix intermittent tee unit test failures (#474823).
4293
4294 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4295
4296         * tests/check/elements/tee.c: (test_num_buffers):
4297           Simplify, simplify, simplify - or not.  Rewrite unit test
4298           not to use gst_parse_launch(); allow N sub-streams. Increasing
4299           the number of sub-streams seems to reproduce #474823 more easily.
4300
4301 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4302
4303         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4304
4305         * gst/gsttrace.c:
4306         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4307         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4308         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4309           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4310           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4311           so use _pipe() directly (#492077).
4312
4313         * win32/common/dirent.c: (_treaddir):
4314           Add a couple of casts to make it build without warnings with MSVC.
4315
4316         * win32/common/libgstreamer.def:
4317           Add some more symbols that need to be exported.
4318
4319 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4320
4321         * tests/examples/metadata/read-metadata.c: (message_loop):
4322           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4323           arriving in a second or third tag message are added to
4324           the tag list as well.
4325
4326 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4327
4328         * libs/gst/base/gstbasesrc.c:
4329           Its "Since:" and not "@Since:". And remove an superflous cast.
4330
4331 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4332
4333         * docs/libs/gstreamer-libs-sections.txt:
4334         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4335         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4336         (gst_base_sink_get_property), (gst_base_sink_render_object),
4337         (gst_base_sink_preroll_object),
4338         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4339         (gst_base_sink_change_state):
4340         * libs/gst/base/gstbasesink.h:
4341         Add a new last-buffer property that contains the last buffer used in
4342         basesink for preroll or rendering. useful for making snapshots.
4343         API: gst_base_sink_get_last_buffer()
4344         API: GstBaseSink::last-buffer
4345
4346 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4347
4348         * docs/gst/running.xml:
4349         * gst/gst.c:
4350         * gst/gstdebugutils.c:
4351         * gst/gstdebugutils.h:
4352         * tools/gst-launch.c:
4353           Improve bin graph dumping, by using the envvar to specify a path.
4354           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4355
4356 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4357
4358         * plugins/elements/gsttypefindelement.c:
4359           (gst_type_find_element_handle_event),
4360           (gst_type_find_element_activate):
4361           Post special error message if we can't determine the type of a stream
4362           because it's empty.
4363
4364 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4365
4366         * docs/gst/running.xml:
4367         * gst/gstdebugutils.c:
4368           Document new env-var. Add one log-line after dumpng a graph.
4369
4370 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4371
4372         * configure.ac:
4373           Ugly hack to put the (recently removed and non-portable, apparently)
4374           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4375           GNU ld, because without that 'make check' fails miserably on my debian
4376           stable box.  Someone with more knowledge of linker intricacies and
4377           portability issues than me fix this properly please.
4378
4379 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4380
4381         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4382         Reset last seen position after flushing so that we don't report the old
4383         position anymore.
4384
4385 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4386
4387         * gst/gstelementfactory.c: (gst_element_register):
4388         * gst/gsturi.h:
4389         Patch from Alessandro Decina adding get_type_full and
4390         get_protocols_full private vfuncs to the URIHandler interface
4391         to allow bindings to support creating URI handlers. 
4392         Partially fixes: #339279
4393         API: GstURIHandlerInterface::get_type_full
4394         API: GstURIHandlerInterface::get_protocols_full
4395
4396 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4397
4398         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4399         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4400         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4401         Make it so that pads are considered linked until a buffer is pushed
4402         and discovered otherwise. This avoids problems with decodebin2 hanging
4403         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4404         case.
4405
4406         Make sure we lock the multiqueue when updating the max-size properties.
4407         
4408         Fix a crash on Solaris in a debug statement in get_request_pad that
4409         passes a NULL string to GST_DEBUG. 
4410
4411         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4412         (run_output_order_test):
4413         Fix the test to allow the first buffer on not-linked pads to come out
4414         of sequence while multiqueue discovers that they are not-linked.
4415
4416 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4417
4418         * configure.ac:
4419         * libs/gst/check/Makefile.am:
4420         Use a custom export symbol regex for libgstcheck, as it needs
4421         to export symbols that don't match the standard GStreamer gst_*
4422         pattern, and  --export-dynamic is not portable (only works on 
4423         GNU ld)
4424
4425         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4426         (gst_check_setup_sink_pad):
4427         Make sure to pass a message parameter to the fail_* macros.
4428
4429         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4430         Fix some compiler warnings.
4431
4432 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4433
4434         * tests/check/gst/gststructure.c: (test_to_string):
4435           Disable test that checks that white spaces are not allowed
4436           in structure names or field names, since we need to
4437           support that for now for backwards compatibility reasons.
4438
4439 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4440
4441         * docs/gst/gstreamer-sections.txt:
4442         * gst/gsttaglist.c:
4443         * gst/gsttaglist.h:
4444           API: add GST_TAG_ARTIST_SORTNAME
4445           API: add GST_TAG_ALBUM_SORTNAME
4446           API: add GST_TAG_TITLE_SORTNAME
4447           Add tag variants for sorting (#414539).
4448
4449 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4450
4451         * gst/gststructure.c:
4452           Also allow white space for names so we don't break
4453           backwards compatibility.
4454
4455 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4456
4457         * docs/design/part-TODO.txt:
4458         * docs/design/part-segments.txt:
4459         * docs/design/part-streams.txt:
4460         Small updates.
4461
4462 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4463
4464         * docs/gst/gstreamer-sections.txt:
4465          Fixed documentation from my previous commit (added new API add
4466          gst_value_set_structure(), add gst_value_get_structure() and
4467          GST_VALUE_HOLDS_STRUCTURE).
4468
4469 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4470
4471         * gst/gstdebugutils.c:
4472           Reflow code to fix uninitialized variable warning.
4473
4474 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4475
4476         * gst/gstcaps.c: (gst_caps_to_string),
4477         (gst_caps_from_string_inplace):
4478         * gst/gststructure.c: (gst_structure_get_abbrs),
4479         (gst_structure_to_string), (gst_structure_from_string):
4480         * gst/gstvalue.c: (gst_value_set_structure),
4481         (gst_value_get_structure), (gst_value_serialize_structure),
4482         (gst_value_deserialize_structure), (_gst_value_initialize):
4483         * gst/gstvalue.h:
4484         * tests/check/gst/gststructure.c: (GST_START_TEST),
4485         (gst_structure_suite):
4486         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4487          Added GstStructure to gst_value_table and its related functions.
4488          Changed gst_structure_to_string to print ';' in the end.
4489          Changed gst_caps_to_string to not print ';' beteween its
4490          fields (structures) anymore and remove the lastes ';' from latest
4491          structure. Now it is possible to have nested structures.
4492          In addition, backward compatibilty is assured by accepting '\0' as
4493          end delimiter. Fixes: #487969.
4494          API: add gst_value_set_structure()
4495          API: add gst_value_get_structure()
4496          API: add GST_VALUE_HOLDS_STRUCTURE
4497
4498 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4499
4500         * gst/gstbus.c:
4501           When no GSource callback has been set up, tell developer
4502           to use a function that actually exists.
4503
4504 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4505
4506         * docs/gst/gstreamer-sections.txt:
4507         * gst/Makefile.am:
4508         * gst/gst.c:
4509         * gst/gst.h:
4510         * gst/gstdebugutils.c:
4511         * gst/gstdebugutils.h:
4512         * gst/gstinfo.c:
4513         * gst/gstinfo.h:
4514         * tools/gst-launch.c:
4515           Allow dumping pipelines as dot graphs. Fixes #456573.
4516
4517 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4518
4519         * gst/gststructure.c:
4520           Allow '+' as well, it can be part of media or mime types
4521           such as image/svg+xml.
4522
4523 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4524
4525         * docs/gst/gstreamer-sections.txt:
4526         * gst/gstbus.c:
4527         * gst/gstbus.h:
4528           API: add gst_bus_pop_filtered
4529           API: add gst_bus_timed_pop_filtered
4530           Two new functions for waiting for specific message types on the
4531           bus for a specified amount of time without iterating any main
4532           loops or main contexts.
4533
4534         * tests/check/gst/gstbus.c:
4535           Some tests for the new functions.
4536
4537 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4538
4539         * docs/libs/gstreamer-libs-sections.txt:
4540           Make gtk-doc ignore stuff it should ignore.
4541
4542 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4543
4544         * libs/gst/check/gstcheck.c:
4545         * libs/gst/check/gstcheck.h:
4546           Allow runtime selection of unit tests to run via the GST_CHECKS
4547           environment variable (test case function names, comma-separated).
4548
4549 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4550
4551         * gst/gststructure.c:
4552         * tests/check/gst/gststructure.c:
4553           Revert serialisation change and constrain structure-names after
4554           consensus on irc. Update api documentation to reflect the change.
4555
4556 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4557
4558         * gst/gststructure.c:
4559           Improve serialization and fix tests.
4560
4561         * tests/check/gst/gststructure.c:
4562           Add another test that covers why I actually did the previous structure
4563           change.
4564
4565 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4566
4567         * tools/gst-inspect.c: (print_element_info):
4568         Don't crash when inspecting an element.
4569
4570 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4571
4572         * tests/check/gst/gststructure.c:
4573           Add unit test for escaping of structure name when serialising
4574           and deserialising to/from strings.
4575
4576 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4577
4578         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4579         (gst_single_queue_new):
4580         * plugins/elements/gstqueue.c: (gst_queue_init),
4581         (gst_queue_push_one):
4582         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4583         upstream is tricked into thinking it can suggest a format downstream
4584         while downstream does not support that format. The real problem is that
4585         core calls acceptcaps when pushing a buffer with new caps, for which we
4586         do a little workaround by setting the caps on the srcpad ourselves
4587         before pushing the buffer (until this is figured out). Fixes #486758.
4588
4589 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4590
4591         * gst/gststructure.c:
4592         * gst/gstvalue.c:
4593           Add some more comments and debug output. Quote structure name to fix
4594           deserialisation of some strings.
4595
4596 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4597
4598         * gst/gstbuffer.h:
4599           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4600           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4601
4602 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4603
4604         * tools/gst-inspect.c:
4605           Save approx. 400 1 byte allocs when printing. Use API to acces element
4606           details.
4607
4608         * tools/gst-run.c:
4609           Avoid a strdup.
4610
4611         * tools/gst-xmlinspect.c:
4612           Use API to acces element details.
4613
4614 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4615
4616         * gst/gstinfo.c:
4617           Fix some spelling errors.
4618
4619 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4620
4621         * gst/gstbin.c: (bin_handle_async_done):
4622         Correctly set the next state if all of our async children commited their
4623         state. This makes sure we can actually cancel the state change in
4624         progress. Fixes a regression in Rhythmbox when seeking.
4625
4626 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4627
4628         * gst/gstbin.c:
4629           Don't shadow local variable.
4630
4631         * gst/gstinfo.c:
4632           Don't shadow global function name.
4633
4634 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4635
4636         * gst/gstelementfactory.c:
4637         * gst/gstpluginfeature.c:
4638         * gst/gstpluginfeature.h:
4639         * gst/gstregistrybinary.c:
4640         * gst/gstregistryxml.c:
4641         * gst/gsttypefind.c:
4642           Use already-interned string for the private GstPluginFeature
4643           plugin_name field.
4644
4645 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4646
4647         * docs/libs/gstreamer-libs-sections.txt:
4648           Add new API to docs; fixes the build.
4649
4650 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4651         
4652         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4653
4654         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4655         (gst_base_sink_event):
4656         * libs/gst/base/gstbasesink.h:
4657         Add function to wait for EOS, subclasses can use this to correctly wait
4658         for devices to drain before performing the EOS logic. Fixes #485343.
4659         API: gst_base_sink_wait_eos()
4660
4661 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4662
4663         * gst/gstplugin.h:
4664           Cast description string constants in GST_PLUGIN_DEFINE macros
4665           to a (gchar*) to make C++ code using these macros compile
4666           without warning with g++-4.2 (see #462737).  Even if slightly
4667           ugly, this seems preferable to putting the description strings
4668           into the GLib quark table or making the structure member a
4669           const gchar * and doing casts in core code that allocs and
4670           frees these strings, or requiring a cast in the C++ code.
4671
4672 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4673
4674         * gst/gstinfo.h:
4675           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4676           to print the entire class/function signature into the log
4677           file for C++ code.  This only affects C++ code, for C code
4678           everything remains the same.
4679
4680 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4681
4682         * gst/gstbin.c: (remove_from_queue):
4683         Work around a problem with pipelines containing (semi)loops until a
4684         proper, more complicated solution is ready. See #475455.
4685
4686 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4687
4688         * gst/gstplugin.c:
4689         * gst/gstplugin.h:
4690         * gst/gstregistrybinary.c:
4691         * gst/gstregistryxml.c:
4692           Put more strings into the GLib quark table. No need to keep
4693           a hundred-something copies of identical version strings,
4694           license strings, package name strings and package origin
4695           strings around. 
4696
4697 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4698
4699         * docs/manual/advanced-dataaccess.xml:
4700           Don't imply that it's okay to unconditionally change
4701           buffer data or buffer metadata in a pad probe callback,
4702           and a bunch of other comments. Fixes #430031.
4703
4704 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4705
4706         * win32/common/gstenumtypes.c:
4707         * win32/common/gstenumtypes.h:
4708         * win32/common/gstversion.h:
4709           Update generated files.
4710
4711 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4712
4713         * docs/manual/advanced-autoplugging.xml:
4714           Prefix section with broken code with a warning (see #342432).
4715
4716 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4717
4718         * docs/manual/appendix-integration.xml:
4719         * docs/manual/basics-init.xml:
4720           Call g_thread_init() before g_option_context_new() to
4721           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4722
4723 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4724
4725         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4726         (gst_base_sink_queue_object_unlocked),
4727         (gst_base_sink_queue_object), (gst_base_sink_event),
4728         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4729         When we received EOS and are waiting for when to post the EOS message,
4730         our state is prerolled and we should not return ASYNC.
4731         Reorganize some code paths to implement this behavior.
4732
4733         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4734         (gst_sinks_suite):
4735         Add unit test to verify above EOS fix.
4736
4737 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4738
4739         * plugins/elements/gsttypefindelement.c:
4740         (gst_type_find_element_have_type), (gst_type_find_element_init),
4741         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4742         Move detecting the input caps of the sinkpad to the setcaps function.
4743         This allows us to update the output caps when we receive new input caps
4744         instead of always using the first detected caps.
4745
4746 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4747
4748         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4749         (gst_base_sink_get_position):
4750         Don't try to preroll non-async elements after a flush.
4751         Subtract latency form clock times when reporting position.
4752
4753 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4754
4755         * gst/gstpad.c: (gst_pad_pause_task):
4756         * gst/gstutils.c:
4757         Small comment and documentation update.
4758
4759 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4760
4761         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4762         (gst_base_src_set_live), (gst_base_src_is_live),
4763         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4764         (gst_base_src_default_event), (gst_base_src_wait),
4765         (gst_base_src_do_sync), (gst_base_src_get_range),
4766         (gst_base_src_pad_get_range), (gst_base_src_loop),
4767         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4768         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4769         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4770         (gst_base_src_change_state):
4771         Rework the locking of basesrc in a similar fashion to basesink. We
4772         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4773         us to handle live sources and semi live ones much better.
4774         Simplify flushing.
4775         Fix unlocking when seeking, shutting down and pausing in live sources.
4776
4777 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4778
4779         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4780         Fix compilation again.
4781
4782 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4783
4784         * gst/gstelement.c:
4785           Use meaningful categories for the logs to clean the default one.
4786
4787 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4788
4789         * tests/check/pipelines/cleanup.c:
4790           Print message name and not just number.
4791
4792 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4793
4794         * docs/design/draft-tagreading.txt:
4795           Add some more thoughts.
4796
4797 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4798
4799         * tests/check/pipelines/simple-launch-lines.c:
4800           Print message name and not just number.
4801
4802 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4803
4804         * libs/gst/base/gsttypefindhelper.c:
4805           Speedup typefinding. This is work in progress (see #459862).
4806
4807 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4808
4809         * gst/gstplugin.c:
4810           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4811           Spotted by Josep Torra Valles <josep@fluendo.com>.
4812
4813 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4814
4815         * gst/gstclock.h:
4816           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4817           field has moved to GstObject.
4818
4819 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4820
4821         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4822         (gst_base_src_get_range), (gst_base_src_change_state):
4823         Call unlock for live sources so that they can't get stuck in _create and
4824         produce a buffer before they are set back to PLAYING.
4825
4826 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4827
4828         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4829         (gst_queue_locked_dequeue):
4830         Comment the segment-related code... in the PROPER function.
4831         See #482147 and my commit from yesterday.
4832
4833 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4834
4835         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4836         Also initialize the counter that calculates the first timestamp on a
4837         buffer correctly for non-live sources.
4838
4839 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4840
4841         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4842         Disable code that's breaking the current-time-level reporting.
4843         See #482147
4844
4845 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4846
4847         * docs/gst/gstreamer-sections.txt:
4848         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4849         as they shouldn't show up. Fixes the docs build.
4850
4851 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4852         
4853         * gst/gstinfo.h:
4854         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4855         Define M_PI which is used in files which are including gstinfo.h. 
4856         VS6 includes doesn't define it.
4857         * win32/common/libgstbase.def:
4858         * win32/common/libgstcontroller.def:
4859         * win32/common/libgstreamer.def:
4860         Add new exported functions and variables.
4861         * win32/vs6/libgstcontroller.dsp:
4862         * win32/vs6/libgstreamer.dsp:
4863         Update the list of files to build.
4864         
4865 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4866
4867         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4868
4869         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4870         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4871         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4872         Improve debugging. Fixes #480858.
4873
4874 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4875
4876         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4877
4878         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4879         First patch of code cleanups, use the macros and right arguments in the
4880         macros to signal and lock the queue. See #480858.
4881
4882 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4883
4884         * gst/gstbus.c: (poll_func):
4885         Improve debugging when dealing with _poll().
4886
4887 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4888
4889         * gst/gstregistryxml.c:
4890           Fix memory leak I introduced a few days ago.
4891
4892 2007-09-26  Michael Smith <msmith@fluendo.com>
4893
4894         * gst/gstbuffer.c: (gst_buffer_finalize):
4895           Make it once again possible to free GstBuffers in the default
4896           build.
4897           The poisoning scribbles on parts of the miniobject we need in
4898           order to free it.
4899           Fixes #480341
4900
4901 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4902
4903         * docs/gst/gstreamer-sections.txt:
4904         * gst/gsttaglist.c:
4905         * gst/gsttaglist.h:
4906         API: add GST_TAG_COMPOSER, fixes #459809.
4907
4908 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4909
4910         * gst/gstplugin.c:
4911         * gst/gstplugin.h:
4912         Add the 3-clause BSD license and the MIT/X11 license to the license
4913         list. Fixes #479784.
4914
4915 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4916
4917         * docs/faq/getting.xml:
4918           Add Q+A about different GStreamer versions (#364056).
4919
4920 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4921
4922         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4923         (gst_base_sink_event), (gst_base_sink_change_state):
4924         Return correct gboolean from query function.
4925
4926 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4927
4928         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4929         (gst_base_sink_event), (gst_base_sink_query),
4930         (gst_base_sink_change_state):
4931         Simplify latency query.
4932         When not synchronizing, we can report latency without querying the peer
4933         element.
4934
4935 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4936
4937         * gst/gstobject.h:
4938         * gst/gstvalue.c:
4939         Fix small typos in the docs.
4940
4941 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4942
4943         * docs/design/draft-latency.txt:
4944         * docs/design/draft-push-pull.txt:
4945         * docs/design/draft-tagreading.txt:
4946         * docs/design/part-MT-refcounting.txt:
4947         * docs/design/part-activation.txt:
4948         * docs/design/part-block.txt:
4949         * docs/design/part-element-source.txt:
4950         * docs/design/part-events.txt:
4951         * docs/design/part-gstbin.txt:
4952         * docs/design/part-gstelement.txt:
4953         * docs/design/part-gstobject.txt:
4954         * docs/design/part-gstpipeline.txt:
4955         * docs/design/part-messages.txt:
4956         * docs/design/part-preroll.txt:
4957         * docs/design/part-push-pull.txt:
4958         * docs/design/part-qos.txt:
4959         * docs/design/part-query.txt:
4960         * docs/design/part-scheduling.txt:
4961         * docs/design/part-seeking.txt:
4962         * docs/design/part-segments.txt:
4963         * docs/design/part-states.txt:
4964         Documentation updates and typo fixes.
4965
4966 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4967
4968         * plugins/elements/gstfakesink.c:
4969           Add some debug text to error message to indicate that
4970           we errored out on request.
4971
4972         * tools/gst-launch.c:
4973           When the state change to PLAYING fails, check for an
4974           error message on the bus and print it.
4975
4976 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4977
4978         translated by: Jorge González González <aloriel@gmail.com>
4979
4980         * po/LINGUAS:
4981         * po/es.po:
4982           Added Spanish translation.
4983
4984 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4985
4986         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4987         Fix printf arguments.
4988
4989 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4990
4991         * tests/check/generic/states.c:
4992           Improved state change unit test.
4993
4994 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4995
4996         * gst/gstbin.h:
4997           Move priv to the right place.
4998
4999         * gst/gstsystemclock.c:
5000           Add FIXME: and improve log.
5001
5002         * tests/check/Makefile.am:
5003         * tests/examples/manual/Makefile.am:
5004           Work with all types of registries.
5005
5006 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
5007
5008         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5009         Don't unref the event after pushing it. Fixes #478401.
5010
5011 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5012
5013         * .cvsignore:
5014         * tests/examples/manual/.cvsignore:
5015           Ignore registries in any format.
5016
5017 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5018
5019         * gst/glib-compat-private.h:
5020           Add compatibility macro for g_intern_string() for
5021           GLib-2.8 (any reason we can't just bump the
5022           requirement to at least 2.10?)
5023
5024         * gst/gstpadtemplate.h:
5025         * gst/gstelementfactory.c:
5026         * gst/gstregistryxml.c:
5027         * gst/gstregistrybinary.c:
5028           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5029           up the internal code accordingly.  This shouldn't be a problem, since
5030           there is no reason external code could ever assume the string in such
5031           a structure is dynamically allocated unless it did that itself;  the
5032           use of g_strdup() is private to element factories.  The new code also
5033           saves some memory by putting pad template name strings into the GLib
5034           quark table instead of allocating them dynamically.
5035           Declaring this field constant fixes warnings with g++-4.2 when using
5036           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5037
5038 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5039
5040         * gst/gstelementfactory.c:
5041           Release static caps. Fixes #475723.
5042
5043 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
5044
5045         * gst/gstinfo.c:
5046         * gst/gstinfo.h:
5047           Make some internal API take const gchar * instead of just
5048           gchar * to avoid compiler warnings with g++-4.2.2 when
5049           passing string constants (partially fixes #478092).
5050
5051 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5052
5053         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5054         A latency query fails when one of the sinks fail.
5055
5056         * gst/gstelement.c: (gst_element_set_base_time):
5057         Improve debugging.
5058
5059 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5060
5061         * gst/gstbin.c: (gst_bin_continue_func):
5062         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5063         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5064         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5065
5066         Fix minor compilation warnings shown with Forte.
5067
5068 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5069
5070         * plugins/elements/gstqueue.c: (apply_buffer),
5071         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5072         Measure queue level based on the diff between head and tail timestamps
5073         even when pushing the first buffer.
5074
5075 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5076
5077         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5078         (gst_base_sink_event), (gst_base_sink_change_state):
5079         Sinks that don't preroll can always be queried for the latency.
5080         Don't post ASYNC start when we are not async.
5081
5082 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5083
5084         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5085         (gst_queue_handle_sink_event), (gst_queue_chain),
5086         (gst_queue_push_one), (gst_queue_handle_src_query),
5087         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5088         * plugins/elements/gstqueue.h:
5089         When downstream returns UNEXPECTED from pushing a buffer, don't try to
5090         push more buffers but allow pushing of EOS and NEWSEGMENT.
5091         Add some more debug info here and there. Fixes #476514.
5092
5093 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5094
5095         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5096         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5097         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5098         (gst_base_sink_set_flushing), (gst_base_sink_query),
5099         (gst_base_sink_change_state):
5100         Latency query is allowed after we are prerolled. Introduce a new flag
5101         for this and stop abusing other variables.
5102
5103 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5104
5105         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5106         Push OOB events downstream when we get them in send_event. This allows
5107         the application to insert events in the pipeline.
5108         Add some more comments.
5109
5110 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5111
5112         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5113         (do_bin_latency), (gst_bin_change_state_func):
5114         * gst/gstpipeline.c: (gst_pipeline_change_state):
5115         Move latency query from GstPipeline to GstBin so that we can also
5116         use it when async-handling is enabled on bins.
5117
5118 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5119
5120         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5121         (gst_base_src_do_sync), (gst_base_src_change_state):
5122         Update docs.
5123         Clean up the timestamping and syncing code for pseudo live sources.
5124
5125 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
5126
5127         Patch by: Steve Fink  <sphink gmail com>
5128
5129         * docs/manual/appendix-checklist.xml:
5130           Mention less -R switch in the section about debug output (#474055).
5131
5132 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5133
5134         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5135         Queue can latency to the pipeline up to the configured max size in time.
5136         Report this fact in the latency query.
5137
5138 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5139
5140         Patch by: Sebastien Moutte <sebastien at moutte dot net>
5141
5142         * libs/gst/controller/gstinterpolation.c:
5143         * libs/gst/controller/gstlfocontrolsource.c:
5144         Use gst_guint64_to_gdouble() when converting from a uint64 or
5145         GstClockTime to double to fix the build on win32. Fixes #474371.
5146
5147 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5148
5149         * gst/gstbuffer.c: (gst_buffer_finalize):
5150         Implement poisoning for GstBuffer if --enable-poisoning is specified.
5151         When finalizing a buffer the complete struct is filled with 0xff,
5152         thus making a use of the buffer after the final unref impossible.
5153
5154 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5155
5156         * tests/check/libs/controller.c: (GST_START_TEST):
5157         Use fail_unless_equals_int(a, b) instead of
5158         fail_unless_equals (a == b) to get better output on failures.
5159
5160 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5161
5162         * tests/check/gst/gsturi.c:
5163           Also check for the other file URI variant on win32.
5164
5165 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5166
5167         * gst/gsturi.c: (gst_uri_get_location):
5168           If there's no hostname, we want to return 'c:/foo/bar.txt'
5169           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5170
5171         * tests/check/gst/gsturi.c:
5172           Unit test for the above and a few more things.
5173
5174 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5175
5176         * docs/design/part-live-source.txt:
5177         Add docs on how live sources should timestamp.
5178
5179         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5180         Add some more debug info.
5181         For subclasses that are live and like to sync, add aditional startup
5182         latency to sync time and timestamps so that we timstamp according to the
5183         design doc.
5184
5185 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5186
5187         * gst/gstbuffer.c:
5188           Also do a g_type_class_ref() for the subbuffer type in
5189           the init function.
5190
5191 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5192
5193         * docs/gst/gstreamer-sections.txt:
5194         * gst/gstpad.c: (gst_pad_peer_query):
5195         * gst/gstpad.h:
5196         Add function to perform a query on the peer of a pad.
5197         API: gst_pad_peer_query()
5198
5199 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
5200
5201         * tests/check/gst/gstsystemclock.c:
5202           Cleanup the test a little (use gst-logging and not g_message). Improve
5203           test to check if a wait reached the target.
5204
5205 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5206
5207         * docs/libs/gstreamer-libs-sections.txt:
5208           Add new API to docs and fix the build.
5209
5210 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
5211
5212         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5213         (gst_base_src_init), (gst_base_src_set_do_timestamp),
5214         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5215         (gst_base_src_get_property), (gst_base_src_do_sync):
5216         * libs/gst/base/gstbasesrc.h:
5217         Add property to make the basesrc timestamp buffers based on the current
5218         running time.
5219         API: GstBaseSrc::do-timestamp
5220         API: gst_base_src_set_do_timestamp()
5221         API: gst_base_src_get_do_timestamp()
5222
5223 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
5224
5225         * docs/random/release:
5226           Really make sure translations are up-to-date before
5227           a release (#465010).
5228
5229 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
5230
5231         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5232         Always destroy the timer, also in error cases.
5233
5234 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5235
5236         * docs/manual/highlevel-xml.xml:
5237         Fix XML example code. Fixes #472714.
5238
5239 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5240
5241         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5242         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5243         (gst_base_sink_query):
5244         Protect eos and have_preroll with the OBJECT lock so we don't need to
5245         take the PREROLL lock when querying the latency. Fixes #473846.
5246
5247 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
5248
5249         * gst/gstelement.c:
5250           Give some log-messages a category.
5251
5252 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
5253
5254         * gst/gststructure.c:
5255         (gst_structure_fixate_field_nearest_fraction):
5256         Fix fraction list fixation code. Take the fraction with the smallest
5257         difference with the target instead of the first one in the list.
5258
5259         * tests/check/gst/gststructure.c: (GST_START_TEST),
5260         (gst_structure_suite):
5261         Added test to verify correct fraction list fixation behaviour.
5262
5263 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
5264
5265         * win32/common/libgstreamer.def:
5266           Export gst_bus_add_signal_watch too.
5267
5268 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
5269
5270         * docs/libs/gstreamer-libs-sections.txt:
5271         Add new methods to docs.
5272
5273         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5274         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5275         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5276         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5277         * libs/gst/base/gstbasesink.h:
5278         Add ts-offset property to fine-tune the synchronisation.
5279         API: GstBaseSink::ts-offset property
5280         API: gst_base_sink_set_ts_offset()
5281         API: gst_base_sink_get_ts_offset()
5282
5283 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
5284
5285         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5286         (gst_base_sink_init), (gst_base_sink_set_sync),
5287         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5288         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5289         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5290         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5291         (gst_base_sink_get_property), (gst_base_sink_change_state):
5292         * libs/gst/base/gstbasesink.h:
5293         Add async property to instruct the sink never to inform the parent about
5294         ASYNC state changes, update docs.
5295         Check argument with g_return_* for the public functions.
5296         API: GstBaseSink::async property
5297         API: gst_base_sink_set_async_enabled()
5298         API: gst_base_sink_is_async_enabled()
5299
5300 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5301
5302         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5303         Improve debugging.
5304
5305         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5306         (gst_base_src_default_query), (gst_base_src_wait),
5307         (gst_base_src_do_sync), (gst_base_src_change_state):
5308         Rearrange some code so that we can add support for measuring the 
5309         startup latency.
5310
5311 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5312
5313         * docs/random/ensonic/dynlink.txt:
5314           More thoughs on this.
5315
5316         * plugins/elements/gstcapsfilter.c:
5317           Add bugzilla ticket number to FIXME comment.
5318
5319 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5320
5321         * docs/design/part-TODO.txt:
5322         * docs/design/part-block.txt:
5323         Update some docs.
5324
5325 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5326
5327         * gst/Makefile.am:
5328           Revert patch which uses $(gst_headers) instead of $^ because it
5329           breaks make dist.
5330
5331 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5332
5333         * tests/check/gst/gstbin.c: (GST_START_TEST):
5334           Fix leaks in the new unit test.
5335
5336 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5337
5338         * gst/gst.c:
5339           Don't use GST_INFO before the debug system is actually initialised
5340           (shouldn't do any harm, but won't print anything either, so we can
5341           just as well remove it).
5342
5343         * gst/gstinfo.h:
5344           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5345           compilers that don't support variadic macros (such as MSVC), should
5346           check for debug_level <= __gst_debug_min as well, since that's the
5347           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5348           inline helper functions. Should improve performance a bit, but also
5349           makes sure uses of GST_INFO et.al are ignored if the debugging
5350           system isn't initialised yet (instead of printing an assertion
5351           failure).
5352
5353 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5354
5355         patch by: David Nečas <yeti@physics.muni.cz>
5356
5357         * gst/Makefile.am:
5358           Replace some non portable makefile constructs.
5359
5360 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5361
5362         * common/gtk-doc-plugins.mak:
5363           Grrrrr. Don't remove the types file on make clean.
5364
5365 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5366
5367         * tools/gst-launch.1.in:
5368         Add colorspace to example pipeline. Fixes #458274.
5369
5370 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5371
5372         * docs/random/release:
5373           The release manager should run 'make download-po' before making a
5374           release to make sure translations are up-to-date.
5375
5376         * po/LINGUAS:
5377         * po/be.po:
5378         * po/pl.po:
5379         * po/rw.po:
5380           Add some new translations.
5381
5382 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5383
5384         * tools/gst-launch.c: (event_loop), (main):
5385         Don´t try to do any state management when a live pipeline posts
5386         buffering messages.
5387         Also make the buffering string translatable.
5388
5389 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5390
5391         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5392         (bin_handle_async_start), (gst_bin_handle_message_func):
5393         Improve debugging.
5394         When adding elements, insert messages into the bus of the newly added
5395         element and make sure the element is the source of the message. This
5396         allows the parent bin to intercept the message and do the
5397         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5398         messages to the app (which is not allowed).
5399         Update some docs.
5400
5401         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5402         Fix testsuite so that is does not work around messages that should not
5403         have been posted in the first place.
5404
5405 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5406
5407         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5408         (update_degree), (gst_bin_sort_iterator_next):
5409         Fix annoying bug in the sorted iterator where a sink that is not really
5410         a sink (when it has downstream links) screwed up the iterator.
5411
5412         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5413         Unit test to verify the fix.
5414
5415 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5416
5417         * gst/gstmessage.h:
5418         Add some more docs for the messages.
5419
5420         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5421         (gst_base_sink_query):
5422         Add some more debugging.
5423
5424         * tools/gst-launch.c: (event_loop):
5425         When interrupting, don't try to set pipeline to PAUSED twice.
5426
5427 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5428
5429         
5430         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5431         (bin_handle_async_start), (gst_bin_handle_message_func):
5432         Move ASYNC_START message posting to where it belongs, similar to
5433         async_done. 
5434         Don't post ASYNC_START when we are in error. 
5435         Post ASYNC_START when we added an async element to a bin.
5436
5437 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5438
5439         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5440         generation from vargs. Fixes #466595.
5441
5442 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5443
5444         * gst/gstbin.c: (gst_bin_element_set_state):
5445         Always change the state of a NO_PREROLL element even if it has ASYNC
5446         elements inside (in case of a bin).
5447
5448         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5449         Unit test for this case.
5450
5451 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5452
5453         * libs/gst/check/gstbufferstraw.c:
5454         * libs/gst/check/gstcheck.h:
5455         * libs/gst/controller/gstcontroller.c:
5456         * libs/gst/controller/gstcontrolsource.h:
5457         * libs/gst/controller/gstlfocontrolsource.h:
5458         * plugins/elements/gstcapsfilter.h:
5459         * plugins/elements/gstfdsink.h:
5460         * plugins/elements/gstfdsrc.h:
5461           Add more missing docs.
5462
5463 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5464
5465         * gst/gststructure.c:
5466         Add Since tag to docs.
5467
5468 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5469
5470         * docs/gst/gstreamer-sections.txt:
5471         * gst/gststructure.c: (gst_structure_get_uint):
5472         * gst/gststructure.h:
5473         Add function to get uint from a structure.
5474         API: gst_structure_get_uint()
5475
5476 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5477
5478         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5479         (gst_caps_intersect):
5480         Fix proper check for simple caps.
5481
5482 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5483
5484         * docs/gst/Makefile.am:
5485         * docs/libs/Makefile.am:
5486           Remove cruft and do some cleanups.
5487
5488         * docs/gst/gstreamer-docs.sgml:
5489         * docs/libs/gstreamer-libs-docs.sgml:
5490           Prepare for comming gtkdoc features (rebase against online docs).
5491
5492 2007-08-10  Michael Smith <msmith@fluendo.com>
5493
5494         * docs/gst/gstreamer-sections.txt:
5495           Add gst_registry_add_path to docs.
5496
5497 2007-08-10  Michael Smith <msmith@fluendo.com>
5498
5499         * gst/gstregistry.h:
5500           Add gst_registry_add_path, which was missing from this header.
5501
5502 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5503
5504         * libs/gst/controller/gstlfocontrolsource.c:
5505           Printf format fix.
5506
5507 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5508
5509         * libs/gst/base/gstbasesink.c:
5510           Don't send an async_start message during downwards state change if 
5511           target state is less than READY
5512
5513 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5514
5515         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5516
5517         * po/LINGUAS:
5518         * po/hu.po:
5519           Added Hungarian translation.
5520
5521 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5522
5523         * po/fi.po:
5524         * po/it.po:
5525         * po/nl.po:
5526         * po/sv.po:
5527         * po/uk.po:
5528           Updated translations.
5529
5530 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5531
5532         * libs/gst/controller/Makefile.am:
5533         Dist gstlfocontrolsourceprivate.h
5534
5535 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5536
5537         * docs/libs/gstreamer-libs.types:
5538         Don't register the enum type gst_lfo_waveform_get_type() in the
5539         .types file - only GObject derived types belong.
5540
5541 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5542
5543         Patch by: <arenevier at fdn dot fr>
5544
5545         * gst/gstbuffer.h:
5546         Remove comma from last element in enum to avoid compile errors when
5547         using -pendantic. Fixes #464366.
5548
5549 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5550
5551         * docs/design/part-TODO.txt:
5552         Add some more TODO items
5553
5554         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5555         Improve debugging.
5556
5557         * gst/gstcaps.c: (gst_caps_intersect):
5558         Optimize trivial intersection case between identical caps pointers.
5559
5560         * gst/gstelement.c: (gst_element_continue_state),
5561         (gst_element_set_state_func):
5562         * gst/gstpad.c:
5563         Fix spelling and grammar mistakes.
5564
5565 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5566
5567         * po/POTFILES.in:
5568         * po/POTFILES.skip:
5569           Update POTFILES. Fixes #461599.
5570
5571 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5572
5573         * gst/gst.c:
5574         Fix confusing typo in debug output.
5575
5576 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5577
5578         reviewed by: Stefan Kost <ensonic@users.sf.net>
5579
5580         * libs/gst/controller/Makefile.am:
5581         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5582         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5583         (gst_lfo_control_source_new),
5584         (gst_lfo_control_source_set_waveform),
5585         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5586         (gst_lfo_control_source_finalize),
5587         (gst_lfo_control_source_dispose),
5588         (gst_lfo_control_source_set_property),
5589         (gst_lfo_control_source_get_property),
5590         (gst_lfo_control_source_class_init):
5591         * libs/gst/controller/gstlfocontrolsource.h:
5592         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5593         API: Add GstLFOControlSource, a control source that gives values
5594         for specific timestamps based on several periodic waveforms.
5595         Fixes #459717.
5596
5597         * tests/check/libs/controller.c: (GST_START_TEST),
5598         (gst_controller_suite):
5599         * docs/libs/gstreamer-libs-docs.sgml:
5600         * docs/libs/gstreamer-libs-sections.txt:
5601         * docs/libs/gstreamer-libs.types:
5602         Add documentation and unit tests for GstLFOControlSource.
5603
5604 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5605
5606         * configure.ac:
5607         Back to CVS
5608
5609 === release 0.10.14 ===
5610
5611 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5612
5613         * configure.ac:
5614           releasing 0.10.14, "Breathing Vacuum"
5615
5616 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5617
5618         * gst/gstelement.c: (gst_element_class_set_details_simple):
5619         * gst/gstelement.h:
5620           Make strings passed to gst_element_class_set_details_simple()
5621           constant, as they should be (#462752).
5622
5623 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5624
5625         * gst/gstbin.c: (gst_bin_change_state_func),
5626         (bin_handle_async_done), (gst_bin_handle_message_func):
5627         Don't forget about the fact that some element went ASYNC even after a
5628         resync. This makes us post the ASYNC_DONE message correctly.
5629         Fixes #462558.
5630
5631 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5632
5633         * gst/gstregistry.c: (gst_registry_add_feature):
5634         When replacing an existing feature in the registry, make sure to
5635         continue holding a reference until we've replaced the name string
5636         within our feature hash table. Make sure to use g_hash_table_replace
5637         instead of g_hash_table_insert to ensure the new name string is used
5638         as a key instead of the old one that we're about to free.
5639         Fixes: #462085
5640
5641 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5642
5643         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5644         (gst_plugin_feature_set_name):
5645         Revert patch from #459466 until after the release and we can work
5646         out exactly what the problem is (if any).
5647
5648 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5649
5650         * docs/gst/gstreamer-sections.txt:
5651         * gst/gsttaglist.c:
5652         * gst/gsttaglist.h:
5653           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5654
5655 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5656
5657         * docs/libs/Makefile.am:
5658         Include our build-prefix libs and includes before the generic ones to
5659         avoid linking against the installed libs when we want the build-tree
5660         ones.
5661
5662 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5663
5664         Patch by: Steve Fink  <sphink gmail com>
5665
5666         * docs/pwg/building-testapp.xml:
5667           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5668           if people try to build or install the example from the plugin
5669           template against a GStreamer from package using the configure
5670           defaults.
5671
5672 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5673
5674         Patch by: Steve Fink  <sphink gmail com>
5675
5676         * tools/gst-inspect.1.in:
5677           Document --print-all and --print-plugin-auto-install-info command
5678           line options in man page.
5679
5680 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5681
5682         * docs/gst/gstreamer-sections.txt:
5683         Add docs for new api function.
5684
5685 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5686
5687         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5688         * gst/gstelementfactory.h:
5689         API: gst_element_factory_has_interface()
5690         Added method to check if an element factory implements a named
5691         interface.
5692
5693 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5694
5695         * configure.ac:
5696         * docs/gst/gstreamer.types.in:
5697           Another conditional doc check.
5698
5699         * gst/gstmessage.c:
5700         * gst/gstparamspecs.h:
5701         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5702         * gst/gstvalue.c:
5703         * gst/gstxml.h:
5704           API-doc fixes.
5705
5706 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5707
5708         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5709         (gst_registry_binary_load_feature),
5710         (gst_registry_binary_load_plugin),
5711         (gst_registry_binary_read_cache):
5712           Print error just once and with additional info.
5713
5714 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5715
5716         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5717         (helper_find_suggest), (helper_find_get_length),
5718         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5719         (gst_type_find_helper_for_buffer):
5720           Cleanup the typefindhelper code and add private doc comments.
5721
5722 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5723
5724         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5725         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5726         Fix capsfilter for cases where the caps set on capsfilter will provide
5727         additional information.
5728         Fixes #449197
5729
5730 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5731
5732         * gst/gsttypefindfactory.c:
5733           Fix docs that recommened wrong function to use.
5734
5735 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5736
5737         * tools/gst-inspect.c: (print_plugin_features):
5738           Also give media-type for typefinders in element output.
5739
5740 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5741
5742         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5743         (gst_registry_remove_features_for_plugin_unlocked),
5744         (gst_registry_add_feature), (gst_registry_remove_feature),
5745         (gst_registry_lookup_feature_locked):
5746         * gst/gstregistry.h:
5747           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5748           Fixes #459501.
5749
5750 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5751
5752         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5753         (gst_plugin_feature_set_name):
5754           Avoid double memory usage for pluginfeature names. Fixes #459466.
5755
5756 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5757
5758         * gst/gstpad.h:
5759           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5760           driving the pipeline may need to explicitly check for NOT_LINKED as
5761           well, since IS_FATAL doesn't cover that.
5762
5763 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5764
5765         * docs/pwg/advanced-types.xml:
5766           Fix typo and duplicate entry in video formats list.
5767
5768 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5769
5770         * libs/gst/controller/gstinterpolation.c:
5771         Also round to the nearest int when using cubic interpolation.
5772
5773 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5774
5775         * libs/gst/controller/gstinterpolation.c:
5776         When linearly interpolating integer types, round to the nearest int
5777         by adding 0.5. Don't do it for float/double types.
5778         Fixes the failing controller test on my machine, which is somehow
5779         rounding differently than on the buildbots.
5780
5781 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5782
5783         * tools/gst-plot-timeline.py:
5784           Better log parsing (categories can have -). Adjust text vs. lines, so
5785           that they span the same y-range.        
5786
5787 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5788
5789         * docs/random/ensonic/audiobaseclasses.txt:
5790         * docs/random/ensonic/dynlink.txt:
5791         * docs/random/ensonic/profiling.txt:
5792           Save my thoughts.
5793
5794         * docs/random/moving-plugins:
5795           Add note to use g_assert type macros.
5796
5797 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5798
5799         * configure.ac:
5800         * libs/gst/check/Makefile.am:
5801           Add libm check as we use in for plugins.
5802
5803 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5804
5805         * gst/gstbin.c: (gst_bin_continue_func):
5806         Check that the state_cookie hasn't changed since the continue_func
5807         was scheduled. Avoids problems where the state changes back to
5808         something it shouldn't be because it was changed in the meantime.
5809
5810 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5811
5812         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5813         (gst_registry_binary_save_string),
5814         (gst_registry_binary_save_pad_template),
5815         (gst_registry_binary_save_feature),
5816         (gst_registry_binary_save_plugin),
5817         (gst_registry_binary_load_feature),
5818         (gst_registry_binary_load_plugin),
5819         (gst_registry_binary_read_cache):
5820           Fix memory leak. Be less verbose in the log.
5821
5822 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5823
5824         * tests/check/elements/.cvsignore:
5825         Add file to cvsignore as commanded.
5826
5827 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5828
5829         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5830         (mq_dummypad_event), (run_output_order_test):
5831         Use a GStaticMutex to protect all cases where libcheck
5832         fail_if/fail_unless macros might be called from multiple threads
5833         simultaneously to avoid errors like:
5834           "check_pack.c:107: :-1081725400:Bad message type arg"
5835
5836 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5837
5838         * tests/check/pipelines/stress.c: (GST_START_TEST):
5839         Make sure we set the pipeline back to the NULL state before
5840         dropping our final reference.
5841
5842 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5843
5844         * tests/check/elements/tee.c: (GST_START_TEST):
5845         Make the tee stress-test a little less stressful so it doesn't just
5846         time out on slow-machines, and remove a small race when it's starting 
5847         up by adding a get_state() call.
5848
5849 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5850
5851         * gst/gst.c:
5852           Avoid reading registry twice on startup. Fixes #457322.
5853
5854 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5855
5856         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5857         * pkgconfig/gstreamer-check.pc.in:
5858         Substitute the CFLAGS for libcheck into our .pc file too so that
5859         dependent modules will pick it up properly if libcheck is installed
5860         into some other prefix.
5861
5862 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5863
5864         * configure.ac:
5865         Revert the pkg-config check for libcheck, since it pulls in the
5866         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5867         a proper solution, either from the check project, or something else.
5868
5869 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5870
5871         * configure.ac:
5872           Use pkg-config to locate check.
5873
5874 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5875
5876         * gst/gsttaglist.c:
5877           Fix doc syntax.
5878
5879         * gst/gstutils.c:
5880         * gst/gstutils.h:
5881           Add deprecation guards.
5882
5883         * libs/gst/base/gstcollectpads.h:
5884           Don't document object (this is implicitly private).
5885
5886 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5887
5888         * gst/gststructure.c: (gst_structure_parse_value):
5889           When deserialising foo=bar without a type cast, check if it's a
5890           boolean before falling back to a string type, otherwise things like
5891           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5892           because the filtercaps end up having a signed=(string)true field,
5893           which causes problems later when intersection caps.
5894
5895         * tests/check/gst/gststructure.c: (GST_START_TEST):
5896           Add a unit test for this.
5897
5898 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5899
5900         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5901
5902         * libs/gst/controller/Makefile.am:
5903         * libs/gst/controller/gstcontroller.c:
5904         (gst_controlled_property_add_interpolation_control_source),
5905         (gst_controlled_property_new), (gst_controlled_property_free),
5906         (gst_controller_find_controlled_property),
5907         (gst_controller_new_valist), (gst_controller_new_list),
5908         (gst_controller_new), (gst_controller_remove_properties_valist),
5909         (gst_controller_remove_properties_list),
5910         (gst_controller_remove_properties),
5911         (gst_controller_set_property_disabled),
5912         (gst_controller_set_disabled), (gst_controller_set_control_source),
5913         (gst_controller_get_control_source), (gst_controller_get),
5914         (gst_controller_sync_values), (gst_controller_get_value_array),
5915         (_gst_controller_dispose), (gst_controller_get_type),
5916         (gst_controlled_property_set_interpolation_mode),
5917         (gst_controller_set), (gst_controller_set_from_list),
5918         (gst_controller_unset), (gst_controller_unset_all),
5919         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5920         * libs/gst/controller/gstcontroller.h:
5921         * libs/gst/controller/gstcontrollerprivate.h:
5922         * libs/gst/controller/gstcontrolsource.c:
5923         (gst_control_source_class_init), (gst_control_source_init),
5924         (gst_control_source_get_value),
5925         (gst_control_source_get_value_array), (gst_control_source_bind):
5926         * libs/gst/controller/gstcontrolsource.h:
5927         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5928         (gst_object_get_control_source):
5929         * libs/gst/controller/gstinterpolation.c:
5930         (gst_interpolation_control_source_find_control_point_node),
5931         (gst_interpolation_control_source_get_first_value),
5932         (_interpolate_none_get), (interpolate_none_get),
5933         (interpolate_none_get_boolean_value_array),
5934         (interpolate_none_get_enum_value_array),
5935         (interpolate_none_get_string_value_array),
5936         (_interpolate_trigger_get), (interpolate_trigger_get),
5937         (interpolate_trigger_get_boolean_value_array),
5938         (interpolate_trigger_get_enum_value_array),
5939         (interpolate_trigger_get_string_value_array):
5940         * libs/gst/controller/gstinterpolationcontrolsource.c:
5941         (gst_control_point_free), (gst_interpolation_control_source_reset),
5942         (gst_interpolation_control_source_new),
5943         (gst_interpolation_control_source_set_interpolation_mode),
5944         (gst_interpolation_control_source_bind),
5945         (gst_control_point_compare), (gst_control_point_find),
5946         (gst_interpolation_control_source_set_internal),
5947         (gst_interpolation_control_source_set),
5948         (gst_interpolation_control_source_set_from_list),
5949         (gst_interpolation_control_source_unset),
5950         (gst_interpolation_control_source_unset_all),
5951         (gst_interpolation_control_source_get_all),
5952         (gst_interpolation_control_source_get_count),
5953         (gst_interpolation_control_source_init),
5954         (gst_interpolation_control_source_finalize),
5955         (gst_interpolation_control_source_dispose),
5956         (gst_interpolation_control_source_class_init):
5957         * libs/gst/controller/gstinterpolationcontrolsource.h:
5958         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5959         API: Refactor GstController into the core controller which can take
5960         a GstControlSource for providing actual values for timestamps.
5961         Implement a interpolation control source and use this for backward
5962         compatibility, deprecate a bunch of functions that are now handled
5963         by GstControlSource or GstInterpolationControlSource.
5964         Make it possible to disable the controller completely or only for
5965         specific properties. Fixes #450711.
5966         * docs/libs/gstreamer-libs-docs.sgml:
5967         * docs/libs/gstreamer-libs-sections.txt:
5968         * docs/libs/gstreamer-libs.types:
5969         Add new functions and classes to the docs.
5970         * tests/check/libs/controller.c: (GST_START_TEST),
5971         (gst_controller_suite):
5972         * tests/examples/controller/audio-example.c: (main):
5973         Port unit test and example to the new API and add some new
5974         unit tests.
5975
5976 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5977
5978         Patch by: Mark Nauwelaerts <manauw at skynet be>
5979
5980         * plugins/elements/gstmultiqueue.c:
5981         (gst_multi_queue_get_internal_links), (apply_buffer),
5982         (single_queue_overrun_cb), (gst_single_queue_new):
5983         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5984         the pipeline layout can be tracked correctly. Fixes #453732.
5985
5986 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5987
5988         * docs/gst/Makefile.am:
5989         * docs/libs/Makefile.am:
5990         * docs/plugins/Makefile.am:
5991           Simplify --extra-dir as gtkdoc scans recursively.
5992
5993 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5994
5995         * tools/gst-launch.c: (main):
5996         When we got an error, there is no point in waiting for preroll when
5997         shutting down.
5998
5999 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6000
6001         * plugins/elements/gsttee.c: (gst_tee_base_init),
6002         (gst_tee_request_new_pad), (gst_tee_release_pad),
6003         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6004         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6005         (gst_tee_chain):
6006         Be a lot smarter when deciding what srcpad to use for proxying
6007         the buffer_alloc. Also handle pad added/removed when doing so.
6008         Fixes #357959.
6009         Keep track of what pads we already pushed on in case we have pads
6010         added/removed while pushing. Fixes #374639 
6011
6012         * tests/check/Makefile.am:
6013         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6014         (tee_suite):
6015         Added unit test for pad resync.
6016
6017 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6018
6019         * po/nl.po:
6020         * po/sv.po:
6021           Updated translations.
6022
6023 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6024
6025         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6026
6027         * po/LINGUAS:
6028         * po/fi.po:
6029           Added new Finnish translation.
6030
6031 2007-06-28  Wim Taymans  <wim@fluendo.com>
6032
6033         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6034         (single_queue_overrun_cb):
6035         When figuring out when a queue is filled, use our internal time estimate
6036         based on segments, just like check_full does.
6037
6038 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6039
6040         * gst/gstminiobject.c: (gst_mini_object_get_type):
6041           Remove 3 do-nothing methods.
6042
6043 2007-06-27  Wim Taymans  <wim@fluendo.com>
6044
6045         Patch by: Tim Angus <tim at ngus dot net>
6046
6047         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6048         (gst_capsfilter_set_property):
6049         Take a reference instead of a copy when setting "caps".
6050         Fix documentation to clarify this behaviour. Fixes #449414.
6051
6052 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6053
6054         * gst/gstindexfactory.c: (gst_index_factory_get_type):
6055         * gst/gstplugin.c: (gst_plugin_init):
6056         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6057         * gst/gstquery.c: (gst_query_get_type):
6058         * gst/gstregistry.c: (gst_registry_init):
6059         * gst/gsturi.c: (gst_uri_handler_base_init):
6060           Remove empty instance_init() functions to save relocs and lessen the
6061           noise. Remove some of the function prototypes that are doubled by
6062           G_DEFINE_TYPE.
6063           
6064 2007-06-27  Wim Taymans  <wim@fluendo.com>
6065
6066         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6067
6068         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6069         Add peer and direction in the XML serialisation of ghostpads.
6070         Fixes #449226.
6071
6072 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6073
6074         * configure.ac:
6075           Preserve useful information, thanks Tim.
6076
6077 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
6078
6079         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6080         (gst_single_queue_flush), (apply_segment), (apply_buffer),
6081         (gst_single_queue_push_one), (gst_multi_queue_loop),
6082         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6083         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6084         (compute_high_id), (gst_single_queue_new):
6085         * plugins/elements/gstmultiqueue.h:
6086         Take the multiqueue lock when updating the fill level so we don't get
6087         confused. 
6088
6089         After applying a buffer or event on the src pad segment, make sure to
6090         call gst_data_queue_limits_changed() to get the data queue to unblock
6091         and check the filled state again.
6092         
6093         Rework the not-linked pad handling so the logic is that not-linked 
6094         pads can push as fast as they like, but only so they never get 
6095         ahead of any linked pads.
6096
6097         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6098         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6099         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6100
6101         Add a test to check that not-linked pads always stay behind
6102         linked pads.
6103
6104         Fixes: #430682
6105
6106 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
6107
6108         * docs/random/release:
6109           Some updates to the release procedure.
6110
6111 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6112
6113         * gst/gstelementfactory.c: (__gst_element_details_clear):
6114           Microoptimization that saves stunning 80 bytes.
6115
6116 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
6117
6118         * docs/plugins/gstreamer-plugins.args:
6119         * docs/plugins/inspect/plugin-coreelements.xml:
6120         * docs/plugins/inspect/plugin-coreindexers.xml:
6121           Update docs with caps info.
6122
6123 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6124
6125         * po/it.po:
6126           Updated Italian translation.
6127
6128 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6129
6130         * ChangeLog:
6131         * po/vi.po:
6132           Update Vietnamese translations.
6133
6134 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6135
6136         * libs/gst/base/gstbasesink.c:
6137           Remove unused signal enum.
6138
6139 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6140
6141         * docs/gst/gstreamer-sections.txt:
6142         * gst/gstelement.c:
6143         * gst/gstutils.c: (gst_type_register_static_full):
6144         Beef up and include the docs for gst_type_register_static_full and
6145         gst_element_class_set_details_simple and add the API keyword
6146         in the ChangeLog.
6147
6148 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6149
6150         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6151         (update_time_level), (gst_single_queue_push_one),
6152         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6153         (single_queue_overrun_cb), (single_queue_underrun_cb),
6154         (single_queue_check_full):
6155         Fix setting max-* properties after adding queues.
6156         Use IS_FILLED for checking visible items.
6157         Signal overrun if multiple queues overrun.
6158         Add extra debug output.
6159         Patch by: Wim Taymans <wim@fluendo.com>
6160
6161 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
6162
6163         * gst/gstelement.c: (gst_element_class_set_details_simple):
6164         * gst/gstelement.h:
6165         * gst/gstutils.c: (gst_type_register_static_full):
6166         * gst/gstutils.h:
6167         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6168         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6169         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6170         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6171         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6172         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6173         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6174         * plugins/elements/gstidentity.c: (gst_identity_base_init):
6175         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6176         * plugins/elements/gstqueue.c: (gst_queue_base_init),
6177         (apply_buffer), (gst_queue_chain):
6178         * plugins/elements/gsttee.c: (gst_tee_base_init):
6179         * plugins/elements/gsttypefindelement.c:
6180         (gst_type_find_element_base_init),
6181         (gst_type_find_element_class_init):
6182           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6183           API: add gst_type_register_static_full
6184           API: add gst_element_class_set_details_simple
6185
6186 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6187
6188         * docs/pwg/advanced-types.xml:
6189           Fix typo in iana.org URI.
6190
6191 2007-06-19  Andy Wingo  <wingo@pobox.com>
6192
6193         * tests/check/pipelines/simple-launch-lines.c
6194         (test_state_change_returns): Enable pull-mode tests now that
6195         basesink has been fixed.
6196
6197         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6198         Changed from gst_base_sink_is_prerolled, reversing the sense of
6199         the return value. Returns FALSE also if the sink is in pull mode,
6200         in which case it needs no preroll.
6201         (gst_base_sink_query, gst_base_sink_change_state): Update for
6202         needs_preroll change.
6203         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6204         chaining up, in which we return SUCCESS directly if we activated
6205         in pull mode instead of ASYNC. Involves countering an async_start
6206         message sent before chaining up; not sure if this is correct, in
6207         an ideal world we only send async-start when activating in push
6208         mode.
6209
6210         * tests/check/pipelines/simple-launch-lines.c
6211         (test_state_change_returns): New test, partially disabled until
6212         basesink is fixed.
6213
6214 2007-06-19  Wim Taymans  <wim@fluendo.com>
6215
6216         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6217         (gst_multi_queue_sink_event):
6218         Fix event leak.
6219
6220 2007-06-19  Wim Taymans  <wim@fluendo.com>
6221
6222         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6223         (gst_bin_change_state_func), (bin_push_state_continue),
6224         (bin_handle_async_start), (bin_handle_async_done),
6225         (gst_bin_handle_message_func):
6226         Move the common code for posting state-change messages into
6227         one function.
6228         Broadcast the state signal after we posted the messages.
6229         Mark the bin as busy when it's doing a state-change.
6230         Make sure async-start/done messages don't interfere with the bin's
6231         state when it's busy.
6232         After the state change, let the bin check which elements completed the
6233         state change while it was busy so that it can update its state.
6234
6235 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
6236
6237         * docs/random/release:
6238         Add a note about updating the doap file to the release checklist
6239
6240 2007-06-18  Wim Taymans  <wim@fluendo.com>
6241
6242         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6243         (gst_single_queue_push_one), (gst_multi_queue_chain),
6244         (gst_multi_queue_sink_event):
6245         Make sure we don't reference the buffer/event after we have given away
6246         ownership in the queue.
6247
6248 2007-06-18  Wim Taymans  <wim@fluendo.com>
6249
6250         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6251         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6252         Update queue state _after_ adding the item in the queue because else we
6253         could end up being full without the element added yet.
6254
6255 2007-06-18  Wim Taymans  <wim@fluendo.com>
6256
6257         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6258         (gst_bin_remove_func), (gst_bin_get_state_func),
6259         (gst_bin_element_set_state), (gst_bin_continue_func),
6260         (bin_push_state_continue), (bin_handle_async_start),
6261         (bin_handle_async_done), (gst_bin_handle_message_func):
6262         * gst/gstbin.h:
6263         Immediatly commit the toplevel bin state when receiving an async-done
6264         message. This enables us to avoid spawning a thread to commit the state
6265         in some common cases and it also avoids some races.
6266         Avoid spawning a state thread when adding/removing async elements to a
6267         toplevel bin. Instead we immediatly update the bin state.
6268         Get rid of iterating all the children when getting the state in the bin
6269         because it is now always up-to-date.
6270         Fix bug where locked elements would always return _SUCCESS even it they
6271         returned NO_PREROLL before being locked.
6272         Fix the order of the state_change, async-start/done messages that was
6273         sometimes incorrect.
6274         Mark the state_dirty field as deprecated, we don't need it anymore as we
6275         are always up-to-date.
6276
6277         * gst/gstelement.c: (gst_element_get_state_func),
6278         (gst_element_continue_state):
6279         Small debug inprovements.
6280         Return the previous element state return when nothing is pending instead
6281         of blindly returning SUCCESS.
6282
6283         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6284         (gst_sinks_suite):
6285         Add a whole bunch of new testcases.
6286
6287 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6288
6289         * po/uk.po:
6290         * po/vi.po:
6291           Update translations.
6292
6293 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
6294
6295         * gst/gstpad.c:
6296         Fix typo in the docs.
6297
6298 2007-06-15  Wim Taymans  <wim@fluendo.com>
6299
6300         * docs/libs/gstreamer-libs-sections.txt:
6301         Add docs for new methods.
6302
6303 2007-06-15  Wim Taymans  <wim@fluendo.com>
6304
6305         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6306         (gst_multi_queue_item_new):
6307         Don't use GSlice because we don't depend on >= 2.10 yet.
6308
6309 2007-06-15  Wim Taymans  <wim@fluendo.com>
6310
6311         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6312         (update_time_level), (apply_segment), (apply_buffer),
6313         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6314         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6315         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6316         (single_queue_underrun_cb), (single_queue_check_full):
6317         Remove debug printf.
6318
6319 2007-06-15  Wim Taymans  <wim@fluendo.com>
6320
6321         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6322         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6323         (gst_data_queue_set_flushing), (gst_data_queue_push),
6324         (gst_data_queue_pop), (gst_data_queue_drop_head),
6325         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6326         * libs/gst/base/gstdataqueue.h:
6327         Various cleanups.
6328         Added methods to get the current levels and to inform the queue that the
6329         'full' limits changed.
6330
6331         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6332         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6333         (gst_single_queue_flush), (update_time_level), (apply_segment),
6334         (apply_buffer), (gst_single_queue_push_one),
6335         (gst_multi_queue_item_steal_object),
6336         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6337         (gst_multi_queue_loop), (gst_multi_queue_chain),
6338         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6339         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6340         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6341         (single_queue_underrun_cb), (single_queue_check_full),
6342         (gst_single_queue_new):
6343         Keep track of time in the queue by measuring the difference between
6344         running_time on input and output. This gives more accurate results and
6345         can compensate for segments correctly.
6346         Make a queue by default only 5 buffers deep. We will now increase the
6347         buffer size depending on the filledness of the other queues.
6348         Factor out commong flush code.
6349         Make sure we don't add additional refcounts to buffers when we can avoid
6350         it.
6351         Propagate GstFlowReturn differently.
6352         Use GSlice for intermediate GstMultiQueueItems.
6353         Keep track of EOS.
6354         Resize queues on over and underruns based on filled level of other
6355         queues.
6356         When checking if the queue is filled, prefer to measure in time if we
6357         can and fall back to bytes when no time is known.
6358
6359         * plugins/elements/gstqueue.c:
6360         Fix return value.
6361
6362 2007-06-15  Wim Taymans  <wim@fluendo.com>
6363
6364         * libs/gst/base/gstbasetransform.c:
6365         (gst_base_transform_sink_event):
6366         Work around the brokenness of the event vmethod in basetransform. Prefer
6367         to return TRUE when the subclass returned FALSE (meaning don't forward
6368         the event). 
6369
6370         * libs/gst/base/gstbasetransform.h:
6371         Clarify the docs.
6372
6373 2007-06-15  Wim Taymans  <wim@fluendo.com>
6374
6375         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6376         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6377         (gst_base_src_default_query), (gst_base_src_get_range),
6378         (gst_base_src_start):
6379         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6380         Improve debugging.
6381
6382 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6383
6384         * docs/pwg/advanced-types.xml:
6385           Added more formats to caps table.
6386
6387 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6388
6389         * tools/gst-launch.c: (main):
6390           Remove crufy code. GOption does not need this workaround.
6391
6392 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6393
6394         * libs/gst/controller/gstcontroller.c:
6395         (gst_controlled_property_set_interpolation_mode):
6396           Fix wrong getter for enums in controller.
6397
6398 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6399
6400         * libs/gst/check/gstcheck.c: (gst_check_init):
6401           Intercept criticals and warnings in the Gst-Phonon log domain, so
6402           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6403           well.
6404         
6405 2007-06-14  Edward Hervey  <edward@fluendo.com>
6406
6407         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6408         Since this file doesn't include "gst.h" it will not go through the
6409         macros that disable GST_LOG if debugging was disabled.
6410
6411 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6412
6413         * libs/gst/check/Makefile.am:
6414         * libs/gst/check/gstcheck.h:
6415         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6416         * pkgconfig/gstreamer-check.pc.in:
6417           Ugly 'fix' for the controller unit test on the p5 bot: in
6418           fail_unless_equals_float() check whether the values are 'almost
6419           equal' by allowing a small absolute error, which should be good
6420           enough for our use cases (normal numbers and values close to 0).
6421           Proper fixage left to floating point arithmetic aficionados.
6422
6423 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6424
6425         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6426         (gst_base_sink_render_object), (gst_base_sink_get_position):
6427           Add two breaks thats where missing.
6428
6429 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6430
6431         * docs/libs/gstreamer-libs-sections.txt:
6432         * libs/gst/check/gstcheck.h:
6433           API: add fail_unless_equals_float() and assert_equals_float().
6434           Add documentation for some of the macros.
6435
6436         * tests/check/libs/controller.c: (GST_START_TEST):
6437           Use newly-added asserts.
6438
6439 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6440
6441         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6442           Show the caps change in the log to help spotting the case of not
6443           exactly matching caps.
6444
6445 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6446
6447         * docs/pwg/building-boiler.xml:
6448           Fix typos, spotted by Thijs Vermeir (#447190).
6449
6450 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6451
6452         * docs/plugins/tmpl/.cvsignore:
6453         Ignore file to keep the buildbots happy
6454
6455 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6456
6457         * docs/plugins/Makefile.am:
6458         * docs/plugins/gstreamer-plugins-docs.sgml:
6459         * docs/plugins/gstreamer-plugins-sections.txt:
6460         Pull fdsink into the docs too.
6461
6462 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6463
6464         * libs/gst/controller/gstinterpolation.c:
6465         Actually use the new functions with min/max checks for the trigger and
6466         none interpolation modes for get() and get_value_array() instead of
6467         just the latter.
6468
6469 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6470
6471         * libs/gst/controller/gstcontroller.c:
6472         (gst_controlled_property_free):
6473         Unset the minimum and maximum GValues when freeing the corresponding
6474         GstControllerProperty struct.
6475
6476 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6477
6478         * libs/gst/controller/gstcontroller.c:
6479         (gst_controlled_property_new):
6480         * libs/gst/controller/gstcontrollerprivate.h:
6481         * libs/gst/controller/gstinterpolation.c:
6482         (gst_controlled_property_find_control_point_node),
6483         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6484         (interpolate_none_get_string_value_array),
6485         (interpolate_trigger_get),
6486         (interpolate_trigger_get_enum_value_array),
6487         (interpolate_trigger_get_string_value_array):
6488         Protect against values larger or smaller than the minimum or maximum
6489         allowed value for the property when using values that can be compared.
6490
6491         Optimize trigger interpolator a bit by taking the last requested value
6492         into account instead of always looping through the complete list.
6493
6494         Fix coding style a bit, everywhere else we use "return foo" instead
6495         of "return (foo)".
6496         
6497         * tests/check/libs/controller.c: (GST_START_TEST),
6498         (gst_controller_suite):
6499         Add unit test for the protection against too large or too small
6500         values.
6501
6502 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6503
6504         * docs/random/slomo/controller.txt:
6505         Add some thoughts about the future of the controller.
6506
6507 2007-06-08  Wim Taymans  <wim@fluendo.com>
6508
6509         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6510         Don't overflow in retimestamping code.
6511
6512 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6513
6514         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6515         Use gst_util_guint64_to_gdouble for conversions.
6516         * win32/common/libgstreamer.def:
6517         Add new exported functions.
6518
6519 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6520
6521         * gst/gstutils.c:
6522           Small docs addition.
6523
6524 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6525
6526         * README:
6527           Remove that test line again.
6528
6529 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6530
6531         * README:
6532           Test commit mail sending.
6533
6534 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6535
6536         * configure.ac:
6537           Fix typo and test commit mail sending.
6538
6539 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6540
6541         * tests/examples/controller/audio-example.c:
6542           Improve comment and test commit mail sending.
6543
6544 2007-06-07  Wim Taymans  <wim@fluendo.com>
6545
6546         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6547         (gst_bin_remove_func), (gst_bin_element_set_state),
6548         (bin_handle_async_start), (bin_handle_async_done),
6549         (gst_bin_handle_message_func):
6550         Add helper function to find messages.
6551         Generate the async-done messages together with the state change
6552         messages.
6553         Small cleanups in handling toplevel bins.
6554
6555 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6556
6557         * libs/gst/base/gstdataqueue.c:
6558         * libs/gst/base/gstdataqueue.h:
6559         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6560         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6561         (gst_multi_queue_sink_event):
6562         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6563           Fix multiqueue leaking buffers and events when downstream or the
6564           queue are flushing. Make refcounting assumptions explicit and
6565           document them (shouldn't break existing code that uses it other than
6566           maybe leak miniobjects, but that already happens anyway). Add unit
6567           test for the most common flushing case. Fixes #423700.
6568           
6569 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6570
6571         * libs/gst/controller/gstcontroller.c:
6572         Clarify docs: The get_all, get_value_array(s) functions
6573         don't modify the GObject properties.
6574
6575 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6576
6577         * libs/gst/controller/gstcontroller.c:
6578         (gst_controlled_property_set_interpolation_mode),
6579         (gst_controlled_property_prepend_default),
6580         (gst_controlled_property_new), (gst_controller_set_unlocked),
6581         (gst_controller_set), (gst_controller_set_from_list),
6582         (gst_controller_unset), (gst_controller_unset_all):
6583         * libs/gst/controller/gstcontrollerprivate.h:
6584         * libs/gst/controller/gstinterpolation.c:
6585         Factor out the 'set' logic into gst_controller_set_unlocked for the
6586         gst_controller_set and gst_controller_set_from_list functions.
6587
6588         To make life of the interpolators easier always add a control point
6589         at timestamp zero with the default value.
6590
6591         In the linear interpolator make things more obvious by better variable
6592         naming (slope).
6593
6594         Implement cubic interpolation mode (by using a natural cubic spline)
6595         and map the quadratic interpolation mode to this too (as quadratic
6596         doesn't make much sense, see discussion on the list).
6597
6598         * tests/check/libs/controller.c: (GST_START_TEST),
6599         (gst_controller_suite):
6600         Add unit test for the cubic interpolation mode and check everywhere
6601         if the interpolation mode could be set as expected.
6602
6603 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6604
6605         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6606           Don't use GLib-2.10 functions, we still depend on
6607           GLib-how-old-is-it-again-2.8.
6608
6609 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6610
6611         * docs/gst/gstreamer-sections.txt:
6612         * gst/Makefile.am:
6613         * gst/gst.c:
6614         * gst/gst.h:
6615         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6616         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6617         (_gst_param_fraction_values_cmp),
6618         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6619         * gst/gstparamspecs.h:
6620         * gst/gstvalue.c:
6621         * tests/check/Makefile.am:
6622         * tests/check/gst/.cvsignore:
6623         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6624         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6625         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6626         (GST_START_TEST), (gst_param_spec_suite):
6627           API: add GstParamSpecFraction, so elements can have fraction
6628           properties without lots of painful string parsing (#444648).
6629
6630 2007-06-05  Wim Taymans  <wim@fluendo.com>
6631
6632         * gst/gstobject.c: (gst_object_class_init):
6633         Fix signal signature.
6634
6635         * gst/gstsegment.c:
6636         Add small clarification in the api docs.
6637
6638         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6639         States are protected with object lock.
6640
6641 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6642
6643         * AUTHORS:
6644         I should probably be listed as an author by now.
6645
6646         * docs/random/release:
6647         Update the release doc
6648
6649 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6650
6651         * gst/gstvalue.c:
6652           Make docs for gst_value_compare() mention return enums that
6653           actually exist.
6654
6655 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6656
6657         * configure.ac:
6658           Back to CVS
6659
6660 === release 0.10.13 ===
6661
6662 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6663
6664         * configure.ac:
6665           releasing 0.10.13, "With or without you"
6666
6667 2007-05-25  Wim Taymans  <wim@fluendo.com>
6668
6669         * gst/gstbin.c: (bin_handle_async_done):
6670         Make sure that the child bin stops after completing the async state
6671         change so that the parent can continue the state change to PLAYING.
6672         Fixes #441159.
6673
6674 2007-05-25  Wim Taymans  <wim@fluendo.com>
6675
6676         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6677         (unref_data), (gst_collect_pads_remove_pad),
6678         (gst_collect_pads_check_pads):
6679         Use additional refcounting to avoid crashes when dynamically adding and
6680         removing pads. Fixes #420206.
6681
6682 2007-05-24  Wim Taymans  <wim@fluendo.com>
6683
6684         * tools/gst-launch.c: (event_loop):
6685         When buffering goes from a two digit to a single digit number, make sure
6686         to remove the old second digit by writing a blank over it.
6687
6688 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6689
6690         * libs/gst/base/gstdataqueue.c:
6691           Eliminate tabs and trailing comma in enum list; fix some typos.
6692
6693 2007-05-24  Wim Taymans  <wim@fluendo.com>
6694
6695         * tests/check/gst/gstbin.c: (GST_START_TEST):
6696         Allow refcount of 3 and 4 because some state thread might still be busy
6697         with it.
6698
6699 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6700
6701         * plugins/elements/Makefile.am:
6702         * plugins/elements/gstmultiqueue.h:
6703         * plugins/elements/gstqueue.h:
6704           These are not installed headers, no need for padding.
6705
6706 2007-05-24  Wim Taymans  <wim@fluendo.com>
6707
6708         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6709         (gst_bin_continue_func):
6710         Enable latency for next release.
6711         Restore STATE_LOCK around recalc_state that was left out during the
6712         rewrite and could result in racy behaviour when _get_state and
6713         recalc_state are run concurrently. See #440463.
6714
6715 2007-05-23  Wim Taymans  <wim@fluendo.com>
6716
6717         * tests/check/gst/gstsystemclock.c: (store_callback),
6718         (GST_START_TEST):
6719         Improve test_async_order to also work when both timers are already
6720         expired when we get scheduled to check it.
6721
6722 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6723
6724         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6725         (gst_bin_set_property), (gst_bin_get_property),
6726         (gst_bin_remove_func), (gst_bin_handle_message_func):
6727         * gst/gstbin.h:
6728           'private' is a c++ keyword, let's not use that in header files,
6729           otherwise c++ compilers will throw a tantrum.
6730
6731 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6732
6733         * plugins/elements/gstelements.c:
6734         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6735         (gst_file_sink_get_current_offset):
6736         * plugins/indexers/gstindexers.c: (plugin_init):
6737           Use #ifdef for HAVE_XYZ for consistency.
6738
6739         * tests/check/Makefile.am:
6740         * tests/check/elements/.cvsignore:
6741         * tests/check/elements/filesink.c: (setup_filesink),
6742         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6743           Add some unit tests for filesink.
6744
6745 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6746
6747         Patch by: Mark Nauwelaerts <manauw at skynet be>
6748
6749         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6750         (gst_file_sink_query), (gst_file_sink_do_seek),
6751         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6752         * plugins/elements/gstfilesink.h:
6753           Fix position reporting; rename data_written member to current_pos to
6754           reflect its real meaning (fixes #412648).
6755
6756 2007-05-22  Edward Hervey  <edward@fluendo.com>
6757
6758         * docs/gst/gstreamer-sections.txt:
6759         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6760         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6761         (gst_bin_remove_func), (gst_bin_handle_message_func):
6762         * gst/gstbin.h:
6763         Add a property for bins that handle the state change of their childs.
6764         Fixes #435880
6765
6766 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6767
6768         * libs/gst/controller/gstinterpolation.c:
6769         Use an array of the correct type when using _get_value_array with
6770         linear interpolation.
6771
6772 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6773
6774         * gst/gstelement.c (gst_element_requires_clock,
6775           gst_element_provides_clock, gst_element_request_pad,
6776           gst_element_class_set_details, gst_element_class_set_details_simple,
6777           gst_element_default_send_event, gst_element_abort_state,
6778           gst_element_continue_state, gst_element_set_state,
6779           gst_element_set_state_func, iterator_activate_fold_with_resync):
6780         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6781           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6782           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6783           gst_pad_get_range, gst_pad_pull_range):
6784         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6785           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6786           GstPadActivateModeFunction, GstPadChainFunction,
6787           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6788           GstPadFixateCapsFunction, GstPadTemplate):
6789         * gst/gstpipeline.c (gst_pipeline_change_state,
6790           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6791           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6792           gst_pipeline_get_delay):
6793           Whitespace and docs fixes.
6794
6795 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6796
6797         * libs/gst/controller/gstinterpolation.c:
6798         (interpolate_trigger_get_enum_value_array),
6799         (interpolate_trigger_get_string_value_array):
6800         Add support for retrieving value arrays when using the trigger
6801         interpolation mode. 
6802
6803 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6804
6805         * libs/gst/controller/gstcontroller.c:
6806         (gst_controller_get_value_array):
6807         * libs/gst/controller/gstcontroller.h:
6808         Clarify the docs of gst_controller_get_value_array(): The array where
6809         the values should be written to must be allocated as there seems to be
6810         no way to get the size of a random GType. This doesn't change any
6811         behaviour. Also fix some typos all over the place and remove an unused,
6812         commented function that is not necessary as g_object_set() could be
6813         used instead.
6814         * tests/check/libs/controller.c: (GST_START_TEST),
6815         (gst_controller_suite):
6816         Add unit test for gst_controller_get_value_array().
6817
6818 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6819
6820         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6821
6822         Disable part of the gst_buffer_try_new_and_alloc test, because
6823         it can happily succeed on 64-bit systems where there's more address
6824         space available.
6825
6826 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6827
6828         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6829         Add unit test for the improved caps checking from bug #421543.
6830
6831 2007-05-21  Wim Taymans  <wim@fluendo.com>
6832
6833         * docs/design/part-synchronisation.txt:
6834         Small addition.
6835
6836         * gst/gstbin.c: (gst_bin_query):
6837         * plugins/elements/gstqueue.c: (apply_segment):
6838         Improve debugging.
6839
6840         * gst/gstmessage.h:
6841         Improve docs.
6842
6843 2007-05-21  Wim Taymans  <wim@fluendo.com>
6844
6845         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6846         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6847         (gst_pad_configure_src):
6848         Added simple version of improved caps checking. It was previously
6849         assumed that a setcaps function would check the validity of the caps but
6850         people prefer us to check caps against the template automatically. 
6851         Fixes #421543.
6852
6853 2007-05-21  Wim Taymans  <wim@fluendo.com>
6854
6855         * libs/gst/base/gstbasetransform.h:
6856         Fix macro for locking/unlocking the transform lock.
6857
6858 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6859
6860         * docs/plugins/tmpl/.cvsignore:
6861           Ignore more.
6862
6863 2007-05-18  Edward Hervey  <edward@fluendo.com>
6864
6865         * plugins/elements/gstqueue.c: (gst_queue_loop):
6866         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6867         for the subtle art of warning a potentially blocking thread that it
6868         should check the source pad return value, and relay the information
6869         upstream.
6870
6871 2007-05-18  Edward Hervey  <edward@fluendo.com>
6872
6873         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6874         Release the queue lock !
6875
6876 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6877
6878         * docs/libs/gstreamer-libs-sections.txt:
6879         Add the two new controller functions to the appropiate places.
6880
6881 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6882
6883         reviewed by: Stefan Kost <ensonic@users.sf.net>
6884
6885         * libs/gst/controller/gstcontroller.c:
6886         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6887         (_gst_controller_get_property), (_gst_controller_set_property),
6888         (_gst_controller_init), (_gst_controller_class_init):
6889         * libs/gst/controller/gstcontroller.h:
6890         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6891         (gst_object_get_control_rate), (gst_object_set_control_rate):
6892         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6893         Add API that provides sync suggestion timestamps for elements that
6894         call gst_object_sync_values() from which those elements can subdivide
6895         their processing loop to get the best results for the controlled
6896         properties. For now it just suggests last_sync + control_rate as
6897         new timestamp but this will be improved in the future.
6898
6899         While doing that change the control-rate property to a GstClockTime
6900         from guint and change it's meaning from samples to nanoseconds as
6901         the GstController doesn't know anything about sampling rate. Strictly
6902         speaking this breaks ABI but as the control-rate property didn't do
6903         anything in the past and as such couldn't be used this should be no
6904         problem.        
6905
6906 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6907
6908         reviewed by: Stefan Kost <ensonic@users.sf.net>
6909
6910         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6911         (gst_controller_unset_all):
6912         * libs/gst/controller/gstcontrollerprivate.h:
6913         * libs/gst/controller/gstinterpolation.c:
6914         (gst_controlled_property_find_control_point_node):
6915         Save last synced value from the list to continue searching from there
6916         in future syncs. This speeds everything up a bit.
6917         
6918 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6919
6920         reviewed by: Stefan Kost <ensonic@users.sf.net>
6921
6922         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6923         (gst_control_point_find), (gst_controlled_property_new),
6924         (gst_control_point_free), (gst_controlled_property_free),
6925         (gst_controller_set), (gst_controller_set_from_list),
6926         (gst_controller_unset), (gst_controller_unset_all),
6927         (gst_controller_sync_values):
6928         * libs/gst/controller/gstcontroller.h:
6929         * libs/gst/controller/gstcontrollerprivate.h:
6930         * libs/gst/controller/gstinterpolation.c:
6931         (gst_controlled_property_find_control_point_node),
6932         (interpolate_none_get), (interpolate_trigger_get):
6933         Add a new private GstControlPoint struct which "inherits" from
6934         GstTimedValue to allow different interpolators to store internal
6935         values next to each control point. From the outside everything is
6936         still a GstControlPoint so we don't loose binary compatibility.
6937         Also fixup all the GValue handling to not leak GValues or list nodes.
6938         * tests/check/libs/controller.c: (GST_START_TEST):
6939         Free the list nodes and GValues in the controller_misc test.
6940
6941 2007-05-17  Edward Hervey  <edward@fluendo.com>
6942
6943         * gst/gstsegment.c:
6944         Small doc fix.
6945
6946 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6947
6948         * gst/gstplugin.c: (gst_plugin_load_file):
6949           If we fail to load a plugin because of unresolved symbols or missing
6950           libraries and spew a warning to stderr, we may just as well mention
6951           which plugin it was that failed to load.
6952
6953 2007-05-13  David Schleef  <ds@schleef.org>
6954
6955         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6956           handles the case when ENABLE_GTK_DOC is false, and installs
6957           the prebuilt documentation.  So gtk-doc subdirs are 
6958           unconditionally enabled.  Fixes: #349099.
6959
6960 2007-05-13  David Schleef  <ds@schleef.org>
6961
6962         * gst/gstutils.h: Reword some documentation.
6963
6964 2007-05-12  David Schleef  <ds@schleef.org>
6965
6966         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6967           do anything with the passed "module" parameter, so remove it.
6968           Allows removal of additional vestigal code.
6969
6970 2007-05-12  David Schleef  <ds@schleef.org>
6971
6972         * gst/gstplugin.c:
6973           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6974           Switch to using g_stat() because it's more portable.
6975
6976 2007-05-12  David Schleef  <ds@schleef.org>
6977
6978         * gst/gst.c:
6979           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6980           parsing for embedded systems.
6981         * gst/gstelementfactory.c:
6982           Allow gst_element_register() to be called with plugin==NULL.
6983           Did nobody notice that static elements were broken?
6984
6985 2007-05-12  Wim Taymans  <wim@fluendo.com>
6986
6987         * tools/gst-launch.c: (event_loop):
6988         Give more interesting info when buffering starts and stops.
6989         Fix case where buffering starts but we fail to update the buffering flag
6990         because the target state is not PLAYING.
6991
6992 2007-05-12  Wim Taymans  <wim@fluendo.com>
6993
6994         * plugins/elements/gstqueue.c: (gst_queue_init),
6995         (gst_queue_finalize), (update_time_level), (apply_segment),
6996         (apply_buffer), (gst_queue_locked_flush),
6997         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6998         (gst_queue_handle_sink_event), (gst_queue_chain),
6999         (gst_queue_push_one), (gst_queue_loop):
7000         * plugins/elements/gstqueue.h:
7001         Refactor an cleanup queue a bit.
7002         Do better time level calculations that also work when the srcpad is not
7003         yet running.
7004         Remove some unneeded debug lines.
7005
7006         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7007         Added testcase for time level measurement.
7008         Try to make some stuff more racefree.
7009
7010 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7011
7012         * gst/gsturi.c: (gst_element_make_from_uri):
7013           Don't leak plugin feature.
7014
7015         * tests/check/Makefile.am:
7016         * tests/check/gst/.cvsignore:
7017         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7018           Add brain-dead unit test.
7019
7020 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7021
7022         Patch by: Jeroen Wouters <woutersj at gmail com>
7023
7024         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7025           Treat protocol strings in a case-insensitive way (#437563).
7026
7027 2007-05-11  Michael Smith <msmith@fluendo.com>
7028
7029         * gst/gstplugin.c: (gst_plugin_load_file):
7030         * gst/gstregistry.c: (gst_registry_scan_path_level):
7031           Don't print a g_warning for any failure to load a shared object.
7032           Instead, push this down into gstplugin.c, and warn _only_ if we
7033           failed to open the module (i.e. failure to link).
7034           Avoids warnings on normal, working, non-plugin .so files.
7035
7036 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
7037
7038         * gst/gstplugin.c (gst_plugin_load_file):
7039         * gst/gstregistry.c (GST_CAT_DEFAULT,
7040           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7041           Print a g_warning if there was an error when loading a plugins during
7042           registry scan. The shuld help beginners starting with gst-plugin
7043           template.
7044
7045 2007-05-10  Wim Taymans  <wim@fluendo.com>
7046
7047         * plugins/elements/gstqueue.c: (gst_queue_class_init),
7048         (update_time_level), (gst_queue_locked_flush),
7049         (gst_queue_handle_sink_event), (gst_queue_chain),
7050         (gst_queue_push_one), (gst_queue_loop):
7051         * plugins/elements/gstqueue.h:
7052         Be smarter when calculating the current amount of data in the queue by
7053         measuring the difference between start and end timestamps (in running
7054         time) inside the queue. Fixes #432876.
7055         API: GstQueue::pushing to notify elements that we are pushing data again
7056         since the running signal is rather broken for this purpose.
7057
7058 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
7059
7060         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7061           gst_queue_base_init, gst_queue_init):
7062           use GST_BOILERPLATE
7063
7064 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
7065
7066         * win32/common/libgstreamer.def:
7067         Add new exported functions.
7068         * win32/vs6/grammar.dsp:
7069         Use grammar pre-generated files.
7070
7071 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7072
7073         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
7074
7075         * gst/Makefile.am:
7076         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7077         * gst/gstparse.h:
7078         * gst/gstutils.c: (gst_parse_bin_from_description):
7079         * gst/gstutils.h:
7080           Maintain API and ABI when --disable-parse is used. Now that
7081           we have an appropriate error code, we can just return NULL and the
7082           appropriate error when gst_parse_launch() is used despite it having
7083           been disabled (#342564).
7084
7085         * tests/check/Makefile.am:
7086         * tests/check/pipelines/.cvsignore:
7087         * tests/check/pipelines/parse-disabled.c:
7088           Make sure these functions exist and return NULL plus a GError when
7089           --disable-parse is used.
7090
7091 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7092
7093         * tests/benchmarks/complexity.c: (main):
7094         * tests/benchmarks/mass-elements.c: (main):
7095           Set a good example and don't leak messages.
7096
7097 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
7098
7099         * docs/gst/Makefile.am:
7100         * docs/libs/Makefile.am:
7101           Correct fixxrefs options.
7102
7103         * docs/plugins/Makefile.am:
7104         * docs/plugins/gstreamer-plugins-docs.sgml:
7105         * docs/plugins/gstreamer-plugins-sections.txt:
7106         * plugins/elements/Makefile.am:
7107         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7108         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7109           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7110           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7111           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7112           _GstCapsFilterClass, trans_class):
7113         * plugins/elements/gstelements.c (name, rank, type, _elements):
7114         * plugins/elements/gstidentity.c
7115           (gst_identity_check_imperfect_timestamp,
7116           gst_identity_check_imperfect_offset):
7117           Document capsfilter and add doc-blurb to identity.
7118
7119 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
7120
7121         * libs/gst/controller/gstcontroller.c:
7122         (gst_controlled_property_set_interpolation_mode):
7123         * libs/gst/controller/gstinterpolation.c:
7124           Don't crash if someone tries to set an interpolation mode that
7125           is invalid or that isn't supported yet. Fixes #422295.
7126
7127         * tests/check/libs/controller.c: (GST_START_TEST),
7128         (gst_controller_suite):
7129           Add a test case for the above.
7130
7131 2007-05-03  Edward Hervey  <edward@fluendo.com>
7132
7133         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7134         Properly set the last_stop position on GstSegment. This will only happen
7135         if there is a buffer to push out.
7136
7137 2007-05-03  Wim Taymans  <wim@fluendo.com>
7138
7139         * libs/gst/base/gstbasetransform.c:
7140         (gst_base_transform_buffer_alloc):
7141         always_in_place does not mean that the sink and source caps are the
7142         same! Make sure we don't blindly proxy the buffer_alloc in this case.
7143
7144 2007-05-03  Wim Taymans  <wim@fluendo.com>
7145
7146         * docs/libs/gstreamer-libs-sections.txt:
7147         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7148         (gst_base_src_default_query), (gst_base_src_get_range):
7149         * libs/gst/base/gstbasesrc.h:
7150         API: gst_base_src_query_latency(). Added method so that subclasses can
7151         easily get the latency values of the base source class.
7152
7153 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
7154
7155         * tools/gst-inspect.c (print_implementation_info):
7156         Remove 0.8 cruft.
7157
7158 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
7159
7160         * tools/Makefile.am:
7161         * tools/gst-launch.1.in:
7162           Don't create a customised man page based on the host architecture,
7163           describe the default registry path generically. That way the man
7164           page is the same for all architectures and packagers have one
7165           multilib issue less to deal with. Fixes #434926.
7166
7167 2007-05-02  Wim Taymans  <wim@fluendo.com>
7168
7169         * gst/gstpad.c:
7170         Fix documentation as spotted by rg on IRC. 
7171
7172 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
7173
7174         * gst/gstutils.c:
7175           Improve docs for gst_element_{link,unlink}.
7176
7177 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
7178
7179         * docs/design/part-events.txt:
7180         * docs/design/part-overview.txt:
7181         * gst/gstevent.c:
7182         * gst/gsturi.c:
7183         * gst/gsturi.h:
7184         * libs/gst/base/gstbasesink.c:
7185           Typo fixes; minor docs addition.
7186
7187 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7188
7189         * docs/gst/gstreamer-sections.txt:
7190         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7191         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7192         * gst/gsturi.h:
7193         API: Add gst_uri_protocol_is_supported(), which checks if a sink
7194         or src that supports a given URI protocol exists.
7195
7196 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7197
7198         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7199         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7200         Set the location to NULL if "file://" is set as URI. Otherwise
7201         some random previous URI would still be set if "file://" is
7202         set on an already used filesink/filesrc.
7203
7204 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7205
7206         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7207         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7208         Special case the "file://" URI as as this is used by some
7209         applications to test with gst_element_make_from_uri if there's
7210         an element that supports the URI protocol.
7211         Also move the g_path_is_absolute() check for the location part
7212         of the URI to also check this for "file://localhost/bla" URIs.
7213
7214 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
7215
7216         * docs/gst/gstreamer-sections.txt:
7217         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7218         * gst/gstbuffer.h:
7219         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7220         (gst_buffer_suite):
7221           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7222
7223 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
7224
7225         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7226         (gst_registry_binary_load_pad_template),
7227         (gst_registry_binary_load_plugin),
7228         (gst_registry_binary_read_cache):
7229         * gst/gstregistrybinary.h:
7230           Implement no-mmap alternative for registry reading. Do code cleanups.
7231           Add more comments about avoiding strdups for all text data. Comments
7232           welcome.
7233
7234 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7235
7236         * gst/gstregistrybinary.h (GstBinaryPluginElement,
7237           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7238           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7239           Comment structs and reformat to fix the build (that stuff should go
7240           into a priv. header).
7241
7242 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7243
7244         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7245         (gst_registry_binary_load_feature):
7246         * gst/gstregistrybinary.h:
7247           Refactor so that we can implement multiple features. Add support for
7248           TypeFindFactory features.
7249
7250 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
7251
7252         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7253
7254         * configure.ac:
7255           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7256
7257 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
7258
7259         * gst/gstbin.c: (gst_bin_element_set_state),
7260         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7261         (bin_handle_async_done), (gst_bin_handle_message_func):
7262           Fix build with --gst-disable-gst-debug
7263
7264 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
7265
7266         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7267           Make sure streaming has finished before calling the ::stop() vfunc,
7268           since that vfunc might clear state which is being used in the
7269           streaming thread. This fixes a race that caused crashes in
7270           audioresample when shutting down a pipeline (#420106).
7271
7272 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7273
7274         * docs/gst/gstreamer-sections.txt:
7275           That was one byte missing.
7276
7277 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7278
7279         * configure.ac:
7280         * docs/gst/gstreamer-sections.txt:
7281         * gst/Makefile.am:
7282         * gst/gstconfig.h.in:
7283         * gst/gstobject.c: (gst_object_class_init),
7284         (gst_signal_object_class_init):
7285         * gst/gstobject.h:
7286           2nd attempt to have a xml-less build as a joined effort of #413123
7287           and #421480.
7288
7289 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7290
7291         * docs/design/draft-tagreading.txt:
7292           Added open issues/thoughts to draft.
7293
7294 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7295
7296         * gst/parse/grammar.tab.pre.c:
7297         * gst/parse/grammar.tab.pre.h:
7298         * gst/parse/lex._gst_parse_yy.pre.c:
7299         Update the prebuild parser sources.
7300
7301 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7302
7303         * gst/parse/Makefile.am:
7304         And now fix the building of the flex sources. Now everything should
7305         work as expected.
7306
7307 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7308
7309         * gst/parse/Makefile.am:
7310         Now hopefully fix the build failures by setting proper rule
7311         dependencies and moving instead of copying.
7312
7313 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7314
7315         * tests/benchmarks/complexity.gnuplot:
7316         * tests/benchmarks/complexity.scm:
7317         * tests/benchmarks/mass-elements.gnuplot:
7318         * tests/benchmarks/mass-elements.scm:
7319           Total licensification.
7320
7321 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7322
7323         * gst/parse/Makefile.am:
7324           Fix the build by correcting the rule that gave wrong files to flex.
7325
7326 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7327
7328         * tests/benchmarks/complexity.c:
7329         * tests/benchmarks/mass-elements.c:
7330           Change licence to LGPL as granted by Benjamin and Andy.
7331
7332 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7333
7334         * gst/parse/Makefile.am:
7335         Add correct grammar.tab.h dependency if compiling without new enough
7336         flex. Fixes #431150.
7337
7338 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7339
7340         * gst/parse/Makefile.am:
7341         Fix typo and use outdated sources if the flex/bison sources are newer
7342         than the pregenerated ones but flex is too old. Print a warning in
7343         that case. This should fix the build on the build bot.
7344
7345 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7346
7347         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7348         * gst/parse/Makefile.am:
7349         * gst/parse/grammar.y:
7350         * gst/parse/parse.l:
7351         Make the parser reentrant and recursively callable. This requires flex
7352         >= 2.5.31, for older versions pregenerated sources are used as we
7353         can't bump the build dependency. Finally fixes #349180.
7354
7355         * gst/gstparse.c: (gst_parse_launch):
7356         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7357         now anyway.
7358
7359         * docs/gst/Makefile.am:
7360         * docs/gst/Makefile.am:
7361         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7362         (__gst_parse_strfree), (__gst_parse_link_new),
7363         (__gst_parse_link_free), (__gst_parse_chain_new),
7364         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7365         (gst_parse_element_set), (gst_parse_free_link),
7366         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7367         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7368         (_gst_parse_launch):
7369         * gst/parse/grammar.tab.pre.h:
7370         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7371         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7372         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7373         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7374         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7375         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7376         (_gst_parse_yypop_buffer_state),
7377         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7378         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7379         (yy_fatal_error), (_gst_parse_yyget_extra),
7380         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7381         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7382         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7383         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7384         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7385         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7386         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7387         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7388         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7389         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7390         (_gst_parse_yyfree):
7391         If the installed flex version is too old use pre-generated parser
7392         sources. These pre-generated parser sources are always updated when
7393         the actual flex/bison sources change but require everybody who wants
7394         to change something in the parser to have flex >= 2.5.31 installed.
7395
7396 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7397
7398         * common/m4/gst-gettext.m4:
7399         * gst/gst-i18n-lib.h:
7400           Make --disable-nls to work
7401
7402 2007-04-17  Wim Taymans  <wim@fluendo.com>
7403
7404         * gst/gstconfig.h.in:
7405         Revert previous change that broke the build.
7406
7407 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7408
7409         * configure.ac:
7410         * gst/Makefile.am:
7411         * gst/gstconfig.h.in:
7412           Drop libxml2 dependency when building with 
7413           --enable-binary-registry --disable-loadsave
7414
7415 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7416
7417         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7418         (gst_registry_binary_read_cache):
7419         * gst/gstregistrybinary.h:
7420           Remove unnecessary <sys/mman.h> include which broke the win32 build
7421           with MingW; move includes from header file to .c file, even if the
7422           header file isn't installed; use g_strerror() where UTF-8 strings
7423           are expected, such as in GST_DEBUG messages.
7424
7425 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7426
7427         * docs/libs/gstreamer-libs-sections.txt:
7428         Remove bogus addition for API I didn't end up keeping.
7429
7430         * libs/gst/base/gstbasesrc.h:
7431         Mention Since: 0.10.13 in the documentation.
7432
7433         Add the API keyword to the previous ChangeLog entry.
7434
7435 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7436
7437         * docs/libs/gstreamer-libs-sections.txt:
7438         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7439         (gst_base_src_default_prepare_seek_segment),
7440         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7441         * libs/gst/base/gstbasesrc.h:
7442         Allow basesrc derived classes to execute seeks in other formats
7443         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7444         to prepare the GstSegment in any format that their perform_seek method
7445         will be able to understand. The default implementation provides the
7446         old behaviour of attempting to convert the seek offsets to the 
7447         configured native format.
7448
7449         API: basesrc::prepare_seek_segment vmethod.
7450
7451 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7452
7453         * gst/gstelement.c: (gst_element_get_state_func):
7454         Don't output the same debug statement twice.
7455
7456         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7457         (gst_adapter_peek), (gst_adapter_take_buffer):
7458         Optimise the case where we have buffers at the head of the queue that
7459         can be joined quickly (because they're contiguous sub-buffers) by
7460         merging them together rather than copying data out into new memory.
7461
7462         * gst/parse/grammar.y:
7463         * tests/check/pipelines/parse-launch.c:
7464         Fix a leak in an error path for parse_launch, and add a check 
7465         for it to the testsuite.
7466
7467 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7468
7469         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7470           Don't deadlock when releasing a pad - gst_pad_set_active may try
7471           and take the multiqueue lock too.
7472
7473 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7474
7475         * gst/gsterror.c: (_gst_core_errors_init):
7476         * gst/gsterror.h:
7477           API: add GST_CORE_ERROR_DISABLED (#392804).
7478
7479 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7480
7481         * docs/faq/gst-uninstalled:
7482           don't get empty paths on the PATH variables
7483         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7484           Don't format for the uncommon terminal width of 84 characters.
7485
7486 2007-04-06  Wim Taymans  <wim@fluendo.com>
7487
7488         * gst/gstpipeline.c: (reset_stream_time),
7489         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7490         Only try to select a different pipeline clock when we went back to
7491         PAUSED and not when we merely got flushed.
7492
7493 2007-04-05  Michael Smith  <msmith@fluendo.com>
7494
7495         * tools/gst-launch.1.in:
7496           fractions are better supported in gstreamer than ractions, so
7497           suggest using those.
7498
7499 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7500
7501         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7502
7503         * po/LINGUAS:
7504         * po/da.po:
7505           Added Danish translation.
7506
7507 2007-04-05  Wim Taymans  <wim@fluendo.com>
7508
7509         * libs/gst/base/gstbasesink.c:
7510         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7511         Fix leak caused when refusing newsegment after EOS.
7512
7513         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7514         (gst_fake_sink_init), (gst_fake_sink_set_property),
7515         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7516         (gst_fake_sink_render), (gst_fake_sink_change_state):
7517         * plugins/elements/gstfakesink.h:
7518         Add num-buffers property to make the element generate EOS after a
7519         configurable amount of buffers.
7520         API: fakesink::num-buffers property.
7521
7522         * tests/check/elements/fakesink.c: (GST_START_TEST),
7523         (fakesink_suite):
7524         Fix GstBus leak in test.
7525         Test for fakesink num-buffers.
7526
7527 2007-04-05  Wim Taymans  <wim@fluendo.com>
7528
7529         * libs/gst/base/gstbasesink.c:
7530         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7531         (gst_base_sink_change_state):
7532         Don't accept anything after an EOS, return UNEXPECTED instead.
7533
7534         * tests/check/elements/fakesink.c: (GST_START_TEST),
7535         (fakesink_suite):
7536         Unit test for new EOS behaviour.
7537
7538 2007-04-05  Wim Taymans  <wim@fluendo.com>
7539
7540         * gst/gstelement.c: (gst_element_get_request_pad):
7541         Make padtemplates also work when they don't contain %s or %d.
7542
7543 2007-04-05  Wim Taymans  <wim@fluendo.com>
7544
7545         * docs/gst/gstreamer-sections.txt:
7546         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7547         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7548         * gst/gstclock.h:
7549         Improve _adjust_unlocked() so that it overflows less.
7550         Add gst_clock_unadjust_unlocked to convert from external time to
7551         internal time based on calibration.
7552         Add some more debug.
7553         API: GstClock::gst_clock_unadjust_unlocked()
7554
7555 2007-04-03  Wim Taymans  <wim@fluendo.com>
7556
7557         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7558
7559         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7560         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7561         when releasing sink pad. Fixes #425400.
7562
7563 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7564
7565         * docs/random/ensonic/dynlink.txt:
7566           More work on proposal for new core api.
7567
7568         * docs/libs/gstreamer-libs-sections.txt:
7569         * libs/gst/base/gstbasetransform.h:
7570           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7571           
7572         * libs/gst/controller/gstcontroller.c:
7573         (on_object_controlled_property_changed),
7574         (gst_controller_sync_values),
7575         (gst_controller_set_interpolation_mode):
7576         * libs/gst/controller/gstcontroller.h:
7577           Less verbose logging add docs for unimplemented parts and correctly
7578           return when using unavailable parts.
7579
7580 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7581
7582         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7583         Move all the debug to the CLOCK category, and associate it with
7584         the clock object.
7585
7586 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7587
7588         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7589         Make take_buffer a bit quicker by removing redundant checks
7590         caused by calling gst_adapter_take.
7591
7592 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7593
7594         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7595           Don't leak GCond.
7596
7597         * tests/check/Makefile.am:
7598         * tests/check/elements/.cvsignore:
7599         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7600         (GST_START_TEST), (multiqueue_suite):
7601           Add some dead simple unit tests for the 'multiqueue' element
7602           (some bits don't work yet and are disabled for now).
7603
7604 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7605
7606         * gst/gstelement.c: (gst_element_get_request_pad),
7607         (gst_element_class_get_request_pad_template):
7608           Make gst_element_get_request_pad() create request pads only for
7609           request pad templates and not for, say, sometimes pad templates.
7610
7611 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7612
7613         * docs/design/draft-klass.txt:
7614           Add example that needs more thinking.
7615         
7616         * docs/design/draft-missing-plugins.txt:
7617           More thoughts about wrapper plugins.
7618         
7619         * docs/random/ensonic/embedded.txt:
7620         * docs/random/ensonic/profiling.txt:
7621           More design work.
7622
7623 2007-03-25  Wim Taymans  <wim@fluendo.com>
7624
7625         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7626         (gst_base_src_loop):
7627         Only push the segment events in the PLAYING state for live sources.
7628
7629 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7630
7631         * gst/gstpipeline.c: (gst_pipeline_change_state):
7632         Modify the clock distribution path in PAUSED->PLAYING so that we 
7633         never attempt to choose a new clock unless we're actually leaving
7634         the PAUSED state for the first time. This prevents choosing a
7635         different clock when the state_change gets called for a 2nd time due
7636         to some element doing an async state change.
7637
7638 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7639
7640         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7641         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7642         (gst_pad_chain_unchecked), (gst_pad_push):
7643         Revert last commit. This needs some more thoughts.
7644
7645 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7646
7647         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7648         (gst_pad_chain_unchecked), (gst_pad_push):
7649         Check in set_caps if the caps are compatible with the pad and remove
7650         two functions that are redundant now. Fixes #421543.
7651
7652 2007-03-22  Wim Taymans  <wim@fluendo.com>
7653
7654         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7655         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7656         Unref some more to make valgrind happy.
7657
7658 2007-03-22  Wim Taymans  <wim@fluendo.com>
7659
7660         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7661         (gst_system_clock_id_wait_jitter),
7662         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7663         Fix anoying regression that survived a few releases. When adding an
7664         async entry while blocking on a sync entry, the sync entry will unblock
7665         but still be busy, so it should continue to wait instead of returning
7666         _BUSY to the app.
7667         Add some comments here and there.
7668
7669         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7670         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7671         Add testcase for this.
7672
7673 2007-03-22  Wim Taymans  <wim@fluendo.com>
7674
7675         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7676         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7677         WRONG_STATE and can silently pause the task. All other cases should
7678         error out.
7679
7680 2007-03-22  Wim Taymans  <wim@fluendo.com>
7681
7682         Patch by: Ville Syrjala <syrjala at sci dot fi>
7683
7684         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7685         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7686         Improve debugging.
7687
7688 2007-03-21  Michael Smith  <msmith@fluendo.com>
7689
7690         * docs/pwg/advanced-types.xml:
7691           Fix some errors in the typefinding docs pointed out on irc.
7692
7693 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7694
7695         * libs/gst/base/gstbasesrc.c:
7696         Clarify FIXME comment in the face of having added unlock_stop()
7697
7698 2007-03-21  Wim Taymans  <wim@fluendo.com>
7699
7700         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7701         Prepare for release where we warn against possible app breakage in the
7702         case of live pipelines along with an env var to enable/disable live
7703         preroll mode (GST_COMPAT=[no-]live-preroll).
7704
7705 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7706
7707         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7708         So we should use correct constants for checking for None offset.
7709
7710 2007-03-20  Wim Taymans  <wim@fluendo.com>
7711
7712         * docs/design/part-block.txt:
7713         Mention the fact that the newly switched element should be set to at
7714         least PAUSED.
7715
7716 2007-03-20  Wim Taymans  <wim@fluendo.com>
7717
7718         * gst/gst.c:
7719         Fix compilation with registry disabled as spotted by Saur.
7720
7721 2007-03-20  Wim Taymans  <wim@fluendo.com>
7722
7723         Patch by: Olivier Crete <tester at tester dot ca>
7724
7725         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7726         Look at the pending state too when syncing the element state to the
7727         parent. Fixes #420133.
7728
7729 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7730
7731         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7732         (gst_base_sink_change_state):
7733         * libs/gst/base/gstbasesink.h:
7734         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7735         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7736         (gst_base_src_deactivate):
7737         * libs/gst/base/gstbasesrc.h:
7738         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7739         for sub-classes to correctly clear any state they set trying to
7740         unlock, such as clearing out unlock commands from a command fd.
7741         API: basesrc::unlock_stop
7742         API: basesink::unlock_stop
7743
7744         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7745         (gst_fd_sink_render), (gst_fd_sink_unlock),
7746         (gst_fd_sink_unlock_stop):
7747         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7748         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7749         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7750
7751         Implement unlock_stop in fdsrc and fdsink.
7752         Implement seeking in fdsrc when a seekable fd is passed, as in
7753         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7754
7755 2007-03-19  Wim Taymans  <wim@fluendo.com>
7756
7757         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7758
7759         * gst/gstelement.c: (gst_element_class_init):
7760         Fix pad-added and pad-removed signal signatures so that the pad type is
7761         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7762
7763 2007-03-19  Wim Taymans  <wim@fluendo.com>
7764
7765         * docs/gst/gstreamer-sections.txt:
7766         Add new element field and method.
7767
7768         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7769         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7770         (gst_bin_recalc_state), (gst_bin_get_state_func),
7771         (gst_bin_element_set_state), (gst_bin_change_state_func),
7772         (gst_bin_continue_func), (bin_bus_handler),
7773         (bin_push_state_continue), (bin_handle_async_start),
7774         (bin_handle_async_done), (gst_bin_handle_message_func):
7775         Make async state changes a bit smarter by using new ASYNC_START and
7776         ASYNC_DONE messages. This reduces the number of times we run the state
7777         recalculation thread.
7778         Don't change state of element with a pending ASYNC_START message.
7779         Deprecate STATE_DIRTY messages.
7780         
7781         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7782         (gst_element_get_state_func), (gst_element_continue_state),
7783         (gst_element_lost_state), (gst_element_set_state_func),
7784         (gst_element_change_state):
7785         * gst/gstelement.h:
7786         Keep the state that was last set by the app in a new element field.
7787         Don't allow state changes when handling an element event.
7788         Post ASYNC_START and ASYNC_DONE messages.
7789         Change lost_state so that we go to PAUSED and wait for the parent to set
7790         us to PLAYING again (so latency calculation can be performed)
7791         Export gst_element_change_state() method so that subclasses can use it.
7792         API: gst_element_change_state()
7793         API: GST_STATE_TARGET
7794
7795         * gst/gstpipeline.c: (gst_pipeline_class_init),
7796         (reset_stream_time), (gst_pipeline_change_state),
7797         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7798         Using the new ASYNC_START message we can reset the base_time when
7799         needed. This can then be used to implement base_time redistribution in
7800         flushing seeks so that we can remove the explicit seek handling.
7801         Perform latency query and configuration when going to PLAYING.
7802
7803         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7804         (gst_base_sink_query), (gst_base_sink_change_state):
7805         Post new ASYNC_START/ASYNC_DONE messages.
7806
7807         * tests/check/generic/sinks.c: (GST_START_TEST):
7808         Fix test because the bin will not set the async element to PLAYING right
7809         away.
7810
7811         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7812         Make the message check a little stronger.
7813         Handle ASYNC messages.
7814
7815         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7816         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7817         Expect ASYNC_DONE messages.
7818
7819 2007-03-19  Wim Taymans  <wim@fluendo.com>
7820
7821         * docs/gst/gstreamer-sections.txt:
7822         * gst/gstmessage.c: (gst_message_new_async_start),
7823         (gst_message_new_async_done), (gst_message_parse_info),
7824         (gst_message_parse_async_start):
7825         * gst/gstmessage.h:
7826         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7827         support.
7828
7829 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7830
7831         * tools/gst-inspect.c:
7832         (print_plugin_automatic_install_info_codecs):
7833           Now that we don't check for the 'Codec' keyword any longer in the
7834           klass, we shouldn't spew a warning if the klass isn't a decoder or
7835           encoder (since it might be a Source/Network, for example).
7836
7837 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7838
7839         * tools/gst-inspect.c:
7840         (print_plugin_automatic_install_info_codecs):
7841           Don't require decoder/demuxer/depayloader elements or
7842           encoder/muxer/paylader elements to have 'Codec' as part of their
7843           factory class string when introspecting a plugin's capabilities.
7844           draft-klass.txt mentions that it might be removed in future, and
7845           flump3dec doesn't have it as part of its class string, so chances
7846           are others might also not have it.
7847
7848 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7849
7850         * po/af.po:
7851         * po/az.po:
7852         * po/bg.po:
7853         * po/ca.po:
7854         * po/cs.po:
7855         * po/de.po:
7856         * po/en_GB.po:
7857         * po/fr.po:
7858         * po/it.po:
7859         * po/nb.po:
7860         * po/nl.po:
7861         * po/ru.po:
7862         * po/sq.po:
7863         * po/sr.po:
7864         * po/sv.po:
7865         * po/tr.po:
7866         * po/uk.po:
7867         * po/vi.po:
7868         * po/zh_CN.po:
7869         * po/zh_TW.po:
7870           Update translations from translation project
7871
7872 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7873
7874         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7875         (gst_child_proxy_set_property):
7876           Invert precondition check to be alike the ones in the mimiced gobject
7877           api.
7878
7879 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7880
7881         * docs/design/draft-tagreading.txt:
7882         * docs/random/ensonic/audiobaseclasses.txt:
7883           Do some Architect work.
7884
7885         * gst/gstobject.c: (gst_object_set_name):
7886           Add a WARNING.
7887
7888         * gst/gstpad.c:
7889           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7890
7891 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7892
7893         * gst/gstsystemclock.c: (gst_system_clock_init),
7894         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7895         Defer starting the async system clock thread until the first async
7896         wait is scheduled. Fixes #414986.
7897
7898 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7899
7900         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7901         (gst_single_queue_free):
7902           Fix small leak (free GstSingleQueue structure too, not only contents).
7903
7904 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7905
7906         * gst/gstbin.c:(gst_bin_add):
7907         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7908         * win32/common/libgstbase.def:
7909         * win32/common/libgstreamer.def:
7910         Add new exported functions.
7911
7912 2007-03-09  Wim Taymans  <wim@fluendo.com>
7913
7914         * docs/plugins/gstreamer-plugins-sections.txt:
7915         Fix GstTee docs.
7916
7917 2007-03-09  Wim Taymans  <wim@fluendo.com>
7918
7919         * docs/gst/gstreamer-sections.txt:
7920         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7921         * gst/gstbuffer.h:
7922         Add metadata copy functions. Fixes #393099.
7923         API: gst_buffer_copy_metadata()
7924
7925         * gst/gstutils.c: (gst_buffer_stamp):
7926         * libs/gst/base/gstbasetransform.c:
7927         (gst_base_transform_prepare_output_buffer):
7928         Use new metadata copy functions.
7929
7930 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7931
7932         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7933         (gst_identity_init), (gst_identity_check_perfect),
7934         (gst_identity_check_imperfect_timestamp),
7935         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7936         (gst_identity_set_property), (gst_identity_get_property):
7937         * plugins/elements/gstidentity.h:
7938         Separate out check-imperfect-timestamp and check-imperfect-offset.
7939         Put back check-perfect as it was to keep compatibility.
7940
7941 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7942
7943         * gst/gstelement.c: (gst_element_dispose):
7944         There's no need to warn if VOID_PENDING is not NONE here, as
7945         long as the state is NULL it's ok, and that's checked immediately
7946         above.
7947
7948 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7949
7950         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7951         Fix check for perfect stream to ignore buffers with -1 
7952         offsets/offset ends when checking data contiguity.
7953
7954 2007-03-08  Wim Taymans  <wim@fluendo.com>
7955
7956         * tools/gst-launch.c: (event_loop):
7957         Print INFO messages.
7958
7959 2007-03-08  Wim Taymans  <wim@fluendo.com>
7960
7961         * libs/gst/base/gstbasetransform.c:
7962         (gst_base_transform_sink_eventfunc),
7963         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7964         (gst_base_transform_activate):
7965         * libs/gst/base/gstbasetransform.h:
7966         Add support for dropping buffers with custom GstFlowReturn.
7967         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7968         buffers or dropped buffers.
7969
7970         * docs/libs/gstreamer-libs-sections.txt:
7971         docs for new custom return code.
7972
7973         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7974         Use drop support in base class to implement drop-probability.
7975
7976 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7977
7978         * gst/gst.c: (load_plugin_func):
7979         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7980         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7981         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7982           Remove newlines at end of debug log strings.
7983
7984 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7985
7986         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7987         Only post bus message at max, once per buffer received.
7988
7989 2007-03-07  Wim Taymans  <wim@fluendo.com>
7990
7991         * docs/design/Makefile.am:
7992         * docs/design/part-synchronisation.txt:
7993         Add doc about synchronisation
7994
7995         * docs/design/draft-latency.txt:
7996         * docs/design/part-TODO.txt:
7997         * docs/design/part-clocks.txt:
7998         * docs/design/part-events.txt:
7999         * docs/design/part-gstbus.txt:
8000         * docs/design/part-gstpipeline.txt:
8001         * docs/design/part-live-source.txt:
8002         * docs/design/part-messages.txt:
8003         * docs/design/part-overview.txt:
8004         * docs/design/part-streams.txt:
8005         * docs/design/part-trickmodes.txt:
8006         Documentation updates.
8007
8008 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8009
8010         * gstreamer.doap:
8011         Update the doap file.
8012
8013 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8014
8015         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8016         Rename non-perfect to imperfect for Mike and for the sanctity of the
8017         language.
8018         Also make sure bus message gets emitted for data-incontiguities.
8019
8020 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8021
8022         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8023         (gst_identity_start):
8024         * plugins/elements/gstidentity.h:
8025         Emit bus message if check-perfect is true and we encounter a
8026         non-perfect stream between 2 consecutive buffers.
8027         Fixes #415394.
8028
8029 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8030
8031         * configure.ac:
8032         Back to CVS
8033
8034 === release 0.10.12 ===
8035
8036 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
8037
8038         * configure.ac:
8039           releasing 0.10.12, "Inevitable Demise"
8040
8041 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
8042
8043         * configure.ac:
8044          Version 0.10.11.2 (0.10.12 pre-release)
8045          Bump libtool versioning.
8046
8047 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
8048
8049         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8050           Log flow-names and not numbers.
8051
8052 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8053
8054         * configure.ac:
8055           Convert to new AG_GST style.
8056
8057 2007-02-28  Wim Taymans  <wim@fluendo.com>
8058
8059         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8060         Don't unref query twice.
8061
8062 2007-02-28  Wim Taymans  <wim@fluendo.com>
8063
8064         * gst/gstvalue.c: (gst_value_transform_object_string),
8065         (_gst_value_initialize):
8066         Implement GstObject -> string transform so we print object names
8067         when serializing GValues containing GstObjects.
8068
8069 2007-02-28  Wim Taymans  <wim@fluendo.com>
8070
8071         * docs/gst/gstreamer-sections.txt:
8072         Add new stuff to docs.
8073
8074 2007-02-28  Wim Taymans  <wim@fluendo.com>
8075
8076         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8077         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8078         (gst_base_sink_change_state):
8079         Improve latency query code.
8080         Don't leak latency events.
8081
8082         * tests/check/gst/gstbin.c: (GST_START_TEST):
8083         Improve debugging.
8084
8085 2007-02-28  Wim Taymans  <wim@fluendo.com>
8086
8087         * gst/gstelement.c: (gst_element_message_full),
8088         (gst_element_get_state_func):
8089         * gst/gstelement.h:
8090         Improve docs a little. Added Since: for new macro.
8091
8092         * gst/gstobject.c: (gst_object_sink):
8093         * gst/gstpipeline.c: (gst_pipeline_change_state),
8094         (gst_pipeline_set_new_stream_time):
8095         * gst/gstpipeline.h:
8096         Improve debugging and docs.
8097
8098         * gst/gstutils.c: (gst_element_state_change_return_get_name):
8099         Improve debugging.
8100
8101 2007-02-28  Wim Taymans  <wim@fluendo.com>
8102
8103         * gst/gstelement.c: (gst_element_message_full),
8104         (gst_element_set_locked_state), (gst_element_get_state_func),
8105         (gst_element_change_state):
8106         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8107         Documentation updates.
8108         Small code cleanups.
8109
8110         * gst/gstmessage.c: (gst_message_new_info),
8111         (gst_message_parse_info):
8112         * gst/gstmessage.h:
8113         API: gst_message_new_info()
8114         API: gst_message_parse_info()
8115         Add INFO message create and parse code.
8116
8117 2007-02-28  Wim Taymans  <wim@fluendo.com>
8118
8119         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8120         (bin_query_latency_done):
8121         Also report the live parameter of a latency query.
8122
8123 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8124
8125         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8126           Copy the current generic/states example from -base and adapt so
8127           we can use the exact same code everywhere.
8128           Check a STATES_IGNORE_ELEMENTS env var which can be used
8129           to ignore certain element factories for this test, which is
8130           what is being done in -base
8131         * tests/check/Makefile.am:
8132           Mention this environment variable.
8133
8134 2007-02-27  Wim Taymans  <wim@fluendo.com>
8135
8136         * docs/gst/gstreamer-sections.txt:
8137         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8138         (gst_bus_timed_pop), (gst_bus_pop):
8139         * gst/gstbus.h:
8140         API: gst_bus_timed_pop()
8141         Implement gst_bus_timed_pop() to do a blocking timed wait for a
8142         message to arrive on the bus.
8143
8144         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8145         (gst_bus_suite):
8146         Two unit tests for new _timed_pop() function.
8147
8148 2007-02-23  Wim Taymans  <wim@fluendo.com>
8149
8150         * gst/gstpipeline.c: (gst_pipeline_change_state),
8151         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8152         Don't ref a NULL clock in _provide_clock_func().
8153         Don't allow an INVALID delay.
8154         Don't try to calculate base_time with an invalid start_time.
8155         Also distribute and notify a NULL clock when it was selected.
8156
8157         * tools/gst-launch.c: (event_loop):
8158         Don't crash when a NULL clock was selected in the pipeline.
8159
8160 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8161
8162         * docs/design/Makefile.am:
8163         * docs/design/draft-missing-plugins.txt:
8164         * docs/random/draft-missing-plugins.txt:
8165           Some small updates: update plugin system identifier prefix
8166           ('gstreamer.net' to 'gstreamer'), mention our new install
8167           API in libgstbaseutils rather than libgimme-codec, add
8168           reference to the online docs.
8169
8170 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8171
8172         * win32/common/config.h:
8173           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
8174           use moap cl ci to only check in what is mentioned in the ChangeLog.
8175
8176 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8177
8178         * docs/gst/gstreamer-sections.txt:
8179         * gst/gstelement.h:
8180           Fix up documentation to link to the correct GstGError section.
8181           Add GST_ELEMENT_INFO macro since someone else added a Info message.
8182
8183 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8184
8185         * tools/gst-launch.c: (event_loop):
8186           Make sure that we actually show the important message part of a
8187           warning message.
8188           No need to check if the gerror is not NULL to free; first of all
8189           g_free accepts NULL; and second the default error handler would
8190           segfault if gerror was NULL.
8191
8192 2007-02-21  Wim Taymans  <wim@fluendo.com>
8193
8194         * docs/gst/gstreamer-sections.txt:
8195         Removed docs as well.
8196
8197 2007-02-21  Wim Taymans  <wim@fluendo.com>
8198
8199         * gst/gstmessage.c: (gst_message_parse_duration):
8200         * gst/gstmessage.h:
8201         Remove new messages for release.
8202
8203 2007-02-20  Wim Taymans  <wim@fluendo.com>
8204
8205         * docs/design/part-gstghostpad.txt:
8206         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8207         (gst_ghost_pad_new_full):
8208         Make the ghostpad a parent of the internal pad again for better backward
8209         compatibility. Don't write code that relies on this however.
8210
8211         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8212         (gst_pad_link_check_hierarchy):
8213         Require that parents should be GstElements in the hierarchy check.
8214
8215 2007-02-20  Wim Taymans  <wim@fluendo.com>
8216
8217         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8218         (gst_bin_change_state_func), (bin_query_min_max_init),
8219         (bin_query_latency_fold), (bin_query_latency_done),
8220         (gst_bin_query):
8221         Improve debug info.
8222         Implement latency query.
8223
8224 2007-02-20  Wim Taymans  <wim@fluendo.com>
8225
8226         * docs/design/part-gstghostpad.txt:
8227         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8228         (gst_ghost_pad_internal_do_activate_push),
8229         (gst_ghost_pad_internal_do_activate_pull),
8230         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8231         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8232         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8233         Do not set the internal pad as a parent anymore so we can avoid
8234         hierarchy linking errors when the ghostpad has no parent yet. This also
8235         fixes failed activation because of unlinked internal pads, which in
8236         turn fixes the impossible case where you have to activate a pad before
8237         you can add it to a running element.
8238         Also fix the docs.
8239
8240         * gst/gstpad.c: (pre_activate), (post_activate),
8241         (gst_pad_set_active), (gst_pad_activate_pull),
8242         (gst_pad_activate_push), (gst_pad_check_pull_range):
8243         Add some more debug info.
8244         Mark activation mode in pre_activate so that we don't try to activate in
8245         endless loops. Fixes #385084.
8246
8247 2007-02-19  Wim Taymans  <wim@fluendo.com>
8248
8249         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8250         (gst_base_transform_check_get_range):
8251         Implement a checkgetrange function instead of relying on the default
8252         core behaviour that assumes we can operate in pull mode if we have a
8253         getrange function. First step at fixing #385084.
8254
8255 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
8256
8257         * gst/gstchildproxy.h:
8258         * libs/gst/base/gstbasesink.h:
8259         * libs/gst/base/gstbasesrc.h:
8260         * libs/gst/base/gstbasetransform.h:
8261         More docs coverage and some ChangeLog surgery (add missing names)
8262
8263 2007-02-15  Wim Taymans  <wim@fluendo.com>
8264
8265         * docs/design/part-TODO.txt:
8266         * docs/design/part-activation.txt:
8267         * docs/design/part-block.txt:
8268         * docs/design/part-buffering.txt:
8269         * docs/design/part-clocks.txt:
8270         * docs/design/part-element-source.txt:
8271         * docs/design/part-events.txt:
8272         * docs/design/part-gstbin.txt:
8273         * docs/design/part-gstbus.txt:
8274         * docs/design/part-gstpipeline.txt:
8275         * docs/design/part-live-source.txt:
8276         * docs/design/part-messages.txt:
8277         * docs/design/part-overview.txt:
8278         * docs/design/part-qos.txt:
8279         * docs/design/part-query.txt:
8280         * docs/design/part-states.txt:
8281         * docs/design/part-trickmodes.txt:
8282         Some doc updates. Start renaming from stream_time to running_time where
8283         it was used wrongly.
8284
8285 2007-02-15  Wim Taymans  <wim@fluendo.com>
8286
8287         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8288         Answer LATENCY query.
8289
8290 2007-02-15  Wim Taymans  <wim@fluendo.com>
8291
8292         * tests/check/gst/gstevent.c: (event_probe), (test_event),
8293         (GST_START_TEST):
8294         Improve debugging.
8295
8296 2007-02-15  Wim Taymans  <wim@fluendo.com>
8297
8298         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8299         (gst_pad_dispatcher):
8300         Improve debugging of default pad dispatcher and query functions.
8301
8302 2007-02-15  Wim Taymans  <wim@fluendo.com>
8303
8304         * docs/gst/gstreamer-sections.txt:
8305         Remove old unused method.
8306
8307 2007-02-13  Wim Taymans  <wim@fluendo.com>
8308
8309         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8310         Fix check
8311
8312 2007-02-13  Wim Taymans  <wim@fluendo.com>
8313
8314         * docs/design/part-seeking.txt:
8315         Some small update.
8316
8317         * gst/gstsegment.c: (gst_segment_set_seek):
8318         Revert old bogus change that should make seeking work again.
8319
8320 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8321
8322         * docs/random/ensonic/dynlink.txt:
8323         * docs/random/ensonic/interfaces.txt:
8324         * docs/random/ensonic/receipies.txt:
8325           Possible dynamic reconnection api, plus some type fixes the other two
8326           docs.
8327
8328 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8329
8330         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8331         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8332         Also check for an absolute path following file:// in the filesrc
8333         element. Remove redundant check and call g_path_is_absolute() on the
8334         unescaped location.
8335
8336 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8337
8338         * docs/design/draft-klass.txt:
8339           Add existing category analysis.
8340           
8341         * gst/gstcaps.c:
8342           Fix doc example, framerate is a fraction.
8343
8344 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8345
8346         * configure.ac:
8347         * docs/gst/Makefile.am:
8348         * docs/gst/gstreamer-sections.txt:
8349         * docs/libs/Makefile.am:
8350           Erm, forgot a bunch of --extra-dir.
8351
8352 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8353
8354         * configure.ac:
8355         * docs/gst/Makefile.am:
8356         * docs/libs/Makefile.am:
8357         * docs/plugins/Makefile.am:
8358           Add crossreferences to glib/gobject docs.
8359
8360 2007-02-12  Wim Taymans  <wim@fluendo.com>
8361
8362         * docs/design/draft-latency.txt:
8363         Small update.
8364
8365         * docs/libs/gstreamer-libs-sections.txt:
8366         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8367         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8368         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8369         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8370         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8371         (gst_base_sink_get_position), (gst_base_sink_query),
8372         (gst_base_sink_change_state):
8373         * libs/gst/base/gstbasesink.h:
8374         API: gst_base_sink_query_latency() to let subclasses query the upstream
8375         latency.
8376         API: gst_base_sink_get_latency() to let subclasses query the configured
8377         latency in the sink.
8378         Implement query and set latency.
8379         Update some docs.
8380         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8381         don't continue preroll when we are flushing. Fixes #405284.
8382
8383         * tests/check/pipelines/stress.c: (change_state_timeout),
8384         (quit_timeout), (GST_START_TEST), (stress_suite):
8385         Test for #405284.
8386
8387 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8388
8389         Patch by: René Stadler <mail at renestadler de>
8390
8391         * docs/gst/gstreamer-sections.txt:
8392         * gst/gsttaglist.c: (_gst_tag_initialize):
8393         * gst/gsttaglist.h:
8394           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8395
8396 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8397
8398         * docs/libs/Makefile.am:
8399           Fix path to core docs.
8400
8401         * gst/gstbin.c: (gst_bin_get_by_interface),
8402         (gst_bin_iterate_all_by_interface):
8403           Refix docs by also renaming 'interface' to 'iface' in implementation.
8404
8405         * docs/gst/gstreamer-sections.txt:
8406         * gst/gstcaps.c:
8407         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8408         * gst/gstchildproxy.h:
8409         * gst/gstelementfactory.c:
8410         * gst/gstpadtemplate.h:
8411         * libs/gst/controller/gstcontroller.c:
8412         (gst_controlled_property_new):
8413           Document more.
8414
8415 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8416
8417         * gst/gstbin.h:(gst_bin_get_by_interface),
8418         (gst_bin_iterate_all_by_interface):
8419         Replace interface parameter name by iface as interface is 
8420         a reserved keyword in Visual Studio for C++ projects so it removes
8421         a build error for application developpers using VS.
8422         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8423         Fix a bug on Windows in uri format check. Now the prefix checked
8424         is file:// and next we check if the path after file:// is absolute.
8425         * win32/common/libgstbase.def:
8426         * win32/common/libgstdataprotocol.def:
8427         * win32/common/libgstgstreamer.def:
8428         Add new exported functions.
8429
8430 2007-02-09  Andy Wingo  <wingo@pobox.com>
8431
8432         * tests/check/pipelines/simple-launch-lines.c
8433         (simple_launch_lines_suite, test_tee): Disable tee test until I
8434         have time to fix it :-(
8435
8436         * tests/check/Makefile.am (noinst_HEADERS): 
8437         * tests/check/libs/libsabi.c: 
8438         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8439         * tests/check/gst/gstabi.c: 
8440         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8441
8442         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8443         tests for push and pull tee behavior.
8444
8445         * plugins/elements/gsttee.h: 
8446         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8447         mark as deprecated as well as unimplemented. It was a crack idea.
8448         Add support for tee operating in pull mode, off by default.
8449
8450         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8451         normal-case logs down to LOG, raise errors to WARNING.
8452         (gst_registry_xml_read_cache): Don't log before calling a function
8453         that logs.
8454
8455         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8456         exit (registry finalize).
8457         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8458         DEBUG log when we emit signals that people don't even have the
8459         chance to connect to.
8460         (gst_registry_scan_path_level): Less logging in the normal case.
8461
8462 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8463
8464         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8465
8466         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8467         Correctly generate EOS for non-seekable files. We don't have a total
8468         length for them and would get an unexpected end of file if we only
8469         special-cased for regular files. (Fixes: #404569)
8470
8471 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8472
8473         * tests/check/elements/filesrc.c: (GST_START_TEST),
8474         (filesrc_suite):
8475         Add unit test for the GstURIHandler interface in filesrc. This also
8476         tests the newly added file://localhost/foo/bar support.
8477
8478 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8479
8480         * gst/gstelementfactory.h:
8481           The klass string is not a hierarchy. Add reference to the design doc
8482           for more information and common types.
8483
8484 2007-02-02  Wim Taymans  <wim@fluendo.com>
8485
8486         * gst/gstquery.c: (gst_query_new_latency):
8487         Remove old structure field.
8488
8489 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8490
8491         * tools/gst-launch.1.in:
8492           Give example for network streaming (#351998)
8493
8494 2007-02-02  Wim Taymans  <wim@fluendo.com>
8495
8496         * docs/gst/gstreamer-sections.txt:
8497         Add docs for new methods.
8498
8499         * gst/gstevent.c: (gst_event_new_latency),
8500         (gst_event_parse_latency):
8501         * gst/gstevent.h:
8502         Add new LATENCY event to configure latency in a pipeline.
8503         API: gst_event_new_latency
8504         API: gst_event_parse_latency
8505
8506         * gst/gstmessage.c: (gst_message_new_buffering),
8507         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8508         (gst_message_new_latency), (gst_message_parse_buffering),
8509         (gst_message_parse_lost_preroll):
8510         * gst/gstmessage.h:
8511         Added messages used in draft-latency.
8512         API: gst_message_new_lost_preroll
8513         API: gst_message_parse_lost_preroll
8514         API: gst_message_new_prerolled
8515         API: gst_message_new_latency
8516
8517         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8518         (gst_query_parse_latency):
8519         * gst/gstquery.h:
8520         Implemented new latency query as in design doc.
8521         API: gst_query_new_latency
8522         API: gst_query_set_latency
8523         API: gst_query_parse_latency
8524
8525 2007-02-02  Wim Taymans  <wim@fluendo.com>
8526
8527         * docs/design/draft-latency.txt:
8528         Slight redesign to allow for dynamic latency adjustments.
8529
8530         * docs/design/part-negotiation.txt:
8531         Fix some typos.
8532
8533 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8534
8535         reviewed by: Wim Taymans <wim@fluendo.com>
8536
8537         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8538         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8539         Allow file://localhost/foo/bar URLs and correctly fail for every other
8540         hostname that one sets. This was gnomevfssrc is linked for those if
8541         installed as it can handle it (#403172)
8542
8543 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8544
8545         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8546
8547         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8548         (unref_data), (gst_collect_pads_add_pad_full):
8549         * libs/gst/base/gstcollectpads.h:
8550         Don't put the previously added destroy notify in the GstCollectData
8551         struct as all it's padding is already used and we don't want to break
8552         ABI. Instead put in the pad's GObject data for now. This should be
8553         cleaned up for 0.11 (#402393).
8554
8555 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8556
8557         reviewed by: Wim Taymans <wim@fluendo.com>
8558
8559         * docs/libs/gstreamer-libs-sections.txt:
8560         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8561         (unref_data), (gst_collect_pads_add_pad),
8562         (gst_collect_pads_add_pad_full):
8563         * libs/gst/base/gstcollectpads.h:
8564         API: Add function to specify a destroy notification for custom
8565         GstCollectData when adding new pads in GstCollectPads (#402393).
8566
8567 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8568
8569         * po/sv.po:
8570           Update Swedish translation (#378255).
8571
8572 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8573
8574         * docs/design/draft-klass.txt:
8575           Fix the previous change, this is a list of categories and not a hierarchy.
8576
8577 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8578
8579         * docs/design/draft-klass.txt:
8580           Add info about how to get a list of used classes.
8581
8582 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8583
8584         * plugins/elements/gsttypefindelement.c:
8585         (gst_type_find_element_chain_do_typefinding),
8586         (gst_type_find_element_change_state):
8587           Don't leak found caps in chain function (no idea why that never
8588           showed up as a leak anywhere).
8589
8590 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8591
8592         * gst/gstplugin.h:
8593           Fix and expand GstPluginDesc API docs.
8594
8595 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8596
8597         * gst/gstcaps.c:
8598         * gst/gstelementfactory.c:
8599         * gst/gstpadtemplate.h:
8600           api doc fixes
8601
8602         * libs/gst/controller/gstcontroller.c:
8603         (gst_controlled_property_new):
8604         * tests/examples/controller/audio-example.c:
8605           comment fixes
8606
8607 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8608
8609         * configure.ac:
8610           comment about refining the xml deps
8611
8612         * docs/manuals.mak:
8613           comments about moving away from jade for docs
8614         
8615         * gst/gst.c:
8616           recommit the ifdefs to use the binary registry
8617         
8618         * gst/gstbin.c: (gst_bin_change_state_func):
8619           this break is obsolete
8620
8621         * gst/gstelementfactory.h:
8622           better GST_ELEMENT_DETAILS docs, add comment about translation
8623
8624         * gst/gstinfo.h:
8625           remove eol slash
8626
8627         * gst/gstobject.c: (gst_signal_object_get_type):
8628           add G_UNLIKELY as usual
8629
8630         * gst/gstpad.c: (gst_pad_event_default):
8631           add fall trhu comment
8632
8633         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8634         (gst_registry_binary_initialize_magic),
8635         (gst_registry_binary_save_string),
8636         (gst_registry_binary_save_pad_template),
8637         (gst_registry_binary_save_feature),
8638         (gst_registry_binary_save_plugin),
8639         (gst_registry_binary_write_cache),
8640         (gst_registry_binary_check_magic),
8641         (gst_registry_binary_load_pad_template),
8642         (gst_registry_binary_load_feature),
8643         (gst_registry_binary_load_plugin),
8644         (gst_registry_binary_read_cache):
8645           comment typo and formatting
8646
8647         * gst/gstutils.c: (gst_element_state_get_name),
8648         (gst_element_state_change_return_get_name):
8649           remove obsolete breaks
8650
8651         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8652           add FIXME 0.11 and remove cpp comment
8653
8654 2007-01-29  Edward Hervey  <edward@fluendo.com>
8655
8656         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8657         Fix print statement in an even more portable way.
8658
8659 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8660
8661         * docs/gst/gstreamer-sections.txt:
8662         * gst/gstutils.h:
8663           API: add GST_ROUND_DOWN_* macros (#401781).
8664
8665 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8666
8667         * docs/gst/gstreamer.types.in:
8668         * gst/gstregistry.c: (gst_registry_class_init):
8669           Document registry signals and make gtk-doc pick them up (#401381).
8670
8671 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8672
8673         * docs/pwg/building-testapp.xml:
8674           Add some audioconverts and audioresample to the pipeline, and some
8675           more comments and error handling.
8676
8677 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8678
8679         * docs/manual/manual.xml:
8680         * docs/pwg/pwg.xml:
8681           Fix typo (#400987).
8682
8683 2007-01-26  Wim Taymans  <wim@fluendo.com>
8684
8685         * gst/gstcaps.c: (gst_static_caps_get):
8686         Init caps flags too.
8687
8688 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8689
8690         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8691
8692         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8693         If not using mmap'ed files try to seek to the end instead of the
8694         start to determine whether we can seek at all. This fixes the case
8695         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8696         seeks for everything afterwards fail. Fixes #400656
8697
8698 2007-01-25  Wim Taymans  <wim@fluendo.com>
8699
8700         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8701         Add some refcount debugging.
8702         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8703         in multiple streaming threads.
8704
8705 2007-01-25  Wim Taymans  <wim@fluendo.com>
8706
8707         Patch by: David Schleef <ds at schleef dot org>
8708
8709         * docs/libs/gstreamer-libs-sections.txt:
8710         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8711         * libs/gst/base/gstadapter.h:
8712         API: gst_adapter_copy() that can reduce the amount of memcpy when
8713         getting data from the adapter. Fixes #388201.
8714
8715 2007-01-25  Edward Hervey  <edward@fluendo.com>
8716
8717         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8718         In print statements, "%x" is for guint. Fixes build on macosx.
8719
8720 2007-01-24  Edward Hervey  <edward@fluendo.com>
8721
8722         * plugins/elements/gstmultiqueue.c:
8723         (gst_multi_queue_loop):
8724         Small fix.
8725         (single_queue_overrun_cb), (single_queue_underrun_cb),
8726         (single_queue_check_full), (gst_single_queue_new):
8727         Implement single queue growth system.
8728         This uses the extra-size properties, and will grow single queues by
8729         that much if one goes full whereas there are others empty. This is
8730         called extra-mode in the code.
8731         When a single queue's levels go back below the initial max-size
8732         limits, it is no longer in extra-mode. This is to ensure we don't
8733         consume too much memory.
8734         Fixes #399875
8735
8736 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8737
8738         * gst/gst.c: (gst_init_get_option_group):
8739           Make warning about late g_thread_init() calls a bit more explicit,
8740           so that it's more obvious to application developers what they need
8741           to do if a user files a bug against their application.
8742
8743 2007-01-22  Edward Hervey  <edward@fluendo.com>
8744
8745         * plugins/elements/gstmultiqueue.c:
8746         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8747         Remove previous hack of unsetting the flushing flag for the source pad
8748         instead of activating it. Instead, fix the source pad activate function
8749         so that it no longer depends on having a parent set or not.
8750
8751 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8752
8753         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8754
8755         * docs/manual/basics-bus.xml:
8756           Fix example code, gst_element_unref() doesn't exist any longer.
8757
8758 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8759
8760         Patch by: Mark Nauwelaerts <manauw at skynet be>
8761
8762         * gst/gstpad.c:
8763           Fix two docs typoes (#399094).
8764
8765 2007-01-19  Edward Hervey  <edward@fluendo.com>
8766
8767         * docs/faq/gst-uninstalled:
8768         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8769         depending on libgstbaseutils can work in uninstalled environment.
8770
8771 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8772
8773         * gst/gsttaglist.h:
8774         * gst/gsttagsetter.c:
8775         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8776         statement for new tag.
8777
8778 2007-01-17  Edward Hervey  <edward@fluendo.com>
8779
8780         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8781         When dynamically creating single queues, activate sinkpad before adding
8782         it.
8783         We should be doing the same thing for the source pad, but we can't
8784         since it would call a method which needs the parent to be set in order
8785         to work propertly. Instead of activating the source pad, we just unset
8786         the flushing flag, which is the minimal requirement for adding a pad
8787         to an element in a state greater than READY.
8788
8789 2007-01-17  Edward Hervey  <edward@fluendo.com>
8790
8791         * docs/faq/gst-uninstalled:
8792         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8793         Mac OS X.
8794
8795 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8796
8797         * tests/check/gst/gstabi.c:
8798         * tests/check/gst/struct_hppa.h:
8799         * tests/check/libs/libsabi.c:
8800         * tests/check/libs/struct_hppa.h:
8801           Add ABI structs for HPPA (see #393796).
8802
8803 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8804
8805         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8806           Actually write ABI structs to the file specified in the GST_ABI
8807           environment variable, as the message we print claims we would.
8808
8809 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8810
8811         * tests/check/gst/gsttask.c:
8812           Fix header comment.
8813
8814 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8815
8816         * gst/gsttaglist.c: (_gst_tag_initialize):
8817           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8818           previous two entries.
8819
8820 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8821
8822         * docs/gst/gstreamer-sections.txt:
8823         * gst/gsttaglist.c: (_gst_tag_initialize):
8824         * gst/gsttaglist.h:
8825           Add tag support for beat-per-minute.
8826
8827 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8828
8829         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8830         (gst_registry_binary_initialize_magic),
8831         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8832         (gst_registry_binary_save_pad_template),
8833         (gst_registry_binary_save_feature),
8834         (gst_registry_binary_save_plugin),
8835         (gst_registry_binary_write_cache),
8836         (gst_registry_binary_check_magic),
8837         (gst_registry_binary_load_pad_template),
8838         (gst_registry_binary_load_feature),
8839         (gst_registry_binary_load_plugin),
8840         (gst_registry_binary_read_cache):
8841         * gst/gstregistrybinary.h:
8842           Use glib types, cleanup comments, impement interfaces and uri-types.
8843
8844 2007-01-13  Andy Wingo  <wingo@pobox.com>
8845
8846         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8847         getrange() to return buffers with other caps, while we fix
8848         demuxers and typefind, or otherwise change part-negotiation.txt.
8849
8850 2007-01-12  Andy Wingo  <wingo@pobox.com>
8851
8852         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8853         Factor start/stop into this private function instead of partially
8854         in activate functions and partially in the change_state function.
8855         Fixes setup before the element has changed from READY->PAUSED, as
8856         is the case in pull-mode pipelines.
8857         (gst_base_transform_sink_activate_push)
8858         (gst_base_transform_src_activate_pull): Refactor to use
8859         gst_base_transform_activate().
8860         (gst_base_transform_change_state): Removed, not needed any more.
8861
8862         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8863         Truncate before fixating.
8864         
8865         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8866         Don't set_caps() if the result of fixating is ANY, as it's not
8867         supported, and not necessary in the case of a link with no
8868         template caps on either side. Fixes tests/check/libs/basesrc in
8869         some pull-mode tests.
8870
8871         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8872         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8873         (gst_base_transform_src_activate_pull): 
8874         Track the activation mode.
8875         (gst_base_transform_setcaps): In pull mode, when activating the
8876         src pad, after activating the sink pad, activate the sink pad's
8877         peer, as discussed in part-negotiation.txt.
8878
8879         * libs/gst/base/gstbasesrc.h: 
8880         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8881         vmethod, as in basesink.
8882
8883         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8884
8885         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8886         mode, first proxy the setcaps to the peer pad.
8887         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8888         new fixate vmethod.
8889         (gst_base_sink_default_activate_pull): Rename from
8890         gst_base_sink_activate_pull.
8891         (gst_base_sink_negotiate_pull): New function, performs negotiation
8892         in pull mode before calling ::activate_pull().
8893         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8894         vmethod instead of the default implementation. I have no idea how
8895         this worked before. Negotiate before calling activate_pull.
8896
8897         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8898         sink pads in pull mode. In addition to being correct, fixes
8899         filesrc ! decodebin ! identity ! fakesink.
8900         (gst_pad_get_range, gst_pad_pull_range): Don't call
8901         gst_pad_set_caps() if the caps changes; instead error out with
8902         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8903
8904 2007-01-12  Andy Wingo  <wingo@pobox.com>
8905
8906         * docs/design/part-negotiation.txt: Update with more policy.
8907
8908 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8909
8910         * libs/gst/check/gstbufferstraw.h:
8911         * libs/gst/check/gstcheck.h:
8912           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8913           belongs.
8914
8915 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8916
8917         * tests/check/Makefile.am:
8918         * tests/check/gst/.cvsignore:
8919         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8920         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8921         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8922         (GST_START_TEST), (gst_tag_setter_suite):
8923           Add minimal unit test for beforementioned GstTagSetter bug.
8924
8925 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8926
8927         Patch by: René Stadler <mail at renestadler dot de>
8928
8929         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8930           gst_tag_list_merge() returns a new list, so it's not the best idea
8931           to ingore its return value. Effectively meant that tags could only
8932           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8933           Also add function guard to require a non-NULL taglist as input (has
8934           always been so due to gst_tag_list_copy(), just making it explicit).
8935
8936 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8937
8938         * docs/random/draft-missing-plugins.txt:
8939           Some additions: mention new API that is supposed to be used at the
8940           various stages; short blob about new gst-inspect introspection
8941           option; mention potential future problem with plugins that have
8942           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8943
8944 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8945
8946         * tools/gst-inspect.c:
8947         (print_plugin_automatic_install_info_codecs),
8948         (print_plugin_automatic_install_info_protocols),
8949         (print_plugin_automatic_install_info), (main):
8950         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8951         introspect plugin files and get machine-parsable output that corresponds
8952         to the last bit of the missing-plugin installer string (small gotcha:
8953         doesn't take into account ranks).
8954
8955 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8956
8957         * configure.ac:
8958         * docs/gst/gstreamer-sections.txt:
8959         * gst/Makefile.am:
8960         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8961         (gst_registry_lookup_locked):
8962         * gst/gstregistry.h:
8963         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8964         (gst_registry_binary_initialize_magic),
8965         (gst_registry_binary_save_string),
8966         (gst_registry_binary_save_pad_template),
8967         (gst_registry_binary_save_feature),
8968         (gst_registry_binary_save_plugin),
8969         (gst_registry_binary_write_cache),
8970         (gst_registry_binary_check_magic),
8971         (gst_registry_binary_load_pad_template),
8972         (gst_registry_binary_load_feature),
8973         (gst_registry_binary_load_plugin),
8974         (gst_registry_binary_read_cache):
8975         * gst/gstregistrybinary.h:
8976         * gst/gstregistryxml.c: (load_feature),
8977         (gst_registry_xml_read_cache):
8978           commit binary registry (disabled by default, see #359653)
8979
8980 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8981
8982         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8983           Fix 'make check' too.
8984
8985 2007-01-10  Andy Wingo  <wingo@pobox.com>
8986
8987         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8988         notes.
8989         
8990         * docs/design/part-negotiation.txt: Update with, um, one way that
8991         pull-mode negotiation might work?
8992
8993         * gst/gstpad.h: 
8994         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8995         that the pad must be a src pad; makes sense to call it the other
8996         way in pull mode, and the logic is symmetric anyway.
8997
8998 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8999
9000         * plugins/elements/gstfilesink.c:
9001           Include <stdio.h> for fseeko().
9002
9003 2007-01-10  Wim Taymans  <wim@fluendo.com>
9004
9005         * gst/gstevent.c:
9006         * gst/gstevent.h:
9007         Reserve LATENCY event.
9008
9009 2007-01-09  Wim Taymans  <wim@fluendo.com>
9010
9011         * docs/design/draft-latency.txt:
9012         Updates.
9013
9014 2007-01-09  Wim Taymans  <wim@fluendo.com>
9015
9016         * docs/design/draft-latency.txt:
9017         Updates.
9018
9019         * gst/gstelement.h:
9020         * gst/gststructure.c:
9021         * gst/gsttrace.c:
9022         Small typo fixes.
9023
9024 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9025
9026         * tests/check/.cvsignore:
9027           Ignore test-registry.xml as well.
9028
9029 2007-01-09  Wim Taymans  <wim@fluendo.com>
9030
9031         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9032         unref data at the end when we are done with the pad.
9033
9034 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9035
9036         * docs/gst/gstreamer-sections.txt:
9037         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9038         (init_post), (gst_deinit), (gst_update_registry):
9039         * gst/gst.h:
9040           API: add gst_update_registry() (#391296).
9041
9042         * tests/check/Makefile.am:
9043         * tests/check/gst/gstregistry.c:
9044         * tests/check/gst/.cvsignore:
9045           Simple unit test for the above.
9046
9047 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9048
9049         * gst/gstregistry.c: (gst_registry_scan_path_level):
9050           Plugin extension on HP-UX is .sl, add that to the list of approved
9051           plugin extensions (see #393796).
9052
9053         * tests/check/gst/gstpad.c: (GST_START_TEST):
9054           ulong => gulong. Fixes compilation with HP-UX compiler.
9055
9056         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9057           Fix compilation if valgrind headers are not available.
9058
9059 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
9060
9061         * win32/common/libgstreamer.def: 
9062           Add new exported function.
9063         * win32/vs6/libgstbase.dsp: 
9064           Add gstdataqueue.c to the build.
9065         * win32/vs6/libgstcoreelements.dsp:
9066           Add gstmultiqueue.c to the build.
9067         
9068 2007-01-06  Andy Wingo  <wingo@pobox.com>
9069
9070         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9071         activate_pull(), providing for a way to specialize the process of
9072         spawning a thread to pull on the sink pad. There is a default
9073         implementation.
9074
9075         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9076         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9077         (gst_base_sink_init): Renamed pad activation functions (inserting
9078         "_pad" in their names). Refactor to use the new activate_pull
9079         vmethod, as appropriate.
9080         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9081         default activate_pull function to start a task pulling from the
9082         sink pad, as before.
9083
9084         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9085         on the pads if necessary, as in push()/chain(). Update docs.
9086         Shouldn't affect existing pull() usage as it is currently only
9087         being used on buffers without caps.
9088
9089 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9090
9091         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9092         (init_pre):
9093           Call g_thread_init() first thing in gst_init() / gst_check_init().
9094           When initialisation is done via gst_init_get_option_group() and
9095           GOption parsing, issue a warning if the GLib thread system has not
9096           been initialised yet by the time gst_init_get_option_group() is
9097           called, as it's quite likely other GLib functions such as
9098           g_option_context_new() have been called already then, and
9099           g_thread_init() must be called before any other GLib function. The
9100           application in question must be fixed in that case, since memory
9101           corruption might happen otherwise.
9102           We issue the warning because even if the GLib folks decide to work
9103           around the problem on their end in future, this is still an issue
9104           with all GLib versions >= 2.10.0, so we should warn until we depend
9105           on a GLib version we know to be safe.
9106           Update documentation as well.
9107           Closes bug #391278.
9108
9109 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9110
9111         * tools/gst-inspect.c: (main):
9112         * tools/gst-launch.c: (main):
9113         * tools/gst-typefind.c: (main):
9114         * tools/gst-xmlinspect.c: (main):
9115           Call g_thread_init() really really early, before any other GLib
9116           function (see #342564 and recent discussion on gtk-devel-list).
9117
9118 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9119
9120         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
9121
9122         * gst/gst_private.h:
9123         * gst/gstconfig.h.in:
9124         * gst/gstinfo.h:
9125           On win32, all the __declspec stuff for symbol exporting is
9126           apparently only needed with MSVC, but doesn't work with MingW.
9127           Fixes compilation with MingW and #391909.
9128
9129 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9130
9131         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9132           Change some GST_ERROR_OBJECT that aren't really errors to
9133           GST_WARNING_OBJECT in order to reduce terminal spam.
9134
9135 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9136
9137         * tests/check/Makefile.am:
9138           disable test again, as there seem to be still race problems
9139
9140 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9141
9142         * tests/check/Makefile.am:
9143         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9144         (GST_START_TEST), (queue_suite):
9145           enable queue test again, add tests for the leaky behaviour
9146
9147 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
9148
9149         * configure.ac:
9150         * tests/examples/Makefile.am:
9151           Compile adapter test/example only if the required headers are
9152           available (fixes #391915).
9153
9154 2007-01-01  David Schleef  <ds@schleef.org>
9155
9156         * gst/gstplugin.c:
9157           Restore the previous signal handler for SIGSEGV instead of
9158           setting to default, since we may have stolen it away from
9159           someone.  (i.e., Mono)
9160
9161 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9162
9163         * docs/random/draft-missing-plugins.txt:
9164           Some small additions and clarifications.
9165
9166 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9167
9168         * gst/gstregistryxml.c: (gst_registry_save_escaped):
9169           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9170           since that can lead to random memory corruptions and crashes
9171           (may or may not be related to #383244, #386711, and #386711).
9172
9173 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9174
9175         * tests/check/.cvsignore:
9176         * tests/check/Makefile.am:
9177           sync .cvsignome and CLEANFILES
9178
9179 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9180
9181         * tests/check/Makefile.am:
9182           fix distcheck
9183
9184 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9185
9186         * docs/design/part-states.txt:
9187           two tiny additional comments
9188         
9189         * gst/gststructure.c:
9190           doc fixing
9191
9192         * tests/check/Makefile.am:
9193         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9194         (GST_START_TEST):
9195           disable test for now, unless it gets fixed
9196
9197 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9198
9199         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9200         (GST_START_TEST):
9201           fix race in underrun test
9202
9203 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9204
9205         * tests/check/elements/.cvsignore:
9206           ignore more
9207
9208         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9209         (GST_START_TEST):
9210           try to narrow test failure
9211
9212 2006-12-21  David Schleef  <ds@schleef.org>
9213
9214         * plugins/elements/gstfakesrc.c:
9215           Use g_random_int_range(), since it produces better random
9216           numbers in a range than almost-correct floating point code.
9217
9218 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9219
9220         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9221         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9222         (gst_check_teardown_sink_pad):
9223           do not automatically (de)activate pads
9224
9225         * tests/check/Makefile.am:
9226         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9227         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9228           add new, yet simple tests for queue
9229
9230         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9231         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9232         * tests/check/elements/filesrc.c: (cleanup_filesrc),
9233         (GST_START_TEST):
9234         * tests/check/elements/identity.c: (cleanup_identity):
9235           consistent pad (de)activation
9236
9237 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
9238
9239         Patch by: Sebastian Dröge  <slomo ubuntu com>
9240
9241         * libs/gst/base/gstcollectpads.c:
9242           Fix two doc typos (#387866).
9243
9244 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9245
9246         * docs/manual/advanced-dparams.xml:
9247           Fix typo (g_object_control_properties() doesn't exist).
9248
9249 2006-12-19  Edward Hervey  <edward@fluendo.com>
9250
9251         * gst/gstsegment.c: (gst_segment_set_seek):
9252         Fine tune the cases where the segment start/stop values are really
9253         updated.
9254         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9255         Add tests for the return values of gst_segment_set_seek().
9256
9257 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9258
9259         * gst/gst.c:
9260           Docs typo fix.
9261
9262         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9263         (gst_queue_init):
9264           Fix incorrect documentation and flesh it out a bit more.
9265           Set default values for the max properties on the GParamSpec as well,
9266           so it shows up correctly in gst-inspect.
9267
9268 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
9269
9270         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9271           Correct docs of queue, add more detail and crosslink it more.
9272
9273 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9274
9275         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9276           Print additional debug info when the stream isn't perfectly
9277           timestamped; don't try to use invalid durations.
9278
9279 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9280
9281         * docs/design/Makefile.am:
9282           Dist new design docs.
9283
9284 2006-12-16  Wim Taymans  <wim@fluendo.com>
9285
9286         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9287
9288         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9289         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9290         (gst_collect_pads_stop), (gst_collect_pads_event),
9291         (gst_collect_pads_chain):
9292         * libs/gst/base/gstcollectpads.h:
9293         Add refcounting to the collectpads data so we can track when it's safe
9294         to free the data. Fixes #383382.
9295
9296 2006-12-15  Wim Taymans  <wim@fluendo.com>
9297
9298         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9299         (gst_collect_pads_remove_pad):
9300         Automatically activate/deactivate pads when they are added to a
9301         started/stoped collectpads.
9302
9303 2006-12-15  Wim Taymans  <wim@fluendo.com>
9304
9305         * gst/gstelement.c: (gst_element_add_pad):
9306         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9307         * gst/gstpad.c: (gst_pad_init):
9308         Set pads to FLUSHING when they are created. Check, warn and fix when a
9309         demuxer adds an inactive pad to itself when running. Fixes #339326.
9310
9311 2006-12-15  Wim Taymans  <wim@fluendo.com>
9312
9313         * gst/gstelement.c: (gst_element_class_init),
9314         (gst_element_default_send_event), (gst_element_send_event),
9315         (gst_element_default_query), (gst_element_query):
9316         Expose default element send_event and query handling as vmethods that
9317         subclasses can chain up to.
9318
9319 2006-12-15  Wim Taymans  <wim@fluendo.com>
9320
9321         * gst/gstelement.c: (gst_element_set_state_func):
9322         Small documentation fixes.
9323
9324 2006-12-15  Wim Taymans  <wim@fluendo.com>
9325
9326         * docs/design/draft-latency.txt:
9327         Checked in draft for handling latency in pipelines.
9328
9329 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9330
9331         * Makefile.am:
9332         * gstreamer.doap:
9333         * gstreamer.spec.in:
9334           adding .doap file
9335
9336 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9337
9338         * gst/gst.c: (init_pre), (init_post):
9339           init_pre() and init_post() might be called via our GOptionGroup or
9340           from gst_init(), and we should skip both of them if we've already
9341           been initialised, otherwise we will init some things twice or add
9342           two default log functions.
9343
9344 2006-12-13  Edward Hervey  <edward@fluendo.com>
9345
9346         * docs/manual/basics-bus.xml:
9347         No, gst_main_loop does not exist. Its g_main_loop.
9348         Discovered by somebody who abused the copy-paste technique of coding :)
9349
9350 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9351
9352         * gst/gstghostpad.c:
9353           Log ghostpad debug stuff to the GST_PADS category as well rather
9354           than just to the default category.
9355
9356 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9357
9358         * configure.ac:
9359         * gst/gst.c: (init_pre):
9360           Add some basic system details such as OS and architecture
9361           to the debug output if possible, courtesy of uname().
9362
9363 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9364
9365         * docs/gst/running.xml:
9366           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9367           environment variables.
9368
9369 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9370
9371         * tests/check/gst/gstbin.c: (GST_START_TEST):
9372         It is acceptable to have a refcount of 2 or 3 at this point in the
9373         test, because the pipeline might be just posting its state_change
9374         message. The next line then waits for that message to appear using
9375         bus_poll, so that should be fine too.
9376
9377 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9378
9379         * gst/gst.c: (ensure_current_registry_forking):
9380         Ignore EINTR when reading from the child registry pipe.
9381         Explicitly ignore the return value from close, since it makes no
9382         difference.
9383
9384         * gst/gstminiobject.c: (gst_mini_object_ref),
9385         (gst_mini_object_unref):
9386         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9387
9388         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9389         When removing cached plugins, remove their features too, so they're
9390         not visible after they've disappeared.
9391
9392         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9393         In the unlikely case that we are linking pads with no parents, don't
9394         crash trying to get the non-existent parent bin.
9395
9396         * gst/parse/grammar.y:
9397         Output debug in the PIPELINE category
9398
9399 2005-03-08  Wim Taymans  <wim@fluendo.com>
9400
9401         Patch by: René Stadler <mail at renestadler dot de>
9402
9403         * gst/gstclock.c: (gst_clock_new_periodic_id):
9404         Reject invalid clock times for interval of periodic ids.
9405         Fixes ##383506.
9406
9407 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9408
9409         * gst/gstelementfactory.c: (gst_element_factory_create):
9410         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9411         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9412         * tools/gst-inspect.c: (print_element_info):
9413         Fix refcounting of gst_plugin_feature_load to match the docs. 
9414         Fixes: #380129
9415
9416 2006-12-07  Wim Taymans  <wim@fluendo.com>
9417
9418         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9419         (gst_base_sink_get_position):
9420         Improve debugging of events.
9421
9422 2006-12-07  Wim Taymans  <wim@fluendo.com>
9423
9424         Patch by: René Stadler <mail at renestadler dot de>
9425
9426         * gst/gstclock.c: (gst_clock_id_wait):
9427         Make period ids add the interval to the origial requested time instead
9428         of the possibly updated time which can be wrong when there are multiple
9429         waiters for the same id. Fixes #382592.
9430
9431         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9432         (gst_system_clock_id_wait_jitter_unlocked),
9433         (gst_system_clock_id_wait_jitter):
9434         Fix restart in the async notify thread when an async entry is added to
9435         the front of the list. Fixes #381492. 
9436
9437         * tests/check/gst/gstsystemclock.c: (store_callback),
9438         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9439         Added test for multiple async waits.
9440         Added test for async wait order.
9441
9442 2006-12-07  Wim Taymans  <wim@fluendo.com>
9443
9444         * gst/gstbin.c: (gst_bin_query):
9445         Add some more docs about the POSITION query.
9446
9447 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9448
9449         * configure.ac:
9450         Bump version nano - back to CVS.
9451
9452 === release 0.10.11 ===
9453
9454 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9455
9456         * configure.ac:
9457           releasing 0.10.11, "Love never runs on time"
9458
9459 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9460
9461         * win32/common/libgstbase.def:
9462         * win32/common/libgstreamer.def:
9463         * win32/vs8/libgstbase.vcproj:
9464         * win32/vs8/libgstcoreelements.vcproj:
9465         * win32/vs8/libgstreamer.vcproj:
9466         Fix compilation on win32 under VS8
9467         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9468         Partially fixes #381175
9469
9470 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9471
9472         * gst/gstvalue.c: (gst_value_compare_fraction):
9473         If someone is foolish enough to compare 2 fractions with denominator =
9474         0, return UNORDERED rather than aborting.
9475
9476 2006-11-28  Edward Hervey  <edward@fluendo.com>
9477
9478         * libs/gst/base/Makefile.am:
9479         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9480         (gst_data_queue_base_init), (gst_data_queue_class_init),
9481         (gst_data_queue_init), (gst_data_queue_new),
9482         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9483         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9484         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9485         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9486         (gst_data_queue_set_flushing), (gst_data_queue_push),
9487         (gst_data_queue_pop), (gst_data_queue_drop_head),
9488         (gst_data_queue_set_property), (gst_data_queue_get_property):
9489         * libs/gst/base/gstdataqueue.h:
9490         New GstDataQueue object for threadsafe queueing. Most useful for
9491         elements that need some queueing functionnality.
9492         * docs/libs/gstreamer-libs-docs.sgml:
9493         * docs/libs/gstreamer-libs-sections.txt:
9494         Insert documentation for GstDataQueue
9495         * plugins/elements/Makefile.am:
9496         * plugins/elements/gstelements.c:
9497         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9498         (gst_multi_queue_class_init), (gst_multi_queue_init),
9499         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9500         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9501         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9502         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9503         (gst_multi_queue_loop), (gst_multi_queue_chain),
9504         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9505         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9506         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9507         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9508         (wake_up_next_non_linked), (compute_next_non_linked),
9509         (single_queue_overrun_cb), (single_queue_underrun_cb),
9510         (single_queue_check_full), (gst_single_queue_new):
9511         * plugins/elements/gstmultiqueue.h:
9512         New multiqueue element, using GstDataQueue. Used for queuing multiple
9513         streams.
9514         Closes #344639 and #347785
9515
9516 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9517
9518         * docs/pwg/advanced-types.xml:
9519           add more missing type details
9520
9521         * tools/gst-run.c: (main):
9522           remove unused variable
9523
9524 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9525
9526         * docs/libs/Makefile.am:
9527         * docs/libs/gstreamer-libs.types:
9528           add types of base classes to enable gobject specific stuff in the docs
9529
9530         * docs/random/ensonic/embedded.txt:
9531           more ideas about isolating platform specific things
9532
9533 2006-11-20  Wim Taymans  <wim@fluendo.com>
9534
9535         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9536
9537         * libs/gst/check/gstcheck.h:
9538         Fix compilation and running against 0.9.4. Fixes #377332.
9539
9540 2006-11-20  Wim Taymans  <wim@fluendo.com>
9541
9542         * gst/gstsegment.c: (gst_segment_set_seek),
9543         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9544         (gst_segment_to_running_time):
9545         Fix boundary checking in to_running_time() and to_stream_time().
9546         Fixes #377183.
9547
9548         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9549         stream and running time can now be calculated for the complete
9550         clipped segment.
9551
9552 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9553
9554         * gst/gstpad.c: (gst_pad_push_event):
9555           Can't access event structure after giving away ownership of
9556           the event.
9557
9558 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9559
9560         * docs/random/ensonic/embedded.txt:
9561         * docs/random/ensonic/profiling.txt:
9562         * docs/random/ensonic/receipies.txt:
9563           more thinking
9564
9565 2006-11-13  Wim Taymans  <wim@fluendo.com>
9566
9567         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9568
9569         * gst/gstpad.c:
9570         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9571
9572 2006-11-13  Wim Taymans  <wim@fluendo.com>
9573
9574         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9575
9576         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9577         Store new length in segment duration so we don't keep on calling the
9578         potentially expensize get_size() call. Fixes #370865.
9579
9580 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9581
9582         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9583
9584         * win32/common/libgstreamer.def:
9585           Add two missing symbols (#366492).
9586
9587 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9588
9589         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9590         (gst_adapter_take_buffer):
9591         Fix format string to use all its arguments.
9592         Remove useless >= check on a guint
9593
9594 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9595
9596         * tests/examples/adapter/.cvsignore:
9597         Ignore build file as commanded by the build-bot
9598
9599 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9600
9601         * tests/examples/adapter/Makefile.am:
9602         * tests/examples/adapter/adapter_test.c: (run_test_take),
9603         (run_test_take_buffer), (run_tests), (main):
9604
9605         Add new files from the previous commit
9606
9607 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9608
9609         * Makefile.am:
9610         * configure.ac:
9611         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9612         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9613         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9614         * libs/gst/base/gstadapter.h:
9615         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9616         (GST_START_TEST), (gst_adapter_suite):
9617         * tests/examples/Makefile.am:
9618         Do some optimisation work in GstAdapter to avoid copies in more cases.
9619         It could still do slightly better by merging buffers when
9620         gst_buffer_is_span_fast is true, but is already faster. 
9621
9622         Also, avoid traversing a single-linked list to append each incoming 
9623         buffer inside the adapter.
9624
9625         Add simple test app that times the adapter behaviour in different
9626         situations, and extend the unit test to check that bytes enter and
9627         exit the adapter in their original order.
9628
9629 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9630
9631         * docs/random/draft-missing-plugins.txt:
9632           Update: use element message instead of adding a new message
9633           type to the core; don't provide GStreamer API to initiate the
9634           plugin download, just provide API to compose the strings needed
9635           and let an external libgimmestuff handle the rest.
9636
9637 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9638
9639         * tools/gst-inspect.c: (print_element_properties_info):
9640         Print a string instead of 'unknown type' for GValueArray properties
9641
9642 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9643
9644         * docs/random/draft-missing-plugins.txt:
9645         More small fixes.
9646
9647 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9648
9649         * tests/examples/typefind/typefind.c: (type_found), (main):
9650           Make typefind element example work again (#371894); add a
9651           license header.
9652
9653 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9654
9655         * docs/random/draft-missing-plugins.txt:
9656           Commit initial draft about how to deal with missing plugins,
9657           needs work (API too).
9658
9659 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9660
9661         * docs/pwg/advanced-types.xml:
9662           documents the new caps elements (see #363118)
9663
9664 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9665
9666         * gst/gstplugin.c: (gst_plugin_load_file):
9667         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9668         (gst_file_src_map_region), (gst_file_src_start):
9669         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9670         (gst_file_index_commit):
9671           Use g_strerror() instead of strerror() - we want UTF-8.
9672
9673 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9674
9675         Patch by: Peter Kjellerstedt <pkj at axis com>
9676
9677         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9678           Another printf fix (#371493).
9679
9680 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9681
9682         * tests/check/gst/gsttag.c:
9683           relicence (okay with author=company)
9684
9685 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9686
9687         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9688         (gst_pad_push_event):
9689           Enhance debug and improve docs
9690         
9691         * gst/gsturi.c:
9692           Fix docs
9693
9694 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9695
9696         * docs/random/ensonic/distributed.txt:
9697         * docs/random/ensonic/profiling.txt:
9698           more ideas
9699
9700 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9701
9702         * docs/gst/gstreamer-sections.txt:
9703           add new API and fix the build
9704           
9705         * gst/gstbin.c: (gst_bin_recalc_state):
9706         * gst/gstelement.c: (gst_element_message_full),
9707         (gst_element_get_state_func), (gst_element_set_state_func):
9708           use new API and improve logging
9709         
9710         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9711         * gst/gstutils.h:
9712           API: add function to get StateChangereturn names to improve logs 
9713
9714 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9715
9716         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9717           I'm considering shooting the next person to put strerror stuff
9718           in the translateable part of the message.
9719
9720 2006-11-03  Wim Taymans  <wim@fluendo.com>
9721
9722         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9723         Get the type and printf conversion specifiers right.
9724
9725 2006-11-03  Wim Taymans  <wim@fluendo.com>
9726
9727         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9728
9729         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9730         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9731         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9732         Some small cleanups. Improve debugging.
9733         * gst/gstpad.h:
9734         Signal all waiting threads with a broadcast instead of just one.
9735         Fixes #369942.
9736
9737 2006-11-03  Wim Taymans  <wim@fluendo.com>
9738
9739         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9740         (gst_fd_src_create):
9741         Add some debugging. 
9742         Only update fd when it's different from the old.
9743
9744 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9745
9746         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9747           Printf fixes for PPC/OSX, take two (#369366).
9748
9749 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9750
9751         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9752
9753         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9754         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9755         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9756           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9757           don't cast to long long for portability reasons, but use
9758           GLib's types instead.
9759
9760 2006-10-30  Michael Smith  <msmith@fluendo.com>
9761
9762         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9763           Get the arguments to lseek() the right way around.
9764           Fixes 367677.
9765
9766 2006-10-30  Wim Taymans  <wim@fluendo.com>
9767
9768         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9769
9770         * gst/gstinfo.h:
9771         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9772
9773 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9774
9775         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9776
9777         * docs/design/part-MT-refcounting.txt:
9778         * docs/random/wtay/capsnego2-docs:
9779         * gst/gstclock.c:
9780         * gst/gstxml.c:
9781           Typo fixes (#366212).
9782
9783 2006-10-28  Wim Taymans  <wim@fluendo.com>
9784
9785         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9786
9787         * gst/gst.c:
9788         * win32/common/libgstbase.def:
9789         * win32/common/libgstreamer.def:
9790         * win32/vs8/libgstbase.vcproj:
9791         * win32/vs8/libgstcontroller.vcproj:
9792         Add needed entries in .def files.
9793         Use HAVE_UNISTD_H.
9794         Rearrange def files in vs8 solutions. Fixes #366286.
9795
9796 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9797
9798         * win32/common/gstconfig.h:
9799           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9800           hand-made win32 gstconfig.h. Fixes #366321.
9801
9802 2006-10-27  Wim Taymans  <wim@fluendo.com>
9803
9804         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9805         (gst_ghost_pad_new_full):
9806         Make acceptcaps return TRUE when we don't have a target, just like
9807         setcaps does.
9808
9809 2006-10-27  Wim Taymans  <wim@fluendo.com>
9810
9811         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9812         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9813
9814 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9815
9816         * gst/gststructure.c: (gst_structure_id_set_value):
9817           If someone tries to set a non-UTF8 string field on a structure,
9818           don't just print a warning, but also ignore the request and do
9819           not change/add that field to the structure.
9820
9821         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9822           Test for the above.
9823
9824 2006-10-25  David Schleef  <ds@schleef.org>
9825
9826         * gst/gstinfo.c:
9827           g_hash_table_insert() needs a cast to a non-const pointer duh.
9828
9829 2006-10-25  David Schleef  <ds@schleef.org>
9830
9831         * gst/gstinfo.c:
9832         * gst/gstinfo.h:
9833           Change name parameter of _gst_debug_register_funcptr to const
9834           to reflect the constness of its use in the function as well
9835           as to quiet a gcc warning.
9836
9837 2006-10-25  Edward Hervey  <edward@fluendo.com>
9838
9839         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9840         Don't push the buffer if it's empty.
9841         Closes #363095
9842
9843 2006-10-24  Wim Taymans  <wim@fluendo.com>
9844
9845         * gst/gstevent.h:
9846         Add small comment.
9847
9848         * libs/gst/base/gstbasetransform.c:
9849         (gst_base_transform_sink_eventfunc):
9850         Debug segment values *after* updating them as this is more
9851         interesting.
9852
9853 2006-10-23  Wim Taymans  <wim@fluendo.com>
9854
9855         * docs/design/part-events.txt:
9856         Update some docs.
9857
9858         * docs/design/part-block.txt:
9859         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9860         (gst_pad_push_event):
9861         Revert BLOCKING patch, it tries to be smart without really having a
9862         clear idea what or how. So, now we discard all FLUSHING events again on
9863         a blocking pad. Should fix gnonlin again.
9864
9865 2006-10-23  Wim Taymans  <wim@fluendo.com>
9866
9867         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9868
9869         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9870         (gst_base_src_start), (gst_base_src_activate_push):
9871         Make sure size is always initialized. Fixes #364388.
9872
9873 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9874
9875         * docs/random/ensonic/distributed.txt:
9876           add some ideas about doing distributed processing
9877
9878         * docs/random/ensonic/profiling.txt:
9879           get_rusage look promising
9880
9881 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9882
9883         * docs/manual/basics-helloworld.xml:
9884           Add a cast in example to fix compile warning
9885
9886 2006-10-18  Wim Taymans  <wim@fluendo.com>
9887
9888         * gst/gstsegment.c: (gst_segment_set_last_stop),
9889         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9890         Relax arg checking again, -1 is allowed.
9891
9892 2006-10-18  Wim Taymans  <wim@fluendo.com>
9893
9894         * gst/gstsegment.c: (gst_segment_set_last_stop),
9895         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9896         _set_last_stop() must be with a value != -1
9897         A _TYPE_SET to -1 means seek to 0.
9898         Calc last_stop correctly for negative rates.
9899         Make sure we work with positive durations when updating a segment.
9900
9901 2006-10-18  Wim Taymans  <wim@fluendo.com>
9902
9903         * docs/design/part-live-source.txt:
9904         * gst/gstclock.h:
9905         Small docs fixes.
9906
9907 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9908
9909         * gst/gstbuffer.h:
9910           Add an explicit cast to GstBuffer** to keep old code that added an
9911           explicit cast to GstMiniObject** for gst_mini_object_replace()
9912           compiling without warning.
9913
9914 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9915
9916         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9917           check for validity of dates
9918
9919 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9920
9921         * docs/gst/gstreamer-sections.txt:
9922           Forgot this one, makes gtk-doc shut up.
9923
9924 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9925
9926         Patch by: Peter Kjellerstedt <pkj at axis com>
9927
9928         * gst/gstobject.h:
9929           Don't define xmlNodePtr to gpointer if the core was built with
9930           --disable-loadsave and --disable-registry, this will break
9931           applications that want to use libxml2 but are buildling against a
9932           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9933           instead so we don't have to mess with the libxml2 namespace
9934           (#361675).
9935
9936 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9937
9938         * gst/gstbuffer.h:
9939           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9940           type-punned pointer warnings.
9941
9942 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9943
9944         * gst/gstelement.h:
9945           Add casts to the correct return type to state <=> state transition
9946           macros.
9947
9948 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9949
9950         * docs/design/part-live-source.txt:
9951           describe howto handle latency
9952         
9953         * docs/random/ensonic/profiling.txt:
9954           more ideas
9955
9956         * tools/gst-plot-timeline.py:
9957           fix log parsing for solaris, remove unused function
9958
9959 2006-10-16  Wim Taymans  <wim@fluendo.com>
9960
9961         * docs/design/part-trickmodes.txt:
9962         * gst/gstevent.c:
9963         Update some docs regarding reverse playback.
9964
9965 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9966
9967         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9968
9969         * win32/vs8/grammar.vcproj:
9970           Error out with a warning if glib-genmarshal.exe is not in path,
9971           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9972
9973 2006-10-13  Wim Taymans  <wim@fluendo.com>
9974
9975         * gst/gstsegment.c: (gst_segment_set_seek):
9976         When seeking to stop -1, set last_stop (current position) to the
9977         duration of the segment.
9978
9979 2006-10-13  Wim Taymans  <wim@fluendo.com>
9980
9981         * gst/gstelement.h:
9982         Clarify _NO_PREROLL a bit more.
9983
9984         * gst/gstevent.c:
9985         Fix docs.
9986
9987         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9988         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9989         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9990         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9991         due to wrong locking order. Fixes #361769.
9992         Remove some redundant/misplaced checks in pad_block.
9993
9994         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9995         For negative rates, count backwards from the duration.
9996
9997 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9998
9999         * gst/gsterror.c: (_gst_library_errors_init):
10000           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10001           up with something better).
10002
10003 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10004
10005         * win32/vs6/libgstreamer.dsp:
10006         * win32/vs7/libgstreamer.vcproj:
10007         * win32/vs8/libgstreamer.vcproj:
10008           Don't reference glib-compat.c which is currently not used and not
10009           disted; add gstquark.c which was recently added. Fixes #361730.
10010
10011 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10012
10013         * win32/common/libgstbase.def:
10014         * win32/common/libgstcontroller.def:
10015         * win32/common/libgstreamer.def:
10016           Add gst_caps_merge() and a bunch of other recently-added functions.
10017           Fixes #361732.
10018
10019 2006-10-11  Wim Taymans  <wim@fluendo.com>
10020
10021         * docs/plugins/gstreamer-plugins.args:
10022         * docs/plugins/inspect/plugin-coreelements.xml:
10023         * docs/plugins/inspect/plugin-coreindexers.xml:
10024         Update element args.
10025
10026         * gst/gstsystemclock.c:
10027         Small comment update.
10028
10029         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10030         (gst_tee_request_new_pad), (gst_tee_release_pad),
10031         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10032         (gst_tee_sink_activate_pull):
10033         * plugins/elements/gsttee.h:
10034         Some tee loving:
10035         Add default property defines.
10036         Implement release pad function.
10037         Give properties better blubs etc.
10038         Activate pads before adding them to a running tee.
10039         Do simple buffer_alloc on the first requested pad.
10040         Post error when activation fails.
10041
10042 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10043
10044         * gst/gst.c: (ensure_current_registry_forking):
10045           Check return value of write() to make compiler happy.
10046
10047 2006-10-11  Wim Taymans  <wim@fluendo.com>
10048
10049         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10050
10051         * plugins/elements/gstqueue.c: (gst_queue_chain):
10052         Recheck queue filledness after signalling the overrun when we're about
10053         to leak downstream because we released the lock when emitting the signal
10054         and the queue could be empty again. Fixes #352345.
10055
10056 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10057
10058         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10059           Fix refcounting here too, just like we did for _new_valist() a few
10060           days ago (#357180) (thanks to René Stadler). Also remove all those
10061           'Since: 0.9' from the gtk-doc blobs.
10062
10063         * tests/check/libs/controller.c: (controller_refcount_new_list),
10064         (gst_controller_suite):
10065           Unit test for the above.
10066
10067 2006-10-10  Wim Taymans  <wim@fluendo.com>
10068
10069         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10070
10071         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10072         (gst_pad_save_thyself):
10073         Update some docs.
10074         Write pad direction in XML output. Fixes #345496.
10075
10076 2006-10-10  Wim Taymans  <wim@fluendo.com>
10077
10078         Patch by: René Stadler <mail at renestadler dot de>
10079
10080         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10081         (gst_controller_new_list), (_gst_controller_dispose),
10082         (_gst_controller_finalize), (_gst_controller_class_init):
10083         Take ref to controlled object so that it cannot disappear. 
10084         Fixes #357432.
10085
10086 2006-10-10  Wim Taymans  <wim@fluendo.com>
10087
10088         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10089         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10090         (gst_check_teardown_sink_pad):
10091         Activate/deactivate pads in setup/teardown respectively.
10092
10093 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10094
10095         Patch by: Josep Torra Valles <josep@fluendo.com>
10096
10097         * gst/Makefile.am:
10098         Cast values when making gstenumtypes.h.  This pacifies Forte
10099         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10100         in the enumeration.
10101
10102 2006-10-09  Wim Taymans  <wim@fluendo.com>
10103
10104         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10105         Rename some more @cur to @start to fix docs. 
10106
10107         * gst/gstsegment.c: (gst_segment_set_seek):
10108         Fix typo.
10109         time and start must always stay in sync as defined in design doc.
10110
10111         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10112         Rename param to fix docs.
10113
10114         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10115         Check that start and time are in sync.
10116
10117         * tests/check/pipelines/parse-launch.c:
10118         (gst_parse_test_element_change_state):
10119         Activate pad before adding to the element.
10120
10121 2006-10-09  Wim Taymans  <wim@fluendo.com>
10122
10123         * docs/design/part-qos.txt:
10124         Fix typo.
10125
10126         * gst/gstevent.c:
10127         * gst/gstevent.h:
10128         Update seek event docs regarding negative rates.
10129         Rename @cur to @start. 
10130
10131         * gst/gstsegment.c: (gst_segment_set_seek):
10132         * gst/gstsegment.h:
10133         Update set_seek docs regarding negative rates.
10134         Correctly update last_stop to @stop when dealing with negative
10135         rates.
10136         Rename @cur to @start. 
10137
10138         * tests/check/gst/gstpad.c: (GST_START_TEST):
10139         Activate pads before trying to use them.
10140
10141         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10142         (gst_segment_suite):
10143         Add simple check for segments and negative rates.
10144
10145 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
10146
10147         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10148         * gst/gsttaglist.h:
10149         * docs/gst/gstreamer-sections.txt:
10150           API: add gst_tag_list_is_empty() (#360467).
10151
10152         * tests/check/gst/gsttag.c: (GST_START_TEST):
10153           And a test case.
10154
10155 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10156
10157         * gst/gstmessage.h:
10158         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10159         a value that doesn't fit on enumeration.
10160
10161 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10162
10163         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10164         Remove local debugging system and use Gstreamer's instead.
10165
10166 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10167
10168         Patch by: Josep Torra Valles <josep@fluendo.com>
10169
10170         * common/m4/gst-error.m4:
10171         Disable warning of statement not reached on Forte.
10172         * gst/gstmessage.h:
10173         Fix warning on Forte (value doesn't fit on enumeration).
10174         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10175         Fix warning on Forte (value doesn't fit on enumeration).
10176         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10177         DEBUG macro says it takes minimum of 2 args and so Forte
10178         complains about the use with just 1 arg.
10179         * plugins/elements/gstfdsink.c:
10180         * plugins/elements/gstfdsrc.c:
10181         * plugins/elements/gstfilesink.c:
10182         * plugins/elements/gstfilesrc.c:
10183         Use correct return type for the uri handler implementations.
10184
10185         All these fix warnings in Forte.  Fixes bug #360860.
10186
10187 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
10188
10189         * gst/gstelement.h:
10190           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10191           format string, so don't use G_GNUC_PRINTF for those versions.
10192
10193 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10194
10195         * gst/gsttaglist.c: (gst_is_tag_list):
10196         * gst/gsttaglist.h:
10197           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10198
10199         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10200           Small test for the above.
10201
10202 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10203
10204         * gst/gsttaglist.h:
10205           Less tabs, more spaces.
10206
10207 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
10208
10209         * gst/gstinfo.h:
10210           Those two function declarations do actually belong there, revert
10211           commit from yesterday that turned them intro macros.
10212
10213 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10214
10215         Patch by: Josep Torra Valles <josep@fluendo.com>
10216
10217         * gst/gst.c: (gst_init_get_option_group):
10218         Fix empty declaration and type mismatch.
10219         * gst/gstbin.c: (gst_bin_change_state_func):
10220         Fix type mismatch.
10221         * gst/gstelement.c: (gst_element_continue_state),
10222         (gst_element_set_state_func), (gst_element_change_state),
10223         (gst_element_change_state_func):
10224         Fix type mismatches.
10225         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10226         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10227         Cast as appropriate.
10228         * gst/gstobject.c: (gst_class_signal_connect):
10229         Cast as appropriate.  The function pointer parameter really
10230         has the wrong type but would break API if we change it.
10231         * gst/gstquery.c:
10232         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10233         order of including string.h.
10234         * gst/gstutils.c: (gst_element_state_get_name):
10235         Remove unreachable line.
10236         * gst/gstxml.c: (gst_xml_parse_doc):
10237         Fix type mismatch.
10238         All these caught by Forte.
10239
10240 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10241
10242         Patch by: Josep Torra Valles <josep@fluendo.com>
10243
10244         * common/m4/gst-error.m4:
10245         Fixed bug #360151.
10246         We need to disable warnings on Forte for empty declarations
10247         due to gst-indent adding ;s to lines that just use macros
10248         where the macro actually doesn't need a ; at end to end
10249         statement.
10250
10251 2006-10-06  Wim Taymans  <wim@fluendo.com>
10252
10253         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10254         (gst_file_sink_close_file), (gst_file_sink_event),
10255         (gst_file_sink_render):
10256         Add some FIXME for the NEWSEGMENT handling.
10257
10258 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10259
10260         * gst/parse/grammar.y:
10261         Remove static function gst_parse_element_lock as all it does
10262         is return.  Looks like cruft from 0.8.
10263
10264 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10265
10266         Patch by: Josep Torra Valles <josep@fluendo.com>
10267
10268         * common/m4/gst-error.m4:
10269         * configure.ac:
10270         * libs/gst/net/Makefile.am:
10271         Fix a compilation issue with Forte on Solaris.  inet_aton is in
10272         libresolv.
10273
10274 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10275
10276         * gst/gstpad.c: (pre_activate):
10277         * gst/gstregistry.c: (gst_registry_scan_path_level):
10278         * gst/gstregistryxml.c: (load_plugin):
10279         * libs/gst/controller/gstcontroller.c:
10280         (gst_controlled_property_set_interpolation_mode):
10281         * libs/gst/dataprotocol/dataprotocol.c:
10282         (gst_dp_packet_from_event_1_0):
10283         * libs/gst/net/gstnetclientclock.c:
10284         (gst_net_client_clock_observe_times):
10285         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10286           Printf fixes.
10287
10288 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10289
10290         * configure.ac:
10291         * docs/gst/gstreamer-sections.txt:
10292         * gst/gstconfig.h.in:
10293         * gst/gstelement.h:
10294         * gst/gstinfo.h:
10295           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10296           whether we can use G_GNUC_PRINTF in other header files and at
10297           least check the printf format/arguments of debug messages and
10298           GST_ELEMENT_ERROR messages when the printf extension is not
10299           being used.
10300           Replace more tabs with spaces in gstinfo.h and remove two spurious
10301           function declarations in GST_DISABLE_DEBUG part with macros.
10302
10303 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10304
10305         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10306           More docs for the sync-message signal (mention that it is not
10307           emitted by default); log message structures of messages posted on
10308           the bus as well.
10309
10310 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10311
10312         * gst/gst.c: (ensure_current_registry_forking):
10313         Use a pipe pair to receive status results from the forked child, and
10314         ignore the result from waitpid. Fixes #355499
10315
10316 2006-10-02  Wim Taymans  <wim@fluendo.com>
10317
10318         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10319         (gst_ghost_pad_suite):
10320         Fix leak in check.
10321
10322 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10323
10324         * gst/gstpad.c:
10325           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10326
10327 2006-10-02  Edward Hervey  <edward@fluendo.com>
10328
10329         * docs/design/part-block.txt:
10330         Further explain the use of flushing on blocked pads.
10331         * docs/gst/gstreamer-sections.txt:
10332         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10333         (gst_pad_push_event):
10334         * gst/gstpad.h:
10335         Added new GstPadFlag : GST_PAD_BLOCKING.
10336         Adds the notion of pads really blocking, which enables to properly
10337         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10338         Fixes #358999
10339         API: gst_pad_is_blocking()
10340         API: GST_PAD_IS_BLOCKING() macro
10341         API: GST_PAD_BLOCKING GstPadFlag
10342         
10343 2006-10-02  Wim Taymans  <wim@fluendo.com>
10344
10345         Patch by: mrcgran <mrc.gran at gmail dot com>
10346
10347         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10348         Filter the proxied caps against the padtemplate if we have one.
10349
10350         * gst/gstquery.c: (gst_query_new_segment):
10351         Add include for gstinfo.h so that compilation with
10352         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10353
10354 2006-10-02  Wim Taymans  <wim@fluendo.com>
10355
10356         Patch by: Alessandro Decina  <alessandro at nnva org>
10357
10358         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10359         (gst_file_sink_set_location), (gst_file_sink_open_file),
10360         (gst_file_sink_close_file), (gst_file_sink_event),
10361         (gst_file_sink_render):
10362         Set file to NULL when closing filesink so that we can set a new filename
10363         in READY. Fixes #358613.
10364
10365 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10366
10367         Patch by: Alessandro Decina  <alessandro at nnva org>
10368
10369         * gst/gstevent.c: (_gst_event_copy):
10370           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10371           with event structures by setting the parent refcount address of the
10372           copied structure to the address of the refcount member of the newly
10373           copied event rather than the address of the refcount member of the
10374           original event. Fixes #358737.
10375
10376         * tests/check/gst/gstevent.c: (GST_START_TEST):
10377           Unit test for the above.
10378
10379 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10380
10381         * docs/design/Makefile.am:
10382           Dist some more files.
10383
10384 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10385
10386         * tests/check/libs/controller.c: (GST_START_TEST),
10387         (gst_controller_suite):
10388           Add test for the previous fix; add some more tests
10389           for correct refcounting behaviour; fix a few leaks
10390           in test cases; call gst_controller_init() at start
10391           of all tests.
10392
10393 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10394
10395         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10396         (gst_controller_set_from_list):
10397           Don't g_return_val_if_fail() on timed values with invalid timestamps
10398           inside a critical section without unlocking the mutex. Spotted by
10399           René Stadler. (#357617)
10400           Also, fix up refcounting properly: when returning an existing
10401           controller, we should increase the reference only once and not
10402           once per property and when trying to control a property again
10403           we should also increase the refcount.
10404
10405 2006-09-29  Wim Taymans  <wim@fluendo.com>
10406
10407         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10408         * libs/gst/net/gstnettimeprovider.c:
10409         (gst_net_time_provider_thread):
10410         Stop reading commands when EOF as well.
10411
10412         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10413         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10414         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10415         Unify description of the dump property.
10416
10417 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10418
10419         * tests/examples/manual/.cvsignore:
10420         OK, so it's actually cvsignore that needs changing. Stop laughing.
10421
10422 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10423
10424         * tests/examples/manual/Makefile.am:
10425         Gah, declare vars *before* using them
10426
10427 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10428
10429         * gst/gst.c: (init_pre), (scan_and_update_registry),
10430         (ensure_current_registry_nonforking),
10431         (ensure_current_registry_forking), (ensure_current_registry),
10432         (init_post), (gst_debug_help), (gst_deinit):
10433         * gst/gst_private.h:
10434         * gst/gstregistry.c: (gst_registry_finalize),
10435         (gst_registry_remove_features_for_plugin_unlocked),
10436         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10437         (gst_registry_scan_path),
10438         (_priv_gst_registry_remove_cache_plugins),
10439         (_priv_gst_registry_cleanup):
10440         * gst/gstregistry.h:
10441         Re-commit the registry changes, along with an extra fix:
10442           When a cached plugin is encountered at a different file path,
10443           update the stored path in the registry cache so that the parent
10444           process knows where it actually is now when it re-reads the registry
10445           cache. Fixes the thing that broke distcheck with the previous commit.
10446
10447         * tests/check/Makefile.am:
10448         Clean up files named 'core' too when running make clean.
10449
10450         * tests/examples/manual/Makefile.am:
10451         Set up a registry path for running these tests, and clean it properly
10452         for distcheck.
10453
10454 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10455
10456         * configure.ac:
10457         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10458         want gmodule-no-export-2.0.pc instead so that we don't drag in
10459         --export-dynamic on every project that links to GStreamer.
10460
10461         Also, make our export regex only match the start of symbols, rather 
10462         than any symbol that contains '_gst' somewhere.
10463
10464         * libs/gst/check/Makefile.am:
10465         The libgstcheck we build does however need export-dynamic, as it
10466         produces some symbols that don't match our _gst... style regex.
10467         Fixes: #318031
10468
10469 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10470
10471         * gst/gst.c: (init_pre), (scan_and_update_registry),
10472         (ensure_current_registry_nonforking),
10473         (ensure_current_registry_forking), (ensure_current_registry),
10474         (init_post), (gst_debug_help), (gst_deinit):
10475         * gst/gst_private.h:
10476         * gst/gstregistry.c: (gst_registry_finalize),
10477         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10478         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10479         (_gst_registry_cleanup):
10480         * gst/gstregistry.h:
10481           Revert previous change until I figure out why it breaks distcheck.
10482
10483 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10484
10485         * gst/gst.c: (init_pre), (scan_and_update_registry),
10486         (ensure_current_registry_nonforking),
10487         (ensure_current_registry_forking), (ensure_current_registry),
10488         (init_post), (gst_debug_help), (gst_deinit):
10489
10490           Make init_pre and init_post take the full complement of GOptionFunc
10491           args so they can return useful GErrors. Make the registry updating
10492           functions do so.
10493
10494           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10495           ensure that the registry we're about to write out doesn't contain
10496           stale information about old-deleted plugin files.
10497
10498           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10499           that deletion of plugin files is considered a registry change.
10500
10501         * gst/gst_private.h:
10502         * gst/gstregistry.c: (gst_registry_finalize),
10503         (gst_registry_remove_features_for_plugin_unlocked),
10504         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10505         (gst_registry_scan_path),
10506         (_priv_gst_registry_remove_cache_plugins),
10507         (_priv_gst_registry_cleanup):
10508         * gst/gstregistry.h:
10509         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10510         by adding _priv prefix, so that they won't appear in the global
10511         symbol table. They still do atm though because of #318031. Move the
10512         prototypes to gst_private.h
10513
10514         When removing a plugin, remove all features for that plugin too. 
10515         Fixes #340878.
10516
10517 2006-09-27  Wim Taymans  <wim@fluendo.com>
10518
10519         * docs/random/moving-plugins:
10520         Make it clear that the "compiled-in descriptions" really mean
10521         the element details.
10522
10523         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10524         (gst_base_sink_wait_preroll):
10525         Update docs.
10526
10527         * docs/libs/gstreamer-libs-sections.txt:
10528         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10529         (gst_base_src_get_range), (gst_base_src_activate_push):
10530         * libs/gst/base/gstbasesrc.h:
10531         Added function to block while waiting for PLAYING, this function
10532         is used by live sources that block on the clock.
10533         API: gst_base_src_wait_playing()
10534
10535 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10536
10537         Patch by: Peter Kjellerstedt <pkj at axis com>
10538
10539         * Makefile.am:
10540           gst-element-check.m4 is generated and should therefore be
10541           copied from the build dir rather than the source dir (#357593).
10542           'make distcheck' hasn't noticed this because we were disting
10543           the file as well, so stop doing that.
10544
10545 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10546
10547         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10548           Add some tests for gst_caps_intersect().
10549
10550         * tools/gst-launch.c: (event_loop):
10551           Print all buffering percentages we get, even the 100% one.
10552
10553 2006-09-26  Wim Taymans  <wim@fluendo.com>
10554
10555         * tools/gst-inspect.c: (print_element_properties_info),
10556         (print_signal_info):
10557         Fix printing of flags to match the look of enums.
10558
10559 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10560
10561         * gst/gstelementfactory.c:
10562           Fix typo in docs blurb.
10563
10564 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10565
10566         * gst/gsturi.c: (search_by_entry):
10567           Don't assert/crash here if a uri handler doesn't return any
10568           supported protocols. The list of protocols could be generated
10569           dynamically at runtime or at plugin registration, and an error
10570           in the underlying library shouldn't be fatal (#353301).
10571
10572 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10573
10574         * gst/gstinfo.c:
10575           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10576           (spotted by Peter Kjellerstedt).
10577
10578 2006-09-23  Wim Taymans  <wim@fluendo.com>
10579
10580         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10581
10582         * libs/gst/base/gstbasesrc.c:
10583         (gst_base_src_default_check_get_range), (gst_base_src_start),
10584         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10585         (gst_base_src_change_state):
10586         Match _start/_stop calls in the activate functions. Remove redundant
10587         _stop call from the state change function. Fixes #356910.
10588         Turn failure DEBUG into ERROR. 
10589
10590 2006-09-22  Wim Taymans  <wim@fluendo.com>
10591
10592         * docs/design/part-buffering.txt:
10593         * gst/gstmessage.c: (gst_message_new_buffering),
10594         (gst_message_parse_buffering):
10595         Update docs about buffering.
10596
10597         * docs/design/part-trickmodes.txt:
10598         Fix typo.
10599
10600 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10601
10602         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10603         (gst_controller_new_list):
10604           Ref instances when returning them again (fixes #357180)
10605
10606 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10607
10608         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10609           Don't forget to release proxy lock when there's an error.
10610
10611 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10612
10613         * gst/gstcaps.h:
10614           Add extra initialisers for Caps things, to fix some plugin warnings
10615           when using -Wextra
10616
10617 2006-09-18  Wim Taymans  <wim@fluendo.com>
10618
10619         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10620           Also set template on the internal pad so that a getcaps from the 
10621           target pad returns the template caps.
10622
10623 2006-09-18  Wim Taymans  <wim@fluendo.com>
10624
10625         * gst/gstelement.c: (gst_element_post_message),
10626         (gst_element_dispose):
10627         Use _DEBUG_OBJECT some more.
10628
10629         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10630         Avoid typechecks.
10631
10632         * tools/gst-launch.c: (main):
10633         If the toplevel element is not a GstPipeline, it must be put in a
10634         pipeline so that a bus and clock is selected.
10635
10636 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10637
10638         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10639           JITTER, RATE, and LATENCY query should be handled by the
10640           default case and not by the CONVERT query code.
10641
10642 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10643
10644         * gst/gstformat.c: (gst_format_register):
10645           Fix locking order (must take lock before using n_values).
10646
10647         * gst/gstvalue.c: (gst_value_serialize_enum),
10648         (gst_value_deserialize_enum_iter_cmp),
10649         (gst_value_deserialize_enum):
10650           Fix serialisation/deserialisation of custom registered GstFormats.
10651
10652         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10653           Unit test for custom format serialisation/deserialisation.
10654
10655 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10656
10657         * docs/pwg/building-boiler.xml:
10658         * plugins/elements/gstcapsfilter.c:
10659         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10660         section.
10661
10662 2006-09-16  Edward Hervey  <edward@fluendo.com>
10663
10664         * libs/gst/base/gstbasetransform.c:
10665         (gst_base_transform_buffer_alloc):
10666         Check if requested caps are the same as the sinks caps IF
10667         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10668         is FALSE.
10669         This fixes the renegotiation issues stated in #352827.
10670
10671 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10672
10673         * configure.ac:
10674         * docs/manual/advanced-autoplugging.xml:
10675         * tests/examples/Makefile.am:
10676         * tests/examples/manual/.cvsignore:
10677         * tests/examples/manual/Makefile.am:
10678         * tests/examples/manual/extract.pl:
10679           Extract the manual examples again like we used to do.
10680           Fix one of them.
10681
10682 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10683
10684         * win32/common/config.h:
10685           update for version
10686
10687 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10688
10689         * gst/gsterror.c:
10690           Documents how to receive errors.
10691
10692 2006-09-15  Wim Taymans  <wim@fluendo.com>
10693
10694         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10695         (event_loop), (main):
10696         Added some comments here and there.
10697         Post an application message when an interrupt is caught instead of doing
10698         an uncontrolled state change.
10699         Clean up the event loop.
10700         Handle buffering messages, pause/resume the pipeline.
10701         Make shutdown because of an interrupt more reliable.
10702
10703 2006-09-15  Wim Taymans  <wim@fluendo.com>
10704
10705         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10706         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10707         (gst_base_sink_preroll_object):
10708         Make sure that our internal state is correct when we commit our state
10709         asynchronously. This solves a race where a state change to PLAYING
10710         could cause the sink to remain blocked in preroll in some situations.
10711
10712 2006-09-15  Wim Taymans  <wim@fluendo.com>
10713
10714         * tools/gst-inspect.c: (print_element_properties_info),
10715         (print_signal_info):
10716         List flags as hex so it's easier to deal with.
10717
10718 2006-09-15  Wim Taymans  <wim@fluendo.com>
10719
10720         * docs/libs/gstreamer-libs-sections.txt:
10721         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10722         (gst_base_sink_do_sync):
10723         * libs/gst/base/gstbasesink.h:
10724         Expose logic to wait for preroll so that subclasses such as audiosink
10725         can also use this method.
10726         API: gst_base_sink_wait_preroll()
10727
10728 2006-09-15  Wim Taymans  <wim@fluendo.com>
10729
10730         * gst/gstobject.c: (gst_object_set_parent):
10731         * gst/gstpipeline.c: (do_pipeline_seek):
10732         Small cleanups in docs and code.
10733
10734         * gst/gstsegment.c: (gst_segment_clip):
10735         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10736         if stop == start and start is in the segment, no clipping should be
10737         done. Also add a test for this.
10738
10739 2006-09-15  Wim Taymans  <wim@fluendo.com>
10740
10741         * docs/design/part-buffering.txt:
10742         * docs/gst/gstreamer-sections.txt:
10743         * gst/gstmessage.c: (gst_message_new_buffering),
10744         (gst_message_parse_buffering):
10745         * gst/gstmessage.h:
10746         Added methods to create and parse BUFFERING messages.
10747         Added preliminary docs about buffering.
10748         API: gst_message_new_buffering
10749         API: gst_message_parse_buffering
10750
10751 2006-09-06  Wim Taymans  <wim@fluendo.com>
10752
10753         * gst/gstbin.c:
10754         Update documentation.
10755
10756         * gst/gstelement.c: (gst_element_class_init),
10757         (gst_element_release_request_pad), (gst_element_set_clock),
10758         (gst_element_get_index), (gst_element_add_pad),
10759         (gst_element_remove_pad), (gst_element_get_random_pad),
10760         (gst_element_send_event), (gst_element_get_query_types),
10761         (gst_element_query), (gst_element_post_message),
10762         (gst_element_message_full), (gst_element_continue_state),
10763         (gst_element_lost_state), (gst_element_save_thyself),
10764         (gst_element_restore_thyself):
10765         Documentation updates.
10766         Rename last bit of the new-pad -> pad-added signal rename.
10767         Fix the case where an element query would only work if the source
10768         pad was linked.
10769         Avoid some useless type checking in message handling.
10770
10771         * gst/gstevent.c:
10772         * gst/gstevent.h:
10773         * gst/gstutils.c:
10774         Documentation updates.
10775
10776 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10777
10778         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10779           add an INFO line for when we actually update the fd
10780
10781 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10782
10783         * configure.ac:
10784           back to TRUNK
10785
10786 === release 0.10.10 ===
10787
10788 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10789
10790         * configure.ac:
10791           releasing 0.10.10, "Pais"
10792
10793 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10794
10795         * docs/manual/advanced-position.xml:
10796           Fix typo in sample code.
10797
10798 2006-09-05  Wim Taymans  <wim@fluendo.com>
10799
10800         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10801         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10802         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10803         * libs/gst/net/gstnetclientclock.h:
10804         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10805         * libs/gst/net/gstnettimepacket.h:
10806         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10807         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10808         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10809         * libs/gst/net/gstnettimeprovider.h:
10810         Make stuff compile on windows. Fixes #345295.
10811
10812 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10813
10814         * gst/gst.c: (ensure_current_registry_forking):
10815           Print better details when child was terminated by signal.
10816
10817 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10818
10819         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10820           Print a warning rather than g_assert() if a plugin feature
10821           is a URI handler but returns no protocols (#353976).
10822
10823 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10824
10825         * docs/random/moving-plugins:
10826         Fix two typos.         
10827
10828 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10829
10830         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10831           Fix locking order, handle NULL function values properly.
10832
10833         * gst/gstinfo.h:
10834           Fix docs.
10835
10836         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10837           Initialise variable before using it and fix debug statement to
10838           print the address of the function rather than the address of the
10839           variable on the stack holding the address of the function.
10840
10841 2006-09-01  Wim Taymans  <wim@fluendo.com>
10842
10843         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10844         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10845         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10846         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10847         (gst_ghost_pad_parent_unset),
10848         (gst_ghost_pad_internal_do_activate_push),
10849         (gst_ghost_pad_internal_do_activate_pull),
10850         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10851         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10852         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10853         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10854         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10855         (gst_ghost_pad_new_no_target_from_template),
10856         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10857         More cleanups.
10858         Avoid needless typechecking in macros.
10859         Since the internal pad is always present and never changes, there is
10860         no need to locking or ref when retrieving it.
10861         Improve debugging a bit.
10862         Handle link errors when setting the target. Fixes #341029.
10863
10864 2006-09-01  Wim Taymans  <wim@fluendo.com>
10865
10866         * docs/libs/gstreamer-libs-sections.txt:
10867         * docs/plugins/gstreamer-plugins-sections.txt:
10868         Fix docs some more.
10869
10870         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10871         (gst_collect_pads_event):
10872         * libs/gst/base/gstcollectpads.h:
10873         Documentation updates.
10874         Free queued buffer when removing a pad.
10875
10876 2006-08-31  Michael Smith  <msmith@fluendo.com>
10877
10878         * gst/gstutils.c: (gst_element_link_pads),
10879         (gst_element_link_pads_filtered):
10880           Ensure that we set a capsfilter to NULL if we failed to link it
10881           when doing filtered linking, to avoid criticals.
10882
10883           No need to check for unreffing srcpad, which is explicly NULLed
10884           above (a trivial code cleanup).
10885
10886 2006-08-31  Wim Taymans  <wim@fluendo.com>
10887
10888         * docs/design/part-gstghostpad.txt:
10889         Update ascii art in documentation.
10890
10891         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10892         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10893         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10894         (gst_ghost_pad_internal_do_activate_push),
10895         (gst_ghost_pad_internal_do_activate_pull),
10896         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10897         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10898         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10899         (gst_ghost_pad_set_target):
10900         Small cleanups and leak fixes.
10901         Remove some checks now that the internal pad is never NULL.
10902         Fix the case where linking pads without a target would create nasty
10903         criticals. Fixes #341029.
10904         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10905         value of _set_target().
10906
10907         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10908         (gst_ghost_pad_suite):
10909         Some more tests for creating and linking untargeted ghostpads.
10910
10911 2006-08-31  Edward Hervey  <edward@fluendo.com>
10912
10913         * docs/gst/gstreamer-sections.txt:
10914         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10915         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10916         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10917         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10918         (gst_ghost_pad_new_from_template),
10919         (gst_ghost_pad_new_no_target_from_template):
10920         * gst/gstghostpad.h:
10921         Refactored *_new() functions.
10922         Templates are now used as a g_object_new() parameter.
10923         Use template in _do_getcaps() if we don't have a target.
10924         Small documentation cleanups.
10925         Added two new constructors:
10926         gst_ghost_pad_new_from_template()
10927         gst_ghost_pad_new_no_target_from_template()
10928         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10929         (gst_ghost_pad_suite):
10930         Added tests for new ghostpad instanciation functions.
10931
10932         API additions: gst_ghost_pad_new_from_template,
10933         gst_ghost_pad_new_no_target_from_template
10934
10935 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10936
10937         * docs/random/ensonic/profiling.txt:
10938           Ideas about qos profiling.
10939
10940 2006-08-29  Wim Taymans  <wim@fluendo.com>
10941
10942         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10943         Code cleanups.
10944         Fix memleak.
10945
10946 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10947
10948         * gst/gstxml.c:
10949           Improve and detypofy docs.
10950
10951         * tests/check/Makefile.am:
10952         * tests/check/gst/.cvsignore:
10953         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10954           Add a basic test suite for GstXML.
10955
10956 2006-08-29  Wim Taymans  <wim@fluendo.com>
10957
10958         * gst/gstelement.c: (activate_pads), (clear_caps),
10959         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10960         Clear the pad caps when the element shut down all of the pads and
10961         is not streaming data that could modify the caps. 
10962         Fixes #352958.
10963
10964 2006-08-28  Michael Smith  <msmith@fluendo.com>
10965
10966         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10967           Revert previous change; I misunderstood single-segment mode.
10968
10969 2006-08-28  Michael Smith  <msmith@fluendo.com>
10970
10971         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10972           Unset DISCONT on buffers when using single-segment mode.
10973
10974 2006-08-28  Wim Taymans  <wim@fluendo.com>
10975
10976         * gst/gstcaps.c: (gst_caps_merge_structure):
10977         * gst/gstcaps.h:
10978         Fix docs and indentation again.
10979
10980         * tests/check/gst/gstquery.c: (GST_START_TEST):
10981         Fix leak in tests and add some more tests.
10982
10983 2006-08-28  Edward Hervey  <edward@fluendo.com>
10984
10985         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10986         Inform GstSegment of the last stop position in order for the current
10987         segment to have a proper duration if it doesn't have a specific stop
10988         position from which a duration could be calculated.
10989         This bug was noticeable when a non-flushing, non-update new segment was
10990         followed by another segment (all buffers from the new segment were being
10991         dropped).
10992
10993 2006-08-28  Wim Taymans  <wim@fluendo.com>
10994
10995         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10996         Small comment update.
10997
10998         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10999         (gst_identity_transform_ip):
11000         Drop-probability is broken, mention this in the code with a 
11001         FIXME and also in the property description.
11002         Make silent also be silent about the drop messages.
11003
11004 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
11005
11006         * docs/manual/appendix-win32.xml:
11007           Remove mention of popt, we don't depend on that any
11008           longer (#353136). Add some comments pointing out that
11009           this section is slightly outdated.
11010
11011 2006-08-28  Wim Taymans  <wim@fluendo.com>
11012
11013         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11014
11015         * gst/gstquery.c: (gst_query_new_segment):
11016         * tests/check/gst/gstquery.c: (GST_START_TEST):
11017         Initialize variables when creating a new segment query.
11018         Fixes #353121.
11019
11020 2006-08-28  Wim Taymans  <wim@fluendo.com>
11021
11022         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11023
11024         * gst/gstelement.c: (gst_element_get_bus):
11025         * tests/check/gst/gstelement.c: (GST_START_TEST):
11026         Check for NULL before _reffing the bus. Fixes #353122.
11027
11028 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
11029
11030         * docs/manual/basics-bus.xml:
11031           Docs update: fix wrong callback return value explanation; add
11032           some lines about the implicit relationship between main loop
11033           and main context; remove duplicate main loop variable declaration.
11034
11035 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
11036
11037         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11038           Don't leak caps in unit test; add a few more simple
11039           checks. 
11040
11041 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
11042
11043         * docs/gst/gstreamer-sections.txt:
11044         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11045         (gst_caps_structure_is_subset), (gst_caps_merge),
11046         (gst_caps_merge_structure):
11047         * gst/gstcaps.h:
11048         * libs/gst/base/gstbasetransform.c:
11049         (gst_base_transform_transform_caps):
11050         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11051           implement caps merging (fixes #352580)
11052
11053 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
11054
11055         * tools/Makefile.am:
11056         * tools/gst-plot-timeline.py:
11057           add debug-log plotting developer tool (#340674)
11058
11059 2006-08-23  Wim Taymans  <wim@fluendo.com>
11060
11061         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11062         (gst_pad_stop_task):
11063         Improve debugging for task functions.
11064
11065         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11066         (gst_task_start), (gst_task_pause), (gst_task_join):
11067         Make sure that the task function started and finished after a 
11068         join(). 
11069         Don't try to push the task function on the threadpool multiple
11070         times.
11071         Improve the g_warning message with some useful suggestions
11072         about how to fix the problem. 
11073
11074 2006-08-23  Wim Taymans  <wim@fluendo.com>
11075
11076         * gst/gstutils.c: (gst_pad_proxy_getcaps):
11077         Handle RESYNC correctly in _proxy_getcaps.
11078
11079 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
11080
11081         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11082         (gst_xml_parse_memory), (gst_xml_get_element):
11083           Chain up to parent class in dispose function and also
11084           unref the elements in the toplevel_elements GList.
11085           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11086           Always return a reference in gst_xml_get_element() rather
11087           than only sometimes.
11088
11089         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11090           Don't leak GstXml object.
11091
11092 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
11093
11094         * docs/gst/gstreamer-sections.txt:
11095         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11096         (gst_caps_merge):
11097         * gst/gstcaps.h:
11098         * libs/gst/base/gstbasetransform.c:
11099         (gst_base_transform_transform_caps):
11100           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11101           in a better way
11102
11103 2006-08-21  Edward Hervey  <edward@fluendo.com>
11104
11105         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11106         Implement GObject::dispose virtual method in GstXML so we can free the
11107         top_elements GList.
11108
11109 2006-08-21  Wim Taymans  <wim@fluendo.com>
11110
11111         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11112         (gst_buffer_create_sub):
11113         Copy duration/offset_end/caps when creating a subbuffer of the
11114         complete parent.
11115         Make the subbuffer read-only when we make the metadata writable for
11116         now. Fixes #351768.
11117
11118         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11119         Added check for metadata copy when creating subbuffers.
11120
11121 2006-08-21  Edward Hervey  <edward@fluendo.com>
11122
11123         * libs/gst/base/gstbasetransform.c:
11124         (gst_base_transform_buffer_alloc):
11125         Only call downstream buffer_alloc if transform element is passthrough
11126         or always_in_place. Closes #350449.
11127
11128 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11129
11130         * ChangeLog:
11131           ChangeLog surgery to add comments to previous changes
11132
11133 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11134
11135         * gst/gst.c:
11136           Add comments
11137
11138         * gst/gstpad.c: (gst_pad_set_active):
11139           Be more verbose in the log
11140
11141         * libs/gst/base/gstbasetransform.c:
11142         (gst_base_transform_transform_caps):
11143           Simplify caps to get rid of duplicates, fixes #345444
11144
11145 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11146
11147         * gst/gstvalue.c:
11148         * gst/gstvalue.h:
11149           Use these optimizations only internally.
11150
11151 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11152
11153         * gst/gstvalue.c: (gst_value_compare_list),
11154         (gst_value_compare_fraction_range),
11155         (gst_value_intersect_fraction_fraction_range),
11156         (gst_value_intersect_fraction_range_fraction_range),
11157         (gst_value_subtract_fraction_fraction_range),
11158         (gst_value_subtract_fraction_range_fraction_range),
11159         (gst_value_get_compare_func), (gst_value_compare),
11160         (gst_value_compare_with_func):
11161         * gst/gstvalue.h:
11162           Saves the expensive lookup of the compare function in many cases
11163          (#345444)
11164
11165 2006-08-18  Edward Hervey  <edward@fluendo.com>
11166
11167         * tests/check/gst/gstinfo.c: (gst_info_suite):
11168         Disable test that require gstdebug if it wasn't built in core.
11169
11170 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11171
11172         * docs/random/ensonic/logging.txt:
11173           update ideas
11174           
11175         * gst/gstinfo.c: (gst_debug_log_default):
11176           reorder fields, save some columns, add optional color codes for log
11177           levels
11178
11179 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11180
11181         * docs/random/ensonic/logging.txt:
11182           add ideas about making the logs a bit more useful
11183
11184 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11185
11186         * docs/pwg/advanced-events.xml:
11187         * docs/pwg/titlepage.xml:
11188           Update for 0.10 API (#340627). Add myself
11189           to authors list.
11190
11191 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11192
11193         * docs/libs/gstreamer-libs-docs.sgml:
11194         * docs/libs/gstreamer-libs-sections.txt:
11195         * libs/gst/check/gstbufferstraw.c:
11196           Make gstcheck stuff show up in docs (still needs to
11197           be documented properly though).
11198
11199 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
11200
11201         * docs/gst/gstreamer-sections.txt:
11202         * gst/Makefile.am:
11203         * gst/gst.c: (init_post):
11204         * gst/gst_private.h:
11205         * gst/gstquark.c: (_priv_gst_quarks_initialize):
11206         * gst/gstquark.h:
11207         * gst/gstquery.c: (gst_query_new_position),
11208         (gst_query_set_position), (gst_query_parse_position),
11209         (gst_query_new_duration), (gst_query_set_duration),
11210         (gst_query_parse_duration), (gst_query_new_convert),
11211         (gst_query_set_convert), (gst_query_parse_convert),
11212         (gst_query_new_segment), (gst_query_set_segment),
11213         (gst_query_parse_segment), (gst_query_new_seeking),
11214         (gst_query_set_seeking), (gst_query_parse_seeking):
11215         Add internal helpers for pre-registering quarks from static strings
11216         and using the quark values directly instead of looking them up when
11217         creating and parsing queries. Can be used for event construction too.
11218         Closes #350432.
11219
11220 2006-08-16  Wim Taymans  <wim@fluendo.com>
11221
11222         * gst/gstbin.c:
11223         Fix bogus docs.
11224
11225 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11226
11227         * gst/gstutils.c: (gst_util_set_value_from_string):
11228           Fix memleak (#351502).
11229
11230         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11231           Add unit test for most of gst_util_set_value_from_string()
11232           (not that one would want to encourage use of this function).
11233
11234 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11235
11236         * libs/gst/check/gstcheck.h:
11237           Use const gchar * variables in fail_unless_equals_string
11238           macro to avoid compiler warnings (and don't use tabs for
11239           indenting).
11240
11241 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11242
11243         * tools/gst-launch.c: (print_tag):
11244           More space on the left for the tag names, to cater
11245           for the 'extended comment' tag (not touching the
11246           string for the first line since it's translated).
11247
11248 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11249
11250         * libs/gst/check/gstcheck.h:
11251           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11252           print something when they fail.
11253
11254 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11255
11256         * docs/gst/gstreamer-sections.txt:
11257         * gst/gsttaglist.c: (_gst_tag_initialize):
11258         * gst/gsttaglist.h:
11259           API: add GST_TAG_EXTENDED_COMMENT (#350935).
11260           Also change merge function for GST_TAG_COMMENT to
11261           use_first.
11262
11263 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11264
11265         * gst/gstinfo.c: (gst_debug_print_object):
11266           Make GST_PTR_FORMAT print messages as well.
11267
11268         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11269         (GST_START_TEST), (gst_info_suite):
11270           More tests.
11271
11272 2006-08-14  Edward Hervey  <edward@fluendo.com>
11273
11274         * gst/gstelementfactory.c: (gst_element_register):
11275         If the GstElementClass doesn't have a GstElementDetails with all fields
11276         filled up correctly (longname, description AND author), then error out
11277         nicely instead of crashing.
11278
11279 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11280
11281         * gst/gststructure.c:
11282           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11283
11284         * gst/gstvalue.h:
11285           Expand on the difference between arrays and lists as we use them.
11286           
11287 2006-08-14  Wim Taymans  <wim@fluendo.com>
11288
11289         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11290         If the parent state change function failed, don't assume we can safely
11291         stop the source, this will be done when the pads are deactivated.
11292
11293 2006-08-14  Wim Taymans  <wim@fluendo.com>
11294
11295         * gst/gstbuffer.c:
11296         * gst/gsttask.c: (gst_task_join):
11297         Small doc updates.
11298
11299         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11300         (gst_pad_stop_task):
11301         When pad (de)activation failed for some reason, restore the old
11302         activation mode and set the pad to flushing instead of assuming the
11303         pad is deactivated.
11304         If the _task_join() failed, reinstall the task on the pad so that it can
11305         be stopped later and return an error.
11306
11307 2006-08-11  Andy Wingo  <wingo@pobox.com>
11308
11309         * configure.ac:
11310         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11311         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11312         is only for users of API that don't want to see deprecated
11313         functions in the headers; people that want to compile out
11314         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11315         CFLAGS. Fixes the build of multifdsink, or will soon..
11316
11317 2006-08-11  Wim Taymans  <wim@fluendo.com>
11318
11319         * docs/gst/gstreamer-sections.txt:
11320         Add GstClockClass vmethod docs.
11321
11322         * gst/gstcaps.h:
11323         Mark #endif with comment for associated #if
11324
11325         * gst/gstclock.c: (gst_clock_id_wait):
11326         * gst/gstclock.h:
11327         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11328         most clock implementations.
11329         Document vmethods.
11330         Flesh out docs about resolution methods.
11331         API: GstClockClass::wait_jitter
11332
11333         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11334         (gst_system_clock_async_thread),
11335         (gst_system_clock_id_wait_jitter_unlocked),
11336         (gst_system_clock_id_wait_jitter):
11337         Use base class wait_jitter variant for improved performance
11338         due to less clock polling.
11339
11340 2006-08-11  Edward Hervey  <edward@fluendo.com>
11341
11342         * gst/gst.c: (gst_init_check), (init_post):
11343         Set gst as being initialized before scanning/updating the registry,
11344         since there might be my python plugin loader that calls gst_init() and
11345         we don't want to loop back in.
11346         Closes #350879
11347
11348 2006-08-11  Wim Taymans  <wim@fluendo.com>
11349
11350         * docs/design/part-qos.txt:
11351         Bring docs in line with the code. Mostly the sign of the jitter was
11352         wrong in the docs. Fixes #349943.
11353
11354         * gst/gstclock.c:
11355         Fix the docs for the jitter.
11356
11357         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11358         (gst_event_parse_tag), (gst_event_new_buffer_size),
11359         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11360         (gst_event_new_seek), (gst_event_parse_seek),
11361         (gst_event_new_navigation):
11362         Make sure the GstStructure has no parent when creating custom
11363         events.
11364         Add some more argument checking so that we avoid 0.0 rates.
11365         Flesh out the docs for the QoS event some more.
11366
11367 2006-08-11  Wim Taymans  <wim@fluendo.com>
11368
11369         * docs/gst/gstreamer-sections.txt:
11370         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11371         (ensure_current_registry_forking), (ensure_current_registry),
11372         (parse_one_option), (parse_goption_arg), (gst_deinit),
11373         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11374         * gst/gst.h:
11375         Doc updates.
11376         Added API and command line option to disable registry forking in
11377         addition to the environment variable.
11378         Constify some static arrays.
11379         Added some more debug.
11380         Don't deinit twice.
11381         API: gst_registry_fork_is_enabled()
11382         API: gst_registry_fork_set_enabled()
11383         API: --gst-disable-registry-fork command line option
11384         Fixes #348918.
11385
11386 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11387
11388         * gst/gst.c: (gst_init):
11389           Fix typo in error message.
11390
11391 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11392
11393         * libs/gst/controller/gstcontroller.h:
11394           fix ABI size-correction
11395
11396         * tests/check/libs/gdp.c: (gst_dp_suite):
11397           make tests that use deprecated API conditional
11398
11399 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11400
11401         * docs/libs/gstreamer-libs-sections.txt:
11402         * libs/gst/controller/gstcontroller.c:
11403         (_gst_controller_get_property), (_gst_controller_set_property),
11404         (_gst_controller_init), (_gst_controller_class_init):
11405         * libs/gst/controller/gstcontroller.h:
11406         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11407         (gst_object_set_control_rate):
11408           API: add gst_object_{s,g}et_control_rate(), add private data section,
11409           fix docs
11410
11411         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11412         * libs/gst/dataprotocol/dataprotocol.h:
11413           add deprecation guards to make gtk-doc happy and allow disabling cruft
11414
11415 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11416
11417         * tests/check/Makefile.am:
11418         * tests/check/gst/.cvsignore:
11419           Let's enable the new unit test as well.
11420
11421 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11422
11423         * configure.ac:
11424         * docs/gst/gstreamer-sections.txt:
11425         * gst/gstconfig.h.in:
11426         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11427         (_gst_info_printf_extension_ptr),
11428         (_gst_info_printf_extension_segment):
11429           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11430           register that lets us easily dump GstSegments into debug
11431           logs (#350419).
11432
11433         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11434         (info_segment_format_printf_extension), (gst_info_suite):
11435           Add simple unit test that logs a bunch of different segments (not
11436           valgrinded at the moment because of leaks in
11437           gst_debug_add_log_function).
11438
11439 2006-08-09  Edward Hervey  <edward@fluendo.com>
11440
11441         * libs/gst/base/gstbasetransform.c:
11442         (gst_base_transform_buffer_alloc):
11443         Even if we can't figure out the proper format to request downstream,
11444         call buffer_alloc() downstream with the input parameters without setting
11445         the caps on the srcpad. This will force negotiation in the chain
11446         function.
11447         Closes #350449
11448
11449 2006-08-08  Edward Hervey  <edward@fluendo.com>
11450
11451         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11452         Unlinking from a pad without a target is now a perfectly valid case
11453         which should NOT raise an assertion.
11454         This case would happen if a linked ghostpad its target set to NULL after
11455         it was previously linked.
11456
11457 2006-08-08  Edward Hervey  <edward@fluendo.com>
11458
11459         * tests/check/libs/gdp.c:
11460         Also comment out the test (see below).
11461
11462 2006-08-08  Edward Hervey  <edward@fluendo.com>
11463
11464         * tests/check/libs/gdp.c: (gst_dp_suite):
11465         Use the architecture information from config.h and not gcc macros
11466         in order to properly disable a test that fails on PPC64.
11467
11468 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11469
11470         * gst/gstelement.c: (gst_element_remove_pad):
11471           Don't crash printing the warning if the pad has no parent.
11472
11473 2006-08-02  Wim Taymans  <wim@fluendo.com>
11474
11475         * libs/gst/dataprotocol/dataprotocol.c:
11476         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11477         (gst_dp_crc), (gst_dp_header_payload_length),
11478         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11479         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11480         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11481         (gst_dp_event_from_packet), (gst_dp_validate_header),
11482         (gst_dp_validate_payload):
11483         Make debug category static
11484         Constify the crc table.
11485         Do some more arg checking in public functions.
11486         Fix some docs and do some small cleanups.
11487
11488         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11489         Add some more checks to see if GDP deals with bogus input.
11490
11491 2006-07-31  Wim Taymans  <wim@fluendo.com>
11492
11493         * gst/gstvalue.c: (gst_value_compare_list):
11494         Fix GstValueList comparison code. Fixes #347293.
11495
11496         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11497         Check to test GstValueList comparison.
11498
11499 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11500
11501         * gst/gstelementfactory.c: (gst_element_factory_create):
11502         Remove unnecessary ref/unref pair
11503
11504         * gst/parse/grammar.y:
11505         Make sure to free the parse buffer on all code paths.
11506         Move a g_free up to the error handler where it's easier to see.
11507
11508         * tests/check/gst/gstevent.c: (test_event):
11509         Extending timeout for downstream travelling events to 10 seconds to
11510         hopefully avoid intermittent failure on the buildbots.
11511
11512         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11513         Don't manually set the state of the src element - it will happen as a
11514         natural consequence of the pipeline changing state, and that way it
11515         will do it in the right order too.
11516
11517 2006-07-31  Wim Taymans  <wim@fluendo.com>
11518
11519         * libs/gst/base/gstbasetransform.c:
11520         (gst_base_transform_buffer_alloc):
11521         Use OBJECT_LOCK and refcounting to get the pad caps in the
11522         buffer_alloc function because the caps could change while we are
11523         busy with them. Fixes #349105
11524
11525 2006-07-31  Wim Taymans  <wim@fluendo.com>
11526
11527         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11528         Protect _PAD_CAPS with OBJECT_LOCK.
11529
11530 2006-07-31  Wim Taymans  <wim@fluendo.com>
11531
11532         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11533         (gst_pad_get_property), (gst_pad_activate_pull),
11534         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11535         (gst_pad_set_activate_function),
11536         (gst_pad_set_activatepull_function),
11537         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11538         (gst_pad_set_getrange_function),
11539         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11540         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11541         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11542         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11543         (gst_pad_set_acceptcaps_function),
11544         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11545         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11546         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11547         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11548         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11549         (gst_pad_configure_sink), (gst_pad_configure_src),
11550         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11551         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11552         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11553         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11554         (gst_pad_send_event):
11555         Use _DEBUG_OBJECT when it makes sense.
11556         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11557         Small cleanups and code reflows.
11558         Avoid caps refcounting in _accept_caps.
11559         Refactor alloc_buffer so that the code performed on the peer is in a
11560         separate function. Also if the pad does not implement a buffer alloc
11561         function, we should still check if the pad is flushing before falling
11562         back to the default allocator.
11563
11564 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11565
11566         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11567         Make all uses of identity and fakesink have silent=true to avoid
11568         serialising every passing data structure, which is breaking tests
11569         on FC4 for some unknown reason.
11570
11571 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11572
11573         * gst/parse/Makefile.am:
11574         * gst/parse/grammar.y:
11575         * gst/parse/parse.l:
11576           Reverted previous patch as it required to bump the flex dependency to
11577           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11578
11579 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11580
11581         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11582
11583         * gst/parse/Makefile.am:
11584         * gst/parse/grammar.y:
11585         * gst/parse/parse.l:
11586           push & pop the state of the lexer for reentrant use case
11587           Fixes #349180
11588
11589 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11590
11591         * libs/gst/base/gstbasesrc.h:
11592           Note in the docs that the ::newsegment vfunc is not actually used by
11593           GstBaseSrc.
11594
11595 2006-07-28  Wim Taymans  <wim@fluendo.com>
11596
11597         * libs/gst/base/gstcollectpads.c:
11598         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11599         (gst_collect_pads_clear), (gst_collect_pads_flush),
11600         (gst_collect_pads_event), (gst_collect_pads_chain):
11601         When flushing a pad, also clear the queued buffer so that we don't
11602         accidentally use it when we shouldn't.
11603         Fix leaks by inreffing incomming buffer.
11604         Flush out queued buffers in case of errors.
11605         Fixes #347452.
11606
11607 2006-07-28  Wim Taymans  <wim@fluendo.com>
11608
11609         * docs/random/phonon-gst:
11610         Random notes about a Phonon backend.
11611
11612 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11613
11614         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11615         Extra debug output
11616         * tests/check/libs/gdp.c: (gst_dp_suite):
11617         Take a whack at fixing the ppc compile using a different define to
11618         disable the broken test.
11619
11620         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11621         Remove excess g_print()
11622
11623 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11624
11625         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11626         Oops, meant to uncomment this line too to dampen the noise a bit.
11627
11628 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11629
11630         * gst/parse/grammar.y:
11631         * gst/parse/parse.l:
11632         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11633         (GST_START_TEST), (parse_suite):
11634         Fix some of the leaks exposed by extending the parse-launch testsuite,
11635         and move the 3 I can't figure out into a separate test that won't run
11636         the pipelines unless the appropriate line is uncommented.
11637
11638 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11639
11640         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11641           Requesting 0 bytes before the end of the file should result in
11642           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11643           unit test.
11644
11645 2006-07-27  Wim Taymans  <wim@fluendo.com>
11646
11647         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11648         Fix useless assert, a uint is always positive.
11649
11650         * gst/gststructure.c: (gst_structure_nth_field_name),
11651         (gst_structure_foreach), (gst_structure_map_in_place):
11652         Check input arguments for public functions to avoid obvious crashes.
11653
11654         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11655         * plugins/elements/gstfakesink.h:
11656         Do less useless typechecking.
11657
11658 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11659
11660         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11661           Do not use mmap() by default since there are a number of error
11662           conditions that we would like to handle in a non-fatal way that
11663           will result in a SIGBUS if we use mmap(). Examples: external
11664           devices (USB harddrive, portable music player) being unplugged
11665           while in use; file on mounted CD/DVD that can't be read because
11666           the medium is partly damaged. Fixes #348455 and #348475.
11667
11668 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11669
11670         * gst/gstquery.h:
11671         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11672         rates are a gdouble
11673
11674 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11675
11676         * gst/gstregistry.c:
11677           Move big documentation comment into class section header, so that it
11678           appears in the API docs.
11679
11680 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11681
11682         * docs/gst/gstreamer-sections.txt:
11683         Oops. Commit the docs additions too for new API.
11684         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11685
11686 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11687
11688         * gst/gststructure.c: (gst_structure_id_set),
11689         (gst_structure_id_set_valist):
11690         * gst/gststructure.h:
11691         Add API for setting values into structures without performing
11692         a quark lookup, if the appropriate quark is already known.
11693
11694         API: gst_structure_id_set
11695         API: gst_structure_id_set_valist
11696
11697         * gst/parse/grammar.y:
11698         * gst/parse/parse.l:
11699         Remove some dead code shown by the coverage information.
11700         Don't throw a critical g_warning when encountering a syntax error,
11701         just warn and let the normal error path handle it.
11702
11703         * plugins/elements/gstelements.c:
11704         Bump the rank of filesink up to PRIMARY so that it is preferred over
11705         gnomevfssink for file:// sink uri's
11706
11707         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11708         (GST_START_TEST), (run_delayed_test),
11709         (gst_parse_test_element_base_init),
11710         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11711         (gst_parse_test_element_change_state),
11712         (gst_register_parse_element), (parse_suite):
11713         Beef up the tests for parse syntax to check that more error cases
11714         fail as they are supposed to. Increases the test coverage a bit.
11715
11716 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11717
11718         * docs/manual/basics-elements.xml:
11719           Fix gst_element_link() example.
11720
11721         * gst/gstutils.c:
11722           Mention in API docs that one should usually gst_bin_add()
11723           elements to a bin or pipeline before doing the linking.
11724           
11725 2006-07-26  Wim Taymans  <wim@fluendo.com>
11726
11727         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11728         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11729         Avoid function call for known types by keeping the buffer and
11730         subbuffer GType global.
11731
11732         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11733         Random silly optimisations in read() path.
11734
11735 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11736
11737         * tools/gst-launch.c: (main):
11738           If the top-level of the parse is a normal bin, it doesn't do the
11739           right logic to run as a top-level element, so place it inside a
11740           pipeline.
11741
11742 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11743
11744         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11745           Remove superfluous g_object_notify() calls, GObject does
11746           that for us automatically.
11747
11748 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11749
11750         * gst/gstinfo.h:
11751           on Win32, use dllspec to export the debug category symbols
11752
11753 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11754
11755         * gst/gsttaglist.c: (_gst_tag_initialize):
11756           Allow more than one GST_TAG_IMAGE per taglist.
11757
11758 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11759
11760         * gst/gstminiobject.c:
11761           update docs
11762         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11763         (gst_fd_src_create):
11764           log recurring events at LOG level
11765           add more debug for when the fd gets set
11766
11767 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11768
11769         * gst/gstparse.c: (gst_parse_launch):
11770           Also remove reentrance checks if flex is MT safe (#348179)
11771          Fix my empty ChangeLog entry below
11772
11773 2006-07-21  Andy Wingo  <wingo@pobox.com>
11774
11775         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11776
11777         * libs/gst/check/Makefile.am
11778         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11779         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11780         * libs/gst/check/gstbufferstraw.h:
11781         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11782         functions, thus proving I am still a GStreamer haxor. OK I wrote
11783         them a long time ago, but anyways.
11784
11785 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11786
11787         * configure.ac:
11788         * gst/gstparse.c: (gst_parse_launch):
11789           Check for flex version and omit mutex if we have a MT save flex
11790           (fixes #348179)
11791
11792 2006-07-21  Wim Taymans  <wim@fluendo.com>
11793
11794         * gst/gstparse.c: (gst_parse_launch):
11795         Protect recursive calls to _parse with a recursive mutex
11796         and busy flag.
11797
11798 2006-07-21  Wim Taymans  <wim@fluendo.com>
11799
11800         * tests/check/gst/gstpad.c: (GST_START_TEST):
11801         Fix leak in test.
11802
11803 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11804
11805         * gst/gstparse.c: (gst_parse_launch):
11806           Do not hang on recursive usage of gst_parse_launch()
11807
11808 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11809
11810         * gst/gsttaglist.c:
11811           Add some more docs, comments and FIXME 0.11s here and there
11812           and also fix some typos.
11813
11814 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11815
11816         * gst/gstsegment.h:
11817           Convert tabs to spaces for better readability. 
11818
11819 2006-07-20  Edward Hervey  <edward@fluendo.com>
11820
11821         * tests/check/libs/gdp.c: (gst_dp_suite):
11822         the test_buffer test fails at line 140 on ppc64 at the following
11823         check:
11824         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11825                 GST_BUFFER_FLAG_IN_CAPS),
11826                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11827         See bug #348114 for more details.
11828
11829 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11830
11831         * docs/pwg/advanced-scheduling.xml:
11832         * gst/gstpad.c:
11833           Fix typos (#348000).
11834
11835 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11836
11837         * docs/pwg/intro-basics.xml:
11838           Fix wrong links (#347927).
11839
11840 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11841
11842         * gst/gstregistry.h:
11843         * gst/gstregistryxml.c: (load_feature),
11844         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11845         * win32/common/config.h:
11846           make --disable-index work (#342564)
11847
11848 2006-07-18  Wim Taymans  <wim@fluendo.com>
11849
11850         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11851
11852         * gst/Makefile.am:
11853         * gst/gsttrace.h:
11854         The attached patch adds two missing defines to gsttrace.h when tracing
11855         is disabled.  It also corrects one existing define.
11856         Fixes #347756.
11857
11858 2006-07-17  Wim Taymans  <wim@fluendo.com>
11859
11860         * docs/gst/gstreamer-sections.txt:
11861         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11862         * gst/gst.h:
11863         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11864         Add two functions to check and change the SIGSEGV behaviour
11865         when loading plugins.
11866         Don't mess with the SIGSEGV handler when we were told not to.
11867         Fixes #347794.
11868         API: gst_segtrap_is_enabled
11869         API: gst_segtrap_set_enabled
11870
11871 2006-07-14  Wim Taymans  <wim@fluendo.com>
11872
11873         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11874         * tests/check/elements/filesrc.c: (GST_START_TEST):
11875         Revert fix for regression in #347408 after release.
11876
11877 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11878
11879         Patch by: Antoine Tremblay <hexa00 at gmail com>
11880
11881         * gst/gstutils.c: (gst_element_unlink):
11882           Free iterator when done (#347311).
11883
11884         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11885           And add a test case for this.
11886
11887 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11888
11889         * configure.ac:
11890         Bump nano back to CVS
11891
11892 === release 0.10.9 ===
11893
11894 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11895
11896         * configure.ac:
11897           releasing 0.10.9, "On the road again"
11898
11899 2006-07-13  Wim Taymans  <wim@fluendo.com>
11900
11901         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11902         * tests/check/elements/filesrc.c: (GST_START_TEST):
11903         Revert pull-0 fix for release. Disable check. Fixes #347408.
11904
11905 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11906
11907         * libs/gst/dataprotocol/dataprotocol.c:
11908         (gst_dp_event_from_packet_1_0):
11909           Fixes #347337: failure to deserialize event packets with
11910           empty payload (only event type)
11911
11912 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11913
11914         * gst/Makefile.am:
11915           do not install a .c file in the header directory
11916
11917 2006-07-13  Edward Hervey  <edward@fluendo.com>
11918
11919         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11920         GhostPad no longer implicitely use the padtemplates of the targets.
11921         Fixes #347384
11922
11923 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11924
11925         * gst/gstvalue.c: (gst_value_compare_list),
11926         (gst_value_compare_array), (_gst_value_initialize):
11927         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11928         Make GstValueArray comparison be order dependent as designed.
11929         Add checks for value lists and value array comparisons.
11930         Fixes #347221
11931
11932 2006-07-11  Edward Hervey  <edward@fluendo.com>
11933
11934         * gst/gstbin.c: (activate_pads),
11935         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11936         (gst_bin_change_state_func):
11937         (de)activate src pads before calling state_change on the childs.
11938         This is to avoid the case where a src ghostpad is blocked (holding the
11939         stream lock), which would block the deactivation of the ghostpad's
11940         target pad.
11941         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11942         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11943         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11944         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11945         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11946         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11947         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11948         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11949         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11950         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11951         (gst_ghost_pad_class_init),
11952         (gst_ghost_pad_internal_do_activate_push),
11953         (gst_ghost_pad_internal_do_activate_pull),
11954         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11955         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11956         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11957         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11958         GhostPads now create their internal GstProxyPad at creation (and not
11959         when they're linked, as it was being done previously).
11960         The internal and target pads are linked straight away.
11961         The data will also travel through the other pad in order to make
11962         pad blocking and probes non-hackish (the probe/block now really happens
11963         on the GhostPad and not on the target).
11964         * gst/gstpad.c: (gst_pad_set_blocked_async),
11965         (gst_pad_link_prepare), (gst_pad_push_event):
11966         Remove previous ghostpad cruft.
11967         * gst/gstutils.c: (gst_pad_add_data_probe),
11968         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11969         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11970         (gst_pad_remove_buffer_probe):
11971         Remove previous ghost pad cruft.
11972         Added more detailed debug statements.
11973         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11974         Fix the testsuite for refcounting changes.
11975         The comments about who has references were correct, but the refcount
11976         being checked wasn't the same (!?!).
11977
11978         Fixes #341029
11979
11980 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11981
11982         * docs/gst/gstreamer-sections.txt:
11983         * gst/gstconfig.h.in:
11984         More docs for configuration options, add docs to gtk-doc.
11985
11986 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11987
11988         * gst/Makefile.am:
11989         * gst/gstconfig.h.in:
11990         * win32/common/config.h:
11991         Fix build when disabling tracing (fixes #344016). Also start to document
11992         the defines that disable the sub-systems.
11993
11994 2006-07-10  Edward Hervey  <edward@fluendo.com>
11995
11996         * gst/gst.c: (ensure_current_registry_forking):
11997         let's make valgrind happy...
11998
11999 2006-07-09  Wim Taymans  <wim@fluendo.com>
12000
12001         * gst/gstelement.c: (activate_pads),
12002         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12003         Better pad activation code: Reset the collect value too on resync.
12004         Add some comments.
12005
12006 2006-07-09  Wim Taymans  <wim@fluendo.com>
12007
12008         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12009         (gst_pad_activate_push):
12010         Use some more macros where it makes sense.
12011         Allow pad mode switching instead of asserting. When a pad
12012         is activated in one mode and we activate it in another, 
12013         deactivate it first before activating it in a different mode.
12014         Fixes #329198.
12015
12016 2006-07-08  Andy Wingo  <wingo@pobox.com>
12017
12018         * tools/gst-launch.c (main): Handle err == NULL.
12019
12020         * gst/gst.c (init_post, ensure_current_registry)
12021         (ensure_current_registry_forking)
12022         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12023         factoring out the registry scanning into separate functions. Don't
12024         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12025         Better environment var name/interface suggestions accepted.
12026
12027 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12028
12029         * gst/gstobject.c: (gst_object_set_name_default),
12030         (gst_object_set_name):
12031           Random micro-optimisation: don't use a hash table
12032           with strings as keys and the usual strdup/strcmp
12033           involved, but rather just use the GQuark of the
12034           type name as key, since it needs to be looked up
12035           anyway to get the type name string.
12036
12037         * tests/check/gst/gstobject.c: (GST_START_TEST):
12038           Fix various leaks.
12039
12040 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12041
12042         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12043         (gst_bin_iterate_all_by_interface):
12044           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12045           GTypes are gulongs and thus the top 4 bytes might be cut
12046           off on some platforms when doing GPOINTER_TO_INT, leading
12047           to invalid GTypes and bad things happening (see RH bug #179654).
12048           Also add a check to make sure the type passed in is really
12049           an interface type.
12050
12051 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12052
12053         * .cvsignore:
12054           Ignore more.
12055
12056 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12057
12058         * Makefile.am:
12059         * configure.ac:
12060         * gst-element-check.m4:
12061         * gst-element-check.m4.in:
12062           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12063           instead of the unversioned gst-inspect (#324176, #168659).
12064
12065 2006-07-06  Wim Taymans  <wim@fluendo.com>
12066
12067         * gst/gstmessage.h:
12068         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12069         warnings.
12070
12071 2006-07-06  Wim Taymans  <wim@fluendo.com>
12072
12073         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12074         (gst_base_src_wait), (gst_base_src_update_length),
12075         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12076         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12077         (gst_base_src_loop), (gst_base_src_start),
12078         (gst_base_src_activate_pull):
12079         Update docs.
12080         blocksize == 0 now means the default blocksize when working in push
12081         based mode.
12082         Remove some pointless asserts in _wait function.
12083         Fix offset/length calculations and EOS handling. We can now pull 0
12084         bytes as well, which is allowed.
12085         use _check_get_range() to decide if we can operate in _pull based
12086         mode.
12087         Fix refcounting leak when check_get_range function was not 
12088         implemented.
12089         API GstBaseSrc::blocksize range can be 0 too now (default)
12090
12091         * tests/check/elements/filesrc.c: (GST_START_TEST),
12092         (filesrc_suite):
12093         Added check to test _get_range() behaviour.
12094
12095 2006-07-06  Wim Taymans  <wim@fluendo.com>
12096
12097         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12098         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12099         (gst_pad_pull_range):
12100         * gst/gstpad.h:
12101         Lots of comments and docs added to the pad functions.
12102         Flesh out the expected behaviour of the get_range() functions.
12103
12104 2006-07-06  Wim Taymans  <wim@fluendo.com>
12105
12106         * gst/gstbus.h:
12107         * gst/gstclock.h:
12108         * gst/gstevent.h:
12109         * gst/gstiterator.h:
12110         * gst/gstpad.h:
12111         * gst/gstplugin.h:
12112         * gst/gsttask.h:
12113         Remove comma at end of enumerator list. 
12114
12115 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
12116
12117         * win32/common/libgstbase.def:
12118         * win32/common/libgstdataprotocol.def:
12119         * win32/common/libsgtreamer.def:
12120         Add new exported functions.
12121
12122 2006-07-05  Wim Taymans  <wim@fluendo.com>
12123
12124         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12125         Add some more docs here and there.
12126
12127 2006-07-05  Wim Taymans  <wim@fluendo.com>
12128
12129         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12130         (gst_base_sink_loop), (gst_base_sink_get_position):
12131         When operating in pull mode update the offset so that we
12132         read sequentially.
12133
12134 2006-07-05  Wim Taymans  <wim@fluendo.com>
12135
12136         * gst/gstregistryxml.c: (read_string):
12137         Avoid strdup. (will happen in libxml, but hey!)
12138
12139         * gst/gsturi.c:
12140         Add some more docs.
12141
12142 2006-07-05  Wim Taymans  <wim@fluendo.com>
12143
12144         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12145         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12146         (gst_buffer_suite):
12147         No point in checking if the size of the subbuffer > 0, the
12148         code handles it correclty as demonstrated by unit test.
12149         Also add a unit test for the zero sized _new_and_alloc and
12150         _copy. Fixes #346663.
12151
12152 2006-07-05  Wim Taymans  <wim@fluendo.com>
12153
12154         * libs/gst/base/gstbasetransform.c:
12155         (gst_base_transform_prepare_output_buffer),
12156         (gst_base_transform_buffer_alloc),
12157         (gst_base_transform_handle_buffer):
12158         Make sure the buffer we pass to transform_ip has a refcount of
12159         1 and thus is writable. Fixes #343196
12160
12161 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
12162
12163         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12164         (gst_file_src_init), (gst_file_src_set_property),
12165         (gst_file_src_get_property), (gst_file_src_map_region):
12166         * plugins/elements/gstfilesrc.h:
12167         Add "sequential" property, off by default, to use madvise and hint
12168         to the kernel that sequential access is desired.
12169         Touch all retrieved pages by default to ensure they are pulled
12170         into memory. (Closes #345720)
12171
12172 2006-07-03  Wim Taymans  <wim@fluendo.com>
12173
12174         * docs/design/part-block.txt:
12175         * docs/design/part-dynamic.txt:
12176         Small docs updates.
12177
12178 2006-07-03  Wim Taymans  <wim@fluendo.com>
12179
12180         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12181         (gst_caps_unref), (gst_static_caps_get),
12182         (gst_caps_append_structure):
12183         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12184         Use GSlice when the glib we build against is >= 2.10
12185
12186 2006-07-03  Wim Taymans  <wim@fluendo.com>
12187
12188         * gst/gstelement.c: (gst_element_pads_activate):
12189         Small cleanup in pad activation code.
12190
12191 2006-07-03  Wim Taymans  <wim@fluendo.com>
12192
12193         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12194
12195         * gst/gst-i18n-app.h:
12196         * gst/gst-i18n-lib.h:
12197         * tools/gst-inspect.c: (print_signal_info):
12198         The attached patch will make the inclusion of gettext.h unconditional in
12199         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12200         libintl.h in tools/gst-inspect.c.
12201         This allows use of --disable-nls again and fixes #344642.
12202
12203 2006-07-03  Edward Hervey  <edward@fluendo.com>
12204
12205         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12206         Implement pad blocking on events according to part-block.txt.
12207         More comments on behaviour.
12208         * tests/check/gst/gstevent.c: (test_event):
12209         Send event to peer pad of blocked pad (else it will block).
12210
12211 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12212
12213         * libs/gst/check/gstcheck.c: (gst_check_message_error),
12214         (gst_check_run_suite):
12215           if we get the wrong message, give us the types as string
12216         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12217           Fix a translatable
12218         * tests/check/elements/filesrc.c: (GST_START_TEST):
12219           add a test for trying to open a non-existing file
12220
12221 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12222
12223         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12224           add a test for adding self
12225
12226 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12227
12228         * libs/gst/check/gstcheck.h:
12229           add some assert_ as alias for fail_unless_*
12230         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12231           increase test coverage
12232
12233 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12234
12235         * Makefile.am:
12236           include lcov.mak for lcov coverage generation
12237         * tools/Makefile.am:
12238           add to CLEANFILES
12239
12240 2006-07-02  Edward Hervey  <edward@fluendo.com>
12241
12242         * tests/check/elements/.cvsignore:
12243         moaping
12244
12245 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12246
12247         * configure.ac:
12248           don't set CFLAGS and friends for gcov, done from GST_GCOV now
12249         * tests/check/Makefile.am:
12250           clean up gcov files
12251
12252 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12253
12254         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12255           remove gst_caps_simplify; it was not declared and not used
12256           and deprecated in 0.8
12257
12258 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12259
12260         * docs/faq/gst-uninstalled:
12261           don't put empty paths on PYTHONPATH
12262         * docs/gst/gstreamer-sections.txt:
12263           remove some symbols that are not there
12264
12265 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12266
12267         * gst/gstcaps.c: (gst_caps_compare_structures):
12268           whitespace fixes
12269         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12270         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12271           add more tests
12272
12273 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12274
12275         * libs/gst/dataprotocol/Makefile.am:
12276           build dataprotocol test by linking to the lib, instead of
12277           compiling the source, so we get coverage
12278         * tests/check/Makefile.am:
12279         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12280         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12281           add a test for filesrc
12282
12283 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12284
12285         * tests/check/gst/gststructure.c: (GST_START_TEST),
12286         (gst_structure_suite):
12287           Push coverage from 59.04% to 70.00%
12288
12289 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12290
12291         * tests/check/Makefile.am:
12292           gst-inspect every element; this makes sure that we also get
12293           coverage on element's get/set functions
12294
12295 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12296
12297         * configure.ac:
12298           set CFLAGS and friends to -O0 if gcov is being used
12299           add GCOV LIBS
12300         * gst/Makefile.am:
12301         * libs/gst/base/Makefile.am:
12302         * libs/gst/check/Makefile.am:
12303         * libs/gst/controller/Makefile.am:
12304         * libs/gst/dataprotocol/Makefile.am:
12305         * libs/gst/net/Makefile.am:
12306         * plugins/elements/Makefile.am:
12307         * plugins/indexers/Makefile.am:
12308           add makefile rules to generate gcov data and clean up
12309         * tests/check/Makefile.am:
12310           add a coverage target that generates an html overview
12311           of coverage data
12312
12313 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12314
12315         * tests/check/elements/fakesink.c:
12316         * tests/check/elements/fakesrc.c:
12317         * tests/check/elements/fdsrc.c:
12318         * tests/check/elements/identity.c:
12319         * tests/check/generic/sinks.c: (gst_sinks_suite):
12320         * tests/check/generic/states.c:
12321         * tests/check/gst/gst.c:
12322         * tests/check/gst/gstabi.c:
12323         * tests/check/gst/gstbin.c:
12324         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12325         * tests/check/gst/gstbus.c: (gst_bus_suite):
12326         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12327         * tests/check/gst/gstelement.c:
12328         * tests/check/gst/gstevent.c: (gst_event_suite):
12329         * tests/check/gst/gstghostpad.c:
12330         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12331         * tests/check/gst/gstmessage.c: (gst_message_suite):
12332         * tests/check/gst/gstminiobject.c:
12333         * tests/check/gst/gstobject.c:
12334         * tests/check/gst/gstpad.c:
12335         * tests/check/gst/gstpipeline.c:
12336         * tests/check/gst/gstplugin.c:
12337         * tests/check/gst/gstquery.c: (gst_query_suite):
12338         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12339         * tests/check/gst/gststructure.c:
12340         * tests/check/gst/gstsystemclock.c:
12341         * tests/check/gst/gsttag.c:
12342         * tests/check/gst/gsttask.c: (gst_task_suite):
12343         * tests/check/gst/gstutils.c:
12344         * tests/check/gst/gstvalue.c:
12345         * tests/check/libs/adapter.c:
12346         * tests/check/libs/basesrc.c:
12347         * tests/check/libs/collectpads.c:
12348         * tests/check/libs/controller.c:
12349         * tests/check/libs/gdp.c: (gst_dp_suite):
12350         * tests/check/libs/gstnetclientclock.c:
12351         * tests/check/libs/gstnettimeprovider.c:
12352         * tests/check/libs/libsabi.c: (libsabi_suite):
12353         * tests/check/libs/typefindhelper.c:
12354         * tests/check/pipelines/cleanup.c:
12355         * tests/check/pipelines/parse-launch.c:
12356         * tests/check/pipelines/simple-launch-lines.c:
12357         * tests/check/pipelines/stress.c: (stress_suite):
12358           use the new macro
12359
12360 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12361
12362         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12363         * libs/gst/check/gstcheck.h:
12364           create a macro and function so that the simple unit test
12365           case can be just one macro to create main()
12366
12367 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12368
12369         * gst/gstbin.c: (gst_bin_restore_thyself):
12370         * gst/gstxml.c: (gst_xml_make_element):
12371           Fix deserialisation from XML. Set parent manually
12372           instead of using gst_bin_add(), since gst_bin_add()
12373           will unlink all pads of the element being added.
12374           Fixes #341667.
12375
12376 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12377
12378         Patch by: Peter Kjellerstedt <pkj at axis com>
12379
12380         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12381           Fix missing g_strdup() and double free when using the
12382           --gst-plugin-load command line option (#346097).
12383
12384 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12385
12386         * gst/gstinfo.c:
12387           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12388
12389         * libs/gst/net/gstnetclientclock.c:
12390         * libs/gst/net/gstnettimeprovider.c:
12391           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12392
12393 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12394
12395         * docs/manual/advanced-dataaccess.xml:
12396           Fix buffer probe example compilation in
12397           ADM (#345708).
12398         
12399 2006-06-22  Edward Hervey  <edward@fluendo.com>
12400
12401         * gst/gstelement.c: (gst_element_pads_activate):
12402         We need to deactivate src pads first and then sink pads.
12403         The reason is the src pads might be blocking while holding the streaming
12404         lock, so we need to deactivate them first so that deactivating the sink
12405         pads doesn't block (since it will require the streaming lock).
12406
12407 2006-06-22  Wim Taymans  <wim@fluendo.com>
12408
12409         * libs/gst/base/gstbasetransform.c:
12410         (gst_base_transform_buffer_alloc):
12411         Forgot to remove two unneeded unrefs.
12412         Simplify a check _is_equal allready checks the obvious case.
12413
12414 2006-06-22  Wim Taymans  <wim@fluendo.com>
12415
12416         * docs/design/part-block.txt:
12417         Some docs about what pad_block should do.
12418
12419 2006-06-22  Wim Taymans  <wim@fluendo.com>
12420
12421         * gst/gstcaps.c: (gst_caps_replace):
12422         Fix crasher when passed NULL. Doc clarification.
12423         Optimize for the trivial case.
12424
12425         * gst/gstpipeline.c: (gst_pipeline_change_state):
12426         Small cleanups.
12427
12428         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12429         Small documentation cleanup.
12430
12431         * libs/gst/base/gstbasetransform.c:
12432         (gst_base_transform_buffer_alloc):
12433         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12434         is what we need and it avoids a whole lot of redundant 
12435         refcount operations.
12436
12437 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12438
12439         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12440
12441         * docs/manual/advanced-dataaccess.xml:
12442           Fix 'Embedding static elements' section to use
12443           GST_PLUGIN_DEFINE_STATIC (#345607).
12444
12445 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12446
12447         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12448           Attempt to 'fix' spuriously failing test case: it seems like the
12449           timeout of half a second is simply too small when the system is under
12450           load otherwise, and the timeout doesn't really seem to serve any
12451           particular purpose here. Give the pipeline a few seconds to preroll
12452           first, and then give it another half a second to go from PAUSED to
12453           PLAYING and marshal the message into the main thread.
12454
12455 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12456
12457         * tools/gst-feedback-m.m:
12458           Don't only use unversioned tools, try versioned tools as well
12459           (#345086).
12460
12461 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12462
12463         * gst/gstbus.c: (gst_bus_class_init):
12464           Fix some typos, make docs more explicit.
12465
12466 2006-06-20  Wim Taymans  <wim@fluendo.com>
12467
12468         * tests/check/gst/gstghostpad.c: (block_callback),
12469         (GST_START_TEST), (gst_ghost_pad_suite):
12470         Added some more ghostpad tests, mainly blocking
12471         and probes.
12472
12473 2006-06-16  Wim Taymans  <wim@fluendo.com>
12474
12475         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12476         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12477         (gst_file_sink_event), (gst_file_sink_render):
12478         * plugins/elements/gstfilesink.h:
12479         Check if we can seek in the file instead of assuming
12480         we always can. Post an error when we are asked to seek in a
12481         non-seekable file (like a fifo). Fixes #343312.
12482         Some cleanups.
12483
12484 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12485
12486         * tools/gst-launch.1.in:
12487           Un-garble (fourcc) bit in filtered caps section.
12488
12489 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12490
12491         * docs/manual/advanced-autoplugging.xml:
12492         * docs/manual/basics-helloworld.xml:
12493         * docs/manual/highlevel-components.xml:
12494           Don't leak bus reference in sample code.
12495
12496 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12497
12498         * autogen.sh:
12499           Add default for new --enable-plugin-docs switch.
12500
12501         * configure.ac:
12502           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12503           Fixes #344039.
12504
12505         * docs/Makefile.am:
12506           Use new ENABLE_PLUGIN_DOCS conditional.
12507
12508 2006-06-14  Wim Taymans  <wim@fluendo.com>
12509
12510         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12511         Make it clear with a FIXME and a real define what the #if 0
12512         previously disabled.
12513
12514 2006-06-14  Wim Taymans  <wim@fluendo.com>
12515
12516         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12517         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12518         * libs/gst/base/gstbasetransform.c:
12519         (gst_base_transform_sink_eventfunc):
12520         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12521         Don't randomly and silently reset a segment when the format 
12522         changes as this is a bug somewhere upstream. Fixes #330379.
12523
12524 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12525
12526         Patch by: Wouter Paesen  <wouter at kangaroot net>
12527
12528         * libs/gst/controller/gstcontroller.c:
12529         (gst_controlled_property_new):
12530           Fix controlling of float properties (#344849).
12531
12532         * tests/check/libs/controller.c:
12533         (gst_test_mono_source_get_property),
12534         (gst_test_mono_source_set_property),
12535         (gst_test_mono_source_class_init), (GST_START_TEST):
12536           While we're at it, add some float stuff to unit test.
12537
12538 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12539
12540         * docs/README:
12541         * docs/images/gdp-header.svg:
12542           add a gdp image
12543         * docs/libs/Makefile.am:
12544         * docs/libs/gdp-header.png:
12545         * libs/gst/dataprotocol/dataprotocol.c:
12546           add it to the API docs
12547         * docs/manual/intro-motivation.xml:
12548           fix typo
12549
12550 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12551
12552         * gst/gst.c: (scan_and_update_registry), (init_post):
12553           If the fork()'ed child process can't write the updated registry cache
12554           file to disk for some reason, make it exit with a failure exit code,
12555           so that the parent can then re-scan the plugins itself and update the
12556           registry structures in memory and work with that (rather than failing
12557           when creating elements because seemingly no plugins are available).
12558           Refactor registry scanning code into separate function for this and
12559           also separate fork() and non-fork() code paths. Fixes #344748.
12560
12561 2006-06-13  Wim Taymans  <wim@fluendo.com>
12562
12563         * docs/manual/advanced-dataaccess.xml:
12564         Fix wrong PluginDesc. Fixes #344755.
12565
12566 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12567
12568         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12569           Fix silly bug that prevented us from creating
12570           ~/.gstreamer-0.10 and writing the registry in one
12571           go (the first call to g_mkstemp() would overwrite the
12572           placeholder in the template string, so the second call
12573           to g_mkstemp() after creating the missing directory
12574           would then error out with 'invalid argument').
12575
12576 2006-06-13  Edward Hervey  <edward@fluendo.com>
12577
12578         * gst/gst.c: (init_post):
12579         Free string.
12580
12581 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12582
12583         * gst/glib-compat-private.h:
12584         * gst/glib-compat.c:
12585         * gst/glib-compat.h:
12586         * gst/gstvalue.c: (gst_value_serialize_flags):
12587           remove GLib 2.6 compatibility code
12588
12589 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12590
12591         * gst/parse/Makefile.am:
12592           Fix build with 'make -j N' even more (#340016).
12593
12594 2006-06-12  Wim Taymans  <wim@fluendo.com>
12595
12596         * docs/gst/gstreamer-sections.txt:
12597         Fix docs.
12598
12599 2006-06-12  Wim Taymans  <wim@fluendo.com>
12600
12601         * gst/gstsegment.c: (gst_segment_set_duration),
12602         (gst_segment_set_last_stop), (gst_segment_set_seek),
12603         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12604         (gst_segment_to_running_time), (gst_segment_clip):
12605         Use G_UNLIKELY to help the compiler a bit.
12606
12607 2006-06-12  Wim Taymans  <wim@fluendo.com>
12608
12609         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12610
12611         * gst/gstevent.c: (gst_event_get_type):
12612         * gst/gstmessage.c:
12613         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12614         (gst_pad_push):
12615         constify quark registration strings. Fixes #344115
12616         Avoid unneeded type checking is _pad_push() by internally
12617         calling gst_pad_chain_unchecked().
12618
12619 2006-06-12  Wim Taymans  <wim@fluendo.com>
12620
12621         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12622         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12623         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12624         (gst_buffer_is_span_fast), (gst_buffer_span):
12625         Init _type for consistency.
12626         Use _FLAGS macro to avoid type check.
12627         Avoid unneeded type checks in subbufer code.
12628
12629 2006-06-12  Wim Taymans  <wim@fluendo.com>
12630
12631         * gst/gst.c: (gst_debug_help):
12632         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12633         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12634         (gst_plugin_feature_list_free):
12635         * gst/gstregistry.c: (gst_registry_add_plugin),
12636         (gst_registry_add_feature), (gst_registry_plugin_filter),
12637         (gst_registry_feature_filter), (gst_registry_find_plugin),
12638         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12639         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12640         * gst/gstregistryxml.c: (load_feature),
12641         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12642         * gst/gstminiobject.c: (gst_mini_object_unref),
12643         (gst_mini_object_replace), (gst_value_mini_object_free),
12644         (gst_value_mini_object_copy):
12645         Use _CAST macros to avoid unneeded type checking.
12646         Added some more G_UNLIKELY.
12647
12648 2006-06-12  Wim Taymans  <wim@fluendo.com>
12649
12650         * gst/gstbuffer.h:
12651         Avoid unneeded type checking.
12652         API: GST_BUFFER_IS_DISCONT
12653
12654         * gst/gstminiobject.h:
12655         Avoid type check in flag accessor.
12656
12657         * gst/gstelementfactory.h:
12658         * gst/gstplugin.h:
12659         * gst/gstpluginfeature.h:
12660         Add _CAST macros.
12661         API: GST_ELEMENT_FACTORY_CAST
12662         API: GST_PLUGIN_CAST
12663         API: GST_PLUGIN_FEATURE_CAST
12664
12665 2006-06-12  Wim Taymans  <wim@fluendo.com>
12666
12667         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12668         (gst_object_unref):
12669         Add G_UNLIKELY in type registration.
12670         Avoid type check in _ref/_unref since that is also
12671         done in glib.
12672
12673 2006-06-12  Wim Taymans  <wim@fluendo.com>
12674
12675         * gst/gsterror.c: (gst_g_error_get_type):
12676         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12677         (gst_static_pad_template_get_type):
12678         * gst/gsttaglist.c: (gst_tag_list_get_type):
12679         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12680         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12681         * gst/gsturi.c: (gst_uri_handler_get_type):
12682         * gst/gstvalue.c: (gst_date_get_type):
12683         * gst/gstxml.c: (gst_xml_get_type):
12684         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12685         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12686         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12687         Add G_UNLIKELY in type registration.
12688
12689 2006-06-12  Wim Taymans  <wim@fluendo.com>
12690
12691         * tools/gst-inspect.c: (print_signal_info):
12692         Properly print enum values.
12693
12694 2006-06-12  Wim Taymans  <wim@fluendo.com>
12695
12696         * gst/gstinfo.c: (gst_debug_set_active),
12697         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12698         * gst/gstinfo.h:
12699         Add some G_[UN]LIKELY.
12700         Maintain __gst_debug_min to avoid formatting the arguments of
12701         debug messages that will be dropped anyway to avoid a lot of 
12702         overhead from the debugging system.
12703
12704 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12705
12706         * po/POTFILES.in:
12707         * po/POTFILES.skip:
12708           add missing files containing translatable strings, tell intltool about
12709           one exception
12710
12711 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12712
12713         * tests/check/libs/.cvsignore:
12714         add test-binary to ignore list
12715
12716 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12717
12718         * docs/libs/gstreamer-libs-docs.sgml:
12719         reorder (put dp into a chapter) and indent
12720
12721 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12722
12723         * configure.ac:
12724           back to HEAD
12725
12726 === release 0.10.8 ===
12727
12728 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12729
12730         * configure.ac:
12731           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12732
12733 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12734
12735         * gst/gst.c: (init_post):
12736           move pid declaration to declaration block
12737
12738 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12739
12740         * gst/gst.c: (init_post):
12741           use _exit() instead of exit() in our forked child; this ensures
12742           that none of the registered exit handlers from whatever is using
12743           GStreamer get executed.  This fixes gnome-mixer-applet failing
12744           to load, because ORBit would shut down.
12745           Spotted by: Edward Hervey  <edward@fluendo.com>
12746           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12747           Fixes #344474
12748
12749 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12750
12751         * configure.ac:
12752           back to TRUNK
12753
12754 === release 0.10.7 ===
12755
12756 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12757
12758         * configure.ac:
12759           releasing 0.10.7, "Soepeke, ik zie ou"
12760
12761 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12762
12763         * configure.ac:
12764         * po/af.po:
12765         * po/az.po:
12766         * po/bg.po:
12767         * po/ca.po:
12768         * po/cs.po:
12769         * po/de.po:
12770         * po/en_GB.po:
12771         * po/fr.po:
12772         * po/it.po:
12773         * po/nb.po:
12774         * po/nl.po:
12775         * po/ru.po:
12776         * po/sq.po:
12777         * po/sr.po:
12778         * po/sv.po:
12779         * po/tr.po:
12780         * po/uk.po:
12781         * po/vi.po:
12782         * po/zh_CN.po:
12783         * po/zh_TW.po:
12784         * win32/common/config.h:
12785           0.10.6.2 prerelease
12786
12787 2006-06-07  Wim Taymans  <wim@fluendo.com>
12788
12789         * gst/gstindex.c: (gst_index_gtype_resolver):
12790         * tools/gst-xmlinspect.c: (print_plugin_info):
12791         Fix leak spotted by coverity checker. Fixes #343827
12792         Fix another other leak found by paolo borelli.
12793
12794 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12795
12796         * libs/gst/dataprotocol/dataprotocol.c:
12797         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12798         (gst_dp_version_get_type), (gst_dp_init),
12799         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12800         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12801         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12802         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12803         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12804         (gst_dp_packetizer_free):
12805         * libs/gst/dataprotocol/dataprotocol.h:
12806           API: add a GstDPPacketizer object, and create/free functions
12807           API: add GstDPVersion enum
12808           Add 1.0 event function that uses the string serialization
12809           Serialize more useful buffer flags
12810           Fixes #343988
12811
12812 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12813
12814         * tests/check/Makefile.am:
12815         * tests/check/gst/gstabi.c:
12816         * tests/check/gst/struct_ppc64.h:
12817         * tests/check/libs/libsabi.c:
12818         * tests/check/libs/struct_ppc64.h:
12819           add ppc64 structure sizes
12820
12821 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12822
12823         * tests/check/Makefile.am:
12824         * tests/check/gst/gstabi.c:
12825         * tests/check/gst/struct_x86_64.h:
12826         * tests/check/libs/libsabi.c:
12827         * tests/check/libs/struct_x86_64.h:
12828           generate and add structure size lists for x86_64
12829
12830 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12831
12832         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12833         * libs/gst/check/gstcheck.h:
12834           factor out the method from tests that checks size of structures,
12835           and add code to generate the header containing these sizes
12836         * tests/check/gst/gstabi.c: (GST_START_TEST):
12837         * tests/check/gst/struct_i386.h:
12838         * tests/check/libs/libsabi.c: (GST_START_TEST):
12839         * tests/check/libs/struct_i386.h:
12840           use it
12841
12842 2006-06-06  Michael Smith  <msmith@fluendo.com>
12843
12844         * gst/gstsegment.h:
12845           Don't use c++-style comments, fixes #343929
12846
12847 2006-06-05  Edward Hervey  <edward@fluendo.com>
12848
12849         * gst/gst.c:
12850         plugin_paths is not used if we build without registry support.
12851
12852         * gst/gstsegment.c: (gst_segment_copy): 
12853         _copy() was always returning NULL...
12854
12855 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12856
12857         * libs/gst/dataprotocol/dataprotocol.c:
12858         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12859         (gst_dp_packet_from_event):
12860           factor out CRC code
12861
12862 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12863
12864         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12865           make sure we unset caps
12866
12867 2006-06-02  Michael Smith  <msmith@fluendo.com>
12868
12869         * libs/gst/check/gstcheck.c: (gst_check_init),
12870         (gst_check_chain_func):
12871         * libs/gst/check/gstcheck.h:
12872           Add a cond/mutex to the check support lib, signal this whenever we
12873           add to the buffers list. This will allow tests to not busy-wait on
12874           the buffer-list.
12875
12876 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12877
12878         * libs/gst/dataprotocol/dataprotocol.c:
12879         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12880         (gst_dp_packet_from_event):
12881           factor out some common header init code
12882
12883 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12884
12885         * docs/libs/gstreamer-libs-sections.txt:
12886         * docs/libs/tmpl/gstdataprotocol.sgml:
12887         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12888         * libs/gst/dataprotocol/dataprotocol.h:
12889           API: make gst_dp_crc() public
12890
12891 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12892
12893         * plugins/indexers/gstindexers.c: (plugin_init):
12894         conditionally register fileindexer (fixes #343598)
12895
12896 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12897
12898         * gst/gsttagsetter.h:
12899         Can't cast ifaces to a class
12900
12901         * libs/gst/net/gstnetclientclock.h:
12902         * libs/gst/net/gstnettimeprovider.h:
12903         * plugins/elements/gstfakesink.h:
12904         * plugins/elements/gstfakesrc.h:
12905         * plugins/elements/gstfdsink.h:
12906         * plugins/elements/gstfdsrc.h:
12907         * plugins/elements/gstfilesink.h:
12908         * plugins/elements/gstfilesrc.h:
12909         * plugins/elements/gstidentity.h:
12910         * plugins/elements/gstqueue.h:
12911         * plugins/elements/gsttee.h:
12912         * plugins/indexers/gstfileindex.c:
12913         * plugins/indexers/gstmemindex.c:
12914         * tests/old/examples/plugins/example.h:
12915         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12916
12917 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12918
12919         * libs/gst/dataprotocol/dataprotocol.c:
12920         (gst_dp_header_from_buffer):
12921           make sure we zero the whole ABI-compatible area
12922
12923 2006-06-01  Wim Taymans  <wim@fluendo.com>
12924
12925         Patch by: Alessandro Decina <alessandro at nnva dot org>
12926
12927         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12928         Make sure the EOS flag is cleared from pads after a flush
12929         or stop. Fixes #343538.
12930
12931         * tests/check/libs/collectpads.c: (GST_START_TEST),
12932         (gst_collect_pads_suite):
12933         Added test for collectpads reusage after EOS.
12934
12935 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12936
12937         * gst/gst.c:
12938          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12939         * win32/common/libgstbase.def:
12940          export gst_collect_pads_set_flushing
12941         * win32/common/libgstreamer.def:
12942          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12943          gst_value_fraction_multiply
12944         * win32/vs6/gst_inspect.dsp:
12945          add a link to intl.lib
12946
12947 2006-05-30  Wim Taymans  <wim@fluendo.com>
12948
12949         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12950         (gst_collect_pads_chain):
12951         Handle the case where a pad is removed from the collection
12952         that could cause the other pads to become collectable.
12953
12954 2006-05-30  Wim Taymans  <wim@fluendo.com>
12955
12956         * gst/gstelement.c:
12957         Clarify the use of _release_request_pad() and
12958         _get_request_pad() a bit better.
12959
12960         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12961         (gst_adapter_take_buffer):
12962         Fix some doc and comment typos.
12963
12964 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12965
12966         * docs/gst/gstreamer-sections.txt:
12967         * docs/libs/gstreamer-libs-sections.txt:
12968           add declared symbols
12969
12970 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12971
12972         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12973         Add debug that can be enabled using a #define at the top of the file,
12974         for dumping stats about how late/early we were when waking up from
12975         waiting on the clock.
12976
12977 2006-05-30  Wim Taymans  <wim@fluendo.com>
12978
12979         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12980         When rebuilding the pad list, don't leak the previous list.
12981
12982 2006-05-30  Wim Taymans  <wim@fluendo.com>
12983
12984         Patch by: Lutz Mueller <lutz at topfrose dot de>
12985
12986         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12987         (gst_base_src_get_query_types), (gst_base_src_update_length):
12988         Publish supported query types.
12989         Update last_stop field in get_range mode so the position
12990         query works. Fixes #342321.
12991
12992 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12993
12994         * docs/gst/gstreamer-sections.txt:
12995         * gst/gsttaglist.c: (_gst_tag_initialize):
12996         * gst/gsttaglist.h:
12997           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12998
12999 2006-05-30  Wim Taymans  <wim@fluendo.com>
13000
13001         Patch by: Alessandro Decina <alessandro at nnva dot org>
13002
13003         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13004         Unlock mutex when removing an unknown pad.
13005         Fixes #343334.
13006
13007         * tests/check/Makefile.am:
13008         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13009         (push_event), (setup), (teardown), (GST_START_TEST),
13010         (gst_collect_pads_suite), (main):
13011         Added collecpads check, disabled for now as check crashes for
13012         some reason.
13013
13014 2006-05-29  Wim Taymans  <wim@fluendo.com>
13015
13016         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13017         Don't leak pads lists.
13018
13019 2006-05-29  Wim Taymans  <wim@fluendo.com>
13020
13021         * docs/libs/gstreamer-libs-sections.txt:
13022         * libs/gst/base/gstcollectpads.c:
13023         (gst_collect_pads_set_flushing_unlocked),
13024         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13025         (gst_collect_pads_stop):
13026         * libs/gst/base/gstcollectpads.h:
13027         API: gst_collect_pads_set_flushing()
13028         Added api to set the pads to flushing, useful for seeking
13029         code in elements using collectpads.
13030         Clear segment when receiving a flush.
13031
13032 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
13033
13034         * gst/gst.c: (add_path_func), (init_post):
13035           Don't scan registry paths passed via --gst-plugin-path immediately
13036           (will crash, because absolutely nothing is set up and no types are
13037           registered etc.); do this later in init_post(). Fixes #343057.
13038
13039 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13040
13041         * gst/gst.c: (init_post):
13042           if we have fork, fork while reading/rebuilding the registry
13043           so the parent doesn't take the hit of having all plugins loaded
13044           in memory.  Fixes #342777.
13045         * configure.ac:
13046           Check if we have fork()
13047         * win32/common/config.h.in:
13048           no fork() on win32
13049
13050 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13051
13052         * plugins/elements/gstelements.c:
13053         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13054         (gst_file_src_init), (gst_file_src_set_property),
13055         (gst_file_src_get_property), (gst_file_src_start):
13056         * plugins/elements/gstfilesrc.h:
13057           API: GstFileSrc::use-mmap
13058
13059         Add a use-mmap property to enable easier testing of all code paths.
13060         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13061         in the absence of gnomevfssrc. (Closes #340501)
13062
13063 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13064
13065         * tools/gst-inspect.c:
13066         Add missing include, removes warning of ngettext not being defined on
13067         some arches.
13068
13069 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13070
13071         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13072         Handle NULL input and output pointers silently as a failed conversion,
13073         rather than g_warnings.
13074
13075 2006-05-25  Wim Taymans  <wim@fluendo.com>
13076
13077         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13078         Initialize variable before using. Fixes #342820.
13079
13080 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
13081
13082         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13083           Fix off-by-one bug that would only allow peeks of N-1 bytes
13084           from the start even if the buffer to typefind on contains
13085           in fact N bytes of data (makes vorbis typefinding from a
13086           vorbis identification header buffer work).
13087
13088         * tests/check/Makefile.am:
13089         * tests/check/libs/.cvsignore:
13090         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13091         (gst_typefindhelper_suite), (main), (foobar_typefind),
13092         (plugin_init):
13093           Add very basic unit test for gst_type_find_helper_for_buffer()
13094           that checks for the problem fixed above.
13095
13096 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13097
13098         * tools/gst-inspect.c: (print_interfaces),
13099         (print_element_properties_info), (print_element_list), (main):
13100           add more translatable strings
13101
13102 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
13103
13104         Patch by: Julien Moutte  <julien at moutte net>
13105
13106         * docs/gst/gstreamer-sections.txt:
13107           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13108           
13109         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13110         (gst_fake_sink_preroll):
13111         * plugins/elements/gstfakesink.h:
13112           API: Add new GstFakeSink::preroll-handoff signal (#337100).
13113
13114 2006-05-23  Wim Taymans  <wim@fluendo.com>
13115
13116         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13117         * gst/gstpad.h:
13118         Added _CUSTOM error and success GstFlowReturn that can be
13119         used be elements internally. 
13120         Added macro to check for SUCCESS flowreturns.
13121         API: GST_FLOW_CUSTOM_SUCCESS
13122         API: GST_FLOW_CUSTOM_ERROR
13123         API: GST_FLOW_IS_SUCCESS
13124
13125         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13126         Added check for GstFlowReturn sanity.
13127
13128 2006-05-23  Wim Taymans  <wim@fluendo.com>
13129
13130         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13131
13132         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13133         (gst_collect_pads_event):
13134         clear/reset segment info in FLUSH_STOP.
13135         Fixes #336929.
13136
13137 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
13138
13139         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13140         (gst_collect_pads_check_collected):
13141         Flush queued buffer on _stop(), fixes playing again (#342454)
13142
13143 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13144
13145         * tests/check/gst/gststructure.c: (GST_START_TEST),
13146         (gst_structure_suite):
13147           add a test for a complete structure
13148
13149 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13150
13151         * docs/faq/developing.xml:
13152         * docs/faq/faq.xml:
13153         * docs/faq/troubleshooting.xml:
13154         * docs/faq/using.xml:
13155           Some minor FAQ updates that won't change the fact that
13156           our FAQ is badly structured, full of information hardly
13157           anyone new to GStreamer needs to know and lacking lots
13158           of information people constantly ask for.
13159           
13160 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
13161
13162         * gst/gstpad.c: (gst_pad_set_caps):
13163           Short-circuit gst_pad_set_caps if setting the existing
13164           caps pointer again, and avoid printing debug and 
13165           reffing/unreffing the caps.
13166
13167         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13168           There's actually no need to set the caps before pushing -
13169           the acceptcaps method will handle it anyway.
13170
13171 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13172
13173         * docs/gst/gstreamer-sections.txt:
13174         * win32/common/libgstreamer.def:
13175         * gst/gstutils.c: (gst_element_seek_simple):
13176         * gst/gstutils.h:
13177           API: add gst_element_seek_simple() (#342238).
13178
13179 2006-05-18  Edward Hervey  <edward@fluendo.com>
13180
13181         * gst/gsttypefind.c: (gst_type_find_get_type):
13182         * gst/gsttypefind.h:
13183         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13184         registered for GstTypeFind pointers. This allows wrapping the structure
13185         in bindings (i.e. gst-python).
13186
13187 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13188
13189         * gst/gsttagsetter.c:
13190           Docs additions and fixes (see #339918).
13191
13192 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
13193
13194         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13195         The caps intersection algorithm can produce multiple copies of the
13196         caps. Until that is fixed, we need to simplify the result to be
13197         sure whether the allowed caps are fixed or not.
13198
13199         * plugins/elements/gstqueue.c: (gst_queue_init),
13200         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13201         (gst_queue_push_one):
13202         Proxied buffer alloc should not set the caps on the source pad.
13203         When pushing buffers, we always accept the caps change that triggers.
13204         This prevents negotiation errors caused by caps changing mid-stream 
13205         and then being refused on our source pad (because upstream is now
13206         refusing those caps).
13207
13208 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13209
13210         * tests/examples/helloworld/helloworld.c: (main):
13211           Must plug audioconvert and audioresample between decoder
13212           and audio sink.
13213
13214 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
13215
13216         * gst/gstregistryxml.c: (read_string), (load_pad_template),
13217         (load_feature), (load_plugin):
13218         Allow empty strings for some of the plugin fields so we don't 
13219         drop valid plugin entries that were written out correctly
13220         (Fixes #341479)
13221
13222 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
13223         
13224         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13225           Use g_remove and g_rename instead of remove and rename that don't 
13226           handle utf8 characters. rename was failing for users who had specific
13227           characters in their name then the registry was built at each 
13228           gstreamer init.
13229         * win32/vs6/gst_inspect.dsp:
13230         * win32/vs6/gst_launch.dsp:
13231         * win32/vs6/libgstbase.dsp:
13232         * win32/vs6/libgstcoreelements.dsp:
13233         * win32/vs6/libgstreamer.dsp:
13234           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
13235           build of libgstreamer and clean unused libraries in projects link 
13236           settings.
13237
13238 2006-05-17  Edward Hervey  <edward@fluendo.com>
13239
13240         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13241         The queue is not responsible for pushing an EOS when receiving a fatal
13242         flow error. It's up to the real element driving the pipeline to do that.
13243
13244 2006-05-16  Edward Hervey  <edward@fluendo.com>
13245
13246         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13247         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13248         buffer returned a fatal error. It should just send an EOS and stop
13249         its task.
13250         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13251         when pushing buffers on the queue and will be able to handle the event.
13252
13253 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
13254
13255         * docs/manual/basics-bins.xml:
13256         * docs/manual/basics-init.xml:
13257           Fix typos and minor errors in sample code (#341856).
13258
13259 2006-05-16  Wim Taymans  <wim@fluendo.com>
13260
13261         * docs/design/part-qos.txt:
13262         Fix indexes in formulas to make more sense.
13263
13264 2006-05-15  Wim Taymans  <wim@fluendo.com>
13265
13266         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13267         Don't report POSITION based on clock time if sync is
13268         disabled in a sink.
13269
13270 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
13271
13272         * gst/gstobject.h:
13273           Add cast to make compiler happy - refcount variable was a gint
13274           in GstObject but is a guint in GObject and g_atomic_int_get()
13275           wants a gint *.
13276
13277 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13278
13279         * gst/parse/Makefile.am:
13280           chain commands using &&, which also makes parallel make work
13281
13282 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
13283
13284         * docs/gst/gstreamer-sections.txt:
13285         * gst/gstevent.c:
13286         * gst/gstevent.h:
13287         * gst/gstmessage.h:
13288           Minor docs fixes.
13289
13290 === release 0.10.6 ===
13291
13292 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
13293
13294         * configure.ac:
13295           releasing 0.10.6, "Take the cannoli"
13296
13297 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13298
13299         * tools/gst-launch.c: (print_tag):
13300           Fix use of uninitialized variable in the hypothetical
13301           case that some broken plugin creates a GST_TAG_IMAGE
13302           tag containing a NULL buffer (#341667).
13303
13304 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13305
13306         * tools/gst-launch.c: (print_tag):
13307           Print something more intelligible for image tags when
13308           using the -t switch (#341556).
13309
13310 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13311
13312         * Makefile.am:
13313           updates for win32
13314         * configure.ac:
13315           define GST_MAJORMINOR so we have it available in win32/common/config.h
13316           Possibly remove it from our Makefile.am files later
13317         * win32/common/config.h:
13318         * win32/common/config.h.in:
13319           added GST_MAJORMINOR
13320         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13321         * win32/common/gstversion.h:
13322           updated
13323
13324 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13325
13326         * win32/MANIFEST:
13327           Update win32 files listing.
13328         * win32/common/gstversion.h:
13329           Add GST_MAJORMINOR definition.
13330         * win32/common/libgstreamer.def:
13331           Add new exported functions.
13332           
13333 2006-05-12  Michael Smith  <msmith@fluendo.com>
13334
13335         * gst/gstplugin.c: (gst_plugin_load_file):
13336           If an so file has no plugin entry point, unload the module.
13337
13338 2006-05-11  Wim Taymans  <wim@fluendo.com>
13339
13340         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13341         (gst_queue_set_property):
13342         Don't forget to signal the _chain or _loop function 
13343         when the queue size or thresholds change since that might
13344         cause them to make progres again.
13345
13346 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13347
13348         * gst/gstclock.c: (gst_clock_class_init):
13349         * gst/gstindex.c: (gst_index_class_init):
13350         * gst/gstobject.c: (gst_object_class_init):
13351         * gst/gstpad.c: (gst_pad_class_init):
13352         * gst/gstpipeline.c: (gst_pipeline_class_init):
13353         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13354         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13355         * libs/gst/base/gstbasetransform.c:
13356         (gst_base_transform_class_init):
13357         * libs/gst/net/gstnetclientclock.c:
13358         (gst_net_client_clock_class_init):
13359         * libs/gst/net/gstnettimeprovider.c:
13360         (gst_net_time_provider_class_init):
13361         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13362         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13363         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13364         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13365         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13366         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13367         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13368         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13369         * plugins/elements/gsttee.c: (gst_tee_class_init):
13370         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13371         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13372           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13373
13374 2006-05-11  Wim Taymans  <wim@fluendo.com>
13375
13376         * gst/gstbuffer.c: (_gst_buffer_initialize):
13377         Register subbufer along with the buffer type so that
13378         it does not accidentally gets registered from N
13379         different streaming threads in a non threadsafe way.
13380
13381 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13382
13383         * gst/gstbuffer.h:
13384         * gst/gstevent.h:
13385         * gst/gstmessage.h:
13386           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13387           gst_event_ref() and gst_message_ref() functions again
13388           (ugly hack, please do fix if there's a better way besides
13389           overrides.txt, which doesn't seem to work).
13390
13391 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13392
13393         * libs/gst/check/gstcheck.h:
13394           add an assert for setting state to avoid lots of repetitive code
13395           in the future
13396
13397 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13398
13399         * gst/gstvalue.c: (gst_value_serialize_flags):
13400           fix a leak if no flags are set
13401         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13402           fix leak in tests
13403
13404 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13405
13406         * docs/manual/basics-pads.xml:
13407           Expand a bit on caps and filtered links and update
13408           examples that were still using the no longer existing
13409           gst_pad_link_filtered() (#338206).
13410
13411 2006-05-10  Wim Taymans  <wim@fluendo.com>
13412
13413         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13414         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13415         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13416         (gst_collect_pads_stop):
13417         * libs/gst/base/gstcollectpads.h:
13418         No need to call _stop in _finalize.
13419         Iterate the main pad list in _finalize.
13420         Added some more debug.
13421         Free lists and data in the right order.
13422         Also free data whem doing _remove_pad when stopped for
13423         backward compatibility protect ::started with PAD_LOCK as
13424         well.
13425
13426 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13427
13428         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13429         (gst_structure_parse_value):
13430           add some comments
13431           rename a method so that it actually says what it does better
13432
13433 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13434
13435         * gst/gstevent.c: (_gst_event_initialize):
13436         * gst/gstformat.c: (_gst_format_initialize):
13437           make sure some essential types used by events are registered
13438           as part of gst_init()
13439         * gst/gstvalue.c: (gst_value_serialize_flags):
13440           if no flags are set, serialize them to a value that represents NONE
13441           so that deserializing them works
13442         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13443           add tests for serialization and deserialization of flags
13444
13445 2006-05-10  Wim Taymans  <wim@fluendo.com>
13446
13447         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13448         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13449         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13450         (gst_collect_pads_event), (gst_collect_pads_chain):
13451         Update docs.
13452         Better debug info.
13453         Catch and return errors from the collect function
13454         Refuse data on eos pads.
13455
13456 2006-05-10  Edward Hervey  <edward@fluendo.com>
13457
13458         * gst/gstinterface.h:
13459         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13460         GInterface type checking.
13461         They were previously using non-defined macros.
13462
13463 2006-05-09  Wim Taymans  <wim@fluendo.com>
13464
13465         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13466         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13467         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13468         (gst_collect_pads_start), (gst_collect_pads_stop),
13469         (gst_collect_pads_peek), (gst_collect_pads_pop),
13470         (gst_collect_pads_available), (gst_collect_pads_read),
13471         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13472         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13473         (gst_collect_pads_chain):
13474         * libs/gst/base/gstcollectpads.h:
13475         Clean up the mess that is collectpads, add comments and
13476         FIXMEs where needed.
13477         Maintain a separate pad list so we can add pads while
13478         collecting the other ones. For this we need a new separate 
13479         lock (see comics).
13480         Fix memory leak in finalize.
13481         Refactor some weird code to set/unset pad flushing flags, mark
13482         with comments.
13483         Don't crash in _available, _read, _flush when we're EOS.
13484
13485         * tests/check/libs/.cvsignore:
13486         Ignore adapter check binary.
13487
13488 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13489
13490         * gst/gstindex.c: (gst_index_resolver_get_type):
13491         * plugins/elements/gstfakesink.c:
13492         (gst_fake_sink_state_error_get_type):
13493         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13494         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13495         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13496           Const-ify GEnumValue arrays.
13497
13498 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13499
13500         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13501           Add test case for flags + gst_buffer_make_metadata_writable().
13502
13503 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13504
13505         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13506           gst_buffer_make_metadata_writable() should maintain the
13507           buffer flags (those that make sense at least) (see #340859).
13508
13509 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13510
13511         * tools/gst-inspect.c:
13512         * tools/gst-launch.c:
13513         * tools/gst-typefind.c:
13514         * tools/gst-xmlinspect.c:
13515         * tools/tools.h:
13516           Fix up includes: need to include stdlib.h in tools.h for exit().
13517
13518 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13519
13520         * gst/gsttaglist.c: (_gst_tag_initialize):
13521         * gst/gsttaglist.h:
13522           API: add GST_TAG_IMAGE tag (#340721).
13523
13524 2006-05-08  Wim Taymans  <wim@fluendo.com>
13525
13526         * gst/gstquery.c:
13527         Added some docs for the segment query.
13528
13529 2006-05-08  Wim Taymans  <wim@fluendo.com>
13530
13531         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13532         (gst_base_src_loop), (gst_base_src_change_state):
13533         Always push non-flushing serialized events in the streaming 
13534         thread.
13535
13536 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13537
13538         * gst/gsterror.c: (_gst_stream_errors_init):
13539           Add a missing error string.
13540
13541 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13542
13543         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13544         Add applied_rate to the debug
13545
13546         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13547         Copy applied_rate into the outgoing NEWSEGMENT event
13548
13549 2006-05-08  Wim Taymans  <wim@fluendo.com>
13550
13551         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13552
13553         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13554         (gst_base_sink_change_state):
13555         call ::unlock before taking the PREROLL_LOCK so we can safely
13556         handle elements that lock in ::render.
13557         Fixes #340174.
13558
13559 2006-05-08  Edward Hervey  <edward@fluendo.com>
13560
13561         * autogen.sh: (CONFIGURE_DEF_OPT): 
13562         Darwin's libtoolize is in fact called glibtoolize.
13563         Adding glibtoolize to the list of accepted names for libtoolize.
13564
13565 2006-05-08  Wim Taymans  <wim@fluendo.com>
13566
13567         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13568         Unify error handling, don't post an error message
13569         when a push() returns EOS but perform our normal EOS
13570         handling code. Fixes #340772.
13571
13572 2006-05-08  Wim Taymans  <wim@fluendo.com>
13573
13574         * docs/design/part-overview.txt:
13575         Make upsteam/downstream concepts more clear.
13576         Give an example of serialized/non-serialized events.
13577
13578         * docs/design/part-events.txt:
13579         * docs/design/part-streams.txt:
13580         Mention applied_rate.
13581
13582         * docs/design/part-trickmodes.txt:
13583         Mention applied rate, flesh out some more use cases.
13584
13585         * gst/gstevent.c: (gst_event_new_new_segment),
13586         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13587         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13588         (gst_event_parse_tag), (gst_event_new_buffer_size),
13589         (gst_event_parse_buffer_size), (gst_event_new_qos),
13590         (gst_event_parse_qos), (gst_event_parse_seek),
13591         (gst_event_new_navigation):
13592         * gst/gstevent.h:
13593         Add applied_rate field to NEWSEGMENT event.
13594         API: gst_event_new_new_segment_full()
13595         API: gst_event_parse_new_segment_full()
13596
13597         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13598         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13599         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13600         * gst/gstsegment.h:
13601         Add applied_rate to GstSegment structure.
13602         Make calculation of stream_time and running_time more correct
13603         wrt rate/applied_rate.
13604         Add some more docs.
13605         API: GstSegment::applied_rate field
13606         API: gst_segment_set_newsegment_full();
13607
13608         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13609         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13610         * libs/gst/base/gstbasetransform.c:
13611         (gst_base_transform_sink_eventfunc),
13612         (gst_base_transform_handle_buffer):
13613         Parse and use applied_rate in the GstSegment field.
13614
13615         * tests/check/gst/gstevent.c: (GST_START_TEST):
13616         Add check for applied_rate field.
13617
13618         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13619         (gstsegments_suite):
13620         Add more checks for various GstSegment operations.
13621
13622 2006-05-08  Wim Taymans  <wim@fluendo.com>
13623
13624         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13625         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13626         (gst_base_sink_get_position), (gst_base_sink_change_state):
13627         Store the sync time of the buffer end position separatly in a
13628         new variable eos_rtime so we can properly sync the EOS event.
13629         Fixes #340697.
13630         Fix the docs for gst_base_sink_set_qos_enabled().
13631         Don't set segment start to invalid value when we receive a 
13632         non TIME newsegment.
13633         get closer to handling position reporting for negative rates 
13634         correctly.
13635
13636 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13637
13638         * gst/gstcaps.c:
13639         Docs about how to print caps for debug purposes.
13640
13641         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13642         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13643
13644 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13645
13646         * gst/gstelement.c:
13647           use full enum names and preprend a '%' in docs strings to make recent 
13648           gtk-doc turn that into a link
13649
13650 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13651
13652         * docs/manual/basics-bins.xml:
13653         * docs/manual/basics-bus.xml:
13654         * docs/manual/basics-pads.xml:
13655           Some typo fixes, some additions, some clarifications. 
13656
13657 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13658
13659         * tools/gst-inspect.c: (main):
13660         * tools/gst-launch.c: (main):
13661         * tools/gst-run.c: (main):
13662         * tools/gst-typefind.c: (main):
13663         * tools/gst-xmlinspect.c: (main):
13664           Use the string passed to g_option_context_new() for
13665           what it's intended for - the program name is already
13666           printed elsewhere.
13667
13668 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13669
13670         * tools/Makefile.am:
13671         * tools/gst-inspect.c: (main):
13672         * tools/gst-launch.c: (main):
13673         * tools/gst-xmlinspect.c: (main):
13674         * tools/tools.h:
13675           Add back --version command line option (#340460).
13676
13677         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13678           Add --version option and use GOption for argument parsing; refactor a
13679           bit; accept directories as arguments and recurse into them; lastly,
13680           print a decent error message when things go wrong.
13681
13682 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13683
13684         * docs/manual/basics-bins.xml:
13685         Don't mention GstThread (#340611)
13686         * docs/manual/basics-elements.xml:
13687         Update link to GObject tutorial (#340607)
13688         
13689 2006-05-05  Wim Taymans  <wim@fluendo.com>
13690
13691         * gst/gstbuffer.h:
13692         * gst/gstminiobject.c:
13693         Add note about refcounting and miniobject/buffer writeability
13694         to docs. Fixes #340604
13695
13696         * gst/gstelementfactory.h:
13697         Added some explanation about @klass.
13698
13699 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13700
13701         * docs/manual/intro-motivation.xml:
13702         * docs/manual/manual.xml:
13703         Avoid CORBA & Bonobo references (#340598)
13704
13705 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13706
13707         * docs/manual/basics-bus.xml:
13708         * docs/manual/basics-pads.xml:
13709         Fix up some inaccuracies and omissions (#340609)
13710         
13711 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13712
13713         * gst/gstghostpad.c:
13714           Small typo in docs (#340625)
13715
13716 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13717
13718         * gst/parse/Makefile.am:
13719           Make 'make -j' proof (see #340698).
13720
13721 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13722
13723         * configure.ac:
13724           Require GLib-2.8 here as well.
13725
13726 2006-05-05  Wim Taymans  <wim@fluendo.com>
13727
13728         * gst/glib-compat.c:
13729         * gst/gst.c: (init_pre):
13730         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13731         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13732         (gst_object_dispatch_properties_changed):
13733         * gst/gstobject.h:
13734         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13735         * gst/gststructure.c: (gst_structure_set_valist):
13736         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13737         Remove pre glib2.8 compatibility, fixes #340508
13738
13739 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13740
13741         * gst/gsttaglist.h:
13742           Mention type of tags in doc blurbs.
13743
13744 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13745
13746         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13747         (gst_pad_configure_src), (gst_pad_push):
13748         Restore acceptcaps checking behaviour now that good plugins have
13749         been released.
13750
13751 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13752
13753         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13754
13755         * gst/gst.c:
13756         * gst/gstbus.c:
13757         * gst/gstclock.c:
13758         * gst/gstevent.c:
13759         * gst/gstformat.c:
13760         * gst/gstmessage.c:
13761         * gst/gstparse.c:
13762         * gst/gstquery.c:
13763         * gst/gstutils.c:
13764         * gst/parse/Makefile.am:
13765         * libs/gst/base/gstadapter.c:
13766         * libs/gst/base/gstbasesrc.c:
13767         * libs/gst/base/gstpushsrc.c:
13768         * libs/gst/base/gsttypefindhelper.c:
13769         * plugins/elements/gstfakesrc.c:
13770         * plugins/elements/gstidentity.c:
13771           Make sure gstprivate.h and/or config.h are
13772           always included first, otherwise some of our
13773           defines (like _FILE_OFFSET_BITS) might be
13774           redefined in the system headers. Fixes build
13775           on opensolaris (#340016).
13776
13777 2006-05-04  Wim Taymans  <wim@fluendo.com>
13778
13779         * docs/libs/gstreamer-libs-sections.txt:
13780         API: addition: gst_adapter_take_buffer()
13781         
13782         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13783         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13784         (gst_adapter_available_fast):
13785         * libs/gst/base/gstadapter.h:
13786         Prepare for optimizing the hell out of this hugely inefficient
13787         piece of code. 
13788         Added gst_adapter_take_buffer() so we can at least start thinking
13789         about subbuffering and merging.
13790         Added some comments.
13791
13792         * tests/check/Makefile.am:
13793         * tests/check/libs/adapter.c: (GST_START_TEST),
13794         (gst_adapter_suite), (main):
13795         Added GstAdapter check.
13796
13797 2006-05-04  Wim Taymans  <wim@fluendo.com>
13798
13799         * docs/design/part-overview.txt:
13800         Fix some typos, add blurb about buffer flags.
13801
13802 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13803
13804         * docs/libs/gstreamer-libs-sections.txt:
13805           make sure GstBaseTransformClass shows up in the docs
13806         * libs/gst/base/gstbasetransform.c:
13807         * libs/gst/base/gstbasetransform.h:
13808           move docs so gtk-doc picks it up now
13809
13810 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13811
13812         * docs/libs/gstreamer-libs-sections.txt:
13813           add missing symbols to docs
13814
13815 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13816
13817         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13818           back out the newsegment handling change, see #340060 for ongoing
13819           discussion
13820
13821 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13822
13823         * tools/gst-run.c: (get_candidates), (main):
13824           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13825           work); fix typo in error message. Fixes #340079.
13826
13827 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13828
13829         * common/Makefile.am:
13830         * docs/Makefile.am:
13831         * docs/faq/Makefile.am:
13832         * docs/gst/Makefile.am:
13833         * docs/libs/Makefile.am:
13834         * docs/manual/Makefile.am:
13835         * docs/plugins/Makefile.am:
13836         * docs/pwg/Makefile.am:
13837         * docs/slides/Makefile.am:
13838         * docs/upload.mak:
13839         * common/upload.mak:
13840           move upload.mak to common
13841
13842 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13843
13844         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13845           add more asserts on refcounts
13846           do more cleanup at end of tests
13847           fix test leaks showing in FC5
13848
13849 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13850
13851         * plugins/elements/gsttypefindelement.c:
13852         (gst_type_find_element_handle_event):
13853         reverted wrong change and reflowed code to avoid others falling into
13854         this trap
13855
13856 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13857
13858         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13859           fix changelog entry about last collectpads change,
13860           add notes about proper fix
13861
13862 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13863
13864         * gst/gst.c:
13865         * gst/gstregistry.c: (gst_registry_scan_path_level),
13866         (gst_registry_scan_path):
13867         * gst/gstregistry.h:
13868           only write out registry if it has changed, fixes #338339
13869
13870 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13871
13872         * gst/gstbin.c:
13873         * gst/gstpipeline.c:
13874         * plugins/elements/gstcapsfilter.c:
13875         * plugins/elements/gstfakesink.c:
13876         * plugins/elements/gstfakesrc.c:
13877         * plugins/elements/gstfdsink.c:
13878         * plugins/elements/gstfdsrc.c:
13879         * plugins/elements/gstfilesink.c:
13880         * plugins/elements/gstfilesrc.c:
13881         * plugins/elements/gstidentity.c:
13882         * plugins/elements/gstqueue.c:
13883         * plugins/elements/gsttee.c:
13884         * plugins/elements/gsttypefindelement.c:
13885         (gst_type_find_element_handle_event):
13886           make GstElementDetails const
13887
13888 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13889
13890         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13891         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13892         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13893           more detailed debug and formatting cleanup,
13894           forward newsegments to src-pad (so that e.g. adder not eats them)
13895
13896 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13897
13898         * gst/gstutils.c: (gst_element_link_pads):
13899           cleanup double code
13900
13901 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13902
13903         * libs/gst/controller/gstcontroller.c:
13904         (gst_controller_sync_values):
13905           some little tuning
13906         * tests/check/libs/controller.c: (GST_START_TEST),
13907         (gst_controller_suite):
13908           a new test for live value handling
13909
13910 2006-04-28  Wim Taymans  <wim@fluendo.com>
13911
13912         * gst/gstutils.c: (push_and_ref):
13913         Added some more docs.
13914         Fix refcount issue whith gst_element_found_tags() helper 
13915         function. Fixes #338335
13916
13917         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13918         Added testsuite for gst_element_found_tags().
13919
13920 2006-04-28  Michael Smith  <msmith@fluendo.com>
13921
13922         * gst/gstvalue.c: (gst_value_serialize_flags):
13923           Avoid NULL dereference when trying to serialize flags containing
13924           invalid values.
13925
13926 2006-04-28  Michael Smith  <msmith@fluendo.com>
13927
13928         * plugins/elements/gsttypefindelement.c:
13929         (gst_type_find_element_handle_event):
13930           If we get EOS before any data is accumulated, don't use
13931           uninitialised local variables.
13932
13933 2006-04-28  Michael Smith  <msmith@fluendo.com>
13934
13935         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13936         (gst_dp_event_from_packet):
13937           Fixes in reading/writing events over GDP (not currently used?) - 
13938           dereferencing NULL events for unknown/invalid event types, memory
13939           leak, and change g_warning to GST_WARNING.
13940
13941 2006-04-28  Wim Taymans  <wim@fluendo.com>
13942
13943         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13944         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13945         (gst_base_sink_get_position), (gst_base_sink_change_state):
13946         When frame dropping is enabled, we should not ignore frames
13947         without a duration.
13948         Update some documentation.
13949
13950 2006-04-28  Wim Taymans  <wim@fluendo.com>
13951
13952         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13953         (gst_base_src_send_event), (gst_base_src_change_state):
13954         Documentation updates.
13955
13956 2006-04-28  Wim Taymans  <wim@fluendo.com>
13957
13958         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13959         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13960         handle EAGAIN, EINTR and short writes correctly. Also clean
13961         up some error cases, avoid a deadlock on bad file descriptors and
13962         use GST_DEBUG_OBJECT.
13963         Fixes #339843
13964
13965 2006-04-28  Wim Taymans  <wim@fluendo.com>
13966
13967         * gst/gstvalue.c: (gst_value_serialize_buffer),
13968         (gst_value_deserialize_buffer):
13969         Don't try to serialize a GValue with a NULL buffer. 
13970         Fixes #339821.
13971
13972         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13973         Added check for serialisation of NULL buffers.
13974
13975 2006-04-28  Wim Taymans  <wim@fluendo.com>
13976
13977         * gst/gstminiobject.c: (gst_value_take_mini_object):
13978         Taking a NULL miniobject is valid, fix the case where
13979         we try to unref the NULL miniobject.
13980
13981 2006-04-28  Wim Taymans  <wim@fluendo.com>
13982
13983         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13984
13985         * gst/gstbin.c: (gst_bin_handle_message_func):
13986         Update docs.
13987         Don't leak bin refcount when a state recalc is
13988         in progress and we delay another one #339808.
13989
13990 2006-04-28  Wim Taymans  <wim@fluendo.com>
13991
13992         * docs/design/part-TODO.txt:
13993         Mention QoS as an ongoing work item.
13994
13995         * docs/design/part-buffering.txt:
13996         New doc about buffering that needs to be fleshed out
13997         at some point.
13998
13999         * docs/design/part-qos.txt:
14000         More QoS policy for decoders/demuxers/transforms
14001
14002         * docs/design/part-trickmodes.txt:
14003         Small update.
14004
14005 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14006
14007         * configure.ac:
14008           back to HEAD
14009
14010 === release 0.10.5 ===
14011
14012 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
14013
14014         * configure.ac:
14015           releasing 0.10.5, "Fogo"
14016
14017 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14018
14019         patch by: Wim Taymans
14020
14021         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14022         (gst_pad_configure_src), (gst_pad_push):
14023         * gst/gstpipeline.c: (gst_pipeline_init):
14024           Fix internal data flow errors.  Fixes #338711.
14025
14026 2006-04-12  Wim Taymans  <wim@fluendo.com>
14027
14028         * tests/check/gst/gstelement.c: (GST_START_TEST):
14029         Don't leak the factory.
14030
14031 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14032
14033         * configure.ac:
14034         * win32/common/config.h:
14035           prerelease
14036
14037 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
14038
14039         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14040         (gst_controller_unset_all):
14041           Free allocated GstTimedValues when freeing list nodes.
14042           Should fix leaks 'make check-valgrind' complains about.
14043
14044         * win32/common/libgstcontroller.def:
14045           Add gst_controller_unset_all.
14046
14047 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
14048
14049         * docs/libs/gstreamer-libs-sections.txt:
14050         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14051         (gst_controller_unset_all):
14052         * libs/gst/controller/gstcontroller.h:
14053         API: Added new method gst_controller_unset_all()
14054         fixed gst_controller_unset()
14055         * tests/check/libs/controller.c: (GST_START_TEST),
14056         (gst_controller_suite):
14057         Added two testcases for new and fixed method
14058
14059 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
14060
14061         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14062           MSG_DONTWAIT is not defined on Cygwin, so work
14063           around that (fixes #317048).
14064           
14065 2006-04-11  Wim Taymans  <wim@fluendo.com>
14066
14067         * gst/gstelementfactory.c: (gst_element_register),
14068         (gst_element_factory_create), (gst_element_factory_make):
14069         Some cleanups.
14070         Fixed a FIXME.
14071         Updated docs (Fixes #131079)
14072
14073         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14074         Small cleanups.
14075
14076         * tests/check/gst/gstelement.c: (GST_START_TEST),
14077         (gst_element_suite):
14078         Added testcase for elementfactory class field.
14079
14080 2006-04-10  Wim Taymans  <wim@fluendo.com>
14081
14082         * gst/gstsegment.c:
14083         Added some more docs.
14084
14085         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14086         (gst_base_sink_reset_qos):
14087         Calculate more accurate rate values.
14088
14089 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
14090
14091         * gst/gst_private.h:
14092           add a new #ifdef to use __declspec(dllimport) only for
14093           other modules and not for gstreamer core
14094         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14095           use gst_guint64_to_gdouble for conversion
14096         * win32/common/libgstreamer.def:
14097           add new exported functions
14098         * win32/vs6/gst_inspect.dsp:
14099         * win32/vs6/gst_launch.dsp:
14100         * win32/vs6/libgstbase.dsp:
14101         * win32/vs6/libgstcontroller.dsp:
14102         * win32/vs6/libgstcoreelements.dsp:
14103         * win32/vs6/libgstdataprotocol.dsp:
14104         * win32/vs6/libgstnet.dsp:
14105           update project files
14106
14107 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14108
14109         * gst/gstbuffer.c: (gst_subbuffer_class_init):
14110         * gst/gstclock.c: (gst_clock_class_init):
14111         * gst/gstelement.c: (gst_element_class_init):
14112         * gst/gstindex.c: (gst_index_class_init):
14113         * gst/gstindexfactory.c: (gst_index_factory_class_init):
14114         * gst/gstobject.c: (gst_object_class_init),
14115         (gst_signal_object_class_init):
14116         * gst/gstpad.c: (gst_pad_class_init):
14117         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14118         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14119         * gst/gstregistry.c: (gst_registry_class_init):
14120         * gst/gstsystemclock.c: (gst_system_clock_class_init):
14121         * gst/gsttask.c: (gst_task_class_init):
14122         * gst/gstxml.c: (gst_xml_class_init):
14123         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14124         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14125         (gst_base_src_loop):
14126         * libs/gst/controller/gstcontroller.c:/
14127         (_gst_controller_class_init):
14128         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14129         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14130         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14131         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14132         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14133         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14134
14135 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
14136
14137         * gst/gstpad.c: (gst_pad_link):
14138           Must set peer pads before calling the link function, otherwise
14139           a task started from a link function might get a flow-not-linked
14140           result when trying to push because the other thread where the
14141           linking happens hasn't had a chance to set the peers yet. This
14142           might happen for example when a queue gets linked to a downstream
14143           element, as queue starts a streaming task when its source pad
14144           gets linked. Happens in real life when playing back flac/musepack
14145           files in playbin (#332390).
14146           
14147 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14148
14149         * gst/gstindex.h:
14150         * gst/gstxml.h:
14151         * libs/gst/base/gstadapter.h:
14152         * libs/gst/base/gstbasesink.h:
14153         * libs/gst/base/gstbasesrc.h:
14154         * libs/gst/base/gstbasetransform.h:
14155         * libs/gst/base/gstcollectpads.h:
14156         * libs/gst/base/gstpushsrc.h:
14157         Fix broken GObject macros
14158
14159 2006-04-07  Wim Taymans  <wim@fluendo.com>
14160
14161         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14162         Initialize start and stop times, thanks valgrind.
14163
14164 2006-04-07  Wim Taymans  <wim@fluendo.com>
14165
14166         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14167         Be a bit nicer to badly behaving upstream elements that expect
14168         us to deal with non TIME segments and timestamps (such as fakesrc
14169         in the testsuite).
14170
14171 2006-04-07  Wim Taymans  <wim@fluendo.com>
14172
14173         * gst/gstbus.c:
14174         Small documentation clarification about the signal watch.
14175
14176         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14177         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14178         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14179         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14180         (gst_base_sink_get_position_last),
14181         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14182         Convert and store timestamps in stream time and running time, the
14183         raw timestamps are not useful, also document this better.
14184         Use different window sizes for good and bad QoS observations so
14185         we react to badness a little quicker.
14186         Keep track of the amount of rendered and dropped buffers.
14187         Send QoS timestamps in running time.
14188
14189         * libs/gst/base/gstbasetransform.c:
14190         (gst_base_transform_sink_eventfunc),
14191         (gst_base_transform_handle_buffer):
14192         Compare QoS timestamps against running time.
14193
14194 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14195
14196         * gst/gstpad.c:
14197           Typo fixes in docs.
14198
14199 2006-04-06  Michael Smith  <msmith@fluendo.com>
14200
14201         * gst/gstpad.c: (gst_pad_set_property):
14202           Use g_value_get_object() instead of g_value_dup_gst_object(),
14203           to avoid double-reffing the pad template (which we then sink,
14204           so this worked previously if (and only if) the pad template
14205           was floating.
14206
14207         * gst/gstpadtemplate.c: (gst_pad_template_init),
14208         (gst_pad_template_pad_created):
14209           Never return floating references to pad templates, create
14210           them as initially-sunken.
14211
14212           Document an extra function (and make this stop sinking our
14213           pad template, since that is now guaranteed to do nothing,
14214           since we created it sunken).
14215
14216         * gst/gstghostpad.c:
14217           Fix docs typo.
14218
14219 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14220
14221         * gst/gstinfo.c: (__gst_in_valgrind):
14222           Add some newlines.
14223
14224         * plugins/elements/gsttypefindelement.c:
14225         (gst_type_find_element_chain):
14226           Don't leak buffer caps.
14227
14228 2006-04-06  Michael Smith  <msmith@fluendo.com>
14229
14230         * gst/parse/grammar.y:
14231           Fix a leak in parse-launch for any source-or-sink named element 
14232           references used.
14233
14234         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14235           Unref the pipeline if it exists after we've failed parsing.
14236
14237 2006-04-05  Michael Smith  <msmith@fluendo.com>
14238
14239         * gst/gstpipeline.c: (gst_pipeline_init):
14240           When we create a pipeline bus, initially create it in flushing mode.
14241           Fixes leaks in at least one test, and makes a new pipeline work the
14242           same as one that has gone to READY and then back to NULL.
14243
14244         * gst/gstelement.c:
14245           Typo fix in docs.
14246
14247 2006-04-05  Michael Smith  <msmith@fluendo.com>
14248
14249         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14250           Unref a pad we reffed.
14251         * tests/check/gst/gstutils.c: (GST_START_TEST):
14252           Unref bins
14253
14254 2006-04-05  Michael Smith  <msmith@fluendo.com>
14255
14256         * gst/gstquery.c: (gst_query_set_formats),
14257         (gst_query_set_formatsv):
14258           Fix leaking GValues in queries, as shown by valgrind/testsuite.
14259
14260 2006-04-05  Michael Smith  <msmith@fluendo.com>
14261
14262         * tests/check/generic/sinks.c: (GST_START_TEST):
14263           Fix a variety of memleaks in sinks check, which are only sometimes 
14264           shown by running the tests under valgrind (weird?).
14265
14266 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
14267
14268         * docs/version.entities.in:
14269           Fix the substituted entity name after thomas' changes on the
14270           weekend.
14271
14272 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14273
14274         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14275         VALGRIND_PRINTF
14276         
14277 2006-04-05  Andy Wingo  <wingo@pobox.com>
14278
14279         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14280
14281         * libs/gst/base/gstbasetransform.c
14282         (gst_base_transform_sink_eventfunc): When resetting our segment on
14283         FLUSH_STOP, also update the flag saying we haven't seen a
14284         newsegment.
14285
14286 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14287
14288         Patch by: Paolo Borelli  <pborelli at katamail dot com>
14289
14290         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14291         (gst_plugin_check_license):
14292           minor clean-ups: G_DEFINE_TYPE already takes care of the
14293           parent_class stuff, no need to do it twice. Mark array of
14294           license strings as constant. (#337103)
14295           
14296 2006-04-04  Michael Smith  <msmith@fluendo.com>
14297
14298         * tools/gst-inspect.c: (print_element_list):
14299           Free the right plugin list; fixes a memory leak.
14300
14301 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14302
14303         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14304
14305         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14306           Don't error out on empty buffers (#336945).
14307           
14308 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14309
14310         * docs/libs/gstreamer-libs-sections.txt:
14311         * gst/gsttaglist.c:
14312         * libs/gst/base/gstbasesink.c:
14313         * libs/gst/base/gstbasesink.h:
14314         * libs/gst/base/gstbasesrc.c:
14315         * libs/gst/base/gstbasesrc.h:
14316           Documentation updates. Make BaseSink and BaseSrc docs contain the
14317           class structure so that people can actually see the prototypes for
14318           virtual functions they're supposed to be overriding.
14319
14320 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14321
14322         * plugins/elements/gsttypefindelement.c:
14323         (gst_type_find_element_chain):
14324           More debug info; when skipping typefinding, send cached
14325           events in all cases.
14326
14327 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14328
14329         * configure.ac:
14330           use new AS_VERSION and AS_NANO macros
14331         * gst/gst-i18n-lib.h:
14332         * gst/gst.c:
14333         * gst/gsterror.c:
14334         * gst/gstversion.h.in:
14335         * win32/common/config.h:
14336         * win32/common/config.h.in:
14337           update accordingly
14338
14339 2006-03-31  Michael Smith  <msmith@fluendo.com>
14340
14341         * plugins/elements/gsttypefindelement.c:
14342         (gst_type_find_element_chain):
14343           Do not typefind content if the buffers already have caps.
14344           Neccesary for icydemux (#333657), and the right thing to do anyway.
14345
14346 2006-03-30  Wim Taymans  <wim@fluendo.com>
14347
14348         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14349         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14350         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14351         (gst_base_sink_record_qos_observation),
14352         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14353         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14354         (gst_base_sink_change_state):
14355         More QoS measurements as described in the design doc.
14356         Get rid of ringbuffer with observations, running average is
14357         more simple and equally good.
14358         Calculates valid proportion now.
14359         Added beginning of flood measurement.
14360
14361 2006-03-29  Wim Taymans  <wim@fluendo.com>
14362
14363         * docs/design/part-qos.txt:
14364         * gst/gstclock.c:
14365         Small documentation updates and additions.
14366
14367 2006-03-29  Wim Taymans  <wim@fluendo.com>
14368
14369         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14370         (gst_base_src_send_event), (gst_base_src_loop),
14371         (gst_base_src_change_state):
14372         Perform the EOS logic when we reach the segment stop position.
14373         Fix compilation on gcc4.1
14374
14375 2006-03-29  Wim Taymans  <wim@fluendo.com>
14376
14377         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14378
14379         * plugins/elements/gstqueue.c: (gst_queue_init),
14380         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14381         (gst_queue_set_property):
14382         * plugins/elements/gstqueue.h:
14383         In queue, when EOS is received, if minimum threshold > max_size -
14384         current_level, there is chance that queue blocks forever in conditional
14385         item del wait. This is because the queue is not emptied completely due
14386         to minimum threshold.  Here is another approach. Instead of setting
14387         cur_levels to max in EOS, just zero all minimum threshold levels. This
14388         should make sure that queue gives out all data. When going to READY
14389         (stop) state, just reset the original minimum threshold levels.
14390         Fixes #336336.
14391
14392 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14393
14394         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14395         (gst_type_find_element_handle_event),
14396         (gst_type_find_element_send_cached_events),
14397         (gst_type_find_element_change_state):
14398         * plugins/elements/gsttypefindelement.h:
14399           When typefinding is done in push mode, we should cache
14400           events we receive during typefinding instead of just
14401           dropping them (e.g. newsegment, custom events from
14402           dvdreadsrc etc.) and then send them out once we've
14403           determined the type of the stream (and decodebin
14404           has had a chance to plug in a decoder/demuxer).
14405           
14406 2006-03-27  Wim Taymans  <wim@fluendo.com>
14407
14408         * docs/design/part-qos.txt:
14409         First QoS ideas.
14410
14411 2006-03-27  Wim Taymans  <wim@fluendo.com>
14412
14413         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14414
14415         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14416         (gst_base_src_send_event), (gst_base_src_change_state):
14417         Handle element seek correctly when we are streaming.
14418         Fixes #326998.
14419
14420 2006-03-24  Michael Smith  <msmith@fluendo.com>
14421
14422         * docs/faq/gst-uninstalled:
14423           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14424           allow you to correctly run intalled applications built against old 
14425           core, using plugins that require updated core (e.g. running
14426           installed totem against a full uninstalled gstreamer stack)
14427
14428 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14429
14430         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14431         more debug details
14432
14433 2006-03-24  Wim Taymans  <wim@fluendo.com>
14434
14435         * docs/gst/gstreamer-sections.txt:
14436         Rearrange the order of the methods so that related methods
14437         are grouped together in sections.
14438
14439 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14440
14441         * gst/gstelement.c:
14442           Little clarification in the docs
14443
14444 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14445
14446         * docs/README:
14447         formatting fix
14448         * plugins/elements/gstidentity.c:
14449         * plugins/elements/gstqueue.c:
14450         * plugins/elements/gsttee.c:
14451         * plugins/elements/gsttypefindelement.c:
14452         GST_ELEMENT_DETAILS formatting
14453
14454 2006-03-24  Wim Taymans  <wim@fluendo.com>
14455
14456         * libs/gst/base/gstbasesink.h:
14457         Only add fields, not insert or we break ABI.
14458
14459 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14460
14461         * win32/common/libgstbase.def:
14462         * win32/common/libgstreamer.def:
14463           Update, add recently added functions.
14464
14465 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14466
14467         * docs/gst/gstreamer-sections.txt:
14468         * gst/gstutils.c: (gst_pad_query_peer_position),
14469         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14470         * gst/gstutils.h:
14471           API: add some new utility functions:
14472            - gst_pad_query_peer_position()
14473            - gst_pad_query_peer_duration()
14474            - gst_pad_query_peer_convert()
14475           
14476 2006-03-23  Wim Taymans  <wim@fluendo.com>
14477
14478         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14479         (gst_base_sink_init), (gst_base_sink_finalize),
14480         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14481         (gst_base_sink_set_property), (gst_base_sink_get_property),
14482         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14483         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14484         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14485         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14486         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14487         (gst_base_sink_preroll_object), (gst_base_sink_event),
14488         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14489         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14490         (gst_base_sink_query), (gst_base_sink_change_state):
14491         Decouple max-lateness and the fact that QoS messages are generated
14492         with a new property (qos).
14493         added API: GstBaseSink::async_play()
14494         Add vmethod so subclasses can be notified of ASYNC playing
14495         state changes.
14496         Collect timestamp start and stop to report better current
14497         position in EOS/PLAYING/PAUSED/READY/NULL.
14498         Refactor QoS/frame dropping and other measurements.
14499         API: GstBaseSrc::qos
14500         Fixes #326311
14501
14502         * libs/gst/base/gstbasesink.h:
14503         Added Private struct.
14504         API: gst_base_sink_set_qos_enabled()
14505         API: gst_base_sink_is_qos_enabled()
14506
14507 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14508
14509         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14510           If compiling against GLib-2.8 or newer, try to read the
14511           registry file using GMappedFile first before falling back
14512           to fopen() + fread() (#332151).
14513
14514 2006-03-22  Wim Taymans  <wim@fluendo.com>
14515
14516         * gst/gstinfo.c: (gst_debug_set_active),
14517         (gst_debug_category_set_threshold):
14518         Disable debugging unless explicitly activated.
14519         Fixes #335480.
14520
14521 2006-03-22  Wim Taymans  <wim@fluendo.com>
14522
14523         * gst/gstelement.c: (gst_element_set_locked_state),
14524         (gst_element_dispose):
14525         Cleanup the error case.
14526
14527         * gst/gstobject.c: (gst_object_dispose):
14528         print a critical when some object was disposed with
14529         a parent, also revive the object since it might
14530         crash the parent.
14531
14532 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14533
14534         * tools/gst-launch.1.in:
14535           Fix another typo.
14536
14537 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14538
14539         * configure.ac:
14540         * tests/check/Makefile.am:
14541           disable some tests when we don't have a registry
14542         * tests/check/gst/gstutils.c: (gst_utils_suite):
14543           don't build the part that needs parsing
14544
14545 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14546
14547         * gst/Makefile.am
14548         * tests/examples/Makefile.am:
14549           fix --disable-parse build
14550
14551 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14552
14553         * tools/gst-feedback.1.in:
14554           Fix typo: s/feeback/feedback/ (#133494).
14555
14556 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14557
14558         * tools/Makefile.am:
14559         * tools/gst-launch.1.in:
14560           Add FILES section and correct entry about GST_REGISTRY_PATH
14561           environment variable (#133495; #133494).
14562
14563 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14564
14565         * tools/Makefile.am:
14566         * tools/gst-md5sum.1.in:
14567         * tools/gst-md5sum.c:
14568           Remove gst-md5sum and man page (the md5sink element
14569           required was removed ages ago)
14570
14571 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14572
14573         * gst/gststructure.c: (gst_structure_id_set_value):
14574           Make sure that string fields in structures/taglists
14575           contain valid UTF-8 - we don't want to pass rubbish to
14576           applications because of a buggy plugin (cp. #334167).
14577
14578 2006-03-21  Edward Hervey  <edward@fluendo.com>
14579
14580         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14581         (gst_bin_handle_message_func):
14582         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14583         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14584         (gst_element_set_bus_func):
14585         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14586         * gst/gstminiobject.c: (gst_value_set_mini_object),
14587         (gst_value_take_mini_object):
14588         * gst/gstpad.c: (gst_pad_set_pad_template):
14589         * gst/gstpipeline.c: (gst_pipeline_dispose),
14590         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14591         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14592         (gst_collect_pads_chain):
14593         * libs/gst/net/gstnettimeprovider.c:
14594         (gst_net_time_provider_set_property):
14595         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14596         It's in fact all issues with gst_*object_replace().
14597
14598 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14599
14600         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14601         
14602         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14603         * pkgconfig/gstreamer-check.pc.in:
14604           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14605
14606 2006-03-21  Edward Hervey  <edward@fluendo.com>
14607
14608         * gst/gstbuffer.h:
14609         * gst/gstevent.h:
14610         * gst/gstmessage.h:
14611         gst_[buffer|event|message]_ref() macros are replaced by a static
14612         inline functions because gcc-4.1 will about if the return value
14613         isn't used.
14614         * tests/check/gst/gstevent.c: (event_probe):
14615         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14616
14617 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14618
14619         * gst/gstutils.h:
14620         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14621         the type' case. (Closes: #335195 for now). In the future, when we
14622         depend on GLib 2.10, we could also intern the type name using
14623         g_intern_static_string()
14624
14625 2006-03-20  Wim Taymans  <wim@fluendo.com>
14626
14627         * gst/gstbin.c: (gst_bin_handle_message_func),
14628         (bin_query_max_init), (bin_query_position_fold),
14629         (bin_query_position_done), (gst_bin_query):
14630         Position query should also take max of all streams.
14631
14632 2006-03-20  Wim Taymans  <wim@fluendo.com>
14633
14634         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14635         (gst_fake_src_finalize):
14636         Fix leaks in fakesrc.
14637
14638         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14639         Fix leaks in the testcase.
14640
14641 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14642
14643         * gst/gst_private.h:
14644           add win32 specific import decoration(__declspec(dllimport)) 
14645           for all extern GstDebugCategory * variables
14646         * win32/common/libgstbase.def:
14647         * win32/common/libgstcontroller.def:
14648         * win32/common/libgstreamer.def:
14649           Add some exports, remove empty lines
14650         * win32/common/libgstdataprotocol.def:
14651         * win32/common/libgstdataprotocol.dsp:
14652         * win32/common/libgstnet.def:
14653         * win32/common/libgstnet.dsp:
14654           new project files and exportation files added
14655         
14656 2006-03-19  Wim Taymans  <wim@fluendo.com>
14657
14658         * tests/check/libs/basesrc.c: (eos_event_counter):
14659         Use proper return value for probe.
14660
14661 2006-03-17  Wim Taymans  <wim@fluendo.com>
14662
14663         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14664         (gst_pad_push):
14665         Don't leak buffers, caps and pads on negotiation errors.
14666
14667 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14668
14669         * docs/faq/cvs.xml:
14670         * docs/faq/dependencies.xml:
14671         * docs/faq/developing.xml:
14672         * docs/faq/faq.xml:
14673         * docs/faq/general.xml:
14674         * docs/faq/getting.xml:
14675         * docs/faq/legal.xml:
14676         * docs/faq/troubleshooting.xml:
14677         * docs/faq/using.xml:
14678         Faq review and update.
14679
14680 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14681
14682         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14683         (gst_pad_push):
14684         Don't pound the cpu to pieces by checking get_caps when accept_caps
14685         is called with the same caps as the pad already has.
14686         Use GST_DEBUG_OBJECT when outputting caps change information.
14687
14688 2006-03-15  Wim Taymans  <wim@fluendo.com>
14689
14690         * gst/gstclock.c: (gst_clock_class_init):
14691         Fix docs.
14692
14693 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14694
14695         * gst/gstbuffer.h:
14696         Documentation fix.
14697
14698         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14699         (gst_pad_accept_caps), (gst_pad_configure_sink),
14700         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14701         Make the default acceptcaps behaviour be to check the requested 
14702         caps against the gst_pad_get_caps output. 
14703
14704         Ensure that gst_pad_accept_caps is used to check caps when a pad
14705         doesn't have a setcaps function, so that pads automatically refuse 
14706         caps that they don't allow in their pad template. (Fixes #332986)
14707
14708         When a buffer with attached caps is pushed, ensure that the source 
14709         pad receives those caps even if the element didn't call
14710         gst_pad_set_caps first.
14711
14712 2006-03-15  Wim Taymans  <wim@fluendo.com>
14713
14714         * libs/gst/base/gstadapter.c:
14715         Add some docs.
14716
14717 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14718
14719         * win32/common/libgstbase.def:
14720         * win32/common/libgstcontroller.def:
14721         * win32/common/libgstreamer.def:
14722           Add a whole bunch of missing functions (#334434).
14723
14724 2006-03-14  Wim Taymans  <wim@fluendo.com>
14725
14726         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14727         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14728         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14729         Better debug info when we receive a segment event.
14730         Reorganize a bit so we can pass the get_times() results around.
14731         Use the segment format when calculating the running time.
14732         Don't do QoS is sync is disabled or we have no clock or the
14733         element does not want us to sync to the clock.
14734         Don't drop buffers if QoS is disabled for now.
14735
14736 2006-03-14  Wim Taymans  <wim@fluendo.com>
14737
14738         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14739         Marked the stats property as unimplemented so people don't get
14740         wild ideas.
14741         Add debug message when regression goes wrong.
14742         Added some more docs.
14743
14744 2006-03-14  Wim Taymans  <wim@fluendo.com>
14745
14746         * gst/gstsegment.c: (gst_segment_to_stream_time):
14747         Return correct return type in case of errors.
14748
14749 2006-03-14  Wim Taymans  <wim@fluendo.com>
14750
14751         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14752           Don't segfault on invalid formats.
14753
14754 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14755
14756         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14757           Can't use gst_segment_to_running_time() when the segment
14758           is not in GST_TIME_FORMAT (like with filesink, for example).
14759           Stops flac encoding pipelines from spewing critical warnings
14760           at EOS (#331248).
14761           
14762 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14763
14764         * gst/gstpipeline.c: (gst_pipeline_class_init):
14765           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14766
14767         * plugins/elements/gsttypefindelement.c:
14768         (gst_type_find_element_handle_event):
14769           Don't try to typefind empty streams.
14770
14771 2006-03-14  Wim Taymans  <wim@fluendo.com>
14772
14773         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14774         (gst_base_sink_do_qos):
14775         Separate QoS calculation.
14776         Only drop buffers when lateness is bigger than the 
14777         duration of the buffer.
14778
14779 2006-03-13  Wim Taymans  <wim@fluendo.com>
14780
14781         * gst/gstpipeline.c: (gst_pipeline_set_property),
14782         (gst_pipeline_get_property), (do_pipeline_seek),
14783         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14784         (gst_pipeline_get_delay):
14785         Don't deadlock when reading properties.
14786
14787 2006-03-13  Wim Taymans  <wim@fluendo.com>
14788
14789         * libs/gst/base/gstbasetransform.c:
14790         (gst_base_transform_class_init), (gst_base_transform_init),
14791         (gst_base_transform_sink_event),
14792         (gst_base_transform_sink_eventfunc),
14793         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14794         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14795         (gst_base_transform_set_property),
14796         (gst_base_transform_get_property),
14797         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14798         (gst_base_transform_set_qos_enabled),
14799         (gst_base_transform_is_qos_enabled):
14800         * libs/gst/base/gstbasetransform.h:
14801         Make basetransform virtual method for src events too.
14802         Handle QOS in basetransform.
14803         API: gst_base_transform_update_qos()
14804         API: gst_base_transform_set_qos_enabled()
14805         API: gst_base_transform_is_qos_enabled()
14806
14807 2006-03-13  Wim Taymans  <wim@fluendo.com>
14808
14809         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14810         (gst_base_sink_do_sync):
14811         Small cleanups.
14812         Use QOS debug category.
14813
14814 2006-03-13  Wim Taymans  <wim@fluendo.com>
14815
14816         * plugins/elements/gstqueue.c:
14817         Very small doc update.
14818
14819 2006-03-13  Wim Taymans  <wim@fluendo.com>
14820
14821         * gst/gst_private.h:
14822         * gst/gstinfo.c: (_gst_debug_init):
14823         Added QOS debug category
14824
14825 2006-03-13  Wim Taymans  <wim@fluendo.com>
14826
14827         * docs/gst/gstreamer-sections.txt:
14828         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14829         * gst/gstbin.h:
14830         * gst/gstbus.c: (gst_bus_class_init):
14831         * gst/gstbus.h:
14832         * gst/gstclock.c:
14833         * gst/gstelement.c: (gst_element_set_locked_state):
14834         * gst/gstsegment.c:
14835         Documentation updates.
14836
14837         * gst/gstpipeline.c: (gst_pipeline_get_type),
14838         (gst_pipeline_class_init), (gst_pipeline_init),
14839         (gst_pipeline_dispose), (gst_pipeline_set_property),
14840         (gst_pipeline_get_property), (do_pipeline_seek),
14841         (gst_pipeline_send_event), (gst_pipeline_change_state),
14842         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14843         (gst_pipeline_get_delay):
14844         * gst/gstpipeline.h:
14845         Added methods for setting the delay.
14846         API: gst_pipeline_set_delay()
14847         API: gst_pipeline_get_delay()
14848         Add pipeline debug category
14849         Various cleanups.
14850         Updated docs.
14851         Don't reset stream time when seek failed.
14852
14853 2006-03-13  Wim Taymans  <wim@fluendo.com>
14854
14855         * docs/design/draft-klass.txt:
14856         * docs/design/part-clocks.txt:
14857         * docs/design/part-events.txt:
14858         * docs/design/part-gstbin.txt:
14859         * docs/design/part-gstpipeline.txt:
14860         * docs/design/part-messages.txt:
14861         * docs/design/part-negotiation.txt:
14862         * docs/design/part-overview.txt:
14863         * docs/design/part-preroll.txt:
14864         * docs/design/part-seeking.txt:
14865         * docs/design/part-states.txt:
14866         * docs/design/part-streams.txt:
14867         Documentation updates.
14868
14869 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14870
14871         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14872         us to leak strings...
14873
14874 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14875
14876         * libs/gst/net/gstnettimeprovider.c:
14877           fix docs
14878         * win32/common/config.h:
14879           update
14880
14881 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14882
14883         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14884
14885         * configure.ac:
14886           Don't check for libgnomeui (leftover from old examples
14887           that aren't built or disted any longer) (#334303).
14888           
14889 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14890
14891         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14892         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14893           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14894           there's no space left on the device.
14895
14896 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14897
14898         * gst/gstclock.h:
14899           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14900           to cast the input to GstClockTime before comparing with
14901           another GstClockTime value.
14902
14903 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14904
14905         * configure.ac:
14906           back to trunk
14907
14908 === release 0.10.4 ===
14909
14910 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14911
14912         * configure.ac:
14913           releasing 0.10.4, "Light"
14914
14915 2006-03-10  Michael Smith  <msmith@fluendo.com>
14916
14917         * libs/gst/dataprotocol/dataprotocol.c:
14918           Fix docs for dataprocotol to not get the return types completely
14919           wrong for a few functions.
14920
14921 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14922
14923         * docs/gst/gstreamer-sections.txt:
14924         * gst/gstpipeline.c: (gst_pipeline_class_init),
14925         (gst_pipeline_init), (gst_pipeline_set_property),
14926         (gst_pipeline_get_property), (gst_pipeline_change_state),
14927         (gst_pipeline_set_auto_flush_bus),
14928         (gst_pipeline_get_auto_flush_bus):
14929         * gst/gstpipeline.h:
14930           Add new API: gst_pipeline_set_auto_flush_bus() and
14931           gst_pipeline_get_auto_flush_bus() to disable automatic
14932           flushing of the pipeline's GstBus when going from READY
14933           to NULL state (#332045).
14934
14935 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14936
14937         * docs/gst/gstreamer-sections.txt:
14938         * gst/gsturi.c: (gst_uri_has_protocol):
14939         * gst/gsturi.h:
14940            Add new API: gst_uri_has_protocol() (#333779).
14941
14942 2006-03-09  Wim Taymans  <wim@fluendo.com>
14943
14944         * gst/gstclock.c: (gst_clock_entry_new),
14945         (gst_clock_id_compare_func), (gst_clock_id_wait),
14946         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14947         (gst_clock_init), (gst_clock_get_internal_time),
14948         (gst_clock_set_master), (do_linear_regression),
14949         (gst_clock_add_observation), (gst_clock_set_property):
14950         * gst/gstclock.h:
14951         Review docs.
14952         Small cleanups.
14953         Fix a possible segfault when the window-size is made smaller.
14954         Calculate jitter before performing the clock wait. Ideally
14955         the clock implementation should calculate jitter but we need
14956         API breakage for that.
14957
14958         * gst/gstsystemclock.c: (gst_system_clock_init):
14959         Docs review.
14960         
14961         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14962         Remove leftover else
14963
14964         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14965         (gst_systemclock_suite):
14966         Added check to test GST_CLOCK_DIFF.
14967
14968 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14969
14970         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14971         (gst_type_find_helper_get_range):
14972           If we are provided with the size, we should implement
14973           GstTypeFind::get_length, so that typefind functions who
14974           want to can actually peek at the middle of a file.
14975
14976 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14977
14978         * docs/manual/advanced-dataaccess.xml:
14979           Add some very very basic error checking.
14980
14981         * docs/pwg/appendix-checklist.xml:
14982           Some updates to the list of things to check when writing an element.
14983
14984 2006-03-08  Wim Taymans  <wim@fluendo.com>
14985
14986         * docs/design/part-element-transform.txt:
14987         Added some docs about the design of tranform elements.
14988
14989         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14990         (gst_base_src_loop), (gst_base_src_change_state):
14991         Mark buffers with the DISCONT flag.
14992
14993 2006-03-08  Michael Smith  <msmith@fluendo.com>
14994
14995         * gst/gstregistry.h:
14996         * gst/gstregistryxml.c: (gst_registry_save),
14997         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14998         (gst_registry_xml_save_pad_template),
14999         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15000         (gst_registry_xml_write_cache):
15001           Rewrite registry-saving to avoid race conditions and check for
15002           failed writes.
15003
15004 2006-03-08  Wim Taymans  <wim@fluendo.com>
15005
15006         * libs/gst/base/gstbasetransform.c:
15007         (gst_base_transform_transform_caps),
15008         (gst_base_transform_transform_size),
15009         (gst_base_transform_prepare_output_buffer),
15010         (gst_base_transform_get_unit_size),
15011         (gst_base_transform_buffer_alloc),
15012         (gst_base_transform_handle_buffer),
15013         (gst_base_transform_change_state):
15014         Cleanups, separate normal flow from errors, add sensible
15015         DEBUG lines.
15016         Don't try to renegotiate when allocating an output buffer.
15017         Also copy DISCONT buffer flag when copying a buffer.
15018         Reset the transform after we finish streaming, not during.
15019
15020 2006-03-08  Wim Taymans  <wim@fluendo.com>
15021
15022         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15023         Use last buffer timestamp in qos message.
15024
15025 2006-03-07  Wim Taymans  <wim@fluendo.com>
15026
15027         Patch by: Christophe Fergeau
15028
15029         * docs/pwg/advanced-tagging.xml:
15030         * docs/pwg/building-pads.xml:
15031           fixes #333416
15032
15033 2006-03-07  Wim Taymans  <wim@fluendo.com>
15034
15035         * docs/libs/gstreamer-libs-sections.txt:
15036         Added basesink new methods.
15037
15038         * gst/gstevent.c:
15039         * gst/gstevent.h:
15040         Docs updates. Flesh out the QoS docs.
15041
15042         * libs/gst/base/gstadapter.c:
15043         Small doc clarification about ownership and flushing.
15044
15045         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15046         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15047         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15048         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15049         * libs/gst/base/gstbasesink.h:
15050         API additions: 
15051         Added new methods to allow subclass to control max-lateness 
15052         and sync.
15053         Generate very basic QoS events based on last sync observation.
15054         Updated docs, fix typo, added some QoS blurb.
15055
15056         * libs/gst/base/gstbasesrc.c:
15057         Remove obsolete _get_state() calls from docs.
15058
15059 2006-03-07  Wim Taymans  <wim@fluendo.com>
15060
15061         * docs/libs/gstreamer-libs-sections.txt:
15062         * libs/gst/base/gstbasetransform.h:
15063         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15064         Fix docs for GstBaseSrc.
15065
15066 2006-03-07  Wim Taymans  <wim@fluendo.com>
15067
15068         * docs/gst/gstreamer-sections.txt:
15069         * gst/gstbuffer.h:
15070         * gst/gstvalue.c:
15071         * libs/gst/base/gstbasetransform.h:
15072         Small documentation fixes.
15073
15074 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15075
15076         * gst/gstvalue.c:
15077           Document thread-unsafety of gst_value_register_foo_func()
15078           when used at the same time as gst_value_foo() (#322628).
15079
15080 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15081
15082         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15083         (gst_push_src_check_get_range):
15084           Push sources don't support pull mode by default.
15085
15086 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15087
15088         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15089         (gst_base_src_init), (gst_base_src_pad_check_get_range),
15090         (gst_base_src_default_check_get_range):
15091         * libs/gst/base/gstbasesrc.h:
15092           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15093           provide default implementation, and rename
15094           gst_base_src_check_get_range() to
15095           gst_base_src_pad_check_get_range() for clarity.
15096
15097 2006-03-06  Wim Taymans  <wim@fluendo.com>
15098
15099         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15100         Make property overridable.
15101
15102 2006-03-06  Wim Taymans  <wim@fluendo.com>
15103
15104         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15105         (gst_base_sink_init), (gst_base_sink_set_property),
15106         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15107         * libs/gst/base/gstbasesink.h:
15108         API addition: Make max-lateness a property.
15109
15110 2006-03-06  Wim Taymans  <wim@fluendo.com>
15111
15112         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15113         (gst_base_sink_do_sync), (gst_base_sink_render_object):
15114         Don't ever draw a frame that is >10ms late.
15115
15116 2006-03-06  Michael Smith  <msmith@fluendo.com>
15117
15118         * gst/gstmessage.c: (_gst_message_copy):
15119           When copying a message, set the parent_refcount of the enclosed
15120           structure to point at the copy, not the original message.
15121
15122 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15123
15124         Patch by: Christophe Fergeau
15125
15126         * gst/gstutils.h:
15127           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15128           usable in c++ code (#333417)
15129
15130 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15131
15132         * gst/gstclock.h:
15133           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15134
15135 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
15136
15137         * libs/gst/base/gstbasetransform.c:
15138         (gst_base_transform_transform_caps):
15139           Make sure caps are writable before passing them to
15140           gst_caps_append().
15141
15142 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15143
15144         * gst/gsterror.h:
15145           Fix some minor docs errors.
15146
15147 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15148
15149           Patch by: Ross Burton <ross at burtonini dot com>
15150
15151         * gst/gsterror.c: (_gst_resource_errors_init):
15152         * gst/gsterror.h:
15153           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15154
15155 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15156
15157         * gst/gst.c:
15158         Add a check and output a g_warning when GStreamer is built
15159         against GLib 2.6 but running against 2.8 or higher, and vice 
15160         versa. (Closes: #323542)
15161
15162 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15163
15164         * gst/parse/parse.l:
15165           Commit patch for parse_launch syntax from #331255. Removes 
15166           support for quoted strings and mimetypes when writing filtered 
15167           caps. See the bug report for more details - I'm pretty sure this
15168           obscure feature is not in use by _anyone_ anywhere.
15169
15170           With this simple change, the size of the gstreamer.so here 
15171           drops from 2193KB to 1565KB.
15172
15173 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15174
15175         * plugins/elements/gsttypefindelement.h:
15176         * plugins/elements/gsttypefindelement.c:
15177         (gst_type_find_element_src_event), (start_typefinding),
15178         (stop_typefinding), (gst_type_find_element_handle_event),
15179         (gst_type_find_element_chain),
15180         (gst_type_find_element_chain_do_typefinding):
15181           Use gst_type_find_helper_for_buffer() for chain-based
15182           typefinding.
15183
15184 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15185
15186         * plugins/elements/gsttypefindelement.c:
15187         (gst_type_find_element_class_init),
15188         (gst_type_find_element_set_property),
15189         (gst_type_find_element_get_property):
15190           Deprecate "maximum" property (not only was it only taken into
15191           account for typefinding in push-mode anyway, it also was never
15192           actually possible to set it in the first place because the
15193           property was registered with the numeric property ID for the
15194           "minimum" property). Register "maximum" property correctly,
15195           for the sake of future copy'n'pasters. Remove some cruft
15196           from property get/set functions.
15197
15198 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15199
15200         * plugins/elements/gsttypefindelement.c:
15201         (gst_type_find_element_activate):
15202           Use gst_type_find_helper_get_range() here, so we
15203           can honour the "minimum" property and also emit
15204           the signal with the correct probability of the found caps.
15205
15206 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
15207
15208         * docs/libs/gstreamer-libs-sections.txt:
15209         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15210         (helper_find_suggest), (gst_type_find_helper_get_range),
15211         (gst_type_find_helper):
15212         * libs/gst/base/gsttypefindhelper.h:
15213           New API: gst_type_find_helper_get_range() (#333042).
15214
15215 2006-03-02  Michael Smith  <msmith@fluendo.com>
15216
15217         * gst/gstregistryxml.c: (load_feature):
15218           Asserting on a failure to read part of the registry is Not Cool.
15219           Just log a warning and return NULL (which is already handled)
15220
15221 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
15222
15223         * win32/common/libgstbase.def:
15224           added export of gst_type_find_helper_for_buffer
15225         * win32/common/libgstbase.def:
15226           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15227           gst_ghost_pad_get_target
15228
15229 2006-02-28  Wim Taymans  <wim@fluendo.com>
15230
15231         * docs/design/draft-klass.txt:
15232         We use Filter now.
15233         Added Connector to mark elements that are only used to
15234         allow pipeline connections.
15235         Moved Debug to extra feature since most of them are 
15236         functionally something else.
15237
15238 2006-02-28  Wim Taymans  <wim@fluendo.com>
15239
15240         * docs/design/draft-klass.txt:
15241         Some updates and clarifications.
15242
15243 2006-02-28  Wim Taymans  <wim@fluendo.com>
15244
15245         * docs/design/draft-klass.txt:
15246         Proposal for klass field values.
15247
15248         * docs/design/part-streams.txt:
15249         Start of a doc describing stream anatomy.
15250
15251 2006-02-28  Wim Taymans  <wim@fluendo.com>
15252
15253         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15254         Help the compiler a bit with type registration.
15255         Use existing forward cod path instead of duplicating it when 
15256         handling a message.
15257         
15258         * gst/gstbus.c: (gst_bus_get_type):
15259         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15260         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15261         * gst/gstclock.c: (gst_clock_get_type):
15262         * gst/gstelement.c: (gst_element_get_type),
15263         * gst/gstelementfactory.c: (gst_element_factory_get_type):
15264         * gst/gstindexfactory.c: (gst_index_factory_get_type):
15265         * gst/gstminiobject.c: (gst_mini_object_get_type):
15266         * gst/gstpad.c: (gst_pad_get_type):
15267         * gst/gstsegment.c: (gst_segment_get_type):
15268         * gst/gststructure.c: (gst_structure_get_type):
15269         * gst/gstsystemclock.c: (gst_system_clock_get_type):
15270         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15271         * gst/gstvalue.c:
15272         Help compiler with type registration.
15273
15274         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15275         Small doc update.
15276
15277 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15278
15279         * plugins/elements/gsttypefindelement.c:
15280         (gst_type_find_element_handle_event):
15281           When we get an EOS event and have not found a type yet
15282           (most likely because we had not yet accumulated
15283           TYPE_FIND_MIN_SIZE of data yet), try to determine the
15284           type given the data we have so far. Fixes typefinding
15285           for very short streams again, most notably quicktime
15286           redirections as used on Apple's trailer site (#331701).
15287
15288 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15289
15290         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15291         (gst_type_find_helper):
15292           Try typefinding factories with the highest rank first.
15293
15294 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15295
15296         * docs/libs/gstreamer-libs-docs.sgml:
15297         * docs/libs/gstreamer-libs-sections.txt:
15298         * libs/gst/base/gsttypefindhelper.c:
15299           Add section for typefind helper and add documentation
15300           for the old and the new function.
15301
15302 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15303
15304         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15305         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15306         (gst_type_find_helper_for_buffer):
15307         * libs/gst/base/gsttypefindhelper.h:
15308           New API: gst_type_find_helper_for_buffer() (#332723).
15309           
15310 2006-02-27  Michael Smith  <msmith@fluendo.com>
15311
15312         Patch by: Loïc Minier
15313
15314         * configure.ac:
15315         * docs/Makefile.am:
15316         * docs/slides/Makefile.am:
15317           prevent CVS directories getting disted.
15318
15319 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15320
15321         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15322           Use the REFCOUNTING category for caps refcounting.
15323           
15324 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15325
15326         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15327           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15328
15329 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15330
15331         * plugins/elements/gsttypefindelement.c:
15332         (gst_type_find_element_activate):
15333           Use gst_pad_check_pull_range() before _activate_pull()
15334           to avoid unnecessary open/close (see #331690).
15335
15336 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15337
15338         * gst/gstutils.c:
15339           Docs enhancement: make it crystal clear what the
15340           gst_pad_add_*_probe() callbacks should look like.
15341
15342 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15343
15344         * libs/gst/base/gstbasesrc.c:
15345           Document how applications can stop recording from
15346           live sources (see #330996).
15347
15348 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15349
15350         * tests/check/Makefile.am:
15351         * tests/check/libs/basesrc.c: (eos_event_counter),
15352         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15353         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15354         (gst_basesrc_suite), (main):
15355           ... and add some tests for the base source EOS stuff.
15356
15357 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15358
15359         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15360           Test case originally showed the problem fixed below,
15361           but was then amended. Add checks back at the place
15362           where they used to be.
15363
15364 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15365
15366         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15367         (gst_base_src_init), (gst_base_src_loop),
15368         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15369         (gst_base_src_change_state):
15370         * libs/gst/base/gstbasesrc.h:
15371           Don't unconditionally send EOS when going from PAUSED to
15372           READY state, esp. make sure we don't send two EOS events
15373           in some cases (e.g. one when reaching EOS and one when
15374           going from PAUSED to READY). Also, we don't want to send
15375           EOS events when operating in pull mode. However, we do
15376           want to send an EOS event when shutting down a live
15377           source explicitly, for example (fixes #330996).
15378           
15379 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15380
15381         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15382           Update src->read_position after a seek when not using mmap.
15383           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15384
15385 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15386
15387         * gst/Makefile.am:
15388         * gst/gstparse.h:
15389         * gst/gstutils.c:
15390         * gst/gstutils.h:
15391         Make things work with --disable-parse as they do with 
15392         --disable-load-save - the symbols involved disappear, but the
15393         header is still installed and GST_DISABLE_PARSE is included via
15394         gstconfig.h
15395
15396 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15397
15398         * libs/gst/base/gstbasetransform.c:
15399         (gst_base_transform_change_state): Fix a stupid bug. I was 
15400         sure I compiled that.
15401
15402 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15403
15404         * gst/gstpad.c: (gst_pad_set_blocked_async):
15405         * gst/gstutils.c: (gst_pad_add_data_probe),
15406         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15407         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15408         (gst_pad_remove_buffer_probe): Make those function act on the
15409         ghostpad target when it's a ghostpad. (Closes #331727)
15410
15411 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15412
15413         * libs/gst/base/gstbasetransform.c:
15414         (gst_base_transform_change_state): Make basetransform reusable.
15415         (Closes #331898)
15416
15417 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15418
15419         * docs/random/release:
15420         Move the current documentation of how to do a release to the top
15421         of the file.
15422
15423         * gst/gstbin.c: (gst_bin_class_init),
15424         (gst_bin_handle_message_func):
15425         Allow multiple state-recalculation threads. (Closes #328873)
15426
15427 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15428
15429         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15430         * gst/gstpad.c: (gst_pad_set_event_function),
15431         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15432         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15433         2 strings. You can't use the STR_NULL macro on that.
15434
15435 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15436
15437         * gst/gstpad.c: (gst_pad_set_event_function),
15438         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15439         (gst_pad_set_getcaps_function)
15440         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15441           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15442           So now, we can use --gst-debug-level=5 on Windows
15443         * win32/common/libgstcontroller.def:
15444           Added export of gst_controller_init
15445         * win32/vs6/libgstcontroller.dsp:
15446           Fixed Release post build configuration
15447
15448 2006-02-17  Wim Taymans  <wim@fluendo.com>
15449
15450         * tests/check/gst/gstquery.c: (GST_START_TEST):
15451         Added another check.
15452
15453 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15454
15455         * plugins/elements/gsttypefindelement.c: (find_peek):
15456           We can do peeks at non-zero offsets, as long as they
15457           fall within the buffer we have.
15458
15459 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15460
15461         * tests/check/Makefile.am:
15462         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15463         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15464         (parse_suite), (main):
15465           Add testsuite for parse launch syntax
15466
15467 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15468
15469         * plugins/elements/gsttypefindelement.c:
15470         (gst_type_find_element_chain):
15471           When typefinding is unsuccessful in the chain function, don't
15472           error out immediately. Only error out with NO_CAPS_FOUND if
15473           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15474           otherwise simply wait for more data so we can try typefinding
15475           again with more data later. Also, don't attempt to typefind
15476           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15477           this should improve typefinding from network sources where the
15478           size of the first buffer can be somewhat random.
15479
15480 2006-02-14  Wim Taymans  <wim@fluendo.com>
15481
15482         * docs/gst/gstreamer-sections.txt:
15483         * gst/gstpadtemplate.c:
15484         * gst/gstpadtemplate.h:
15485         Fix padtemplate docs, fixes #328805.
15486
15487 2006-02-14  Wim Taymans  <wim@fluendo.com>
15488
15489         * tools/gst-launch.c: (main):
15490         NO_PREROLL is not an ERROR so don't send confusing messages
15491         to the user.
15492
15493 2006-02-14  Wim Taymans  <wim@fluendo.com>
15494
15495         Patch by: Torsten Schoenfeld
15496
15497         * gst/gstregistry.c: (gst_registry_get_default),
15498         (_gst_registry_cleanup):
15499         Protect default registry with lock and ref/sink it.
15500         Fixes #324818
15501
15502 2006-02-14  Wim Taymans  <wim@fluendo.com>
15503
15504         * gst/gstbuffer.c:
15505         * gst/gstquery.c: (gst_query_list_add_format),
15506         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15507         (gst_query_parse_formats_nth):
15508         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15509         Docs fixes.
15510
15511 2006-02-14  Wim Taymans  <wim@fluendo.com>
15512
15513         * docs/gst/gstreamer-sections.txt:
15514         Reworked query docs.
15515
15516         * gst/gstquery.c: (gst_query_new_formats),
15517         (gst_query_list_add_format), (gst_query_set_formats),
15518         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15519         (gst_query_parse_formats_nth):
15520         * gst/gstquery.h:
15521         Flesh out formats query, added some new methods.
15522         Fix part of #324398.
15523
15524         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15525         Added query creation tests.
15526
15527 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15528
15529         * gst/gstpad.c: (fixate_value):
15530         Add a default fixation for fraction lists.
15531
15532 2006-02-13  Wim Taymans  <wim@fluendo.com>
15533
15534         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15535         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15536         (gst_task_join):
15537         * gst/gsttask.h:
15538         Detect and warn for obvious deadlocks. fixes #320340
15539         Fix error case where lock was not released.
15540
15541         * tests/check/Makefile.am:
15542         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15543         (task_func), (gst_element_suite), (main):
15544         Add task check.
15545
15546 2006-02-13  Wim Taymans  <wim@fluendo.com>
15547
15548         * docs/gst/gstreamer-sections.txt:
15549         * gst/gstbus.c:
15550         Add new functions to docs.
15551
15552 2006-02-13  Wim Taymans  <wim@fluendo.com>
15553
15554         * docs/design/part-TODO.txt:
15555         Updated TODO list, basesrc supports seeking to non-bytes
15556         formats.
15557
15558         * docs/design/part-element-sink.txt:
15559         Update docs.
15560
15561         * gst/gstbin.c: (bin_replace_message),
15562         (gst_bin_handle_message_func):
15563         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15564         * gst/gstevent.c: (gst_event_finalize):
15565         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15566         (gst_pad_send_event):
15567         Use shiny new _TYPE_NAME macros.
15568
15569         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15570         Move debug statement up.
15571
15572         * gst/gstelement.c: (gst_element_set_locked_state):
15573         Add some debugging.
15574
15575 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15576
15577         * docs/gst/gstreamer-sections.txt:
15578         * gst/gstmessage.h:
15579         * gst/gstquery.h:
15580           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15581           macros (#330906). Also, document the already existing
15582           GST_QUERY_TYPE macro.
15583
15584 2006-02-13  Wim Taymans  <wim@fluendo.com>
15585
15586         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15587         (event_probe), (GST_START_TEST):
15588         Only events up to the pipeline EOS are counted, there are
15589         some more when going to NULL currently which we don't care
15590         about for now.
15591
15592 2006-02-13  Wim Taymans  <wim@fluendo.com>
15593
15594         * gst/gstpad.c: (gst_pad_send_event):
15595         Correctly check flushing and emit probes. fixes #330125
15596
15597 2006-02-10  Andy Wingo  <wingo@pobox.com>
15598
15599         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15600         structure.
15601         (gst_bus_init): Cache the location of the private data in the
15602         instance structure.
15603         (gst_bus_enable_sync_message_emission) 
15604         (gst_bus_disable_sync_message_emission): Implement new public
15605         functions.
15606         (gst_bus_post): Emit the sync-message signal if the user asked for
15607         it. Fixes #330684.
15608
15609         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15610         location of the bus-private structure.
15611         (gst_bus_enable_sync_message_emission)
15612         (gst_bus_disable_sync_message_emission): API addition
15613
15614 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15615
15616         Patch by: Vincent Torri
15617
15618         * docs/pwg/building-boiler.xml:
15619         PWG patch from #326800
15620
15621 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15622
15623         * configure.ac:
15624         * docs/Makefile.am:
15625         * docs/design/Makefile.am:
15626           Dist design docs.
15627
15628 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15629
15630         * configure.ac:
15631           back to CVS
15632
15633 === release 0.10.3 ===
15634
15635 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15636
15637         * configure.ac:
15638           releasing 0.10.3, "Like a virgin"
15639
15640 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15641
15642         * configure.ac:
15643           2nd prerelease of 0.10.3
15644           Bump libtool versioning.
15645
15646 2006-02-07  Andy Wingo  <wingo@pobox.com>
15647
15648         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15649         update last_stop if we're in TIME format and the timestamp is
15650         valid.
15651
15652         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15653         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15654         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15655         If we get a new newsegment with a different format, adapt
15656         accordingly.
15657
15658         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15659         of 0. Not a problem, really.
15660
15661         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15662         warn if sync=true.
15663
15664 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15665
15666         * configure.ac:
15667           Prelease of 0.10.3
15668
15669 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15670
15671         * win32/vs7:
15672           project files updated to the default vs7 configuration
15673         * win32/common/libgstbase.def:
15674         * win32/common/libgstreamer.def:
15675           added new symbols,
15676           removed empty lines,
15677           sorted all exported symbols alphabetically
15678         * win32/common/dirent.c:
15679         * win32/common/dirent.h:
15680         * win32/common/gchar.h:
15681           use windows line end.
15682           
15683 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15684
15685         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15686           Send EOS event when stopping.
15687
15688 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15689
15690         * docs/README:
15691           Tell folks what to do if the plugin-foobar.xml file
15692           hasn't been generated for a newly-added plugin.
15693
15694 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15695
15696         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15697         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15698         (gst_collect_pads_start), (gst_collect_pads_stop),
15699         (gst_collect_pads_event): Collectpads now holds a reference
15700         to the GstPad that was added. Indeed we don't want to look
15701         at pads that might just go away with no warning...
15702
15703 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15704
15705         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15706         (gst_collect_pads_start), (gst_collect_pads_stop),
15707         (gst_collect_pads_event), (gst_collect_pads_chain):
15708         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15709         Mark Nauwelaerts's patch on bug #328491.
15710
15711 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15712
15713         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15714         (gst_utils_suite):
15715           Add some simple tests for gst_parse_bin_from_description() and
15716           gst_bin_find_unconnected_pad() (#329069).
15717
15718 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15719
15720         * tools/gst-launch.c: (event_loop), (main):
15721           Catch errors during preroll (#320084).
15722
15723 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15724
15725         * plugins/elements/gsttypefindelement.c:
15726         (gst_type_find_element_activate):
15727           Post TYPE_NOT_FOUND error message when typefinding
15728           is unsuccessful in the activate function as well.
15729
15730 2006-02-02  Wim Taymans  <wim@fluendo.com>
15731
15732         * docs/design/part-element-sink.txt:
15733         Updated doc.
15734
15735 2006-02-02  Wim Taymans  <wim@fluendo.com>
15736
15737         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15738         (gst_base_sink_render_object),
15739         (gst_base_sink_queue_object_unlocked):
15740         Only keep track of prerollable items when we are 
15741         prerolling.
15742         Before rendering after preroll, always check if we
15743         have queued items.
15744         Added some more debugging.
15745
15746 2006-02-02  Wim Taymans  <wim@fluendo.com>
15747
15748         * gst/gstelement.c: (gst_element_continue_state),
15749         (gst_element_set_state_func), (gst_element_change_state):
15750         Fixed #326576, been running this for quite some time with
15751         no regressions at all.
15752
15753 2006-02-02  Wim Taymans  <wim@fluendo.com>
15754
15755         * common/gst.supp:
15756         Added more suppressions
15757
15758 2006-02-02  Wim Taymans  <wim@fluendo.com>
15759
15760         * docs/design/part-element-sink.txt:
15761         Updated document.
15762
15763         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15764         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15765         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15766         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15767         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15768         (gst_base_sink_preroll_object),
15769         (gst_base_sink_queue_object_unlocked),
15770         (gst_base_sink_queue_object), (gst_base_sink_event),
15771         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15772         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15773         (gst_base_sink_get_position), (gst_base_sink_change_state):
15774         * libs/gst/base/gstbasesink.h:
15775         Totally refactored matching the design doc.
15776         Use two segments, one to clip incomming buffers and another to
15777         perform sync.
15778         Handle queueing correctly, bypass the queue when playing.
15779         Make EOS cancelable.
15780         Handle errors correctly when operating in pull based mode.
15781
15782         * tests/check/elements/fakesink.c: (GST_START_TEST),
15783         (fakesink_suite):
15784         Added new check for sinks.
15785
15786 2006-02-02  Wim Taymans  <wim@fluendo.com>
15787
15788         * gst/gstsegment.c: (gst_segment_clip):
15789         No reason to refuse to clip when start == -1
15790
15791 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15792
15793         * docs/README:
15794         * docs/manual/intro-basics.xml:
15795         * docs/manual/intro-preface.xml:
15796         * docs/manual/manual.xml:
15797         * docs/pwg/advanced-dparams.xml:
15798         * docs/pwg/intro-basics.xml:
15799         * docs/pwg/intro-preface.xml:
15800         * docs/pwg/pwg.xml:
15801           describe dparams (controller) for plugins
15802           unify docs a little more
15803
15804 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15805
15806         * docs/gst/gstreamer-sections.txt:
15807         * gst/gstutils.c: (element_find_unconnected_pad),
15808         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15809         * gst/gstutils.h:
15810           Add new API: gst_parse_bin_from_description() and
15811           gst_bin_find_unconnected_pad() (#329069).
15812
15813 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15814
15815         * docs/manual/README:
15816           uncover a nasty detail of the docs build
15817
15818 2006-01-31  Wim Taymans  <wim@fluendo.com>
15819
15820         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15821         Don't cache duration messages if we're not going to use or
15822         free them.
15823
15824 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15825
15826         * docs/manual/advanced-dparams.xml:
15827         * docs/pwg/advanced-dparams.xml:
15828           more dparam docs
15829         * gst/gstindex.c:
15830           fix docs
15831         * libs/gst/controller/lib.c: (gst_controller_init):
15832           init just once
15833
15834 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15835
15836         * gst/gstelement.c: (gst_element_message_full):
15837           also show file/line/func if no additional debug was given
15838
15839 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15840         
15841         * win32/vs7/grammar.vcproj:
15842           activate copy of autogenerated files for Release mode
15843
15844 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15845         
15846         * win32/common/libgstreamer.def:
15847           export gst_value_compare
15848
15849 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15850
15851         * plugins/elements/Makefile.am:
15852         * plugins/elements/gstelements.c:
15853         * plugins/elements/gstfdsink.c: (_do_init),
15854         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15855         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15856         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15857         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15858         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15859         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15860         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15861         * plugins/elements/gstfdsink.h:
15862         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15863
15864 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15865
15866         * docs/manual/advanced-dparams.xml:
15867           describe controller
15868         * docs/manual/advanced-position.xml:
15869         * docs/manual/basics-init.xml:
15870         * docs/manual/manual.xml:
15871         * docs/manual/titlepage.xml:
15872         * docs/pwg/pwg.xml:
15873         * docs/pwg/titlepage.xml:
15874           cleanup xml (more to come)
15875         * libs/gst/controller/gstcontroller.c:
15876           fix typo
15877
15878 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15879         
15880         * win32/vs6/grammar.dsp:
15881           add autogen of gstmarshal.c,h for Release mode
15882                 
15883 2006-01-30  Wim Taymans  <wim@fluendo.com>
15884
15885         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15886         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15887         (gst_base_sink_handle_object), (gst_base_sink_event),
15888         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15889         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15890         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15891         (gst_base_sink_deactivate), (gst_base_sink_activate),
15892         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15893         (gst_base_sink_query), (gst_base_sink_change_state):
15894         Basesink cleanups, remove some old code.
15895         Handle the case where a subclass can preroll in the render
15896         method (mostly audiosinks).
15897         Handle more events.
15898         Remove some locks around variables that are now protected
15899         with the PREROLL_LOCK (clock_id, flushing, ..).
15900         Optimize position query some more, do correct locking.
15901         Remove old code to push queue in state change, this is not
15902         needed anymore since preroll blocks on all prerollable items 
15903         now.
15904         Almost implemented as described in design doc.
15905
15906 2006-01-30  Wim Taymans  <wim@fluendo.com>
15907
15908         * tests/check/gst/gstbin.c: (GST_START_TEST):
15909         Wait for refcount to settle down before checking.
15910
15911 2006-01-30  Wim Taymans  <wim@fluendo.com>
15912
15913         * docs/design/part-element-sink.txt:
15914         Pseudo code overview of desired sink behaviour regarding
15915         preroll.
15916
15917 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15918         * win32/vs6/grammar.dsp:
15919           fix some bugs in Release mode for autogenerated files
15920                 
15921 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15922         * win32/common/libgstbase.def:
15923         * win32/common/libgstreamer.def:
15924           export some new symbols: gst_base_src_set_format,
15925           gst_iterator_next, gst_structure_set_valist
15926
15927 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15928
15929         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15930         Set pad functions unconditionally. Fixes #329105.
15931
15932 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15933         * win32/vs8:
15934           add vs8 project files created by Sergey Scobich
15935
15936 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15937
15938         * gst/gstutils.c: (gst_element_unlink_pads):
15939         Don't leak pad references.
15940
15941         * tests/check/elements/fakesink.c: (GST_START_TEST):
15942         * tests/check/generic/sinks.c: (GST_START_TEST):
15943         * tests/check/generic/states.c: (GST_START_TEST):
15944         * tests/check/gst/gstbin.c: (GST_START_TEST):
15945         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15946         * tests/check/gst/gstelement.c: (GST_START_TEST):
15947         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15948         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15949         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15950         Fix a bunch of leaks. Make generic/sinks.c
15951         use a bit less cpu by slowing the buffer rate
15952         between fakesrc and fakesink.
15953         
15954 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15955         * gst/gstcaps.c:
15956         * gst/gstelement.c: (gst_element_send_event):
15957         * gst/gstevent.c:
15958         * gst/gstinfo.c:
15959         * gst/gstiterator.c:
15960         * gst/gstiterator.h:
15961         * gst/gstpad.c: (gst_pad_send_event):
15962         * gst/gststructure.c:
15963         * gst/gsturi.c:
15964         * gst/gstutils.c:
15965         * gst/gstvalue.c:
15966         * libs/gst/base/gstadapter.c:
15967           doc fixes, to link to function, just write gst_cool_function(), don't
15968           prefix with '#'
15969
15970 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15971
15972         * plugins/elements/gsttee.c: (gst_tee_do_push),
15973         (gst_tee_handle_buffer):
15974         Always prefer an actual return value from a src
15975         pad in place of NOT_LINKED. This means we return
15976         WRONG_STATE when all src pads are WRONG_STATE
15977         instead of NOT_LINKED.
15978
15979         Lock when replacing the last message to prevent
15980         racing with the get_property method.
15981
15982         Add debug output
15983
15984 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15985
15986         * tests/check/Makefile.am:
15987         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15988         (main):
15989         Add a very simple check that should have caught the memleak I fixed
15990         last night (if not for the slice allocator hiding it)
15991
15992 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15993
15994         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15995         (gst_bin_remove_func), (gst_bin_handle_message_func),
15996         (bin_query_duration_fold), (bin_query_generic_fold):
15997         Clean up references to the clock provider when disposed or when
15998         handling a clock-lost message from it.
15999
16000         Unref sinks when performing a query via gst_iterator_fold, as the
16001         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16002
16003         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16004         (gst_clock_set_master):
16005         Drop our reference to the master clock, if any, when we are disposed.
16006
16007         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16008         Chain up in dispose. 
16009
16010 2006-01-26  Wim Taymans  <wim@fluendo.com>
16011
16012         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16013         Add some debugging.
16014
16015 2006-01-26  Julien MOUTTE  <julien@moutte.net>
16016
16017         * plugins/elements/gsttee.c: (gst_tee_do_push),
16018         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16019         handles pad being NOT_LINKED or in WRONG_STATE.
16020
16021 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16022
16023         * win32/MANIFEST:
16024           more updating
16025
16026 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16027
16028         * win32/MANIFEST:
16029           remove obsolete entry
16030
16031 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16032
16033         * docs/gst/gstreamer-sections.txt:
16034         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16035         (gst_bin_iterate_sources), (gst_bin_send_event):
16036         * gst/gstbin.h:
16037         * gst/gstelement.c: (gst_element_send_event):
16038         * gst/gstevent.c:
16039         * gst/gstpad.c: (gst_pad_send_event):
16040           added code for downstream events, reviewed docs in gstevent.c
16041
16042 2006-01-25  Julien MOUTTE  <julien@moutte.net>
16043
16044         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16045         We only query position using the clock in the playing state.
16046         Query peer in the other cases.
16047         * win32/common/config.h: Updates.
16048
16049 2006-01-24  Wim Taymans  <wim@fluendo.com>
16050
16051         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16052         A clock entry that is scheduled for the exact time of the
16053         clock is still in time.
16054
16055         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16056         (gst_base_sink_do_sync):
16057         Add some more debug info.
16058
16059 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16060
16061         * win32/vs7:
16062           Add new vs7 project files and solution.
16063
16064 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16065
16066         * win32/vs7:
16067           all files removed as they were out-dated.
16068
16069 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16070
16071         * docs/random/release:
16072           update notes
16073         * gst/gstbin.c: (gst_bin_init):
16074         * gst/gstbus.c: (gst_bus_new):
16075         * gst/gstbus.h:
16076         * gst/gstpipeline.c: (gst_pipeline_init):
16077           use gst_bus_new(), improve logging, fix docs
16078         * win32/common/config.h:
16079           update for cvs build
16080
16081 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16082
16083         * autogen.sh:
16084           up required version of automake to 1.7
16085
16086 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
16087
16088         * win32/common/libgstreamer.def:
16089           export gst_buffer_is_metadata_writable
16090
16091 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
16092
16093         * docs/gst/gstreamer-sections.txt:
16094         * gst/gstevent.h:
16095           Add gst_event_replace() (#327001)
16096
16097 2006-01-20  Wim Taymans  <wim@fluendo.com>
16098
16099         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16100         Make it actually compile too..
16101
16102 2006-01-20  Wim Taymans  <wim@fluendo.com>
16103
16104         * gst/gstcaps.c:
16105         Clarify behaviour of _is_equal() when passing NULL parameters.
16106
16107         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16108         (gst_pad_set_caps):
16109         Cleanups. Don't unref NULL caps.
16110         When setting the same caps, protect caps of the pad with
16111         proper lock.
16112         Use full functionality of _is_equal() when comparing caps.
16113
16114 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16115
16116         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16117         Don't loop infinitely if there are no buffers to present. Partially
16118         fixes #327197, but collectpads is just broken for reusing elements
16119         to do multiple encodes atm.
16120
16121 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16122
16123         * tools/gst-inspect.c: (print_element_features):
16124         * tools/gst-xmlinspect.c: (main):
16125         URL_HANDLER is not a plugin feature we can search for in
16126         the registry.
16127
16128 2006-01-19  Edward Hervey  <edward@fluendo.com>
16129
16130         * gst/gstelement.c: (gst_element_pads_activate): 
16131         When activating, do src pads first, then sink pads.
16132         When de-activating, do sink pads first, then src pads.
16133
16134 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16135
16136         * docs/gst/gstreamer-sections.txt:
16137         Add gst_index_add_associationv to the docs
16138
16139 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16140
16141         * gst/gstevent.c:
16142           Fix docs typo
16143
16144         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16145         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16146           Do some refactoring. Doesn't actually change functionality,
16147           but makes landing the DRAIN event easier later.
16148
16149 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
16150
16151         * docs/pwg/advanced-scheduling.xml:
16152           Update from 0.9.x to 0.10 API and make example a bit
16153           clearer.
16154
16155 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16156
16157         * docs/gst/gstreamer-sections.txt:
16158         Add gst_buffer_(is|make)_metadata_writable methods.
16159
16160 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16161
16162         * docs/design/part-sparsestreams.txt:
16163         Update sparse streams doc, hopefully for greater clarity
16164
16165 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
16166
16167         * docs/design/part-events.txt:
16168         Remove mention of FILLER events.
16169         Add DRAIN event.
16170
16171         * docs/design/part-sparsestreams.txt:
16172         Write some things about using NEWSEGMENT to keep sparse streams
16173         flowing.
16174
16175 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16176
16177         * gst/gstbin.c: (gst_bin_dispose):
16178           Guard gst_object_unref call against a NULL object (dispose
16179           can theoretically be called multiple times).
16180           
16181 2006-01-18  Wim Taymans  <wim@fluendo.com>
16182
16183         * gst/gstbin.c: (gst_bin_element_set_state):
16184         * gst/gstclock.c: (gst_clock_id_wait):
16185         Added some more debug info.
16186
16187         * libs/gst/base/gstadapter.c:
16188         Added more docs.
16189
16190         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16191         (gst_base_sink_do_sync), (gst_base_sink_chain):
16192         Added some comments.
16193
16194 2006-01-18  Wim Taymans  <wim@fluendo.com>
16195
16196         * tests/check/Makefile.am:
16197         * tests/check/elements/fakesink.c: (chain_async_buffer),
16198         (chain_async), (chain_async_return), (GST_START_TEST),
16199         (fakesink_suite), (main):
16200         Added fakesink test that checks prerolling and clipping
16201         behaviour.
16202
16203         * tests/check/gst/gstutils.c: (GST_START_TEST):
16204         Make check run faster so that buildbots don't timeout.
16205
16206 2006-01-18  Wim Taymans  <wim@fluendo.com>
16207
16208         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16209         (gst_base_sink_do_sync):
16210         Some cleanups.
16211         When the sink finishes blocking on the preroll buffer, it can
16212         immediatly render it instead of rendering when the next buffer
16213         arrives.
16214
16215 2006-01-18  Wim Taymans  <wim@fluendo.com>
16216
16217         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16218         (gst_base_sink_get_property), (gst_base_sink_do_sync),
16219         (gst_base_sink_chain):
16220         Small cleanups.
16221         GST_ELEMENT_CLOCK and sync are protected with LOCK.
16222         Don't store _last_stop if the buffer is dropped.
16223
16224 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16225
16226         * plugins/elements/gsttypefindelement.c:
16227         (gst_type_find_element_class_init):
16228           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16229           object method handler that sets the caps on the pad and we want
16230           that to happen before we emit the signal (fixes e.g. feeding a
16231           plain text file to decodebin).
16232
16233 2006-01-18  Christian Schaller  <Christian@fluendo.com>
16234
16235         * gst/gstplugin.c: Add MPL and Proprietary as license options
16236
16237 2006-01-18  Andy Wingo  <wingo@pobox.com>
16238
16239         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16240         symbol was exported before, it appears this was just an oversight.
16241         Fixes #168703.
16242         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16243
16244         * gst/gstindex.c (gst_index_add_associationv): Changed int in
16245         prototype to gint. OK since this prototype was not in the header.
16246
16247 2006-01-17  Andy Wingo  <wingo@pobox.com>
16248
16249         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16250         registry while we remove plugins.
16251
16252         * tools/gst-inspect.c (print_element_info): Don't unref the
16253         factory arg, that should be the responsibility of whatever code
16254         received the ref. Fixes a double-free when called from
16255         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16256         (main): Unref the factory if we have one.
16257         (print_element_list): No change -- relies on the
16258         plugin_feature_list_free to free the list of features.
16259
16260 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
16261
16262         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16263         (gst_buffer_make_metadata_writable):
16264         * gst/gstbuffer.h:
16265         * libs/gst/base/gstbasetransform.c:
16266         (gst_base_transform_prepare_output_buf):
16267         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16268         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16269           Replace gst_buffer_(make|is)_metadata_writable patch now
16270           that the release is out.
16271
16272 2006-01-17  Andy Wingo  <wingo@pobox.com>
16273
16274         * gst/gstregistry.c: Reflow design comment. Update so as to speak
16275         in the present tense without reference to versions.
16276
16277         * gst/gstregistry.c (gst_registry_add_plugin)
16278         (gst_registry_remove_plugin, gst_registry_remove_feature)
16279         (gst_registry_find_feature, gst_registry_get_feature_list)
16280         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16281         (gst_registry_lookup, gst_registry_scan_path)
16282         (_gst_registry_remove_cache_plugins)
16283         (gst_registry_get_feature_list_by_plugin): Add argument
16284         validation.
16285
16286 === release 0.10.2 ===
16287
16288 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
16289
16290         * configure.ac:
16291           releasing 0.10.2, "If man is five"
16292
16293 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16294
16295         * gst/gstbuffer.c:
16296         * gst/gstbuffer.h:
16297         * libs/gst/base/gstbasetransform.c:
16298         (gst_base_transform_prepare_output_buf):
16299         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16300         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16301           Back out patch until after the release.
16302
16303 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16304
16305         * gst/gstminiobject.c:
16306           Spelling fix in docs.
16307         * ChangeLog - remove conflict indicator
16308
16309 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16310
16311         Reviewed By: Andy Wingo
16312
16313         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16314         (gst_buffer_make_metadata_writable):
16315         * gst/gstbuffer.h:
16316           Add gst_buffer_(is|make)_metadata_writable as analogues of
16317           gst_buffer_(is|make)_writable.
16318
16319         * libs/gst/base/gstbasetransform.c:
16320         (gst_base_transform_prepare_output_buf):
16321         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16322           Use name gst_buffer_(is|make)_metadata_writable functions.
16323
16324         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16325           Test gst_buffer_(is|make)_metadata_writable
16326         
16327           (Closes: #324162)
16328
16329 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16330
16331         * docs/manual/Makefile.am:
16332           don't do parallel make
16333         * configure.ac:
16334           AC_SUBST HOST_CPU
16335         * win32/common/config.h.in:
16336           add generations for HOST_CPU and GST_MAJORMINOR
16337         * win32/common/config.h:
16338           commit generated result
16339
16340 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16341
16342         * docs/manual/appendix-integration.xml:
16343           Update GNOME integration section to use gst_init_get_option_group()
16344           instead of the old popt stuff (#322911). Also, GNOME applications
16345           should  now use gconf*sink and gconf*src instead of the old gconf
16346           helper lib we had.
16347
16348 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16349
16350
16351         * docs/gst/gstreamer-docs.sgml:
16352         * docs/gst/gstreamer-sections.txt:
16353         * docs/libs/gstreamer-libs-sections.txt:
16354           add new API entries to the docs
16355         * libs/gst/controller/Makefile.am:
16356         * libs/gst/controller/gstcontroller.c:
16357         * libs/gst/controller/gstcontroller.h:
16358         * libs/gst/controller/gstcontrollerprivate.h:
16359         * libs/gst/controller/gsthelper.c:
16360         * libs/gst/controller/gstinterpolation.c:
16361           move private structs to private header
16362         * po/README:
16363           gstreamer-0.7 -> gstreamer-0.10
16364         * tests/check/libs/struct_i386.h:
16365           remove private structs
16366
16367 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16368
16369         * plugins/indexers/Makefile.am:
16370           Fixes as part of #317048
16371
16372 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16373
16374         * plugins/indexers/Makefile.am:
16375           fix #316086 - compilation when mmap is missing
16376
16377 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16378
16379         * libs/gst/base/gstbasesink.c:
16380           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16381           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16382         * win32/common/config.h:
16383           added some defines GST_MAJORMINOR and HOST_CPU
16384         * win32/common/libgstbase.def:
16385         * win32/common/libgstreamer.def:
16386           added some exported functions.
16387
16388 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16389
16390         * libs/gst/controller/gstcontroller.c:
16391         (gst_controlled_property_set_interpolation_mode),
16392         (gst_controlled_property_new):
16393         * libs/gst/controller/gstcontroller.h:
16394         * libs/gst/controller/gstinterpolation.c:
16395         (interpolate_none_get_string_value_array):
16396           make G_TYPE_STRING controlable
16397
16398 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16399
16400         * tools/README:
16401         * tools/gst-feedback.1.in:
16402         * tools/gst-inspect.1.in:
16403         * tools/gst-launch.1.in:
16404         * tools/gst-md5sum.1.in:
16405         * tools/gst-typefind.1.in:
16406         * tools/gst-xmlinspect.1.in:
16407         * tools/gst-xmllaunch.1.in:
16408           cleanup man-pages, remove reference to gst-register, document env-vars
16409
16410 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16411
16412         * gst/gstbuffer.c: (gst_buffer_span):
16413           gst_buffer_span should copy the timestamp of the first buffer
16414           if they were both originally overlapping subbuffers of the 
16415           same parent, using the same logic as the 'slow copy' case.
16416
16417 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16418
16419         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16420           Need to awaken ALL the pads when we pop a buffer, otherwise
16421           collectpads only works when there is 2 input streams.
16422
16423 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16424
16425         * docs/random/ensonic/media-device-daemon.txt:
16426           more ideas (dbus)
16427         * gst/gstbuffer.c:
16428           fix doc example, add clarification
16429         * tools/gst-launch.1.in:
16430           add initial info about GST_PLUGIN_PATH, needs more work
16431
16432 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16433
16434         * docs/manual/basics-bins.xml:
16435         * docs/manual/basics-elements.xml:
16436         * docs/manual/intro-basics.xml:
16437           Some more minor docs additions and updates.
16438
16439 2006-01-11  Wim Taymans  <wim@fluendo.com>
16440
16441         * docs/manual/basics-bins.xml:
16442         * docs/manual/basics-elements.xml:
16443         Some small fixes as pointed out by Ser-ver on IRC.
16444
16445 2006-01-10  Edward Hervey  <edward@fluendo.com>
16446
16447         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16448         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16449         the single-segment mode.
16450
16451 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16452
16453         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16454
16455         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16456         (gst_base_src_perform_seek), (gst_base_src_send_event),
16457         (gst_base_src_set_property), (gst_base_src_get_property),
16458         (gst_base_src_loop), (gst_base_src_start),
16459         (gst_base_src_activate_push):
16460         * libs/gst/base/gstbasesrc.h:
16461           Name (private) union; makes Sun's Forte compiler happy (#324900).
16462
16463 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16464
16465         * README:
16466           gst-register is gone.
16467
16468 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16469
16470         * gst/gstvalue.c: (_gst_value_initialize):
16471           make the G_TYPE_DATE instantiation work if debug is disabled
16472
16473 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16474
16475         * gst/gstmessage.c: (gst_message_parse_tag),
16476         (gst_message_parse_error), (gst_message_parse_warning):
16477           Don't crash when return location for error/warning debug
16478           string is NULL; add fact that return locations can be
16479           NULL to docs where appropriate.
16480
16481 2006-01-05  Wim Taymans  <wim@fluendo.com>
16482
16483         * gst/gstplugin.c: (gst_plugin_load_file):
16484         Replace strdup by g_strdup.
16485
16486 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16487
16488         * docs/pwg/advanced-types.xml:
16489           fix doc borkage
16490
16491 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16492
16493         submitted by: Abel Cheung
16494
16495         * po/LINGUAS:
16496         * po/zh_TW.po:
16497           Added Chinese (traditional) translation
16498
16499 2006-01-04  Wim Taymans  <wim@fluendo.com>
16500
16501         * docs/manual/basics-pads.xml:
16502         * docs/plugins/Makefile.am:
16503         * docs/plugins/gstreamer-plugins-docs.sgml:
16504         * docs/plugins/gstreamer-plugins-sections.txt:
16505         * docs/pwg/advanced-clock.xml:
16506         * docs/pwg/advanced-scheduling.xml:
16507         * docs/pwg/advanced-types.xml:
16508         * plugins/elements/gstfdsink.c:
16509         * plugins/elements/gstfdsrc.c:
16510         * plugins/elements/gstfdsrc.h:
16511         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16512         * plugins/elements/gstidentity.h:
16513         * plugins/elements/gstqueue.h:
16514         * plugins/elements/gsttee.c:
16515         * plugins/elements/gsttee.h:
16516         * plugins/elements/gsttypefindelement.c:
16517         (gst_type_find_element_class_init):
16518         * plugins/elements/gsttypefindelement.h:
16519         Small updates to various docs.
16520         Added core plugins to docs.
16521
16522 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16523
16524         * common/gst.supp:
16525           add a suppression for liboil's uninitialized variable
16526
16527 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16528
16529         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16530
16531         * gst/gstutils.h:
16532           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16533           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16534           compiler switch is being used (#325429).
16535
16536 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16537
16538         * gst/gstbin.c: (gst_bin_query):
16539           Disable duration query caching in bins until it gets
16540           fixed (see #324807).
16541
16542 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16543
16544         * tools/gst-inspect.c: (print_element_properties_info):
16545           Handle properties of POINTER and BOXED type.
16546
16547 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16548
16549         * gst/gst.c: (init_post):
16550           Init tags stuff and some other things before loading
16551           any static plugins (there may be other static plugins
16552           than just the GStreamer ones, and they may want to
16553           register their own tags or formats or whatever, and
16554           preferably without segfaulting).
16555
16556         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16557           Print at least a warning in the debug logs if we drop a
16558           query just because we don't know how to adjust the value
16559           in the particular format.
16560
16561 2005-12-24  David Schleef  <ds@schleef.org>
16562
16563         * tools/gstreamer-completion:
16564           Replacement for gst-complete written in sh and sed.  Only
16565           completes names of features, but that's 90% of what I want
16566           it for.  Properties are not available in registry.xml.  (Maybe
16567           they should be...)
16568
16569 === release 0.10.1 ===
16570
16571 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16572
16573         * configure.ac:
16574           releasing 0.10.1, "Nollaig chridheil"
16575
16576 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16577
16578         * docs/faq/cvs.xml:
16579           Add missing quote, should be make ERROR_CFLAGS="".
16580
16581 2005-12-20  Wim Taymans  <wim@fluendo.com>
16582
16583         * docs/design/part-trickmodes.txt:
16584         More documentation on trickmodes.
16585
16586 2005-12-20  Edward Hervey  <edward@fluendo.com>
16587
16588         * gst/gstcaps.c: (gst_static_caps_get_type):
16589         * gst/gstcaps.h:
16590           API addition: GST_TYPE_STATIC_CAPS
16591         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16592         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16593         * gst/gstpadtemplate.h:
16594           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16595         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16596         bindings.
16597
16598 2005-12-18  Wim Taymans  <wim@fluendo.com>
16599
16600         * libs/gst/base/gstadapter.c:
16601         * libs/gst/base/gstadapter.h:
16602         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16603         (gst_base_sink_get_position):
16604         * libs/gst/base/gstbasesink.h:
16605         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16606         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16607         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16608         (gst_base_src_send_event), (gst_base_src_update_length),
16609         (gst_base_src_get_range), (gst_base_src_loop),
16610         (gst_base_src_start):
16611         * libs/gst/base/gstbasesrc.h:
16612         * libs/gst/base/gstbasetransform.h:
16613         * libs/gst/base/gstcollectpads.h:
16614         * libs/gst/base/gstpushsrc.c:
16615         * libs/gst/base/gstpushsrc.h:
16616         * libs/gst/dataprotocol/dataprotocol.c:
16617         * libs/gst/dataprotocol/dataprotocol.h:
16618         * libs/gst/net/gstnetclientclock.h:
16619         * libs/gst/net/gstnettimeprovider.h:
16620         Documentation updates.
16621
16622 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16623
16624         * docs/manual/basics-helloworld.xml:
16625           Remove superfluous closing bracket in helloworld example.
16626
16627 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16628
16629         * tools/gst-launch.1.in:
16630           Update gst-launch man page; add a section with useful
16631           environment variables. Fixes #323882.
16632
16633 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16634
16635         * gst/gst.c:
16636         * gst/gst_private.h:
16637           change some char* into char[]
16638
16639 2005-12-16  Wim Taymans  <wim@fluendo.com>
16640
16641         * gst/gstregistryxml.c: (load_feature):
16642         Cleanups.
16643         Don't use g_object_unref on GstObjects so that we avoid
16644         leaks on unsafe glibs.
16645
16646 2005-12-16  Wim Taymans  <wim@fluendo.com>
16647
16648         * gst/gstbin.c: (gst_bin_recalc_state):
16649         Small doc updates.
16650
16651 2005-12-16  Wim Taymans  <wim@fluendo.com>
16652
16653         * common/check.mak:
16654         Added make forever target for check.
16655
16656 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16657
16658         * gst/gst.c: (init_post):
16659           make the registry cache file HOST_CPU-dependent
16660
16661 2005-12-16  Andy Wingo  <wingo@pobox.com>
16662
16663         * plugins/elements/gstbufferstore.c
16664         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16665         return value.
16666
16667         * tests/check/gst/gstobject.c
16668         (test_fake_object_name_threaded_unique): Pay attention to
16669         g_list_sort return value.
16670
16671 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16672
16673         * tools/gst-feedback-m.m:
16674           Update for 0.9/0.10 (fixes #323870).
16675
16676 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16677
16678         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16679           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16680           
16681         * tests/check/gst/gstminiobject.c: (my_foo_init),
16682         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16683         (test_value_collection), (gst_mini_object_suite):
16684           Add test to ensure refcounts end up as expected when passing
16685           GstMiniObjects through g_object_get() and g_object_set().
16686
16687 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16688
16689         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16690         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16691         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16692         of collectpads. This version removes a lot of races without
16693         touching API/ABI. Yay !
16694
16695 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16696
16697         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16698           Don't allow activation of a srcpad in pull_range if it has no
16699           getrange function.
16700           Change some debug statements to be a little clearer
16701
16702         * plugins/elements/gsttypefindelement.c:
16703         (gst_type_find_handle_src_query):
16704           Check that we have a peer before executing queries thereupon.
16705
16706         * tests/examples/metadata/read-metadata.c: (message_loop):
16707           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16708           immediately return us any available message with 0 timeout.
16709
16710 2005-12-12  Michael Smith  <msmith@fluendo.com>
16711
16712         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16713           Don't unref factories after calling them.
16714         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16715         * plugins/elements/gsttypefindelement.c:
16716         (gst_type_find_element_chain):
16717           Free lists of factories after using them. Fixing typefinding memory
16718           leaks.
16719
16720 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16721
16722         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16723         (gst_plugin_feature_load):
16724           more meaningful debug output
16725         * configure.ac:
16726         * tests/Makefile.am:
16727         * tests/old/examples/Makefile.am:
16728           make make distcheck happy again
16729
16730 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16731
16732         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16733           Catch the special case where we are operating chain-based,
16734           but the downstream peer pad has no chain function. Emit a
16735           custom error message in this case instead of letting the
16736           core generate one implying that this is some sort of core
16737           bug. It's not, it just means that whatever got plugged
16738           into the pipeline downstream when we announced the type
16739           can only operate pull-based, while our source can only
16740           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16741           Error string has not been marked for translation yet, as
16742           it probably needs some more work first.
16743
16744         (gst_type_find_element_get_best_possibility):
16745           Add helper function to find the best of all available
16746           found possibilities that qualify given the min. threshold.
16747
16748         (gst_type_find_element_handle_event):
16749           Fix the case where we get an EOS while still in TYPEFIND
16750           mode (we want to chose the best of all possible types,
16751           not just the first type that happens to be in our unsorted
16752           list of possible types).
16753
16754         (gst_type_find_element_chain):
16755           Make sure we return GST_FLOW_ERROR when we errored out
16756           in stop_typefinding(); also, don't just find the best of
16757           all found type entries and then use the last examined
16758           type entry, but actually use the best entry.
16759
16760 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16761
16762         * tests/examples/typefind/typefind.c: (type_found):
16763         * tests/examples/xml/runxml.c: (xml_loaded):
16764           More gcc4 fixes and a mem leak fix.
16765
16766 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16767
16768         * tests/examples/xml/createxml.c: (object_saved):
16769           gcc 4 fixes
16770
16771 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16772
16773         * tests/Makefile.am:
16774           enable the examples even more
16775
16776 2005-12-12  Andy Wingo  <wingo@pobox.com>
16777
16778         * libs/gst/net/gstnettimeprovider.c
16779         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16780         (gst_net_time_provider_set_property)
16781         (gst_net_time_provider_get_property):
16782         API addition: Export "active" as a GObject property.
16783         (gst_net_time_provider_thread): Only respond to time queries if
16784         the time provider is active.
16785
16786         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16787         NetTimeProvider, preserving binary compat.
16788
16789 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16790
16791         * tests/examples/controller/audio-example.c: (main):
16792         * tests/examples/launch/Makefile.am:
16793           convert comments again
16794
16795 2005-12-12  Wim Taymans  <wim@fluendo.com>
16796
16797         * libs/gst/base/gstpushsrc.c:
16798         Fix typo.
16799
16800 2005-12-12  Wim Taymans  <wim@fluendo.com>
16801
16802         * docs/libs/gstreamer-libs-sections.txt:
16803         Added new symbol to docs.
16804
16805         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16806         (gst_base_src_init), (gst_base_src_set_format),
16807         (gst_base_src_default_query), (gst_base_src_query),
16808         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16809         (gst_base_src_perform_seek), (gst_base_src_send_event),
16810         (gst_base_src_default_event), (gst_base_src_event_handler),
16811         (gst_base_src_set_property), (gst_base_src_get_property),
16812         (gst_base_src_wait), (gst_base_src_do_sync),
16813         (gst_base_src_update_length), (gst_base_src_get_range),
16814         (gst_base_src_check_get_range), (gst_base_src_loop),
16815         (gst_base_src_default_negotiate), (gst_base_src_start),
16816         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16817         (gst_base_src_change_state):
16818         * libs/gst/base/gstbasesrc.h:
16819         Implement seeking to other formats than _BYTES.
16820         Implement more seeking methods correctly.
16821         Doc updates.
16822         Added query vmethod.
16823         Added do_seek vmethod to make life easier for subclasses
16824         when seeking.
16825         API addition: gst_base_src_set_format()
16826
16827 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16828
16829         * tests/examples/Makefile.am:
16830           added that too
16831
16832 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16833
16834         * configure.ac:
16835         * docs/random/ensonic/media-device-daemon.txt:
16836         * tests/examples/controller/.cvsignore:
16837         * tests/examples/controller/Makefile.am:
16838         * tests/examples/controller/audio-example.c: (main):
16839         * tests/examples/helloworld/.cvsignore:
16840         * tests/examples/helloworld/Makefile.am:
16841         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16842         * tests/examples/launch/.cvsignore:
16843         * tests/examples/launch/Makefile.am:
16844         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16845         * tests/examples/metadata/.cvsignore:
16846         * tests/examples/metadata/Makefile.am:
16847         * tests/examples/metadata/read-metadata.c: (message_loop),
16848         (make_pipeline), (print_tag), (main):
16849         * tests/examples/queue/.cvsignore:
16850         * tests/examples/queue/Makefile.am:
16851         * tests/examples/queue/queue.c: (event_loop), (main):
16852         * tests/examples/typefind/.cvsignore:
16853         * tests/examples/typefind/Makefile.am:
16854         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16855         (main):
16856         * tests/examples/xml/.cvsignore:
16857         * tests/examples/xml/Makefile.am:
16858         * tests/examples/xml/createxml.c: (object_saved), (main):
16859         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16860         * tests/old/examples/Makefile.am:
16861         * tests/old/examples/TODO:
16862         * tests/old/examples/controller/.cvsignore:
16863         * tests/old/examples/controller/Makefile.am:
16864         * tests/old/examples/controller/audio-example.c:
16865         * tests/old/examples/helloworld/.cvsignore:
16866         * tests/old/examples/helloworld/Makefile.am:
16867         * tests/old/examples/helloworld/helloworld.c:
16868         * tests/old/examples/launch/.cvsignore:
16869         * tests/old/examples/launch/Makefile.am:
16870         * tests/old/examples/launch/mp3parselaunch.c:
16871         * tests/old/examples/launch/mp3play:
16872         * tests/old/examples/manual/Makefile.am:
16873         * tests/old/examples/metadata/Makefile.am:
16874         * tests/old/examples/metadata/read-metadata.c:
16875         * tests/old/examples/queue/.cvsignore:
16876         * tests/old/examples/queue/Makefile.am:
16877         * tests/old/examples/queue/queue.c:
16878         * tests/old/examples/typefind/.cvsignore:
16879         * tests/old/examples/typefind/Makefile.am:
16880         * tests/old/examples/typefind/typefind.c:
16881         * tests/old/examples/xml/.cvsignore:
16882         * tests/old/examples/xml/Makefile.am:
16883         * tests/old/examples/xml/createxml.c:
16884         * tests/old/examples/xml/runxml.c:
16885           applied some simple fixing to some examples
16886           re-enabled the working examples
16887
16888 2005-12-12  Wim Taymans  <wim@fluendo.com>
16889
16890         * gst/gstsegment.c: (gst_segment_init),
16891         (gst_segment_set_last_stop), (gst_segment_set_seek),
16892         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16893         (gst_segment_to_running_time):
16894         Added more documentation.
16895         Make sure the last_pos value is updated properly.
16896         Make sure to_stream_time and to_running_time don't
16897         operate on wrong values.
16898
16899         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16900         Update check.
16901
16902 2005-12-12  Michael Smith  <msmith@fluendo.com>
16903
16904         * plugins/elements/gsttypefindelement.c: (free_entry),
16905         (gst_type_find_element_chain):
16906           Now that we're not leaking factories, make sure we keep references
16907           to them while we need them.
16908
16909 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16910
16911         * tests/check/gst/struct_i386.h:
16912           ifdef out the XML structs
16913
16914 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16915
16916         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16917           floor is not needed, F is always positive; this obviates the
16918           need for adding -lm when building without libxml
16919
16920 2005-12-12  Wim Taymans  <wim@fluendo.com>
16921
16922         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16923         Take current playback rate into account when reporting
16924         the position.
16925
16926 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16927
16928         * docs/manual/mime-world.fig:
16929           Let's try this again, this time with a file that is
16930           actually in XFig format.
16931
16932 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16933
16934         * docs/manual/mime-world.fig:
16935           Add audioconvert element to diagram so that it
16936           matches the text and the code (fixes #319526).
16937
16938 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16939
16940         * docs/pwg/building-chainfn.xml:
16941         * docs/pwg/building-pads.xml:
16942         * docs/pwg/building-state.xml:
16943         * docs/pwg/other-source.xml:
16944           Update state change stuff for 0.10 (fixes #322969).
16945
16946 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16947
16948         * docs/manual/advanced-dataaccess.xml:
16949         * docs/manual/appendix-checklist.xml:
16950         * docs/manual/appendix-programs.xml:
16951         * docs/manual/basics-pads.xml:
16952         * docs/manual/highlevel-components.xml:
16953         * docs/manual/manual.xml:
16954           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16955           add converters in front of pipelines; remove curly
16956           brackets for threads stuff, they no longer exist; use
16957           GST_TYPE_FRACTION for framerates; update some pieces of
16958           code to 0.10, but there's plenty more to do.
16959
16960         * docs/manual/appendix-porting.xml:
16961           Expand on asynchroneous state changes; s/0.9/0.10/;
16962           mention disappearance of gst_init_get_popt_table()
16963           (fixes #322916).
16964
16965 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16966
16967         * docs/faq/using.xml:
16968           Spider no longer exists, and neither does gst-launch-ext.
16969           Update examples to use decodebin and playbin and put
16970           converters in front of sinks (fixes #323726).
16971
16972 2005-12-09  Michael Smith  <msmith@fluendo.com>
16973
16974         * plugins/elements/gsttypefindelement.c: (find_peek),
16975         (gst_type_find_element_chain):
16976           Fix leaking element factories in typefinding.
16977           Fix problem where we forgot about a probable type on non-seekable
16978           files, and thus later mis-typefound it.
16979
16980 2005-12-09  Michael Smith  <msmith@fluendo.com>
16981
16982         * common/m4/gst-makecontext.m4:
16983         * common/m4/gst-mcsc.m4:
16984         * configure.ac:
16985         * win32/common/config.h:
16986         * win32/common/config.h.in:
16987           Remove makecontext stuff; not used in 0.10 and causes problems on
16988           HPUX according to bug #322441
16989
16990 2005-12-07  Wim Taymans  <wim@fluendo.com>
16991
16992         * tests/check/Makefile.am:
16993         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16994         (main):
16995         * tests/check/libs/struct_i386.h:
16996         Added ABI check for libs
16997
16998 2005-12-07  Wim Taymans  <wim@fluendo.com>
16999
17000         * tests/check/Makefile.am:
17001         And add the struct_i386.h to dist.
17002
17003 2005-12-07  Wim Taymans  <wim@fluendo.com>
17004
17005         * tests/check/Makefile.am:
17006         * tests/check/gst/.cvsignore:
17007         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17008         (main):
17009         * tests/check/gst/struct_i386.h:
17010         Added check for ABI compatibility.
17011
17012 2005-12-07  Wim Taymans  <wim@fluendo.com>
17013
17014         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17015         (gst_fake_src_get_times), (gst_fake_src_create):
17016         Fix broken sync option, fixes #323259
17017
17018 2005-12-07  Wim Taymans  <wim@fluendo.com>
17019
17020         * gst/gstbuffer.c:
17021         Small docs update.
17022
17023         * gst/gstcaps.c: (gst_caps_is_equal):
17024         Don't assert on NULL <--> X. Fixes #323260
17025
17026         * gst/gstminiobject.c: (gst_mini_object_replace):
17027         If we're doing atomic operations, we might just as well use
17028         the proper way to get an atomic pointer.
17029
17030         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17031         Clean up debugging.
17032
17033 2005-12-07  Michael Smith  <msmith@fluendo.com>
17034
17035         * gst/parse/grammar.y:
17036           Remove handling of { } for threads.
17037
17038 2005-12-06  David Schleef  <ds@schleef.org>
17039
17040         * libs/gst/base/gstbasetransform.c: speling fix.
17041
17042 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17043
17044         * docs/libs/tmpl/gstdataprotocol.sgml:
17045         * docs/random/omega/testing/gstobject.c:
17046         * gst/gst.c:
17047         * gst/gstclock.c:
17048         * gst/gstelement.c:
17049         * gst/gstelementfactory.c:
17050         * gst/gsterror.c:
17051         * gst/gstevent.c:
17052         * gst/gstghostpad.c:
17053         * gst/gstinfo.c:
17054         * gst/gstpadtemplate.c:
17055         * gst/gstregistryxml.c:
17056         * gst/gsttaglist.c:
17057         * gst/gsttagsetter.c:
17058         * gst/gsttypefind.c:
17059         * gst/gstvalue.c:
17060         * libs/gst/base/gstbasesrc.c:
17061         * libs/gst/net/gstnetclientclock.c:
17062         * libs/gst/net/gstnettimeprovider.c:
17063         * plugins/elements/gstfakesrc.c:
17064         * plugins/elements/gstfdsrc.c:
17065         * plugins/elements/gstfilesrc.c:
17066         * plugins/elements/gstidentity.c:
17067         * plugins/elements/gstqueue.c:
17068         * plugins/elements/gsttypefindelement.c:
17069         * plugins/indexers/gstfileindex.c:
17070         * plugins/indexers/gstmemindex.c:
17071         * tests/check/gst/gsttag.c:
17072         * tests/old/examples/cutter/cutter.c:
17073         * tests/old/examples/mixer/mixer.c:
17074         * tests/old/examples/xml/runxml.c: (main):
17075         * tests/old/testsuite/caps/normalisation.c:
17076         * tests/old/testsuite/debug/global.c:
17077         * tests/old/testsuite/parse/parse1.c:
17078         * tools/gst-xmlinspect.c:
17079         * win32/common/dirent.c:
17080           expand tabs
17081
17082 === release 0.10.0 ===
17083
17084 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17085
17086         * configure.ac:
17087           releasing 0.10.0, "Maroilles"
17088
17089 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17090
17091         submitted by: Funda Wang <fundawang@linux.net.cn>
17092
17093         * po/LINGUAS:
17094         * po/zh_CN.po:
17095           added Chinese (Traditional) translation
17096
17097 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17098
17099         * docs/gst/gstreamer-sections.txt:
17100         * docs/libs/tmpl/gstdataprotocol.sgml:
17101         * docs/random/thomasvs/TODO:
17102         * gst/gstutils.c:
17103         * gst/gstutils.h:
17104           fix docs
17105
17106 2005-12-05  Andy Wingo  <wingo@pobox.com>
17107
17108         patch by: Wim Taymans <wim@fluendo.com>
17109
17110         * libs/gst/base/gstbasetransform.c
17111         (gst_base_transform_prepare_output_buf)
17112         (gst_base_transform_buffer_alloc):
17113         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17114         alloc_buffer_and_set_caps.
17115
17116         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17117         set_caps on the source pad.
17118         (gst_pad_alloc_buffer_and_set_caps): New function, does what
17119         alloc_buffer used to do. Fixes #322874.
17120
17121         * docs/gst/gstreamer-sections.txt: 
17122         * docs/design/part-negotiation.txt: 
17123         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17124         changes.
17125
17126 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17127
17128         patch by: Sebastien Moutte
17129
17130         * win32/MANIFEST:
17131         * win32/common/config.h.in:
17132         * win32/vs6/libgstcontroller.dsp:
17133           win32 build fixes
17134
17135 2005-12-05  Wim Taymans  <wim@fluendo.com>
17136
17137         * gst/gstcaps.c: (gst_caps_is_equal):
17138         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17139         (gst_fake_src_create):
17140         Back out previous code changes, leave doc updates, file bugs 
17141         instead. 
17142
17143 2005-12-05  Wim Taymans  <wim@fluendo.com>
17144
17145         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17146         (gst_fake_src_get_times), (gst_fake_src_create):
17147         * plugins/elements/gstfakesrc.h:
17148         Fix broken sync code.
17149
17150 2005-12-05  Wim Taymans  <wim@fluendo.com>
17151
17152         * gst/gstcaps.c: (gst_caps_is_equal):
17153         Comparing NULL against !NULL yields different caps, not a
17154         failure.
17155
17156 2005-12-05  Wim Taymans  <wim@fluendo.com>
17157
17158         * gst/gstpipeline.c:
17159         Fix small typo in docs.
17160
17161 2005-12-05  Andy Wingo  <wingo@pobox.com>
17162
17163         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
17164
17165         * gst/gst.c (init_post): remove hard-coded 0.9 location for
17166         registries/plugins with a MAJORMINOR one.
17167         (plugin_desc): Rename library from gstcoreleements to
17168         staticelements. Fixes #323222.
17169
17170 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
17171
17172         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17173           Change debug category to 'collectpads' from 'collect_pads'
17174           (fixes #323250).
17175
17176 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17177
17178         patch by: Sebastien Moutte
17179
17180         * libs/gst/controller/gstinterpolation.c:
17181           use convert function for uint64/double
17182         * win32/vs6/libgstcontroller.dsp:
17183           link to GLib
17184
17185 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17186
17187         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17188         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17189         * gst/gstutils.h:
17190         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17191           add tests that seem to show that the guint64/gdouble conversions
17192           are correct.
17193
17194 2005-12-02  Wim Taymans  <wim@fluendo.com>
17195
17196         * gst/gstregistry.c: (gst_registry_add_path):
17197         * gst/gstregistry.h:
17198         * gst/gstregistryxml.c:
17199         Fix docs again.
17200
17201 2005-12-02  Wim Taymans  <wim@fluendo.com>
17202
17203         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17204         (gst_util_uint64_scale_int):
17205         Small cleanup.
17206
17207         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17208         Add debug log line.
17209
17210         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17211         Add FIXME.
17212
17213 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17214
17215         * win32/MANIFEST:
17216         * win32/common/config.h:
17217         * win32/vs6/gstreamer.dsw:
17218         * win32/vs6/libgstcoreelements.dsp:
17219         * win32/vs6/libgstelements.dsp:
17220           renamed core elements plugin
17221
17222 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17223
17224         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17225         (get_candidates):
17226           do piece-wise major/minor comparison so 0.9 < 0.10
17227           also allow .exe extensions for tools
17228
17229 2005-12-02  Michael Smith  <msmith@fluendo.com>
17230
17231         * gst/gst.c:
17232           Escape a % to make gtkdoc happier; bug 322958.
17233
17234 === release 0.9.7 ===
17235
17236 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17237
17238         * configure.ac:
17239           releasing 0.9.7, "My Dog Has No Nose"
17240
17241 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17242
17243         * common/gst-xmlinspect.py:
17244         * configure.ac:
17245         * docs/libs/tmpl/gstdataprotocol.sgml:
17246         * docs/random/release:
17247         * po/af.po:
17248         * po/az.po:
17249         * po/bg.po:
17250         * po/ca.po:
17251         * po/cs.po:
17252         * po/de.po:
17253         * po/en_GB.po:
17254         * po/fr.po:
17255         * po/it.po:
17256         * po/nb.po:
17257         * po/nl.po:
17258         * po/ru.po:
17259         * po/sq.po:
17260         * po/sr.po:
17261         * po/sv.po:
17262         * po/tr.po:
17263         * po/uk.po:
17264         * po/vi.po:
17265         * win32/common/config.h:
17266         * win32/common/config.h.in:
17267         * win32/vs6/gst_inspect.dsp:
17268         * win32/vs6/gst_launch.dsp:
17269         * win32/vs6/libgstbase.dsp:
17270         * win32/vs6/libgstelements.dsp:
17271         * win32/vs6/libgstreamer.dsp:
17272         * win32/vs7/GStreamer.vcproj:
17273         * win32/vs7/gst-inspect.vcproj:
17274         * win32/vs7/gst-launch.vcproj:
17275         * win32/vs7/libgstbase.vcproj:
17276           bump GST_MAJORMINOR to 0.10
17277           reset libtool version
17278
17279 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17280
17281         * po/LINGUAS:
17282         * po/bg.po:
17283           Added Bulgarian translation by (Alexander Shopov)
17284
17285 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17286
17287         * tests/check/gst/gstplugin.c:
17288           fix test
17289
17290 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17291
17292         * common/gst-xmlinspect.py:
17293         * common/gtk-doc-plugins.mak:
17294         * configure.ac:
17295         * docs/Makefile.am:
17296         * docs/gst/Makefile.am:
17297         * docs/gst/gstreamer-docs.sgml:
17298         * docs/gst/gstreamer-sections.txt:
17299         * docs/gst/gstreamer.types:
17300         * docs/gst/gstreamer.types.in:
17301         * docs/plugins/Makefile.am:
17302         * docs/plugins/gstreamer-plugins-docs.sgml:
17303         * docs/plugins/gstreamer-plugins-sections.txt:
17304         * docs/plugins/gstreamer-plugins.types:
17305         * docs/plugins/inspect.stamp:
17306         * docs/plugins/inspect/plugin-coreelements.xml:
17307         * docs/plugins/inspect/plugin-coreindexers.xml:
17308         * docs/plugins/scanobj-build.stamp:
17309         * gstreamer.spec.in:
17310         * plugins/elements/Makefile.am:
17311         * plugins/elements/gstelements.c:
17312         * plugins/elements/gstfakesink.c:
17313         * plugins/elements/gstfakesrc.c:
17314         * plugins/elements/gstfilesink.c:
17315         * plugins/elements/gstfilesrc.c:
17316         * plugins/elements/gstqueue.c:
17317         * plugins/indexers/Makefile.am:
17318         * plugins/indexers/gstindexers.c:
17319           document core plugins in a separate document just like all the
17320           others
17321           rename these plugins to something starting with core
17322
17323 2005-12-01  Andy Wingo  <wingo@pobox.com>
17324
17325         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17326         padding here before, but it missed the commit.
17327
17328 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17329
17330         * libs/gst/controller/gstinterpolation.c:
17331           whitespace prices have crashed, we should feel free to use some now
17332           use gst_guint64_to_gdouble
17333
17334 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17335
17336         * libs/gst/controller/gstcontroller.c:
17337         * libs/gst/controller/gsthelper.c:
17338         * libs/gst/controller/gstinterpolation.c:
17339         * libs/gst/controller/lib.c:
17340           wrap config.h include
17341
17342 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17343
17344         * docs/gst/gstreamer-sections.txt:
17345           update docs
17346
17347 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17348
17349         * plugins/elements/gstelements.c:
17350         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17351         (gst_fd_sink__class_init), (gst_fd_sink__init),
17352         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17353         (gst_fd_sink__get_property):
17354         * plugins/elements/gstfdsink.h:
17355         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17356         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17357         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17358         (gst_fd_src_unlock), (gst_fd_src_set_property),
17359         (gst_fd_src_get_property), (gst_fd_src_create),
17360         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17361         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17362         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17363         (gst_fd_src_uri_handler_init):
17364         * plugins/elements/gstfdsrc.h:
17365         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17366           more anal cleanup
17367
17368 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17369
17370         * docs/gst/Makefile.am:
17371         * docs/gst/gstreamer.types.in:
17372         * gst/Makefile.am:
17373           fix the docs build
17374
17375 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17376
17377         * configure.ac:
17378         * gst/Makefile.am:
17379         * gst/gst.c:
17380         * gst/gstplugin.h:
17381         * gst/gstregistry.h:
17382         * tests/benchmarks/complexity.c:
17383         * tests/benchmarks/mass-elements.c:
17384         * tests/check/Makefile.am:
17385         * tools/Makefile.am:
17386         * tools/gst-inspect.c:
17387         * tools/gst-xmlinspect.c:
17388           various fixes to make
17389           --disable-nls --disable-registry --disable-loadsave
17390           --disable-parse --disable-gst-debug
17391           work and get the core .so down to 360444 bytes after stripping
17392
17393 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17394
17395         * Makefile.am:
17396         * configure.ac:
17397           descend into tests
17398         * docs/random/thomasvs/TODO:
17399         * tests/Makefile.am:
17400         * tests/README:
17401           add a README
17402
17403 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17404
17405         * win32/GStreamer.vcproj:
17406         * win32/MANIFEST:
17407         * win32/Makefile:
17408         * win32/Makefile.inspect:
17409         * win32/Makefile.launch:
17410         * win32/Makefile.register:
17411         * win32/README.txt:
17412         * win32/gst-inspect.vcproj:
17413         * win32/gst-launch.vcproj:
17414         * win32/gst-register.vcproj:
17415         * win32/gstelements.vcproj:
17416         * win32/gstgetbits.def:
17417         * win32/gstgetbits.vcproj:
17418         * win32/gstreamer-dbg.def:
17419         * win32/gstreamer.def:
17420         * win32/libgstbase.def:
17421         * win32/libgstbase.vcproj:
17422         * win32/link_oldruntime.c:
17423         * win32/mman.c:
17424         * win32/mman.h:
17425         * win32/mman.inl:
17426         * win32/msvc71.sln:
17427           move even more stuff, win32/ is nice and clean now
17428
17429 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17430
17431         * libs/gst/control/.cvsignore:
17432         * win32/MANIFEST:
17433         * win32/config.h:
17434         * win32/dirent.c:
17435         * win32/dirent.h:
17436         * win32/gstbytestream.def:
17437         * win32/gstbytestream.vcproj:
17438         * win32/gstconfig.h:
17439         * win32/gstenumtypes.c:
17440         * win32/gstenumtypes.h:
17441         * win32/gstoptimalscheduler.vcproj:
17442         * win32/gstversion.h:
17443         * win32/gtchar.h:
17444         * win32/testsuite/bins.vcproj:
17445         * win32/testsuite/bytestream.vcproj:
17446         * win32/testsuite/caps.vcproj:
17447         * win32/testsuite/cleanup.vcproj:
17448         * win32/testsuite/clock.vcproj:
17449         * win32/testsuite/debug.vcproj:
17450         * win32/testsuite/dlopen.vcproj:
17451         * win32/testsuite/dynparams.vcproj:
17452         * win32/testsuite/elements.vcproj:
17453         * win32/testsuite/ghostpads.vcproj:
17454         * win32/testsuite/indexers.vcproj:
17455         * win32/testsuite/negotiation.vcproj:
17456         * win32/testsuite/parse.vcproj:
17457         * win32/testsuite/plugin.vcproj:
17458         * win32/testsuite/refcounting.vcproj:
17459         * win32/testsuite/schedulers.vcproj:
17460         * win32/testsuite/states.vcproj:
17461         * win32/testsuite/tags.vcproj:
17462         * win32/testsuite/threads.vcproj:
17463           remove old win32 stuff that isn't maintained and should be
17464           reorganized
17465
17466 2005-11-30  Andy Wingo  <wingo@pobox.com>
17467
17468         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17469         loading the gst.interfaces python module bork.
17470
17471         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17472         available since GLib 2.2. Fixes #318031.
17473
17474 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17475
17476         * Makefile.am:
17477         * check/.cvsignore:
17478         * check/Makefile.am:
17479         * check/elements/.cvsignore:
17480         * check/elements/fakesrc.c:
17481         * check/elements/fdsrc.c:
17482         * check/elements/identity.c:
17483         * check/generic/.cvsignore:
17484         * check/generic/states.c:
17485         * check/gst-libs/.cvsignore:
17486         * check/gst-libs/controller.c:
17487         * check/gst-libs/gdp.c:
17488         * check/gst/.cvsignore:
17489         * check/gst/capslist.h:
17490         * check/gst/gst.c:
17491         * check/gst/gstbin.c:
17492         * check/gst/gstbuffer.c:
17493         * check/gst/gstbus.c:
17494         * check/gst/gstcaps.c:
17495         * check/gst/gstelement.c:
17496         * check/gst/gstevent.c:
17497         * check/gst/gstghostpad.c:
17498         * check/gst/gstiterator.c:
17499         * check/gst/gstmessage.c:
17500         * check/gst/gstminiobject.c:
17501         * check/gst/gstobject.c:
17502         * check/gst/gstpad.c:
17503         * check/gst/gstpipeline.c:
17504         * check/gst/gstplugin.c:
17505         * check/gst/gstsegment.c:
17506         * check/gst/gststructure.c:
17507         * check/gst/gstsystemclock.c:
17508         * check/gst/gsttag.c:
17509         * check/gst/gstutils.c:
17510         * check/gst/gstvalue.c:
17511         * check/net/.cvsignore:
17512         * check/net/gstnetclientclock.c:
17513         * check/net/gstnettimeprovider.c:
17514         * check/pipelines/.cvsignore:
17515         * check/pipelines/cleanup.c:
17516         * check/pipelines/simple_launch_lines.c:
17517         * check/pipelines/stress.c:
17518         * check/states/.cvsignore:
17519         * check/states/sinks.c:
17520         * configure.ac:
17521         * examples/Makefile.am:
17522         * examples/appreader/.cvsignore:
17523         * examples/appreader/Makefile.am:
17524         * examples/appreader/appreader.c:
17525         * examples/controller/.cvsignore:
17526         * examples/controller/Makefile.am:
17527         * examples/controller/audio-example.c:
17528         * examples/cutter/.cvsignore:
17529         * examples/cutter/Makefile.am:
17530         * examples/cutter/cutter.c:
17531         * examples/cutter/cutter.h:
17532         * examples/events/Makefile.am:
17533         * examples/events/seek.c:
17534         * examples/helloworld/.cvsignore:
17535         * examples/helloworld/Makefile.am:
17536         * examples/helloworld/helloworld.c:
17537         * examples/helloworld2/.cvsignore:
17538         * examples/helloworld2/Makefile.am:
17539         * examples/helloworld2/helloworld2.c:
17540         * examples/launch/.cvsignore:
17541         * examples/launch/Makefile.am:
17542         * examples/launch/mp3parselaunch.c:
17543         * examples/launch/mp3play:
17544         * examples/manual/.cvsignore:
17545         * examples/manual/Makefile.am:
17546         * examples/manual/extract.pl:
17547         * examples/metadata/Makefile.am:
17548         * examples/metadata/read-metadata.c:
17549         * examples/mixer/.cvsignore:
17550         * examples/mixer/Makefile.am:
17551         * examples/mixer/mixer.c:
17552         * examples/mixer/mixer.h:
17553         * examples/pingpong/.cvsignore:
17554         * examples/pingpong/Makefile.am:
17555         * examples/pingpong/pingpong.c:
17556         * examples/plugins/.cvsignore:
17557         * examples/plugins/Makefile.am:
17558         * examples/plugins/example.c:
17559         * examples/plugins/example.h:
17560         * examples/pwg/.cvsignore:
17561         * examples/pwg/Makefile.am:
17562         * examples/pwg/extract.pl:
17563         * examples/queue/.cvsignore:
17564         * examples/queue/Makefile.am:
17565         * examples/queue/queue.c:
17566         * examples/queue2/.cvsignore:
17567         * examples/queue2/Makefile.am:
17568         * examples/queue2/queue2.c:
17569         * examples/queue3/.cvsignore:
17570         * examples/queue3/Makefile.am:
17571         * examples/queue3/queue3.c:
17572         * examples/queue4/.cvsignore:
17573         * examples/queue4/Makefile.am:
17574         * examples/queue4/queue4.c:
17575         * examples/retag/.cvsignore:
17576         * examples/retag/Makefile.am:
17577         * examples/retag/retag.c:
17578         * examples/retag/transcode.c:
17579         * examples/thread/.cvsignore:
17580         * examples/thread/Makefile.am:
17581         * examples/thread/thread.c:
17582         * examples/typefind/.cvsignore:
17583         * examples/typefind/Makefile.am:
17584         * examples/typefind/typefind.c:
17585         * examples/xml/.cvsignore:
17586         * examples/xml/Makefile.am:
17587         * examples/xml/createxml.c:
17588         * examples/xml/runxml.c:
17589         * tests/Makefile.am:
17590         * tests/check/Makefile.am:
17591         * testsuite/.cvsignore:
17592         * testsuite/Makefile.am:
17593         * testsuite/Rules:
17594         * testsuite/caps/.cvsignore:
17595         * testsuite/caps/Makefile.am:
17596         * testsuite/caps/app_fixate.c:
17597         * testsuite/caps/audioscale.c:
17598         * testsuite/caps/caps.c:
17599         * testsuite/caps/caps.h:
17600         * testsuite/caps/caps_strings:
17601         * testsuite/caps/compatibility.c:
17602         * testsuite/caps/deserialize.c:
17603         * testsuite/caps/enumcaps.c:
17604         * testsuite/caps/eratosthenes.c:
17605         * testsuite/caps/filtercaps.c:
17606         * testsuite/caps/fixed.c:
17607         * testsuite/caps/fraction-convert.c:
17608         * testsuite/caps/fraction-multiply-and-zero.c:
17609         * testsuite/caps/intersect2.c:
17610         * testsuite/caps/intersection.c:
17611         * testsuite/caps/normalisation.c:
17612         * testsuite/caps/random.c:
17613         * testsuite/caps/renegotiate.c:
17614         * testsuite/caps/sets.c:
17615         * testsuite/caps/simplify.c:
17616         * testsuite/caps/string-conversions.c:
17617         * testsuite/caps/structure.c:
17618         * testsuite/caps/subtract.c:
17619         * testsuite/caps/union.c:
17620         * testsuite/debug/.cvsignore:
17621         * testsuite/debug/Makefile.am:
17622         * testsuite/debug/category.c:
17623         * testsuite/debug/commandline.c:
17624         * testsuite/debug/global.c:
17625         * testsuite/debug/output.c:
17626         * testsuite/debug/printf_extension.c:
17627         * testsuite/dlopen/.cvsignore:
17628         * testsuite/dlopen/Makefile.am:
17629         * testsuite/dlopen/dlopen_gst.c:
17630         * testsuite/dlopen/loadgst.c:
17631         * testsuite/elements/.cvsignore:
17632         * testsuite/elements/Makefile.am:
17633         * testsuite/elements/gst-inspect-check.in:
17634         * testsuite/elements/struct_i386.h:
17635         * testsuite/elements/struct_size.c:
17636         * testsuite/indexers/.cvsignore:
17637         * testsuite/indexers/Makefile.am:
17638         * testsuite/indexers/cache1.c:
17639         * testsuite/indexers/indexdump.c:
17640         * testsuite/parse/.cvsignore:
17641         * testsuite/parse/Makefile.am:
17642         * testsuite/parse/parse1.c:
17643         * testsuite/parse/parse2.c:
17644         * testsuite/plugin/.cvsignore:
17645         * testsuite/plugin/Makefile.am:
17646         * testsuite/plugin/README:
17647         * testsuite/plugin/dynamic.c:
17648         * testsuite/plugin/linked.c:
17649         * testsuite/plugin/loading.c:
17650         * testsuite/plugin/registry.c:
17651         * testsuite/plugin/static.c:
17652         * testsuite/plugin/static2.c:
17653         * testsuite/plugin/testplugin.c:
17654         * testsuite/plugin/testplugin2.c:
17655         * testsuite/plugin/testplugin2_s.c:
17656         * testsuite/plugin/testplugin_s.c:
17657         * testsuite/refcounting/.cvsignore:
17658         * testsuite/refcounting/Makefile.am:
17659         * testsuite/refcounting/bin.c:
17660         * testsuite/refcounting/element.c:
17661         * testsuite/refcounting/element_pad.c:
17662         * testsuite/refcounting/mainloop.c:
17663         * testsuite/refcounting/mem.c:
17664         * testsuite/refcounting/mem.h:
17665         * testsuite/refcounting/object.c:
17666         * testsuite/refcounting/pad.c:
17667         * testsuite/refcounting/sched.c:
17668         * testsuite/refcounting/thread.c:
17669         * testsuite/states/.cvsignore:
17670         * testsuite/states/Makefile.am:
17671         * testsuite/states/bin.c:
17672         * testsuite/states/locked.c:
17673         * testsuite/states/parent.c:
17674         * testsuite/threads/.cvsignore:
17675         * testsuite/threads/159566.c:
17676         * testsuite/threads/159852.c:
17677         * testsuite/threads/Makefile.am:
17678         * testsuite/threads/queue.c:
17679         * testsuite/threads/signals.c:
17680         * testsuite/threads/staticrec.c:
17681         * testsuite/threads/thread.c:
17682         * testsuite/threads/threadb.c:
17683         * testsuite/threads/threadc.c:
17684         * testsuite/threads/threadd.c:
17685         * testsuite/threads/threade.c:
17686         * testsuite/threads/threadf.c:
17687         * testsuite/threads/threadg.c:
17688         * testsuite/threads/threadh.c:
17689         * testsuite/threads/threadi.c:
17690           move all of these under tests
17691
17692 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17693
17694         * configure.ac:
17695         * tests/Makefile.am:
17696           fix distcheck
17697
17698 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17699
17700         * docs/gst/gstreamer-sections.txt:
17701         * tests/sched/.cvsignore:
17702         * tests/sched/Makefile.am:
17703         * tests/sched/cases/(fs-fs).xml:
17704         * tests/sched/cases/(fs-i-fs).xml:
17705         * tests/sched/cases/(fs-i-i-fs).xml:
17706         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17707         * tests/sched/dynamic-pipeline.c:
17708         * tests/sched/interrupt1.c:
17709         * tests/sched/interrupt2.c:
17710         * tests/sched/interrupt3.c:
17711         * tests/sched/runtestcases:
17712         * tests/sched/runxml.c:
17713         * tests/sched/sched-stress.c:
17714         * tests/sched/sort.c:
17715         * tests/sched/testcases:
17716         * tests/sched/testcases1.tc:
17717         * tests/seeking/.cvsignore:
17718         * tests/seeking/Makefile.am:
17719         * tests/seeking/seeking1.c:
17720         * tests/threadstate/.cvsignore:
17721         * tests/threadstate/Makefile.am:
17722         * tests/threadstate/test1.c:
17723         * tests/threadstate/test2.c:
17724         * tests/threadstate/threadstate1.c:
17725         * tests/threadstate/threadstate2.c:
17726         * tests/threadstate/threadstate3.c:
17727         * tests/threadstate/threadstate4.c:
17728         * tests/threadstate/threadstate5.c:
17729           remove obsolete tests
17730         * configure.ac:
17731         * tests/bench-complexity.scm:
17732         * tests/bench-mass_elements.scm:
17733         * tests/complexity.c:
17734         * tests/complexity.gnuplot:
17735         * tests/instantiate/.cvsignore:
17736         * tests/instantiate/Makefile.am:
17737         * tests/instantiate/caps.c:
17738         * tests/mass_elements.c:
17739         * tests/network-clock-utils.scm:
17740         * tests/network-clock.scm:
17741         * tests/plot-data:
17742         First pass at cleaning up tests/ dir before moving the rest
17743         Combined with CVS surgery
17744
17745 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17746
17747         * po/POTFILES.in:
17748           queue has moved, update
17749
17750 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17751
17752         * docs/gst/gstreamer-sections.txt:
17753           remove double entries from the docs
17754         * gst/gst_private.h:
17755         * gst/gstinfo.c: (_gst_debug_init):
17756           remove the THREAD debug category
17757         * gst/Makefile.am:
17758         * gst/gstqueue.c:
17759         * gst/gstqueue.h:
17760         * docs/gst/gstreamer.types:
17761         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17762         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17763           completely move queue and fix up debugging categories
17764
17765 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17766
17767         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17768           make initialization portable, using LL is not
17769
17770 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17771
17772         * win32/common/gstconfig.h:
17773           add large padding
17774
17775 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17776
17777         * win32/common/libgstreamer.def:
17778           rename symbols; sort base section
17779
17780 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17781
17782         * gst/gstclock.c: (do_linear_regression):
17783           remove crack non-portable handrolled DEBUG macro
17784
17785 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17786
17787         * docs/random/release:
17788           update notes
17789         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17790         (gst_object_flags_get_type), (register_gst_bin_flags),
17791         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17792         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17793         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17794         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17795         (gst_caps_flags_get_type), (register_gst_clock_return),
17796         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17797         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17798         (gst_clock_flags_get_type), (register_gst_state),
17799         (gst_state_get_type), (register_gst_state_change_return),
17800         (gst_state_change_return_get_type), (register_gst_state_change),
17801         (gst_state_change_get_type), (register_gst_element_flags),
17802         (gst_element_flags_get_type), (register_gst_core_error),
17803         (gst_core_error_get_type), (register_gst_library_error),
17804         (gst_library_error_get_type), (register_gst_resource_error),
17805         (gst_resource_error_get_type), (register_gst_stream_error),
17806         (gst_stream_error_get_type), (register_gst_event_type_flags),
17807         (gst_event_type_flags_get_type), (register_gst_event_type),
17808         (gst_event_type_get_type), (register_gst_seek_type),
17809         (gst_seek_type_get_type), (register_gst_seek_flags),
17810         (gst_seek_flags_get_type), (register_gst_format),
17811         (gst_format_get_type), (register_gst_index_certainty),
17812         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17813         (gst_index_entry_type_get_type),
17814         (register_gst_index_lookup_method),
17815         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17816         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17817         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17818         (gst_index_flags_get_type), (register_gst_debug_level),
17819         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17820         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17821         (gst_iterator_result_get_type), (register_gst_iterator_item),
17822         (gst_iterator_item_get_type), (register_gst_message_type),
17823         (gst_message_type_get_type), (register_gst_mini_object_flags),
17824         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17825         (gst_pad_link_return_get_type), (register_gst_flow_return),
17826         (gst_flow_return_get_type), (register_gst_activate_mode),
17827         (gst_activate_mode_get_type), (register_gst_pad_direction),
17828         (gst_pad_direction_get_type), (register_gst_pad_flags),
17829         (gst_pad_flags_get_type), (register_gst_pad_presence),
17830         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17831         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17832         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17833         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17834         (gst_plugin_flags_get_type), (register_gst_rank),
17835         (gst_rank_get_type), (register_gst_query_type),
17836         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17837         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17838         (gst_tag_flag_get_type), (register_gst_task_state),
17839         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17840         (gst_alloc_trace_flags_get_type),
17841         (register_gst_type_find_probability),
17842         (gst_type_find_probability_get_type), (register_gst_uri_type),
17843         (gst_uri_type_get_type), (register_gst_parse_error),
17844         (gst_parse_error_get_type):
17845         * win32/common/gstenumtypes.h:
17846         * win32/common/gstversion.h:
17847           update visual studio generated files
17848
17849 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17850
17851         * win32/vs6/libgstbase.dsp:
17852         * win32/vs6/libgstelements.dsp:
17853           update project files for new locations
17854
17855 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17856
17857         * Makefile.am:
17858           remove some files
17859         * README:
17860           reinstate and update
17861         * DEVEL:
17862         * REQUIREMENTS:
17863           removed
17864         * LICENSE:
17865         * docs/random/LICENSE:
17866           moved to random
17867
17868 2005-11-30  Edward Hervey  <edward@fluendo.com>
17869
17870         * gst/gsttypefind.c: (gst_type_find_register):
17871         * gst/gsttypefind.h:
17872         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17873         (gst_type_find_factory_dispose):
17874         * gst/gsttypefindfactory.h:
17875         Fix memory leak in GstTypeFindFactory.
17876
17877 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17878
17879         * gst/gst.c:
17880         * plugins/elements/Makefile.am:
17881         * plugins/elements/gstelements.c:
17882         * plugins/elements/gstqueue.c:
17883           move queue from core to the elements plugin
17884
17885 2005-11-29  Andy Wingo  <wingo@pobox.com>
17886
17887         * libs/gst/base/gstbasetransform.h: 
17888         * libs/gst/base/gstbasesrc.h: 
17889         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17890
17891         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17892         of pointers by which to pad very extensible base classes (like the
17893         ones in libs/gst/base).
17894
17895 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17896
17897         * docs/gst/gstreamer-docs.sgml:
17898         * docs/gst/gstreamer-sections.txt:
17899         * docs/libs/gstreamer-libs-docs.sgml:
17900         * docs/libs/gstreamer-libs-sections.txt:
17901           moving documentation from core to lib
17902
17903 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17904
17905         * check/Makefile.am:
17906         * configure.ac:
17907         * docs/gst/Makefile.am:
17908         * gst/Makefile.am:
17909         * gst/base/.cvsignore:
17910         * gst/base/Makefile.am:
17911         * gst/base/README:
17912         * gst/base/gstadapter.c:
17913         * gst/base/gstadapter.h:
17914         * gst/base/gstbasesink.c:
17915         * gst/base/gstbasesink.h:
17916         * gst/base/gstbasesrc.c:
17917         * gst/base/gstbasesrc.h:
17918         * gst/base/gstbasetransform.c:
17919         * gst/base/gstbasetransform.h:
17920         * gst/base/gstcollectpads.c:
17921         * gst/base/gstcollectpads.h:
17922         * gst/base/gstpushsrc.c:
17923         * gst/base/gstpushsrc.h:
17924         * gst/base/gsttypefindhelper.c:
17925         * gst/base/gsttypefindhelper.h:
17926         * gst/check/Makefile.am:
17927         * gst/check/gstcheck.c:
17928         * gst/check/gstcheck.h:
17929         * gst/net/Makefile.am:
17930         * gst/net/gstnet.h:
17931         * gst/net/gstnetclientclock.c:
17932         * gst/net/gstnetclientclock.h:
17933         * gst/net/gstnettimepacket.c:
17934         * gst/net/gstnettimepacket.h:
17935         * gst/net/gstnettimeprovider.c:
17936         * gst/net/gstnettimeprovider.h:
17937         * libs/gst/Makefile.am:
17938         * libs/gst/base/Makefile.am:
17939         * libs/gst/base/gstbasetransform.c:
17940         * libs/gst/check/Makefile.am:
17941         * plugins/elements/Makefile.am:
17942         * po/POTFILES.in:
17943           CVS surgery + support to move base, check, and net out of gst
17944           and into libs/gst
17945
17946 2005-11-29  Andy Wingo  <wingo@pobox.com>
17947
17948         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17949
17950         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17951         padding.
17952
17953         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17954
17955         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17956
17957         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17958
17959         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17960         padding; reduces object size by about 30%. We don't expect
17961         anything else to go into gstobject.
17962
17963         * gst/gstminiobject.h (struct _GstMiniObject)
17964         (struct _GstMiniObjectClass): Only one pointer of padding; the
17965         payload is only a pointer and two ints anyway. For the class there
17966         are only two methods as well.
17967         
17968         * gst/gstelement.h (struct _GstElementClass): Removed
17969         the state_changed signal callback, it is not used.
17970
17971 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17972
17973         * docs/gst/gstreamer.types:
17974           fix includes, though they are a little dinky
17975
17976 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17977
17978         * check/Makefile.am:
17979           look in the right place for elements, a lot more chance of
17980           success
17981         * gst/Makefile.am:
17982           remove indexers and elements subdirs
17983         * plugins/Makefile.am:
17984           make indexers conditional
17985
17986 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17987
17988         * Makefile.am:
17989         * configure.ac:
17990         * plugins/elements/Makefile.am:
17991         * plugins/elements/gstcapsfilter.c:
17992         * plugins/elements/gstfilesink.c:
17993         * plugins/elements/gstfilesrc.c:
17994         * plugins/elements/gstidentity.c:
17995         * plugins/indexers/Makefile.am:
17996           do CVS surgery and related build fixery to move elements
17997           and indexers in a new gstreamer/plugins directory, out of the
17998           gst/ directory
17999
18000 2005-11-29  Andy Wingo  <wingo@pobox.com>
18001
18002         * check/Makefile.am:
18003         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18004         * pkgconfig/gstreamer-net.pc.in:
18005         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18006         #322257.
18007
18008 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18009
18010         * tools/Makefile.am:
18011         * tools/gst-complete.1.in:
18012         * tools/gst-complete.c:
18013         * tools/gst-compprep.1.in:
18014         * tools/gst-compprep.c:
18015           removing -compprep and -complete
18016
18017 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18018
18019         * gst/gstevent.c: (gst_event_new_new_segment),
18020         (gst_event_parse_new_segment):
18021         * gst/gstevent.h:
18022           fix #320529 - clean up new_segment API and structure.
18023           Let's hope everyone was using the methods, and not the structure.
18024
18025 2005-11-29  Edward Hervey  <edward@fluendo.com>
18026
18027         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18028         (gst_base_sink_event), (gst_base_sink_do_sync),
18029         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18030         Properly handle non GST_FORMAT_TIME segment
18031         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18032         Properly handle non GST_FORMAT_TIME segment
18033         * gst/gstsegment.c:
18034         This function is valid if the accumulator is 0 and the format
18035         is different from the requested format.
18036         
18037 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18038
18039         * docs/gst/gstreamer-sections.txt:
18040         Add gst_query_new_seeking and gst_query_parse_seeking to the
18041         docs.
18042
18043 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18044
18045         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18046           Treat a pad alloc with new caps the same as if we were not
18047           negotiated, in order to allow a changing upstream output
18048           to produce a new format of data.
18049
18050 2005-11-29  Edward Hervey  <edward@fluendo.com>
18051
18052         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18053         (gst_base_transform_event), (gst_base_transform_eventfunc):
18054         The event virtual method is now properly implemented, with a default
18055         handler
18056         Sub classes should call the parent_class event method. They should
18057         return FALSE if they had a problem handling the given event, or don't
18058         want GstBaseTransform to send that even downstream
18059         * gst/elements/gstidentity.c: (gst_identity_class_init),
18060         (gst_identity_init), (gst_identity_event),
18061         (gst_identity_transform_ip), (gst_identity_set_property),
18062         (gst_identity_get_property):
18063         * gst/elements/gstidentity.h:
18064         Added the single-segment boolean property.
18065         If set to TRUE, it will output a single segment of data, starting from
18066         0, will eat up all incoming newsegment, and modify the timestamp of the
18067         buffers accordingly
18068
18069 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
18070
18071         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18072           Don't ref NULL target pad (#322751). Improve docs.
18073
18074 2005-11-29  Michael Smith  <msmith@fluendo.com>
18075
18076         * gst/gstregistryxml.c: (load_plugin):
18077           Don't crash if we failed to load a feature from a plugin. 
18078
18079 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18080
18081         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18082         (GST_START_TEST):
18083           use more check API and less GLib API
18084
18085 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18086
18087         * Makefile.am:
18088           don't run checks if we don't have check
18089         * common/check.mak:
18090           remove the registry when running make torture
18091         * docs/gst/gstreamer-sections.txt:
18092           remove second multiply
18093         * gst/gstqueue.c: (gst_queue_loop):
18094           fix a compile warning when disabling debug
18095
18096 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18097
18098         * gst/gstinfo.h:
18099         Hey! Let's print the pad name if the pointer != NULL instead
18100         of when it == NULL :-)
18101
18102 2005-11-28  Wim Taymans  <wim@fluendo.com>
18103
18104         * check/gst/gstutils.c: (GST_START_TEST):
18105         Updated check, add some scaling accuracy checking code.
18106
18107         * gst/gstutils.c: (gst_util_div128_64),
18108         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18109         (gst_util_uint64_scale_int):
18110         Fix 6 times faster division code. Optimize for common 
18111         1/1 and less common X/1 cases.
18112
18113 2005-11-28  Wim Taymans  <wim@fluendo.com>
18114
18115         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18116         More checks.
18117
18118         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18119         (do_linear_regression), (gst_clock_add_observation):
18120         Cleanups.
18121         Release lock when the clock cannot be slaved.
18122         Catch the case where the regression returned an invalid denominator.
18123
18124         * gst/gstutils.c: (gst_util_div128_64_iterate),
18125         (gst_util_div128_64), (gst_util_uint64_scale_int64),
18126         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18127         Add protentially more performant non-iterative 128/64 divide function
18128         that unfortunatly does not work yet.
18129         Shortcut the trivial 0/X = 0 case.
18130         Remove the warnings on overflow.
18131
18132 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18133
18134         * gst/gstplugin.c: (gst_plugin_register_func):
18135           everything causing a plugin not to load should be at least a WARNING
18136
18137 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
18138
18139         * docs/random/ensonic/dparams.txt:
18140           some TODOs for the next dev cycle
18141         * libs/gst/controller/gstcontroller.c:
18142         (gst_controlled_property_set_interpolation_mode),
18143         (gst_controlled_property_new):
18144         * libs/gst/controller/gstcontroller.h:
18145           use base type to assign acccessor functions
18146
18147 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18148
18149         * check/Makefile.am:
18150         Oops, that should have been top_srcdir
18151
18152 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18153
18154         * check/Makefile.am:
18155         * check/elements/fdsrc.c: (GST_START_TEST):
18156         Use a cmdline define to specify the location of a file to use for
18157         testing, to avoid breaking distcheck.
18158
18159 2005-11-28  Andy Wingo  <wingo@pobox.com>
18160
18161         * gst/gstpad.c (fixate_value): Use array functions for arrays.
18162
18163 2005-11-28  Edward Hervey  <edward@fluendo.com>
18164
18165         * tools/gst-launch.c: (main):
18166         Clarify the output strings, makes it easier to translate.
18167         Fixes #322626
18168
18169 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18170
18171         * gst/Makefile.am:
18172           don't try and build net if we don't even have <sys/socket.h>
18173
18174 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
18175
18176         * check/Makefile.am:
18177         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18178         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18179           Add tests for fdsrc seekability
18180
18181         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18182         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18183         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18184         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18185         * gst/elements/gstfdsrc.h:
18186           fdsrc should not be a 'live' source.
18187           Implement seeking on seekable fd's.
18188
18189         * gst/gstquery.c: (gst_query_new_seeking),
18190         (gst_query_parse_seeking):
18191         * gst/gstquery.h:
18192           Implement SEEKING query functions: 
18193             *_new_seeking and *_parse_seeking
18194
18195 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
18196
18197         * gst/gstelement.c: (gst_element_dispose):
18198           don't loop forever
18199
18200         * gst/gstiterator.c:
18201         * gst/gststructure.c:
18202           doc fixes
18203
18204         * libs/gst/controller/gstcontroller.c:
18205         (gst_controlled_property_set_interpolation_mode):
18206         * libs/gst/controller/gstcontroller.h:
18207         * libs/gst/controller/gstinterpolation.c:
18208         (interpolate_none_get_enum_value_array):
18209           support controlling enums
18210
18211 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18212
18213         * gst/gstvalue.c:
18214           Improve documentation for gst_value_union().
18215
18216         * gst/gstvalue.h:
18217           Change return value for union, intersect and subtract functions
18218           from gint to gboolean.
18219
18220 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18221
18222         * gst/gstvalue.c: (gst_value_serialize_any_list),
18223         (gst_value_transform_any_list_string),
18224         (gst_value_deserialize_list), (gst_value_deserialize_array),
18225         (gst_value_set_int_range), (gst_value_deserialize_int_range),
18226         (gst_value_set_double_range), (gst_value_deserialize_double_range),
18227         (gst_value_set_fraction_range_full),
18228         (gst_value_deserialize_fraction_range),
18229         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18230         (gst_value_deserialize_boolean),
18231         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18232         (gst_value_serialize_float), (gst_value_deserialize_float),
18233         (gst_string_wrap), (gst_value_deserialize_string),
18234         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18235         (gst_value_union_int_range_int_range),
18236         (gst_value_intersect_int_range_int_range),
18237         (gst_value_intersect_double_range_double_range),
18238         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18239         (gst_value_subtract_int_range_int_range),
18240         (gst_value_subtract_double_double_range),
18241         (gst_value_subtract_double_range_double_range),
18242         (gst_value_deserialize_fraction):
18243         * gst/gstvalue.h:
18244           Use gint, gdouble and gchar in our API instead of int, double and
18245           char (and make usage in gstvalue.c more consistent).
18246
18247 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18248
18249         * check/Makefile.am:
18250         * libs/gst/controller/Makefile.am:
18251         * libs/gst/dataprotocol/Makefile.am:
18252           fix up Makefile.am and remove GST_ENABLE_NEW
18253
18254 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18255
18256         * configure.ac:
18257         * gst/Makefile.am:
18258         * gst/base/Makefile.am:
18259         * gst/check/Makefile.am:
18260         * gst/elements/Makefile.am:
18261         * gst/net/Makefile.am:
18262           update LDFLAGS use some more
18263
18264 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18265
18266         * common/m4/gst-doc.m4:
18267           Fixes #312589
18268
18269 2005-11-26  Edward Hervey  <edward@fluendo.com>
18270
18271         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18272         This shouldn't issue a g_warning since it returns NULL if it
18273         couldn't find the plugin, and all functions using this behave
18274         properly on a NULL return. Switching to a GST_WARNING.
18275
18276 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
18277
18278         * gst/gstbin.c: (gst_bin_handle_message_func):
18279         Don't leak clock messages.
18280
18281 2005-11-25  Wim Taymans  <wim@fluendo.com>
18282
18283         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18284         (gst_util_uint64_scale_int):
18285         Optimisations, remove unneeded vars.
18286
18287 2005-11-25  Wim Taymans  <wim@fluendo.com>
18288
18289         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18290         Added more checks for the high precision uint64 cases.
18291
18292         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18293         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18294         Implement high precision (guint64 * guint64) / guint64.
18295
18296 2005-11-24  Wim Taymans  <wim@fluendo.com>
18297
18298         * gst/base/gstbasesrc.c: (gst_base_src_query):
18299         Fix wrong percentage query.
18300
18301         * gst/gstutils.c: (gst_util_uint64_scale),
18302         (gst_util_uint64_scale_int):
18303         Add some more common cases that can be handled 
18304         efficiently to _scale.
18305
18306 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18307
18308         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18309         (gst_mini_object_suite):
18310           don't use check calls from threads; check probably isn't
18311           threadsafe and using a lock to make it threadsafe would
18312           defeat the purpose of this check
18313         * gst/check/gstcheck.c:
18314         * gst/check/gstcheck.h:
18315           use GST_DEBUG some more
18316
18317 2005-11-24  Wim Taymans  <wim@fluendo.com>
18318
18319         * gst/gstutils.c: (gst_util_uint64_scale),
18320         (gst_util_uint64_scale_int):
18321         Chain trivial case to _scale_int.
18322
18323 2005-11-24  Wim Taymans  <wim@fluendo.com>
18324
18325         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18326         Added test for scaling.
18327
18328         * gst/gstclock.h:
18329         Small doc fix.
18330
18331         * gst/gstutils.c: (gst_util_uint64_scale_int):
18332         Implemented high precision scaling code.
18333
18334 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18335
18336         * gst/gstinfo.h:
18337           do not crash on pad==NULL
18338
18339 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18340
18341         Patch by: Stefan Kost
18342
18343         * common/gtk-doc.mak:
18344         * docs/gst/Makefile.am:
18345         * docs/libs/Makefile.am:
18346           Fix distcheck issues for the libraries docs build
18347           Closes #319599.
18348
18349 2005-11-24  Michael Smith <msmith@fluendo.com>
18350
18351         * docs/manual/basics-helloworld.xml:
18352           Fix bug #315027: memory leak in example code in docs.
18353
18354 2005-11-24  Michael Smith <msmith@fluendo.com>
18355
18356         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18357           Unlock the PREROLL_LOCK in a failure case.
18358
18359 2005-11-24  Wim Taymans  <wim@fluendo.com>
18360
18361         * docs/gst/gstreamer-sections.txt:
18362         * gst/base/gstadapter.h:
18363         * gst/base/gstbasesink.h:
18364         * gst/base/gstbasesrc.h:
18365         * gst/base/gstbasetransform.h:
18366         * gst/base/gstpushsrc.h:
18367         * gst/elements/gstfakesink.h:
18368         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18369         * gst/elements/gstfakesrc.h:
18370         * gst/elements/gstfilesink.h:
18371         * gst/elements/gstfilesrc.h:
18372         * gst/gst.c:
18373         * gst/gstbin.c:
18374         * gst/gstbuffer.c: (_gst_buffer_copy):
18375         * gst/gstbus.h:
18376         * gst/gstcaps.c:
18377         * gst/gstchildproxy.c:
18378         * gst/gstclock.c:
18379         * gst/gstelement.c:
18380         * gst/gstelementfactory.c:
18381         * gst/gstelementfactory.h:
18382         * gst/gstevent.c:
18383         * gst/gstghostpad.h:
18384         * gst/gstindex.h:
18385         * gst/gstinterface.h:
18386         * gst/gstminiobject.c:
18387         * gst/gstminiobject.h:
18388         * gst/gstpad.c:
18389         * gst/gstpad.h:
18390         * gst/gstpadtemplate.h:
18391         * gst/gstpipeline.h:
18392         * gst/gstpluginfeature.h:
18393         * gst/gstquery.h:
18394         * gst/gstqueue.h:
18395         * gst/gsttaglist.c:
18396         * gst/gsttaglist.h:
18397         * gst/gsttagsetter.c:
18398         * gst/gsttagsetter.h:
18399         * gst/gsttrace.c:
18400         * gst/gsttrace.h:
18401         * gst/gsttypefind.h:
18402         * gst/gsturi.h:
18403         * gst/gstvalue.c:
18404         * gst/net/gstnetclientclock.c:
18405         * gst/net/gstnetclientclock.h:
18406         * gst/net/gstnettimepacket.c:
18407         * gst/net/gstnettimeprovider.c:
18408         * gst/net/gstnettimeprovider.h:
18409         Doc fixes.
18410
18411 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18412
18413         * configure.ac: back to HEAD
18414
18415 === release 0.9.6 ===
18416
18417 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18418
18419         * configure.ac:
18420           releasing 0.9.6, "Always On Time"
18421
18422 2005-11-23  Wim Taymans  <wim@fluendo.com>
18423
18424         * docs/gst/gstreamer-sections.txt:
18425         * gst/glib-compat.c:
18426         * gst/gsttagsetter.c:
18427         * gst/gstvalue.c:
18428         * gst/net/gstnetclientclock.c:
18429         * gst/net/gstnettimepacket.h:
18430         Doc updates.
18431
18432 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18433
18434         * docs/faq/using.xml:
18435         * docs/libs/tmpl/gstcontrol.sgml:
18436         * docs/manual/advanced-dparams.xml:
18437         * docs/manual/appendix-checklist.xml:
18438         * docs/manual/basics-elements.xml:
18439         * docs/pwg/other-source.xml:
18440         * docs/random/moving-plugins:
18441         * gst/gstpad.c:
18442         * tools/gst-launch.1.in:
18443           remove mentions of sinesrc
18444
18445 2005-11-23  Michael Smith <msmith@fluendo.com>
18446
18447         * docs/gst/gstreamer-sections.txt:
18448           Update for new API and API changes.
18449         * gst/gstobject.h:
18450           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18451         * gst/gstvalue.c:
18452           Documentation typo fix.
18453         * gst/net/gstnettimepacket.c:
18454           Documentation fixes for arguments.
18455
18456 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18457
18458         * gst/gststructure.c: (gst_structure_get_fraction),
18459         (gst_structure_parse_value),
18460         (gst_structure_fixate_field_nearest_fraction):
18461         * gst/gststructure.h:
18462         * gst/gstutils.c: (gst_util_uint64_scale_int):
18463         * gst/gstutils.h:
18464         * scripts/update-funcnames:
18465         API Changes. 
18466         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18467         Make gst_structure_fixate_field_nearest_fraction take a numerator
18468         and denominator argument instead of a GValue
18469         add gst_structure_get_fraction helper function.
18470
18471 2005-11-23  Wim Taymans  <wim@fluendo.com>
18472
18473         * docs/design/part-TODO.txt:
18474         Update TODO.
18475
18476         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18477         * gst/net/gstnetclientclock.h:
18478         Use parent fields for timeout and window_size.
18479
18480 2005-11-23  Andy Wingo  <wingo@pobox.com>
18481
18482         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18483         rate_num/rate_denom change.
18484
18485         * gst/net/gstnetclientclock.c
18486         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18487         OBJECT_LOCK. Don't call add_observation with the lock.
18488
18489         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18490         fraction.
18491         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18492         rate fraction.
18493         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18494         deal with rate as a fraction whose numerator and denominator are
18495         GstClockTime values.
18496         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18497         master; the other fields are protected by the SLAVE_LOCK.
18498         (do_linear_regression): Note that this must be called with the
18499         SLAVE_LOCK.
18500         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18501         OBJECT_LOCK. Call set_calibration instead of touching the
18502         variables directly.
18503         (gst_clock_set_property, gst_clock_get_property): Protect
18504         master/slave parameters with the SLAVE_LOCK.
18505
18506         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18507         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18508         note that all of the instance variables that add_observation and
18509         the set_master functions use are protected by that lock and not
18510         the OBJECT_LOCK.
18511         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18512
18513         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18514         the caller to take the object lock.
18515
18516 2005-11-23  Wim Taymans  <wim@fluendo.com>
18517
18518         * gst/gsterror.c: (_gst_core_errors_init):
18519         * gst/gsterror.h:
18520         Add error for clock stuff.
18521
18522         * gst/gstpipeline.c: (gst_pipeline_change_state),
18523         (gst_pipeline_set_clock):
18524         Post clock error when clock cannot be used in a pipeline.
18525
18526 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18527
18528         * docs/gst/gstreamer-sections.txt:
18529           make two symbols from gstinfo private for the docs
18530         * gst/base/gstcollectpads.h:
18531         * gst/gstutils.c:
18532           fix doc typos, update docs
18533
18534 2005-11-22  Wim Taymans  <wim@fluendo.com>
18535
18536         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18537         (gst_base_sink_wait), (gst_base_sink_do_sync),
18538         (gst_base_sink_handle_event):
18539         * gst/base/gstbasesink.h:
18540         No need to store the clock, the parent element class already
18541         has it.
18542
18543         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18544         Updates for clock_set returning a gboolean
18545
18546         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18547         (gst_clock_id_wait_async), (gst_clock_class_init),
18548         (gst_clock_init), (gst_clock_finalize),
18549         (gst_clock_get_internal_time), (gst_clock_get_time),
18550         (gst_clock_slave_callback), (gst_clock_set_master),
18551         (gst_clock_get_master), (do_linear_regression),
18552         (gst_clock_add_observation), (gst_clock_set_property),
18553         (gst_clock_get_property):
18554         * gst/gstclock.h:
18555         Implement master/slave. When setting a clock as a slave, a
18556         periodic timeout is scheduled to sample master and slave times.
18557         Then the slave clock is recalibrated to match offset and rate
18558         of the master clock.
18559         Update logging a bit.
18560         Add flag so that a clock can state that is cannot be slaved to
18561         another clock.
18562
18563         * gst/gstelement.c: (gst_element_set_clock):
18564         * gst/gstelement.h:
18565         The set clock returns a gboolean for when an element cannot
18566         deal with the selected clock in the pipeline. 
18567
18568         * gst/gstpipeline.c: (gst_pipeline_change_state),
18569         (gst_pipeline_set_clock):
18570         * gst/gstpipeline.h:
18571         Handle the case where the selected clock cannot be set on
18572         the pipeline.
18573
18574         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18575         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18576         (gst_net_client_clock_set_property),
18577         (gst_net_client_clock_get_property),
18578         (gst_net_client_clock_observe_times):
18579         * gst/net/gstnetclientclock.h:
18580         Use regression code in GstClock parent, remove duplicated
18581         functionality.
18582
18583 2005-11-22  Michael Smith <msmith@fluendo.com>
18584
18585         * gst/gstutils.c: (gst_util_clock_time_scale):
18586         * gst/gstutils.h:
18587         * docs/gst/gstreamer-sections.txt:
18588           Rename method to have extra underscore.
18589
18590 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18591
18592         * gst/elements/Makefile.am:
18593         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18594         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18595         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18596         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18597         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18598         * gst/elements/gstfakesrc.h:
18599         * gst/gstqueue.c: (queue_leaky_get_type):
18600           correctly fix GEnumValues so that nick is the short lowercase
18601           dashed tag
18602         * tools/gst-inspect.c: (print_element_properties_info):
18603           also show the nick, since it's useful to use from parse_launch
18604           syntax
18605           Fixes #322139
18606
18607 2005-11-22  Michael Smith <msmith@fluendo.com>
18608
18609         * gst/gstutils.c: (gst_util_clocktime_scale):
18610         * gst/gstutils.h:
18611         * docs/gst/gstreamer-sections.txt:
18612           Add util method for scaling a clocktime by a fraction. Useful 
18613           implementation is left as an exercise for the reader.
18614
18615 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18616
18617         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18618         If needed, allocate storage in the destination value during
18619         collection.
18620
18621 2005-11-22  Edward Hervey  <edward@fluendo.com>
18622
18623         * docs/gst/gstreamer-sections.txt:
18624         * gst/Makefile.am:
18625         * gst/gst.h:
18626         * gst/gsturitype.c:
18627         * gst/gsturitype.h:
18628         * gst/gstutils.c: (gst_util_set_object_arg):
18629         * tools/gst-compprep.c: (main):
18630         * tools/gst-inspect.c: (print_element_properties_info):
18631         Removed GstURI, closes bug #321061
18632
18633 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18634
18635         * check/gst/gststructure.c: (GST_START_TEST):
18636         * gst/gststructure.c: (gst_structure_parse_value):
18637           Oops, broke automatic string type parsing.
18638           Add a test to catch it in future.
18639
18640 2005-11-22  Andy Wingo  <wingo@pobox.com>
18641
18642         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18643         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18644         Actually rename the function implementations. Grr.
18645
18646 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18647
18648         * check/gst/capslist.h:
18649           Comment test cases
18650         * check/gst/gststructure.c: (GST_START_TEST),
18651         (gst_structure_suite):
18652           Test automatic value type detection in gst_structure_from_string.
18653         * gst/gststructure.c: (gst_structure_parse_value):
18654           Add fraction as a type we try and guess automatically in
18655           caps/structure strings.
18656
18657 2005-11-22  Andy Wingo  <wingo@pobox.com>
18658
18659         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18660
18661         * gst/gsttagsetter.h:
18662         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18663         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18664         (gst_tag_setter_add_tag_valist)
18665         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18666         _add_values, _add_valist, and _add_valist_values. Since this is an
18667         interface the function suffixes should be more explicit so
18668         language binding don't end up with element.add_valist ->
18669         gst_tag_setter_add_valist, for example. Fixes #322069.
18670
18671 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18672
18673         * check/gst/gstcaps.c: (GST_START_TEST):
18674           Extend caps string tests to check that a caps to string
18675           conversion is reversible and produces the same caps.
18676
18677         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18678           Output "fraction" as the generic type fraction range, so caps
18679           serialisation and deserialisation works.
18680         * check/gst/capslist.h:
18681         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18682           Support 'MIN' and 'MAX' for deserialising fractions.
18683
18684 2005-11-22  Andy Wingo  <wingo@pobox.com>
18685
18686         * gst/gstevent.h (gst_event_new_new_segment)
18687         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18688         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18689         Renamed from *_newsegment, *_buffersize, *_notarget.
18690
18691         * scripts/update-funcnames: New script, performs the changes
18692         listed above.
18693
18694 2005-11-22  Wim Taymans  <wim@fluendo.com>
18695
18696         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18697         Make sure the GstFlowReturn is returned.
18698
18699         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18700         (gst_bus_add_signal_watch):
18701         * gst/gstbus.h:
18702         add gst_bus_add_signal_watch_full.
18703
18704         * gst/gstplugin.c: (gst_plugin_load_file):
18705         Small style cleanup.
18706
18707 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18708
18709         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18710           Block the fakesrc srcpad when we send an event, to avoid
18711           contention on the stream_lock causing random test failures.
18712
18713 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18714
18715         * check/gst/gstvalue.c: (GST_START_TEST):
18716         * gst/gstvalue.c: (gst_value_fraction_subtract):
18717           Fix subtraction.
18718
18719 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18720
18721         * gst/gst.h:
18722           include "gstchildproxy.h"
18723         * gst/gstchildproxy.h:
18724         * libs/gst/controller/gstcontroller.h:
18725           use G_GNUC_NULL_TERMINATED
18726
18727 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18728
18729         * check/gst/capslist.h:
18730         * check/gst/gstcaps.c: (GST_START_TEST):
18731         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18732         * gst/gststructure.c: (gst_structure_parse_range),
18733         (gst_structure_fixate_field_nearest_fraction):
18734         * gst/gststructure.h:
18735         * gst/gstvalue.c: (gst_value_init_fraction_range),
18736         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18737         (gst_value_collect_fraction_range),
18738         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18739         (gst_value_set_fraction_range_full),
18740         (gst_value_get_fraction_range_min),
18741         (gst_value_get_fraction_range_max),
18742         (gst_value_serialize_fraction_range),
18743         (gst_value_transform_fraction_range_string),
18744         (gst_value_compare_fraction_range),
18745         (gst_value_deserialize_fraction_range),
18746         (gst_value_intersect_fraction_fraction_range),
18747         (gst_value_intersect_fraction_range_fraction_range),
18748         (gst_value_subtract_fraction_fraction_range),
18749         (gst_value_subtract_fraction_range_fraction),
18750         (gst_value_subtract_fraction_range_fraction_range),
18751         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18752         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18753         (gst_value_transform_string_fraction), (_gst_value_initialize):
18754         * gst/gstvalue.h:
18755           Implement fraction ranges and extend GstFraction to support
18756           arithmetic subtraction, as well as deserialization from integer
18757           strings such as "100"
18758           Add a testsuite as for int and double range set operations
18759
18760 2005-11-21  Andy Wingo  <wingo@pobox.com>
18761
18762         * gst/gsttaglist.h: 
18763         * gst/gstcaps.h: 
18764         * gst/gststructure.h: Add glib-compat.h.
18765
18766 2005-11-21  Wim Taymans  <wim@fluendo.com>
18767
18768         * gst/gstbin.c: (gst_bin_change_state_func):
18769         Fix for #321595
18770
18771 2005-11-21  Wim Taymans  <wim@fluendo.com>
18772
18773         * gst/gstsegment.h:
18774         And add a nice define too.
18775
18776 2005-11-21  Wim Taymans  <wim@fluendo.com>
18777
18778         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18779         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18780         (gst_segment_set_duration), (gst_segment_set_last_stop),
18781         (gst_segment_set_seek), (gst_segment_set_newsegment),
18782         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18783         (gst_segment_clip):
18784         * gst/gstsegment.h:
18785         Make binding friendly.
18786
18787 2005-11-21  Andy Wingo  <wingo@pobox.com>
18788
18789         * gst/gsttagsetter.h: 
18790         * gst/gsttaglist.h: 
18791         * gst/gststructure.h: 
18792         * gst/gstcaps.h: 
18793         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18794         #319940.
18795
18796         * gst/gsterror.c (_gst_core_errors_init):
18797         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18798         category.
18799
18800         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18801         (noinst_HEADERS): noinst the -private.
18802
18803 2005-11-21  Michael Smith <msmith@fluendo.com>
18804
18805         * gst/gstplugin.h:
18806         * gst/gstregistry.h:
18807           Remove unimplemented declarations for which we can see no sensible
18808           use.
18809
18810 2005-11-21  Andy Wingo  <wingo@pobox.com>
18811
18812         * gst/gst.h: Include glib-compat.h.
18813
18814         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18815
18816         * gst/glib-compat.c: Include the public and the private header.
18817
18818         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18819
18820         * gst/gstvalue.c: 
18821         * gst/gstpad.c: 
18822         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18823
18824         * check/gst/gstevent.c (create_custom_events): Check that
18825         FLUSH_STOP is serialized.
18826
18827         * check/elements/identity.c (event_func): 
18828         * check/elements/fakesrc.c (event_func): No stream lock, the core
18829         takes it.
18830
18831         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18832         stream lock taking, yay.
18833
18834         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18835         ensure that core takes the stream lock.
18836
18837         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18838         lock name change.
18839
18840         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18841         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18842         it already. For the flush start we do take it though so we get the
18843         right preroll state change messages.
18844
18845         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18846         the stream lock here, the core does it for us.
18847
18848         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18849         GST_STREAM_GET_LOCK.
18850         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18851         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18852         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18853         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18854         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18855         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18856
18857         * gst/gstpad.c: Update for stream lock name change.
18858
18859         * gst/base/gstbasesink.c: Update for preroll lock name change.
18860
18861 2005-11-21  Wim Taymans  <wim@fluendo.com>
18862
18863         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18864         (gst_clock_get_master):
18865         * gst/gstclock.h:
18866         * gst/gstsystemclock.c: (gst_system_clock_init):
18867         Convert Clock flags to object flags.
18868         Added methods to manage master/slave clocks.
18869
18870 2005-11-21  Wim Taymans  <wim@fluendo.com>
18871
18872         * check/gst/gstsegment.c: (GST_START_TEST):
18873         * docs/design/part-TODO.txt:
18874         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18875         (gst_base_sink_event), (gst_base_sink_do_sync),
18876         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18877         (gst_base_sink_query), (gst_base_sink_change_state):
18878         * gst/base/gstbasesink.h:
18879         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18880         (gst_base_src_default_newsegment),
18881         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18882         (gst_base_src_get_range), (gst_base_src_loop),
18883         (gst_base_src_change_state):
18884         * gst/base/gstbasesrc.h:
18885         * gst/base/gstbasetransform.c:
18886         (gst_base_transform_prepare_output_buf),
18887         (gst_base_transform_event), (gst_base_transform_change_state):
18888         * gst/base/gstbasetransform.h:
18889         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18890         (gst_collect_pads_event):
18891         * gst/base/gstcollectpads.h:
18892         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18893         (gst_fake_src_create):
18894         * gst/elements/gstfakesrc.h:
18895         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18896         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18897         (gst_segment_set_last_stop), (gst_segment_set_seek),
18898         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18899         (gst_segment_to_running_time), (gst_segment_clip):
18900         * gst/gstsegment.h:
18901         More segment updates, replace code in plugins with segment
18902         helper functions.
18903
18904 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18905
18906         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18907         Don't ignore sscanf results
18908
18909 2005-11-21  Andy Wingo  <wingo@pobox.com>
18910
18911         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18912
18913         * *.h:
18914         * *.c: Ran scripts/update-macros. Oh yes.
18915
18916         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18917         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18918         GST_GET_LOCK, etc.
18919
18920         * scripts/update-macros: New script. Run it on your files to
18921         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18922         well.
18923
18924 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18925
18926         * docs/gst/Makefile.am:
18927         * docs/gst/gstreamer-docs.sgml:
18928         * docs/gst/gstreamer-sections.txt:
18929         * docs/gst/gstreamer.types:
18930         * gst/gstinfo.h:
18931           more docs fixes, add new api to the docs
18932
18933 2005-11-21  Andy Wingo  <wingo@pobox.com>
18934
18935         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18936         state_broadcast call.
18937
18938         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18939
18940 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18941
18942         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18943         function calls for arrays.
18944
18945 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18946
18947         * docs/random/ensonic/media-device-daemon.txt:
18948           wild idea, can this be done?
18949         * docs/gst/gstreamer-sections.txt:
18950         * gst/gsterror.h:
18951         * gst/gstfilter.c:
18952         * gst/gstfilter.h:
18953         * gst/gstplugin.h:
18954         * gst/gstpluginfeature.c:
18955         * gst/gsttrace.c:
18956         * gst/gstvalue.c:
18957         * gst/gstvalue.h:
18958           doc fixes and additions
18959
18960 2005-11-21  Andy Wingo  <wingo@pobox.com>
18961
18962         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18963         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18964         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18965         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18966         private to the basesrc implementation.
18967
18968         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18969         behalf of event function if necessary. It should no longer be
18970         necessary to take the stream lock in pad's event functions. Fixes
18971         #320299.
18972
18973 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18974         * docs/gst/gstreamer-sections.txt:
18975         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18976         (gst_structure_fixate_field_nearest_double),
18977         (gst_structure_fixate_field_boolean):
18978         * gst/gststructure.h:
18979         * win32/common/libgstreamer.def:
18980         * win32/gstreamer.def:
18981
18982         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18983         (#322027)
18984
18985 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18986
18987         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18988         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18989         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18990         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18991         (gst_fdsrc_uri_handler_init):
18992         * gst/elements/gstfdsrc.h:
18993           Port fd:// URI handler from 0.8 to fdsrc
18994
18995 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18996
18997         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18998         (gst_value_serialize_fourcc):
18999         * gst/gstvalue.h:
19000           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19001           consistent with our other format defines (#320324).
19002
19003 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19004
19005         * gst/gstvalue.c: (gst_value_is_fixed):
19006           Revert previous commit. Value lists are by definition
19007           not fixed, as they are a list of possible values.
19008
19009 2005-11-21  Andy Wingo  <wingo@pobox.com>
19010
19011         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19012         during the stable series if we need it. Fixes #319178.
19013
19014         * gst/gstevent.c (gst_event_new_filler): Removed.
19015
19016         * check/gst/gstevent.c: Update comment about filler events.
19017
19018 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19019
19020         * gst/gstvalue.c: (gst_value_is_fixed):
19021           Should handle both value arrays and value lists.
19022
19023 2005-11-21  Andy Wingo  <wingo@pobox.com>
19024
19025         patch by: Alessandro Dessina <alessandro nnva org>
19026
19027         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19028         functions to access arrays. Fixes #321962.
19029
19030 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19031
19032         * docs/gst/gstreamer.types:
19033           gst_collectpads_get_type => gst_collect_pads_get_type.
19034           
19035         * gst/base/gstbasetransform.c:
19036           Remove unused SIGNAL_HANDOFF enum.
19037
19038 2005-11-21  Andy Wingo  <wingo@pobox.com>
19039
19040         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19041         the event type (upstream, downstream, serialized). Renamed
19042         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19043         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19044         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19045
19046         * gst/gstevent.c: Update for new CUSTOM event names.
19047
19048         * check/gst/gstevent.c: Update check for new CUSTOM event names.
19049
19050         * gst/gstevent.h:
19051         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19052         bug #319392.
19053
19054 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19055
19056         * docs/gst/gstreamer-sections.txt:
19057         * win32/common/libgstbase.def:
19058         * win32/libgstbase.def:
19059         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19060         (gst_collect_pads_class_init), (gst_collect_pads_init),
19061         (gst_collect_pads_finalize), (gst_collect_pads_new),
19062         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19063         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19064         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19065         (gst_collect_pads_start), (gst_collect_pads_stop),
19066         (gst_collect_pads_peek), (gst_collect_pads_pop),
19067         (gst_collect_pads_available), (gst_collect_pads_read),
19068         (gst_collect_pads_flush), (gst_collect_pads_event),
19069         (gst_collect_pads_chain):
19070         * gst/base/gstcollectpads.h:
19071           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19072           unimplemented functions as unimplemented. Add padding to
19073           GstCollectData. (#320766, #320423)
19074
19075 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19076
19077         * gst/gstmessage.c:
19078           Improve docs for DURATION message (usage of duration parameter)
19079           (#320113)
19080
19081 2005-11-20  Wim Taymans  <wim@fluendo.com>
19082
19083         * check/Makefile.am:
19084         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19085         (main):
19086         * gst/Makefile.am:
19087         * gst/gst.h:
19088         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19089         (gst_segment_set_seek), (gst_segment_set_newsegment),
19090         (gst_segment_to_stream_time), (gst_segment_to_running_time),
19091         (gst_segment_clip):
19092         * gst/gstsegment.h:
19093         Added segment helper structure and methods. Not fully implemented
19094         yet.
19095         Added segment check.
19096
19097 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
19098
19099         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19100           Add a deserialisation test for fractions
19101         * examples/metadata/read-metadata.c: (message_loop),
19102         (make_pipeline), (main):
19103           Fix up metadata reading sample.
19104         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19105           Debug format fix
19106         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19107           Don't try and fixate empty caps
19108         * gst/gst_private.h:
19109           Wrap in G_BEGIN_DECLS/G_END_DECLS
19110         * gst/gstvalue.c: (gst_value_collect_fraction),
19111         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19112         (gst_value_transform_string_fraction),
19113         (gst_value_compare_fraction):
19114           Add some extra guards to ensure that we don't end up 
19115           with an invalid denominator of 0 in a gstfraction and
19116           that fractions always get reduced.
19117
19118 2005-11-20  Wim Taymans  <wim@fluendo.com>
19119
19120         * docs/gst/gstreamer-sections.txt:
19121         * gst/gstbuffer.h:
19122         * gst/gstelement.c:
19123         * gst/gstformat.c:
19124         * gst/gstformat.h:
19125         * gst/gstindex.h:
19126         * gst/gstquery.c:
19127         * gst/gstquery.h:
19128         * gst/gstvalue.c:
19129         Doc fixes.
19130
19131 2005-11-20  Wim Taymans  <wim@fluendo.com>
19132
19133         * docs/design/part-TODO.txt:
19134         * gst/gstcaps.h:
19135         Make a proper enum of the flag.
19136
19137 2005-11-19  Wim Taymans  <wim@fluendo.com>
19138
19139         * docs/design/part-TODO.txt:
19140         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19141         (gst_format_to_quark), (gst_format_register):
19142         * gst/gstformat.h:
19143         * gst/gstquery.c: (_gst_query_initialize),
19144         (gst_query_type_get_name), (gst_query_type_to_quark),
19145         (gst_query_type_register):
19146         * gst/gstquery.h:
19147         Add type to quark and type to string conversions.
19148
19149 2005-11-19  Andy Wingo  <wingo@pobox.com>
19150
19151         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19152         #320097.
19153
19154 2005-11-19  Wim Taymans  <wim@fluendo.com>
19155
19156         * docs/design/part-TODO.txt:
19157         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19158         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19159         (gst_bin_handle_message_func):
19160         * gst/gstbin.h:
19161         Make message handling overridable.
19162
19163 2005-11-19  Andy Wingo  <wingo@pobox.com>
19164
19165         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19166
19167         * gst/gstclock.h:
19168         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19169         be a GstClockTime.
19170         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19171         is a GstClockTime. Fixes #321710.
19172
19173         * gst/gstclock.h (GstClock): Remove offset property. Add
19174         internal_calibration and external_calibration. Fix padding. Pad
19175         also by GstClockTime so we don't run into problems.
19176
19177         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19178         (gst_clock_get_rate_offset): Remove.
19179         (gst_clock_set_time_adjust): Remove. Fixes #321712.
19180
19181         * gst/gstutils.h:
19182         * gst/gstutils.c (g_static_rec_cond_wait)
19183         (g_static_rec_cond_timed_wait): Removed, no longer needed.
19184
19185         * gst/gstbin.c: Remove terrible continue_state prototype.
19186
19187         * gst/gstelement.h (gst_element_continue_state): Make public.
19188
19189         * gst/gstelement.h:
19190         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19191         by continue_state. Fixes #319389.
19192
19193         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19194         Really fixes #168438. However I don't see anywhere where the
19195         filter function is called... stupid GStreamer...
19196         
19197         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19198         don't have a dispose function, so it won't get called when the
19199         object is unreffed, but oh well!
19200
19201         * gst/gstindex.c (gst_index_set_filter_full): New API function,
19202         allows a destroy function to be set so user_data can be freed.
19203         Fixes #168438.
19204         (gst_index_set_filter): Call gst_index_set_filter_full.
19205
19206         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19207
19208         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19209         string should produce an error, given the lack of a way to
19210         represent NULL strings. Fixes #165650.
19211         
19212         * gst/gstvalue.h: 
19213         * gst/gstvalue.c (gst_value_array_append_value) 
19214         (gst_value_array_prepend_value, gst_value_array_get_size) 
19215         (gst_value_array_get_value): New API, copied from
19216         gst_value_list_*, only operates on arrays.
19217         (gst_value_list_append_value, gst_value_list_prepend_value) 
19218         (gst_value_list_concat, gst_value_list_get_size) 
19219         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19220
19221         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19222         init_list, because it works on both.
19223         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19224         (gst_value_copy_list_or_array): Renamed from copy_list.
19225         (gst_value_free_list_or_array): Renamed from free_list.
19226         (gst_value_collect_list_or_array): Renamed from collect_list.
19227         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19228         (gst_value_list_or_array_peek_pointer): Renamed from
19229         list_peek_pointer.
19230         (_gst_value_array_value_table, _gst_value_list_value_table):
19231         Update value table functions.
19232         (gst_value_compare_list_or_array): Renamed from compare_list.
19233
19234         * gsttaglist.h: Whoops, foreach function returns void. Also fix
19235         some constness.
19236
19237         * gst/gsttaglist.c:
19238         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19239         GstTagList*. Fixes #143472.
19240
19241         * gst/gststructure.h: Clarify what the foreach/map functions can
19242         or can't do to their arguments.
19243
19244 2005-11-18  Wim Taymans  <wim@fluendo.com>
19245
19246         * gst/gstclock.c: (gst_clock_set_calibration),
19247         (gst_clock_get_calibration):
19248         Doc and API fixes.
19249         Calibration can be set with internal time equal to current
19250         internal time too.
19251
19252 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19253
19254         * gst/gsterror.c:
19255         * gst/gsterror.h:
19256           document
19257
19258 2005-11-18  Andy Wingo  <wingo@pobox.com>
19259
19260         * configure.ac: 
19261         * pkgconfig/gstreamer-net.pc.in:
19262         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19263         * pkgconfig/Makefile.am: Add net pkgconfig files.
19264
19265 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
19266
19267         * gst/gstcaps.c:
19268         * gst/gstghostpad.c:
19269         * gst/gsttrace.c:
19270         * gst/gstvalue.c:
19271         * gst/gstvalue.h:
19272           docs fixes
19273
19274 2005-11-18  Andy Wingo  <wingo@pobox.com>
19275
19276         * gst/net/gstnetclientclock.c: Turn off debugging.
19277
19278         * check/net/gstnetclientclock.c (test_functioning): Assert that the
19279         times connverge somewhat. Can't make a real test.
19280
19281         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19282         integer arithmetic. Return the minimum of the domain, which can be
19283         set as "internal" for gst_clock_set_calibration.
19284         (gst_net_client_clock_observe_times): Call _set_calibration.
19285         (gst_net_client_clock_new): Call _set_calibration instead of
19286         rate_offset.
19287
19288         * check/net/gstnetclientclock.c (test_functioning): Use the right
19289         adjustment api.
19290
19291         * gst/gstclock.h:
19292         * gst/gstclock.c (gst_clock_get_calibration) 
19293         (gst_clock_set_calibration): New functions, obsolete the ones I
19294         added yesterday. Doh. Precision issues mean we have to extrapolate
19295         from a point in the more recent past than 1970.
19296         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19297         obsolete.
19298         (gst_clock_adjust_unlocked): Use the right calibration data.
19299
19300 2005-11-18  Edward Hervey  <edward@fluendo.com>
19301
19302         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19303         Also reset the ->current_* values in READY->PAUSED
19304
19305 2005-11-18  Andy Wingo  <wingo@pobox.com>
19306
19307         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19308         Whoops, check the right fd. Also add some debugging.
19309         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19310         (do_linear_regression): Add a crapload of debugging. Subtract off
19311         the minimum values from the input series to discard unneeded bits.
19312         Use only int arithmetic. There is still double arithmetic when
19313         calculating the intercept that needs fixing. Return boolean to
19314         indicate success; FALSE would mean the domain or range is too
19315         great. Still needs fixes.
19316
19317 2005-11-18  Wim Taymans  <wim@fluendo.com>
19318
19319         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19320         For the current position in stream time, we need to subtract
19321         accumulated time.
19322         
19323         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19324         Release lock before calling the callback function of async
19325         entries.
19326
19327 2005-11-18  Andy Wingo  <wingo@pobox.com>
19328
19329         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19330         Port goes all the way to MAXUINT16.
19331
19332         * gst/net/gstnettimeprovider.c: Make the port range the same as
19333         for the kernel: 0 assigns, otherwise ports are less than
19334         MAXUINT16.
19335
19336         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19337         port change.
19338
19339         * check/net/gstnetclientclock.c (test_functioning): Add the start
19340         of another test. 
19341
19342 2005-11-18  Wim Taymans  <wim@fluendo.com>
19343
19344         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19345         (gst_bin_remove_func), (bin_bus_handler):
19346         * gst/gstbin.h:
19347         Removing a clock provider from a bin, triggers a clock lost message
19348         so that a new clock will be selected.
19349         Adding a clock to a bin triggers a clock provider message.
19350         Make sure we reselect a clock when we received a clock lost message.
19351         Keep a reference to the element that provided the clock.
19352
19353 2005-11-18  Andy Wingo  <wingo@pobox.com>
19354
19355         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19356         the clock initially so it produces values around the base time.
19357         (gst_net_client_clock_class_init): Typo fix.
19358         (gst_net_client_clock_thread): Add note on when the socket gets
19359         closed.
19360
19361 2005-11-17  Wim Taymans  <wim@fluendo.com>
19362
19363         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19364         Free remote and local time arrays.
19365
19366 2005-11-17  Wim Taymans  <wim@fluendo.com>
19367
19368         * gst/net/gstnetclientclock.c: (do_linear_regression),
19369         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19370         Fix compilation, uninitialized vars and a forgotten continue.
19371
19372 2005-11-17  Andy Wingo  <wingo@pobox.com>
19373
19374         * check/Makefile.am (check_PROGRAMS): 
19375         * check/net/gstnetclientclock.c: Add a most minimal test for the
19376         net client clock. More to come later.
19377
19378         * gst/net/gstnet.h: 
19379         * gst/net/Makefile.am: Add netclientclock.
19380
19381         * gst/net/gstnetclientclock.h:
19382         * gst/net/gstnetclientclock.c: New files, implement an untested
19383         GstClock that takes its time from a network time provider.
19384         Implements the algorithm in network-clock.scm.
19385
19386         * tests/network-clock.scm (*window-size*): Rename from
19387         *queue-length*.
19388         * tests/network-clock.scm (network-time): 
19389         * tests/network-clock-utils.scm (q-push): Update callers.
19390
19391 2005-11-17  Wim Taymans  <wim@fluendo.com>
19392
19393         * gst/gstbin.c: (gst_bin_provide_clock_func),
19394         (gst_bin_sort_iterator_new):
19395         And unref the child too..
19396
19397 2005-11-17  Wim Taymans  <wim@fluendo.com>
19398
19399         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19400         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19401         Refactor the sort iterator so it can be used while holding the
19402         LOCK too.
19403         Make clock selection select a clock closest to the source.
19404
19405 2005-11-17  Michael Smith <msmith@fluendo.com>
19406
19407         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19408         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19409         * gst/gstclock.h:
19410           Anonymous structs are a gcc (and some other compilers) extension, so
19411           don't use them. Since this is only for ABI-compatibility, and our
19412           API/ABI freeze is over in a few days, this whole thing will only
19413           last a few days, so don't bother trying to think up a meaningful
19414           name for the struct.
19415
19416 2005-11-17  Andy Wingo  <wingo@pobox.com>
19417
19418         * gst/gstclock.h (GstClock): Add rate and offset properties,
19419         preserving ABI stability. Add rate/offset accessors. Will file bug
19420         for the freeze break.
19421
19422         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19423         and offset, trying to keep precision and avoiding
19424         underflow/overflow.
19425         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19426         functions. Make gst_clock_set_time_adjust obsolete.
19427         (gst_clock_set_time_adjust): Note that this function is obsolete.
19428         Will file bug soon.
19429
19430         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19431         greppable by using GST_PADDING-1+1.
19432
19433 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19434
19435         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19436
19437         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19438           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19439
19440         * gst/gstpadtemplate.h:
19441         * gst/gstpluginfeature.h:
19442           Don't use c++ style comments in headers (#321638).
19443
19444 2005-11-16  Andy Wingo  <wingo@pobox.com>
19445
19446         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19447         buffer.
19448
19449         * check/net/gstnettimeprovider.c: Check to see that the time
19450         provider actually provides times. Works, yo!
19451
19452 2005-11-16  Wim Taymans  <wim@fluendo.com>
19453
19454         * check/Makefile.am:
19455         Enable more tests.
19456
19457         * check/elements/fakesrc.c: (GST_START_TEST):
19458         Set element to NULL before disposing it.
19459
19460 2005-11-16  Andy Wingo  <wingo@pobox.com>
19461
19462         * gst/net/Makefile.am:
19463         * gst/net/gstnet.h:
19464         * gst/net/gstnettimeprovider.c: 
19465         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19466         provider, include it from gstnet.h, and add it to the build.
19467
19468         * gst/net/gstnettimepacket.h: 
19469         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19470         sending and receiving.
19471
19472 2005-11-16  Wim Taymans  <wim@fluendo.com>
19473
19474         * check/Makefile.am:
19475         Enable valgrind check.
19476
19477         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19478         (gst_fake_src_alloc_buffer):
19479         Fix memleak.
19480
19481 2005-11-16  Wim Taymans  <wim@fluendo.com>
19482
19483         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19484         Call parent finalize too.
19485
19486 2005-11-16  Wim Taymans  <wim@fluendo.com>
19487
19488         * check/Makefile.am:
19489         Enable valgrind check that should work fine now.
19490
19491         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19492         * gst/gstqueue.c: (gst_queue_init):
19493         Fix memleaks in pad allocation.
19494
19495 2005-11-16  Andy Wingo  <wingo@pobox.com>
19496
19497         * gst/net/Makefile.am:
19498         * gst/net/gstnet.h: New part of core to hold network elements and
19499         objects. Put in core because it exposes API that applications want
19500         to use. The library is named libgstnet-tempname right now because
19501         of the existing libgstnet in gst-plugins-base. Solution is
19502         probably to rename the one in plugins-base; will file a bug for
19503         the freeze break.
19504
19505         * gst/net/gstnettimeprovider.c: 
19506         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19507         get_time call over the network.
19508
19509         * configure.ac: 
19510         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19511
19512         * check/Makefile.am:
19513         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19514         get additions shortly.
19515
19516 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19517
19518         * gst/gstpad.c: (gst_pad_new_from_static_template):
19519         * gst/gstpad.h:
19520           add gst_pad_new_from_static_template functions
19521         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19522         (gst_check_setup_sink_pad):
19523         * gst/elements/gsttee.c: (gst_tee_init):
19524           and use them
19525
19526 2005-11-16  Wim Taymans  <wim@fluendo.com>
19527
19528         * gst/gstpad.c: (gst_pad_pause_task):
19529         Removed warning, it's not really an error either.
19530
19531 2005-11-16  Wim Taymans  <wim@fluendo.com>
19532
19533         * gst/base/gstbasetransform.c:
19534         (gst_base_transform_prepare_output_buf),
19535         (gst_base_transform_event):
19536         Check if the caps are NULL, this can happen if the element
19537         is shutting down and the pad caps are set to NULL.
19538
19539 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19540
19541         * gst/elements/gsttee.c: (gst_tee_init):
19542           fix pad template leak in tee
19543
19544 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19545
19546         * gst/glib-compat.c: (g_value_dup_gst_object):
19547         * gst/glib-compat.h:
19548         * gst/gstpad.c: (gst_pad_set_property):
19549           use gst_object_ref when setting the pad template; this will
19550           trigger the pad template leaks on GLib 2.6 and the slaves
19551
19552 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19553
19554         * gst/glib-compat.c: (gst_flags_get_first_value):
19555         * gst/glib-compat.h:
19556         * gst/gstregistryxml.c:
19557           remove functions copied from GLib 2.6
19558
19559 2005-11-16  Michael Smith <msmith@fluendo.com>
19560
19561         * gst/Makefile.am:
19562           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19563           do, but only breaks with newer valgrind versions. We're not a
19564           valgrind tool, we have no link-time dependencies on libcoregrind.
19565
19566 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19567
19568         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19569           some debug changes
19570         * gst/gstmessage.h:
19571           typo fixes
19572
19573 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19574
19575         * gst/base/gstbasesrc.c: (gst_base_src_init):
19576         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19577         * gst/gstqueue.c: (gst_queue_init):
19578         * gst/gstregistryxml.c: (load_feature):
19579           Revert all these unrefs, they don't even pass make check !
19580
19581 2005-11-15  Johan Dahlin  <johan@gnome.org>
19582
19583         * gst/base/gstbasesrc.c: (gst_base_src_init):
19584         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19585         * gst/gstqueue.c: (gst_queue_init): 
19586         Free pad templates, fixes a couple of leaks.
19587
19588 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19589
19590         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19591
19592         * gst/gstpad.c: (gst_pad_get_property):
19593           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19594           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19595           (#321452)
19596
19597 2005-11-15  Wim Taymans  <wim@fluendo.com>
19598
19599         * gst/gstevent.c:
19600         Small doc update.
19601
19602 2005-11-15  Andy Wingo  <wingo@pobox.com>
19603
19604         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19605
19606         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19607         using GST_CLOCK_TIME_NONE to disable base time management.
19608         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19609         time if it was NONE before.
19610         (gst_pipeline_change_state): Only munge the base time if
19611         stream_time != GST_CLOCK_TIME_NONE.
19612
19613         * check/gst/gstpipeline.c (test_base_time): Punt around the
19614         problem of the probe not being called, because that's not the
19615         issue I'm looking at. Add a check that setting stream_time to NONE
19616         disables base time management.
19617         
19618 2005-11-15  Wim Taymans  <wim@fluendo.com>
19619
19620         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19621         segment_stop == -1 at startup.
19622
19623         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19624         (gst_base_transform_change_state):
19625         Init segment values at start.
19626
19627 2005-11-15  Wim Taymans  <wim@fluendo.com>
19628
19629         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19630         0 segment values are 0 in any format.
19631
19632         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19633         * gst/base/gstbasetransform.h:
19634         Parse newsegment correctly in basetransform
19635
19636         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19637         Sync to clock using updated segment values.
19638
19639 2005-11-15  Andy Wingo  <wingo@pobox.com>
19640
19641         * check/gst/gstpipeline.c (test_base_time): Add check that the
19642         base time and stream time are reset correctly.
19643
19644 2005-11-15  Wim Taymans  <wim@fluendo.com>
19645
19646         * docs/design/part-TODO.txt:
19647         Some more TODO items.
19648
19649 2005-11-15  Andy Wingo  <wingo@pobox.com>
19650
19651         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19652         error if the user selected "no clock" as the clocking method.
19653
19654         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19655         timestamps with live capture.
19656
19657         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19658         is 0 but we are a live source, timestamp the buffers using the
19659         element's clock.
19660
19661 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19662
19663         * docs/gst/gstreamer-sections.txt:
19664         * gst/gsterror.c:
19665         * gst/gstghostpad.c:
19666         * gst/gstobject.h:
19667         * gst/gstxml.c:
19668           more section docs
19669
19670 2005-11-14  Wim Taymans  <wim@fluendo.com>
19671
19672         * common/gst.supp:
19673           add suppressions from Wim's Debian machine
19674
19675 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19676
19677         * common/gst.supp:
19678           add suppressions from Andy's AMD64 Ubuntu machine
19679
19680 2005-11-14  Andy Wingo  <wingo@pobox.com>
19681
19682         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19683         STATE_LOCK not necessary. Fixes #311489.
19684
19685         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19686         #305291.
19687
19688         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19689         this function is not implemented.
19690
19691 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19692
19693         * gst/base/gstbasetransform.c:
19694         (gst_base_transform_prepare_output_buf):
19695         Ref the source pad caps while we need them.
19696         Fixes (#321386)
19697
19698 2005-11-11  Wim Taymans  <wim@fluendo.com>
19699
19700         * docs/gst/gstreamer-sections.txt:
19701         Added some docs for GstCollectData.
19702
19703         * gst/base/gstadapter.c:
19704         Some small code example fix.
19705
19706         * gst/base/gstcollectpads.c:
19707         * gst/base/gstcollectpads.h:
19708         Document some more.
19709
19710 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19711
19712         * configure.ac: back to HEAD
19713
19714 === release 0.9.5 ===
19715
19716 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19717
19718         * configure.ac:
19719           releasing 0.9.5, "Bike Lunch Day"
19720
19721 2005-11-11  Wim Taymans  <wim@fluendo.com>
19722
19723         * gst/gstbuffer.c: (_gst_buffer_copy):
19724         Copy more flags.
19725
19726         * gst/gstcaps.c: (gst_caps_is_equal):
19727         Fix some docs.
19728         Make _is_equal fast in the trivial cases.
19729
19730         * gst/gstminiobject.c:
19731         * gst/gstminiobject.h:
19732         More docs. Spifify .h file.
19733
19734         * gst/gstutils.c:
19735         Small doc update.
19736
19737 2005-11-11  Wim Taymans  <wim@fluendo.com>
19738
19739         * gst/base/gstbasetransform.c:
19740         (gst_base_transform_prepare_output_buf),
19741         (gst_base_transform_handle_buffer):
19742         Small cleanups.
19743         If we're processing a buffer and need to allocate an output
19744         buffer, we cannot accept a format change. If we did get a 
19745         format change, we have to alloc a buffer ourselves of the 
19746         right size.
19747
19748 2005-11-11  Wim Taymans  <wim@fluendo.com>
19749
19750         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19751         While checking the flag for reentrancy in the gstcaps function
19752         is nice to detect recursive invocations, it also makes it 
19753         impossible to call getcaps from multiple threads, which must be
19754         possible. So, checking for recursive calls has to go.
19755
19756 2005-11-11  Michael Smith <msmith@fluendo.com>
19757
19758         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19759           Don't sync on buffers that fall partially outside our current
19760           segment. Prevents an assertion failure/abort playing some files.
19761
19762 2005-11-10  Andy Wingo  <wingo@pobox.com>
19763
19764         * check/gst/gstbin.c (test_message_state_changed_children): Style
19765         fix..
19766
19767         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19768         gst_bus_poll with the signal watch. Ensures that poll and a signal
19769         watch see the same messages.
19770
19771         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19772         a poll and a watch at the same time get the same messages.
19773
19774 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19775
19776         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19777         * gst/gstcaps.c: (gst_caps_intersect):
19778           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19779           and it's not needed.
19780
19781 2005-11-10  Wim Taymans  <wim@fluendo.com>
19782
19783         * docs/design/part-TODO.txt:
19784         Updated todo.
19785
19786 2005-11-10  Wim Taymans  <wim@fluendo.com>
19787
19788         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19789         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19790         (gst_base_src_do_sync), (gst_base_src_get_range):
19791         Implement clock sync in base class.
19792
19793 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19794
19795         patch by: Tim-Philipp Müller <tim at centricular dot net>
19796
19797         * gst/gststructure.c: (gst_structure_parse_field),
19798         (gst_structure_from_string):
19799           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19800           so that gst_parse_launch() can deal with spaces in filtered link
19801           caps (fixes #164479)
19802         * check/gst/capslist.h:
19803         * check/gst/gststructure.c: (GST_START_TEST):
19804           add unit tests for this change
19805
19806 2005-11-10  Wim Taymans  <wim@fluendo.com>
19807
19808         * docs/gst/gstreamer-sections.txt:
19809         * gst/gstelement.c:
19810         * gst/gstelement.h:
19811         Fix docs, move some STATE macros to private.
19812
19813 2005-11-10  Wim Taymans  <wim@fluendo.com>
19814
19815         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19816         Added check for bug #317341
19817
19818         * gst/gstbuffer.c:
19819         * gst/gstbuffer.h:
19820         Some more spiffifying.
19821
19822         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19823         Call peer linkfunction if we are a source pad. Totally fixes
19824         #317341
19825
19826         * gst/gstpad.c:
19827         Update docs, source pads should call the peer linkfunction
19828         so they can atomically perform the pad link.
19829
19830 2005-11-09  Wim Taymans  <wim@fluendo.com>
19831
19832         * gst/gstbuffer.c:
19833         * gst/gstbuffer.h:
19834         Uber-spiffy-spiffify some more.
19835
19836 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19837
19838         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19839         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19840         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19841         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19842         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19843         * gst/gstpad.c: (gst_pad_init):
19844           Use GST_DEBUG_FUNCPTR() more extensively.
19845
19846 2005-11-09  Wim Taymans  <wim@fluendo.com>
19847
19848         * gst/gstobject.c: (gst_object_class_init):
19849         * gst/gstobject.h:
19850         Documentation fixes.
19851
19852 2005-11-09  Edward Hervey  <edward@fluendo.com>
19853
19854         * gst/gsttypefindfactory.c:
19855         Fix docs.
19856         
19857 2005-11-09  Edward Hervey  <edward@fluendo.com>
19858
19859         * gst/base/gsttypefindhelper.c:
19860         * gst/gsttypefind.c:
19861         * gst/gsttypefind.h:
19862         Fix docs.
19863
19864 2005-11-09  Wim Taymans  <wim@fluendo.com>
19865
19866         * gst/gstiterator.c:
19867         Fix revision data.
19868
19869         * gst/gsttask.c:
19870         * gst/gsttask.h:
19871         Fix docs.
19872
19873 2005-11-09  Wim Taymans  <wim@fluendo.com>
19874
19875         * gst/gstevent.h:
19876         * gst/gsturi.h:
19877         Fix docs.
19878
19879 2005-11-09  Wim Taymans  <wim@fluendo.com>
19880
19881         * docs/gst/gstreamer-sections.txt:
19882         Moved the message async delivery private lock and cond
19883         to the private section.
19884
19885         * gst/gstmessage.c:
19886         * gst/gstmessage.h:
19887         Fixed docs.
19888
19889 2005-11-09  Edward Hervey  <edward@fluendo.com>
19890
19891         * docs/gst/gstreamer-sections.txt:
19892         * gst/gsturi.c:
19893         * gst/gsturi.h:
19894         Document GstURIHandler
19895
19896 2005-11-09  Wim Taymans  <wim@fluendo.com>
19897
19898         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19899         (gst_iterator_find_custom):
19900         * gst/gstiterator.h:
19901         Fix iterator docs.
19902
19903 2005-11-09  Wim Taymans  <wim@fluendo.com>
19904
19905         * gst/gstbin.h:
19906         Document another field.
19907
19908         * gst/gststructure.c:
19909         * gst/gststructure.h:
19910         Document.
19911
19912 2005-11-09  Wim Taymans  <wim@fluendo.com>
19913
19914         * gst/gstbin.h:
19915         Documented structs.
19916
19917 2005-11-09  Wim Taymans  <wim@fluendo.com>
19918
19919         * docs/gst/gstreamer-sections.txt:
19920         Added some new macros.
19921
19922         * gst/gstclock.c:
19923         * gst/gstclock.h:
19924         * gst/gstobject.h:
19925         Docs updates.
19926
19927 2005-11-09  Wim Taymans  <wim@fluendo.com>
19928
19929         * docs/design/part-TODO.txt:
19930         Some more items for the TODO
19931
19932         * gst/gstcaps.c:
19933         * gst/gstcaps.h:
19934         Document GstCaps.
19935
19936 2005-11-09  Andy Wingo  <wingo@pobox.com>
19937
19938         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19939         to work on something else now tho...
19940
19941         * gst/base/gstadapter.c: More adapter docs.
19942
19943         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19944         (gst_file_sink_stop): New functions, replace the state change
19945         handler.
19946         (gst_file_sink_class_init): Hook up the start and stop functions.
19947         (gst_file_sink_base_init): Don't set the state change handler any
19948         more. It was a bit ugly too, being set from here...
19949         (gst_file_sink_get_property, gst_file_sink_set_property):
19950         Cleanups...
19951         (gst_file_sink_set_location): More robust check that doesn't call
19952         GST_STATE. Ugggggg.
19953
19954 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19955
19956         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19957           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19958
19959 2005-11-08  Wim Taymans  <wim@fluendo.com>
19960
19961         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19962         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19963         (gst_base_sink_chain), (gst_base_sink_change_state):
19964         * gst/base/gstbasesink.h:
19965         * gst/base/gstbasesrc.h:
19966         * gst/gstelement.h:
19967         * gst/gstevent.h:
19968         Avoid excessive typechecking in macros.
19969
19970         * gst/gstminiobject.c: (gst_mini_object_get_type),
19971         (gst_mini_object_init), (gst_mini_object_new),
19972         (gst_mini_object_free):
19973         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19974         (gst_object_finalize):
19975         Remove cruft code, optimize alloc_trace.
19976
19977 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19978
19979         * docs/faq/gst-uninstalled:
19980           fix up PS1 for systems that try to reset it
19981
19982 2005-11-07  Wim Taymans  <wim@fluendo.com>
19983
19984         * gst/base/gstbasesrc.c: (gst_base_src_init),
19985         (gst_base_src_get_range):
19986         Set the segment_end to -1 initially. Fixed typefind.
19987
19988 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19989
19990         * gst/base/gstadapter.c:
19991           Debug category should be 'adapter', not 'GstAdapter'.
19992           
19993         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19994         (gst_collectpads_class_init), (gst_collectpads_init),
19995         (gst_collectpads_peek), (gst_collectpads_pop),
19996         (gst_collectpads_event), (gst_collectpads_chain):
19997           Add debug category and some debugging output. Use boilerplate
19998           macros. Remove some extraneous words from docs.
19999
20000 2005-11-05  Andy Wingo  <wingo@pobox.com>
20001
20002         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20003         macro.
20004
20005 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20006
20007         * docs/gst/gstreamer-sections.txt:
20008         * gst/gstcaps.h:
20009         * gst/gstinfo.c:
20010         * gst/gstminiobject.h:
20011         * gst/gstobject.h:
20012         * gst/gstutils.h:
20013           more docs added
20014
20015 2005-11-04  Wim Taymans  <wim@fluendo.com>
20016
20017         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20018         Small update to stop at the configured segment_end
20019         position.
20020
20021 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20022
20023         * gst/gstregistry.c:
20024         * gst/gstregistry.h:
20025           added missing docs
20026
20027 2005-11-04  Edward Hervey  <edward@fluendo.com>
20028
20029         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20030         Check if we are doing a segment seek and have arrived at the
20031         end of that segment.
20032
20033 2005-11-04  Wim Taymans  <wim@fluendo.com>
20034
20035         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20036         Don't leak a mutex unlock in case of an error.
20037
20038         * gst/gstbus.h:
20039         Doc fixes.
20040
20041 2005-11-04  Wim Taymans  <wim@fluendo.com>
20042
20043         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20044         (gst_bus_post):
20045         Get the context to wake up only once.
20046
20047 2005-11-03  Wim Taymans  <wim@fluendo.com>
20048
20049         * check/states/sinks.c: (GST_START_TEST):
20050         Uncomment fixed check.
20051
20052         * docs/design/part-TODO.txt:
20053         Updated TODO.
20054
20055         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20056         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20057         (gst_base_sink_get_position):
20058         If we are going to PLAYING, post the right pending state
20059         when we post the intermediate paused message.
20060
20061         * gst/gstelement.c: (gst_element_continue_state),
20062         (gst_element_set_state_func), (gst_element_change_state):
20063         Don't post state changes that were between the same state
20064         and were not ASYNC.
20065
20066 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20067
20068         * docs/gst/gstreamer-sections.txt:
20069         * gst/gstcaps.h:
20070         * gst/gstinfo.c:
20071         * gst/gstminiobject.h:
20072         * gst/gstobject.h:
20073         * gst/gstutils.h:
20074           more docs and doc style fixes
20075
20076 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20077
20078         * docs/gst/gstreamer-sections.txt:
20079         * gst/gstelement.c:
20080         * gst/gstminiobject.c:
20081         doc fixes
20082
20083 2005-11-03  Andy Wingo  <wingo@pobox.com>
20084
20085         * check/states/sinks.c (test_livesrc_sink): Add checks that the
20086         state-changed messages actually have the right order and the right
20087         values.
20088
20089 2005-11-03  Wim Taymans  <wim@fluendo.com>
20090
20091         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20092         Added some more checks. Specifically the case where NO_PREROLL
20093         elements are in the pipeline.
20094
20095         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20096         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20097         (gst_base_sink_get_position):
20098         Post READY->PAUSED state change messages too.
20099         Fix bug where VOID was posted as pending state...
20100
20101         * gst/gstbin.c: (gst_bin_recalc_state):
20102         use _element_continue_state() to continue the state change.
20103
20104         * gst/gstelement.c: (gst_element_continue_state),
20105         (gst_element_commit_state), (gst_element_set_state_func),
20106         (gst_element_change_state), (gst_element_change_state_func):
20107         Lots of state change cleanups, assign the STATE_RETURN in
20108         a new continue_state() function that also propagates the
20109         last return value from a state change to the app.
20110         Update some debug statements with proper category.
20111
20112 2005-11-03  Wim Taymans  <wim@fluendo.com>
20113
20114         * docs/design/part-events.txt:
20115         * docs/design/part-gstpipeline.txt:
20116         * docs/design/part-messages.txt:
20117         * docs/design/part-overview.txt:
20118         * docs/design/part-seeking.txt:
20119         * docs/design/part-states.txt:
20120         * docs/design/part-trickmodes.txt:
20121         * docs/manual/advanced-position.xml:
20122         Small docs updates.
20123
20124         * gst/gstobject.h:
20125         People think !! is ugly, this looks better.
20126
20127         * gst/gstpad.c: (gst_pad_set_blocked_async):
20128         Remove !! since it's fixed elsewhere now.
20129
20130 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20131
20132         * gst/gstminiobject.h:
20133         * gst/gstobject.h:
20134           Add !! to _FLAG_IS_SET macros to make the result boolean.
20135
20136 2005-11-03  Edward Hervey  <edward@fluendo.com>
20137
20138         * gst/gstpad.c: (gst_pad_set_blocked_async):
20139         comparing a flag and a gboolean rarely returns coherent results...
20140         Added two characters (!!) to make that work correctly.
20141         
20142 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20143
20144         * gst/gstbus.c: (gst_bus_class_init):
20145           Fix some typos.
20146           
20147         * gst/gstqueue.c: (gst_queue_loop):
20148           Don't assume a miniobject that isn't a buffer is an
20149           event (it could be that there is a refcounting
20150           problem somewhere and the pointer is stale and
20151           refers to an already destroyed miniobject).
20152
20153 2005-11-03  Julien MOUTTE  <julien@moutte.net>
20154
20155         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20156
20157 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20158
20159         * docs/manual/advanced-position.xml:
20160           Update seek example and explanations to current 0.9 API.
20161
20162         * gst/elements/gsttypefindelement.c:
20163         (gst_type_find_element_activate):
20164           Remove FIXME comment now that the found caps
20165           are unreffed.
20166
20167 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20168
20169         * gst/gstregistryxml.c: (load_feature):
20170           Add another GST_STR_NULL instance
20171
20172 2005-11-02  Edward Hervey  <edward@fluendo.com>
20173
20174         * gst/gstpad.c: (handle_pad_block):
20175         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20176         
20177 2005-11-02  Wim Taymans  <wim@fluendo.com>
20178
20179         * gst/gstbin.c:
20180         Fix typo in docs.
20181
20182         * gst/gstelement.c: (gst_element_commit_state):
20183         Remove unused value.
20184
20185         * gst/gstiterator.c:
20186         Mention that the returned element is reffed in the docs.
20187
20188 2005-11-02  Wim Taymans  <wim@fluendo.com>
20189
20190         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20191         (gst_pad_push), (gst_pad_push_event):
20192         Unlock blocked pads when they are flushed.
20193
20194 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20195
20196         * docs/README:
20197         * docs/gst/gstreamer-sections.txt:
20198         * gst/gstbin.c:
20199           doc updates
20200         * gst/gstregistry.c: (gst_registry_scan_path_level):
20201           fix for a nasty little missed situation where an installed plug-in
20202           which was in the cache did not get overridden by an uninstalled one
20203           which was earlier in the plugin path because the newly created plugin
20204           for the uninstalled one (not in the registry) didn't get its
20205           ->registered set to TRUE
20206
20207 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20208
20209         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20210         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20211         (gst_collectpads_is_active), (gst_collectpads_collect),
20212         (gst_collectpads_collect_range), (gst_collectpads_start),
20213         (gst_collectpads_stop), (gst_collectpads_peek),
20214         (gst_collectpads_pop), (gst_collectpads_available),
20215         (gst_collectpads_read), (gst_collectpads_flush):
20216           Guard public API with assertions.
20217         
20218         * gst/gstpad.c:
20219           Fix docs for gst_pad_set_link_function().
20220
20221 2005-11-02  Johan Dahlin  <johan@gnome.org>
20222
20223         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
20224         Unref found_caps after we used it.
20225
20226 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20227
20228         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20229           Don't try to ref NULL.
20230
20231 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20232
20233         * win32/common/config.h.in:
20234           provide a GST_FUNCTION that just gives a string for now
20235
20236 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20237
20238         * win32/common/gstenumtypes.c: (register_gst_object_flags),
20239         (gst_object_flags_get_type), (register_gst_bin_flags),
20240         (gst_bin_flags_get_type), (register_gst_buffer_flag),
20241         (gst_buffer_flag_get_type), (register_gst_bus_flags),
20242         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20243         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20244         (gst_clock_return_get_type), (register_gst_clock_entry_type),
20245         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20246         (gst_clock_flags_get_type), (register_gst_state),
20247         (gst_state_get_type), (register_gst_state_change_return),
20248         (gst_state_change_return_get_type), (register_gst_state_change),
20249         (gst_state_change_get_type), (register_gst_element_flags),
20250         (gst_element_flags_get_type), (register_gst_core_error),
20251         (gst_core_error_get_type), (register_gst_library_error),
20252         (gst_library_error_get_type), (register_gst_resource_error),
20253         (gst_resource_error_get_type), (register_gst_stream_error),
20254         (gst_stream_error_get_type), (register_gst_event_type),
20255         (gst_event_type_get_type), (register_gst_seek_type),
20256         (gst_seek_type_get_type), (register_gst_seek_flags),
20257         (gst_seek_flags_get_type), (register_gst_format),
20258         (gst_format_get_type), (register_gst_index_certainty),
20259         (gst_index_certainty_get_type), (register_gst_index_entry_type),
20260         (gst_index_entry_type_get_type),
20261         (register_gst_index_lookup_method),
20262         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20263         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20264         (gst_index_resolver_method_get_type), (register_gst_index_flags),
20265         (gst_index_flags_get_type), (register_gst_debug_level),
20266         (gst_debug_level_get_type), (register_gst_debug_color_flags),
20267         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20268         (gst_iterator_result_get_type), (register_gst_iterator_item),
20269         (gst_iterator_item_get_type), (register_gst_message_type),
20270         (gst_message_type_get_type), (register_gst_mini_object_flags),
20271         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20272         (gst_pad_link_return_get_type), (register_gst_flow_return),
20273         (gst_flow_return_get_type), (register_gst_activate_mode),
20274         (gst_activate_mode_get_type), (register_gst_pad_direction),
20275         (gst_pad_direction_get_type), (register_gst_pad_flags),
20276         (gst_pad_flags_get_type), (register_gst_pad_presence),
20277         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20278         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20279         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20280         (gst_plugin_error_get_type), (register_gst_plugin_flags),
20281         (gst_plugin_flags_get_type), (register_gst_rank),
20282         (gst_rank_get_type), (register_gst_query_type),
20283         (gst_query_type_get_type), (register_gst_tag_merge_mode),
20284         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20285         (gst_tag_flag_get_type), (register_gst_task_state),
20286         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20287         (gst_alloc_trace_flags_get_type),
20288         (register_gst_type_find_probability),
20289         (gst_type_find_probability_get_type), (register_gst_uri_type),
20290         (gst_uri_type_get_type), (register_gst_parse_error),
20291         (gst_parse_error_get_type):
20292         * win32/common/gstversion.h:
20293           update win32 copies
20294
20295 2005-11-01  Luca Ognibene  <luogni@tin.it>
20296
20297         * gst/gst.c:
20298           fix docs. popt is dead, long live GOption.
20299
20300 2005-10-31  Wim Taymans  <wim@fluendo.com>
20301
20302         * gst/gstbuffer.h:
20303         Small doc fix.
20304
20305 2005-10-31  Andy Wingo  <wingo@pobox.com>
20306
20307         * Boo!
20308
20309         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20310
20311         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20312         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20313         the possibility of deadlocks here if code calling notify() or
20314         set() has a lock that can be taken in another notify handler (ABBA
20315         with class lock and e.g. python GIL state lock).
20316
20317 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20318
20319         * gst/gstbus.c: Doc updates.
20320
20321 2005-10-28  Wim Taymans  <wim@fluendo.com>
20322
20323         * docs/design/part-TODO.txt:
20324         * gst/gstiterator.c:
20325         * gst/gstsystemclock.c:
20326         * gst/gstsystemclock.h:
20327         Doc updates.
20328
20329 2005-10-28  Edward Hervey  <edward@fluendo.com>
20330
20331         * docs/gst/gstreamer-docs.sgml:
20332         * docs/gst/gstreamer-sections.txt:
20333         the GstURIType documentation page is private, it only defines GstURIType
20334         which should be defined in the GstURIHandler page
20335         
20336 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20337
20338         * gst/gstbin.c: (gst_bin_class_init):
20339         * gst/gstbin.h:
20340         * gst/gstutils.c:
20341         Documentation updates.
20342
20343 2005-10-28  Wim Taymans  <wim@fluendo.com>
20344
20345         * docs/gst/gstreamer-sections.txt:
20346         * gst/gstclock.c:
20347         * gst/gstclock.h:
20348         Documented the clocks.
20349
20350 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20351
20352         * docs/gst/gstreamer-sections.txt:
20353           move some macros to private sections
20354         * gst/gstminiobject.c:
20355         * gst/gstminiobject.h:
20356           add descriptions provided by ds and some more
20357         * gst/gstpad.h:
20358           mark macro as to be removed
20359
20360 2005-10-28  Wim Taymans  <wim@fluendo.com>
20361
20362         * docs/design/part-TODO.txt:
20363         Add an item to TODO.
20364
20365         * gst/gstiterator.c: (gst_iterator_fold),
20366         (gst_iterator_find_custom):
20367         * gst/gstiterator.h:
20368         Add iterator docs.
20369
20370 2005-10-28  Wim Taymans  <wim@fluendo.com>
20371
20372         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20373         (gst_base_transform_init):
20374         Don't leak class.
20375
20376         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20377         An EOS event marks the queue as completely filled.
20378
20379 2005-10-27  Wim Taymans  <wim@fluendo.com>
20380
20381         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20382         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20383         Some more debugging.
20384
20385         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20386         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20387         (gst_base_transform_event), (gst_base_transform_getrange),
20388         (gst_base_transform_chain):
20389         * gst/base/gstbasetransform.h:
20390         Fix debugging,
20391         Protect transform and concurrent buffer alloc with a new lock.
20392         Try not to break ABI/API.
20393
20394 2005-10-27  Wim Taymans  <wim@fluendo.com>
20395
20396         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20397         (gst_base_src_init), (gst_base_src_query),
20398         (gst_base_src_default_newsegment),
20399         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20400         (gst_base_src_send_event), (gst_base_src_event_handler),
20401         (gst_base_src_pad_get_range), (gst_base_src_loop),
20402         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20403         (gst_base_src_start), (gst_base_src_deactivate),
20404         (gst_base_src_activate_push), (gst_base_src_change_state):
20405         Move some stuff around and cleanup things.
20406
20407 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20408
20409         * gst/base/gstbasesrc.c: (gst_base_src_query):
20410           Add missing break statements.
20411
20412 2005-10-27  Wim Taymans  <wim@fluendo.com>
20413
20414         * check/gst/gstbin.c: (GST_START_TEST):
20415         An extra refcount is taken in basesrc.
20416
20417         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20418         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20419         (gst_base_src_loop):
20420         Small cleanups, check for flushing after being unlocked from the 
20421         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20422         Don't send out EOS when going to READY.
20423
20424 2005-10-27  Wim Taymans  <wim@fluendo.com>
20425
20426         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20427         (gst_base_sink_get_position):
20428         Some more debug.
20429
20430         * gst/gstbin.c: (message_check), (bin_replace_message),
20431         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20432         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20433         (bin_query_duration_init), (bin_query_duration_fold),
20434         (bin_query_duration_done), (bin_query_generic_fold),
20435         (gst_bin_query):
20436         * tools/gst-launch.c: (main):
20437         Remove old option.
20438
20439 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20440
20441         * examples/controller/audio-example.c: (main):
20442         * examples/queue/queue.c: (event_loop):
20443         * gst/base/gstbasetransform.h:
20444         * gst/gstelement.c: (gst_element_send_event):
20445         * gst/gstevent.h:
20446         * gst/gstpad.c: (gst_pad_send_event):
20447           fixing examples
20448           fixing docs typos
20449           changing log priority in error situations
20450
20451 2005-10-25  Wim Taymans  <wim@fluendo.com>
20452
20453         * gst/gstbin.c: (message_check), (bin_replace_message),
20454         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20455         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20456         (bin_query_duration_init), (bin_query_duration_fold),
20457         (bin_query_duration_done), (bin_query_generic_fold),
20458         (gst_bin_query):
20459         Some doc and debug updates.
20460         Cache previously requested query DURATION for speed. invalidate
20461         cached duration if element posts a DURATION message.
20462
20463 2005-10-25  Wim Taymans  <wim@fluendo.com>
20464
20465         * docs/design/part-TODO.txt:
20466         Update TODO.
20467
20468         * gst/gstbin.c: (message_check), (bin_replace_message),
20469         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20470         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20471         (bin_query_duration_init), (bin_query_duration_fold),
20472         (bin_query_duration_done), (bin_query_generic_fold),
20473         (gst_bin_query):
20474         Handle SEGMENT_START/DONE messages correctly.
20475         More evolved query algorithm that handles duration queries
20476         correctly.
20477
20478         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20479         (gst_element_get_state_func), (gst_element_abort_state),
20480         (gst_element_commit_state), (gst_element_lost_state):
20481         Some more debugging.
20482
20483         * gst/gstmessage.h:
20484         Added doc.
20485
20486 2005-10-25  Wim Taymans  <wim@fluendo.com>
20487
20488         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20489         Don't use invalid stream_time.
20490
20491         * gst/gstevent.c: (gst_event_new_newsegment):
20492         stream_time in newsegment cannot be undefined.
20493
20494 2005-10-24  Wim Taymans  <wim@fluendo.com>
20495
20496         * gst/gstbus.c:
20497         Doc fix.
20498
20499         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20500         (gst_queue_loop):
20501         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20502
20503 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20504
20505         * docs/libs/tmpl/gstdparam.sgml:
20506         * docs/libs/tmpl/gstdplinint.sgml:
20507         * docs/libs/tmpl/gstdpman.sgml:
20508         * docs/libs/tmpl/gstdpsmooth.sgml:
20509         * docs/libs/tmpl/gstunitconvert.sgml:
20510           these are obsolete
20511
20512 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20513
20514         * configure.ac:
20515           back to HEAD
20516
20517 === release 0.9.4 ===
20518
20519 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20520
20521         * configure.ac:
20522           releasing 0.9.4, "Tyrannosaurus Rex"
20523
20524 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20525
20526         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20527         (gst_file_sink_get_current_offset):
20528           Use fseeko() and ftello() if available. When falling back on
20529           lseek() to get the current offset, fflush() first to make sure
20530           everything is up-to-date and we get the right offset.
20531
20532 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20533
20534         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20535         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20536         * gst/gsterror.c: (_gst_stream_errors_init):
20537         * gst/gsterror.h:
20538         * gst/gstqueue.c: (gst_queue_loop):
20539         * po/POTFILES.in:
20540           remove prematurely added error category and clean up the instances
20541
20542 2005-10-21  Wim Taymans  <wim@fluendo.com>
20543
20544         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20545         (gst_base_sink_get_position), (gst_base_sink_query),
20546         (gst_base_sink_change_state):
20547         Simply set the right flag when going to playing, that's all
20548         we need to do instead of calling a function inside the object
20549         lock (that could take the lock as well and deadlock)
20550
20551 2005-10-21  Wim Taymans  <wim@fluendo.com>
20552
20553         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20554         (gst_base_src_loop):
20555         Don't warn, the peer element knows what to do best when
20556         the seek failed, it might try something else.
20557
20558 2005-10-21  Wim Taymans  <wim@fluendo.com>
20559
20560         * gst/base/gstbasesrc.c: (gst_base_src_init),
20561         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20562         Fix seeking.
20563
20564 2005-10-21  Wim Taymans  <wim@fluendo.com>
20565
20566         * docs/design/part-segments.txt:
20567         More docs.
20568
20569         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20570         Correctly set caps, even on the subbufer.
20571
20572 2005-10-21  Wim Taymans  <wim@fluendo.com>
20573
20574         * docs/gst/gstreamer-docs.sgml:
20575         * docs/gst/gstreamer-sections.txt:
20576         * gst/gstelement.h:
20577         * gst/gstevent.c:
20578         * gst/gstevent.h:
20579         * gst/gstmessage.h:
20580         * gst/gstpad.h:
20581         * gst/gstparse.h:
20582         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20583         * gst/gsttask.h:
20584         * gst/gstutils.c:
20585         * gst/gstutils.h:
20586         And 2% more doc coverage.
20587
20588 2005-10-21  Andy Wingo  <wingo@pobox.com>
20589
20590         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20591         position reporting.
20592
20593 2005-10-20  Wim Taymans  <wim@fluendo.com>
20594
20595         * gst/gsterror.c: (gst_error_get_message):
20596         * gst/gstparse.h:
20597         * gst/gstquery.h:
20598         * gst/gststructure.c:
20599         * gst/gsttrace.c:
20600         * gst/gstutils.c:
20601         More docs.
20602
20603 2005-10-20  Wim Taymans  <wim@fluendo.com>
20604
20605         * gst/gstbuffer.h:
20606         * gst/gstpad.c:
20607         * gst/gstparse.c:
20608         Another 1% more coverage.
20609
20610 2005-10-20  Wim Taymans  <wim@fluendo.com>
20611
20612         * docs/gst/gstreamer-sections.txt:
20613         * gst/gstelement.c: (gst_element_get_state_func),
20614         (gst_element_abort_state), (gst_element_commit_state),
20615         (gst_element_lost_state):
20616         * gst/gstevent.h:
20617         * gst/gstquery.c: (gst_query_set_position),
20618         (gst_query_parse_position), (gst_query_set_duration),
20619         (gst_query_parse_duration), (gst_query_new_convert):
20620         * gst/gstutils.c:
20621         Yay! 1% more docs coverage.
20622
20623 2005-10-20  Wim Taymans  <wim@fluendo.com>
20624
20625         * gst/gstpad.h:
20626         * gst/gstquery.c: (gst_query_set_position),
20627         (gst_query_parse_position), (gst_query_set_duration),
20628         (gst_query_parse_duration), (gst_query_new_convert):
20629         * gst/gstquery.h:
20630         * gst/gstutils.c: (gst_element_query_convert):
20631         * gst/gstutils.h:
20632         Docs and consistency fixes.
20633
20634 2005-10-20  Wim Taymans  <wim@fluendo.com>
20635
20636         * gst/gsttask.c:
20637         * gst/gsttask.h:
20638         More docs.
20639
20640 2005-10-20  Wim Taymans  <wim@fluendo.com>
20641
20642         * gst/gstbin.c: (message_check), (bin_replace_message),
20643         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20644         (update_degree), (gst_bin_sort_iterator_next),
20645         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20646         Reworked the message handling a bit, cache the messages instead of
20647         only the senders. alows us to do more in the future.
20648
20649 2005-10-20  Wim Taymans  <wim@fluendo.com>
20650
20651         * docs/design/part-TODO.txt:
20652         Update TODO
20653
20654         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20655         (gst_base_sink_query):
20656         Don't use clock time to report position when in EOS.
20657
20658 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20659
20660         * tools/gst-inspect.c: (print_interfaces),
20661         (print_element_properties_info), (print_element_info):
20662           Fix interface output with gst-inspect -a; don't print
20663           newlines after double/float properties.
20664
20665 2005-10-20  Wim Taymans  <wim@fluendo.com>
20666
20667         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20668         (gst_base_sink_query):
20669         Speed up current position calculation.
20670
20671         * gst/base/gstbasesrc.c: (gst_base_src_query),
20672         (gst_base_src_default_newsegment):
20673         Correctly set stream position in newsegment.
20674
20675         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20676         (update_degree), (gst_bin_sort_iterator_next),
20677         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20678         * gst/gstmessage.c: (gst_message_new_custom):
20679         Clean up debugging info
20680
20681         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20682         (gst_queue_loop), (gst_queue_handle_src_query):
20683         Pause task faster.
20684
20685 2005-10-19  Wim Taymans  <wim@fluendo.com>
20686
20687         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20688         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20689         Fix query handling again.
20690
20691 2005-10-19  Wim Taymans  <wim@fluendo.com>
20692
20693         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20694         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20695         * gst/base/gstbasesrc.c: (gst_base_src_query):
20696         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20697         * gst/elements/gsttypefindelement.c:
20698         (gst_type_find_handle_src_query), (find_element_get_length),
20699         (gst_type_find_element_activate):
20700         API change fix.
20701
20702         * gst/gstquery.c: (gst_query_new_position),
20703         (gst_query_set_position), (gst_query_parse_position),
20704         (gst_query_new_duration), (gst_query_set_duration),
20705         (gst_query_parse_duration), (gst_query_set_segment),
20706         (gst_query_parse_segment):
20707         * gst/gstquery.h:
20708         Bundling query position/duration is not a good idea since duration
20709         does not change much and we don't want to recalculate it for every
20710         position query, so they are separated again..
20711         Base value in segment query is not needed.
20712
20713         * gst/gstqueue.c: (gst_queue_handle_src_query):
20714         * gst/gstutils.c: (gst_element_query_position),
20715         (gst_element_query_duration), (gst_pad_query_position),
20716         (gst_pad_query_duration):
20717         * gst/gstutils.h:
20718         Updates for query API change.
20719         Added some docs here and there.
20720
20721 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20722
20723         * check/gst/gstbin.c: (GST_START_TEST):
20724         * check/gst/gstghostpad.c: (GST_START_TEST):
20725         * check/pipelines/cleanup.c: (GST_START_TEST):
20726           wait on thread to die so we can check refcount correctly
20727
20728 2005-10-18  Wim Taymans  <wim@fluendo.com>
20729
20730         * check/pipelines/stress.c: (GST_START_TEST):
20731         Make check a little more time consuming.
20732
20733 2005-10-18  Wim Taymans  <wim@fluendo.com>
20734
20735         * check/Makefile.am:
20736         * check/pipelines/stress.c: (GST_START_TEST),
20737         (simple_launch_lines_suite), (main):
20738         Small state change torture test.
20739
20740         * docs/design/part-states.txt:
20741         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20742         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20743         (gst_base_sink_change_state):
20744         Never take state lock from streaming thread, clean up ugly
20745         hacks. Unfortunatly core does not yet support nice ways to
20746         async commit state.
20747         
20748         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20749         (bin_bus_handler):
20750         Start state recalc if a STATE_DIRTY message is posted, but only
20751         on the toplevel bin.
20752
20753         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20754         (gst_element_get_state_func), (gst_element_abort_state),
20755         (gst_element_commit_state), (gst_element_lost_state),
20756         (gst_element_set_state_func), (gst_element_change_state):
20757         * gst/gstelement.h:
20758         State variables are now protected with the LOCK, the state
20759         lock is only used to serialize _set_state().
20760
20761 2005-10-18  Wim Taymans  <wim@fluendo.com>
20762
20763         * check/gst/gstbin.c: (GST_START_TEST):
20764         * check/gst/gstmessage.c: (GST_START_TEST):
20765         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20766         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20767         (bin_bus_handler):
20768         * gst/gstelement.c: (gst_element_abort_state),
20769         (gst_element_commit_state), (gst_element_lost_state):
20770         * gst/gstmessage.c: (gst_message_new_state_changed),
20771         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20772         (gst_message_new_segment_done), (gst_message_new_duration),
20773         (gst_message_parse_state_changed),
20774         (gst_message_parse_segment_start),
20775         (gst_message_parse_segment_done), (gst_message_parse_duration):
20776         * gst/gstmessage.h:
20777         * tools/gst-launch.c: (event_loop):
20778         Seriously, this is better than a previous commit as we only need
20779         to notify the fact that an element changed state in a streaming
20780         thread, marking the state of the parents dirty, hence the 
20781         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20782         message.
20783
20784 2005-10-18  Wim Taymans  <wim@fluendo.com>
20785
20786         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20787         (gst_bin_recalc_func):
20788         * gst/gstelement.c: (gst_element_set_clock),
20789         (gst_element_abort_state), (gst_element_lost_state):
20790         Cleanups, prepare for state change fixes.
20791
20792 2005-10-18  Wim Taymans  <wim@fluendo.com>
20793
20794         * gst/gstbin.h:
20795         * gst/gstelement.c: (gst_element_class_init),
20796         (gst_element_set_state), (gst_element_set_state_func):
20797         * gst/gstelement.h:
20798         Pending ABI changes.
20799         GThreadPool in GstBinClass to monitor async state changes.
20800         state_cookie in GstElement to detect concurrent gst/set state.
20801         set_state is now virtual too in case a very complicated element
20802         has to be constructed.
20803
20804 2005-10-18  Wim Taymans  <wim@fluendo.com>
20805
20806         * check/gst/gstbin.c: (GST_START_TEST):
20807         * check/gst/gstmessage.c: (GST_START_TEST):
20808         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20809         * gst/gstbin.c: (bin_bus_handler):
20810         * gst/gstelement.c: (gst_element_commit_state),
20811         (gst_element_lost_state):
20812         * gst/gstmessage.c: (gst_message_new_state_changed),
20813         (gst_message_new_segment_start), (gst_message_new_segment_done),
20814         (gst_message_new_duration), (gst_message_parse_state_changed),
20815         (gst_message_parse_segment_start),
20816         (gst_message_parse_segment_done), (gst_message_parse_duration):
20817         * gst/gstmessage.h:
20818         * tools/gst-launch.c: (event_loop):
20819         Make messages future proof.
20820         state-change gets a flag if it was a message comming from the
20821         streaming thread.
20822         segment-start/stop can also be specified in other formats.
20823         A message to notify an app that a pipeline changed playback 
20824         duration.
20825         Also fix a GstMessage leak in -launch
20826
20827 2005-10-18  Andy Wingo  <wingo@pobox.com>
20828
20829         * gst/gstelement.c (gst_element_dispose): More helpful message.
20830
20831 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20832
20833         reviewed by: <delete if not using a buddy>
20834
20835         * common/gtk-doc.mak:
20836
20837 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20838
20839         * gst/gstregistry.c: (gst_registry_scan_path_level):
20840           unref a plug-in we get that was already initialized
20841
20842 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20843
20844         * docs/gst/gstreamer-sections.txt:
20845         * docs/libs/gstreamer-libs-sections.txt:
20846         * gst/gstelement.h:
20847           add new api entries
20848           hide internal macro
20849
20850 2005-10-17  Andy Wingo  <wingo@pobox.com>
20851
20852         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20853         cleanup.
20854
20855         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20856
20857         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20858
20859         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20860         (gst_element_get_state_func): Better debug message.
20861         (gst_element_commit_state): s/INFO/DEBUG/.
20862         (gst_element_lost_state, gst_element_change_state): 
20863
20864         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20865         (gst_message_new_custom): s/INFO/LOG/.
20866
20867 2005-10-17  Michael Smith <msmith@fluendo.com>
20868
20869         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20870           Check if end time is valid using end time, not start time.
20871
20872 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20873
20874         * check/gst-libs/controller.c: (GST_START_TEST),
20875         (gst_controller_suite):
20876         * libs/gst/controller/gstcontroller.c:
20877         (gst_controlled_property_set_interpolation_mode):
20878         * libs/gst/controller/gstcontroller.h:
20879         * libs/gst/controller/gstinterpolation.c:
20880         * testsuite/controller/.cvsignore:
20881         * testsuite/controller/Makefile.am:
20882         * testsuite/controller/interpolator.c:
20883           merge controller testsuites
20884           fix broken tests
20885           remove mem-chunk from docs
20886
20887 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20888
20889         * gst/gstmemchunk.c:
20890         * gst/gstmemchunk.h:
20891         * gst/gsttrashstack.c:
20892         * gst/gsttrashstack.h:
20893           out.  get out.  you're fired.  to the Attic !
20894
20895 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20896
20897         * gst/gstcaps.c: (gst_caps_intersect):
20898           fix signedness issues in a (hopefully) correct way
20899         * gst/gstelement.c: (gst_element_pads_activate):
20900           some debugging
20901         * gst/gstobject.c: (gst_object_set_parent):
20902           some debugging
20903
20904 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20905
20906         * gst/gstvalue.h: Fix prototypes.
20907
20908 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20909
20910         * docs/gst/gstreamer-sections.txt:
20911         * gst/gst.c: (gst_version_string):
20912         * gst/gst.h:
20913         * gst/gstversion.h.in:
20914         * win32/common/libgstreamer.def:
20915           add gst_version_string ()
20916
20917 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20918
20919         * configure.ac:
20920           clean up further
20921         * gst/gst.c: (init_post):
20922         * win32/common/config.h.in:
20923           it's PLUGINDIR now
20924         * gst/gstcaps.c: (gst_caps_intersect):
20925           use gint64, the range could be bigger than a guint
20926
20927 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20928
20929         * gst/gstclock.h:
20930           document potential problem in 2038
20931
20932 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20933
20934         * gst/gstcaps.c: (gst_caps_intersect):
20935           Fix guint j diving under 0
20936
20937 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20938
20939         * configure.ac:
20940         * win32/common/config.h:
20941         * win32/common/config.h.in:
20942           check for process.h, declares getpid() on Windows
20943         * gst/gstinfo.c:
20944           include process.h if we have it
20945         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20946         * gst/gstmemchunk.h:
20947           fix signedness issues
20948         * win32/common/libgstreamer.def:
20949           fix get_type's
20950
20951 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20952
20953         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20954         fix. Because of unsigned ints, caps intersection was going nuts and
20955         trying to access structures with G_MAXUINT index. That fixes
20956         videotestsrc ! ffmpegcolorspace ! fakesink
20957         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20958         consistency.
20959
20960 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20961
20962         * configure.ac:
20963           use the gettext macro
20964         * gst/elements/gstelements.c:
20965         * gst/gst.c:
20966         * gst/indexers/gstindexers.c:
20967           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20968         * win32/common/config.h:
20969           updated config.h
20970         * win32/common/config.h.in:
20971           add the template to generate config.h
20972         * win32/common/gstenumtypes.c:
20973         * win32/common/gstversion.h:
20974           updated copies
20975
20976 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20977
20978         * gst/gst.c: (gst_version):
20979         * gst/gstversion.h.in:
20980           add the nano
20981
20982 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20983
20984         * gst/gstevent.h:
20985           Oops, add missing closing bracket.
20986
20987 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20988
20989         * configure.ac:
20990           use common m4's for argument checking
20991
20992 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20993
20994         * docs/gst/gstreamer-sections.txt:
20995         * gst/gstevent.h:
20996           Add GST_EVENT_TYPE_NAME() macro.
20997
20998 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20999
21000         * gst/gstinfo.c:
21001         * gst/gstpluginfeature.c:
21002         * gst/gsttask.c:
21003           privatize more symbols
21004
21005 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21006
21007         * configure.ac:
21008           add srcdir, builddir includes to GST_ALL_CFLAGS, since
21009           everything that uses GStreamer API should have the includes
21010
21011 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21012
21013         * docs/gst/gstreamer-sections.txt:
21014         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21015         * gst/gstvalue.h:
21016           give each value a _get_type, removes the DATA exports
21017
21018 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21019
21020         * gst/gst.c:
21021         * gst/gst.h:
21022           remove _gst_registry_auto_load, not used anymore
21023         * gst/gstbin.c: (gst_bin_get_type):
21024         * gst/gstbin.h:
21025         * gst/gstelement.c: (gst_element_get_type):
21026         * gst/gstelement.h:
21027         * gst/gstobject.c: (gst_object_get_type):
21028         * gst/gstobject.h:
21029         * gst/gstpad.c: (gst_pad_get_type):
21030         * gst/gstpad.h:
21031           make _get_type functions similar, fixes data export from library
21032
21033 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21034
21035         * configure.ac:
21036           correctly make conditionals
21037         * gst/elements/Makefile.am:
21038         * gst/elements/gstelements.c:
21039           fix typo causing fdsrc not to build
21040
21041 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21042
21043         * testsuite/Makefile.am:
21044         * testsuite/bytestream/.cvsignore:
21045         * testsuite/bytestream/Makefile.am:
21046         * testsuite/bytestream/filepadsink.c:
21047         * testsuite/bytestream/gstbstest.c:
21048         * testsuite/bytestream/test1.c:
21049         * testsuite/bytestream/testfile1:
21050         * testsuite/caps/normalisation.c:
21051         * testsuite/caps/random.c: (main):
21052         * testsuite/cleanup/.cvsignore:
21053         * testsuite/cleanup/Makefile.am:
21054         * testsuite/cleanup/cleanup1.c:
21055         * testsuite/cleanup/cleanup2.c:
21056         * testsuite/cleanup/cleanup3.c:
21057         * testsuite/cleanup/cleanup4.c:
21058         * testsuite/cleanup/cleanup5.c:
21059         * testsuite/controller/interpolator.c:
21060         * testsuite/debug/printf_extension.c: (main):
21061         * testsuite/elements/tee.c:
21062         * testsuite/negotiation/.cvsignore:
21063         * testsuite/negotiation/Makefile.am:
21064         * testsuite/negotiation/pad_link.c:
21065         * testsuite/pad/Makefile.am:
21066         * testsuite/pad/chainnopull.c:
21067         * testsuite/pad/getnopush.c:
21068         * testsuite/pad/link.c:
21069         * testsuite/refcounting/sched.c: (create_pipeline):
21070         * testsuite/registry/Makefile.am:
21071         * testsuite/registry/gst-print-formats.c:
21072         * testsuite/schedulers/.cvsignore:
21073         * testsuite/schedulers/142183-2.c:
21074         * testsuite/schedulers/142183.c:
21075         * testsuite/schedulers/143777-2.c:
21076         * testsuite/schedulers/143777.c:
21077         * testsuite/schedulers/147713.c:
21078         * testsuite/schedulers/147819.c:
21079         * testsuite/schedulers/147894-2.c:
21080         * testsuite/schedulers/147894.c:
21081         * testsuite/schedulers/Makefile.am:
21082         * testsuite/schedulers/group_link.c:
21083         * testsuite/schedulers/queue_link.c:
21084         * testsuite/schedulers/relink.c:
21085         * testsuite/schedulers/unlink.c:
21086         * testsuite/schedulers/unref.c:
21087         * testsuite/schedulers/useless_iteration.c:
21088         * testsuite/states/bin.c:
21089           clean out/remove some stuff from the testsuite directories
21090
21091 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21092
21093         * configure.ac:
21094           check for some headers
21095         * gst/elements/Makefile.am:
21096         * gst/elements/gstelements.c:
21097           don't compile fdsrc without sys/socket.h
21098         * gst/indexers/Makefile.am:
21099         * gst/indexers/gstindexers.c: (plugin_init):
21100           don't compile fileindex without mmap
21101
21102 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21103
21104         * configure.ac:
21105           reorganize
21106           clean up
21107           document more
21108           remove cruft
21109         * check/Makefile.am:
21110         * docs/gst/Makefile.am:
21111         * examples/helloworld/Makefile.am:
21112         * gst/Makefile.am:
21113         * gst/base/Makefile.am:
21114         * gst/check/Makefile.am:
21115         * gst/elements/Makefile.am:
21116         * gst/indexers/Makefile.am:
21117         * gst/parse/Makefile.am:
21118         * libs/gst/controller/Makefile.am:
21119         * libs/gst/dataprotocol/Makefile.am:
21120         * examples/helloworld/helloworld.c: (event_loop):
21121           compile fixes, though it's not being compiled currently
21122
21123 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21124
21125         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21126           Add some simple tests for the new taglist date API.
21127
21128 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21129
21130         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21131         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21132           Beautify 'last-message' output: print 'none' for buffer timestamps
21133           and durations if none is set; improve alignment with next messages.
21134
21135 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21136
21137         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21138         * gst/gstpluginfeature.h:
21139         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21140         * gst/gstregistry.h:
21141         * docs/gst/gstreamer-sections.txt:
21142           Add new API to check plugin feature version requirements.
21143
21144         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21145           Some basic tests for the above.         
21146
21147 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21148
21149         * gst/gststructure.c: (gst_structure_to_string):
21150           guard against NULL printf - happens when for example
21151           a message structure with GstClock gets serialized
21152
21153 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21154
21155         * gst/base/gstcollectpads.c: (gst_collectpads_event):
21156           Fix presumable copy'n'pasto.
21157
21158 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21159
21160         * gst/elements/gstfakesrc.h:
21161         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21162         * gst/elements/gsttypefindelement.c:
21163           fix some signedness
21164         * gst/elements/gstfilesink.c: (gst_file_sink_render):
21165           I wonder if this could actually write +2GB files before
21166
21167 2005-10-13  Andy Wingo  <wingo@pobox.com>
21168
21169         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21170         Fix Timmeke Waymans bug.
21171         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21172         string of the proper length to gst_caps_from_string. There's a
21173         potential for, before this fix, that this could cause someone
21174         connecting over the network to cause a segfault if the payload is
21175         not NUL-terminated.
21176
21177 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21178
21179         * docs/design/draft-push-pull.txt:
21180         * docs/design/part-overview.txt:
21181         * docs/random/TODO-pre-0.9:
21182         * docs/random/old/ChangeLog.gstreamer:
21183         * gst/base/gstpushsrc.c:
21184         * gst/gstclock.c:
21185           fixed typos
21186
21187 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21188
21189         * gst/glib-compat.c: (gst_flags_get_first_value):
21190         * gst/glib-compat.h:
21191         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21192         (gst_value_compare_double), (gst_value_serialize_flags):
21193           GLib 2.6 g_flags_get_first_value has a bug that triggers an
21194           infinite loop
21195
21196 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21197
21198         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21199         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21200           fix up debugging
21201         * tools/gst-launch.c: (event_loop):
21202           print out clock nicely
21203
21204 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21205
21206         * docs/gst/gstreamer-sections.txt:
21207         * gst/gsttaglist.h:
21208         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21209         (gst_tag_list_get_date_index):
21210           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21211           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21212
21213 2005-10-13  Julien MOUTTE  <julien@moutte.net>
21214
21215         * gst/base/gstcollectpads.c: (gst_collectpads_event),
21216         (gst_collectpads_chain):
21217         * gst/base/gstcollectpads.h: Handle newsegment and store informations
21218         in CollectData.
21219
21220 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21221
21222         * docs/gst/gstreamer-sections.txt:
21223         * gst/gst.c:
21224         * gst/gsterror.h:
21225         * tools/gst-inspect.c: (main):
21226         * tools/gst-launch.c: (main):
21227         * tools/gst-run.c: (main):
21228         * tools/gst-xmlinspect.c: (main):
21229           fix GOption context leaks
21230           doc fixes
21231
21232 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21233
21234         * gst/gstbus.c:
21235           use HAVE_UNISTD_H
21236         * win32/common/config.h:
21237           update config
21238         * win32/vs6/grammar.dsp:
21239         * win32/vs6/libgstelements.dsp:
21240         * win32/vs6/libgstreamer.dsp:
21241           update vs6 files
21242
21243 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21244
21245         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21246         * gst/base/gstbasesrc.c: (gst_base_src_query):
21247           fix more guint64<->gdouble conversions
21248
21249 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21250
21251         * Makefile.am:
21252           add win32-update target
21253         * win32/common/gstconfig.h:
21254         * win32/common/gstenumtypes.c:
21255         * win32/common/gstenumtypes.h:
21256         * win32/common/gstversion.h:
21257           add files that visual studio can't generate
21258
21259 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21260
21261         * Makefile.am:
21262           add a win32-update target
21263         * configure.ac:
21264
21265 2005-10-12  Wim Taymans  <wim@fluendo.com>
21266
21267         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21268         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21269         * gst/gstelement.c: (gst_element_commit_state),
21270         (gst_element_set_state):
21271         Protect flags with proper lock.
21272         unref provided cached clock in dispose.
21273
21274 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21275
21276         * gst/gst.c:
21277         * gst/gstminiobject.h:
21278         * gst/gstpad.h:
21279         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21280           removed unused flags from miniobject
21281           doc fixes
21282
21283 2005-10-12  Wim Taymans  <wim@fluendo.com>
21284
21285         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21286         (gst_file_sink_event), (gst_file_sink_render):
21287         Flush before seeking.
21288
21289 2005-10-12  Andy Wingo  <wingo@pobox.com>
21290
21291         * gst/gst.c (gst_init_check): Ignore unknown options, as has
21292         always been the case.
21293
21294 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21295
21296         * check/gst/gstbin.c: (GST_START_TEST):
21297         * docs/gst/gstreamer-sections.txt:
21298         * gst/base/gstbasesink.c: (gst_base_sink_init):
21299         * gst/base/gstbasesrc.c: (gst_base_src_init),
21300         (gst_base_src_get_range), (gst_base_src_check_get_range),
21301         (gst_base_src_start), (gst_base_src_stop):
21302         * gst/base/gstbasesrc.h:
21303         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21304         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21305         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21306         (bin_bus_handler):
21307         * gst/gstbin.h:
21308         * gst/gstbuffer.h:
21309         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21310         * gst/gstbus.h:
21311         * gst/gstelement.c: (gst_element_is_locked_state),
21312         (gst_element_set_locked_state), (gst_element_commit_state),
21313         (gst_element_set_state):
21314         * gst/gstelement.h:
21315         * gst/gstindex.c: (gst_index_init):
21316         * gst/gstindex.h:
21317         * gst/gstminiobject.h:
21318         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21319         (gst_object_set_parent):
21320         * gst/gstobject.h:
21321         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21322         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21323         * gst/gstpad.h:
21324         * gst/gstpadtemplate.h:
21325         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21326         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21327         * gst/gstpipeline.h:
21328         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21329         (gst_file_index_commit):
21330         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21331         * testsuite/pad/link.c: (gst_test_src_init),
21332         (gst_test_filter_init), (gst_test_sink_init):
21333         * testsuite/states/locked.c: (main):
21334           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21335           moved bitshift from macro to enum definition
21336
21337 2005-10-12  Wim Taymans  <wim@fluendo.com>
21338
21339         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21340         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21341         (gst_file_sink_render):
21342         Some more debugging info.
21343
21344 2005-10-12  Wim Taymans  <wim@fluendo.com>
21345
21346         * docs/design/part-states.txt:
21347         * tools/gst-launch.c: (main):
21348         Some doc updates.
21349         Revert non-intentional change.
21350
21351 2005-10-12  Wim Taymans  <wim@fluendo.com>
21352
21353         * check/gst/gstbin.c: (GST_START_TEST):
21354         * check/gst/gstelement.c: (GST_START_TEST):
21355         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21356         * check/gst/gstghostpad.c: (GST_START_TEST):
21357         * check/gst/gstpipeline.c: (GST_START_TEST):
21358         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21359         * check/states/sinks.c: (GST_START_TEST):
21360         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21361         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21362         (gst_bin_remove_func), (gst_bin_get_state_func),
21363         (gst_bin_recalc_state), (gst_bin_change_state_func),
21364         (bin_bus_handler):
21365         * gst/gstelement.c: (gst_element_get_state_func),
21366         (gst_element_get_state), (gst_element_abort_state),
21367         (gst_element_commit_state), (gst_element_set_state),
21368         (gst_element_change_state), (gst_element_change_state_func):
21369         * gst/gstelement.h:
21370         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21371         (gst_pipeline_provide_clock_func):
21372         * gst/gstutils.c: (gst_element_link_pads_filtered):
21373         * tools/gst-launch.c: (main):
21374         * tools/gst-typefind.c: (main):
21375         Use GstClockTime in _get_state() instead of GTimeVal.
21376         Remove old code in gstutils.c
21377
21378 2005-10-12  Andy Wingo  <wingo@pobox.com>
21379
21380         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21381         removed.
21382
21383         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21384         there is no task. Shouldn't affect any code, as nothing in our
21385         plugins checks this return value.
21386         (gst_pad_stop_task): Also take the stream lock if the pad has no
21387         task. Docs updated.
21388
21389 2005-10-12  Wim Taymans  <wim@fluendo.com>
21390
21391         * gst/gstpad.c: (pre_activate), (post_activate),
21392         (gst_pad_activate_pull), (gst_pad_activate_push):
21393         Cleanup activation code. Reset old state if
21394         activation failed.
21395
21396 2005-10-12  Wim Taymans  <wim@fluendo.com>
21397
21398         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21399         (gst_base_sink_change_state):
21400         No need to prerol after receiving EOS.
21401
21402         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21403         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21404         * gst/elements/gstidentity.c: (gst_identity_event):
21405         Print events more verbosely.
21406
21407 2005-10-12  Wim Taymans  <wim@fluendo.com>
21408
21409         * check/Makefile.am:
21410         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21411         * check/states/sinks2.c:
21412         Moved sinks2 testcode in sinks check.
21413
21414         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21415         (gst_bin_remove_func), (gst_bin_recalc_state),
21416         (gst_bin_change_state_func), (bin_bus_handler):
21417         Fix potential race condition when _get_state() iterated over an
21418         ASYNC element right before it posted a state completion.
21419
21420         * gst/gstclock.h:
21421         Do proper cast here.
21422
21423         * gst/gstevent.c: (gst_event_new_newsegment),
21424         (gst_event_parse_newsegment):
21425         A playback rate of 0.0 is not allowed.
21426
21427 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21428
21429         * win32/common/config.h:
21430         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21431         (_trewinddir), (_ttelldir), (_tseekdir):
21432         * win32/common/dirent.h:
21433         * win32/common/gtchar.h:
21434         * win32/common/libgstbase.def:
21435         * win32/common/libgstreamer.def:
21436         * win32/vs6/grammar.dsp:
21437         * win32/vs6/gst_inspect.dsp:
21438         * win32/vs6/gst_launch.dsp:
21439         * win32/vs6/gstreamer.dsw:
21440         * win32/vs6/libgstbase.dsp:
21441         * win32/vs6/libgstelements.dsp:
21442         * win32/vs6/libgstreamer.dsp:
21443           Visual Studio 6 project files, and a new common directory.
21444           Phear.
21445
21446 2005-10-11  Wim Taymans  <wim@fluendo.com>
21447
21448         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21449         (gst_base_sink_do_sync), (gst_base_sink_query),
21450         (gst_base_sink_change_state):
21451         * gst/base/gstbasesink.h:
21452         Correctly parse newsegment info.
21453
21454 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21455
21456         * gst/gst.c: (init_post):
21457           split plugin paths correctly
21458
21459 2005-10-11  Wim Taymans  <wim@fluendo.com>
21460
21461         * check/gst/gstevent.c: (GST_START_TEST):
21462         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21463         (gst_base_sink_change_state):
21464         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21465         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21466         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21467         * gst/gstevent.c: (gst_event_new_newsegment),
21468         (gst_event_parse_newsegment):
21469         * gst/gstevent.h:
21470         Added extra flag to newsegment for future API freeze.
21471         Updated check and base elements.
21472
21473 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21474
21475         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21476         (gst_collectpads_add_pad), (gst_collectpads_pop),
21477         (gst_collectpads_event), (gst_collectpads_chain):
21478         * gst/base/gstcollectpads.h: Handle EOS correctly.
21479
21480 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21481
21482         * tools/gst-launch.c: (main):
21483           more null protecting
21484
21485 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21486
21487         * gst/gst-i18n-lib.h:
21488           check for ENABLE_NLS, not GETTEXT_PACKAGE
21489         * gst/gstregistry.c: (gst_registry_add_plugin),
21490         (gst_registry_scan_path_level),
21491         (_gst_registry_remove_cache_plugins):
21492           protect possibly NULL strings
21493         * gst/parse/types.h:
21494           config.h already included before
21495         * tools/gst-inspect.c: (main):
21496           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21497           check for ENABLE_NLS, not GETTEXT_PACKAGE
21498         * tools/gst-launch.c: (main):
21499           check for ENABLE_NLS, not GETTEXT_PACKAGE
21500
21501 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21502
21503         * configure.ac:
21504           if we don't have glib, fail before testing 2.8
21505         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21506           fix a leak, should fix plugins-base testsuite
21507
21508 2005-10-11  Andy Wingo  <wingo@pobox.com>
21509
21510         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21511         take the mode we're going to as an arg. Go head and set the mode
21512         and flushing flags now, so that if the activate function starts a
21513         thread all the flags will be in the right state.
21514         (post_activate): Renamed also. Just handle making sure streaming
21515         finishes for the deactivation case, and setting the deactivated
21516         mode.
21517         (gst_pad_set_active): Complain loudly if deactivation fails.
21518         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21519         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21520         remove the terrible hack.
21521
21522 2005-10-11  Wim Taymans  <wim@fluendo.com>
21523
21524         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21525         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21526         (gst_bin_recalc_state), (gst_bin_change_state_func),
21527         (gst_bin_dispose), (bin_bus_handler):
21528         * gst/gstbin.h:
21529         Prepare to make current EOS message queue more generic.
21530         Fix some typos.
21531
21532         * gst/gstevent.c: (gst_event_new_newsegment),
21533         (gst_event_parse_newsegment):
21534         * gst/gstevent.h:
21535         Rename base to stream_time.
21536
21537         * gst/gstmessage.h:
21538         Fix typo in docs.
21539
21540 2005-10-11  Wim Taymans  <wim@fluendo.com>
21541
21542         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21543         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21544         (gst_bin_change_state_func), (bin_bus_handler):
21545         * gst/gstbin.h:
21546         Work on proper clock selection.
21547
21548 2005-10-11  Edward Hervey  <edward@fluendo.com>
21549
21550         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21551         * libs/gst/controller/gstcontroller.h:
21552         Added GList* version of _remove_properties() in order to be able to wrap
21553         it in bindings.
21554
21555 2005-10-11  Wim Taymans  <wim@fluendo.com>
21556
21557         * docs/design/part-states.txt:
21558         Some more docs.
21559
21560         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21561         (gst_bin_change_state_func), (bin_bus_handler):
21562         Doc updates. Don't distribute the same clock over and over again.
21563
21564         * gst/gstclock.c:
21565         * gst/gstclock.h:
21566         Doc updates.
21567
21568         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21569         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21570         (gst_pad_send_event):
21571         * gst/gstpad.h:
21572         Make probe emission threadsafe again.
21573         Register quarks and move _get_name() from utils.
21574         Doc updates.
21575
21576         * gst/gstpipeline.c: (gst_pipeline_class_init),
21577         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21578         Only redistribute the clock of it changed.
21579
21580         * gst/gstsystemclock.h:
21581         Doc updates. 
21582
21583         * gst/gstutils.c:
21584         * gst/gstutils.h:
21585         Moved the _flow_get_name() to GstPad.
21586
21587 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21588
21589         * check/gst-libs/gdp.c: (GST_START_TEST):
21590         * check/gst/gstcaps.c: (GST_START_TEST):
21591         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21592         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21593         (gst_dp_packet_from_caps):
21594           fix more valgrind warnings before turning up the heat
21595
21596 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21597
21598         * gst/parse/grammar.y:
21599           some cleanup before the hacking
21600
21601 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21602
21603         * gst/base/gstbasesrc.c: (gst_base_src_query):
21604           use conversions
21605         * gst/gstutils.c: (gst_guint64_to_gdouble),
21606         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21607         * gst/gstutils.h:
21608           externalize, basesrc uses it
21609           obviously the implementation needs testing
21610
21611 2005-10-10  Wim Taymans  <wim@fluendo.com>
21612
21613         * tests/sched/Makefile.am:
21614         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21615         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21616
21617 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21618
21619         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21620           apparently converting from guint64 to double is not implemented
21621           on MSVC
21622
21623 2005-10-10  Wim Taymans  <wim@fluendo.com>
21624
21625         * check/Makefile.am:
21626         * check/generic/states.c: (GST_START_TEST):
21627         * check/gst/gstbin.c: (GST_START_TEST):
21628         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21629         * check/states/sinks.c: (GST_START_TEST):
21630         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21631         (main):
21632         Check fixes, use API as stated in design docs, remove hacks.
21633
21634         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21635         (gst_base_sink_change_state):
21636         Catch stopping our task while we're shutting down.
21637
21638         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21639         (gst_bin_remove_func), (gst_bin_get_state_func),
21640         (gst_bin_recalc_state), (gst_bin_change_state_func),
21641         (bin_bus_handler):
21642         * gst/gstbin.h:
21643         * gst/gstelement.c: (gst_element_init),
21644         (gst_element_get_state_func), (gst_element_abort_state),
21645         (gst_element_commit_state), (gst_element_lost_state),
21646         (gst_element_set_state), (gst_element_change_state),
21647         (gst_element_change_state_func):
21648         * gst/gstelement.h:
21649         New state change algorithm (see #318116)
21650
21651         * gst/gstpipeline.c: (gst_pipeline_class_init),
21652         (gst_pipeline_init), (gst_pipeline_set_property),
21653         (gst_pipeline_get_property), (do_pipeline_seek),
21654         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21655         * gst/gstpipeline.h:
21656         Remove crude state change hacks.
21657
21658         * gst/gstutils.h:
21659         Remove crude hacks.
21660
21661         * tools/gst-launch.c: (main):
21662         Fixes for state change. Needs some more work to fully use the
21663         new stuff.
21664
21665 2005-10-10  Andy Wingo  <wingo@pobox.com>
21666
21667         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21668
21669         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21670         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21671         issue.
21672
21673 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21674
21675         * gst/gstiterator.c: (gst_iterator_new):
21676           Fix my previous commit: GTypes passed to gst_iterator_new()
21677           can be fundamental types.
21678
21679 2005-10-10  Wim Taymans  <wim@fluendo.com>
21680
21681         * gst/gstelement.c: (gst_element_iterate_pad_list),
21682         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21683         (gst_element_iterate_sink_pads):
21684         Use src/sink pads lists for the respective iterators instead
21685         of filtering.
21686
21687 2005-10-10  Andy Wingo  <wingo@pobox.com>
21688
21689         Merged in popt removal + GOption addition patch from Ronald, bug
21690         #169772.
21691
21692         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21693         GstElement macros around, remove popt-related symbols, add goption
21694         stuff.
21695
21696         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21697         
21698         * docs/gst/Makefile.am:
21699         * docs/libs/Makefile.am: No POPT_CFLAGS.
21700         
21701         * examples/manual/Makefile.am:
21702         * docs/manual/basics-init.xml: Doc updates with an example.
21703         
21704         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21705         (gst_init), (parse_one_option), (parse_goption_arg):
21706         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21707         bit of hand merging and debugging to get the GOption stuff working
21708         tho.
21709         
21710         * tests/Makefile.am:
21711         * tools/Makefile.am:
21712         * tools/gst-inspect.c: (main):
21713         * tools/gst-launch.c: (main):
21714         * tools/gst-run.c: (main):
21715         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21716
21717 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21718
21719         * gst/gstiterator.c: (gst_iterator_new):
21720           Add assertions to make sure passed GType is likely to really
21721           be a GType (as the compiler won't catch it if the size and
21722           GType arguments get mixed up, see #318447).
21723
21724 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21725
21726         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21727
21728         * gst/gstbin.c: (gst_bin_iterate_sorted):
21729           Pass GType and size arguments to gst_iterator_new() in the right
21730           order (maybe we should make _new() take the GType as first argument
21731           just like _new_list()?) (#318447).
21732           
21733
21734 2005-10-10  Wim Taymans  <wim@fluendo.com>
21735
21736         * gst/gstelement.c: (gst_element_finalize):
21737         And free the GStaticRecMutex too
21738
21739 2005-10-10  Andy Wingo  <wingo@pobox.com>
21740
21741         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21742         Allocate and free the mutex properly.
21743
21744         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21745         New macros.
21746         (GstElement): The state_lock is now recursive. Rebuild your
21747         plugins, suckers. Old macros adapted.
21748
21749         * docs/gst/gstreamer-sections.txt: Doc updates.
21750
21751         * gst/gstutils.h:
21752         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21753         (g_static_rec_cond_wait): Ported from state changes patch, while
21754         we wait on bug #317802 to be solved in a well-distributed GLib.
21755
21756         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21757         gst_element_change_state, variable name changes.
21758         (gst_element_change_state): Split out of gst_element_set_state in
21759         preparation for the state change merge. Doesn't pay attention to
21760         the 'transition' argument.
21761         (gst_element_set_state): Updates, hopefully purely cosmetic.
21762         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21763         state change patch.
21764         (gst_element_get_state_func): Renamed from get_state, cosmetic
21765         changes.
21766
21767 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21768
21769         * gst/elements/gstelements.c:
21770         * win32/GStreamer.vcproj:
21771         * win32/config.h:
21772         * win32/dirent.c: (_tseekdir):
21773         * win32/gst-inspect.vcproj:
21774         * win32/gst-launch.vcproj:
21775         * win32/gstconfig.h:
21776         * win32/gstelements.vcproj:
21777         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21778         * win32/gstreamer.def:
21779         * win32/msvc71.sln:
21780           updates for the win32 build (patch from Sebastien Moutte)
21781
21782 2005-10-10  Andy Wingo  <wingo@pobox.com>
21783
21784         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21785         gst_bin_get_state, cleaned up (but no logic changes).
21786         (bin_element_is_sink): Comment updates.
21787         (sink_iterator_filter): Remove needless cast.
21788         (gst_bin_iterate_sinks): Doc update.
21789         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21790         cleaned up (but no logic changes).
21791
21792         * check/states/sinks.c (test_src_sink): Cleanups from the state
21793         change patch.
21794         (test_livesrc_sink): Sync on the state.
21795
21796         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21797         the state change patch.
21798
21799         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21800         change patch.
21801
21802         * check/gst/gstbin.c: Merge in some style fixes and additional
21803         checks from Wim's state change patch.
21804
21805 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21806
21807         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21808         (gst_type_find_helper):
21809           Check whether we have the requested data already in our list of
21810           cached buffers before pulling a new buffer; also make the buffer
21811           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21812
21813 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21814
21815         * gst/gstcaps.c:
21816         * gst/gstevent.c:
21817           doc updates
21818         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21819           don't use long long, it's not portable.  Replacing with
21820           gint64 seems to work; let's hope no skeletons fall out of the closet.
21821
21822 2005-10-10  Andy Wingo  <wingo@pobox.com>
21823
21824         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21825
21826 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21827
21828         * docs/gst/gstreamer-sections.txt:
21829         * gst/gstevent.c:
21830         * gst/gstevent.h:
21831         * gst/gstinfo.c:
21832         * gst/gstinfo.h:
21833         * gst/gstmessage.c: (gst_message_parse_state_changed):
21834         * gst/gstpad.c:
21835         * gst/gstpad.h:
21836           more docs, fix compilation
21837
21838 2005-10-09  Philippe Khalaf <burger@speedy.org>
21839         * gst/gstmessage.c:
21840           Fixed a few forgotten variables on previous commit
21841
21842 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21843
21844         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21845           Fix evil typefind crasher: getrange() might return a short
21846           buffer at the end of a file, but gst_type_find_peek() must
21847           either return the full data as requested or NULL, but
21848           never a short buffer.
21849
21850 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21851
21852         * gst/gstmessage.c: (gst_message_new_state_changed),
21853         (gst_message_parse_state_changed):
21854         * gst/gstmessage.h:
21855           don't use "new", it's a C++ keyword
21856
21857 2005-10-08  Wim Taymans  <wim@fluendo.com>
21858
21859         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21860         * gst/gstelement.c: (gst_element_post_message):
21861         * gst/gstpipeline.c: (gst_pipeline_change_state):
21862         Small docs and debug updates.
21863
21864 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21865
21866         * docs/gst/gstreamer-sections.txt:
21867         * gst/gstelementfactory.c:
21868         * gst/gstevent.c:
21869         * gst/gsttaglist.c:
21870           more docs
21871
21872 2005-10-08  Wim Taymans  <wim@fluendo.com>
21873
21874         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21875         (gst_bin_dispose), (bin_bus_handler):
21876         Fix typos, add comments.
21877         Clear EOS list when going to PAUSED from any direction and do it
21878         in a threadsafe way.
21879         Get base time in a threadsafe way too.
21880         Fix confusing debug in the change_state function.
21881         Various other small cleanups.
21882         
21883         * gst/gstelement.c: (gst_element_post_message):
21884         Fix very verbose bus posting code.
21885
21886         * gst/gstpipeline.c: (gst_pipeline_class_init),
21887         (gst_pipeline_set_property), (gst_pipeline_get_property),
21888         (gst_pipeline_change_state):
21889         Small ARG_ -> PROP_ cleanup
21890
21891 2005-10-08  Wim Taymans  <wim@fluendo.com>
21892
21893         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21894         Do a less CPU demanding EOS check because we can.
21895
21896 2005-10-08  Wim Taymans  <wim@fluendo.com>
21897
21898         * libs/gst/dataprotocol/dataprotocol.c:
21899         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21900         (gst_dp_packet_from_event):
21901         * libs/gst/dataprotocol/dataprotocol.h:
21902         * libs/gst/dataprotocol/dp-private.h:
21903         It's about time we bump the version number.
21904         Since event types don't fit in the guint8 anymore describing
21905         the payload type, make payload type 16 bits wide.
21906
21907 2005-10-08  Wim Taymans  <wim@fluendo.com>
21908
21909         * docs/design/part-TODO.txt:
21910         * docs/design/part-clocks.txt:
21911         * docs/design/part-events.txt:
21912         * docs/design/part-gstbin.txt:
21913         * docs/design/part-gstelement.txt:
21914         * docs/design/part-gstpipeline.txt:
21915         * docs/design/part-live-source.txt:
21916         * docs/design/part-messages.txt:
21917         * docs/design/part-overview.txt:
21918         * docs/design/part-states.txt:
21919         Many doc updates.
21920
21921 2005-10-08  Wim Taymans  <wim@fluendo.com>
21922
21923         * gst/gstevent.c:
21924         * gst/gstevent.h:
21925         Fix event quark registration.
21926         Add some space between events so we can insert them in the
21927         right groups.
21928
21929 2005-10-08  Wim Taymans  <wim@fluendo.com>
21930
21931         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21932         (gst_base_sink_handle_buffer):
21933         Better log message.
21934
21935         * gst/gstbus.h:
21936         * gst/gstelement.h:
21937         More docs.
21938
21939         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21940         (gst_queue_set_property), (gst_queue_get_property):
21941         * gst/gstqueue.h:
21942         Remove old unused properties.
21943
21944 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21945         * docs/gst/gstreamer-sections.txt:
21946         * gst/gstmessage.c:
21947         * gst/gstmessage.h:
21948         * gst/gstminiobject.c:
21949         * gst/gstminiobject.h:
21950         * gst/gstobject.h:
21951         * gst/gstpad.h:
21952         * gst/gstutils.h:
21953           lots of new docs and doc fixes
21954
21955 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21956
21957         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21958         * gst/gstplugin.h:
21959         * gst/gstregistry.c: (gst_registry_lookup_locked),
21960         (gst_registry_scan_path_level):
21961         * gst/gstregistryxml.c: (load_plugin):
21962           Only ever load one plugin for a given plugin basename.
21963           This ensures correct overriding of GST_PLUGIN_PATH over
21964           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21965           system installed plugins.
21966
21967 2005-10-08  Wim Taymans  <wim@fluendo.com>
21968
21969         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21970         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21971         Prepare for doing QOS.
21972
21973 2005-10-08  Wim Taymans  <wim@fluendo.com>
21974
21975         * check/gst/gstbin.c: (GST_START_TEST):
21976         * check/pipelines/cleanup.c: (GST_START_TEST):
21977         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21978         Allow new clock message too.
21979
21980 2005-10-08  Wim Taymans  <wim@fluendo.com>
21981
21982         * gst/gstmessage.c: (gst_message_new_error),
21983         (gst_message_new_warning), (gst_message_new_tag),
21984         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21985         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21986         (gst_message_new_segment_start), (gst_message_new_segment_done),
21987         (gst_message_parse_state_changed),
21988         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21989         (gst_message_parse_new_clock):
21990         * gst/gstmessage.h:
21991         Also carry the clock in question.
21992
21993 2005-10-08  Wim Taymans  <wim@fluendo.com>
21994
21995         * gst/gstmessage.c: (gst_message_new_custom),
21996         (gst_message_new_eos), (gst_message_new_error),
21997         (gst_message_new_warning), (gst_message_new_tag),
21998         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21999         (gst_message_new_new_clock), (gst_message_new_segment_start),
22000         (gst_message_new_segment_done), (gst_message_parse_state_changed),
22001         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22002         * gst/gstmessage.h:
22003         Clean up.
22004         Added clock related messages.
22005
22006         * gst/gstpipeline.c: (gst_pipeline_change_state):
22007         Post message when the clock changed.
22008
22009         * tools/gst-launch.c: (event_loop):
22010         Print new clock.
22011
22012 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
22013
22014         * tools/gst-inspect.c: (print_element_properties_info):
22015           Can't pass NULL strings to g_print() on windows.
22016
22017 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22018
22019         * docs/Makefile.am:
22020         * docs/gst/Makefile.am:
22021         * docs/gst/gstreamer-docs.sgml:
22022         * docs/gst/running.xml:
22023         * docs/version.entities.in:
22024           add a chapter on running GStreamer.
22025           document GST_DEBUG and GST_PLUGIN* env vars
22026
22027 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22028
22029         * Makefile.am:
22030           remove include dir
22031         * configure.ac:
22032           remove PLUGINS_BUILDDIR stuff
22033         * gst/gst.c: (init_post):
22034           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22035         * idiottest.mak:
22036           remove, it was condescending and not needed
22037
22038 2005-10-08  Wim Taymans  <wim@fluendo.com>
22039
22040         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22041         (gst_base_sink_handle_object), (gst_base_sink_event),
22042         (gst_base_sink_wait), (gst_base_sink_handle_event),
22043         (gst_base_sink_change_state):
22044         * gst/base/gstbasesink.h:
22045         Repost EOS message while going to PLAYING if still EOS.
22046         Make sure that when receiving a FLUSH_START we don't attempt
22047         to sync on the clock anymore.
22048
22049 2005-10-08  Wim Taymans  <wim@fluendo.com>
22050
22051         * tools/gst-launch.c: (event_loop):
22052         Better message printout.
22053
22054 2005-10-08  Wim Taymans  <wim@fluendo.com>
22055
22056         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22057         (gst_bin_child_proxy_get_children_count):
22058         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22059         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22060         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22061         (gst_child_proxy_set_valist):
22062         * gst/parse/grammar.y:
22063         Make ChildProxy threadsafe and fix mem leaks.
22064
22065 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22066
22067         * gst/gst.c: (init_post):
22068           debug the GST_PLUGIN_ env vars
22069
22070 2005-10-08  Wim Taymans  <wim@fluendo.com>
22071
22072         * check/gst/gstbin.c: (GST_START_TEST):
22073         * check/gst/gstmessage.c: (GST_START_TEST):
22074         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22075         * gst/gstelement.c: (gst_element_commit_state),
22076         (gst_element_lost_state):
22077         * gst/gstmessage.c: (gst_message_new_state_changed),
22078         (gst_message_parse_state_changed):
22079         * gst/gstmessage.h:
22080         * tools/gst-launch.c: (event_loop):
22081         Added extra field to STATE_CHANGE message with the pending
22082         state, which will be different from the new state soon.
22083
22084 2005-10-08  Wim Taymans  <wim@fluendo.com>
22085
22086         * gst/gstbus.c: (gst_bus_pop):
22087         * gst/gstclock.c:
22088         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22089         Small cleanups and doc updates.
22090
22091 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22092
22093         * gst/gst.c: (init_pre):
22094         * gst/gstbin.c: (gst_bin_add_func):
22095           log distributing clocks and base time
22096         * gst/gstregistry.c: (gst_registry_add_plugin),
22097         (gst_registry_scan_path_level), (gst_registry_scan_path):
22098           clean up the debugging output a little
22099         * gst/gstutils.c: (gst_element_state_get_name):
22100           warn about a memleak (I've actually seen this be used, though
22101           it was probably a bug)
22102
22103 2005-10-07  Wim Taymans  <wim@fluendo.com>
22104
22105         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22106         (gst_base_src_init), (gst_base_src_default_newsegment),
22107         (gst_base_src_newsegment), (gst_base_src_do_seek),
22108         (gst_base_src_loop), (gst_base_src_start):
22109         * gst/base/gstbasesrc.h:
22110         Make the newsegment event customizable by subclasses.
22111
22112 2005-10-07  Wim Taymans  <wim@fluendo.com>
22113
22114         * gst/gstevent.c: (gst_event_new_buffersize),
22115         (gst_event_parse_buffersize):
22116         * gst/gstevent.h:
22117         New event for future idea.
22118
22119 2005-10-07  Andy Wingo  <wingo@pobox.com>
22120
22121         * gst/gstelement.c (gst_element_post_message): Doc update.
22122
22123         * docs/gst/gstreamer-sections.txt: Update.
22124
22125         * gst/gstmessage.c (gst_message_new_application): Made into a
22126         function like honest API calls.
22127         (gst_message_new_element): New message type.
22128
22129         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22130
22131         * check/elements/fakesrc.c (test_no_preroll): New check, checks
22132         that setting a live fakesrc to PAUSED returns NO_PREROLL both
22133         times.
22134
22135         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22136         NO_PREROLL from gst_element_change_state to fall through.
22137
22138 2005-10-07  Wim Taymans  <wim@fluendo.com>
22139
22140         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22141         (gst_ghost_pad_do_activate_push):
22142         Activating a ghostpad with no internal pad in push mode
22143         is ok.
22144
22145 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22146
22147         * gst/gstobject.h:
22148           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22149           Fixes compilation on Windows.
22150
22151 2005-10-07  Michael Smith <msmith@fluendo.com>
22152
22153         * tools/gst-inspect.c:
22154           Print out feature and plugin count at the end when printing out
22155           all features.
22156
22157 2005-10-04  Michael Smith <msmith@fluendo.com>
22158
22159         * gst/gsterror.c: (_gst_stream_errors_init):
22160           Add another error string used in a few existing plugins.
22161
22162         * gst/gstplugin.c:
22163         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22164         * tools/gst-inspect.c: (print_element_info):
22165           When a feature disappears from a plugin (and the feature exists in
22166           the cached registry file), things went horribly wrong. This isn't a
22167           complete fix, we should actually be removing the 'missing' features
22168           from the features list when we load the actual plugin. That's not
22169           yet implemented. 
22170
22171 2005-10-04  Johan Dahlin  <johan@gnome.org>
22172
22173         * check/gst/gstiterator.c: (GST_START_TEST):
22174         * gst/gstbin.c: (gst_bin_iterate_elements),
22175         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22176         * gst/gstelement.c: (gst_element_iterate_pads):
22177         * gst/gstformat.c: (gst_format_iterate_definitions):
22178         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22179         (gst_iterator_new_list), (gst_iterator_filter):
22180         * gst/gstiterator.h:
22181         * gst/gstquery.c: (gst_query_type_iterate_definitions):
22182         Add a GType to GstIterator, update callsites and tests.
22183
22184 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22185
22186         * gst/gstpad.c: (gst_pad_event_default_dispatch):
22187           give events a chance to be handled by event probes when the pad
22188           is not linked
22189
22190 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22191
22192         * gst/gstevent.c: (gst_event_type_get_name),
22193         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22194         * gst/gstevent.h:
22195           add string representations for event types
22196
22197 2005-10-06  Wim Taymans  <wim@fluendo.com>
22198
22199         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22200         Don't use NULL pointers.
22201
22202 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22203
22204         * gst/gst_private.h:
22205         * gst/gstbus.c:
22206         * gst/gstelement.c:
22207         * gst/gstinfo.c:
22208         * gst/gstpluginfeature.c:
22209           widen the debug category in output to fit the biggest one we have
22210           add a bus category and use it
22211           play with the colors
22212           fix up some categories
22213
22214 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22215
22216         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22217           add push activation of sink ghost pads.
22218           Andye, please verify
22219
22220 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22221
22222         * gst/gstutils.c: (gst_element_link_pads):
22223           fix a bug in the case where neither element has a pad
22224         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22225           add a test for that case
22226
22227 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22228
22229         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22230           emit have-data before checking for peers.  This allows
22231           for probe handlers to connect elements.  This helps autopluggers.
22232         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22233         (gst_pad_suite):
22234           add six checks, linked/unlinked with no/true/false probe
22235
22236 2005-10-04  Wim Taymans  <wim@fluendo.com>
22237
22238         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22239         (gst_fake_sink_event), (gst_fake_sink_preroll),
22240         (gst_fake_sink_render), (gst_fake_sink_change_state):
22241         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22242         (gst_fake_src_get_property), (gst_fake_src_create),
22243         (gst_fake_src_stop):
22244         * gst/elements/gstidentity.c: (gst_identity_stop):
22245         Protect last_message with lock.
22246
22247 2005-10-04  Edward Hervey  <edward@fluendo.com>
22248
22249         * gst/gstformat.h: 
22250         Added precision in the comments for GST_FORMAT_DEFAULT
22251
22252 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
22253
22254         * tools/gst-launch.c: (main):
22255           Don't try to run erroneous pipelines.
22256
22257 2005-10-04  Julien MOUTTE  <julien@moutte.net>
22258
22259         * gst/gstbus.c: We don't need this header.
22260
22261 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22262
22263         * configure.ac:
22264           back to development
22265
22266 === release 0.9.3 ===
22267
22268 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22269
22270         * README:
22271         * configure.ac:
22272           Releasing 0.9.3, "Unregistered"
22273
22274 2005-10-03  Andy Wingo  <wingo@pobox.com>
22275
22276         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22277         whereby calling a pad's activatepush() function can start a thread
22278         that starts to push or pull before the pad gets the FLUSHING flag
22279         unset. Hack around it by holding the stream lock until the flag is
22280         set. Need to replace this with a proper solution. Together with
22281         the ghost pad fixes, this fixes mp3 playing/tagreading.
22282
22283         * docs/design/part-gstghostpad.txt: Add a note about activation of
22284         proxy pads outside of ghost pads.
22285
22286         * gst/gstghostpad.c: Implement the ghost pad activation design.
22287
22288 2005-10-02  Andy Wingo  <wingo@pobox.com>
22289
22290         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22291         It is volatile, after all.
22292
22293         * docs/design/part-gstghostpad.txt: Flesh out activation with
22294         ghost pads.
22295
22296         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22297         GST_DEBUG_FUNCPTR.
22298
22299 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22300
22301         * configure.ac:
22302           Fix (unused) AM_CONDITIONAL tests.
22303
22304 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22305
22306         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22307
22308         * gst/gstutils.c: (gst_pad_query_convert):
22309           Add assertion that makes sure src_val is >=0, just like
22310           gst_query_new_convert() has. (#315895)
22311
22312 2005-09-30  Edward Hervey  <edward@fluendo.com>
22313
22314         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22315         Let's not iterate pads we're not interested in, it avoids getting 
22316         sky-high refcounts on sinkpad.
22317
22318 2005-09-30  Wim Taymans  <wim@fluendo.com>
22319
22320         * gst/gstelement.c: (gst_element_set_state),
22321         (gst_element_change_state):
22322         Small tweak, element in ASYNC remains ASYNC.
22323
22324 2005-09-30  Wim Taymans  <wim@fluendo.com>
22325
22326         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22327         Only error is an error.
22328
22329         * gst/gstbin.c: (gst_bin_change_state):
22330         Better debugging.
22331
22332         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22333         Also call pad_block in pad alloc.
22334
22335         * gst/gstutils.c: (gst_flow_get_name):
22336         Better debugging.
22337
22338 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22339
22340         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22341         (gst_base_src_get_range):
22342           Fix documentation typos. Add some more debug info.
22343
22344 2005-09-29  David Schleef  <ds@schleef.org>
22345
22346         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22347           more end-user friendly.
22348         * tools/gst-inspect.c: (main): Check if command-line argument is
22349           a file and attempt to load that file as a plugin.
22350
22351 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22352
22353         * check/gst/gstbin.c:
22354         * check/states/sinks.c:
22355           fix tests for the new warning
22356         * check/gst/gstpipeline.c:
22357           add a test for pipeline and bus interaction
22358         * gst/gstelement.c:
22359           elements should be NULL if they get disposed; add a warning if not
22360
22361 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22362
22363         * gst/gstobject.c:
22364           for 2.6 refcounting, make debug log more correct by printing
22365           the actual refcounts at the time of swap (Wim)
22366
22367 2005-09-29  Andy Wingo  <wingo@pobox.com>
22368
22369         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22370         removes signal watches previously added via
22371         gst_bus_add_signal_watch.
22372         (gst_bus_add_signal_watch): Don't return the source id, just store
22373         it on the bus if there wasn't an id already.
22374
22375         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22376         add_signal_watch and remove_signal_watch.
22377
22378 2005-09-29  Edward Hervey  <edward@fluendo.com>
22379
22380         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22381         Better if we actually iterate the list :)
22382
22383 2005-09-29  Wim Taymans  <wim@fluendo.com>
22384
22385         * check/gst/gstbin.c: (GST_START_TEST):
22386         Change for new bus API.
22387
22388         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22389         (send_messages), (GST_START_TEST), (gstbus_suite):
22390         Change for new bus signal API.
22391
22392         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22393         (gst_bus_source_prepare), (gst_bus_source_check),
22394         (gst_bus_create_watch), (gst_bus_add_watch_full),
22395         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22396         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22397         * gst/gstbus.h:
22398         Remove support for multiple GSources operating on different
22399         message types as it is too complex and unneeded when using
22400         signals.
22401         Added support for receiving signals from the bus.
22402
22403 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22404
22405         * docs/libs/tmpl/gstdataprotocol.sgml:
22406         * docs/manual/advanced-dataaccess.xml:
22407         * gst/elements/gstcapsfilter.c:
22408         * gst/gstutils.c:
22409           rename filter-caps to caps property
22410
22411 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22412
22413         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22414           More robust fraction string parsing.
22415
22416         * docs/pwg/appendix-porting.xml:
22417           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22418
22419 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22420
22421         * gst/gstcaps.c: (gst_caps_do_simplify):
22422           Thou shalt not free a structure and then continue using it
22423           in the next loop iteration.
22424
22425         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22426         (gst_caps_suite):
22427           Add test case for caps simplification.
22428
22429 2005-09-29  Wim Taymans  <wim@fluendo.com>
22430
22431         * check/gst/gstbin.c: (GST_START_TEST):
22432         Oops.
22433
22434 2005-09-29  Wim Taymans  <wim@fluendo.com>
22435
22436         * check/gst/gstbin.c: (GST_START_TEST):
22437         Add bus to bin.
22438
22439         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22440         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22441         (find_element), (gst_bin_sort_iterator_next),
22442         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22443         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22444         (gst_bin_change_state), (gst_bin_dispose):
22445         A bin does not have a bus, it gets the bus from the parent.
22446
22447         * gst/gstelement.c: (gst_element_requires_clock),
22448         (gst_element_provides_clock), (gst_element_is_indexable),
22449         (gst_element_is_locked_state), (gst_element_change_state),
22450         (gst_element_set_bus_func):
22451         Small cleanups.
22452
22453         * gst/gstpipeline.c: (gst_pipeline_class_init),
22454         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22455         The pipeline provides a bus.
22456
22457 2005-09-28  Johan Dahlin  <johan@gnome.org>
22458
22459         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22460         gst_structure_get_enum instead of gst_structure_get_int
22461
22462         * gst/gststructure.c (gst_structure_get_enum): Impl.
22463
22464         * gst/gststructure.h (gst_structure_get_enum): Add
22465
22466         * docs/gst/gstreamer-sections.txt: Ditto
22467
22468         * gst/gstmessage.c (gst_message_new_state_changed): Use
22469         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22470         which does introspection.
22471         Reviewed by Christian Schaller
22472
22473 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22474
22475         * gst/gstinfo.c: (gst_debug_log_default):
22476           don't do dummy g_strdup()s
22477         * libs/gst/controller/gstcontroller.c:
22478         (on_object_controlled_property_changed),
22479         (gst_controlled_property_new), (gst_controller_new_valist),
22480         (gst_controller_new_list),
22481         (gst_controller_remove_properties_valist), (gst_controller_set),
22482         (gst_controller_get), (gst_controller_sync_values),
22483         (gst_controller_get_value_array), (_gst_controller_class_init),
22484         (gst_controller_get_type):
22485         * libs/gst/controller/gstcontroller.h:
22486         * libs/gst/controller/gstinterpolation.c:
22487         (gst_controlled_property_find_timed_value_node):
22488           convert // to /**/ comments
22489
22490 2005-09-28  Wim Taymans  <wim@fluendo.com>
22491
22492         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22493         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22494         (gst_bus_sync_signal_handler):
22495         * gst/gstbus.h:
22496         Added async-message and sync-message signals to the bus.
22497         Added helper BusFunc to emit signals for all posted messages.
22498
22499         * gst/gstmessage.c: (gst_message_type_get_name),
22500         (gst_message_type_to_quark), (gst_message_get_type):
22501         * gst/gstmessage.h:
22502         Register quarks for message names.
22503
22504 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22505
22506         * docs/libs/gstreamer-libs-sections.txt:
22507         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22508         (gst_controller_new_list):
22509         * libs/gst/controller/gstcontroller.h:
22510           added another constructor for language bindings
22511
22512 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22513
22514         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22515           add another check
22516         * gst/gstbus.c:
22517           add some doc
22518         * gst/gstinfo.c: (_gst_debug_init):
22519           slightly more readable color for refcount debugging
22520
22521 2005-09-28  Wim Taymans  <wim@fluendo.com>
22522
22523         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22524         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22525         (find_element), (gst_bin_sort_iterator_next),
22526         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22527         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22528         (gst_bin_change_state), (gst_bin_dispose):
22529         Small doc fixes. get_clock -> provide_clock.
22530
22531         * gst/gstelement.c: (gst_element_class_init),
22532         (gst_element_provides_clock), (gst_element_provide_clock),
22533         (gst_element_get_clock), (gst_element_commit_state),
22534         (gst_element_lost_state):
22535         * gst/gstelement.h:
22536         Make get/set_clock() symetric. Add provide_clock vmethod since
22537         that is actually what this function does.
22538
22539         * gst/gstpipeline.c: (gst_pipeline_class_init),
22540         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22541         (gst_pipeline_get_clock):
22542         get_clock -> provide_clock.
22543
22544 2005-09-28  Andy Wingo  <wingo@pobox.com>
22545
22546         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22547         lieu of real docs...
22548
22549         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22550
22551 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22552
22553         * gst/elements/gstcapsfilter.c:
22554         * gst/elements/gstfakesink.c:
22555         * gst/elements/gstfakesrc.c:
22556         * gst/elements/gstfdsink.c:
22557         * gst/elements/gstfdsrc.c:
22558         * gst/elements/gstfilesink.c:
22559         * gst/elements/gstfilesrc.c:
22560         * gst/elements/gstidentity.c:
22561         * gst/elements/gsttee.c:
22562         * gst/elements/gsttypefindelement.c:
22563           Make element details static.
22564
22565 2005-09-28  Wim Taymans  <wim@fluendo.com>
22566
22567         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22568         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22569         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22570         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22571         (gst_bin_change_state), (gst_bin_dispose):
22572         Some documentation updates.
22573         Clean up dispose handlers.
22574
22575         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22576         * gst/gstpad.c: (gst_pad_dispose):
22577         Clean up dispose handler.
22578
22579         * gst/gstpipeline.c: (gst_pipeline_change_state):
22580         Removed spurious UNLOCK.
22581
22582 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22583
22584         * docs/gst/gstreamer-sections.txt:
22585         * gst/base/gstbasesrc.h:
22586         * gst/gstelement.h:
22587         * gst/gstevent.h:
22588         * gst/gstobject.h:
22589         * gst/gstpad.h:
22590         * gst/gstpipeline.c:
22591         * gst/gstpipeline.h:
22592         * gst/gstutils.h:
22593         * gst/gstxml.h:
22594           added two new functions to the docs
22595                 documents all undocumented GstXXXFlags
22596                 completed some incomplete docs 
22597
22598 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22599
22600         * gst/gstbin.c: (gst_bin_dispose):
22601         * gst/gstelement.c: (gst_element_dispose):
22602           remove now useless and leaky resurrection code in dispose
22603         * gst/base/gstbasesrc.c: (gst_base_src_init):
22604         * gst/gstelementfactory.c: (gst_element_factory_create):
22605         * gst/gstobject.c: (gst_object_set_parent):
22606           add some debugging
22607
22608 2005-09-27  Wim Taymans  <wim@fluendo.com>
22609
22610         * docs/design/part-TODO.txt:
22611         Update TODO.
22612
22613         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22614         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22615         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22616         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22617         (gst_bin_change_state):
22618         * gst/gstelement.h:
22619         Remove element variable, we keep element info in the iterator now.
22620
22621 2005-09-27  Andy Wingo  <wingo@pobox.com>
22622
22623         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22624         values.
22625
22626 2005-09-27  Wim Taymans  <wim@fluendo.com>
22627
22628         * check/gst/gstbin.c: (GST_START_TEST):
22629         Enable check that works now.
22630
22631         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22632         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22633         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22634         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22635         (gst_bin_change_state):
22636         * gst/gstbin.h:
22637         Redid the state change algorithm using a topological sort algo.
22638         Handles all cases correctly.
22639         Exposed iterator for state change order.
22640
22641         * gst/gstelement.h:
22642         Temp storage for state changes. Need to get rid of this soon.
22643
22644 2005-09-27  Wim Taymans  <wim@fluendo.com>
22645
22646         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22647         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22648         (link_fold_func), (gst_pad_proxy_setcaps):
22649         Leak fixes, the fold functions need to unref the passed object and
22650         _get_parent_*() returns ref to parent.
22651
22652 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22653
22654         * check/gst/gstbuffer.c: (test_make_writable):
22655           Plug leak in test case and fix 'make check-valgrind'
22656
22657 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22658
22659         * gst/gstbuffer.c: (gst_subbuffer_init):
22660           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22661           works correctly in all circumstances (we could have just copied
22662           the parent buffer's readonly flag, but conceptually it seems
22663           cleaner to mark all subbuffers as read-only). (based on patch
22664           by Alessandro Decina, #314710).
22665         
22666         * check/gst/gstbuffer.c: (create_read_only_buffer),
22667         (test_make_writable), (test_subbuffer_make_writable),
22668         (gst_test_suite):
22669           Add some tests for gst_buffer_make_writable().
22670
22671 2005-09-27  Wim Taymans  <wim@fluendo.com>
22672
22673         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22674         use gst_object_has_ancestor().
22675
22676         * gst/gstobject.c: (gst_object_has_ancestor):
22677         * gst/gstobject.h:
22678         gst_object_has_ancestor() copied from gstbin.c as it is a
22679         useful function.
22680
22681         * tests/instantiate/create.c: (create_all_elements):
22682         * tests/lat.c: (handoff_src), (handoff_sink):
22683         * tests/sched/runxml.c: (main):
22684         * tests/seeking/seeking1.c: (main):
22685         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22686         (main):
22687         Fix compilation of some tests.
22688
22689 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22690
22691         * gst/gsterror.h:
22692           Remove comment. GST_TYPE_G_ERROR is here to stay,
22693           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22694           (#316961, #300610).
22695
22696 2005-09-26  Wim Taymans  <wim@fluendo.com>
22697
22698         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22699         Added check that shows error in state change order.
22700
22701 2005-09-26  Wim Taymans  <wim@fluendo.com>
22702
22703         * gst/gstbin.c: (gst_bin_change_state):
22704         Make state change function use 3 queues again, we were
22705         adding elements in the wrong order.
22706
22707         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22708         Some debug info,
22709
22710         * gst/gstpad.c: (gst_pad_dispose):
22711         Added some debug info first.
22712
22713 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22714
22715         * docs/design/draft-push-pull.txt:
22716         * docs/design/part-events.txt:
22717         * docs/design/part-overview.txt:
22718         * docs/design/part-scheduling.txt:
22719           Replace all _pull_region() with _pull_range()
22720           
22721 2005-09-26  Andy Wingo  <wingo@pobox.com>
22722
22723         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22724
22725         * check/gst-libs/controller.c: Update for controller api change.
22726
22727         * configure.ac: 
22728         * tests/Makefile.am:
22729         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22730         over by GLib bug 118439.
22731         
22732         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22733         routines to a function.
22734
22735         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22736
22737         * libs/gst/controller/gsthelper.c:
22738         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22739         (gst_object_sync_values): Renamed from sink_values. Ugh.
22740
22741         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22742
22743         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22744         Renamed from controller_key, as it is exported.
22745
22746         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22747
22748 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22749
22750         * gst/Makefile.am:
22751         * gst/gst.h:
22752         * gst/gstpad.h:
22753         * gst/gstpadtemplate.h:
22754         * gst/gstquery.c:
22755         * gst/gstquery.h:
22756         * gst/gstqueryutils.c:
22757         * gst/gstqueryutils.h:
22758           remove queryutils headers after moving the two used functions
22759           to gstquery.  also fixes build problem for gstsiddec
22760
22761 2005-09-26  Michael Smith <msmith@fluendo.com>
22762
22763         * tools/gst-launch.1.in:
22764         Correct documentation in manpage of debug syntax
22765
22766 2005-09-26  Wim Taymans  <wim@fluendo.com>
22767
22768         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22769         (gst_base_src_is_seekable), (gst_base_src_change_state):
22770         Some more debugging info.
22771
22772 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22773
22774         * docs/gst/gstreamer-sections.txt:
22775         * gst/base/gstbasetransform.h:
22776         * gst/gstindex.h:
22777           added more docs
22778
22779 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22780
22781         * docs/gst/.cvsignore:
22782         * docs/gst/tmpl/.cvsignore:
22783         * docs/gst/tmpl/gstpipeline.sgml:
22784         * docs/gst/tmpl/gstplugin.sgml:
22785         * gst/gstpipeline.c:
22786         * gst/gstplugin.c:
22787         * gst/gstplugin.h:
22788           inlined the last two docs files
22789           removed the tmpl directory from cvs (no more conflicts here!)
22790
22791 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22792
22793         * docs/gst/gstreamer-sections.txt:
22794         * docs/gst/tmpl/.cvsignore:
22795         * docs/gst/tmpl/gstpad.sgml:
22796         * docs/gst/tmpl/gstpadtemplate.sgml:
22797         * gst/Makefile.am:
22798         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22799         (gst_pad_finalize), (gst_pad_set_pad_template):
22800         * gst/gstpad.h:
22801         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22802         (gst_pad_template_class_init), (gst_pad_template_init),
22803         (gst_pad_template_dispose), (name_is_valid),
22804         (gst_static_pad_template_get), (gst_pad_template_new),
22805         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22806         (gst_pad_template_pad_created):
22807         * gst/gstpadtemplate.h:
22808           inlined two more docs
22809           factored gstpadtemplate out of gstpad
22810
22811 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22812
22813         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22814         (test_children_state_change_order_semi_sink):
22815           Fix test case: we can't rely on a fixed state change order when
22816           going from READY => PAUSED because the sink might commit its 
22817           new state first when the first buffer created by the source 
22818           reaches the sink before the source has finished its change state.
22819           (Test case still fails at times, see #316856, comment 5 onwards)
22820
22821 2005-09-24  Wim Taymans  <wim@fluendo.com>
22822
22823         * docs/design/part-events.txt:
22824         * docs/design/part-gstbus.txt:
22825         * docs/design/part-gstpipeline.txt:
22826         * docs/design/part-messages.txt:
22827         * docs/design/part-overview.txt:
22828         * docs/design/part-segments.txt:
22829         * gst/gstbin.c:
22830         * gst/gstbuffer.c:
22831         * gst/gstclock.c:
22832         * gst/gstelement.c:
22833         * gst/gstevent.c:
22834         * gst/gstfilter.c:
22835         * gst/gstiterator.c:
22836         Various documentation updates.
22837
22838 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22839
22840         * gst/gstclock.h:
22841           Well, that's embarassing.  Luckily we weren't using
22842           GST_CLOCK_DIFF anywhere.
22843
22844 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22845
22846         * common/gtk-doc.mak:
22847           don't fail on building XML, FC4 slave shows a bunch of doc
22848           missing bits that I don't get
22849         * gst/gstpad.c:
22850         * gst/gstpipeline.c:
22851         * gst/gststructure.c:
22852           some doc updates
22853
22854 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22855
22856         * docs/design/part-gstbin.txt:
22857         * docs/design/part-gstbus.txt:
22858         * gst/gstbus.c:
22859           Add blurb about how the bus goes into flushing mode and
22860           drops all messages when its bin goes from READY into NULL 
22861           state.
22862
22863 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22864
22865         * docs/gst/gstreamer-sections.txt:
22866         * gst/gststructure.c: (gst_structure_get_clock_time):
22867         * gst/gststructure.h:
22868           add a method to get a GstClockTime out of a structure
22869
22870 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22871
22872         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22873         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22874           Added test to check state change order in bins (can still be made
22875           to fail here under heavy disk load; bails out with 'Push on pad
22876           fakesink:sink0, but it was not activated in push mode').
22877
22878         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22879           Fix state change order when there is only a semi sink (#316856)
22880
22881         * gst/gstbus.c: (gst_bus_class_init):
22882           Use _class_peek_parent(), not _class_ref(); fix docs to say
22883           'default main context' instead of 'mainloop' where that is
22884           what's meant.
22885
22886         * gst/gstelement.c: (gst_element_commit_state),
22887         (gst_element_set_state):
22888           Fix typos in debug messages
22889
22890 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22891
22892         * docs/README:
22893         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22894         * gst/gstpluginfeature.c:
22895         * gst/gstutils.c:
22896           various doc updates
22897         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22898           change an assert into an error until it gets fixed properly
22899
22900 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22901
22902         * docs/gst/gstreamer-sections.txt:
22903         * docs/gst/tmpl/.cvsignore:
22904         * docs/gst/tmpl/gstelement.sgml:
22905         * docs/gst/tmpl/gstinfo.sgml:
22906         * docs/gst/tmpl/gstobject.sgml:
22907         * gst/gstelement.c:
22908         * gst/gstelement.h:
22909         * gst/gstinfo.c:
22910         * gst/gstinfo.h:
22911         * gst/gstobject.c: (gst_object_class_init):
22912         * gst/gstobject.h:
22913           inlined 3 more biiiig doc files and added some missing docs on the fly
22914
22915 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22916
22917         * check/gst/.cvsignore:
22918         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22919         * gst/gstregistryxml.c: (load_plugin),
22920         (gst_registry_xml_save_plugin):
22921           put back source in registry.  add checks for find_plugin.
22922         * testsuite/states/bin.c: (assert_state), (empty_bin),
22923         (test_adding_one_element), (main):
22924         * testsuite/states/locked.c: (main):
22925           some compile/run fixes
22926
22927 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22928
22929         * check/gst/gstvalue.c: (GST_START_TEST):
22930           fix leaks in the test itself
22931
22932 2005-09-22  Wim Taymans  <wim@fluendo.com>
22933
22934         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22935         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22936         (gst_base_sink_query):
22937         Prepare for more accurate position reporting and query
22938         handling.
22939
22940         * gst/gstelement.c: (gst_element_send_event),
22941         (gst_element_set_state):
22942         Add some comment.
22943
22944 2005-09-22  Wim Taymans  <wim@fluendo.com>
22945
22946         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22947         (gst_query_parse_segment):
22948         * gst/gstquery.h:
22949         More documentation.
22950         Add segment query for future use.
22951
22952 2005-09-22  Wim Taymans  <wim@fluendo.com>
22953
22954         * gst/gstbin.c: (gst_bin_add_func):
22955         Some more debug info.
22956
22957         * gst/gstelement.c: (gst_element_send_event):
22958         Simplify send_event
22959
22960         * gst/gstelement.h:
22961         Don't know how flags got broken.
22962
22963         * gst/gstquery.h:
22964         Added new query.
22965
22966 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22967
22968         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22969           Add simplistic test suite for GST_TYPE_DATE serialisation and
22970           deserialisation.
22971
22972 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22973
22974         * docs/gst/gstreamer-sections.txt:
22975         * gst/gststructure.c: (gst_structure_set_valist),
22976         (gst_structure_get_date):
22977         * gst/gststructure.h:
22978         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22979         (gst_date_copy), (gst_value_compare_date),
22980         (gst_value_serialize_date), (gst_value_deserialize_date),
22981         (gst_value_transform_date_string),
22982         (gst_value_transform_string_date), (_gst_value_initialize):
22983         * gst/gstvalue.h:
22984           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22985           bunch of utility functions along with a hack that checks that
22986           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22987           is required. Part of the grand scheme in #170777.
22988
22989 2005-09-22  Andy Wingo  <wingo@pobox.com>
22990
22991         * gst/gstconfig.h.in: Psych out gtk-doc.
22992
22993         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22994
22995         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22996
22997         * tools/gst-inspect.c (print_element_list): Plug some
22998         inconsequential leaks.
22999
23000         * gst/gstregistry.c (gst_registry_get_default): Doc.
23001
23002         * check/gst/gstplugin.c: 
23003         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23004         * gst/gstelementfactory.c (gst_element_factory_create): 
23005         * gst/gstindexfactory.c (gst_index_factory_create): Update for
23006         refcount changes.
23007
23008         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23009         (gst_plugin_feature_load): Doc, don't eat refs.
23010
23011         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23012         (gst_plugin_list_free): Doc.
23013         (gst_plugin_load_file): Doc updates.
23014
23015         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23016         accessors returning refcounted objects, return a ref.
23017
23018         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23019         accessor for caps. IDEMPOTENCE. Oh yes.
23020
23021 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
23022
23023         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23024
23025         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23026         (_gst_debug_register_funcptr):
23027           Add mutex to serialise access to the hash table with
23028           the function pointer => function name string mapping;
23029           make that hash table static scope (#316809).
23030
23031         * gst/registries/.cvsignore:
23032           Remove left-over file.
23033
23034 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23035
23036         * docs/pwg/appendix-porting.xml:
23037           And something about newsegment events and caps-on-buffers to
23038           the porting guide (feel free to improve).
23039
23040 2005-09-21  Andy Wingo  <wingo@pobox.com>
23041
23042         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23043         data and event probes on the same pad.
23044         (test_buffer_probe_once): Test that removing probes from within
23045         the probe functions works.
23046
23047 2005-09-21  Andy Wingo  <wingo@pobox.com>
23048
23049         * check/gst/gstutils.c: New file.
23050         (test_buffer_probe_n_times): A simple buffer probe test. More to
23051         come, foolios.
23052
23053         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23054         have-data::buffer, not have-data.
23055         (gst_pad_add_event_probe): Likewise for have-data::event.
23056         (gst_pad_add_data_probe): More docs. The part about 'resolving the
23057         peer' isn't quite right yet though.
23058         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
23059         (gst_pad_remove_data_probe): Change to take the guint handler_id
23060         as their arg, not the function+data, which is more glib-like.
23061
23062         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23063         the signal emission to indicate if the data is a buffer or an
23064         event.
23065         (gst_pad_get_type): Initialize buffer and event quarks.
23066         (gst_pad_class_init): have-data is now a detailed signal, yes it
23067         is.
23068
23069 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23070
23071         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23072         * gst/gstutils.c: (gst_util_set_value_from_string),
23073         (gst_util_set_object_arg):
23074           Don't put functional code in g_return_if_fail() or
23075           g_return_val_if_fail() statements, otherwise things will 
23076           break when G_DISABLE_CHECKS is defined during compilation.
23077
23078 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23079
23080         * docs/gst/tmpl/.cvsignore:
23081         * docs/gst/tmpl/gstvalue.sgml:
23082         * gst/gstvalue.c:
23083         * gst/gstvalue.h:
23084           inlied another one and added  some obvious docs
23085
23086 2005-09-21  Wim Taymans  <wim@fluendo.com>
23087
23088         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23089         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23090         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23091         (gst_fdsrc_get_property), (gst_fdsrc_create):
23092         * gst/elements/gstfdsrc.h:
23093         Properly implement fdsrc. Removed signal and timeout,
23094         better implemented somewhere else.
23095
23096 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23097
23098         * docs/gst/tmpl/.cvsignore:
23099         * docs/gst/tmpl/gstimplementsinterface.sgml:
23100         * gst/gstinterface.c:
23101           inlined more docs
23102
23103 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23104
23105         * docs/gst/gstreamer-sections.txt:
23106         * docs/gst/tmpl/.cvsignore:
23107         * docs/gst/tmpl/gstenumtypes.sgml:
23108           remove obsolete doc file
23109
23110 2005-09-21  David Schleef  <ds@schleef.org>
23111
23112         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23113         little beer, fix a little leak.
23114
23115 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23116
23117         * docs/gst/gstreamer-docs.sgml:
23118         * docs/gst/gstreamer-sections.txt:
23119         * docs/gst/tmpl/.cvsignore:
23120         * gst/Makefile.am:
23121         * gst/gst.h:
23122         * gst/gstbin.c:
23123         * gst/gstelement.h:
23124         * gst/gstindex.c: (gst_index_class_init):
23125         * gst/gstindex.h:
23126         * gst/gstindexfactory.c: (gst_index_factory_get_type),
23127         (gst_index_factory_class_init), (gst_index_factory_init),
23128         (gst_index_factory_finalize), (gst_index_factory_new),
23129         (gst_index_factory_destroy), (gst_index_factory_find),
23130         (gst_index_factory_create), (gst_index_factory_make):
23131         * gst/gstindexfactory.h:
23132         * gst/gstpluginfeature.c:
23133         * gst/gstpluginfeature.h:
23134         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23135           more docs inlined, splitted gstindex.{c,h}
23136
23137 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23138
23139         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23140           fix a leak
23141
23142 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23143
23144         * gst/elements/gstfilesink.c: (gst_file_sink_init):
23145           Set sync to FALSE by default.
23146
23147 2005-09-20  Wim Taymans  <wim@fluendo.com>
23148
23149         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23150         (gst_base_sink_init):
23151         Make sync property settable from subclass.
23152
23153         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23154         (gst_fake_sink_change_state):
23155         Set sync to FALSE by default.
23156
23157 2005-09-20  Wim Taymans  <wim@fluendo.com>
23158
23159         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23160         * tools/gst-launch.c: (main):
23161         The timeout handler should have lower priority than the source
23162         so we don't timeout before popping a message with 0 timeout.
23163         Dump error messages after failed state change.
23164
23165 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23166
23167         * tools/gst-inspect.c: (print_element_properties_info):
23168           Fix two typos.
23169
23170 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23171
23172         * check/gst/gstevent.c:
23173         * gst/elements/gstfakesink.c:
23174         * gst/elements/gstfakesink.h:
23175           remove the sync property from fakesink.
23176           has the side effect of setting sync TRUE
23177           for fakesink, which is a change.  Anyone who knows how
23178           to fix this nicely in a GObject-y way, feel free.
23179
23180 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23181
23182         * docs/gst/gstreamer-docs.sgml:
23183           remove probe refsection
23184
23185 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23186
23187         * check/Makefile.am:
23188           disable valgrinding the controller test again
23189         * docs/gst/gstreamer-sections.txt:
23190           update for api-changes
23191
23192 2005-09-20  Wim Taymans  <wim@fluendo.com>
23193
23194         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23195         (gst_base_sink_set_property), (gst_base_sink_get_property),
23196         (gst_base_sink_do_sync):
23197         * gst/base/gstbasesink.h:
23198         Added sync property to basesink to disable clock sync.
23199
23200 2005-09-20  Andy Wingo  <wingo@pobox.com>
23201
23202         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23203         eating the caller's refcount.
23204
23205         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
23206         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23207         refcount.
23208
23209         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23210         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23211         of GLib 2.8 public, so we can know which refcount to check in
23212         tests.
23213
23214         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23215         (gst_object_init): Only set the gst refcount if we're going ahead
23216         with the refcount hack.
23217
23218 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23219
23220         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23221         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23222           more leaks plumbed, added more debug-logging
23223         * gst/gstmacros.h:
23224           whitespace fix
23225
23226 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23227
23228         * gst/gstmessage.c:
23229           remove include of gstmemchunk.h
23230
23231 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23232
23233         * gst/gstclock.c: (_gst_clock_id_free):
23234           Commit from the Political Party For More Atomic CVS Commits,
23235           so that people don't waste too much of their day fishing
23236           out obvious leaks out of massive commits.
23237           Oh, and fix a pretty damn obvious leak in the memchunk
23238           removal code.
23239
23240 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23241
23242         * check/Makefile.am:
23243         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23244           plug mem-leak, re-add to valgrindable tests
23245
23246 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23247
23248         * gst/gstplugin.h:
23249           unbreak the build for those who have chronic arthritis
23250           and typing "make check" is just too taxing on the hands
23251
23252 2005-09-20  Andy Wingo  <wingo@pobox.com>
23253
23254         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23255         really want it out, you should fix plugins at the same time.
23256
23257 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
23258
23259         * configure.ac:
23260         * docs/gst/gstreamer-sections.txt:
23261         * gst/gstobject.c:
23262           added missing symbols to api docs
23263           disable ref-count hack if we have glib >= 2.8
23264
23265 2005-09-19  David Schleef  <ds@schleef.org>
23266
23267         * docs/gst/Makefile.am: Ignore a few more internal headers
23268         * docs/gst/gstreamer-docs.sgml: Remove old sections
23269         * docs/gst/gstreamer-sections.txt: Remove old sections
23270         * docs/gst/tmpl/gstobject.sgml: update
23271         * docs/gst/tmpl/gstplugin.sgml: update
23272         * docs/gst/tmpl/gstpluginfeature.sgml: update
23273         * docs/random/ds/0.9-suggested-changes: update.
23274         * gst/Makefile.am: remove memchunk and trashstack, since they're
23275           not used.
23276         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23277         * gst/gst.h: don't include some headers
23278         * gst/gstchildproxy.c: add gstmarshal.h
23279         * gst/gstclock.c: Don't use memchunks
23280         * gst/gstminiobject.c: Add some docs
23281         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23282         * gst/gstobject.h: same
23283         * gst/gstplugin.c: include gstmacros.h
23284         * gst/gstplugin.h: don't include gstmacros.h, since it's private
23285         * gst/gstquery.c: don't use memchunks
23286         * gst/gstregistry.c: rename gst_registry_deinit()
23287         * gst/gstregistry.h: same
23288
23289 2005-09-19  David Schleef  <ds@schleef.org>
23290
23291         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23292         * docs/libs/gstreamer-libs-sections.txt:
23293         * docs/libs/tmpl/gstgetbits.sgml:
23294         * docs/libs/tmpl/gstputbits.sgml:
23295
23296 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23297
23298         * win32/gstenumtypes.c:
23299         * win32/gstenumtypes.h:
23300           Update.
23301
23302 2005-09-19  Wim Taymans  <wim@fluendo.com>
23303
23304         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23305         Automatically PAUSE and RESUME a pipeline when a flushing seek
23306         is performed.
23307
23308 2005-09-19  Andy Wingo  <wingo@pobox.com>
23309
23310         * gst/gstregistry.h: Spacing fixen.
23311
23312 2005-09-19  Wim Taymans  <wim@fluendo.com>
23313
23314         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23315         Handle state change failure more correctly.
23316
23317 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23318
23319         * check/Makefile.am:
23320         * check/pipelines/cleanup.c: (run_pipeline):
23321         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23322         (GST_START_TEST):
23323           enable cleanup again after fixing the leak
23324         * docs/README:
23325           some more info on docs
23326
23327 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23328
23329         * check/Makefile.am:
23330           re-enable tests now that leaks are plugged
23331         * check/gst/gst.c:
23332         * check/gst/gstbin.c:
23333         * check/gst/gstpipeline.c:
23334           add some more tests while fixing leaks
23335         * common/check.mak:
23336           make sure binaries are uptodate when valgrinding/gdbing
23337         * gst/gst.c:
23338         * gst/gstelementfactory.c:
23339           remove a ref too many, and add a FIXME for when we get
23340           round to disposing of classes
23341         * gst/gstplugin.c:
23342           fix the refcounting when loading a plugin from a file and
23343           the code pretends that the pointer is the same even though
23344           of course it can change
23345         * gst/gstpluginfeature.c:
23346           unref plugins marked cached (a bit confusing as a name)
23347           as the docs state should be done
23348           various doc additions to explain refcounting
23349         * gst/gstregistry.c:
23350         * gst/gstregistryxml.c:
23351           debugging
23352
23353 2005-09-19  Wim Taymans  <wim@fluendo.com>
23354
23355         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23356         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23357         (send_messages), (GST_START_TEST), (gstbus_suite):
23358         * check/gst/gstpipeline.c: (GST_START_TEST):
23359         * check/pipelines/cleanup.c: (run_pipeline):
23360         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23361         (GST_START_TEST):
23362         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23363         (gst_bus_source_check), (gst_bus_source_dispatch),
23364         (gst_bus_create_watch), (gst_bus_add_watch_full),
23365         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23366         * gst/gstbus.h:
23367         * tools/gst-launch.c: (event_loop):
23368         * tools/gst-md5sum.c: (event_loop):
23369         GstBusHandler -> GstBusFunc, return value has the same meaning as
23370         any other GSource (FALSE == remove source).
23371         _add_watch() and _add_watch_full() now take a MessageType mask to
23372         only handle specific types of messages.
23373         _poll() returns the GstMessage instead of the message type to avoid
23374         race conditions.
23375         _have_pending() takes a MessageType mask now too.
23376         Added testsuite for multiple bus watches.
23377         Fix testsuites and applications for new bus API.
23378
23379 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23380
23381         * check/Makefile.am:
23382           mark a bunch of the tests as to fix until we fix them
23383
23384 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23385
23386         * common/check.mak:
23387           use GST_PLUGIN settings for valgrind tests as well, so we're
23388           valgrinding the correct thing
23389         * gst/gst.c: (init_post):
23390           plug another leak
23391
23392 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23393
23394         * gst/gst.c: (init_post), (gst_deinit):
23395         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23396         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23397         * gst/gstindex.c: (gst_index_factory_class_init),
23398         (gst_index_factory_finalize):
23399         * gst/gstobject.c: (gst_object_dispose):
23400         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23401         (gst_plugin_load_file), (gst_plugin_desc_free):
23402         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23403         (gst_plugin_feature_finalize):
23404         * gst/gstregistry.c: (gst_registry_class_init),
23405         (gst_registry_init), (gst_registry_finalize),
23406         (gst_registry_get_default), (gst_registry_deinit):
23407         * gst/gstregistry.h:
23408         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23409           various cleanups and memleak plugging.  make valgrind is happy now.
23410
23411 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23412
23413         * common/check.mak:
23414           add a check-valgrind target
23415
23416 2005-09-18  David Schleef  <ds@schleef.org>
23417
23418         * tools/gst-inspect.c: Revert the GOption code.
23419
23420 2005-09-17  David Schleef  <ds@schleef.org>
23421
23422         * check/Makefile.am: Fix environment variables.
23423         * check/gst/gstplugin.c: Fix for API changes.
23424         * tools/gst-inspect.c: Fix for API changes.
23425         * tools/gst-xmlinspect.c: Fix for API changes.
23426         * gst/gstelementfactory.c:
23427         * gst/gstplugin.c:
23428         * gst/gstplugin.h:
23429         * gst/gstpluginfeature.c:
23430         * gst/gstpluginfeature.h:
23431         * gst/gstregistry.c:
23432         * gst/gstregistry.h:
23433         * gst/gstregistryxml.c:
23434         * gst/gsttypefind.c:
23435         * gst/gsttypefindfactory.c:
23436         * gst/indexers/gstfileindex.c:
23437         * gst/indexers/gstmemindex.c:
23438         * gst/schedulers/Makefile.am:
23439           Change registry to keep track of both plugins and features,
23440           removing the feature tracking from plugins themselves.
23441
23442 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23443
23444         * check/Makefile.am:
23445         * tools/gst-register.1.in:
23446           remove gst-register
23447
23448 2005-09-15  David Schleef  <ds@schleef.org>
23449
23450         * check/gst/gstplugin.c:
23451         * gst/gstelementfactory.c:
23452         * gst/gstplugin.c:
23453         * gst/gstpluginfeature.c:
23454         * gst/gstregistry.c:
23455           Getting tired of debugging.  Disabled all the unreffing of
23456           plugins and features, which fixes the segfaults, but of
23457           course leaks like crazy.  At least playbin works.
23458
23459 2005-09-15  David Schleef  <ds@schleef.org>
23460
23461         * check/gst/gstplugin.c: (register_check_elements),
23462         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23463         More testing
23464         * gst/elements/gsttypefindelement.c: Fix refcounting.
23465         * gst/gsttypefind.c:
23466         * gst/gsttypefindfactory.c:
23467         * gst/gsttypefindfactory.h:
23468
23469 2005-09-15  David Schleef  <ds@schleef.org>
23470
23471         * gst/gstindex.c: get refcounting correct.
23472         * gst/gstregistry.c: Handle the case where a feature/plugin is
23473           not found.
23474
23475 2005-09-15  David Schleef  <ds@schleef.org>
23476
23477         * check/Makefile.am:
23478         * check/gst/gstplugin.c: Add test
23479         * gst/gstplugin.c: Fix problems noticed by testsuite
23480         * gst/gstplugin.h:
23481         * gst/gstregistry.c: 
23482         * gst/gstregistry.h:
23483
23484 2005-09-15  David Schleef  <ds@schleef.org>
23485
23486         * gst/gstplugin.c: Implement semi-decent recounting and locking
23487           in plugins and plugin features.
23488         * gst/gstplugin.h:
23489         * gst/gstpluginfeature.c:
23490         * gst/gstpluginfeature.h:
23491         * gst/gstregistry.c:
23492
23493 2005-09-15  Michael Smith <msmith@fluendo.com>
23494
23495         * gst/gstregistry.c: (gst_registry_get_feature_list):
23496           Implement this. Makes oggdemux work; decodebin still broken.
23497
23498 2005-09-14  David Schleef  <ds@schleef.org>
23499
23500         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23501           #316076)
23502         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23503         * gst/check/Makefile.am:
23504         * libs/gst/controller/Makefile.am:
23505         * libs/gst/dataprotocol/Makefile.am:
23506
23507 2005-09-14  David Schleef  <ds@schleef.org>
23508
23509         * configure.ac: Remove getbits library.  Nothing uses it, and
23510           it should be in something like liboil if someone did want
23511           to use it.
23512         * libs/gst/Makefile.am:
23513         * libs/gst/getbits/Makefile.am:
23514         * libs/gst/getbits/gbtest.c:
23515         * libs/gst/getbits/getbits.c:
23516         * libs/gst/getbits/getbits.h:
23517         * libs/gst/getbits/gstgetbits_generic.c:
23518         * libs/gst/getbits/gstgetbits_i386.s:
23519         * libs/gst/getbits/gstgetbits_inl.h:
23520
23521 2005-09-14  David Schleef  <ds@schleef.org>
23522
23523         * gst/Makefile.am: Dist glib-compat.h
23524
23525 2005-09-14  David Schleef  <ds@schleef.org>
23526
23527         * configure.ac: Remove gst/registries, since it's no longer used.
23528         * gst/registries/Makefile.am:
23529         * gst/registries/gstlibxmlregistry.c:
23530         * gst/registries/gstlibxmlregistry.h:
23531         * gst/registries/gstxmlregistry.c:
23532         * gst/registries/gstxmlregistry.h:
23533         * gst/registries/registrytest.c:
23534
23535 2005-09-14  David Schleef  <ds@schleef.org>
23536
23537         * gst/glib-compat.h:
23538         * gst/gstregistryxml.c:
23539           Convergence is near.  Seriously.
23540
23541 2005-09-14  David Schleef  <ds@schleef.org>
23542
23543         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23544         * gst/glib-compat.h:
23545           Attempt #4 to appease the buildbots.
23546
23547 2005-09-14  David Schleef  <ds@schleef.org>
23548
23549         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23550           Attempt #3.
23551
23552 2005-09-14  David Schleef  <ds@schleef.org>
23553
23554         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23555         Attempt #2.
23556
23557 2005-09-14  David Schleef  <ds@schleef.org>
23558
23559         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23560           the new functions.
23561
23562 2005-09-14  David Schleef  <ds@schleef.org>
23563
23564         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23565         * gst/glib-compat.h: Add some functions that are in newer versions
23566           of glib than we care to require.
23567         * gst/gstregistryxml.c: Use them.
23568
23569 2005-09-14  David Schleef  <ds@schleef.org>
23570
23571         * po/POTFILES.in: remove gst-register.c
23572
23573 2005-09-14  David Schleef  <ds@schleef.org>
23574
23575         * docs/gst/gstreamer-docs.sgml:
23576         * docs/gst/gstreamer-sections.txt:
23577         * docs/gst/gstreamer.types:
23578         * docs/gst/tmpl/gstelement.sgml:
23579         * docs/gst/tmpl/gstplugin.sgml:
23580         * docs/gst/tmpl/gstpluginfeature.sgml:
23581           Documentation updates for registry changes.
23582
23583 2005-09-14  David Schleef  <ds@schleef.org>
23584
23585         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23586           because we don't require glib-2.8.
23587
23588 2005-09-14  David Schleef  <ds@schleef.org>
23589
23590         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23591           registries directory.
23592
23593 2005-09-14  David Schleef  <ds@schleef.org>
23594
23595         * check/Makefile.am:
23596         * check/generic/states.c:
23597         * gst/Makefile.am:
23598         * gst/gst.c:
23599         * gst/gst.h:
23600         * gst/gst_private.h:
23601         * gst/gstelementfactory.c:
23602         * gst/gstindex.c:
23603         * gst/gstinfo.c:
23604         * gst/gstplugin.c:
23605         * gst/gstplugin.h:
23606         * gst/gstpluginfeature.c:
23607         * gst/gstpluginfeature.h:
23608         * gst/gstregistry.c:
23609         * gst/gstregistry.h:
23610         * gst/gstregistrypool.c: remove
23611         * gst/gstregistrypool.h: remove
23612         * gst/gsttypefind.c:
23613         * gst/gsttypefindfactory.c:
23614         * gst/gsturi.c:
23615         * tools/Makefile.am:
23616         * tools/gst-compprep.c:
23617         * tools/gst-inspect.c:
23618         * tools/gst-register.c: remove
23619         * tools/gst-xmlinspect.c:
23620           Registry rewrite.  Changes registry from being a file created
23621           by a tool into a simple cache file created automatically by 
23622           libgstreamer.  Removed gst-register (because it's no longer
23623           needed).  Remove registry pools, because we only have one
23624           registry implementation (XML).  Fix up other subsystems as
23625           necessary.
23626
23627 2005-09-13  Michael Smith <msmith@fluendo.com>
23628
23629         * gst/gstconfig.h.in:
23630           Don't Use windows linking attributes for MinGW. Fixes #316157
23631
23632 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23633
23634         * gst/gstutils.c: (set_state_async_thread_func),
23635         (gst_element_set_state_async):
23636           Apparently people think it's better if this function doesn't
23637           try to set the state to whatever state was asked for on the first
23638           call to this function for any object.  Seriously.
23639
23640 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23641
23642         * check/gst/gstpipeline.c: (GST_START_TEST):
23643         * docs/gst/gstreamer-sections.txt:
23644         * gst/gstutils.c: (set_state_async_thread_func),
23645         (gst_element_set_state_async):
23646         * gst/gstutils.h:
23647           add a "gst_element_set_state_async" method that
23648           sets the state and starts a thread to make sure the state
23649           change completes as best as it can
23650
23651 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23652
23653         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23654           codify design+behaviour in testsuite after discussion
23655
23656 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23657
23658         * docs/gst/tmpl/gstelement.sgml:
23659         * docs/manual/appendix-quotes.xml:
23660           add a quote
23661         * gst/gstelement.c: (gst_element_set_state):
23662           add some debug
23663
23664 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23665
23666         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23667         (gst_base_transform_prepare_output_buf),
23668         (gst_base_transform_handle_buffer):
23669         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23670         (gst_capsfilter_prepare_buf):
23671           Remove the requirement for sub-classes to call the parent
23672           implementation of prepare_output_buffer with a wrapper function.
23673           
23674         * gst/gsttaglist.h:
23675         * gst/gsttagsetter.h:
23676           Fix #define wrapper
23677
23678 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23679
23680         * docs/gst/gstreamer-sections.txt:
23681           more doc cleanups
23682
23683 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23684
23685         * docs/gst/gstreamer-sections.txt:
23686         * docs/gst/tmpl/gstelement.sgml:
23687         * docs/gst/tmpl/gstplugin.sgml:
23688         * gst/gstminiobject.c:
23689         * gst/gstvalue.h:
23690           docs now stop throwing warnings
23691
23692 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23693
23694         * docs/gst/gstreamer-sections.txt:
23695         * docs/gst/gstreamer.types:
23696         * docs/gst/tmpl/gstpad.sgml:
23697         * docs/gst/tmpl/gsttypes.sgml:
23698         * gst/base/gstadapter.h:
23699         * gst/base/gstbasesink.h:
23700         * gst/base/gstbasesrc.h:
23701         * gst/gstbin.h:
23702         * gst/gstbuffer.h:
23703         * gst/gstbus.h:
23704         * gst/gstcaps.h:
23705         * gst/gstclock.h:
23706         * gst/gstelement.h:
23707         * gst/gstevent.h:
23708         * gst/gstmessage.h:
23709         * gst/gstpad.h:
23710         * gst/gststructure.c:
23711         * gst/registries/gstlibxmlregistry.h:
23712           various documentation fixes
23713
23714 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23715
23716         * docs/gst/gstreamer-sections.txt:
23717         * docs/gst/tmpl/gstvalue.sgml:
23718           rearrange gstvalue section
23719         * gst/gstutils.c: (gst_element_state_get_name):
23720           NONE -> VOID
23721         * gst/gstvalue.c: (_gst_value_initialize):
23722         * gst/gstvalue.h:
23723           doc updates
23724
23725 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23726
23727         * check/gst-libs/controller.c:
23728           Header include fix.
23729         * gst/base/gstbasetransform.c:
23730         (gst_base_transform_default_prepare_buf),
23731         (gst_base_transform_handle_buffer):
23732         * gst/base/gstbasetransform.h:
23733           Some more basetransform changes and fixes to enable sub-classes
23734           that modify buffer metadata only.
23735         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23736         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23737         (gst_capsfilter_prepare_buf):
23738           If the output pad has fixed allowed caps and input buffers 
23739           don't have any, set the fixed caps on outgoing buffers.
23740
23741 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23742         * check/elements/identity.c: (GST_START_TEST):
23743           Make the error a little clearer when the test fails because
23744           identity made a copy of the buffer.
23745         * docs/gst/gstreamer-sections.txt:
23746           New symbols in gstbasetransform.h
23747         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23748         (gst_base_transform_init), (gst_base_transform_transform_size),
23749         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23750         (gst_base_transform_default_prepare_buf),
23751         (gst_base_transform_get_unit_size),
23752         (gst_base_transform_buffer_alloc),
23753         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23754         (gst_base_transform_change_state),
23755         (gst_base_transform_set_passthrough),
23756         (gst_base_transform_set_in_place),
23757         (gst_base_transform_is_in_place):
23758         * gst/base/gstbasetransform.h:
23759           Change BaseTransform to separate in_place operate from same_caps
23760           output. in_place implies that the element can perform the transform
23761           on incoming buffers in-place, even if the caps on the output are
23762           different.
23763           Sub-class elements can now implement special buffer allocation
23764           methods for outgoing buffers if they wish to.
23765           Big documentation addition.
23766         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23767         * gst/elements/gstelements.c:
23768           Changes for basetransform modifications.
23769         * gst/elements/Makefile.am:
23770         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23771           Compile fix. Extra debug output.
23772
23773 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23774
23775         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23776         (gst_pad_suite):
23777           add tests for valid pad naming
23778         * gst/check/gstcheck.c: (gst_check_log_message_func),
23779         (gst_check_log_critical_func):
23780           add ASSERT_WARNING
23781           remove printing of code, it is fragile when the code contains
23782           % and the line number is enough info
23783         * gst/check/gstcheck.h:
23784         * gst/gstpad.c: (gst_pad_template_new):
23785           fix memleaks
23786
23787 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23788
23789         * configure.ac:
23790           say what CHECK flags we use
23791         * docs/libs/gstreamer-libs.types:
23792         * libs/gst/controller/Makefile.am:
23793         * libs/gst/controller/gst-controller.c:
23794         * libs/gst/controller/gst-controller.h:
23795         * libs/gst/controller/gst-helper.c:
23796         * libs/gst/controller/gst-interpolation.c:
23797         * libs/gst/controller/gstcontroller.c:
23798         * libs/gst/controller/gsthelper.c:
23799         * libs/gst/controller/gstinterpolation.c:
23800         * tools/gst-inspect.c: (print_plugin_info):
23801           we don't use dashes in header names
23802
23803 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23804
23805         * check/Makefile.am:
23806         * check/gst/.cvsignore:
23807         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23808         (gst_pipeline_suite), (main):
23809           adding a test for pipelines and state changes
23810         * gst/gstutils.c: (get_state_func):
23811           add some debugging
23812         * gstreamer.spec.in:
23813           fix up spec file
23814
23815 2005-09-08  Michael Smith <msmith@fluendo.com>
23816
23817         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23818         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23819         (gst_file_src_is_seekable), (gst_file_src_get_size),
23820         (gst_file_src_start):
23821         * gst/elements/gstfilesrc.h:
23822           Various fixes for unseekable, unmmapable, and non-normal files, so
23823           that fallback to read() rather than mmap() works.
23824         * gst/gstevent.c: (gst_event_new_newsegment):
23825           Allow newsegment events with segment_start == segment_end, as will
23826           correctly happen if you use filesrc on a zero-size file, for
23827           example.
23828
23829 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23830
23831         * gst/gstplugin.c: (gst_plugin_load_file):
23832           Call g_module_close when we don't load the module
23833
23834         * gst/registries/gstlibxmlregistry.c:
23835         (gst_xml_registry_get_property):
23836           Port leak fix from 0.8
23837
23838 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23839
23840         * docs/gst/gstreamer-docs.sgml:
23841         * docs/gst/tmpl/.cvsignore:
23842         * docs/gst/tmpl/gsttrace.sgml:
23843         * docs/gst/tmpl/gsttrashstack.sgml:
23844         * gst/Makefile.am:
23845         * gst/gst.h:
23846         * gst/gstelement.h:
23847         * gst/gstevent.h:
23848         * gst/gstmessage.c:
23849         * gst/gstmessage.h:
23850         * gst/gsttag.c:
23851         * gst/gsttag.h:
23852         * gst/gsttaginterface.c:
23853         * gst/gsttaginterface.h:
23854         * gst/gsttaglist.c:
23855         * gst/gsttaglist.h:
23856         * gst/gsttagsetter.c:
23857         * gst/gsttagsetter.h:
23858         * gst/gsttrace.c:
23859         * gst/gsttrace.h:
23860         * gst/gsttrashstack.c:
23861           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23862           inlined docs for gsttrace, gsttrashstack
23863
23864 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23865
23866         * gst/Makefile.am:
23867         * gst/elements/gstbufferstore.h:
23868         * gst/elements/gsttypefindelement.c:
23869         * gst/elements/gsttypefindelement.h:
23870         * gst/gst.h:
23871         * gst/gsttypefind.c:
23872         * gst/gsttypefind.h:
23873         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23874         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23875         (gst_type_find_factory_dispose),
23876         (gst_type_find_factory_unload_thyself),
23877         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23878         (gst_type_find_factory_get_caps),
23879         (gst_type_find_factory_get_extensions),
23880         (gst_type_find_factory_call_function):
23881         * gst/gsttypefindfactory.h:
23882         * gst/registries/gstlibxmlregistry.c:
23883         * gst/registries/gstxmlregistry.c:
23884           splitted gsttypefind into gsttypefind, gsttypefindfactory
23885
23886 2005-09-07  Andy Wingo  <wingo@pobox.com>
23887
23888         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23889         condition whereby the pad's task function is entered before the
23890         pad_mode variable was set.
23891
23892 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23893
23894         * gst/gstpad.c: (gst_pad_alloc_buffer):
23895           Catch misbehaving pad_alloc functions that don't
23896           set up caps and do it for them.
23897
23898 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23899
23900         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23901           test for pipe!=NULL
23902         * docs/gst/tmpl/.cvsignore:
23903         * docs/gst/tmpl/gstmemchunk.sgml:
23904         * docs/gst/tmpl/gstparse.sgml:
23905         * docs/gst/tmpl/gsttaglist.sgml:
23906         * docs/gst/tmpl/gsttagsetter.sgml:
23907         * docs/gst/tmpl/gsttypefind.sgml:
23908         * docs/gst/tmpl/gsttypefindfactory.sgml:
23909         * gst/gstmemchunk.c:
23910         * gst/gstparse.c:
23911         * gst/gsttag.c:
23912         * gst/gsttaginterface.c:
23913         * gst/gsttypefind.c:
23914         * gst/gsttypefind.h:
23915           inlined more docs
23916
23917 === release 0.9.2 ===
23918
23919 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23920
23921         * NEWS:
23922         * RELEASE:
23923         * configure.ac:
23924           releasing 0.9.2, "South"
23925
23926 2005-09-05  Andy Wingo  <wingo@pobox.com>
23927
23928         * gst/registries/gstxmlregistry.h:
23929         * gst/registries/gstxmlregistry.c: Um... resurrect...
23930         
23931         * gst/registries/gstxmlregistry.h:
23932         * gst/registries/gstxmlregistry.c: and update to newer API.
23933         Incidentally they should be a bit faster now that they don't have
23934         to parse the caps.
23935         
23936 2005-09-05  Andy Wingo  <wingo@pobox.com>
23937
23938         * gst/registries/gstxmlregistry.h:
23939         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23940         replaced by the libxml registry a while back
23941
23942 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23943
23944         * docs/gst/tmpl/gstplugin.sgml:
23945         * gst/elements/gstelements.c:
23946         * gst/gst.c:
23947         * gst/gstplugin.c: (gst_plugin_register_func),
23948         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23949         (gst_plugin_get_source):
23950         * gst/gstplugin.h:
23951         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23952         (gst_xml_registry_save_plugin):
23953         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23954         (gst_xml_registry_save_plugin):
23955         * tools/gst-inspect.c: (print_plugin_info):
23956           add a "source" plugin description field, to represent the source
23957           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23958           will set it to PACKAGE, which is automake's idea of the name of
23959           the source project.
23960
23961 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23962
23963         * Makefile.am:
23964         * autogen.sh:
23965         * configure.ac:
23966         * docs/Makefile.am:
23967         * docs/faq/Makefile.am:
23968         * docs/gst/tmpl/gstelement.sgml:
23969         * docs/gst/tmpl/gsttypes.sgml:
23970         * docs/htmlinstall.mak:
23971         * docs/manual/Makefile.am:
23972         * docs/pwg/Makefile.am:
23973           reorganize doc build a little
23974           split out docbook and gtk-doc stuff
23975           have two separate --enable's and enable them through autogen
23976           but disable by default in configure (to be similar to other
23977           projects)
23978         * gstreamer.spec.in:
23979           clean up docs install
23980         * po/af.po:
23981         * po/az.po:
23982         * po/ca.po:
23983         * po/cs.po:
23984         * po/de.po:
23985         * po/en_GB.po:
23986         * po/fr.po:
23987         * po/it.po:
23988         * po/nb.po:
23989         * po/nl.po:
23990         * po/ru.po:
23991         * po/sq.po:
23992         * po/sr.po:
23993         * po/sv.po:
23994         * po/tr.po:
23995         * po/uk.po:
23996         * po/vi.po:
23997           translation updates
23998
23999 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
24000
24001         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24002           Add comment.
24003           
24004         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24005         (gst_fake_sink_change_state):
24006           Make state change function thread-safe.
24007           
24008         * gst/gstpad.c: (gst_pad_alloc_buffer):
24009           Set offset on generic buffer allocated by fallback.
24010
24011 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
24012
24013         * docs/gst/gstreamer-sections.txt:
24014         * docs/gst/tmpl/gstelement.sgml:
24015         * gst/gstpad.c:
24016         * libs/gst/controller/gst-controller.c:
24017         (gst_controlled_property_set_interpolation_mode),
24018         (gst_controlled_property_new),
24019         (gst_controller_find_controlled_property):
24020          run the wingo-magic script against the docs
24021
24022 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24023
24024         * docs/gst/gstreamer-docs.sgml:
24025         * docs/gst/gstreamer-sections.txt:
24026         * docs/gst/tmpl/.cvsignore:
24027         * docs/gst/tmpl/gstelementdetails.sgml:
24028         * docs/gst/tmpl/gstelementfactory.sgml:
24029         * gst/gst.c:
24030         * gst/gstbus.c:
24031         * gst/gstelementfactory.c:
24032         * gst/gstelementfactory.h:
24033           merged elementdetails docs into elementfactory docs
24034           inlined both
24035
24036 2005-09-02  Andy Wingo  <wingo@pobox.com>
24037
24038         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24039         consider this enum an enum and not a flags.
24040
24041 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24042
24043         * docs/gst/gstreamer-docs.sgml:
24044         * docs/gst/tmpl/.cvsignore:
24045         * docs/gst/tmpl/gstghostpad.sgml:
24046         * docs/gst/tmpl/gstiterator.sgml:
24047         * docs/gst/tmpl/gstmacros.sgml:
24048         * docs/gst/tmpl/gstrealpad.sgml:
24049         * docs/gst/tmpl/gstregistry.sgml:
24050         * docs/gst/tmpl/gstregistrypool.sgml:
24051         * docs/gst/tmpl/gststructure.sgml:
24052         * docs/gst/tmpl/gstsystemclock.sgml:
24053         * docs/gst/tmpl/gsttrace.sgml:
24054         * gst/gstghostpad.c:
24055         * gst/gstmacros.h:
24056         * gst/gstmemchunk.c:
24057         * gst/gstmemchunk.h:
24058         * gst/gstqueue.c:
24059         * gst/gstregistry.c:
24060         * gst/gstregistrypool.c:
24061         * gst/gststructure.c:
24062         * gst/gstsystemclock.c:
24063           more docs inlined
24064
24065 2005-09-02  Andy Wingo  <wingo@pobox.com>
24066
24067         * gst/gstelement.h (GstState): Renamed from GstElementState,
24068         changed to be a normal enum instead of flags.
24069         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24070         munged to be GST_STATE_CHANGE_*.
24071         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24072         work with the new state representation.
24073         (GstStateChange): New enumeration of possible state transitions.
24074         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24075         (GstElementClass::change_state): Pass the GstStateChange along as
24076         an argument. Helps language bindings, so they don't have to use
24077         tricky lock-needing macros like GST_STATE_CHANGE ().
24078
24079         * scripts/update-states (file): New script. Run it on a file to
24080         update it for state naming and API changes. Updates files in
24081         place.
24082
24083         * All files updated for the new API.
24084
24085 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24086
24087         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24088         * gst/gstutils.c: (gst_util_set_value_from_string),
24089         (gst_util_set_object_arg):
24090           fix a bunch of unchecked return values
24091         * tools/gst-complete.c: (main):
24092         * gstreamer.spec.in:
24093           clean up a little
24094
24095 2005-09-01  Wim Taymans  <wim@fluendo.com>
24096
24097         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24098         (gst_base_sink_event), (gst_base_sink_do_sync),
24099         (gst_base_sink_handle_event):
24100         * gst/base/gstbasesink.h:
24101         Handle newsegments more correctly.
24102
24103         * gst/gstbus.c:
24104         Fix docs.
24105
24106         * gst/gstevent.c: (gst_event_new_newsegment):
24107         A newsegment cannot have a start_time of -1
24108
24109 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
24110
24111         * win32/gstenumtypes.c:
24112         * win32/gstenumtypes.h:
24113           Update
24114
24115 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24116
24117         * libs/gst/controller/gst-controller.c:
24118         (gst_controlled_property_set_interpolation_mode),
24119         (gst_controlled_property_new):
24120          fixed boolean again
24121
24122 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
24123
24124         * docs/faq/gst-uninstalled:
24125           add -good
24126         * gst/gstevent.c:
24127         * gst/gstevent.h:
24128           remove wrong docs
24129         * gst/gstutils.c: (gst_element_link_filtered):
24130         * gst/gstutils.h:
24131           add gst_element_link_filtered
24132
24133 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24134
24135         * docs/gst/gstreamer-docs.sgml:
24136         * docs/gst/gstreamer-sections.txt:
24137         * docs/gst/tmpl/.cvsignore:
24138         * docs/gst/tmpl/gsterror.sgml:
24139         * docs/gst/tmpl/gstfilter.sgml:
24140         * docs/gst/tmpl/gsturihandler.sgml:
24141         * docs/gst/tmpl/gsturitype.sgml:
24142         * docs/gst/tmpl/gstutils.sgml:
24143         * docs/gst/tmpl/gstxml.sgml:
24144         * gst/gsterror.c:
24145         * gst/gsterror.h:
24146         * gst/gstfilter.c:
24147         * gst/gsturi.c:
24148         * gst/gsturitype.c:
24149         * gst/gstutils.c:
24150         * gst/gstxml.c:
24151           inlined more docs, fixed double id-ref
24152
24153 2005-08-31  Wim Taymans  <wim@fluendo.com>
24154
24155         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24156         (gst_base_transform_handle_buffer):
24157         Passthrough elements don't need the caps as they don't care.
24158
24159 2005-08-31  Wim Taymans  <wim@fluendo.com>
24160
24161         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24162         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24163         Don't leak refcounts on buffers.
24164
24165 2005-08-31  Wim Taymans  <wim@fluendo.com>
24166
24167         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24168         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24169         (gst_base_transform_chain), (gst_base_transform_change_state):
24170         * gst/base/gstbasetransform.h:
24171         Handle the case where we are not negotiated more gracefully.
24172
24173 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
24174
24175         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24176         (gst_file_src_map_region):
24177           Set READONLY flag on mmap'ed buffers, otherwise
24178           gst_buffer_make_writable() won't work properly (#314708).
24179
24180 2005-08-31  Wim Taymans  <wim@fluendo.com>
24181
24182         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24183         passthrough elements can even do inplace on non writable
24184         buffers (as they don't touch them).
24185
24186 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24187
24188         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24189         (gst_test_mono_source_set_property),
24190         (gst_test_mono_source_class_init), (GST_START_TEST),
24191         (gst_controller_suite):
24192           more tests (hehe I have the most)
24193         * gst/gstbus.c:
24194           describe popping messages whenusing mulltiple sources
24195         * libs/gst/controller/gst-controller.c:
24196         (gst_controlled_property_set_interpolation_mode),
24197         (gst_controlled_property_new):
24198         * libs/gst/controller/gst-controller.h:
24199         * libs/gst/controller/gst-interpolation.c:
24200           implement boolean properties
24201
24202 2005-08-31  Wim Taymans  <wim@fluendo.com>
24203
24204         * gst/gstminiobject.c: (gst_mini_object_ref):
24205         Cannot assert that the refcount has to be positive
24206         since a disposed object can be resurrected.
24207
24208 2005-08-31  Wim Taymans  <wim@fluendo.com>
24209
24210         * gst/gstpad.c: (gst_pad_init):
24211         Revert change, need to first fix badly behaving 
24212         apps.
24213
24214 2005-08-30  Wim Taymans  <wim@fluendo.com>
24215
24216         * check/elements/fakesrc.c: (setup_fakesrc):
24217         * check/elements/identity.c: (setup_identity):
24218         Activate pads before using them.
24219
24220 2005-08-30  Wim Taymans  <wim@fluendo.com>
24221
24222         * gst/base/gstadapter.c: (gst_adapter_flush):
24223         Flushing out 0 bytes is ok for this function.
24224
24225         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24226         no newsegment gives a warning and sets the start/stop to 
24227         invalid.
24228
24229         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24230         (gst_base_transform_set_passthrough):
24231         Some debug info.
24232
24233         * gst/gstminiobject.c: (gst_mini_object_ref):
24234         Check refcount here too.
24235
24236         * gst/gstpad.c: (gst_pad_init):
24237         Pads are initially flushing and refusing data.
24238
24239         * gst/gstutils.c: (gst_element_link_pads_filtered):
24240         When adding a capsfilter element make sure it has the
24241         same state as the parent bin.
24242
24243 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24244
24245         * docs/gst/tmpl/.cvsignore:
24246         * docs/gst/tmpl/gstformat.sgml:
24247         * docs/gst/tmpl/gstversion.sgml:
24248         * gst/gstbus.h:
24249         * gst/gstformat.c:
24250         * gst/gstformat.h:
24251         * gst/gstversion.h.in:
24252           more docs and two more inlined
24253
24254 2005-08-30  Wim Taymans  <wim@fluendo.com>
24255
24256         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24257         Don't sync to clock.
24258
24259 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24260
24261         * docs/gst/gstreamer-sections.txt:
24262           ultral33t func10ns deserve to appear in the docs actually
24263         * docs/gst/tmpl/.cvsignore:
24264         * docs/gst/tmpl/gstcompat.sgml:
24265         * docs/gst/tmpl/gstconfig.sgml:
24266         * gst/check/gstcheck.c:
24267         * gst/gstcompat.h:
24268         * gst/gstconfig.h.in:
24269           inlined more docs
24270
24271 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24272
24273         * docs/gst/tmpl/.cvsignore:
24274         * docs/gst/tmpl/gstquery.sgml:
24275         * docs/gst/tmpl/gstutils.sgml:
24276         * gst/gstquery.c:
24277         * gst/gstquery.h:
24278           inlined and extended docs
24279
24280 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24281
24282         * check/gst-libs/controller.c: (GST_START_TEST),
24283         (gst_controller_suite):
24284           more tests
24285         * docs/gst/tmpl/gstutils.sgml:
24286         * docs/libs/gstreamer-libs-sections.txt:
24287         * docs/libs/tmpl/gstdataprotocol.sgml:
24288           include path fixes
24289         * examples/controller/audio-example.c: (main):
24290           controller example works now
24291         * gst/gstclock.h:
24292           doc fixes
24293         * tools/gst-inspect.c: (print_element_properties_info):
24294           show param spec flags
24295
24296 2005-08-29  Andy Wingo  <wingo@pobox.com>
24297
24298         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24299
24300 2005-08-28  Andy Wingo  <wingo@pobox.com>
24301
24302         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24303         as having two arguments instead of just one. Allows superclasses
24304         to access information on subclasses -- see the terrible for() loop
24305         in gtype.c:g_type_create_instance for the reason why. All callers
24306         changed.
24307
24308 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24309
24310         * docs/design/part-messages.txt:
24311           update info
24312         * docs/gst/tmpl/.cvsignore:
24313         * docs/gst/tmpl/gstcaps.sgml:
24314         * docs/gst/tmpl/gstclock.sgml:
24315         * gst/gstbus.c:
24316         * gst/gstcaps.c:
24317         * gst/gstcaps.h:
24318         * gst/gstclock.c:
24319         * gst/gstclock.h:
24320         * gst/gstmessage.c:
24321           added descriptions for bus and message
24322           inline caps and clock docs
24323
24324 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24325
24326         * gst/gstmessage.c:
24327         * gst/gstmessage.h:
24328           doc fixes
24329
24330 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24331
24332         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24333           fix div-by-zero
24334
24335 2005-08-26  Andy Wingo  <wingo@pobox.com>
24336
24337         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24338         element_set_state's return val.
24339         (test_2_elements): Add test that's been disabled for months.
24340
24341         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24342         can-activate-pull properties.
24343
24344         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24345         can-activate-pull properties. Implement is_seekable so fakesrc can
24346         operate in pull mode.
24347
24348         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24349         properties.
24350         (gst_base_sink_activate, gst_base_sink_activate_pull)
24351         (gst_base_sink_activate_push): Make activation mode choosing work.
24352         Cleanups.
24353         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24354         is right. Make pull mode work. Post an eos before pausing in pull
24355         mode.
24356         (gst_base_sink_change_state): Pay attention to the core's
24357         change_state() return val.
24358         
24359         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24360         has-getrange properties. Cleanups.
24361         
24362         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24363         has_getrange and replace with can_activate_pull and
24364         can_activate_push.
24365
24366         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24367         locking comments. Remove has_loop, has_chain and replace with
24368         can_activate_pull and can_activate_push.
24369
24370 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24371
24372         * configure.ac:
24373         * examples/Makefile.am:
24374         * examples/metadata/Makefile.am:
24375         * examples/metadata/read-metadata.c: (message_loop),
24376         (have_pad_handler), (make_pipeline), (print_tag), (main):
24377           Add metadata reading example that loops over a list of filenames,
24378           dumping any tags found.
24379
24380         * gst/gstbus.c: (gst_bus_dispose):
24381         * gst/gstelement.c: (gst_element_dispose):
24382           Release a few potentially-held references in dispose.
24383
24384 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24385
24386         * docs/gst/tmpl/gstminiobject.sgml:
24387           do *not* add tmpl/*.sgml files to CVS!
24388
24389 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24390
24391         * libs/gst/bytestream/.cvsignore:
24392         * libs/gst/bytestream/Makefile.am:
24393         * libs/gst/bytestream/adapter.c:
24394         * libs/gst/bytestream/adapter.h:
24395         * libs/gst/bytestream/bytestream.c:
24396         * libs/gst/bytestream/bytestream.h:
24397         * libs/gst/bytestream/filepad.c:
24398         * libs/gst/bytestream/filepad.h:
24399           removing obsolete files
24400
24401 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24402
24403         * docs/gst/gstreamer-docs.sgml:
24404         * docs/libs/gstreamer-libs-docs.sgml:
24405           disabed additional index entries again, as this makes docs-gen just
24406           slow and they aren't useful yet
24407         * docs/libs/gstreamer-libs-sections.txt:
24408           little -section.txt cleanup for libs
24409
24410 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24411
24412         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24413         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24414           fix up some debugging
24415         (gst_base_transform_get_unit_size),
24416         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24417         (gst_base_transform_handle_buffer):
24418         * gst/base/gstbasetransform.h:
24419           handle and store timed NEWSEGMENT events so that subclasses that
24420           calculate time by counting samples have a segment_start time they
24421           need to add to their timestamps - see audioresample
24422
24423 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24424
24425         * gst/gstbin.h:
24426           removed ';' from the end of macro defs
24427         * docs/gst/gstreamer-docs.sgml:
24428         * docs/gst/gstreamer-sections.txt:
24429         * docs/gst/tmpl/.cvsignore:
24430         * gst/gstbus.h:
24431         * gst/gstelement.c: (gst_element_class_init),
24432         (gst_element_set_state), (activate_pads),
24433         (gst_element_save_thyself):
24434         * gst/gstevent.c: (gst_event_new_newsegment):
24435         * gst/gstevent.h:
24436         * gst/gstiterator.c:
24437         * gst/gstiterator.h:
24438         * gst/gstpad.c:
24439         * gst/gstprobe.h:
24440         * gst/gstutils.c: (gst_pad_query_convert):
24441         * gst/gstutils.h:
24442           fixed parameter name mismatches between source, header and docs
24443           added some more docs, resolved the last batch of unused elements in
24444           docs (now someone needs to doc them)
24445
24446 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24447
24448         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24449         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24450           don't walk through the plugins backwards.  Where is all this
24451           reversed logic coming from ?
24452
24453 2005-08-25  Wim Taymans  <wim@fluendo.com>
24454
24455         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24456         (gst_base_transform_transform_size),
24457         (gst_base_transform_configure_caps),
24458         (gst_base_transform_get_unit_size),
24459         (gst_base_transform_buffer_alloc),
24460         (gst_base_transform_change_state):
24461         * gst/base/gstbasetransform.h:
24462         Cache caps unit_size.
24463         Make sure we cannot negotiate up and downstream at the
24464         same time.
24465
24466 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24467
24468         * gst/gst.c: (init_pre), (init_post):
24469           register the installed plugin path after the env var
24470         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24471         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24472           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24473           directories, so the tests can prefer uninstalled over installed
24474
24475 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24476
24477         * gst/base/gstbasetransform.h:
24478           comment
24479         * gst/gstpad.c:
24480           add to docs
24481
24482 2005-08-25  Wim Taymans  <wim@fluendo.com>
24483
24484         * gst/gstbin.c: (bin_bus_handler):
24485         Be a bit more conservative about the posted message.
24486         
24487         * gst/gstbus.c: (gst_bus_post):
24488         Some cleanups, warn wrong return values.
24489
24490 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24491
24492         * check/gst/gstbin.c: (GST_START_TEST):
24493         * gst/gstbin.c: (bin_bus_handler):
24494         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24495         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24496         (gst_message_new_warning), (gst_message_new_tag),
24497         (gst_message_new_state_changed), (gst_message_new_segment_start),
24498         (gst_message_new_segment_done), (gst_message_new_custom):
24499         * gst/gstmessage.h:
24500         * tools/gst-launch.c: (event_loop):
24501         * tools/gst-md5sum.c: (event_loop):
24502           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24503
24504 2005-08-25  Wim Taymans  <wim@fluendo.com>
24505
24506         * check/generic/states.c: (GST_START_TEST):
24507         Cleanup can be done at the end.
24508
24509         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24510         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24511         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24512         Oh boy.. Thanks for finding this, Thomas. 
24513
24514 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24515
24516         * docs/gst/gstreamer.types:
24517           added missing types
24518
24519 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24520
24521         * docs/gst/gstreamer-docs.sgml:
24522         * docs/gst/gstreamer-sections.txt:
24523         * docs/gst/tmpl/.cvsignore:
24524         * gst/gstbin.c:
24525         * gst/gstiterator.c:
24526         * gst/gstutils.c:
24527         * gst/registries/gstxmlregistry.h:
24528           added missing classes and symbols (123 more to go)
24529           removed removed symbols from section file
24530           fixed many doc-comments
24531
24532 2005-08-24  Wim Taymans  <wim@fluendo.com>
24533
24534         * check/generic/states.c: (GST_START_TEST):
24535         Make sure all tasks are stopped.
24536
24537         * check/gst/gstbin.c: (GST_START_TEST):
24538         Unref after usage for proper valgrinding.
24539
24540         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24541         Really wait for the task to stop before destroying the
24542         mutex.
24543
24544         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24545         (gst_queue_src_activate_push):
24546         Small cleanups. Don't stop the task when we did not start
24547         it.
24548
24549         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24550         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24551         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24552         (gst_task_join):
24553         * gst/gsttask.h:
24554         Protect the stream lock with the object lock.
24555         Disallow setting the stream lock when running.
24556         Add cleanup_all to wait for the threadpool to finish.
24557         Remove code to autoallocate a mutex if none was provided.
24558         Add _join() to wait for a task to stop.
24559         Protect the thread pool with a global lock.
24560
24561 2005-08-24  Wim Taymans  <wim@fluendo.com>
24562
24563         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24564         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24565         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24566         * gst/base/gstbasesink.h:
24567         Handle newsegment events correctly.
24568         Drop buffers out of the segment range.
24569
24570 2005-08-22  Andy Wingo  <wingo@pobox.com>
24571
24572         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24573         macro, implements an interface and gstimplementsinterface for a
24574         new type.
24575
24576 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24577
24578         * check/Makefile.am:
24579         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24580           add a test that does a bunch of state changes on elements
24581           needs some fixing for valgrind
24582         * check/states/sinks.c: (gst_object_suite):
24583           whitespace
24584         * gst/gstcaps.h:
24585           add prototype for gst_caps_is_equal_fixed
24586         * gst/gstplugin.c:
24587         * gst/gstregistrypool.c:
24588           doc fixes
24589
24590 2005-08-24  Andy Wingo  <wingo@pobox.com>
24591
24592         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24593         convert a negative value. Doesn't make much sense. Mostly this is
24594         here to force callers to ensure -1 maps to -1.
24595
24596 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24597
24598         * docs/pwg/advanced-types.xml:
24599           Well done to Michael for catching my deliberate introduction
24600           of this spelling mistake. 
24601         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24602         * gst/gstelement.h:
24603           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24604           unlink pads before removing the element from the bin.
24605
24606 2005-08-24  Andy Wingo  <wingo@pobox.com>
24607
24608         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24609         the same thing as GST_DEBUG=*:4.
24610         (parse_debug_level, parse_debug_category): New helper parsers.
24611
24612 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24613
24614         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24615         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24616         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24617         (gst_base_transform_buffer_alloc),
24618         (gst_base_transform_handle_buffer):
24619           use gboolean return values and pointers to size so we can use the
24620           full GST_BUFFER_SIZE range (guint) for buffer sizes
24621           use GstPadDirection for transform_caps
24622         * gst/base/gstbasetransform.h:
24623           rename get_size to get_unit_size since that's what it is
24624         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24625           use GstPadDirection for transform_caps
24626         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24627         * gst/gstutils.h:
24628           cleanup and debugging
24629
24630 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24631
24632         * gst/gstelement.c: (gst_element_class_init),
24633         (gst_element_set_state), (activate_pads),
24634         (gst_element_save_thyself):
24635         * tools/gst-compprep.c: (main):
24636         * tools/gst-inspect.c: (print_element_properties_info):
24637         * tools/gst-xmlinspect.c: (print_element_properties):
24638           Fixed long standing mem-leak
24639
24640 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24641
24642         * check/gst/gstbin.c: (GST_START_TEST):
24643         * gst/gstbin.c: (bin_bus_handler):
24644         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24645         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24646         (gst_message_new_warning), (gst_message_new_tag),
24647         (gst_message_new_state_changed), (gst_message_new_segment_start),
24648         (gst_message_new_segment_done), (gst_message_new_custom):
24649         * gst/gstmessage.h:
24650         * tools/gst-launch.c: (event_loop):
24651         * tools/gst-md5sum.c: (event_loop):
24652           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24653           that applications can sensibly post custom messages with references
24654           to their own objects.
24655
24656 2005-08-24  Andy Wingo  <wingo@pobox.com>
24657
24658         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24659         already.
24660
24661 2005-08-24  Wim Taymans  <wim@fluendo.com>
24662
24663         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24664         (gst_base_transform_transform_caps),
24665         (gst_base_transform_transform_size),
24666         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24667         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24668         (gst_base_transform_handle_buffer):
24669         * gst/base/gstbasetransform.h:
24670         Many fixes and new features added by Thomas. Can now also do
24671         transforms with variable sizes and a custom fixate_caps function.
24672
24673 2005-08-24  Wim Taymans  <wim@fluendo.com>
24674
24675         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24676         Some debugging.
24677
24678         * gst/gstclock.h:
24679         Cast to ClockTime before formatting to time.
24680
24681         * gst/gstutils.h:
24682         Cleanups.
24683
24684 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24685
24686         * check/gst-libs/controller.c: (GST_START_TEST),
24687         (gst_controller_suite):
24688         * docs/gst/tmpl/gstcaps.sgml:
24689         * docs/gst/tmpl/gstghostpad.sgml:
24690         * docs/gst/tmpl/gstquery.sgml:
24691         * docs/gst/tmpl/gstutils.sgml:
24692         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24693         (gst_object_sink_values), (gst_object_get_value_arrays),
24694         (gst_object_get_value_array):
24695           gracefully handle helper method calls to objects that are not beeing
24696           controlled, added test case for that          
24697
24698 2005-08-23  Wim Taymans  <wim@fluendo.com>
24699
24700         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24701         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24702         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24703         (gst_event_parse_qos), (gst_event_new_seek),
24704         (gst_event_parse_seek):
24705         * gst/gstevent.h:
24706         Some more debugging output and doc cleanups.
24707
24708         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24709         Fix possible deadlock.
24710
24711 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24712
24713         * docs/gst/gstreamer-docs.sgml:
24714         * docs/gst/gstreamer-sections.txt:
24715         * docs/gst/gstreamer.types:
24716         * docs/gst/tmpl/.cvsignore:
24717         * gst/gstbin.h:
24718         * gst/gstbus.c:
24719         * gst/gstelement.c:
24720         * gst/gstevent.h:
24721           added 100 symbols from gstreamer-unused.txt to the right sections
24722           fixed more broken comments
24723           added GstBus to docs
24724
24725 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24726
24727         * docs/gst/gstreamer-sections.txt:
24728         * docs/gst/tmpl/.cvsignore:
24729         * docs/gst/tmpl/gstbin.sgml:
24730         * docs/gst/tmpl/gstbuffer.sgml:
24731         * gst/base/gstbasesrc.c:
24732         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24733         * gst/gstbuffer.c:
24734         * gst/gstbuffer.h:
24735         * tools/gst-launch.1.in:
24736           inlined more doc comments, added missing comments and fixed comments
24737           fixed typos
24738
24739 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24740
24741         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24742           some debugging
24743         * gst/gstcaps.h:
24744           whitespace fixes
24745         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24746           more debugging
24747         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24748         * gst/gststructure.h:
24749           add a fixate function for booleans; add a FIXME that these func
24750           names should probably be gst_structure_fixate_*
24751
24752 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24753
24754         * docs/gst/gstreamer-docs.sgml:
24755         * docs/gst/gstreamer-sections.txt:
24756         * gst/Makefile.am:
24757         * gst/gstbin.c: (gst_bin_get_type),
24758         (gst_bin_child_proxy_get_child_by_index),
24759         (gst_bin_child_proxy_get_children_count),
24760         (gst_bin_child_proxy_init):
24761         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24762         (gst_child_proxy_get_child_by_index),
24763         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24764         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24765         (gst_child_proxy_get), (gst_child_proxy_set_property),
24766         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24767         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24768         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24769         * gst/gstchildproxy.h:
24770         * gst/parse/grammar.y:
24771         * tools/gst-inspect.c: (print_interfaces),
24772         (print_element_properties_info), (print_element_info):
24773           ported gstchildproxy over from 0.8
24774           ported gst-inspect fixes and enhancements over from 0.8
24775
24776 2005-08-22  Wim Taymans  <wim@fluendo.com>
24777
24778         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24779         (gst_base_transform_handle_buffer):
24780         Also call the transform function if we have ANY caps.
24781
24782         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24783         Fix debug info.
24784
24785 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24786
24787         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24788           Don't pretend to handle seek events if the source is not seekable
24789
24790 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24791
24792         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24793           Remove extra parameter to debug output
24794
24795         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24796         (gst_base_src_do_seek), (gst_base_src_activate_push):
24797           Fix seek event handling.
24798
24799         * gst/gstpipeline.c: (gst_pipeline_change_state):
24800         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24801         (gst_queue_src_activate_push):
24802           Don't start the src pad task on FLUSH_STOP if the pad
24803           isn't linked.
24804           Debug changes.
24805
24806 2005-08-22  Wim Taymans  <wim@fluendo.com>
24807
24808         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24809         Added check for gst_static_caps_get() refcounting.
24810
24811 2005-08-22  Wim Taymans  <wim@fluendo.com>
24812
24813         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24814         Make _static_caps_get() refcounting sane.
24815         
24816         * gst/gstelement.c: (gst_element_set_state):
24817         Add g_return_val_if_fail() to protect against segfaults.
24818
24819 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24820
24821         * docs/gst/tmpl/gstevent.sgml:
24822         * gst/gstevent.c:
24823         * gst/gstevent.h:
24824           inlined remaining docs, added missing doc comments
24825
24826 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24827
24828         * check/gst/gstbin.c: (GST_START_TEST):
24829           since we don't know when preroll is done, use refcount range
24830           check for the sink
24831         * gst/check/gstcheck.h:
24832           add macro for checking refcount range
24833
24834 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24835
24836         * check/Makefile.am:
24837           clean up environment for when registry gets built versus
24838           when actual tests are run; valgrind seems to not report
24839           leaks if GST_PLUGIN_PATH is set to some specific values
24840         * check/gst/gstbin.c: (GST_START_TEST):
24841           add more refcounting checks; maybe this exposes a
24842           preroll lock bug ?
24843         * common/check.mak:
24844         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24845         * gst/check/gstcheck.h:
24846         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24847         (gst_bin_change_state):
24848         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24849           add/fix debugging/whitespace
24850
24851 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24852
24853         * check/gst/gstevent.c: (event_probe), (test_event),
24854         (GST_START_TEST):
24855          Er, don't call gst_bin_watch_for_state_change you idiot.
24856
24857 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24858
24859         * check/Makefile.am:
24860           Use CHECK_CFLAGS and CHECK_LIBS
24861         * check/gst/gstevent.c: (event_probe), (test_event),
24862         (GST_START_TEST):
24863           Don't leak events.
24864         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24865         (gst_base_src_start), (gst_base_src_stop),
24866         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24867         (gst_base_src_change_state):
24868           Sprinkle gst_base_src_stop liberally around error paths to fix
24869           problems reusing a source after failed state changes.
24870         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24871         (helper_find_suggest), (gst_type_find_helper):
24872           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24873         * gst/gstevent.h:
24874         * docs/gst/tmpl/gstevent.sgml:
24875           Migrate part of the docs from the SGML file. Wait for ensonic to
24876           tell me how I did it wrong ;)
24877         * tools/gst-typefind.c: (main):
24878           Extra robustness to state changes between files.
24879
24880 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24881
24882         * check/Makefile.am:
24883           don't valgrind the controller test - it's leaking - Stefan, HELP
24884         * gst/check/gstcheck.c: (gst_check_message_error),
24885         (gst_check_chain_func), (gst_check_setup_element),
24886         (gst_check_teardown_element), (gst_check_setup_src_pad),
24887         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24888         (gst_check_teardown_sink_pad):
24889         * gst/check/gstcheck.h:
24890           add a bunch of methods to set up elements, and src and sink pads
24891         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24892         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24893         (GST_START_TEST):
24894           use them
24895         * gst/gstmessage.c:
24896         * gst/gsttag.h:
24897           whitespace/doc fixes
24898
24899 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24900
24901         * gst/gstelement.h:
24902           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24903           be handled by the application and not always printed as well
24904
24905 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24906
24907         * check/Makefile.am:
24908           set GST_TOOLS_DIR
24909         * gst/check/gstcheck.c: (gst_check_message_error):
24910         * gst/check/gstcheck.h:
24911           add a fail_unless_equals_int
24912           add fail_unless for error messages
24913
24914 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24915
24916         * check/Makefile.am:
24917         * check/gst.supp:
24918         * common/Makefile.am:
24919         * common/check.mak:
24920         * common/gst.supp:
24921           factor out some of the common stuff so we can use it
24922
24923 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24924
24925         * check/Makefile.am:
24926         * check/gst/gstiterator.c: (GST_START_TEST):
24927         * check/gst/gstsystemclock.c: (GST_START_TEST),
24928         (gst_systemclock_suite):
24929         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24930         * gst/gstclock.c:
24931           valgrind more tests
24932
24933 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24934
24935         * check/elements/.cvsignore:
24936         * check/elements/gstfakesrc.c:
24937           rename to name of element
24938         * check/elements/identity.c: (chain_func), (event_func),
24939         (setup_identity), (cleanup_identity), (GST_START_TEST),
24940         (identity_suite), (main):
24941           add a test for identity
24942         * check/Makefile.am:
24943         * pkgconfig/Makefile.am:
24944         * pkgconfig/gstreamer-check.pc.in:
24945         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24946         * gst/check:
24947         * gst/Makefile.am:
24948         * configure.ac:
24949           move the check stuff to a library that gets installed
24950         * check/gst-libs/controller.c: (GST_START_TEST):
24951         * check/gst-libs/gdp.c:
24952         * check/gst/gst.c: (GST_START_TEST):
24953         * check/gst/gstbin.c:
24954         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24955         * check/gst/gstbus.c:
24956         * check/gst/gstcaps.c: (GST_START_TEST):
24957         * check/gst/gstelement.c:
24958         * check/gst/gstghostpad.c:
24959         * check/gst/gstiterator.c:
24960         * check/gst/gstmessage.c:
24961         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24962         * check/gst/gstobject.c:
24963         * check/gst/gstpad.c: (GST_START_TEST):
24964         * check/gst/gststructure.c: (GST_START_TEST):
24965         * check/gst/gstsystemclock.c: (GST_START_TEST),
24966         (gst_systemclock_suite):
24967         * check/gst/gsttag.c: (gst_tag_suite):
24968         * check/gst/gstvalue.c:
24969         * check/pipelines/cleanup.c:
24970         * check/pipelines/simple_launch_lines.c:
24971         * check/states/sinks.c:
24972           change include statement
24973
24974         * docs/gst/gstreamer-sections.txt:
24975         * docs/gst/tmpl/gstpad.sgml:
24976           document more pad stuff
24977         * gst/gstminiobject.c: (gst_mini_object_ref),
24978         (gst_mini_object_unref):
24979           debug refcounting
24980
24981 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24982
24983         * docs/gst/tmpl/gst.sgml:
24984         * gst/gst.c:
24985           eliminate another tmpl file, fix spelling in the long-description
24986
24987 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24988
24989         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24990         (test_event), (timediff), (gstevents_suite):
24991           Should fix build on 64-bit arch's
24992
24993 2005-08-18  Andy Wingo  <wingo@pobox.com>
24994
24995         Make sure that when a pipeline goes to PLAYING, that data has
24996         actually hit the sink.
24997
24998         * check/states/sinks.c (test_sink): A sink that doesn't get any
24999         data shouldn't return SUCCESS for going to either PLAYING or
25000         PAUSED. Test also the return values on the way back down.
25001
25002         * gst/gstelement.c (gst_element_set_state): When changing the
25003         state of an element currently changing state asynchronously, go to
25004         lost-state after commiting the pending state. Makes future calls
25005         to get_state continue to return ASYNC.
25006
25007         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25008         ASYNC when going to PLAYING if we still don't have preroll, as can
25009         happen with live sources.
25010
25011 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25012
25013         * docs/pwg/advanced-types.xml:
25014           Hack long paragraph into 2 chunks as a workaround for buggy
25015           jadetex version in sid and breezy that loops infinitely and
25016           eats all RAM.
25017
25018 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25019
25020         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25021         (test_event), (timediff), (gstevents_suite):
25022           Provide more error margin in clock measurements to allow for 
25023           g_get_current_time inaccuracies.
25024
25025 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25026
25027         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25028         (test_event), (timediff), (gstevents_suite):
25029            Fix error message output so I might be able to tell why the
25030            test works here but fails on the build farm.
25031
25032 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25033
25034         * check/Makefile.am:
25035         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25036         (test_event), (timediff), (gstevents_suite), (main):
25037           I wrote a test!
25038
25039         * docs/design/part-seeking.txt:
25040           Spelling correction
25041
25042         * docs/gst/tmpl/gstevent.sgml:
25043         * docs/gst/tmpl/gstfakesrc.sgml:
25044           Docs updates.
25045
25046         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25047           Treat a buffer-without-newsegment the same as a receiving 
25048           a newsegment not in time format, and disable syncing to the clock
25049           with a warning.
25050
25051         * gst/gstbus.c: (gst_bus_set_sync_handler):
25052           Assert if anyone tries to replace the existing sync_handler for bus, 
25053           as only the owner should be setting it.
25054
25055         * gst/gstevent.h:
25056           Have a fixed set of custom event enums with events identified by
25057           their structure name (as in 0.8), rather than a free-for-all
25058           allowing collisions between enum values from different plugins.
25059
25060         * gst/gstpad.c: (gst_pad_class_init):
25061           Docs change.
25062           
25063         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25064           Handle out-of-band downstream events from the sending thread.
25065
25066 2005-08-17  Andy Wingo  <wingo@pobox.com>
25067
25068         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25069         play-timeout==0 to mean no timeout at all. In that case, don't
25070         bother with a get_state or a warning, just return directly, even
25071         if it's ASYNC.
25072
25073         * gst/base/gstbasetransform.c: Debug changes.
25074
25075         * gst/gstutils.h:
25076         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25077         ensure bins post state change messages. A bit of a hack but I can't
25078         think of a way to avoid it.
25079
25080         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25081
25082 2005-08-16  Andy Wingo  <wingo@pobox.com>
25083
25084         * gst/base/gstadapter.h:
25085         * gst/base/gstadapter.c (gst_adapter_take): New function, like
25086         peek() but you own the data. Not terribly efficient atm.
25087
25088 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25089
25090         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25091         (gst_element_found_tags):
25092         * gst/gstutils.h:
25093           Add two utility functions for tag handling.
25094
25095 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25096
25097         * docs/manual/advanced-dataaccess.xml:
25098         * docs/manual/basics-helloworld.xml:
25099           Fix docs to use _bin_add() before _link(), which fixes the examples
25100           with recent core versions (reported by Madhan Raj M
25101           <raj_madan@rediffmail.com>, #313199).
25102
25103 2005-08-16  Wim Taymans  <wim@fluendo.com>
25104
25105         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25106         Added subtract checks.
25107
25108         * docs/design/part-events.txt:
25109         Some more docs about newsegment
25110
25111         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25112         Fix FIXME
25113
25114         * gst/gstcaps.c: (gst_caps_to_string):
25115         Add comments, cleanups.
25116         
25117         * gst/gstelement.c: (gst_element_save_thyself):
25118         cleanups
25119         
25120         * gst/gstvalue.c: (gst_value_collect_int_range),
25121         (gst_string_unwrap), (gst_value_union_int_int_range),
25122         (gst_value_union_int_range_int_range),
25123         (gst_value_intersect_int_int_range),
25124         (gst_value_intersect_int_range_int_range),
25125         (gst_value_intersect_double_double_range),
25126         (gst_value_intersect_double_range_double_range),
25127         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25128         (gst_value_subtract_int_range_int),
25129         (gst_value_subtract_double_range_double),
25130         (gst_value_subtract_double_range_double_range),
25131         (gst_value_subtract_from_list), (gst_value_subtract_list),
25132         (gst_value_can_compare), (gst_value_compare_fraction):
25133         Cleanups, add comments, remove unneeded asserts.
25134
25135 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25136
25137         * tools/gst-launch.c: (event_loop):
25138           don't convert NULL structures to strings
25139
25140 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
25141
25142         * docs/gst/gstreamer-sections.txt:
25143           made some defines private
25144         * docs/gst/tmpl/gstconfig.sgml:
25145         * docs/gst/tmpl/gstqueue.sgml:
25146         * docs/gst/tmpl/gsttaglist.sgml:
25147         * docs/gst/tmpl/gsttypes.sgml:
25148         * docs/gst/tmpl/gstutils.sgml:
25149         * docs/pwg/appendix-porting.xml:
25150         * gst/base/gstbasesink.h:
25151         * gst/base/gstbasesrc.c:
25152         * gst/base/gstbasesrc.h:
25153         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25154         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25155         * gst/gstelement.c: (gst_element_class_init):
25156         * gst/gstpad.c: (gst_pad_class_init):
25157         * gst/gstqueue.c: (gst_queue_class_init):
25158         * gst/gstxml.c: (gst_xml_class_init):
25159           documented all undocumented signal inline
25160         * libs/gst/controller/gst-controller.h:
25161           added padding
25162
25163 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25164
25165         * docs/pwg/appendix-porting.xml:
25166           Document _set_link_function -> _set_setcaps_function.
25167
25168 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25169
25170         * check/Makefile.am:
25171           add a .check target for running the check
25172         * check/gst-libs/controller.c: (GST_START_TEST):
25173           cosmetic fixups
25174         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25175           complete checks for gstbuffer; would be nice if I could get the
25176           gcov stuff to work so I can see if I actually completed gstbuffer.c
25177         * check/gstcheck.h:
25178           add ASSERT_BUFFER_REFCOUNT
25179
25180 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
25181
25182         * docs/gst/gstreamer-sections.txt:
25183         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25184         * gst/gsttag.h:
25185           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25186           spew out a warning if a tag that is already registered
25187           is re-registered, unless it is re-registered with a 
25188           different type (#308438).
25189
25190 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
25191
25192         * docs/pwg/appendix-porting.xml:
25193         * docs/pwg/building-state.xml:
25194           Add some paragraphs about state changes in 0.9 to the PWG
25195           and the porting guide, in particular about the new meaning
25196           of GST_STATE_PAUSED and how to write state change functions
25197           with concurrent access by multiple threads in mind.
25198
25199 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
25200
25201         * docs/gst/gstreamer-docs.sgml:
25202         * docs/libs/gstreamer-libs-docs.sgml:
25203           added deprecation and since indexes
25204         * libs/gst/controller/gst-controller.c:
25205         * libs/gst/controller/gst-helper.c:
25206           added since tags
25207
25208
25209 2005-08-11  Wim Taymans  <wim@fluendo.com>
25210
25211         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25212         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25213         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25214         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25215         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25216         (gst_ghost_pad_set_target):
25217         Actually implement (re)setting the target on a ghostpad
25218         as described in the docs.
25219
25220 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25221
25222         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25223           Check whether GST_DEBUG_NO_COLOR environment variable is
25224           set and disable coloured debug output if that is the case.
25225
25226 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25227
25228         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25229         (gst_type_find_helper):
25230           The memory returned by gst_type_find_peek() needs to
25231           stay valid until the end of a typefind function, and
25232           typefind functions may keep results from different 
25233           offsets around, so we can't just unref the buffer from
25234           the previous _peek(), but have to save all buffers 
25235           returned by _peek() until typefinding is done and only
25236           free them then.
25237
25238 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
25239
25240         * docs/gst/gstreamer-sections.txt:
25241         * gst/gstutils.h:
25242           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25243
25244 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25245
25246         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25247           Fix a pretty good memleak.
25248
25249 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25250
25251         * gst/gstiterator.h:
25252           Fix wrong include and 'make distcheck'.
25253
25254 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25255
25256         * gst/gstbin.c: (bin_bus_handler):
25257           Use gst_element_post_message() instead.
25258
25259 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25260
25261         * gst/base/gstadapter.h:
25262         * gst/base/gstbasesink.h:
25263         * gst/base/gstbasesrc.h:
25264         * gst/base/gstbasetransform.h:
25265         * gst/base/gstcollectpads.h:
25266         * gst/base/gstpushsrc.h:
25267         * gst/gstiterator.h:
25268           Add padding to our base elements' class and instance structs and
25269           to GstIterator (you will need to rebuild all plugins and apps!)
25270
25271 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25272
25273         * gst/gstbin.c: (bin_bus_handler):
25274           Make default message forwarding from child->bus to bin->bus
25275           threadsafe and make it not emit warnings if the parent has no bus.
25276
25277 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25278
25279         * gst/gstelement.c: (activate_pads):
25280           On paused->ready, set pad->caps to NULL, as is the documented
25281           behaviour in this state change. Fixes playback of series of
25282           media files when visualization is enabled in Totem.
25283
25284 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25285
25286         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25287           Allow NULL as filter-caps (which means "any").
25288
25289 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25290
25291         * docs/libs/gstreamer-libs-sections.txt:
25292         * libs/gst/controller/gst-controller.c:
25293         * libs/gst/controller/gst-controller.h:
25294         * libs/gst/controller/gst-helper.c:
25295           adding more entries to the docs and fix small doc-bugs
25296
25297 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25298
25299         * docs/gst/gstreamer-docs.sgml:
25300         * docs/gst/gstreamer-sections.txt:
25301         * docs/gst/gstreamer.types:
25302         * docs/gst/tmpl/gstbasesink.sgml:
25303         * docs/gst/tmpl/gstbasesrc.sgml:
25304         * docs/gst/tmpl/gstbasetransform.sgml:
25305         * docs/gst/tmpl/gstfakesrc.sgml:
25306         * gst/base/gstcollectpads.c:
25307         * gst/base/gstcollectpads.h:
25308         * libs/gst/controller/gst-controller.c:
25309         * libs/gst/controller/gst-controller.h:
25310         * libs/gst/controller/gst-helper.c:
25311         * libs/gst/controller/gst-interpolation.c:
25312         * libs/gst/controller/lib.c:
25313           added long/short desc for controller docs
25314           added collectpads base class docs
25315           added correct includes to base-class docs
25316
25317 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25318
25319         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25320         (gst_test_mono_source_set_property),
25321         (gst_test_mono_source_class_init), (GST_START_TEST),
25322         (gst_controller_suite):
25323         * docs/gst/gstreamer-docs.sgml:
25324         * docs/gst/gstreamer-sections.txt:
25325         * docs/gst/gstreamer.types:
25326         * docs/libs/gstreamer-libs-docs.sgml:
25327         * docs/libs/gstreamer-libs-sections.txt:
25328         * gst/base/gstadapter.c:
25329         * libs/gst/controller/gst-controller.c:
25330         (gst_controlled_property_new), (gst_controlled_property_free),
25331         (gst_controller_new_valist),
25332         (gst_controller_remove_properties_valist),
25333         (gst_controller_sink_values), (_gst_controller_finalize):
25334         * libs/gst/controller/gst-controller.h:
25335         * libs/gst/controller/gst-helper.c:
25336         (gst_object_control_properties), (gst_object_uncontrol_properties),
25337         (gst_object_get_controller), (gst_object_set_controller),
25338         (gst_object_sink_values), (gst_object_get_value_arrays),
25339         (gst_object_get_value_array):
25340           more tests (and fixes) for the controller
25341           more docs for the controller
25342           integrated companies docs for the adapter 
25343
25344 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25345
25346         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25347         (GST_START_TEST), (fakesrc_suite):
25348           add tests for sizetype
25349
25350 2005-08-04  Andy Wingo  <wingo@pobox.com>
25351
25352         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25353         fixes buffer_alloc proxying among other things.
25354
25355         * gst/base/gstbasetransform.c:
25356         * gst/base/gstbasetransform.h:
25357         Revert patch to gstbasetransform from 7-28 removing
25358         delay_configure.
25359
25360         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25361         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25362         Semantics changed, should return not the size of the output buffer
25363         but the byte size of a buffer with a given caps.
25364
25365         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25366         debug object.
25367         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25368         out) are not the pad caps until setcaps finishes.
25369         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25370         not-in-place case as well. Deal with changing from in-place to
25371         not-in-place within calling pad_alloc_buffer. Still a bit
25372         concerned about the overhead here...
25373
25374 2005-08-03  Andy Wingo  <wingo@pobox.com>
25375
25376         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25377         fixating is an error.
25378
25379 2005-08-04  Edward Hervey  <edward@fluendo.com>
25380
25381         * gst/base/gstadapter.h: 
25382         Added gst_adapter_get_type() to the header
25383
25384 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25385
25386         * check/Makefile.am:
25387         * check/gst-libs/controller.c:
25388         * libs/gst/controller/gst-controller.c:
25389         (gst_controller_new_valist):
25390           added check test suite for the controller
25391         * gst/base/gstpushsrc.c:
25392           fixed a doc typo
25393
25394 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25395
25396         * docs/gst/Makefile.am:
25397         * docs/gst/gstreamer-docs.sgml:
25398         * docs/gst/gstreamer-sections.txt:
25399         * docs/gst/gstreamer.types:
25400         * docs/gst/tmpl/gstfakesrc.sgml:
25401         * gst/base/README:
25402         * gst/base/gstbasesink.c:
25403         * gst/base/gstbasesink.h:
25404         * gst/base/gstbasesrc.c:
25405         * gst/base/gstbasesrc.h:
25406         * gst/base/gstbasetransform.c:
25407         * gst/base/gstpushsrc.c:
25408         * gst/base/gstpushsrc.h:
25409           add short/long description docs to base classes
25410           add pushsrc to the docs
25411           remove consolidated doc fragments
25412
25413 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25414
25415         * configure.ac:
25416         * docs/libs/Makefile.am:
25417         * docs/libs/gstreamer-libs-docs.sgml:
25418         * docs/libs/gstreamer-libs-sections.txt:
25419         * docs/libs/gstreamer-libs.types:
25420         * examples/Makefile.am:
25421         * examples/controller/.cvsignore:
25422         * examples/controller/Makefile.am:
25423         * examples/controller/audio-example.c: (main):
25424         * libs/gst/Makefile.am:
25425         * libs/gst/controller/.cvsignore:
25426         * libs/gst/controller/Makefile.am:
25427         * libs/gst/controller/gst-controller.c:
25428         (on_object_controlled_property_changed), (gst_timed_value_compare),
25429         (gst_timed_value_find),
25430         (gst_controlled_property_set_interpolation_mode),
25431         (gst_controlled_property_new), (gst_controlled_property_free),
25432         (gst_controller_find_controlled_property),
25433         (gst_controller_new_valist), (gst_controller_new),
25434         (gst_controller_remove_properties_valist),
25435         (gst_controller_remove_properties), (gst_controller_set),
25436         (gst_controller_set_from_list), (gst_controller_unset),
25437         (gst_controller_get), (gst_controller_get_all),
25438         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25439         (gst_controller_get_value_array),
25440         (gst_controller_set_interpolation_mode),
25441         (_gst_controller_finalize), (_gst_controller_init),
25442         (_gst_controller_class_init), (gst_controller_get_type):
25443         * libs/gst/controller/gst-controller.h:
25444         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25445         (g_object_uncontrol_properties), (g_object_get_controller),
25446         (g_object_set_controller), (g_object_sink_values),
25447         (g_object_get_value_arrays), (g_object_get_value_array):
25448         * libs/gst/controller/gst-interpolation.c:
25449         (gst_controlled_property_find_timed_value_node),
25450         (interpolate_none_get), (interpolate_trigger_get),
25451         (interpolate_trigger_get_value_array):
25452         * libs/gst/controller/lib.c: (gst_controller_init):
25453         * pkgconfig/Makefile.am:
25454         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25455         * pkgconfig/gstreamer-control.pc.in:
25456         * testsuite/Makefile.am:
25457         * testsuite/controller/.cvsignore:
25458         * testsuite/controller/Makefile.am:
25459         * testsuite/controller/interpolator.c: (main):
25460           added controller code
25461           removed dparam pc files
25462
25463 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25464         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25465         (gst_collectpads_stop):
25466           Broadcast the condition when shutting down, to make sure we wake all
25467           threads up. Shut down pads on finalize, for safety.
25468
25469 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25470         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25471         (gst_base_transform_handle_buffer),
25472         (gst_base_transform_change_state):
25473           Handle PAUSED->READY->PAUSED transition after negotiation
25474           occurred already.
25475         * gst/gstmessage.c: (gst_message_init):
25476           Extra piece of debug for new messages.
25477
25478 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25479
25480         * configure.ac:
25481         * docs/gst/tmpl/gstbasesrc.sgml:
25482         * docs/gst/tmpl/gstelement.sgml:
25483         * docs/gst/tmpl/gstevent.sgml:
25484         * docs/gst/tmpl/gstfakesrc.sgml:
25485         * docs/gst/tmpl/gstformat.sgml:
25486         * docs/gst/tmpl/gstghostpad.sgml:
25487         * docs/gst/tmpl/gstpad.sgml:
25488         * docs/gst/tmpl/gstquery.sgml:
25489         * docs/gst/tmpl/gststructure.sgml:
25490         * docs/gst/tmpl/gsttaglist.sgml:
25491         * docs/gst/tmpl/gstvalue.sgml:
25492         * docs/libs/gstreamer-libs-docs.sgml:
25493         * docs/libs/gstreamer-libs-sections.txt:
25494         * docs/libs/gstreamer-libs.types:
25495         * libs/gst/Makefile.am:
25496         * libs/gst/control/.cvsignore:
25497         * libs/gst/control/Makefile.am:
25498         * libs/gst/control/control.c:
25499         * libs/gst/control/control.h:
25500         * libs/gst/control/dparam.c:
25501         * libs/gst/control/dparam.h:
25502         * libs/gst/control/dparam_smooth.c:
25503         * libs/gst/control/dparam_smooth.h:
25504         * libs/gst/control/dparamcommon.h:
25505         * libs/gst/control/dparammanager.c:
25506         * libs/gst/control/dparammanager.h:
25507         * libs/gst/control/dplinearinterp.c:
25508         * libs/gst/control/dplinearinterp.h:
25509         * libs/gst/control/unitconvert.c:
25510         * libs/gst/control/unitconvert.h:
25511         * testsuite/Makefile.am:
25512         * testsuite/dynparams/.cvsignore:
25513         * testsuite/dynparams/Makefile.am:
25514         * testsuite/dynparams/dparamstest.c:
25515         * tools/Makefile.am:
25516         * tools/gst-inspect.c: (print_element_info), (main):
25517         * tools/gst-xmlinspect.c: (print_element_info), (main):
25518           deactivate and remove dparams (libgstcontrol)
25519
25520 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25521
25522         * gst/elements/gsttypefindelement.c:
25523         (gst_type_find_element_have_type), (gst_type_find_element_init),
25524         (stop_typefinding), (gst_type_find_element_handle_event),
25525         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25526         * gst/elements/gsttypefindelement.h:
25527           Set caps on all outgoing buffers, not just the first one.
25528
25529 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25530
25531         * gst/elements/gsttypefindelement.c:
25532         (gst_type_find_element_have_type),
25533         (gst_type_find_element_check_set_buffer_caps),
25534         (gst_type_find_element_init), (stop_typefinding),
25535         (gst_type_find_element_handle_event),
25536         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25537         * gst/elements/gsttypefindelement.h:
25538           Set caps on first outgoing buffer when we've found the type.
25539
25540 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25541
25542         * docs/gst/gstreamer-docs.sgml:
25543         * docs/gst/gstreamer-sections.txt:
25544         * docs/gst/tmpl/gstscheduler.sgml:
25545         * docs/gst/tmpl/gstschedulerfactory.sgml:
25546           Remove some old cruft from docs.
25547
25548 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25549
25550         * gst/gstpad.h:
25551           Fix inline docs for GstPadLinkReturn.
25552           
25553         * gst/gststructure.c: (gst_structure_has_name):
25554         * gst/gststructure.h:
25555         * docs/gst/gstreamer-sections.txt:
25556           New API: gst_structure_has_name().
25557
25558 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25559
25560         * configure.ac:
25561           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25562           and _LARGEFILE_SOURCE in config.h as required. Do not 
25563           export those flags in our .pc files any longer (#142209).
25564
25565           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25566
25567         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25568         (gst_file_sink_do_seek), (gst_file_sink_event),
25569         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25570           Redo seek/tell calls with large file support in mind; add some
25571           debugging messages; add log message that tells us when large
25572           file support is unavailable or not enabled for some reason.
25573
25574         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25575           Add log message that tells us when large file support 
25576           is unavailable or not enabled for some reason.
25577
25578 2005-07-29  Wim Taymans  <wim@fluendo.com>
25579
25580         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25581         Added test for removing an element with ghostpad from a bin.
25582         Fixed test as current implementation does the right thing.
25583
25584         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25585         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25586         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25587         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25588         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25589         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25590         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25591         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25592         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25593         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25594         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25595         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25596         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25597         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25598         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25599         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25600         * gst/gstghostpad.h:
25601         Clean up ghostpads, remove properties for internal stuff.
25602         Make threadsafe.
25603         Fix refcounting.
25604         Prepare for switching targets, not all use cases work yet.
25605
25606 2005-07-29  Wim Taymans  <wim@fluendo.com>
25607
25608         * docs/design/part-gstghostpad.txt:
25609         Small update.
25610
25611         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25612         (gst_bin_remove_func):
25613         Unlinking pads while holding the bin LOCK is not a good
25614         idea.
25615
25616         * gst/gstpad.c: (gst_pad_class_init),
25617         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25618         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25619         No prob setting template after creating the pad.
25620
25621 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25622
25623         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25624         (gst_bus_peek), (gst_bus_source_dispatch),
25625         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25626         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25627           gst_bus_poll may be called from other threads. Handle
25628           this nicely by not making poll_data disappear off the
25629           stack once gst_bus_poll returns.
25630           gst_bus_peek now increments the refcount on the returned
25631           message.
25632
25633 2005-07-29  Wim Taymans  <wim@fluendo.com>
25634
25635         * docs/design/part-gstghostpad.txt:
25636         Overview of current GhostPad datastructures and use
25637         cases for changing the target.
25638
25639 2005-07-28  Wim Taymans  <wim@fluendo.com>
25640
25641         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25642         Added checks for hierarchy consistency whan adding linked
25643         elements to bins.
25644
25645         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25646         Added check to test element scheduling without bin/pipeline.
25647
25648         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25649         First add elements to bin, then link.
25650         
25651         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25652         (gst_bin_remove_func):
25653         Unlink pads from elements added/removed from bin to maintain
25654         hierarchy consistency.
25655
25656 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25657
25658         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25659         (gst_base_transform_handle_buffer):
25660         * gst/base/gstbasetransform.h:
25661           Remove broken delay_configure (fixes renegotiation of software
25662           scaling pipelines); remove some leftover printf()s.
25663
25664 2005-07-28  Wim Taymans  <wim@fluendo.com>
25665
25666         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25667         Added some more tests for wrong hierarchy
25668
25669         * docs/design/part-overview.txt:
25670         Some updates.
25671
25672         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25673         Cleanups.
25674
25675         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25676         (gst_element_dispose):
25677         Some more cleanups.
25678
25679         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25680         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25681         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25682         (gst_pad_set_caps), (gst_pad_send_event):
25683         Check for correct hierarchy when linking pads. Moving to
25684         strict requirement for ghostpads when linking elements in
25685         different bins.
25686
25687         * gst/gstpad.h:
25688         Clean ups. Added WRONG_HIERARCHY return value.
25689
25690 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25691
25692         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25693           Better debug if no transform is possible.
25694
25695 2005-07-27  Wim Taymans  <wim@fluendo.com>
25696
25697         * docs/random/wtay/network-transp:
25698         Some old doc I had.
25699
25700 2005-07-27  Wim Taymans  <wim@fluendo.com>
25701
25702         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25703         (gst_dp_event_from_packet):
25704         Fix serialization of seek events.
25705
25706 2005-07-27  Wim Taymans  <wim@fluendo.com>
25707
25708         * check/gst-libs/gdp.c: (GST_START_TEST):
25709         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25710         Fix compilation and fix event serialization.
25711
25712 2005-07-27  Wim Taymans  <wim@fluendo.com>
25713
25714         * CHANGES-0.9:
25715         * docs/design/part-TODO.txt:
25716         * docs/design/part-events.txt:
25717         Some docs updates
25718
25719         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25720         (gst_base_sink_event), (gst_base_sink_do_sync),
25721         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25722         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25723         (gst_base_src_do_seek), (gst_base_src_event_handler),
25724         (gst_base_src_loop):
25725         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25726         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25727         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25728         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25729         (gst_base_transform_set_passthrough),
25730         (gst_base_transform_is_passthrough):
25731         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25732         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25733         Event updates.
25734
25735         * gst/gstbuffer.h:
25736         Use faster casts.
25737
25738         * gst/gstelement.c: (gst_element_seek):
25739         * gst/gstelement.h:
25740         Update gst_element_seek.
25741
25742         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25743         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25744         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25745         (gst_event_new_eos), (gst_event_new_newsegment),
25746         (gst_event_parse_newsegment), (gst_event_new_tag),
25747         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25748         (gst_event_parse_qos), (gst_event_new_seek),
25749         (gst_event_parse_seek), (gst_event_new_navigation):
25750         * gst/gstevent.h:
25751         Make GstEvent use GstStructure. Add parsing code, make sure the
25752         API is sufficiently generic.
25753         Mark possible directions of events and serialization.
25754
25755         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25756         (_gst_message_copy), (gst_message_new_segment_start),
25757         (gst_message_new_segment_done), (gst_message_new_custom),
25758         (gst_message_parse_segment_start),
25759         (gst_message_parse_segment_done):
25760         Small cleanups.
25761
25762         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25763         (gst_pad_set_caps), (gst_pad_send_event):
25764         Update for new events. 
25765         Catch events sent in wrong directions.
25766
25767         * gst/gstqueue.c: (gst_queue_link_src),
25768         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25769         (gst_queue_handle_src_query):
25770         Event updates.
25771
25772         * gst/gsttag.c:
25773         * gst/gsttag.h:
25774         Remove event code from this file.
25775
25776         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25777         (gst_dp_event_from_packet):
25778         Event updates.
25779
25780 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25781
25782         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25783         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25784         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25785           Make debugging actually useful.
25786
25787 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25788
25789         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25790         (gst_pad_fixate_caps):
25791           Implement default fixation once again, so that gst_pad_fixate()
25792           actually does anything at all. This probably needs to be some
25793           sort of a last resort, and use profile-based fixation first, but
25794           since that doesn't exist yet, this is the best we have. Fixes
25795           visualization in Totem.
25796
25797 2005-07-22  Wim Taymans  <wim@fluendo.com>
25798
25799         * docs/design/part-events.txt:
25800         Small update.
25801
25802         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25803         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25804         (gst_base_sink_activate_pull):
25805         Some more comments.
25806
25807         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25808         (gst_fake_src_create):
25809         Fix handoff marshall.
25810
25811         * gst/elements/gstidentity.c: (gst_identity_class_init),
25812         (gst_identity_transform_ip):
25813         We're a real inplace element.
25814
25815         * gst/gstbus.c: (gst_bus_post):
25816         Added some comments.
25817
25818         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25819         * tests/muxing/case1.c: (main):
25820         * tests/sched/dynamic-pipeline.c: (main):
25821         * tests/sched/interrupt1.c: (main):
25822         * tests/sched/interrupt2.c: (main):
25823         * tests/sched/interrupt3.c: (main):
25824         * tests/sched/runxml.c: (main):
25825         * tests/sched/sched-stress.c: (main):
25826         * tests/seeking/seeking1.c: (event_received), (main):
25827         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25828         (main):
25829         * tests/threadstate/threadstate3.c: (main):
25830         * tests/threadstate/threadstate4.c: (main):
25831         * tests/threadstate/threadstate5.c: (main):
25832         Fix the tests.
25833
25834 2005-07-21  Wim Taymans  <wim@fluendo.com>
25835
25836         * docs/design/part-seeking.txt:
25837         Some small additions.
25838
25839         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25840         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25841         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25842         * gst/base/gstbasesink.h:
25843         discont values are gint64, handle the math correctly.
25844
25845         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25846         Make the basesrc report error if the source pad is not linked.
25847
25848         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25849         (gst_queue_loop), (gst_queue_handle_src_query),
25850         (gst_queue_src_activate_push):
25851         Make queue collect data even if the srcpad is not linked.
25852         Start pushing out data as soon as it is linked.
25853
25854         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25855         * gst/gstutils.h:
25856         Added gst_flow_get_name() to ease error reporting.
25857
25858 2005-07-20  Wim Taymans  <wim@fluendo.com>
25859
25860         * gst/gstmessage.c: (gst_message_new_segment_start),
25861         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25862         (gst_message_parse_segment_done):
25863         * gst/gstmessage.h:
25864         Added a bunch of messages for advanced seeking.
25865
25866         * gst/parse/grammar.y:
25867         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25868         (gst_dpman_state_changed):
25869         Fix some new-pad -> pad-added signals
25870
25871 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25872
25873         * docs/manual/appendix-porting.xml:
25874         * docs/pwg/appendix-porting.xml:
25875           Document new-pad/state-change signal renames and the FixedList
25876           type rename.
25877
25878 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25879
25880         * docs/manual/advanced-autoplugging.xml:
25881         * docs/manual/basics-helloworld.xml:
25882         * docs/manual/basics-pads.xml:
25883         * docs/random/ds/0.9-suggested-changes:
25884         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25885         * gst/gstelement.h:
25886         * gst/gstevent.h:
25887         * gst/gstformat.h:
25888         * gst/gstquery.h:
25889         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25890         (gst_structure_parse_array), (gst_structure_parse_value):
25891         * gst/gstvalue.c: (gst_type_is_fixed),
25892         (gst_value_list_prepend_value), (gst_value_list_append_value),
25893         (gst_value_list_get_size), (gst_value_list_get_value),
25894         (gst_value_transform_array_string), (gst_value_serialize_array),
25895         (gst_value_deserialize_array), (gst_value_intersect_array),
25896         (gst_value_is_fixed), (_gst_value_initialize):
25897         * gst/gstvalue.h:
25898           GstElement::new-pad -> pad-added, GstElement::state-change ->
25899           state-changed, GstValueFixedList -> GstValueArray, add format and
25900           flags as their own arguments in gst_element_seek() (should improve
25901           "bindeability"), remove function generators since they don't work
25902           under a whole bunch of compilers (they were deprecated already
25903           anyway).
25904
25905 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25906
25907         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25908         (_gst_debug_register_funcptr):
25909         * gst/gstinfo.h:
25910           Fix illegal cast on some platforms (#309253).
25911
25912 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25913
25914         * gst/gstmessage.c: (gst_message_new_custom):
25915         * gst/gstmessage.h:
25916           Add _new_custom, make _new_application a macro to _new_custom.
25917
25918 2005-07-20  Wim Taymans  <wim@fluendo.com>
25919
25920         * gst/base/gstbasesrc.c: (gst_base_src_init),
25921         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25922         * gst/base/gstbasesrc.h:
25923         Add a gboolean to decide when to push out a discont.
25924
25925         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25926         (gst_queue_loop), (gst_queue_handle_src_query),
25927         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25928         (gst_queue_set_property), (gst_queue_get_property):
25929         Some cleanups.
25930
25931         * tests/threadstate/threadstate1.c: (main):
25932         Make a thread test compile and run... very silly..
25933
25934
25935 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25936
25937         * docs/manual/appendix-porting.xml:
25938           Mention removal of libgstgconf-0.9.la and existence of gconf
25939           elements.
25940
25941 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25942
25943         * docs/pwg/advanced-clock.xml:
25944         * docs/pwg/appendix-porting.xml:
25945         * docs/pwg/intro-preface.xml:
25946         * docs/pwg/other-base.xml:
25947         * docs/pwg/other-manager.xml:
25948         * docs/pwg/other-nton.xml:
25949         * docs/pwg/other-ntoone.xml:
25950         * docs/pwg/other-oneton.xml:
25951         * docs/pwg/pwg.xml:
25952           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25953           demuxer), remove n-to-n (was never written), fix some code examples
25954           and links and update the porting section to include all this.
25955
25956 2005-07-19  Wim Taymans  <wim@fluendo.com>
25957
25958         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25959         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25960         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25961         (gst_queue_src_activate_push), (gst_queue_change_state),
25962         (gst_queue_get_property):
25963         * gst/gstqueue.h:
25964         Propagate GstFlowReturn more intelligently upstream and output
25965         an ERROR/EOS when streaming stopped due to fatal error.
25966
25967 2005-07-19  Wim Taymans  <wim@fluendo.com>
25968
25969         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25970         Don't block forever for the state change to complete, the
25971         pipeline already did with a sensible timeout.
25972
25973 2005-07-19  Wim Taymans  <wim@fluendo.com>
25974
25975         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25976         Make sure we never call the create function is we
25977         got deactivated.
25978
25979 2005-07-19  Andy Wingo  <wingo@pobox.com>
25980
25981         * gst/parse/parse.l: Attempt to solve bug #172815.
25982
25983 2005-07-19  Wim Taymans  <wim@fluendo.com>
25984
25985         * docs/design/part-clocks.txt:
25986         * docs/design/part-events.txt:
25987         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25988         Small docs updates.
25989         Only update the seeking values when we are not
25990         busy streaming.
25991
25992 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25993
25994         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25995           Oops, ignore the result of gst_pad_push_event here.
25996
25997 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25998
25999         * gst/base/gstbasesrc.c: (gst_base_src_loop),
26000         (gst_base_src_activate_push):
26001           Send discont event from the loop function, as pads
26002           aren't activated yet in the activate_push handler.
26003
26004         * gst/gstbin.c: (bin_bus_handler):
26005           Don't leak element name.
26006
26007 2005-07-18  Andy Wingo  <wingo@pobox.com>
26008
26009         * configure.ac: Use AS_LIBTOOL_TAGS.
26010
26011 2005-07-18  Wim Taymans  <wim@fluendo.com>
26012
26013         * docs/gst/gstreamer.types:
26014         Remove deleted types.
26015
26016 2005-07-18  Wim Taymans  <wim@fluendo.com>
26017
26018         * check/elements/gstfakesrc.c: (GST_START_TEST):
26019         * configure.ac:
26020         * gst/Makefile.am:
26021         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26022         (init_popt_callback):
26023         * gst/gst.h:
26024         * gst/gst_private.h:
26025         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26026         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26027         * gst/gstbin.h:
26028         * gst/gstbus.h:
26029         * gst/gstconfig.h.in:
26030         * gst/gstelement.c: (gst_element_class_init),
26031         (gst_element_set_base_time), (gst_element_get_base_time),
26032         (iterator_fold_with_resync), (gst_element_change_state),
26033         (gst_element_dispose), (gst_element_get_bus):
26034         * gst/gstelement.h:
26035         * gst/gstelementfactory.h:
26036         * gst/gsterror.c: (_gst_core_errors_init):
26037         * gst/gsterror.h:
26038         * gst/gstevent.h:
26039         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26040         * gst/gstindex.c:
26041         * gst/gstinfo.c: (_gst_debug_init):
26042         * gst/gstmessage.c: (_gst_message_copy):
26043         * gst/gstmessage.h:
26044         * gst/gstminiobject.h:
26045         * gst/gstobject.c:
26046         * gst/gstobject.h:
26047         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26048         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26049         * gst/gstpad.h:
26050         * gst/gstparse.h:
26051         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26052         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26053         (gst_pipeline_get_last_stream_time):
26054         * gst/gstpipeline.h:
26055         * gst/gstpluginfeature.h:
26056         * gst/gstquery.h:
26057         * gst/gstscheduler.c:
26058         * gst/gstscheduler.h:
26059         * gst/gststructure.h:
26060         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26061         (gst_task_finalize), (gst_task_func), (gst_task_create),
26062         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26063         (gst_task_stop), (gst_task_pause):
26064         * gst/gsttask.h:
26065         * gst/gsttypefind.h:
26066         * gst/gsttypes.h:
26067         * gst/registries/gstlibxmlregistry.c: (load_feature),
26068         (gst_xml_registry_load), (gst_xml_registry_save_feature):
26069         * gst/registries/gstxmlregistry.c:
26070         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26071         * gst/schedulers/threadscheduler.c:
26072         * libs/gst/control/dparammanager.h:
26073         * tools/gst-inspect.c: (print_element_list),
26074         (print_plugin_features), (print_element_features):
26075         * tools/gst-xmlinspect.c: (print_element_list),
26076         (print_plugin_info), (main):
26077         Removed plugable schedulers.
26078         Removed Scheduler/Manager from elements.
26079         Removed gsttypes.h, rearranged includes.
26080         Removed dependency pad<->element, element<>pipeline, and
26081         various others,  fix includes.
26082         implement gst_pad_get_parent() with gst_object_get_parent()
26083         Make GstTask sefcontained.
26084         Fix _get_state() on GstBin, it did not return ASYNC with a 0
26085         timeout.
26086         Fix endless loop in iterator_fold_with_resync.
26087
26088
26089 2005-07-18  Wim Taymans  <wim@fluendo.com>
26090
26091         * gst/Makefile.am:
26092         * gst/gstarch.h:
26093         Remove old file.
26094
26095 2005-07-18  Wim Taymans  <wim@fluendo.com>
26096
26097         * gst/Makefile.am:
26098         No more cothreads.h
26099
26100 2005-07-18  Wim Taymans  <wim@fluendo.com>
26101
26102         * gst/cothreads.c:
26103         * gst/cothreads.h:
26104         Let's remove these.
26105
26106 2005-07-18  Wim Taymans  <wim@fluendo.com>
26107
26108         * docs/design/part-dynamic.txt:
26109         * docs/design/part-events.txt:
26110         * docs/design/part-seeking.txt:
26111         Some more docs in the works.
26112
26113         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26114         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26115         (gst_base_transform_setcaps), (gst_base_transform_get_size),
26116         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26117         (gst_base_transform_handle_buffer),
26118         (gst_base_transform_sink_activate_push),
26119         (gst_base_transform_src_activate_pull),
26120         (gst_base_transform_set_passthrough),
26121         (gst_base_transform_is_passthrough):
26122         Refcounting fixes.
26123
26124         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26125         Cleanups.
26126
26127         * gst/gstevent.c: (gst_event_finalize):
26128         Set SRC to NULL.
26129
26130         * gst/gstutils.c: (gst_element_unlink),
26131         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26132         (gst_pad_proxy_setcaps):
26133         * gst/gstutils.h:
26134         Add _get_parent_element() to get a pads parent as an element.
26135
26136 2005-07-18  Wim Taymans  <wim@fluendo.com>
26137
26138         * check/gst/gstbin.c: (GST_START_TEST):
26139         Remove bogus test.
26140
26141 2005-07-18  Wim Taymans  <wim@fluendo.com>
26142
26143         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26144         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26145         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26146         (gst_base_sink_event), (gst_base_sink_do_sync),
26147         (gst_base_sink_chain), (gst_base_sink_loop),
26148         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26149         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26150         Refcounting fixes.
26151         Fix logic for returning ASYNC when not prerolled.
26152
26153 2005-07-18  Wim Taymans  <wim@fluendo.com>
26154
26155         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26156         Fix nasty refcount bug.
26157
26158 2005-07-16 Philippe Khalaf <burger@speedy.org>
26159
26160         * gst/elements/gstfdsrc.c:
26161         * gst/elements/gstfdsrc.h:
26162         * gst/elements/gstelements.c:
26163         * gst/elements/Makefile.am:
26164         Ported fdsrc to 0.9.
26165
26166 2005-07-16  Wim Taymans  <wim@fluendo.com>
26167
26168         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26169         (gst_base_sink_do_sync):
26170         Fix compile error.
26171
26172 2005-07-16  Wim Taymans  <wim@fluendo.com>
26173
26174         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26175         (gst_base_sink_event), (gst_base_sink_get_times),
26176         (gst_base_sink_do_sync), (gst_base_sink_change_state):
26177         * gst/base/gstbasesink.h:
26178         Store and use discont values when syncing buffers as described
26179         in design docs.
26180         
26181         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26182         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26183         (gst_base_src_activate_push):
26184         Push discont event when starting.
26185
26186         * gst/elements/gstidentity.c: (gst_identity_transform):
26187         Small cleanups.
26188
26189         * gst/gstbin.c: (gst_bin_change_state):
26190         Small cleanups in base_time  distribution.
26191
26192         * gst/gstelement.c: (gst_element_set_base_time),
26193         (gst_element_get_base_time), (gst_element_change_state):
26194         * gst/gstelement.h:
26195         Added methods for the base_time of the element.
26196         Some MT fixes.
26197
26198         * gst/gstpipeline.c: (gst_pipeline_send_event),
26199         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26200         (gst_pipeline_get_last_stream_time):
26201         * gst/gstpipeline.h:
26202         MT fixes.
26203         Handle seeking as described in design doc, remove stream_time
26204         hack.
26205         Cleanups clock and stream_time selection code. Added accessors
26206         for the stream_time.
26207         
26208
26209 2005-07-16  Andy Wingo  <wingo@pobox.com>
26210
26211         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26212         (#305291).
26213
26214 2005-07-16  Wim Taymans  <wim@fluendo.com>
26215
26216         * check/gst/gstbin.c: (GST_START_TEST):
26217         Make elements silent as the deep_notify refs the
26218         parent, which might make the test fail.
26219
26220         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26221         Don't hold the lock for too long.
26222
26223 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
26224
26225         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26226           Don't unref the caps we passed to gst_caps_make_writable() after
26227           passing them. gst_caps_make_writable() will do that for us.
26228
26229 2005-07-15  Andy Wingo  <wingo@pobox.com>
26230
26231         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26232         (#157311).
26233
26234         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26235         own marshalling function for the handoff signal. Properly type the
26236         buffer as a buffer. Fixes some warnings. Should do a more general
26237         solution.
26238         (gst_identity_class_init): Plug into the right marshaller.
26239
26240 2005-07-15  Wim Taymans  <wim@fluendo.com>
26241
26242         * docs/design/part-TODO.txt:
26243         * docs/design/part-clocks.txt:
26244         * docs/design/part-element-sink.txt:
26245         * docs/design/part-events.txt:
26246         * docs/design/part-gstpipeline.txt:
26247         Updated docs, mostly DISCONT related.
26248
26249 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
26250
26251         * docs/pwg/building-pads.xml:
26252           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26253
26254 2005-07-15  Andy Wingo  <wingo@pobox.com>
26255
26256         * tools/gst-typefind.c: Update, add copyright block.
26257
26258         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26259         Normalize and truncate caps before fixation.
26260
26261         * gst/gstcaps.h:
26262         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26263         discards all but the first structure from its argument.
26264
26265 2005-07-15  Wim Taymans  <wim@fluendo.com>
26266
26267         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26268         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26269         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26270         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26271         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26272         (gst_base_transform_chain), (gst_base_transform_change_state),
26273         (gst_base_transform_set_passthrough),
26274         (gst_base_transform_is_passthrough):
26275         * gst/base/gstbasetransform.h:
26276         Make passthrough work using the bufferpools.
26277         Changed API a bit, subclasses have to write into a buffer
26278         provided by the base class.
26279         More debug info in nego functions.
26280         
26281         * gst/elements/gstidentity.c: (gst_identity_init),
26282         (gst_identity_transform):
26283         Port to new base class.
26284
26285 2005-07-15  Wim Taymans  <wim@fluendo.com>
26286
26287         * gst/gstmessage.c: (gst_message_new_state_changed):
26288         * tools/gst-launch.c: (event_loop), (main):
26289         Totally dump messages in -launch with the -m option.
26290         Fix message name for State messages,
26291
26292 2005-07-14  Wim Taymans  <wim@fluendo.com>
26293
26294         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26295         Post error messages on errors.
26296
26297 2005-07-14  Wim Taymans  <wim@fluendo.com>
26298
26299         * gst/gstcaps.c: (gst_caps_do_simplify):
26300         Remove debug info.
26301
26302         * gst/gsterror.h:
26303         Define error for stream stopped.
26304
26305         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26306         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26307         Do proper return values.
26308
26309         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26310         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26311         (gst_pad_get_range):
26312         Better return values.
26313
26314         * gst/gstpad.h:
26315         Reorganise return values, add macro to check for fatal errors.
26316
26317         * gst/gstqueue.c: (gst_queue_chain):
26318         Return proper GstFlowReturn values,
26319
26320 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26321
26322         * docs/gst/gstreamer-sections.txt:
26323         * docs/gst/gstreamer.types:
26324         * docs/gst/tmpl/gst.sgml:
26325         * docs/gst/tmpl/gstbasesink.sgml:
26326         * docs/gst/tmpl/gstbasesrc.sgml:
26327         * docs/gst/tmpl/gstbasetransform.sgml:
26328         * docs/gst/tmpl/gstbin.sgml:
26329         * docs/gst/tmpl/gstbuffer.sgml:
26330         * docs/gst/tmpl/gstcaps.sgml:
26331         * docs/gst/tmpl/gstclock.sgml:
26332         * docs/gst/tmpl/gstcompat.sgml:
26333         * docs/gst/tmpl/gstconfig.sgml:
26334         * docs/gst/tmpl/gstelement.sgml:
26335         * docs/gst/tmpl/gstelementdetails.sgml:
26336         * docs/gst/tmpl/gstelementfactory.sgml:
26337         * docs/gst/tmpl/gstenumtypes.sgml:
26338         * docs/gst/tmpl/gsterror.sgml:
26339         * docs/gst/tmpl/gstevent.sgml:
26340         * docs/gst/tmpl/gstfakesink.sgml:
26341         * docs/gst/tmpl/gstfakesrc.sgml:
26342         * docs/gst/tmpl/gstfilesink.sgml:
26343         * docs/gst/tmpl/gstfilesrc.sgml:
26344         * docs/gst/tmpl/gstfilter.sgml:
26345         * docs/gst/tmpl/gstformat.sgml:
26346         * docs/gst/tmpl/gstghostpad.sgml:
26347         * docs/gst/tmpl/gstimplementsinterface.sgml:
26348         * docs/gst/tmpl/gstindex.sgml:
26349         * docs/gst/tmpl/gstindexfactory.sgml:
26350         * docs/gst/tmpl/gstinfo.sgml:
26351         * docs/gst/tmpl/gstiterator.sgml:
26352         * docs/gst/tmpl/gstmacros.sgml:
26353         * docs/gst/tmpl/gstmemchunk.sgml:
26354         * docs/gst/tmpl/gstminiobject.sgml:
26355         * docs/gst/tmpl/gstobject.sgml:
26356         * docs/gst/tmpl/gstpad.sgml:
26357         * docs/gst/tmpl/gstpadtemplate.sgml:
26358         * docs/gst/tmpl/gstparse.sgml:
26359         * docs/gst/tmpl/gstpipeline.sgml:
26360         * docs/gst/tmpl/gstplugin.sgml:
26361         * docs/gst/tmpl/gstpluginfeature.sgml:
26362         * docs/gst/tmpl/gstquery.sgml:
26363         * docs/gst/tmpl/gstqueue.sgml:
26364         * docs/gst/tmpl/gstregistry.sgml:
26365         * docs/gst/tmpl/gstregistrypool.sgml:
26366         * docs/gst/tmpl/gstscheduler.sgml:
26367         * docs/gst/tmpl/gstschedulerfactory.sgml:
26368         * docs/gst/tmpl/gststructure.sgml:
26369         * docs/gst/tmpl/gstsystemclock.sgml:
26370         * docs/gst/tmpl/gsttaglist.sgml:
26371         * docs/gst/tmpl/gsttagsetter.sgml:
26372         * docs/gst/tmpl/gsttrace.sgml:
26373         * docs/gst/tmpl/gsttrashstack.sgml:
26374         * docs/gst/tmpl/gsttypefind.sgml:
26375         * docs/gst/tmpl/gsttypefindfactory.sgml:
26376         * docs/gst/tmpl/gsttypes.sgml:
26377         * docs/gst/tmpl/gsturihandler.sgml:
26378         * docs/gst/tmpl/gsturitype.sgml:
26379         * docs/gst/tmpl/gstutils.sgml:
26380         * docs/gst/tmpl/gstvalue.sgml:
26381         * docs/gst/tmpl/gstversion.sgml:
26382         * docs/gst/tmpl/gstxml.sgml:
26383         * docs/libs/tmpl/gstcontrol.sgml:
26384         * docs/libs/tmpl/gstdataprotocol.sgml:
26385         * docs/libs/tmpl/gstdparam.sgml:
26386         * docs/libs/tmpl/gstdplinint.sgml:
26387         * docs/libs/tmpl/gstdpman.sgml:
26388         * docs/libs/tmpl/gstdpsmooth.sgml:
26389         * docs/libs/tmpl/gstgetbits.sgml:
26390         * docs/libs/tmpl/gstunitconvert.sgml:
26391         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26392         (gst_push_src_base_init), (gst_push_src_class_init),
26393         (gst_push_src_init), (gst_push_src_create):
26394         * gst/base/gstpushsrc.h:
26395         * gst/elements/gstelements.c:
26396         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26397         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26398         (gst_fake_sink_init), (gst_fake_sink_set_property),
26399         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26400         (gst_fake_sink_event), (gst_fake_sink_preroll),
26401         (gst_fake_sink_render), (gst_fake_sink_change_state):
26402         * gst/elements/gstfakesink.h:
26403         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26404         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26405         (gst_fake_src_base_init), (gst_fake_src_class_init),
26406         (gst_fake_src_init), (gst_fake_src_event_handler),
26407         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26408         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26409         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26410         (gst_fake_src_create_buffer), (gst_fake_src_create),
26411         (gst_fake_src_start), (gst_fake_src_stop):
26412         * gst/elements/gstfakesrc.h:
26413         * gst/elements/gstfilesink.c: (_do_init),
26414         (gst_file_sink_base_init), (gst_file_sink_class_init),
26415         (gst_file_sink_init), (gst_file_sink_dispose),
26416         (gst_file_sink_set_location), (gst_file_sink_set_property),
26417         (gst_file_sink_get_property), (gst_file_sink_open_file),
26418         (gst_file_sink_close_file), (gst_file_sink_query),
26419         (gst_file_sink_event), (gst_file_sink_render),
26420         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26421         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26422         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26423         * gst/elements/gstfilesink.h:
26424         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26425         (gst_file_src_class_init), (gst_file_src_init),
26426         (gst_file_src_finalize), (gst_file_src_set_location),
26427         (gst_file_src_set_property), (gst_file_src_get_property),
26428         (gst_file_src_map_region), (gst_file_src_map_small_region),
26429         (gst_file_src_create_mmap), (gst_file_src_create_read),
26430         (gst_file_src_create), (gst_file_src_is_seekable),
26431         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26432         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26433         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26434         (gst_file_src_uri_handler_init):
26435         * gst/elements/gstfilesrc.h:
26436           more autistic cleanliness in functions/names/defines
26437
26438 2005-07-13  Andy Wingo  <wingo@pobox.com>
26439
26440         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26441         source couldn't negotiate.
26442
26443         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26444         connections again.
26445
26446         * gst/gstutils.h:
26447         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26448         function. I am channeling Hades. Put your boots on suckers!!!
26449
26450 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26451
26452         * testsuite/caps/Makefile.am:
26453         * testsuite/caps/value_compare.c:
26454         * testsuite/caps/value_intersect.c:
26455         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26456           move two testsuite apps over to the check dir
26457
26458 2005-07-12  Wim Taymans  <wim@fluendo.com>
26459
26460         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26461         Added more debug info in the negotiate process.
26462
26463         * gst/gstmessage.h:
26464         Prepare for segment playback.
26465
26466         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26467         Better debugging.
26468
26469         * gst/gstutils.c:
26470         Some more docs.
26471
26472         * tools/gst-launch.c: (main):
26473         NULL pipeline on errors.
26474
26475 2005-07-12  Andy Wingo  <wingo@pobox.com>
26476
26477         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26478         not it comes from a malloc region. Make sure our copy gets freed.
26479
26480 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26481
26482         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26483         * check/gst/gstmessage.c: (GST_START_TEST):
26484         * check/gst/gststructure.c: (GST_START_TEST),
26485         (gst_structure_suite), (main):
26486           more testing
26487         * gst/gstelement.c: (gst_element_message_full):
26488           clean up GError and debug string now that they get copied
26489         * gst/gstmessage.c: (gst_message_new_error),
26490         (gst_message_new_warning), (gst_message_parse_error),
26491         (gst_message_parse_warning):
26492           use GST_TYPE_G_ERROR for structure_new, and take copies of
26493           arguments, so that we don't mess up refcounting
26494
26495 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26496
26497         * check/Makefile.am:
26498           add per-test valgrind targets
26499         * check/gst-libs/gdp.c: (GST_START_TEST),
26500         (gst_data_protocol_suite), (main):
26501           clean up
26502
26503 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26504
26505         * check/Makefile.am:
26506           instate more valgrindable tests
26507         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26508         (GST_START_TEST), (fakesrc_suite):
26509         * check/gst/gstpad.c: (GST_START_TEST):
26510         * check/gst/gststructure.c: (GST_START_TEST):
26511           fix test leaks
26512         * docs/gst/tmpl/gstminiobject.sgml:
26513         * gst/gstpad.c: (gst_pad_finalize):
26514           fix the static mutex leak
26515
26516 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26517
26518         * check/Makefile.am:
26519           add two more tests for valgrinding
26520         * check/gst/gstvalue.c: (GST_START_TEST):
26521           test refcount of deserialized buffer, found a leak
26522         * docs/gst/gstreamer-docs.sgml:
26523         * docs/gst/gstreamer-sections.txt:
26524         * docs/gst/gstreamer.types:
26525         * docs/gst/tmpl/gstminiobject.sgml:
26526           add miniobject to docs
26527         * gst/gstminiobject.c:
26528           add some docs
26529         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26530         (gst_string_unwrap):
26531           fix a hard-to-find invalid write for one of the tests
26532           fix a leak for deserialized buffers
26533
26534 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26535
26536         * docs/pwg/advanced-events.xml:
26537         * docs/pwg/advanced-request.xml:
26538         * docs/pwg/advanced-scheduling.xml:
26539         * docs/pwg/appendix-porting.xml:
26540         * docs/pwg/building-boiler.xml:
26541         * docs/pwg/intro-preface.xml:
26542         * docs/pwg/other-ntoone.xml:
26543           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26544           of example code and explanation for pad activation, loop() and
26545           getrange() functions and a bit more. Remove old comments pointing
26546           to loop-functions.
26547         * examples/pwg/Makefile.am:
26548           Add loop/getrange examples.
26549
26550 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26551
26552         * configure.ac:
26553           check for valgrind binary + some fixes
26554         * check/gst.supp:
26555           valgrind suppressions for the tests
26556         * check/Makefile.am:
26557           add a valgrind: target that valgrinds the unit tests
26558         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26559         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26560         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26561         * check/gst/gstghostpad.c:
26562           added some cleanup
26563         * check/gst/gstdata.c:
26564           removed
26565         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26566         (thread_unref), (gst_mini_object_suite), (main):
26567           added
26568         * gst/gst.c: (gst_deinit):
26569         * gst/gst.h:
26570           add a method to clean up.
26571         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26572         (gst_system_clock_obtain):
26573           allow for disposing the system clock.
26574         * tools/gst-launch.c: (main):
26575           deinit
26576
26577 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26578
26579         * docs/gst/tmpl/gstbasesrc.sgml:
26580         * docs/gst/tmpl/gstfakesrc.sgml:
26581         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26582         (gst_base_src_init), (gst_base_src_set_property),
26583         (gst_base_src_get_property), (gst_base_src_get_range),
26584         (gst_base_src_start):
26585         * gst/base/gstbasesrc.h:
26586           add num-buffers property
26587         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26588         (gst_fakesrc_init), (gst_fakesrc_set_property),
26589         (gst_fakesrc_get_property), (gst_fakesrc_create),
26590         (gst_fakesrc_start):
26591           remove num-buffers property
26592
26593 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26594
26595         * docs/gst/gstreamer-sections.txt:
26596         * docs/gst/tmpl/gstbasesink.sgml:
26597         * docs/gst/tmpl/gstbasesrc.sgml:
26598         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26599         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26600         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26601         (gst_base_sink_set_property), (gst_base_sink_get_property),
26602         (gst_base_sink_handle_object), (gst_base_sink_event),
26603         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26604         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26605         (gst_base_sink_loop), (gst_base_sink_deactivate),
26606         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26607         (gst_base_sink_change_state):
26608         * gst/base/gstbasesink.h:
26609         * gst/base/gstbasesrc.h:
26610         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26611         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26612         (gst_filesink_init):
26613           more macro splitting
26614
26615 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26616
26617         * gst/gstelement.c: (gst_element_get_bus):
26618           add debug
26619         * tools/gst-launch.c: (check_intr), (event_loop):
26620           fix bus leaks
26621
26622 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26623
26624         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26625           fix a caps leak
26626
26627 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26628
26629         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26630         (gst_base_src_finalize):
26631           add finalize method and clean up properly
26632         * gst/gstpipeline.c: (gst_pipeline_dispose):
26633           add debug
26634
26635 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26636
26637         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26638         (gst_bin_suite):
26639           add more things to check
26640         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26641         * gst/gstelement.c:
26642           more debug
26643
26644 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26645
26646         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26647         (GST_START_TEST), (fakesrc_suite):
26648         * check/gst-libs/gdp.c: (GST_START_TEST):
26649         * check/gst/gst.c: (GST_START_TEST):
26650         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26651         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26652         * check/gst/gstbus.c: (GST_START_TEST):
26653         * check/gst/gstcaps.c: (GST_START_TEST):
26654         * check/gst/gstdata.c: (GST_START_TEST):
26655         * check/gst/gstelement.c: (GST_START_TEST):
26656         * check/gst/gstghostpad.c: (GST_START_TEST):
26657         * check/gst/gstiterator.c: (GST_START_TEST):
26658         * check/gst/gstmessage.c: (GST_START_TEST):
26659         * check/gst/gstobject.c: (GST_START_TEST):
26660         * check/gst/gstpad.c: (GST_START_TEST):
26661         * check/gst/gststructure.c: (GST_START_TEST):
26662         * check/gst/gstsystemclock.c: (GST_START_TEST),
26663         (gst_systemclock_suite):
26664         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26665         * check/gst/gstvalue.c: (GST_START_TEST):
26666         * check/pipelines/cleanup.c: (GST_START_TEST):
26667         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26668         * check/states/sinks.c: (GST_START_TEST):
26669         * check/gstcheck.c: (gst_check_init):
26670         * check/gstcheck.h:
26671           add debugging category
26672           use GST_START_TEST now, so we add a debug line
26673
26674 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26675
26676         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26677           add test for state change message on a bin
26678         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26679           add another test
26680         * gst/gstbin.c: (gst_bin_init):
26681         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26682         * gst/gstelement.c: (gst_element_post_message),
26683         (gst_element_set_state):
26684         * gst/gstelementfactory.c: (gst_element_factory_create):
26685         * gst/gstmessage.c: (gst_message_new):
26686         * gst/gstscheduler.c:
26687           various debugging additions and cleanups
26688
26689 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26690
26691         * check/Makefile.am:
26692         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26693         (main):
26694           adding tests for elements
26695         * gst/gstelement.c: (gst_element_dispose):
26696
26697 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26698
26699         * gst/registries/gstlibxmlregistry.c: (load_feature):
26700           plug more leaks.  A simple gst_init() now is leakfree, yay.
26701
26702 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26703
26704         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26705         (gst_xml_registry_load):
26706           plug another memleak
26707
26708 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26709
26710         * configure.ac:
26711           use GST_SET_ERROR_CFLAGS
26712         * docs/faq/cvs.xml:
26713           change to ERROR_CFLAGS
26714
26715 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26716
26717         * configure.ac:
26718           make GST_ERROR_CFLAGS overridable and re-enable Werror
26719         * docs/faq/cvs.xml:
26720           add a note about error CFLAGS
26721         * docs/gst/tmpl/gstfakesrc.sgml:
26722         * gst/elements/gstfakesrc.c:
26723           comment out some unused code
26724         * gst/gst.c: (split_and_iterate):
26725         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26726         (load_feature):
26727           plug some memleaks
26728
26729 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26730
26731         * common/Makefile.am:
26732         * common/gtk-doc.mak:
26733         * docs/gst/Makefile.am:
26734           factor out gtk-doc.mak
26735
26736 2005-07-07  Wim Taymans  <wim@fluendo.com>
26737
26738         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26739         (gst_thread_scheduler_dispose):
26740         Unlock the STREAM_LOCK completely.
26741
26742 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26743
26744         * check/Makefile.am:
26745         * check/elements/.cvsignore:
26746         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26747         (START_TEST), (fakesrc_suite), (main):
26748         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26749         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26750         (gst_fakesrc_create), (gst_fakesrc_start):
26751         * gst/elements/gstfakesrc.h:
26752           adding a first element test
26753
26754 2005-07-07  Andy Wingo  <wingo@pobox.com>
26755
26756         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26757         debug message.
26758
26759 2005-07-07  Wim Taymans  <wim@fluendo.com>
26760
26761         * gst/gstquery.c:
26762         * gst/gstquery.h:
26763         Remove old types
26764
26765 2005-07-07  Wim Taymans  <wim@fluendo.com>
26766
26767         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26768         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26769         Allow subclasses to implement their own negotiation.
26770
26771 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26772
26773         * docs/design/part-gstbin.txt:
26774         * docs/design/part-gstpipeline.txt:
26775           Update design notes to reflect the movement of
26776           responsibility for bus handling from GstPipeline to
26777           GstBin
26778
26779 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26780
26781         * configure.ac:
26782           Remove unnecessary queue2/3/4 examples.
26783
26784 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26785
26786         * examples/Makefile.am:
26787         * examples/helloworld/helloworld.c: (event_loop), (main):
26788         * examples/queue/queue.c: (event_loop), (main):
26789         * examples/queue2/queue2.c: (main):
26790           Update a couple of the examples to work again.
26791
26792         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26793         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26794          Spelling corrections and extra debug.
26795         
26796         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26797         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26798         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26799         * gst/gstbin.h:
26800         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26801         (gst_pipeline_change_state):
26802         * gst/gstpipeline.h:
26803           Move the bus handler for children to the GstBin, and create a
26804           separate bus for receiving messages from children to the one the
26805           bus sends 'upwards' on.
26806
26807 2005-07-06  Wim Taymans  <wim@fluendo.com>
26808
26809         * gst/base/README:
26810         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26811         (gst_base_sink_handle_object), (gst_base_sink_loop),
26812         (gst_base_sink_change_state):
26813         * gst/base/gstbasesink.h:
26814         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26815         (gst_base_src_init), (gst_base_src_setcaps),
26816         (gst_base_src_getcaps), (gst_base_src_loop),
26817         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26818         (gst_base_src_start), (gst_base_src_change_state):
26819         * gst/base/gstbasesrc.h:
26820         Make basesrc negotiate.
26821         Handle the case where preroll fails in basesink.
26822         Update README.
26823
26824 2005-07-06  Wim Taymans  <wim@fluendo.com>
26825
26826         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26827         Implement the fixate function.
26828         Clean up acceptcaps.
26829
26830 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26831
26832         * docs/pwg/building-filterfactory.xml:
26833         * docs/pwg/pwg.xml:
26834           Remove never-written filter-factory chapter; I'll add the various
26835           base classes to part 4 ("other element types") later on.
26836
26837 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26838
26839         * docs/pwg/advanced-negotiation.xml:
26840         * docs/pwg/building-boiler.xml:
26841         * docs/pwg/building-pads.xml:
26842         * docs/pwg/pwg.xml:
26843         * examples/pwg/Makefile.am:
26844           Add a chapter on caps negotiation, simplify the original code
26845           samples a bit w.r.t. caps negotiation, add link to the advanced
26846           section. Add a bunch of examples showing different use cases of
26847           different types of caps negotiation. Upstream renegotiation isn't
26848           fully documented yet since nobody knows how that works.
26849
26850 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26851
26852         * check/gst/gstpad.c:
26853         * check/gstcheck.c:
26854         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26855           if pad has no parent, return NULL as list of internal links
26856
26857 2005-07-05  Andy Wingo  <wingo@pobox.com>
26858
26859         * gst/elements/gstfilesrc.c:
26860         * gst/elements/gstfakesrc.c: 
26861         * gst/base/gstpushsrc.c:
26862         * gst/base/gstbasesrc.h: 
26863         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26864         
26865 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26866
26867         * Makefile.am:
26868           better report generation target (lcov needs a patch)
26869
26870 2005-07-05  Andy Wingo  <wingo@pobox.com>
26871
26872         * gst/elements, testsuite: Null if we got it...
26873
26874 2005-07-05  Wim Taymans  <wim@fluendo.com>
26875
26876         * configure.ac:
26877         * libs/gst/dataprotocol/Makefile.am:
26878         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26879         * libs/gst/dataprotocol/dataprotocol.h:
26880         * pkgconfig/Makefile.am:
26881         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26882         * pkgconfig/gstreamer-dataprotocol.pc.in:
26883         Ported dataprotol to 0.9. 
26884         Added pkgconfig files.
26885
26886 2005-07-05  Andy Wingo  <wingo@pobox.com>
26887
26888         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26889         Default to returning TRUE for the case when tranform_caps returns
26890         a fixed caps, like for identity or volume.
26891
26892         * check/gst/gstbus.c (pound_bus_with_messages): 
26893         * check/gst/gstmessage.c (START_TEST): 
26894         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26895         message API change.
26896
26897         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26898         logic weaks here: always run transform_caps, trying passthrough
26899         operation only if the original caps intersects with the transform.
26900
26901         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26902         source and sink caps.
26903
26904         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26905         Intersect the peer caps with the pad template before going into
26906         transform_caps.
26907         (gst_base_transform_transform_caps): More debugging.
26908
26909         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26910         src argument.
26911
26912 2005-07-04  Edward Hervey  <edward@fluendo.com>
26913
26914         * gst/gstutils.c:
26915         * gst/gstutils.h:
26916         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26917         in bindings.
26918
26919 2005-07-04  Andy Wingo  <wingo@pobox.com>
26920
26921         * check/gst/gstpad.c: Only set explicit caps on pads.
26922
26923 2005-07-01  Andy Wingo  <wingo@pobox.com>
26924
26925         * tests/network-clock.scm: Commentary update.
26926
26927         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26928         Didn't really make sense, not implementable with basetransform,
26929         etc.
26930         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26931         attempt at implementing the sync property, needs an unlock method.
26932
26933         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26934         New func, by default returns the same caps (the identity
26935         transformation).
26936         (gst_base_transform_getcaps): Uses transform_caps to return
26937         something sensible.
26938         (gst_base_transform_setcaps): Complicated logic to get caps on
26939         both pads, even if they are different, and to call set_caps once
26940         for every time both pads get their caps set.
26941         (gst_base_transform_handle_buffer): Give the ref to the transform
26942         function. Allows in-place modification of the buffer.
26943
26944         * gst/base/gstbasetransform.h (transform_caps): New class method.
26945         Given caps on one side, what can I do on the other.
26946         (set_caps): Take two caps, one for each side of the element.
26947
26948         * gst/gstpad.h:
26949         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26950         caps in place. This is safe because we can check the mutability of
26951         the caps, and a good idea because fixate functions are just called
26952         as a matter of last resort. (Not actually implemented.)
26953         (gst_pad_set_caps): If the caps we're setting is actually the same
26954         as the existing pad caps, just update the pointer without calling
26955         setcaps. Assert that caps is either NULL or fixed, as per the
26956         docs.
26957
26958         * gst/gstghostpad.c: Update for fixate changes.
26959
26960 2005-07-02  Andy Wingo  <wingo@pobox.com>
26961
26962         * gst/gstcaps.c:
26963         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26964         two refcounts makes it immutable, which is enough. Doc more.
26965
26966 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26967
26968         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26969           Put the mini_object into GValue as a mini_object,
26970           not a gpointer, since that's how we declared
26971           the signal.
26972
26973 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26974
26975         * examples/pwg/Makefile.am:
26976           Fix buildbot again.
26977
26978 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26979
26980         * docs/pwg/building-testapp.xml:
26981           Add extra check.
26982         * examples/pwg/Makefile.am:
26983           Fix buildbot.
26984
26985 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26986
26987         * configure.ac:
26988         * examples/Makefile.am:
26989         * examples/pwg/Makefile.am:
26990         * examples/pwg/extract.pl:
26991           Enable building the PWG examples.
26992         * docs/pwg/advanced-interfaces.xml:
26993           Add URI interface stub.
26994         * docs/pwg/advanced-types.xml:
26995         * docs/pwg/other-autoplugger.xml:
26996         * docs/pwg/appendix-porting.xml:
26997         * docs/pwg/pwg.xml:
26998           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26999         * docs/pwg/building-boiler.xml:
27000         * docs/pwg/building-chainfn.xml:
27001         * docs/pwg/building-pads.xml:
27002         * docs/pwg/building-props.xml:
27003         * docs/pwg/building-state.xml:
27004         * docs/pwg/building-testapp.xml:
27005           Update the building-*.xml parts for 0.9 changes. All examples
27006           code blocks compile in examples/pwg/*.
27007
27008 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27009
27010         * docs/manual/advanced-autoplugging.xml:
27011         * docs/manual/appendix-checklist.xml:
27012         * docs/manual/appendix-integration.xml:
27013         * docs/manual/highlevel-components.xml:
27014           Fix playbin/decodebin examples, update docs a bit, mention bus
27015           instead of signals in various places, mention kmplayer and
27016           kaffeine since they have a working GStreamer backend in the KDE
27017           section.
27018
27019 2005-06-30  Wim Taymans  <wim@fluendo.com>
27020
27021         * CHANGES-0.9:
27022         * docs/design/draft-ghostpads.txt:
27023         * docs/design/draft-push-pull.txt:
27024         * docs/design/draft-query.txt:
27025         * docs/design/part-TODO.txt:
27026         * docs/design/part-query.txt:
27027         Added CHANGES-0.9 doc, updated status of other docs.
27028         
27029         * gst/gstquery.h:
27030         Remove "hmm" macro
27031
27032 2005-06-30  Wim Taymans  <wim@fluendo.com>
27033
27034         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27035         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27036         (gst_base_sink_change_state):
27037         * gst/base/gstbasesink.h:
27038         Some tweaks, only EOS and a buffer complete a preroll.
27039
27040 2005-06-30  Andy Wingo  <wingo@pobox.com>
27041
27042         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27043         activate_push down to the internal pad as well.
27044
27045 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
27046
27047         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27048
27049         * gst/gsttaginterface.c:
27050           Some documentation fixes (#307394 and #307397).
27051
27052 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
27053
27054         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27055
27056         * gst/gstvalue.c: (gst_value_intersect_list):
27057           Fix memleak (#309125).
27058
27059 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27060
27061         * docs/manual/advanced-dataaccess.xml:
27062           Fix fakesrc example to compile; doesn't work, bug somewhere...?
27063         * docs/manual/basics-pads.xml:
27064           Add reference for filtered caps to above chapter.
27065
27066 2005-06-30  Wim Taymans  <wim@fluendo.com>
27067
27068         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27069         (gst_bin_change_state):
27070         Probes are gone.
27071         Lame attempt at making the state change function a bit
27072         more readable.
27073
27074 2005-06-30  Wim Taymans  <wim@fluendo.com>
27075
27076         * docs/design/part-clocks.txt:
27077         * docs/design/part-element-sink.txt:
27078         * docs/design/part-events.txt:
27079         * docs/design/part-preroll.txt:
27080         * docs/design/part-states.txt:
27081         Some more tweeks and additions to the docs.
27082
27083 2005-06-30  Wim Taymans  <wim@fluendo.com>
27084
27085         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27086         (default_have_data), (gst_pad_class_init), (gst_pad_init),
27087         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27088         (gst_pad_check_pull_range), (gst_pad_get_range),
27089         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27090         * gst/gstpad.h:
27091         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27092         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27093         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27094         (gst_pad_remove_buffer_probe):
27095         Removed atomic operations, use existing LOCK.
27096         Move exception handling out of main code path.
27097
27098 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27099
27100         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27101         (silly_return_true_function), (gst_pad_class_init),
27102         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27103         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27104         (gst_pad_send_event):
27105           Fix accumulator, add default value by using _emitv() instead
27106           of _emit() for signal emission.
27107
27108 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27109
27110         * docs/manual/advanced-dataaccess.xml:
27111         * examples/manual/Makefile.am:
27112           Add probe example.
27113         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27114           Make work (??).
27115
27116 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
27117
27118         * gst/elements/gstfilesink.c: (gst_filesink_render):
27119           Simplify code so that we don't have to handle short
27120           writes and return GST_FLOW_ERROR if an error occured.
27121
27122 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27123
27124         * docs/gst/gstreamer-docs.sgml:
27125           Remove probes more.
27126
27127 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27128
27129         * docs/gst/gstreamer-sections.txt:
27130         * docs/gst/tmpl/gstpad.sgml:
27131         * docs/gst/tmpl/gstprobe.sgml:
27132         * gst/Makefile.am:
27133         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27134         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27135         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27136         (gst_pad_push_event), (gst_pad_send_event):
27137         * gst/gstpad.h:
27138         * gst/gstutils.c: (gst_pad_add_data_probe),
27139         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27140         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27141         (gst_pad_remove_buffer_probe):
27142         * gst/gstutils.h:
27143           Remove old probes, add new g-signal-based probes and some utility
27144           functions.
27145
27146 2005-06-29  Edward Hervey  <edward@fluendo.com>
27147
27148         * gst/gstelementfactory.c:
27149         * gst/gstutils.h:
27150         * gst/gstutils.c:
27151         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27152         the definition to the header file.
27153
27154 2005-06-29  Andy Wingo  <wingo@pobox.com>
27155
27156         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27157         plugins from the source directory.
27158
27159 2005-06-29  Wim Taymans  <wim@fluendo.com>
27160
27161         * docs/gst/tmpl/gstbuffer.sgml:
27162         * docs/gst/tmpl/gstclock.sgml:
27163         Some fixings for blantently wrong text.
27164
27165 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27166
27167         * check/Makefile.am:
27168         * gst/gst.c: (add_path_func), (init_pre):
27169         * gst/gstregistry.c: (gst_registry_add_path):
27170           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27171           only scan the GST_PLUGIN_PATH locations, and not add
27172           system locations
27173
27174 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27175
27176         * docs/gst/gstreamer-sections.txt:
27177         * docs/gst/tmpl/gstbasesrc.sgml:
27178         * gst/gstelement.c:
27179         * gst/gstelement.h:
27180         * gst/gstevent.c:
27181         * gst/gstutils.c:
27182           doc fixes
27183
27184 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27185
27186         * docs/manual/advanced-autoplugging.xml:
27187           Fix autoplugging example.
27188
27189 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27190
27191         * docs/manual/advanced-autoplugging.xml:
27192         * docs/manual/mime-world.fig:
27193           Try to get autoplugging working, fix type detection. Fix text
27194           in hello-world image.
27195
27196 2005-06-29  Wim Taymans  <wim@fluendo.com>
27197
27198         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27199         (gst_base_sink_change_state):
27200         Small debug line.
27201
27202         * gst/gstclock.h:
27203         map SIGNAL and BROADCAST to the right function.
27204
27205         * gst/gstobject.h:
27206         Remove redundant braces.
27207
27208         * gst/gstpad.c: (gst_pad_set_caps):
27209         Don't call setcaps function when reseting caps to NULL.
27210
27211         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27212         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27213         (gst_system_clock_id_unschedule):
27214         Use BROADCAST as this is what we do.
27215
27216 2005-06-29  Wim Taymans  <wim@fluendo.com>
27217
27218         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27219         We are actually prerolling before commiting the state
27220         change. 
27221
27222 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27223
27224         * docs/manual/advanced-clocks.xml:
27225         * docs/manual/advanced-interfaces.xml:
27226         * docs/manual/advanced-metadata.xml:
27227         * docs/manual/advanced-position.xml:
27228         * docs/manual/advanced-schedulers.xml:
27229         * docs/manual/advanced-threads.xml:
27230         * docs/manual/appendix-porting.xml:
27231         * docs/manual/basics-bins.xml:
27232         * docs/manual/basics-bus.xml:
27233         * docs/manual/basics-elements.xml:
27234         * docs/manual/basics-helloworld.xml:
27235         * docs/manual/basics-pads.xml:
27236         * docs/manual/highlevel-components.xml:
27237         * docs/manual/manual.xml:
27238         * docs/manual/thread.fig:
27239           Update (until threads/scheduling) Application Development Manual;
27240           remove GstThread, add GstBus, add simple porting checklist, add
27241           documentation for tag writing, clocks, make all examples until this
27242           part compile and run.
27243         * examples/manual/Makefile.am:
27244           Update from changes to Application Development Manual; add bus
27245           example, remove thread example.
27246
27247 2005-06-28  Wim Taymans  <wim@fluendo.com>
27248
27249         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27250         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27251         (gst_bus_source_dispatch):
27252         Add debugging messages.
27253         Make internal methods static.
27254         Handle the case where the bus is flushed in the handler.
27255         
27256         * gst/gstelement.c: (gst_element_get_bus):
27257         Fix refcount in _get_bus();
27258
27259         * gst/gstpipeline.c: (gst_pipeline_change_state),
27260         (gst_pipeline_get_clock_func):
27261         Clock refcounting fixes.
27262         Handle the case where preroll timed out more gracefully.
27263         
27264         * gst/gstsystemclock.c: (gst_system_clock_dispose):
27265         Clean up the internal thread in dispose. This is needed
27266         for subclasses that actually get disposed.
27267         
27268         * gst/schedulers/threadscheduler.c:
27269         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27270         (gst_thread_scheduler_dispose):
27271         Free thread pool in dispose.
27272
27273 2005-06-28  Andy Wingo  <wingo@pobox.com>
27274
27275         * tests/network-clock-utils.scm (debug, print-event): New utils.
27276
27277         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27278         (*packet-loss*): Unified loss probability.
27279         (network-time): Report out-of-band events.
27280
27281         * tests/plot-data: Add support for out-of-band events. Hack it
27282         into this script instead of passing it down the pipe; should fix
27283         this later.
27284
27285 2005-06-28  Wim Taymans  <wim@fluendo.com>
27286
27287         * docs/gst/gstreamer.types:
27288         * docs/gst/tmpl/gstbasesrc.sgml:
27289         * docs/gst/tmpl/gstpad.sgml:
27290         Docs fixes.
27291
27292 2005-06-28  Wim Taymans  <wim@fluendo.com>
27293
27294         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27295         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27296         (gst_proxy_pad_do_fixatecaps):
27297         Correctly proxy the check_pull_range function.
27298
27299 2005-06-28  Andy Wingo  <wingo@pobox.com>
27300
27301         * tests/network-clock.scm: Removed need for slib.
27302         
27303 2005-06-28  Wim Taymans  <wim@fluendo.com>
27304
27305         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27306         (gst_basesink_preroll_queue_flush):
27307         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27308         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27309         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27310         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27311         (gst_proxy_pad_set_property):
27312         * gst/gstpad.c:
27313         * gst/gstpad.h:
27314         * gst/gstqueue.c: (gst_queue_init):
27315         The deprecated pad loop function is removed now.
27316
27317 2005-06-28  Andy Wingo  <wingo@pobox.com>
27318
27319         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27320         New parameters, simulate network packet loss.
27321
27322         * tests/network-clock-utils.scm: Initialize the RNG.
27323
27324 2005-06-28  Wim Taymans  <wim@fluendo.com>
27325
27326         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27327         (gst_basesink_event), (gst_basesink_deactivate):
27328         Flushing the preroll queue always needs to unlock the waiters.
27329
27330 2005-06-28  Edward Hervey  <edward@fluendo.com>
27331
27332         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27333         Wheen a seek was successful on a pipeline, set the stream_time to the
27334         seek offset in order to have a synchronized stream_time.
27335
27336 2005-06-28  Wim Taymans  <wim@fluendo.com>
27337
27338         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27339         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27340         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27341         (gst_proxy_pad_do_fixatecaps):
27342         Call wrapper function instead of just calling the function
27343         pointers. This takes care of any locking and whatmore.
27344
27345 2005-06-28  Wim Taymans  <wim@fluendo.com>
27346
27347         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27348         (gst_pad_pull_range):
27349         * gst/gstpad.h:
27350         CONNECTED -> LINKED.
27351
27352 2005-06-28  Andy Wingo  <wingo@pobox.com>
27353
27354         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27355         source-munging commit!!!
27356
27357         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27358         (gst_object_sink): Take gpointer arguments, not GstObject --
27359         avoids casts. Like GLib.
27360
27361         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27362         activate.
27363
27364 2005-06-27  Andy Wingo  <wingo@pobox.com>
27365
27366         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27367         remaining buffer.
27368
27369         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27370         returns a sorted copy of the trace list.
27371         (gst_alloc_trace_print_live): New API, only prints traces with
27372         live objects. Sort the list.
27373         (gst_alloc_trace_print_all): Sort the list.
27374         (gst_alloc_trace_print): Align columns.
27375
27376         * gst/elements/gstttypefindelement.c:
27377         * gst/elements/gsttee.c:
27378         * gst/base/gstbasesrc.c:
27379         * gst/base/gstbasesink.c:
27380         * gst/base/gstbasetransform.c:
27381         * gst/gstqueue.c: Adapt for pad activation changes.
27382
27383         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27384         sched.
27385         (gst_pipeline_dispose): Drop ref on sched.
27386
27387         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27388         (gst_pad_activate_default): Push mode by default.
27389         (pre_activate_switch, post_activate_switch): New stubs, things to
27390         do before and after switching activation modes on pads.
27391         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27392         the pad's activate function to choose which mode to activate.
27393         Shortcut on deactivation and call the right function directly.
27394         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27395         mode.
27396         (gst_pad_activate_push): New API, same for push mode.
27397         (gst_pad_set_activate_function) 
27398         (gst_pad_set_activatepull_function) 
27399         (gst_pad_set_activatepush_function): Setters for new API.
27400
27401         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27402         Trace all miniobjects.
27403         (gst_mini_object_make_writable): Unref the arg if we copy, like
27404         gst_caps_make_writable.
27405
27406         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27407
27408         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27409         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27410         Adapt for new pad API.
27411
27412         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27413
27414         * gst/gstelement.h:
27415         * gst/gstelement.c (gst_element_iterate_src_pads) 
27416         (gst_element_iterate_sink_pads): New API functions.
27417         
27418         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27419         should fold into gstiterator.c in some form.
27420         (gst_element_pads_activate): Simplified via use of fold and
27421         delegation of decisions to gstpad->activate.
27422
27423         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27424         help in debugging.
27425
27426         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27427         class once in init, like gstmessage. Didn't run into this issue
27428         but it seems correct. Don't initialize a trace, gstminiobject does
27429         that.
27430
27431         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27432         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27433         to the bus.
27434         (assert_live_count): New util function, uses alloc traces to check
27435         cleanup.
27436
27437         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27438         To be modified when unlink drops the internal pad.
27439
27440 2005-06-27  Wim Taymans  <wim@fluendo.com>
27441
27442         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27443         (gst_bin_change_state):
27444         Cleanup the get_state() function a little, make sure it
27445         iterates the same set of elements.
27446         Added stub iterate_state_order().
27447
27448 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27449
27450         * docs/gst/gstreamer-docs.sgml:
27451         * docs/gst/gstreamer-sections.txt:
27452         * docs/gst/gstreamer.types:
27453         * docs/gst/tmpl/gstbasesink.sgml:
27454         * docs/gst/tmpl/gstbasesrc.sgml:
27455         * docs/gst/tmpl/gstbasetransform.sgml:
27456         * docs/gst/tmpl/gstelement.sgml:
27457         * docs/gst/tmpl/gstiterator.sgml:
27458         * gst/base/gstbasesrc.c:
27459         * gst/base/gstbasesrc.h:
27460         * gst/base/gstbasetransform.h:
27461         * gst/gstelement.c:
27462         * gst/gstiterator.h:
27463           adding basetransform and iterator docs
27464
27465 2005-06-27  Andy Wingo  <wingo@pobox.com>
27466
27467         * docs/design/part-activation.txt: Notes on how activation should
27468         work -- not quite implemented yet.
27469
27470 2005-06-25  Wim Taymans  <wim@fluendo.com>
27471
27472         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27473         At least get the chain function correct, needs more
27474         fixing.
27475
27476 2005-06-25  Wim Taymans  <wim@fluendo.com>
27477
27478         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27479         (gst_basesink_handle_object), (gst_basesink_event),
27480         (gst_basesink_do_sync), (gst_basesink_handle_event),
27481         (gst_basesink_change_state):
27482         * gst/gsttask.h:
27483         Right, two problems here: ghostpads don't take locks and
27484         glib _rec_mutex_lock_full() with depth==0 still locks.
27485         Catch illegal locking and g_warn them.
27486
27487 2005-06-25  Wim Taymans  <wim@fluendo.com>
27488
27489         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27490         Have to check for completion now...
27491
27492 2005-06-25  Wim Taymans  <wim@fluendo.com>
27493
27494         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27495         (gst_basesink_handle_object), (gst_basesink_event),
27496         (gst_basesink_do_sync), (gst_basesink_handle_event),
27497         (gst_basesink_change_state):
27498         * gst/gstpad.h:
27499         Unlock STREAM_LOCK whatever the recursion was.
27500
27501 2005-06-25  Wim Taymans  <wim@fluendo.com>
27502
27503         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27504         (gst_basesink_preroll_queue_empty),
27505         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27506         (gst_basesink_event), (gst_basesink_do_sync),
27507         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27508         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27509         (gst_basesink_change_state):
27510         Reworked the base sink, handle event and buffer serialisation
27511         correctly and removed possible deadlock.
27512         Handle EOS correctly.
27513
27514 2005-06-25  Wim Taymans  <wim@fluendo.com>
27515
27516         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27517         (gst_pipeline_change_state):
27518         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27519         Allow elements to post EOS in the state change function.
27520         Fix up -launch, make it exit the poll loop when the
27521         pipeline actually changed state.
27522         Fix up warning parsing in -launch.
27523
27524 2005-06-25  Wim Taymans  <wim@fluendo.com>
27525
27526         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27527         (gst_tee_sink_activate):
27528         Core takes STREAM_LOCK for us now.
27529
27530 2005-06-25  Wim Taymans  <wim@fluendo.com>
27531
27532         * gst/gstelement.c: (gst_element_get_state_func),
27533         (gst_element_set_state):
27534         * gst/gstelement.h:
27535         * gst/gstmessage.c: (gst_message_parse_error),
27536         (gst_message_parse_warning):
27537         Keep track of current target state while performing a state
27538         change so that subclasses can do something interesting.
27539         Fix parsing of warning/error messages when GError is NULL.
27540
27541 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27542
27543         * docs/gst/Makefile.am:
27544         * docs/gst/gstreamer-docs.sgml:
27545         * docs/gst/gstreamer-sections.txt:
27546         * docs/gst/gstreamer.types:
27547         * docs/gst/tmpl/gstbasesink.sgml:
27548         * docs/gst/tmpl/gstbasesrc.sgml:
27549         * docs/gst/tmpl/gstbin.sgml:
27550         * docs/gst/tmpl/gstcompat.sgml:
27551         * docs/gst/tmpl/gstfakesink.sgml:
27552         * docs/gst/tmpl/gstfakesrc.sgml:
27553         * docs/gst/tmpl/gstfilesink.sgml:
27554         * docs/gst/tmpl/gstfilesrc.sgml:
27555         * docs/gst/tmpl/gstindex.sgml:
27556         * docs/manual/appendix-quotes.xml:
27557         * gst/base/gstbasesrc.h:
27558         * gst/elements/gstfakesrc.h:
27559         * gst/gstmessage.h:
27560           start pulling in base classes and elements in our docs
27561
27562 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27563
27564         * docs/gst/Makefile.am:
27565         * docs/libs/Makefile.am:
27566           fixed make distcheck with gtk-doc 1.3
27567
27568 2005-06-23  Wim Taymans  <wim@fluendo.com>
27569
27570         * gst/gstelement.c: (gst_element_get_state_func),
27571         (gst_element_set_state), (gst_element_change_state):
27572         When the state did not change, also report NO_PREROLL
27573         when it matters.
27574
27575 2005-06-23  Wim Taymans  <wim@fluendo.com>
27576
27577         * gst/gstpad.c: (gst_pad_event_default):
27578         * gst/gstqueue.c: (gst_queue_loop):
27579         No unsafe task pausing please.
27580
27581 2005-06-23  Wim Taymans  <wim@fluendo.com>
27582
27583         * gst/schedulers/threadscheduler.c:
27584         (gst_thread_scheduler_task_start),
27585         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27586         Ref the task before pushing it on the threadpool. This
27587         makes sure that we have a ref when the threadfunction is
27588         actually called.
27589
27590 2005-06-23  Andy Wingo  <wingo@pobox.com>
27591
27592         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27593         offset is greater than the file's size.
27594
27595         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27596         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27597         * gst/gstobject.c (gst_object_class_init): Make the class lock
27598         recursive. Wim won't let me drop deep_notify. Decodebin works
27599         again, whoopdy doo.
27600
27601         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27602         internal pad, and hacks accordingly. Doesn't do it on the target
27603         pad because we change its caps. Probably catches all cases of
27604         interest tho.
27605         (gst_ghost_pad_set_property): Connect to notify::caps as
27606         appropritate.
27607
27608         * tests/network-clock.scm (plot-simulation): Pipe data to the
27609         elite python skript.
27610
27611         * tests/network-clock-utils.scm (define-parameter): New macro,
27612         defines a parameter that can be set via the command line.
27613         (set-parameter!, parse-parameter-arguments): Command line args
27614         parser.
27615
27616         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27617         stdin.
27618
27619 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27620
27621         * gst/elements/gsttypefindelement.c:
27622         (gst_type_find_element_handle_event):
27623           Don't restart typefinding on a discont.
27624         * gst/gstelement.c: (gst_element_set_state):
27625           Debug spelling fix.
27626         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27627           Allow changing mode of an active pad.
27628           Debug output fixes.
27629         * gst/registries/gstlibxmlregistry.c: (load_feature):
27630           Don't cast a static pad template to a normal pad template.
27631
27632 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27633
27634         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27635         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27636           remove gst_strtoll completely, since it didn't actually do
27637           anything more than what g_ascii_strtoull already does.
27638           check for range errors when deserializing
27639           do a cast for the unsigned cases; but further fixing needs
27640           a decision on what the interpretation of "(int)" and
27641           deserialization should be for values that fall outside the
27642           type's boundaries (ie, refuse, or interpret as casting)
27643
27644 2005-06-23  Wim Taymans  <wim@fluendo.com>
27645
27646         * check/Makefile.am:
27647         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27648         * docs/design/part-live-source.txt:
27649         * docs/design/part-states.txt:
27650         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27651         (gst_basesrc_set_live), (gst_basesrc_is_live),
27652         (gst_basesrc_get_range), (gst_basesrc_activate),
27653         (gst_basesrc_change_state):
27654         * gst/base/gstbasesrc.h:
27655         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27656         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27657         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27658         * gst/gstelement.c: (gst_element_get_state_func),
27659         (gst_element_set_state):
27660         * gst/gstelement.h:
27661         * gst/gsttypes.h:
27662         * tools/gst-launch.c: (event_loop), (main):
27663         Added support for live sources and other elements that
27664         cannot do preroll.
27665         Updated design docs, added live-source design doc.
27666         Implemented live source functionality in basesrc
27667         Fix error condition in _bin_get_state()
27668         Implement live source handling in -launch.
27669         Added check for live sources.
27670         Fixed case in GstBin where elements were changed state
27671         multiple times.
27672
27673
27674 2005-06-23  Andy Wingo  <wingo@pobox.com>
27675
27676         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27677         borken refcounting.
27678
27679         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27680         gst_caps_replace takes care of this for us.
27681
27682         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27683         gst_pad_set_caps on the target, not just its setcaps() function.
27684
27685         * tests/network-clock.scm: 
27686         * tests/network-clock-utils.scm: A network clock simulator.
27687         Something of an algorithmic testbed before doing something in C.
27688
27689 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27690
27691         * check/Makefile.am:
27692         * check/gst/capslist.h:
27693           copy over from 0.8, and add two with bitmasks specified with
27694           (int) 0xFF...
27695         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27696           add test to parse everything from capslist.h
27697         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27698         (main):
27699           add test for structure deserialization
27700         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27701           add tests for deserialization of strings to int types
27702         * gst/gststructure.c: (gst_structure_nth_field_name):
27703         * gst/gststructure.h:
27704           add a way to get the name of a field referenced by index
27705         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27706           instead of checking if the resulting long long lies between
27707           min and max, we check if the long long would fit into
27708           a number of bytes for the final type.
27709           This fixes cases where a string represents 2^32 - 1, which
27710           when cast to int would be the (valid) -1, but is bigger than
27711           G_MAXINT
27712
27713 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27714
27715         * gst/parse/grammar.y:
27716           add a log line for type deserialization
27717
27718 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27719
27720         * check/gst/gstvalue.c: (START_TEST):
27721         * gst/gstvalue.c: (gst_value_deserialize):
27722           return long long, not int, so gint64 deserialization actually
27723           works.  Is there any flag that makes the compiler check this ?
27724           Fixes #308559
27725
27726 2005-06-22  Wim Taymans  <wim@fluendo.com>
27727
27728         * gst/gstbuffer.h:
27729         Added convenience macros for setting buffers in GValue.
27730
27731 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27732
27733         * check/gst/.cvsignore:
27734         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27735           add a test deserializing int64, and comment part out because
27736           it fails, yay !
27737
27738 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27739
27740         * check/Makefile.am:
27741         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27742         * testsuite/Makefile.am:
27743         * testsuite/caps/Makefile.am:
27744         * testsuite/caps/value_serialize.c:
27745         * testsuite/test_gst_init.c:
27746           move a value_serialize test over
27747
27748 2005-06-20  Wim Taymans  <wim@fluendo.com>
27749
27750         * gst/gstpad.c:
27751         Small doc updates.
27752         
27753         * gst/gstvalue.c: (gst_value_compare_buffer),
27754         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27755         (gst_value_compare_flags), (gst_value_serialize_flags),
27756         (gst_value_deserialize_flags), (_gst_value_initialize):
27757         Fix serialisation of buffers, they are not boxed types anymore
27758
27759 2005-06-20  Wim Taymans  <wim@fluendo.com>
27760
27761         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27762         Testcase to show error in buffer-on-caps serialisation.
27763
27764 2005-06-20  Andy Wingo  <wingo@pobox.com>
27765
27766         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27767         will be adding to later.
27768
27769         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27770         if its socks fill with rocks.
27771         (gst_system_clock_obtain): Set the name on object construction.
27772         Avoid double-checked locking.
27773
27774 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27775
27776         * gst/gsturi.c: (gst_element_make_from_uri):
27777           Fix potential endless loop.
27778
27779 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27780
27781         * check/Makefile.am:
27782           add gsttag
27783         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27784         (main):
27785           move over from testsuite dir and clean up
27786         * configure.ac:
27787         * gst/gsttag.c:
27788         * testsuite/Makefile.am:
27789         * testsuite/tags/.cvsignore:
27790         * testsuite/tags/Makefile.am:
27791         * testsuite/tags/merge.c:
27792           remove testsuite/tags
27793
27794 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27795
27796         * docs/gst/gstreamer-sections.txt:
27797         * docs/gst/tmpl/gstenumtypes.sgml:
27798         * win32/gstenumtypes.c:
27799           clean up documentation build a little
27800
27801 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27802
27803         * check/gstcheck.h:
27804           add macros for checking refcounts on objects and caps
27805         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27806           add some more unit tests
27807         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27808         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27809           fix leaked refcounts (I hope :)) so unittest works
27810         * gst/gstpad.h:
27811           whitespace removal
27812
27813 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27814
27815         * configure.ac: back to HEAD
27816
27817 === release 0.9.1 ===
27818
27819 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27820
27821         * NEWS:
27822         * RELEASE:
27823           updated
27824
27825 2005-06-17  Andy Wingo  <wingo@pobox.com>
27826
27827         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27828         assert; it's always possible that the pad gets deactivated in
27829         between the checks in gstpad.c and the implementation. Rely on
27830         finish_preroll() to return a FLUSHING or similar instead of on the
27831         assert.
27832         
27833         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27834         clock and post an EOS message if we come out of finish_preroll in
27835         the playing state.
27836
27837 2005-06-16  David Schleef  <ds@schleef.org>
27838
27839         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27840         (gst_capsfilter_set_property): Allow NULL as possible value
27841         for filter_caps property, indicating GST_CAPS_ANY.
27842
27843 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27844
27845         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27846           fix debug output
27847         * gst/schedulers/Makefile.am:
27848           use libgst prefix
27849         * gstreamer.spec.in:
27850           fix spec for it
27851
27852 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27853
27854         * gstreamer.spec.in:
27855           clean up
27856
27857 2005-06-08  Andy Wingo  <wingo@pobox.com>
27858
27859         * gst/gstutils.c: RPAD fixes all around.
27860         (gst_element_link_pads): Refcounting fixes.
27861
27862         * tools/gst-inspect.c:
27863         * tools/gst-xmlinspect.c:
27864         * parse/grammar.y:
27865         * gst/base/gsttypefindhelper.c:
27866         * gst/base/gstbasesink.c:
27867         * gst/gstqueue.c: RPAD fixes.
27868
27869         * gst/gstghostpad.h:
27870         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27871         pads. The tricky thing is they provide both source and sink
27872         interfaces, since they proxy the internal pad for the external
27873         pad, and vice versa. Implement with lower-level ProxyPad objects,
27874         with the interior proxy pad as a child of the exterior ghost pad.
27875         Should write a doc on this.
27876         
27877         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27878         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27879         gst_object API.
27880         
27881         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27882         pads are real pads. No ghost pads in this file. Not documenting
27883         the myriad s/RPAD/PAD/ and REALIZE fixes.
27884         (gst_pad_class_init): Add properties for "direction" and
27885         "template". Both are construct-only, so they can't change during
27886         the life of the pad. Fixes properly deriving from GstPad.
27887         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27888         derived objects, just set properties when creating the objects via
27889         g_object_new.
27890         (gst_pad_get_parent): Implement as a function, return NULL if the
27891         parent is not an element.
27892         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27893         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27894         
27895         * gst/gstobject.c (gst_object_class_init): Make name a construct
27896         property. Don't set it in the object init.
27897
27898         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27899         with UNKNOWN direction.
27900         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27901         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27902         (gst_element_remove_pad): Remove ghost-pad special cases.
27903         (gst_element_pads_activate): Remove rpad cruft.
27904
27905         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27906         catch the pad's-parent-not-an-element case.
27907
27908         * gst/gst.h: Include gstghostpad.h.
27909
27910         * gst/gst.c (init_post): No more real, ghost pads.
27911
27912         * gst/Makefile.am: Add gstghostpad.[ch].
27913
27914         * check/Makefile.am:
27915         * check/gst/gstbin.c:
27916         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27917         into a bin creates ghost pads, and that the refcounts are right.
27918         Partly moved from gstbin.c.
27919
27920 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27921
27922         * check/gst-libs/.cvsignore:
27923         * check/gst/.cvsignore:
27924         * check/pipelines/.cvsignore:
27925           ignore more
27926         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27927         (START_TEST), (cleanup_suite), (main):
27928           add some tests related to cleanup after running pipelines
27929
27930 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27931
27932         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27933           add a testsuite for GstBuffer
27934
27935 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27936
27937         * gst/gstminiobject.h:
27938           add defines for accessing the refcount
27939
27940 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27941
27942         * Makefile.am: added support for html unit test coverage reports
27943
27944 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27945
27946         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27947           Free existing caps if the capsfilter changes. Add a FIXME about
27948           setting those caps on the pads.
27949
27950         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27951           Before adding a ghost pad to a parent bin, check that there isn't
27952           already one for the element on the bin. Prevents infinite recursion
27953           when using decodebin in parse pipelines. Andy says he'll rewrite the
27954           way this works anyway, so ignore the hack.
27955
27956 2005-06-02  Andy Wingo  <wingo@pobox.com>
27957
27958         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27959         file size, pass it on to the type find helper.
27960
27961         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27962         segment_start and segment_end properly according to the seek
27963         method. Segment_end is still a bit flaky because offset can be
27964         negative for CUR and END cases, but it takes -1 as an "unset"
27965         value.
27966
27967 2005-06-02  Wim Taymans  <wim@fluendo.com>
27968
27969         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27970         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27971         (gst_basesink_activate):
27972         * gst/base/gstbasesink.h:
27973         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27974         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27975         (gst_pad_query), (gst_pad_start_task):
27976         * gst/gstpad.h:
27977         * gst/gstqueue.c: (gst_queue_bufferalloc),
27978         (gst_queue_handle_sink_event), (gst_queue_chain):
27979         Bufferalloc: return GstFlowReturn to more accuratly report
27980         why allocation failed.
27981
27982 2005-06-02  Wim Taymans  <wim@fluendo.com>
27983
27984         * gst/gstpipeline.c: (gst_pipeline_send_event):
27985         Take snapshot of state without blocking.
27986
27987 2005-06-02  Wim Taymans  <wim@fluendo.com>
27988
27989         * docs/design/part-TODO.txt:
27990         * docs/design/part-caps.txt:
27991         * docs/design/part-clocks.txt:
27992         * docs/design/part-negotiation.txt:
27993         * docs/design/part-preroll.txt:
27994         Small doc updates 
27995
27996 2005-05-30  Wim Taymans  <wim@fluendo.com>
27997
27998         * gst/elements/gstidentity.c: (gst_identity_event),
27999         (gst_identity_transform), (gst_identity_get_property):
28000         Protect last_message property as it is accessed from
28001         multiple threads.
28002
28003 2005-05-30  Wim Taymans  <wim@fluendo.com>
28004
28005         * gst/gstelement.c: (gst_element_init),
28006         (gst_element_pads_activate), (gst_element_change_state):
28007         Slicker pad activation code.
28008
28009 2005-05-30  Wim Taymans  <wim@fluendo.com>
28010
28011         * gst/Makefile.am:
28012         * gst/gstelement.h:
28013         * gst/gstelementfactory.h:
28014         * gst/gsttypes.h:
28015         Move elementfactory methods to separate .h file.
28016
28017 2005-05-30  Wim Taymans  <wim@fluendo.com>
28018
28019         * docs/design/part-overview.txt:
28020         * gst/gstsystemclock.h:
28021         Small typo fixes, doc updates.
28022
28023 2005-05-30  Wim Taymans  <wim@fluendo.com>
28024
28025         * gst/gst.c: (gst_init_get_popt_table), (init_post),
28026         (init_popt_callback):
28027         Remove cpu-opt flag.
28028
28029 2005-05-30  Wim Taymans  <wim@fluendo.com>
28030
28031         * gst/gstbuffer.c: (gst_subbuffer_finalize),
28032         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28033         * gst/gstbuffer.h:
28034         Avoid typechecking in places where not needed.
28035         Added accessor for malloc_data.
28036
28037 2005-05-30  Wim Taymans  <wim@fluendo.com>
28038
28039         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28040         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28041         (gst_pad_configure_sink), (gst_pad_configure_src),
28042         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28043         (gst_pad_start_task):
28044         Propagate errors from _set_caps() in configure_src/sink
28045         functions instead of returning TRUE.
28046         FLUSH events can travel up and downstream
28047
28048
28049 2005-05-30  Wim Taymans  <wim@fluendo.com>
28050
28051         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28052         (gst_basesink_activate):
28053         Handle EOS in preroll.
28054
28055 2005-05-30  Wim Taymans  <wim@fluendo.com>
28056
28057         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28058         (gst_queue_loop), (gst_queue_handle_src_event):
28059         Remove old pieces of code
28060         Flushing the queue in an upstream event is a very bad idea.
28061
28062 2005-05-26  Andy Wingo  <wingo@pobox.com>
28063
28064         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28065         gst_value_set_mini_object so as to add a ref on the object (which
28066         will be removed when the value is unset).
28067
28068         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28069         arg type in ::handoff.
28070
28071         * gst/gstelement.c (gst_element_change_state): Also deactivate
28072         pads in READY->NULL, just in case the element didn't make it to
28073         PAUSED. Wingo tested, Wim approved.
28074
28075 2005-05-26  Wim Taymans  <wim@fluendo.com>
28076
28077         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28078         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28079         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28080         A flushing pad cannot be used to alloc_buffer from.
28081
28082 2005-05-26  Wim Taymans  <wim@fluendo.com>
28083
28084         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28085         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28086         (gst_bus_source_dispatch), (gst_bus_source_finalize),
28087         (gst_bus_create_watch), (gst_bus_add_watch_full):
28088         * gst/gstbus.h:
28089         Implement a real GSource and use g_main_context_wakeup() to
28090         signal new messages instead of the socketpair.
28091
28092 2005-05-25  Wim Taymans  <wim@fluendo.com>
28093
28094         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28095         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28096         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28097         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28098         (gst_pad_send_event), (gst_pad_start_task):
28099         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28100         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28101         (gst_queue_sink_activate), (gst_queue_src_activate),
28102         (gst_queue_change_state):
28103         * gst/gstqueue.h:
28104         Fix state changes for non sinks. We now change sinks, then elements
28105         with unconnected srcpads, then the rest.
28106         More efficient queue unlocking in flush and state changes.
28107         Set the pad activate mode even if it does not have an activate
28108         function.
28109
28110 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28111
28112         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28113           Don't go in pull mode for non-seekable sources.
28114         * gst/elements/gsttypefindelement.h:
28115         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28116         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28117         (free_entry), (stop_typefinding),
28118         (gst_type_find_element_handle_event), (find_peek),
28119         (gst_type_find_element_chain), (do_pull_typefind),
28120         (gst_type_find_element_change_state):
28121           Allow typefinding (w/o seeking) in push-mode, simplified version
28122           of what was in 0.8.
28123         * gst/gstutils.c: (gst_buffer_join):
28124         * gst/gstutils.h:
28125           gst_buffer_join() from 0.8.
28126
28127 2005-05-25  Wim Taymans  <wim@fluendo.com>
28128
28129         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28130         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28131         (gst_pad_send_event), (gst_pad_start_task):
28132         Disable attempt at mode switching until it is figured out.
28133
28134 2005-05-25  Wim Taymans  <wim@fluendo.com>
28135
28136         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28137         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28138         (gst_basesink_finish_preroll), (gst_basesink_chain),
28139         (gst_basesink_loop), (gst_basesink_activate),
28140         (gst_basesink_change_state):
28141         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28142         (gst_basesrc_get_range), (gst_basesrc_loop),
28143         (gst_basesrc_activate):
28144         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28145         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28146         (gst_real_pad_init), (gst_real_pad_set_property),
28147         (gst_real_pad_get_property), (gst_pad_set_active),
28148         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28149         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28150         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28151         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28152         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28153         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28154         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28155         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28156         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28157         (gst_pad_stop_task):
28158         * gst/gstpad.h:
28159         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28160         (gst_queue_loop), (gst_queue_src_activate):
28161         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28162         (gst_task_get_state):
28163         * gst/gsttask.h:
28164         * gst/schedulers/threadscheduler.c:
28165         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28166         Implement gst_pad_pause/start/stop_task(), take STREAM lock
28167         in task function.
28168         Remove ACTIVE pad flag, use FLUSHING everywhere
28169         Added _pad_chain(), _pad_get_range() to call chain/getrange 
28170         functions.
28171         Add locks around IS_FLUSHING when reading.
28172         Take STREAM lock in chain(), get_range() functions so plugins
28173         don't need to take it anymore.
28174         
28175
28176
28177 2005-05-25  Wim Taymans  <wim@fluendo.com>
28178
28179         * tools/gst-launch.c: (event_loop):
28180         Unref message after using its contents instead of
28181         before.
28182
28183 2005-05-24  Wim Taymans  <wim@fluendo.com>
28184
28185         * docs/design/draft-ghostpads.txt:
28186         * docs/design/draft-push-pull.txt:
28187         * docs/design/draft-query.txt:
28188         * docs/design/part-overview.txt:
28189         Docs updates, added general overview doc.
28190
28191 2005-05-21  David Schleef  <ds@schleef.org>
28192
28193         * docs/gst/tmpl/old/GstBin.sgml:
28194         * docs/gst/tmpl/old/GstBuffer.sgml:
28195         * docs/gst/tmpl/old/GstCaps.sgml:
28196         * docs/gst/tmpl/old/GstClock.sgml:
28197         * docs/gst/tmpl/old/GstCompat.sgml:
28198         * docs/gst/tmpl/old/GstData.sgml:
28199         * docs/gst/tmpl/old/GstElement.sgml:
28200         * docs/gst/tmpl/old/GstEvent.sgml:
28201         * docs/gst/tmpl/old/GstIndex.sgml:
28202         * docs/gst/tmpl/old/GstStructure.sgml:
28203         * docs/gst/tmpl/old/GstTag.sgml:
28204         * docs/gst/tmpl/old/cothreads.sgml:
28205         * docs/gst/tmpl/old/cothreads_compat.sgml:
28206         * docs/gst/tmpl/old/gettext.sgml:
28207         * docs/gst/tmpl/old/gobject2gtk.sgml:
28208         * docs/gst/tmpl/old/grammar.tab.sgml:
28209         * docs/gst/tmpl/old/gst-i18n-app.sgml:
28210         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28211         * docs/gst/tmpl/old/gst_private.sgml:
28212         * docs/gst/tmpl/old/gstaggregator.sgml:
28213         * docs/gst/tmpl/old/gstarch.sgml:
28214         * docs/gst/tmpl/old/gstatomic_impl.sgml:
28215         * docs/gst/tmpl/old/gstbufferstore.sgml:
28216         * docs/gst/tmpl/old/gstdata_private.sgml:
28217         * docs/gst/tmpl/old/gstdisksink.sgml:
28218         * docs/gst/tmpl/old/gstdisksrc.sgml:
28219         * docs/gst/tmpl/old/gstelementfactory.sgml:
28220         * docs/gst/tmpl/old/gstextratypes.sgml:
28221         * docs/gst/tmpl/old/gstfakesink.sgml:
28222         * docs/gst/tmpl/old/gstfakesrc.sgml:
28223         * docs/gst/tmpl/old/gstfdsink.sgml:
28224         * docs/gst/tmpl/old/gstfdsrc.sgml:
28225         * docs/gst/tmpl/old/gstfilesink.sgml:
28226         * docs/gst/tmpl/old/gstfilesrc.sgml:
28227         * docs/gst/tmpl/old/gsthttpsrc.sgml:
28228         * docs/gst/tmpl/old/gstidentity.sgml:
28229         * docs/gst/tmpl/old/gstindexfactory.sgml:
28230         * docs/gst/tmpl/old/gstmarshal.sgml:
28231         * docs/gst/tmpl/old/gstmd5sink.sgml:
28232         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28233         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28234         * docs/gst/tmpl/old/gstpadtemplate.sgml:
28235         * docs/gst/tmpl/old/gstpipefilter.sgml:
28236         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28237         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28238         * docs/gst/tmpl/old/gstshaper.sgml:
28239         * docs/gst/tmpl/old/gstspider.sgml:
28240         * docs/gst/tmpl/old/gstspideridentity.sgml:
28241         * docs/gst/tmpl/old/gststatistics.sgml:
28242         * docs/gst/tmpl/old/gsttee.sgml:
28243         * docs/gst/tmpl/old/gsttimecache.sgml:
28244         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28245         * docs/gst/tmpl/old/gstxmlregistry.sgml:
28246         * docs/gst/tmpl/old/gthread-cothreads.sgml:
28247         * docs/gst/tmpl/old/types.sgml:
28248           I didn't intend to add these or check them in.
28249
28250 2005-05-19  David Schleef  <ds@schleef.org>
28251
28252         * configure.ac: Use -no-common everywhere.  In a sane world, it
28253           would be the default in libtool, because without it, you can't
28254           build DLLs on Windows.
28255         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28256         * docs/gst/gstreamer-sections.txt:
28257         * docs/gst/tmpl/gstcpu.sgml:
28258         * docs/gst/tmpl/gstdata.sgml:
28259         * docs/gst/tmpl/gstthread.sgml:
28260
28261 2005-05-19  David Schleef  <ds@schleef.org>
28262
28263         * gst/gstminiobject.c: (gst_value_set_mini_object),
28264         (gst_value_take_mini_object), (gst_value_get_mini_object):
28265         * gst/gstminiobject.h: Add GValue set/get functions.
28266
28267 2005-05-19  Wim Taymans  <wim@fluendo.com>
28268
28269         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28270         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28271         (gst_subbuffer_init), (gst_buffer_is_span_fast):
28272         * gst/gstbuffer.h:
28273         * gst/gstbus.c: (gst_bus_post):
28274         * gst/gstelement.c: (gst_element_get_random_pad):
28275         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28276         Make subbufer unref the parent in finalize.
28277         some more debugging info.
28278
28279
28280 2005-05-19  Wim Taymans  <wim@fluendo.com>
28281
28282         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28283         (gst_basesink_init), (gst_basesink_finalize),
28284         (gst_basesink_activate), (gst_basesink_change_state):
28285         Don't free preroll queue too early.
28286
28287 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28288
28289         * gst/Makefile.am:
28290         * gst/ROADMAP:
28291           Hi, I'm outdated. Please shoot me.
28292
28293 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28294
28295         * gst/gstpipeline.c: (gst_pipeline_send_event):
28296           Do not access variables after they have been deleted.
28297
28298 2005-05-19  Wim Taymans  <wim@fluendo.com>
28299
28300         * tools/gst-inspect.c: (print_plugin_features):
28301         A plugin feature does unfortunatly not use the
28302         object name yet...
28303
28304 2005-05-18  Wim Taymans  <wim@fluendo.com>
28305
28306         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28307         Port _span() functions to new subbuffers.
28308
28309 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28310
28311         * gst/gstbin.c: (gst_bin_add_func):
28312           Fix clock settery in bins when adding kids after the clock has
28313           been selected.
28314
28315 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28316
28317         * gst/elements/gstidentity.c: (gst_identity_class_init):
28318           Workaround until signals support GstMiniObject.
28319
28320 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28321
28322         * gst/gstbuffer.c:
28323         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28324
28325 2005-05-18  Wim Taymans  <wim@fluendo.com>
28326
28327         * gst/base/Makefile.am:
28328         * gst/base/gstadapter.c: (gst_adapter_base_init),
28329         (gst_adapter_class_init), (gst_adapter_init),
28330         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28331         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28332         (gst_adapter_flush), (gst_adapter_available),
28333         (gst_adapter_available_fast):
28334         * gst/base/gstadapter.h:
28335         Ported and added adapter to the base classes.
28336
28337 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28338
28339         * gst/gst.c:
28340         * gst/gstmessage.c:
28341           Make sure the class is reffed/unreffed once before threads can be
28342           used.  Fixes #304551.
28343
28344 2005-05-17  Wim Taymans  <wim@fluendo.com>
28345
28346         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28347         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28348         * gst/gstminiobject.c: (gst_mini_object_get_type),
28349         (gst_mini_object_free):
28350         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28351         (gst_pad_push), (gst_pad_push_event):
28352         * gst/gstqueue.c: (gst_queue_change_state):
28353         Don't queue buffers in basesink when we are flushing.
28354         Unref buffer when flushing in basesink.
28355         Flush queue when going to READY
28356         Unref buffer when _push() returns an error.
28357         Don't free MiniObject instance when refcount is incremented
28358         in _finalize() so that we can recover objects.
28359
28360 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28361
28362         * docs/manual/advanced-schedulers.xml:
28363         * docs/manual/appendix-checklist.xml:
28364         * docs/pwg/advanced-clock.xml:
28365         * docs/pwg/advanced-interfaces.xml:
28366         * docs/pwg/advanced-request.xml:
28367         * docs/pwg/advanced-types.xml:
28368         * docs/pwg/intro-preface.xml:
28369         * examples/plugins/example.c: (gst_example_get_type),
28370         (gst_example_class_init), (gst_example_chain),
28371         (gst_example_set_property), (gst_example_get_property),
28372         (gst_example_change_state), (plugin_init):
28373         * examples/plugins/example.h:
28374           small doc fixes
28375
28376 2005-05-17  Wim Taymans  <wim@fluendo.com>
28377
28378         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28379         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28380         * gst/gstqueue.c: (gst_queue_change_state):
28381         Clear queue when going to READY.
28382         Remove IN_SETCAPS flag too.
28383
28384 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28385
28386         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28387           Remove implicit cast from gboolean to GstElementStateReturn;
28388           make sure we still return failure in paused => ready case if
28389           the parent class fails to change state and our own stop 
28390           vfunc succeeds.
28391
28392 2005-05-17  Wim Taymans  <wim@fluendo.com>
28393
28394         * tools/gst-launch.c: (event_loop):
28395         Message was unreffed too soon.
28396
28397 2005-05-16  Andy Wingo  <wingo@pobox.com>
28398
28399         * gst/gstbin.c (sink_iterator_filter): Err... um...
28400
28401         * check/gst/gstbin.c (test_ghost_pads): New test for the
28402         ghosting-if-elements-not-in-same-bin behavior.
28403
28404 2005-05-16  David Schleef  <ds@schleef.org>
28405
28406         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28407         accessing refcount directly.
28408
28409 2005-05-15  David Schleef  <ds@schleef.org>
28410
28411         * check/Makefile.am: remove GstData checks
28412         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28413         * gst/Makefile.am: add miniobject, remove data
28414         * gst/gst.h: add miniobject, remove data
28415         * gst/gstdata.c: remove
28416         * gst/gstdata.h: remove
28417         * gst/gstdata_private.h: remove
28418         * gst/gsttypes.h: remove GstEvent and GstMessage
28419         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28420         * gst/gstmarshal.list: change BOXED -> OBJECT
28421
28422         Implement GstMiniObject.
28423         * gst/gstminiobject.c:
28424         * gst/gstminiobject.h:
28425
28426         Modify to be subclasses of GstMiniObject.
28427         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28428         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28429         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28430         (gst_subbuffer_get_type), (gst_subbuffer_init),
28431         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28432         (gst_buffer_span):
28433         * gst/gstbuffer.h:
28434         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28435         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28436         (_gst_event_copy), (gst_event_new):
28437         * gst/gstevent.h:
28438         * gst/gstmessage.c: (_gst_message_initialize),
28439         (gst_message_get_type), (gst_message_class_init),
28440         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28441         (gst_message_new), (gst_message_new_error),
28442         (gst_message_new_warning), (gst_message_new_tag),
28443         (gst_message_new_state_changed), (gst_message_new_application):
28444         * gst/gstmessage.h:
28445         * gst/gstprobe.c: (gst_probe_perform),
28446         (gst_probe_dispatcher_dispatch):
28447         * gst/gstprobe.h:
28448         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28449         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28450         (_gst_query_copy), (gst_query_new):
28451
28452         Update elements for GstData -> GstMiniObject changes
28453         * gst/gstquery.h:
28454         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28455         (gst_queue_chain), (gst_queue_loop):
28456         * gst/elements/gstbufferstore.c:
28457         (gst_buffer_store_add_buffer_func),
28458         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28459         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28460         (gst_fakesink_render):
28461         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28462         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28463         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28464         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28465         (gst_filesrc_create_read):
28466         * gst/elements/gstidentity.c: (gst_identity_class_init):
28467         * gst/elements/gsttypefindelement.c:
28468         (gst_type_find_element_src_event), (free_entry_buffers),
28469         (gst_type_find_element_handle_event):
28470         * libs/gst/dataprotocol/dataprotocol.c:
28471         (gst_dp_header_from_buffer):
28472         * libs/gst/dataprotocol/dataprotocol.h:
28473         * libs/gst/dataprotocol/dp-private.h:
28474
28475 2005-05-15  David Schleef  <ds@schleef.org>
28476
28477         * gst/elements/gstelements.c: Don't include headers that were
28478         just removed.
28479
28480 2005-05-15  David Schleef  <ds@schleef.org>
28481
28482         * gst/elements/Makefile.am: Remove some elements that don't
28483         need to be in the core (or even exist at all).
28484         * gst/elements/gstaggregator.c:
28485         * gst/elements/gstaggregator.h:
28486         * gst/elements/gstmd5sink.c:
28487         * gst/elements/gstmd5sink.h:
28488         * gst/elements/gstmultifilesrc.c:
28489         * gst/elements/gstmultifilesrc.h:
28490         * gst/elements/gstpipefilter.c:
28491         * gst/elements/gstpipefilter.h:
28492         * gst/elements/gstshaper.c:
28493         * gst/elements/gstshaper.h:
28494         * gst/elements/gststatistics.c:
28495         * gst/elements/gststatistics.h:
28496         * po/POTFILES.in: Remove above files.
28497
28498 2005-05-14  Andy Wingo  <wingo@pobox.com>
28499
28500         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28501         so as to get the refs right.
28502         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28503         unreffing objects that don't pass the filter.
28504
28505         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28506         gst_element_set_bus.
28507         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28508         normal cases, this will destroy the bus.
28509
28510         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28511         object.
28512
28513         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28514         has no sinks.
28515
28516 2005-05-13  Andy Wingo  <wingo@pobox.com>
28517
28518         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28519         gst_pad_link, call pad_link_maybe_ghosting,
28520         (pad_link_maybe_ghosting): Links pads, making sure that the
28521         elements being linked are in the same bin.
28522         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28523         Helpers for pad_link_maybe_ghosting.
28524
28525 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28526
28527         * configure.ac:
28528           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28529
28530 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28531
28532         * docs/design/part-element-source.txt:
28533           Mention GstPushSrc
28534
28535 2005-05-12  Wim Taymans  <wim@fluendo.com>
28536
28537         * gst/base/gstbasesink.c: (gst_basesink_init),
28538         (gst_basesink_activate):
28539         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28540         (gst_basesrc_is_seekable):
28541         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28542         (bin_element_is_sink), (gst_bin_change_state):
28543         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28544         * gst/gstelement.h:
28545         Identify sinks by their flag to avoid overly complicated
28546         checks (fow now).
28547         Do state changes even for elements not reachable from the
28548         sinks.
28549         BaseSink is a sink now :)
28550         Some more debugging info in the basesrc.
28551
28552
28553 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28554
28555         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28556           Implement _query on a bin, similar to _send_event.
28557
28558 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28559
28560         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28561           Discont event offset format should be GST_FORMAT_BYTES,
28562           not GST_FORMAT_TIME.
28563
28564 2005-05-12  Wim Taymans  <wim@fluendo.com>
28565
28566         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28567         Same fix as Ronald's but without the signal. 
28568
28569 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28570
28571         * gst/gstutils.c: (gst_element_query_position):
28572           No, an element is not a pad.
28573
28574 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28575
28576         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28577         (gst_bin_get_state):
28578           If a child is removed from a bin while we remove the child from
28579           the bin and while we're retrieving its state, signal this to the
28580           get_state function so we abort the wait (instead of waiting for
28581           a timeout) and can immediately re-iterate over all other elements.
28582
28583 2005-05-12  Wim Taymans  <wim@fluendo.com>
28584
28585         * gst/base/Makefile.am:
28586         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28587         (gst_basesrc_start):
28588         * gst/base/gstbasesrc.h:
28589         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28590         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28591         (gst_pushsrc_init), (gst_pushsrc_create):
28592         * gst/base/gstpushsrc.h:
28593         Added is_seekable to BaseSrc
28594         Added simple PushSrc.
28595
28596 2005-05-11  Wim Taymans  <wim@fluendo.com>
28597
28598         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28599         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28600         (gst_element_link_pads), (gst_element_query_position),
28601         (gst_element_query_convert), (intersect_caps_func),
28602         (gst_pad_query_position), (gst_pad_query_convert):
28603         Fix refcounting in utils function.
28604         No point in trying to activate a pad when it's added, it could
28605         be added from the state change function and then we deadlock, the
28606         element has to decide what to do.
28607
28608 2005-05-10  Andy Wingo  <wingo@pobox.com>
28609
28610         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28611         *all* the arguments.
28612
28613         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28614         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28615         lock (according to the docs -- if this is wrong change the docs).
28616
28617         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28618         flush messages in the NULL state.
28619
28620         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28621         message immediately and return.
28622         (gst_bus_set_flushing): New function. If a bus is flushing, it
28623         flushes out any queued messages and immediately unrefs new
28624         messages. This is so when an element goes to NULL, all of the
28625         unhandled messages coming from it can be freed, and their
28626         references to the element dropped. In other words: message source
28627         ref considered harmful :P
28628
28629         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28630         we're finished with it.
28631
28632         * gst/gstmessage.c (gst_message_new_state_changed): 
28633
28634 2005-05-10  Wim Taymans  <wim@fluendo.com>
28635
28636         * gst/gstvalue.c: (gst_value_compare_flags),
28637         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28638         (_gst_value_initialize):
28639         Added flags serialize/deserialize/compare code.
28640
28641 2005-05-09  Andy Wingo  <wingo@pobox.com>
28642
28643         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28644         Intersect the peer's caps with our caps.
28645
28646 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28647
28648         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28649         * gst/elements/gsttypefindelement.c: (find_peek):
28650           Handle negative offsets better. Fixes decodebin.
28651
28652 2005-05-09  Wim Taymans  <wim@fluendo.com>
28653
28654         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28655         (gst_base_transform_event):
28656         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28657         Implement accept_caps.
28658         Fix silly lock/unlock mismatch in base class.
28659
28660 2005-05-09  Wim Taymans  <wim@fluendo.com>
28661
28662         * docs/design/draft-push-pull.txt:
28663         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28664         * gst/elements/gstfilesink.c: (gst_filesink_init),
28665         (gst_filesink_query):
28666         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28667         (gst_type_find_handle_src_query), (find_element_get_length):
28668         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28669         * gst/gstelement.h:
28670         * gst/gstmessage.c:
28671         * gst/gstmessage.h:
28672         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28673         (gst_real_pad_get_caps_unlocked),
28674         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28675         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28676         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28677         (gst_real_pad_dispose), (gst_real_pad_finalize),
28678         (gst_pad_load_and_link), (gst_pad_save_thyself),
28679         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28680         (gst_pad_check_pull_range), (gst_pad_pull_range),
28681         (gst_pad_template_get_type), (gst_pad_template_class_init),
28682         (gst_pad_template_init), (gst_pad_template_dispose),
28683         (name_is_valid), (gst_static_pad_template_get),
28684         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28685         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28686         (gst_pad_get_element_private), (gst_pad_start_task),
28687         (gst_pad_pause_task), (gst_pad_stop_task),
28688         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28689         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28690         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28691         (gst_ghost_pad_new):
28692         * gst/gstpad.h:
28693         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28694         (gst_query_new_position), (gst_query_set_position),
28695         (gst_query_parse_position), (gst_query_new_convert),
28696         (gst_query_set_convert), (gst_query_parse_convert):
28697         * gst/gstquery.h:
28698         * gst/gstqueryutils.c:
28699         * gst/gstqueryutils.h:
28700         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28701         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28702         (gst_queue_handle_src_query):
28703         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28704         (gst_element_query_position), (gst_element_query_convert),
28705         (intersect_caps_func), (gst_pad_query_position),
28706         (gst_pad_query_convert):
28707         * gst/gstutils.h:
28708         * tools/gst-inspect.c: (print_pad_info):
28709         * tools/gst-xmlinspect.c: (print_element_info):
28710         Remove old query functions. Ported old code.
28711         Added position/convert helper functions to gstutils.
28712         Reordered gstpad.c code, grouping relevant things.
28713         Remove gst_message_new(), always need to speficy a specific
28714         message.
28715
28716
28717 2005-05-09  Andy Wingo  <wingo@pobox.com>
28718
28719         * gst/gstiterator.h: Add some includes.
28720
28721         * gst/gstqueryutils.h: Include more headers.
28722
28723         * gst/gstpad.h:
28724         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28725         some uses of gst_pad_query.
28726
28727         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28728         NULL out parameters.
28729         (gst_query_new_position): New proc, allocates a new position
28730         query.
28731
28732         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28733         gstqueryutils.c to the build.
28734
28735         * gst/gststructure.c (gst_structure_set_valist): Implement with
28736         the generic G_VALUE_COLLECT.
28737         
28738 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28739
28740         * gst/Makefile.am: (gst_headers):
28741         Added gstqueryutils.h to the list of headers to install, that was
28742         a 'nachty' move wingo :)
28743
28744 2005-05-06  Andy Wingo  <wingo@pobox.com>
28745
28746         * gst/gstquery.h
28747         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28748         GstData, init a memchunk.
28749         (standard_definitions): Add a few query types, deprecate a few.
28750         (gst_query_get_type): New proc.
28751         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28752         implementation.
28753         (gst_query_new_application, gst_query_get_structure): New public
28754         procs.
28755
28756         * docs/design/draft-query.txt: Removed LINKS from the query types,
28757         because all the rest can be dispatched to other pads -- seemed
28758         ugly to have a query that couldn't be dispatched. internal_links
28759         is fine as a pad method.
28760
28761         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28762         in gstpad.c, but maintain binary compatibility for the moment.
28763         Will fix before 0.9 is out.
28764
28765         * gst/gstqueryutils.c: 
28766         * gst/gstqueryutils.h: New files, implement 3 methods for each
28767         query type: parse_query, parse_response, and set. Probably need an
28768         allocator as well.
28769
28770         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28771
28772         * gst/elements/gstfilesink.c (gst_filesink_query2):
28773         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28774         query_types, and formats methods.
28775
28776         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28777         (gst_pad_set_query2_function): New functions.
28778         (gst_real_pad_init): Set query2_default as the default query2
28779         function. Basically just dispatches to internally linked pads.
28780
28781         Needs review!
28782         
28783         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28784         without using the atomic operations. Only one thread can possibly
28785         be accessing the data at this point. Changed so as to avoid
28786         gst_atomic operations.
28787
28788 2005-05-06  Wim Taymans  <wim@fluendo.com>
28789
28790         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28791         Also set caps if we use the fallback buffer alloc.
28792
28793 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28794
28795         * docs/gst/Makefile.am:
28796         * docs/gst/gstreamer-docs.sgml:
28797         * docs/gst/gstreamer-sections.txt:
28798         * docs/gst/tmpl/gstatomic.sgml:
28799         * docs/gst/tmpl/gstmemchunk.sgml:
28800         * testsuite/elements/struct_i386.h:
28801         * win32/GStreamer.vcproj:
28802         * win32/Makefile:
28803           Purge GstAtomic stuff from docs and win32 makefiles as well
28804
28805 2005-05-06  Wim Taymans  <wim@fluendo.com>
28806
28807         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28808         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28809         * gst/gstpad.c: (gst_pad_peer_get_caps):
28810         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28811         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28812         (gst_queue_src_activate), (gst_queue_change_state):
28813         * gst/gstqueue.h:
28814         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28815         (intersect_caps_func):
28816         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28817         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28818         Some fixes for the peer_get_caps() change.
28819
28820 2005-05-06  Wim Taymans  <wim@fluendo.com>
28821
28822         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28823         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28824         (gst_basesink_activate):
28825         Actually do something with error codes returned from the push
28826         functions.
28827
28828 2005-05-06  Wim Taymans  <wim@fluendo.com>
28829
28830         * docs/design/part-element-sink.txt:
28831         * docs/design/part-element-source.txt:
28832         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28833         (gst_basesink_event), (gst_basesink_activate):
28834         * gst/base/gstbasesink.h:
28835         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28836         (gst_basesrc_activate):
28837         * gst/base/gstbasesrc.h:
28838         * gst/gstelement.c: (gst_element_pads_activate):
28839         Some more documentation.
28840         Fixed scheduling decision in _pads_activate().
28841
28842 2005-05-05  Andy Wingo  <wingo@pobox.com>
28843
28844         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28845         the test suite.
28846
28847 2005-05-05  Wim Taymans  <wim@fluendo.com>
28848
28849         * gst/base/Makefile.am:
28850         * gst/base/gstbasesink.h:
28851         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28852         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28853         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28854         (gst_collectpads_class_init), (gst_collectpads_init),
28855         (gst_collectpads_finalize), (gst_collectpads_new),
28856         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28857         (find_pad), (gst_collectpads_remove_pad),
28858         (gst_collectpads_is_active), (gst_collectpads_collect),
28859         (gst_collectpads_collect_range), (gst_collectpads_start),
28860         (gst_collectpads_stop), (gst_collectpads_peek),
28861         (gst_collectpads_pop), (gst_collectpads_available),
28862         (gst_collectpads_read), (gst_collectpads_flush),
28863         (gst_collectpads_chain):
28864         * gst/base/gstcollectpads.h:
28865         * gst/elements/Makefile.am:
28866         * gst/elements/gstelements.c:
28867         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28868         (gst_fakesink_get_times), (gst_fakesink_event),
28869         (gst_fakesink_preroll), (gst_fakesink_render):
28870         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28871         (gst_filesink_init), (gst_filesink_set_location),
28872         (gst_filesink_open_file), (gst_filesink_close_file),
28873         (gst_filesink_pad_query), (gst_filesink_event),
28874         (gst_filesink_render), (gst_filesink_change_state):
28875         * gst/elements/gstfilesink.h:
28876         Added object to help in making collect pad based elements.
28877         Ported filesink.
28878         Make event function in sink baseclass return gboolean.
28879
28880 2005-05-05  Wim Taymans  <wim@fluendo.com>
28881
28882         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28883         (gst_bin_get_by_name):
28884         * gst/gstbuffer.h:
28885         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28886         (gst_clock_finalize):
28887         * gst/gstdata.c: (gst_data_replace):
28888         * gst/gstdata.h:
28889         * gst/gstelement.c: (gst_element_request_pad),
28890         (gst_element_pads_activate):
28891         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28892         (gst_object_unref):
28893         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28894         (gst_pad_set_checkgetrange_function),
28895         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28896         (gst_pad_check_pull_range), (gst_pad_pull_range),
28897         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28898         (gst_pad_pause_task), (gst_pad_stop_task):
28899         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28900         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28901         Fix name lookup in GstBin.
28902         Added _data_replace() function and _buffer_replace()
28903         Use finalize method to clean up clock.
28904         Fix refcounting on request pads.
28905         Fix pad schedule mode error.
28906         Some more object refcounting debug info,
28907
28908
28909 2005-05-04  Andy Wingo <wingo@pobox.com>
28910
28911         * check/Makefile.am:
28912         * docs/gst/tmpl/gstatomic.sgml:
28913         * docs/gst/tmpl/gstplugin.sgml:
28914         * gst/base/gstbasesink.c: (gst_basesink_activate):
28915         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28916         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28917         (gst_basesrc_query), (gst_basesrc_set_property),
28918         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28919         (gst_basesrc_activate):
28920         * gst/base/gstbasesrc.h:
28921         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28922         (gst_base_transform_src_activate):
28923         * gst/elements/gstelements.c:
28924         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28925         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28926         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28927         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28928         (gst_type_find_element_checkgetrange),
28929         (gst_type_find_element_activate):
28930         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28931         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28932         (gst_caps_load_thyself):
28933         * gst/gstelement.c: (gst_element_pads_activate),
28934         (gst_element_save_thyself), (gst_element_restore_thyself):
28935         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28936         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28937         * gst/gstpad.h:
28938         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28939         (gst_xml_parse_file), (gst_xml_parse_memory),
28940         (gst_xml_get_element), (gst_xml_make_element):
28941         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28942         (_file_index_id_save_xml), (gst_file_index_commit):
28943         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28944         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28945         (load_paths):
28946         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28947         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28948         * tools/gst-complete.c: (main):
28949         * tools/gst-compprep.c: (main):
28950         * tools/gst-inspect.c: (print_element_properties_info):
28951         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28952         * tools/gst-xmlinspect.c: (print_element_properties):
28953         GCC 4 fixen.
28954         
28955 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28956
28957         * gst/gstplugin.c: (gst_plugin_check_module),
28958         (gst_plugin_check_file), (gst_plugin_load_file):
28959             apply patch from #172526 to make register work on MacOSX
28960
28961 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28962
28963         * docs/gst/tmpl/gstconfig.sgml:
28964         * gst/gstconfig.h.in:
28965           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28966         * testsuite/debug/printf_extension.c: (main):
28967           Do not use GST_PTR_FORMAT on pointers to types with
28968           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28969         * testsuite/elements/property.h:
28970           use correct printf format
28971
28972 2005-05-02  Wim Taymans  <wim@fluendo.com>
28973
28974         * docs/design/draft-push-pull.txt:
28975         * docs/design/draft-query.txt:
28976         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28977         (gst_basesrc_start):
28978         Added draft for new query API.
28979         Added draft for better selecting scheduling methods.
28980         Make basesrc ignore length if the subclass does not support
28981         it.
28982
28983 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28984
28985         * gst/Makefile.am:
28986           possible fixes for automake-1.5 - _LIBADD is reserved
28987
28988 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28989
28990         * docs/faq/Makefile.am:
28991         * docs/manual/Makefile.am:
28992         * docs/manuals.mak:
28993         * docs/pwg/Makefile.am:
28994         * gst/Makefile.am:
28995           possible fixes for automake-1.5
28996
28997 2005-04-28  Wim Taymans  <wim@fluendo.com>
28998
28999         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29000         (gst_basesink_pad_getcaps), (gst_basesink_init),
29001         (gst_basesink_do_sync):
29002         * gst/gstclock.c: (gst_clock_entry_new):
29003         * gst/gstevent.c: (gst_event_discont_get_value):
29004         * gst/gstpipeline.c: (pipeline_bus_handler),
29005         (gst_pipeline_change_state):
29006         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29007         Better debugging of clocking info.
29008         Allow NULL values when getting discont values.
29009
29010 2005-04-27  Wim Taymans  <wim@fluendo.com>
29011
29012         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29013         * check/gst/gstpad.c: (gst_pad_suite):
29014         Increase timeout for checks.
29015
29016 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29017
29018         * check/Makefile.am:
29019           fix the broken rule for cleanup.  Apparently this rule is
29020           only needed on FC2, so maybe this warrants further autotool
29021           inspection.
29022
29023 2005-04-26  Wim Taymans  <wim@fluendo.com>
29024
29025         * gst/gsttrashstack.h:
29026         Ooohh. a nasty one! After having a failed pop() from the stack,
29027         it's possible that the stack is empty. In that case, don't
29028         follow the NULL pointer.
29029
29030 2005-04-25  Wim Taymans  <wim@fluendo.com>
29031
29032         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29033         (gst_pad_set_checkgetrange_function),
29034         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29035         (gst_pad_check_pull_range), (gst_pad_pull_range),
29036         (gst_static_pad_template_get_caps), (gst_pad_start_task),
29037         (gst_pad_pause_task), (gst_pad_stop_task):
29038         * gst/gstplugin.c: (gst_plugin_load):
29039         * gst/gstplugin.h:
29040         Remove gst_library_load as it does more harm than good with
29041         the new g_module flags.
29042         Revert bogus caps template check in pad linking, pad caps
29043         are important when linking not the template, which is more
29044         general than the current caps.
29045
29046 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29047
29048         * gst/autoplug/.cvsignore:
29049         * gst/autoplug/Makefile.am:
29050         * gst/autoplug/gstsearchfuncs.c:
29051         * gst/autoplug/gstsearchfuncs.h:
29052         * gst/autoplug/gstspider.c:
29053         * gst/autoplug/gstspider.h:
29054         * gst/autoplug/gstspideridentity.c:
29055         * gst/autoplug/gstspideridentity.h:
29056         * gst/autoplug/spidertest.c:
29057           Die, spider, die.
29058
29059 2005-04-25  Wim Taymans  <wim@fluendo.com>
29060
29061         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29062         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29063         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29064         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29065         * gst/gstpad.h:
29066         Added stubs for unimplemented functions. 
29067
29068 2005-04-24  David Schleef  <ds@schleef.org>
29069
29070         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
29071         please fix.
29072
29073 2005-04-24  David Schleef  <ds@schleef.org>
29074
29075         Convert everything from GstAtomicInt to g_atomic_int_*, and
29076         remove gstatomic.
29077         * gst/Makefile.am:
29078         * gst/gstatomic.c:
29079         * gst/gstatomic.h:
29080         * gst/gstatomic_impl.h:
29081         * gst/gstbuffer.c:
29082         * gst/gstcaps.c:
29083         * gst/gstcaps.h:
29084         * gst/gstclock.c:
29085         * gst/gstclock.h:
29086         * gst/gstdata.c:
29087         * gst/gstdata.h:
29088         * gst/gstdata_private.h:
29089         * gst/gstevent.c:
29090         * gst/gstinfo.c:
29091         * gst/gstinfo.h:
29092         * gst/gstmessage.c:
29093         * gst/gstobject.c:
29094         * gst/gstobject.h:
29095         * gst/gststructure.c:
29096         * gst/gststructure.h:
29097         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29098         * gst/gstutils.h:
29099
29100 2005-04-24  David Schleef  <ds@schleef.org>
29101
29102         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29103         make the regressions tests work.  Remove some code that is no
29104         longer true.
29105         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29106         Disable warning for pads without templates.
29107
29108 2005-04-24  David Schleef  <ds@schleef.org>
29109
29110         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
29111         functions that handle filtered links.
29112         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29113         removed functions.
29114         * gst/gstutils.c: Fix/remove utility functions that handle
29115         filtered caps.
29116         * gst/gstutils.h:
29117         * gst/gstvalue.c: Add serialization/deserialization of caps
29118         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
29119         requires fixing so that the filter caps notation creates
29120         a capsfilter element and sets the filter_caps property.  I
29121         think everyone probably wants to keep the shorthand notation.
29122         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29123         * docs/gst/tmpl/gstpad.sgml:
29124
29125         * gst/elements/gstelements.c: Register capsfilter element.
29126         * gst/Makefile.am: fix spacing
29127         * docs/random/ds/0.9-suggested-changes: random
29128
29129 2005-04-23  David Schleef  <ds@schleef.org>
29130
29131         * gst/elements/Makefile.am:
29132         * gst/elements/gstcapsfilter.c: New element that acts like an
29133         identity, but filters caps.  Will eventually replace filtered
29134         caps in pad linking.
29135         * gst/gstutils.c: (gst_element_create_all_pads): New function
29136         to create all the ALWAYS pads that are registered with an
29137         element class.  This functionality should eventually be
29138         merged in with GstElement initialization.
29139         * gst/gstutils.h:
29140         * testsuite/trigger/README: part of trigger test code that should
29141         have been checked in a long time ago.
29142
29143 2005-04-23  David Schleef  <ds@schleef.org>
29144
29145         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
29146         needed with new versions of libtool (nobody will confirm this),
29147         and hard to carry around.
29148         * gst/autoplug/Makefile.am:
29149         * gst/base/Makefile.am:
29150         * gst/elements/Makefile.am:
29151         * gst/indexers/Makefile.am:
29152         * gst/schedulers/Makefile.am:
29153         * libs/gst/bytestream/Makefile.am:
29154         * libs/gst/control/Makefile.am:
29155         * libs/gst/dataprotocol/Makefile.am:
29156         * libs/gst/getbits/Makefile.am:
29157
29158 2005-04-21  Wim Taymans  <wim@fluendo.com>
29159
29160         * docs/design/draft-push-pull.txt:
29161         * docs/design/part-MT-refcounting.txt:
29162         * docs/design/part-TODO.txt:
29163         * docs/design/part-caps.txt:
29164         * docs/design/part-events.txt:
29165         * docs/design/part-gstbus.txt:
29166         * docs/design/part-gstpipeline.txt:
29167         * docs/design/part-messages.txt:
29168         * docs/design/part-push-pull.txt:
29169         * docs/design/part-query.txt:
29170         Some more docs.
29171
29172 2005-04-21  Wim Taymans  <wim@fluendo.com>
29173
29174         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29175         (gst_message_new), (gst_message_new_error),
29176         (gst_message_new_warning), (gst_message_new_tag),
29177         (gst_message_new_state_changed), (gst_message_new_application),
29178         (gst_message_get_structure):
29179         * gst/gstmessage.h:
29180         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29181         (gst_structure_copy_conditional):
29182         Use parent refcount in GstMessage to ensure GstStructure
29183         consistency.
29184         Cleaned up headers a bit.
29185         
29186
29187 2005-04-20  Wim Taymans  <wim@fluendo.com>
29188
29189         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29190         (gst_basesink_pad_getcaps), (gst_basesink_init),
29191         (gst_basesink_chain_unlocked):
29192         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29193         (gst_type_find_helper):
29194         * gst/elements/gsttypefindelement.c:
29195         (gst_type_find_element_have_type), (gst_type_find_element_init),
29196         (stop_typefinding), (gst_type_find_element_handle_event),
29197         (find_suggest), (gst_type_find_element_chain),
29198         (gst_type_find_element_checkgetrange),
29199         (gst_type_find_element_getrange), (do_typefind),
29200         (gst_type_find_element_activate):
29201         * gst/gstbuffer.c: (_gst_buffer_sub_free),
29202         (gst_buffer_default_free), (gst_buffer_default_copy),
29203         (gst_buffer_set_caps):
29204         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29205         (gst_caps_replace):
29206         * gst/gstmessage.c: (gst_message_new),
29207         (gst_message_new_state_changed):
29208         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29209         (gst_pad_set_checkgetrange_function),
29210         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29211         (gst_pad_set_caps), (gst_pad_check_pull_range),
29212         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29213         * gst/gstpad.h:
29214         * gst/gsttypefind.c: (gst_type_find_register):
29215         Make gst_caps_replace() work like other _replace() functions.
29216         Use _caps_replace() where possible.
29217         Make sure _message_new() initialises its field.
29218         Add gst_static_pad_template_get_caps()
29219
29220
29221 2005-04-18  Andy Wingo  <wingo@pobox.com>
29222
29223         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29224         on the peer, not the pad. I think that was a typo. Pass an extra
29225         arg to see if random access is possible. Activate the pads as
29226         PULL_RANGE if possible.
29227
29228         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29229
29230         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
29231         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29232         to PROP_....
29233
29234 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29235
29236         * docs/faq/using.xml:
29237           Add note on gstreamer-properties (#154996).
29238
29239 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29240
29241         * docs/random/bbb/optional-properties:
29242           Some analysis on optional properties.
29243
29244 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29245
29246         * docs/gst/tmpl/gstelementfactory.sgml:
29247         * gst/gstelement.h:
29248         * gst/gstelementfactory.c: (gst_element_factory_init),
29249         (gst_element_factory_cleanup), (gst_element_register),
29250         (__gst_element_factory_add_static_pad_template),
29251         (gst_element_factory_get_static_pad_templates),
29252         (gst_element_factory_can_src_caps),
29253         (gst_element_factory_can_sink_caps):
29254         * gst/registries/Makefile.am:
29255         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29256         (gst_xml_registry_class_init), (gst_xml_registry_init),
29257         (gst_xml_registry_new), (gst_xml_registry_set_property),
29258         (gst_xml_registry_get_property), (get_time), (make_dir),
29259         (gst_xml_registry_get_perms_func),
29260         (plugin_times_older_than_recurse), (plugin_times_older_than),
29261         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29262         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29263         (add_to_char_array), (read_string), (read_uint), (read_enum),
29264         (load_pad_template), (load_feature), (load_plugin), (load_paths),
29265         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29266         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29267         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29268         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29269         (gst_xml_registry_rebuild):
29270         * gst/registries/gstlibxmlregistry.h:
29271         * tools/gst-compprep.c: (main):
29272         * tools/gst-inspect.c: (print_pad_templates_info):
29273         * tools/gst-xmlinspect.c: (print_element_info):
29274           Use libxml2 for registry parsing, use staticpadtemplates in
29275           elementfactories. Makes gst_init() +/- 10x faster.
29276
29277 2005-04-12  Wim Taymans  <wim@fluendo.com>
29278
29279         * gst/base/Makefile.am:
29280         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29281         (gst_basesink_pad_getcaps), (gst_basesink_init),
29282         (gst_basesink_event), (gst_basesink_change_state):
29283         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29284         (gst_basesrc_init), (gst_basesrc_query),
29285         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29286         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29287         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29288         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29289         (gst_basesrc_stop), (gst_basesrc_activate),
29290         (gst_basesrc_change_state):
29291         * gst/base/gsttypefindhelper.c: (helper_find_peek),
29292         (helper_find_suggest), (gst_type_find_helper):
29293         * gst/base/gsttypefindhelper.h:
29294         * gst/elements/Makefile.am:
29295         * gst/elements/gstelements.c:
29296         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29297         (gst_fakesink_get_times), (gst_fakesink_event),
29298         (gst_fakesink_preroll), (gst_fakesink_render):
29299         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29300         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29301         (gst_fakesrc_get_property), (gst_fakesrc_create),
29302         (gst_fakesrc_start), (gst_fakesrc_stop):
29303         * gst/elements/gstfakesrc.h:
29304         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29305         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29306         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29307         (gst_filesrc_create_read), (gst_filesrc_create),
29308         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29309         (gst_filesrc_start):
29310         * gst/elements/gsttypefindelement.c:
29311         (gst_type_find_element_have_type), (gst_type_find_element_init),
29312         (start_typefinding), (stop_typefinding), (push_buffer_store),
29313         (gst_type_find_element_handle_event),
29314         (gst_type_find_element_chain),
29315         (gst_type_find_element_checkgetrange),
29316         (gst_type_find_element_getrange), (do_typefind),
29317         (gst_type_find_element_activate),
29318         (gst_type_find_element_change_state):
29319         * gst/elements/gsttypefindelement.h:
29320         * gst/gstpipeline.c: (pipeline_bus_handler):
29321         Added typefind helper.
29322         Small preroll fix in the base sink.
29323         Disable typefind code in basesrc.
29324         Crude port of typefindelement.
29325         Fakesrc cleanups.
29326
29327
29328 2005-04-11  Wim Taymans  <wim@fluendo.com>
29329
29330         * check/gst/gstbus.c: (gstbus_suite):
29331         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29332         * check/gstcheck.h:
29333           Fix up the timeout so that the test does not fail.
29334
29335 2005-04-06  Wim Taymans  <wim@fluendo.com>
29336
29337         * gst/base/README:
29338         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29339         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29340         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29341         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29342         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29343         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29344         (gst_basesrc_stop), (gst_basesrc_activate),
29345         (gst_basesrc_change_state), (basesrc_find_peek),
29346         (basesrc_find_suggest), (gst_basesrc_type_find):
29347         * gst/base/gstbasesrc.h:
29348         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29349         (gst_filesrc_class_init), (gst_filesrc_init),
29350         (gst_filesrc_finalize), (gst_filesrc_set_location),
29351         (gst_filesrc_set_property), (gst_filesrc_get_property),
29352         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29353         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29354         (gst_filesrc_create_read), (gst_filesrc_create),
29355         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29356         * gst/elements/gstfilesrc.h:
29357         * gst/gstelement.c: (gst_element_get_state_func),
29358         (gst_element_lost_state), (gst_element_pads_activate):
29359         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29360         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29361         (gst_pad_pull_range):
29362         * gst/gstpad.h:
29363         More work on the generic source base class, implement seeking,
29364         query.
29365         Make filesrc extend the base source class.
29366         Added gst_pad_set_checkgetrange_function to GstPad.
29367
29368 2005-04-06  Andy Wingo  <wingo@pobox.com>
29369
29370         * pkgconfig/gstreamer-base.pc.in:
29371         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29372
29373         * pkgconfig/Makefile.am:
29374         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29375
29376 2005-04-04  Wim Taymans  <wim@fluendo.com>
29377
29378         * gst/base/Makefile.am:
29379         * gst/base/README:
29380         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29381         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29382         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29383         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29384         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29385         (gst_basesrc_base_init), (gst_basesrc_class_init),
29386         (gst_basesrc_init), (gst_basesrc_get_formats),
29387         (gst_basesrc_get_query_types), (gst_basesrc_query),
29388         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29389         (gst_basesrc_set_property), (gst_basesrc_get_property),
29390         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29391         (gst_basesrc_loop), (gst_basesrc_activate),
29392         (gst_basesrc_change_state):
29393         * gst/base/gstbasesrc.h:
29394         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29395         (gst_fakesrc_class_init), (gst_fakesrc_init),
29396         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29397         (gst_fakesrc_get_property), (gst_fakesrc_create):
29398         * gst/elements/gstfakesrc.h:
29399         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29400         (gst_filesrc_open_file), (gst_filesrc_loop),
29401         (gst_filesrc_activate), (filesrc_find_peek),
29402         (gst_filesrc_type_find):
29403         Made base source class, make fakesrc extend it.
29404         Add comments to basesink class.
29405         Some filesrc cleanup.
29406
29407 2005-03-31  David Schleef  <ds@schleef.org>
29408
29409         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29410         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29411         expected to link against libgstreamer.
29412         * gst/base/Makefile.am: link against libgstreamer
29413         * gst/elements/Makefile.am: same
29414
29415 2005-03-31  Andy Wingo  <wingo@pobox.com>
29416
29417         * tests/instantiate/Makefile.am:
29418         * tests/instantiate/caps.c: Add test to test speed of caps copy
29419         and free.
29420
29421         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29422         GMemChunk to be fair.
29423
29424         * gst/gsttrashstack.h: Remove warning about using the fallback
29425         trash stack implementation, it's still faster than malloc.
29426
29427 2005-03-30  Andy Wingo  <wingo@pobox.com>
29428
29429         * tests/complexity.c: Add a copyright.
29430
29431 2005-03-31  Wim Taymans  <wim@fluendo.com>
29432
29433         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29434         (gst_base_transform_class_init), (gst_base_transform_init),
29435         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29436         (gst_base_transform_get_property),
29437         (gst_base_transform_sink_activate),
29438         (gst_base_transform_src_activate),
29439         (gst_base_transform_change_state):
29440         * gst/base/gstbasetransform.h:
29441         * gst/elements/gstidentity.c: (gst_identity_class_init),
29442         (gst_identity_event), (gst_identity_check_perfect),
29443         (gst_identity_transform), (gst_identity_start),
29444         (gst_identity_stop):
29445         Added start/stop methods to transform base class so subclasses 
29446         don't need to deal with state changes even.
29447
29448 2005-03-31  Wim Taymans  <wim@fluendo.com>
29449
29450         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29451         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29452         * gst/gstevent.h:
29453         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29454         (gst_pad_pull_range):
29455         Added rate to the discont event to prepare for variable speed
29456         and reverse playback.
29457
29458 2005-03-29  David Schleef  <ds@schleef.org>
29459
29460         * configure.ac:
29461         * testsuite/trigger/Makefile.am:
29462         * testsuite/trigger/trigger.c: A little example program to show
29463         how trigger-based elements can work.
29464
29465 2005-03-29  Wim Taymans  <wim@fluendo.com>
29466
29467         * gst/base/Makefile.am:
29468         * gst/base/README:
29469         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29470         (gst_basesink_base_init), (gst_basesink_class_init),
29471         (gst_basesink_pad_getcaps), (gst_basesink_init),
29472         (gst_basesink_activate), (gst_basesink_change_state):
29473         * gst/base/gstbasesink.h:
29474         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29475         (gst_base_transform_base_init), (gst_base_transform_finalize),
29476         (gst_base_transform_class_init), (gst_base_transform_init),
29477         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29478         (gst_base_transform_event), (gst_base_transform_getrange),
29479         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29480         (gst_base_transform_set_property),
29481         (gst_base_transform_get_property),
29482         (gst_base_transform_sink_activate),
29483         (gst_base_transform_src_activate),
29484         (gst_base_transform_change_state):
29485         * gst/base/gstbasetransform.h:
29486         * gst/elements/gstidentity.c: (gst_identity_finalize),
29487         (gst_identity_class_init), (gst_identity_init),
29488         (gst_identity_event), (gst_identity_check_perfect),
29489         (gst_identity_transform), (gst_identity_set_property),
29490         (gst_identity_get_property), (gst_identity_change_state):
29491         * gst/elements/gstidentity.h:
29492         * gst/gstelement.c: (gst_element_get_state_func),
29493         (gst_element_lost_state), (gst_element_pads_activate):
29494         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29495         (gst_pad_check_pull_range), (gst_pad_pull_range):
29496         * gst/gstpad.h:
29497         Simplify pad activation.
29498         Added function to check if pull_range can be performed.
29499         Error out when pulling inactive or flushing pads.
29500         Removed const from refcounted types as it does not make sense.
29501         Simplify pad templates in basesink
29502         Added base class for simple 1-to-1 transforms.
29503         Make identity subclass the base transform.
29504
29505 2005-03-29  Andy Wingo  <wingo@pobox.com>
29506
29507         * docs/libs/gstreamer-libs-overrides.txt: 
29508         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29509         really don't understand what's going on, but like whatever. I want
29510         green buildbot!
29511
29512         * docs/gst/Makefile.am:
29513         * docs/libs/Makefile.am: Dist the overrides files.
29514
29515         * check/Makefile.am (clean-local): Remove .libs directories.
29516
29517         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29518         elements to EXTRA_DIST, so po/ files are happy.
29519
29520         * po/POTFILES.in: Er, remove it here.
29521
29522         * po/POTFILES: Remove gstspider.c.
29523
29524         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29525
29526         * docs/libs/gstreamer-libs-docs.sgml: 
29527         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29528         bytestream.
29529
29530         * tests/complexity.c (main): Set the length of the preroll queue
29531         on the sinks to prevent a lockup.
29532
29533         * libs/gst/dataprotocol/Makefile.am: 
29534         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29535         the same as the one in check/gst-libs/gdp.c.
29536
29537         * po/, docs/gst/: Commit automatic changes to docs and po files.
29538
29539         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29540         the versioned libgstbase.
29541
29542         * check/Makefile.am: Depend on an unversioned gst-register, seems
29543         to make autoconf happier.
29544
29545         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29546
29547 2005-03-28  Wim Taymans  <wim@fluendo.com>
29548
29549         * configure.ac:
29550         * docs/design/part-gstelement.txt:
29551         * docs/design/part-negotiation.txt:
29552         * docs/design/part-preroll.txt:
29553         * docs/design/part-scheduling.txt:
29554         * docs/design/part-states.txt:
29555         * gst/Makefile.am:
29556         * gst/base/Makefile.am:
29557         * gst/base/README:
29558         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29559         (gst_basesink_base_init), (gst_basesink_class_init),
29560         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29561         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29562         (gst_basesink_set_pad_functions),
29563         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29564         (gst_basesink_set_property), (gst_basesink_get_property),
29565         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29566         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29567         (gst_basesink_preroll_queue_push),
29568         (gst_basesink_preroll_queue_empty),
29569         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29570         (gst_basesink_event), (gst_basesink_get_times),
29571         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29572         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29573         (gst_basesink_loop), (gst_basesink_activate),
29574         (gst_basesink_change_state):
29575         * gst/base/gstbasesink.h:
29576         * gst/elements/Makefile.am:
29577         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29578         (gst_fakesink_class_init), (gst_fakesink_init),
29579         (gst_fakesink_set_property), (gst_fakesink_get_property),
29580         (gst_fakesink_get_times), (gst_fakesink_event),
29581         (gst_fakesink_preroll), (gst_fakesink_render),
29582         (gst_fakesink_change_state):
29583         * gst/elements/gstfakesink.h:
29584         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29585         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29586         * gst/gstelement.c: (gst_element_add_pad),
29587         (gst_element_get_state_func), (gst_element_abort_state),
29588         (gst_element_commit_state), (gst_element_lost_state),
29589         (gst_element_set_state), (gst_element_pads_activate):
29590         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29591         * gst/gstpipeline.c: (gst_pipeline_send_event),
29592         (gst_pipeline_change_state):
29593         Added state change code.
29594         Added/updated docs.
29595         Added sink base class, make fakesink extend the base class.
29596         Small cleanups in GstPipeline.
29597
29598 2005-03-26  David Schleef  <ds@schleef.org>
29599
29600         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29601         is broken and should be implemented in a different library.
29602         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29603         * gst/gst.h: remove gstcpu.h
29604         * gst/gstcpu.c: remove
29605         * gst/gstcpu.h: remove
29606         * gst/Makefile.am.future: Remove this file.  It's ancient.
29607
29608 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29609
29610         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29611         (gst_bin_send_event):
29612           Add default event/set_manager handlers. The set_manager handler
29613           takes care that the manager is distributed over kids that were
29614           already in the bin before the manager was set. The event handler
29615           is a utility virtual function that sends the event over all sinks,
29616           so that gst_element_send_event (bin, event); has the expected
29617           behaviour.
29618         * gst/gstpad.c: (gst_pad_event_default):
29619           Re-install default event handling for discontinuities, so that
29620           seeking works without requiring hacks in applications or extra
29621           code in sinks.
29622         * gst/gstpipeline.c: (gst_pipeline_class_init),
29623         (gst_pipeline_send_event):
29624           Half hack, half utility: set a pipeline to PAUSED for seek events,
29625           since that is the only way we can guarantee a/v sync. Means that
29626           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29627           and it "just works".
29628
29629 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29630
29631         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29632           Lock/unlock mismatch.
29633
29634 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29635
29636         * docs/faq/gst-uninstalled:
29637           add gst-plugins-base
29638         * docs/gst/Makefile.am:
29639           don't error out until docs are fixed
29640         * docs/gst/gstreamer.types:
29641           remove thread
29642
29643 2005-03-22  Wim Taymans  <wim@fluendo.com>
29644
29645         * check/Makefile.am:
29646         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29647         * gst/gststructure.c: (gst_structure_set_valist),
29648         (gst_structure_copy_conditional):
29649         Activated more tests.
29650         Added message test.
29651         Added G_TYPE_POINTER to GstStructure.
29652         
29653
29654 2005-03-22  Wim Taymans  <wim@fluendo.com>
29655
29656         * docs/design/part-TODO.txt:
29657         * docs/design/part-events.txt:
29658         * docs/design/part-gstbin.txt:
29659         * docs/design/part-gstbus.txt:
29660         * docs/design/part-gstpipeline.txt:
29661         * docs/design/part-messages.txt:
29662         * gst/gstbus.c:
29663         * gst/gstmessage.c:
29664         Docs updates
29665
29666 2005-03-21  Wim Taymans  <wim@fluendo.com>
29667
29668         * gst/gstbus.c: (gst_bus_post):
29669         Fix copy-and-paste error.
29670
29671 2005-03-21  Wim Taymans  <wim@fluendo.com>
29672
29673         * check/Makefile.am:
29674         * gst/Makefile.am:
29675         * gst/elements/Makefile.am:
29676         * gst/elements/gstelements.c:
29677         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29678         (gst_fakesink_event), (gst_fakesink_chain):
29679         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29680         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29681         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29682         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29683         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29684         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29685         (gst_fakesrc_loop), (gst_fakesrc_activate),
29686         (gst_fakesrc_change_state):
29687         * gst/elements/gstfakesrc.h:
29688         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29689         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29690         (gst_filesrc_open_file), (gst_filesrc_loop),
29691         (gst_filesrc_activate), (gst_filesrc_change_state),
29692         (filesrc_find_peek), (filesrc_find_suggest),
29693         (gst_filesrc_type_find):
29694         * gst/elements/gstidentity.c: (gst_identity_finalize),
29695         (gst_identity_class_init), (gst_identity_init),
29696         (gst_identity_proxy_getcaps), (identity_queue_push),
29697         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29698         (gst_identity_getrange), (gst_identity_chain),
29699         (gst_identity_sink_loop), (gst_identity_src_loop),
29700         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29701         (gst_identity_set_property), (gst_identity_get_property),
29702         (gst_identity_change_state):
29703         * gst/elements/gstidentity.h:
29704         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29705         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29706         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29707         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29708         (gst_tee_sink_activate):
29709         * gst/elements/gsttee.h:
29710         * gst/gst.c: (gst_register_core_elements), (init_post):
29711         * gst/gst.h:
29712         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29713         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29714         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29715         (gst_bin_change_state):
29716         * gst/gstbin.h:
29717         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29718         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29719         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29720         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29721         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29722         (bus_watch_callback), (bus_watch_destroy),
29723         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29724         (poll_timeout), (gst_bus_poll):
29725         * gst/gstbus.h:
29726         * gst/gstcaps.h:
29727         * gst/gstdata.h:
29728         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29729         (gst_element_post_message), (gst_element_message_full),
29730         (gst_element_get_state_func), (gst_element_get_state),
29731         (gst_element_abort_state), (gst_element_commit_state),
29732         (gst_element_lost_state), (gst_element_set_state),
29733         (gst_element_pads_activate), (gst_element_change_state),
29734         (gst_element_dispose), (gst_element_set_manager_func),
29735         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29736         (gst_element_set_manager), (gst_element_get_manager),
29737         (gst_element_set_bus), (gst_element_get_bus),
29738         (gst_element_set_scheduler), (gst_element_get_scheduler):
29739         * gst/gstelement.h:
29740         * gst/gstevent.c: (gst_event_new_segment_seek),
29741         (gst_event_new_flush):
29742         * gst/gstevent.h:
29743         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29744         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29745         (gst_message_new_eos), (gst_message_new_error),
29746         (gst_message_new_warning), (gst_message_new_tag),
29747         (gst_message_new_state_changed), (gst_message_new_application),
29748         (gst_message_get_structure), (gst_message_parse_tag),
29749         (gst_message_parse_state_changed), (gst_message_parse_error),
29750         (gst_message_parse_warning):
29751         * gst/gstmessage.h:
29752         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29753         (gst_real_pad_set_property), (gst_pad_set_active),
29754         (gst_pad_is_active), (gst_pad_set_blocked_async),
29755         (gst_pad_set_blocked), (gst_pad_is_blocked),
29756         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29757         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29758         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29759         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29760         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29761         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29762         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29763         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29764         (gst_pad_set_caps), (gst_pad_configure_sink),
29765         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29766         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29767         (gst_real_pad_dispose), (gst_real_pad_finalize),
29768         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29769         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29770         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29771         * gst/gstpad.h:
29772         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29773         (pipeline_bus_handler), (gst_pipeline_change_state),
29774         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29775         * gst/gstpipeline.h:
29776         * gst/gstprobe.h:
29777         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29778         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29779         (gst_queue_link_src), (gst_queue_bufferalloc),
29780         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29781         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29782         (gst_queue_loop), (gst_queue_handle_src_event),
29783         (gst_queue_handle_src_query), (gst_queue_src_activate),
29784         (gst_queue_change_state):
29785         * gst/gstqueue.h:
29786         * gst/gstscheduler.c: (gst_scheduler_init),
29787         (gst_scheduler_dispose), (gst_scheduler_create_task),
29788         (gst_scheduler_factory_create):
29789         * gst/gstscheduler.h:
29790         * gst/gststructure.c: (gst_structure_get_type),
29791         (gst_structure_copy_conditional):
29792         * gst/gststructure.h:
29793         * gst/gsttaginterface.h:
29794         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29795         (gst_task_init), (gst_task_dispose), (gst_task_create),
29796         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29797         (gst_task_pause):
29798         * gst/gsttask.h:
29799         * gst/gstthread.c:
29800         * gst/gstthread.h:
29801         * gst/gsttypes.h:
29802         * gst/schedulers/Makefile.am:
29803         * gst/schedulers/cothreads_compat.h:
29804         * gst/schedulers/entryscheduler.c:
29805         * gst/schedulers/faircothreads.c:
29806         * gst/schedulers/faircothreads.h:
29807         * gst/schedulers/fairscheduler.c:
29808         * gst/schedulers/gstbasicscheduler.c:
29809         * gst/schedulers/gstoptimalscheduler.c:
29810         * gst/schedulers/gthread-cothreads.h:
29811         * gst/schedulers/threadscheduler.c:
29812         (gst_thread_scheduler_task_get_type),
29813         (gst_thread_scheduler_task_class_init),
29814         (gst_thread_scheduler_task_init),
29815         (gst_thread_scheduler_task_start),
29816         (gst_thread_scheduler_task_stop),
29817         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29818         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29819         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29820         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29821         (plugin_init):
29822         * libs/gst/Makefile.am:
29823         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29824         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29825         (gst_file_pad_parent_set):
29826         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29827         (gst_dp_event_from_packet):
29828         * tests/complexity.c: (main):
29829         * tests/mass_elements.c: (main):
29830         * testsuite/states/locked.c: (message_received), (main):
29831         * testsuite/states/parent.c: (main):
29832         * tools/gst-inspect.c: (print_element_flag_info),
29833         (print_implementation_info), (print_pad_info):
29834         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29835         (main):
29836         * tools/gst-md5sum.c: (event_loop), (main):
29837         * tools/gst-typefind.c: (main):
29838         * tools/gst-xmlinspect.c: (print_element_info):
29839         Next big merge.
29840         Added GstBus for mainloop integration.
29841         Added GstMessage for sending notifications on the bus.
29842         Added GstTask as an abstraction for pipeline entry points.
29843         Removed GstThread.
29844         Removed Schedulers.
29845         Simplified GstQueue for multithreaded core.
29846         Made _link threadsafe, removed old capsnego.
29847         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29848         Added pad blocking functions.
29849         Reworked scheduling functions in GstPad to prepare for
29850         scheduling updates soon.
29851         Moved events out of data stream.
29852         Simplified GstEvent types.
29853         Added return values to push/pull.
29854         Removed clocking from GstElement.
29855         Added prototypes for state change function for next merge.
29856         Removed iterate from bins and state change management.
29857         Fixed some elements, disabled others for now.
29858         Fixed -inspect and -launch.
29859         Added check for GstBus.
29860
29861 2005-03-10  Wim Taymans  <wim@fluendo.com>
29862
29863         * docs/design/part-MT-refcounting.txt:
29864         * docs/design/part-clocks.txt:
29865         * docs/design/part-gstelement.txt:
29866         * docs/design/part-gstobject.txt:
29867         * docs/design/part-standards.txt:
29868         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29869         (gst_bin_remove_func), (gst_bin_remove):
29870         * gst/gstbin.h:
29871         * gst/gstbuffer.c:
29872         * gst/gstcaps.h:
29873         * testsuite/clock/clock1.c: (main):
29874         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29875         (main):
29876         * testsuite/dlopen/loadgst.c: (do_test):
29877         * testsuite/refcounting/bin.c: (add_remove_test1),
29878         (add_remove_test2), (main):
29879         * testsuite/refcounting/element.c: (main):
29880         * testsuite/refcounting/element_pad.c: (main):
29881         * testsuite/refcounting/pad.c: (main):
29882         * tools/gst-launch.c: (sigint_handler_sighandler):
29883         * tools/gst-typefind.c: (main):
29884         Doc updates.
29885         Added doc about clock.
29886         removed gst_bin_iterate_recurse_up(), marked methods
29887         for removal.
29888         Fix more testsuites.
29889
29890 2005-03-09  Wim Taymans  <wim@fluendo.com>
29891
29892         * gst/gstpad.c: (gst_pad_get_direction),
29893         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29894         (gst_pad_collect_valist):
29895         * testsuite/bins/interface.c: (main):
29896         * testsuite/caps/audioscale.c: (test_caps):
29897         * testsuite/caps/caps.c: (test1), (test2), (test3):
29898         * testsuite/caps/deserialize.c: (main):
29899         * testsuite/caps/enumcaps.c: (main):
29900         * testsuite/caps/filtercaps.c: (main):
29901         * testsuite/caps/intersect2.c: (main):
29902         * testsuite/caps/random.c: (main):
29903         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29904         * testsuite/caps/sets.c: (check_caps):
29905         * testsuite/caps/simplify.c: (check_caps), (main):
29906         * testsuite/caps/subtract.c: (check_caps):
29907         Fix _pad_get_direction wrt ghostpads.
29908         Fix caps testsuite.
29909
29910 2005-03-09  Wim Taymans  <wim@fluendo.com>
29911
29912         * check/Makefile.am:
29913         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29914         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29915         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29916         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29917         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29918         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29919         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29920         (bin_element_is_sink), (gst_bin_iterate_sinks),
29921         (gst_bin_iterate_all_by_interface):
29922         * gst/gstbin.h:
29923         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29924         (gst_element_change_state), (gst_element_dispose),
29925         (gst_element_finalize), (gst_element_set_loop_function):
29926         * gst/gstelement.h:
29927         * gst/gstiterator.c: (find_custom_fold_func):
29928         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29929         (gst_pad_collectv), (gst_pad_collect_valist),
29930         (gst_pad_template_new):
29931         * gst/gstpipeline.c: (gst_pipeline_class_init),
29932         (gst_pipeline_dispose), (gst_pipeline_set_property),
29933         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29934         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29935         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29936         * gst/gstutils.h:
29937         * gst/schedulers/entryscheduler.c:
29938         * gst/schedulers/gstbasicscheduler.c:
29939         (gst_basic_scheduler_cothreaded_chain),
29940         (gst_basic_scheduler_chain_add_element):
29941         * testsuite/bins/interface.c: (main):
29942         Added GstBin test.
29943         Added GstSystemClock test.
29944         Implemented clock distribution code in GstBin.
29945         Implemented iterate sinks method for future use.
29946         Rearranged gstelement.h
29947         Fix GstIterator comparison bug.
29948         Moved some code to GstPipeline, mostly clocking related.
29949
29950 2005-03-09  Wim Taymans  <wim@fluendo.com>
29951
29952         * configure.ac:
29953         * gst/gst_private.h:
29954         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29955         (gst_bin_remove_func), (gst_bin_remove),
29956         (gst_bin_get_by_name_recurse_up):
29957         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29958         (gst_clock_id_compare_func), (gst_clock_id_wait),
29959         (gst_clock_id_wait_async), (gst_clock_init),
29960         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29961         * gst/gstelement.h:
29962         * gst/gstinfo.c: (_gst_debug_init):
29963         * gst/gstobject.h:
29964         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29965         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29966         * gst/gstpad.h:
29967         Bump version number, we're now 0.9.0
29968         Add future debugging category.
29969         Fix NULL _unref() in _get_by_name_recurse_up
29970         Rearrange gstpad.h.
29971         Update some docs.
29972
29973 2005-03-08  Wim Taymans  <wim@fluendo.com>
29974
29975         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29976         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29977         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29978         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29979         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29980         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29981         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29982         * gst/elements/gstidentity.c: (gst_identity_class_init):
29983         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29984         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29985         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29986         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29987         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29988         (gst_tee_link):
29989         * gst/gstelement.c: (gst_element_class_init),
29990         (gst_element_base_class_init), (gst_element_init),
29991         (gst_element_get_random_pad), (gst_element_wait_state_change),
29992         (gst_element_change_state), (gst_element_dispose),
29993         (gst_element_finalize), (gst_element_set_loop_function):
29994         * gst/gstelement.h:
29995         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29996         * gst/gstthread.c: (gst_thread_class_init),
29997         (gst_thread_release_children_locks), (gst_thread_change_state):
29998         * gst/schedulers/gstbasicscheduler.c:
29999         (gst_basic_scheduler_loopfunc_wrapper),
30000         (gst_basic_scheduler_chain_wrapper),
30001         (gst_basic_scheduler_src_wrapper),
30002         (gst_basic_scheduler_remove_element):
30003         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30004         Remove threadsafe properties. Fix elements because GObject
30005         complains when installing a property before declaring a
30006         set/get_property handler.
30007         Rearrange gstelement.h file, use STATE macros for state locks.
30008         Free mutexes in the finalize method instead of dispose.
30009
30010 2005-03-08  Wim Taymans  <wim@fluendo.com>
30011
30012         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30013         * gst/gstthread.c: (gst_thread_release_children_locks):
30014         Added parentage check.
30015         Fix build og GstThread again.
30016
30017 2005-03-08  Wim Taymans  <wim@fluendo.com>
30018
30019         * docs/design/part-MT-refcounting.txt:
30020         * docs/design/part-conventions.txt:
30021         * docs/design/part-gstobject.txt:
30022         * docs/design/part-relations.txt:
30023         * docs/design/part-standards.txt:
30024         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30025         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30026         (gst_bin_get_by_name), (gst_bin_get_by_interface),
30027         (gst_bin_iterate_all_by_interface):
30028         * gst/gstbuffer.h:
30029         * gst/gstclock.h:
30030         * gst/gstelement.c: (gst_element_class_init),
30031         (gst_element_change_state), (gst_element_set_loop_function):
30032         * gst/gstelement.h:
30033         * gst/gstiterator.c:
30034         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30035         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30036         (gst_object_dispatch_properties_changed), (gst_object_set_name),
30037         (gst_object_set_parent), (gst_object_unparent),
30038         (gst_object_check_uniqueness):
30039         * gst/gstobject.h:
30040         Docs updates, clean up some headers.
30041
30042 2005-03-07  Wim Taymans  <wim@fluendo.com>
30043
30044         * check/.cvsignore:
30045         * check/Makefile.am:
30046         * check/gst-libs/.cvsignore:
30047         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30048         * check/gst/.cvsignore:
30049         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30050         (START_TEST), (gstbus_suite), (main):
30051         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30052         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30053         (gst_data_suite), (main):
30054         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30055         (add_fold_func), (gstiterator_suite), (main):
30056         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30057         (thread_name_object), (thread_name_object_default),
30058         (gst_object_name_compare), (gst_object_suite), (main):
30059         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30060         (gst_pad_suite), (main):
30061         * check/gstcheck.c: (gst_check_log_message_func),
30062         (gst_check_log_critical_func), (gst_check_init):
30063         * check/gstcheck.h:
30064         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30065         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30066         Added checks.
30067
30068 2005-03-07  Wim Taymans  <wim@fluendo.com>
30069
30070         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30071         (gst_list_iterator_next), (gst_list_iterator_resync),
30072         (gst_list_iterator_free), (gst_iterator_new_list),
30073         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30074         (gst_iterator_free), (gst_iterator_push), (filter_next),
30075         (filter_resync), (filter_uninit), (filter_free),
30076         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30077         (gst_iterator_foreach), (find_custom_fold_func),
30078         (gst_iterator_find_custom):
30079         * gst/gstiterator.h:
30080         Added missing files.
30081
30082 2005-03-07  Wim Taymans  <wim@fluendo.com>
30083
30084         * Makefile.am:
30085         * configure.ac:
30086         * docs/design/part-MT-refcounting.txt:
30087         * docs/design/part-conventions.txt:
30088         * docs/design/part-gstobject.txt:
30089         * docs/design/part-relations.txt:
30090         * examples/mixer/mixer.c: (main):
30091         * examples/thread/thread.c: (eos), (main):
30092         * gst/Makefile.am:
30093         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30094         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30095         (gst_spider_plug_from_srcpad):
30096         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30097         (gst_spider_identity_change_state),
30098         (gst_spider_identity_sink_loop_type_finding):
30099         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30100         * gst/elements/gstidentity.c: (gst_identity_init):
30101         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30102         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30103         * gst/elements/gsttypefindelement.c: (free_entry):
30104         * gst/gst.c:
30105         * gst/gst.h:
30106         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30107         (gst_bin_set_clock_func), (gst_bin_auto_clock),
30108         (gst_bin_set_index), (gst_bin_set_element_sched),
30109         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30110         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30111         (gst_bin_iterate_elements), (iterate_child_recurse),
30112         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30113         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30114         (compare_interface), (gst_bin_get_by_interface),
30115         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30116         * gst/gstbin.h:
30117         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30118         (gst_buffer_default_free), (gst_buffer_default_copy),
30119         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30120         (gst_buffer_create_sub):
30121         * gst/gstbuffer.h:
30122         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30123         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30124         (gst_caps_unref), (gst_static_caps_get),
30125         (gst_caps_remove_and_get_structure), (gst_caps_append),
30126         (gst_caps_append_structure), (gst_caps_remove_structure),
30127         (gst_caps_copy_nth), (gst_caps_set_simple),
30128         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30129         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30130         (gst_caps_structure_intersect_field), (gst_caps_intersect),
30131         (gst_caps_structure_subtract_field), (gst_caps_subtract),
30132         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30133         (gst_caps_structure_figure_out_union),
30134         (gst_caps_switch_structures), (gst_caps_do_simplify),
30135         (gst_caps_replace), (gst_caps_from_string),
30136         (gst_caps_copy_conditional):
30137         * gst/gstcaps.h:
30138         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30139         (_gst_clock_id_free), (gst_clock_id_unref),
30140         (gst_clock_id_compare_func), (gst_clock_id_wait),
30141         (gst_clock_id_wait_async), (gst_clock_class_init),
30142         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30143         (gst_clock_get_time), (gst_clock_set_time_adjust),
30144         (gst_clock_set_property), (gst_clock_get_property):
30145         * gst/gstclock.h:
30146         * gst/gstcompat.h:
30147         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30148         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30149         * gst/gstdata.h:
30150         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30151         (gst_element_requires_clock), (gst_element_provides_clock),
30152         (gst_element_set_clock), (gst_element_clock_wait),
30153         (gst_element_wait), (gst_element_set_time_delay),
30154         (gst_element_is_indexable), (gst_element_add_pad),
30155         (gst_element_add_ghost_pad), (gst_element_remove_pad),
30156         (pad_compare_name), (gst_element_get_static_pad),
30157         (gst_element_request_pad), (gst_element_get_request_pad),
30158         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30159         (gst_element_class_get_pad_template_list),
30160         (gst_element_class_get_pad_template), (gst_element_error_func),
30161         (gst_element_get_random_pad), (gst_element_get_event_masks),
30162         (gst_element_send_event), (gst_element_seek),
30163         (gst_element_get_query_types), (gst_element_query),
30164         (gst_element_get_formats), (gst_element_convert),
30165         (gst_element_is_locked_state), (gst_element_set_locked_state),
30166         (gst_element_sync_state_with_parent), (gst_element_change_state),
30167         (gst_element_finalize), (gst_element_yield),
30168         (gst_element_interrupt), (gst_element_set_scheduler),
30169         (gst_element_get_scheduler), (gst_element_set_loop_function):
30170         * gst/gstelement.h:
30171         * gst/gstevent.h:
30172         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30173         (gst_format_get_by_nick), (gst_format_get_details),
30174         (gst_format_iterate_definitions):
30175         * gst/gstformat.h:
30176         * gst/gstindex.c: (gst_index_gtype_resolver):
30177         * gst/gstinfo.c:
30178         * gst/gstinfo.h:
30179         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30180         (gst_mem_chunk_free):
30181         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30182         (gst_object_ref), (gst_object_unref), (gst_object_sink),
30183         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30184         (gst_object_dispatch_properties_changed),
30185         (gst_object_set_name_default), (gst_object_set_name),
30186         (gst_object_get_name), (gst_object_set_name_prefix),
30187         (gst_object_get_name_prefix), (gst_object_set_parent),
30188         (gst_object_get_parent), (gst_object_unparent),
30189         (gst_object_check_uniqueness), (gst_object_save_thyself),
30190         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30191         (gst_object_set_property), (gst_object_get_property),
30192         (gst_object_get_path_string):
30193         * gst/gstobject.h:
30194         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30195         (gst_real_pad_init), (gst_real_pad_get_property),
30196         (gst_pad_custom_new), (gst_pad_get_direction),
30197         (gst_pad_set_active), (gst_pad_is_active),
30198         (gst_pad_set_event_function), (gst_pad_is_linked),
30199         (gst_pad_link_free), (gst_pad_link_intersect),
30200         (gst_pad_link_fixate), (gst_pad_set_caps),
30201         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30202         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30203         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30204         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30205         (gst_pad_get_caps), (gst_pad_peer_get_caps),
30206         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30207         (gst_pad_realize), (gst_pad_get_allowed_caps),
30208         (gst_real_pad_dispose), (gst_real_pad_finalize),
30209         (gst_pad_collectv), (gst_pad_collect_valist),
30210         (gst_pad_template_dispose), (gst_pad_template_new),
30211         (gst_pad_get_internal_links):
30212         * gst/gstpad.h:
30213         * gst/gstpipeline.c: (gst_pipeline_dispose),
30214         (gst_pipeline_change_state):
30215         * gst/gstpipeline.h:
30216         * gst/gstplugin.c:
30217         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30218         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30219         * gst/gstpluginfeature.h:
30220         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30221         * gst/gstquery.c: (_gst_query_type_initialize),
30222         (gst_query_type_register), (gst_query_type_get_by_nick),
30223         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30224         * gst/gstquery.h:
30225         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30226         * gst/gstscheduler.c: (gst_scheduler_add_element),
30227         (gst_scheduler_factory_create):
30228         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30229         (gst_structure_free), (gst_structure_set_name),
30230         (gst_structure_id_set_value), (gst_structure_set_value),
30231         (gst_structure_set_valist), (gst_structure_remove_field),
30232         (gst_structure_remove_fields),
30233         (gst_structure_remove_fields_valist),
30234         (gst_structure_remove_all_fields), (gst_structure_foreach),
30235         (gst_structure_map_in_place),
30236         (gst_caps_structure_fixate_field_nearest_int),
30237         (gst_caps_structure_fixate_field_nearest_double):
30238         * gst/gststructure.h:
30239         * gst/gstsystemclock.c: (gst_system_clock_class_init),
30240         (gst_system_clock_init), (gst_system_clock_dispose),
30241         (gst_system_clock_async_thread),
30242         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30243         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30244         * gst/gstsystemclock.h:
30245         * gst/gsttag.c: (gst_tag_list_add_value_internal),
30246         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30247         * gst/gsttaginterface.c:
30248         * gst/gstthread.c: (gst_thread_dispose),
30249         (gst_thread_release_children_locks), (gst_thread_change_state),
30250         (gst_thread_main_loop):
30251         * gst/gsttrashstack.h:
30252         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30253         * gst/gsttypes.h:
30254         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30255         (gst_element_request_pad), (gst_element_get_pad_from_template),
30256         (gst_element_request_compatible_pad),
30257         (gst_element_get_compatible_pad_filtered),
30258         (gst_element_get_compatible_pad), (gst_element_state_get_name),
30259         (gst_element_link_pads_filtered), (gst_element_link_filtered),
30260         (gst_element_link_many), (gst_element_link),
30261         (gst_element_link_pads), (gst_element_unlink_pads),
30262         (gst_element_unlink_many), (gst_element_unlink),
30263         (gst_pad_can_link_filtered), (gst_pad_can_link),
30264         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30265         (gst_object_default_error), (gst_bin_add_many),
30266         (gst_bin_remove_many), (gst_element_populate_std_props),
30267         (gst_element_class_install_std_props), (gst_buffer_merge),
30268         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30269         (link_fold_func), (gst_pad_proxy_setcaps):
30270         * gst/gstutils.h:
30271         * gst/gstvalue.c: (gst_value_deserialize_string):
30272         * gst/parse/grammar.y:
30273         * gst/schedulers/gstbasicscheduler.c:
30274         (gst_basic_scheduler_cothreaded_chain),
30275         (gst_basic_scheduler_chain_recursive_add),
30276         (gst_basic_scheduler_pad_link):
30277         * gst/schedulers/gstoptimalscheduler.c:
30278         (get_group_schedule_function),
30279         (gst_opt_scheduler_state_transition),
30280         (gst_opt_scheduler_add_element), (element_get_reachables_func):
30281         * libs/gst/bytestream/bytestream.c:
30282         * libs/gst/dataprotocol/dataprotocol.c:
30283         (gst_dp_header_from_buffer):
30284         * po/nb.po:
30285         * po/ru.po:
30286         * tests/threadstate/threadstate2.c: (eos):
30287         * tools/gst-compprep.c: (main):
30288         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30289         (print_pad_info), (print_children_info):
30290         * tools/gst-launch.c: (idle_func), (main):
30291         * tools/gst-md5sum.c: (idle_func), (main):
30292         * tools/gst-xmlinspect.c: (print_element_info):
30293         First THREADED backport attempt, focusing on adding locks and
30294         making sure the API is threadsafe. Needs more work. More docs
30295         follow this week.
30296
30297 2005-02-24  Andy Wingo  <wingo@pobox.com>
30298
30299         * tests/bench-complexity.scm:
30300         * tests/complexity.gnuplot: New files, good for running complexity
30301         benchmarks.
30302
30303         * tests/Makefile.am:
30304         * tests/complexity.c: New test, sets up N elements, at each level
30305         teeing into M streams per element. Eeeenteresting.
30306
30307         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30308         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30309         running bench-mass_elements.scm.
30310
30311         * tests/bench-mass_elements.scm: New script, runs mass_elements
30312         for various numbers of identities, outputting the results to a
30313         file. Requires guile 1.6. Just for testing.
30314
30315 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30316
30317         * gst/schedulers/fairscheduler.c:
30318           compile with debug disabled
30319
30320 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30321
30322         * configure.ac:
30323           hunting season on 0.9 is now OPEN