gst/gstpad.c: Only sanity-check the buffer size if requested_caps == buffer_caps...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
2
3         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
4           Only sanity-check the buffer size if requested_caps == buffer_caps
5           (ie. don't take pad caps into account, they're not relevant here)
6
7 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
8
9         * plugins/elements/gsttee.c:
10         * plugins/elements/gsttee.h:
11           Reverting as not everything is clear yet. Needs some general design
12           work.
13
14 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
15
16         * ChangeLog:
17           ChangeLog surgery for tee commit.
18
19 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
20
21         * docs/gst/gstreamer-sections.txt:
22           Cleanup section-file.
23
24 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
25
26         * plugins/elements/gsttee.c:
27         * plugins/elements/gsttee.h:
28           Relay tag events in tee. Fixes parts of #474016.
29           Downgrades 3 reoccurring debugs to log.
30
31 2008-07-28  Michael Smith <msmith@songbirdnest.com>
32
33         * configure.ac:
34         * libs/gst/Makefile.am:
35           Build the net library if we have winsock2.
36
37 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
38
39         patch by: Luc Pionchon <luc.pionchon@nokia.com>
40
41         * docs/manual/advanced-threads.xml:
42         * docs/manual/diagrams-pipelines.svg:
43         * docs/manual/hello-world.png:
44         * docs/manual/linked-elements.png:
45         * docs/manual/mime-world.png:
46         * docs/manual/queue.png:
47         * docs/manual/thread-buffering.png:
48         * docs/manual/thread-synchronizing.png:
49           Replace one diagram with two separate ones and updates others.
50           Fixes #542401.
51
52 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
53
54         * gst/gstelement.h:
55         Fix link in documentation.
56
57 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
58
59         * gst/gstmessage.c:
60         Fix confusing documentation.
61
62 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
63
64         * libs/gst/base/gstbasesrc.h:
65         revert the changes to the header file for the ABI.
66
67 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
68
69         * libs/gst/base/gstbasesrc.c:
70         * libs/gst/base/gstbasesrc.h:
71         Don't cache the seekable status.
72         Fixes bug #544174
73
74 2008-07-24  Rene Stadler  <mail@renestadler.de>
75
76         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
77         code to close the pipeline graph.  This prevents the program from
78         printing internal data flow errors.
79
80 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
81
82         * docs/manual/basics-bus.xml:
83         Correct typo. Fixes bug #544320.
84
85 2008-07-22  Michael Smith <msmith@songbirdnest.com>
86
87         * configure.ac:
88           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
89           Add check (taken from -base) for winsock, adds WIN32_LIBS
90         * gst/Makefile.am:
91           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
92           winsock.
93           Define GST_EXPORTS when building libgstreamer (only used on win32)
94         * gst/gst_private.h:
95         * gst/gstinfo.h:
96           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
97           for symbols that we need to export in both these files.
98         * gst/gstpoll.c:
99           Include gst_private.h higher up to avoid some compile problems on win32.
100
101 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
102
103         * gst/gstvalue.c:
104         Fix typos.
105
106 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
107
108         * gst/gstcaps.c:
109         Previous commit was wrong NULL caps does not exist
110         and indicate an error, so also add a FIXME to
111         gst_caps_is_equal where NULL caps are accepted.
112
113 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
114
115         * gst/gstcaps.c:
116         Allow passing of NULL to gst_caps_union
117
118 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
119
120         * gst/gstghostpad.c:
121         Add in doc that gst_ghost_pad_set_target can accept
122         NULL to clear target
123
124 2008-07-15  Michael Smith <msmith@songbirdnest.com>
125
126         * gst/gstplugin.c:
127         * gst/gstregistry.c:
128           GstRegistryPool doesn't exist; don't refer to it in docs.
129           Don't refer to functions that don't exist in docs, it's
130           unhelpful.
131
132 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
133
134         * gst/gst.c:
135         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
136
137 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
138
139         Patch by: tmatth <le dot businessman at gmail dot com>
140
141         * docs/pwg/building-testapp.xml:
142         Don't use an undeclared variable in the example program.
143         Fixes bug #542573.
144
145 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
146
147         * gst/gstdebugutils.c:
148           Squeeze ghost-pad links and remove <> from classname labels to save
149           more horizontal space.
150
151 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
152
153         * gst/gstdebugutils.c:
154           Give request and sometimes pads a different shpe style. Condense the
155           graphs a little more.
156
157 2008-07-09  Michael Smith <msmith@songbirdnest.com>
158
159         * configure.ac:
160           Don't require flex and bison if the parser is disabled.
161
162 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
163
164         * libs/gst/controller/gstinterpolationcontrolsource.c:
165         (_list_find_sorted_custom):
166         Don't use declarations after statements.
167
168 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
169
170         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
171         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
172         of the the child-added / -removed signals as GstChildProxy
173         only supports GstObjects.
174
175 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
176
177         * gst/gstdebugutils.c:
178         Fix memleak
179
180 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
181
182         Patch by: Alessandro Decina <alessandro at nnva dot org>
183
184         * gst/gstpoll.c:
185         Fix "ignored return value" compiler warning with newer glibc.
186
187 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
188
189         * gst/gstchildproxy.c:
190         Fix copy&paste error in gst_child_proxy_removed() documentation.
191
192 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
193
194         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
195           Print error debug message if plugin description fields that should
196           be set are NULL.
197
198         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
199           Don't crash if the string to serialise is NULL (it really should
200           not be, but apparently this used to work with the xml registry ...).
201
202 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
203
204         * tools/gst-plot-timeline.py:
205         Fix parsing of log messages
206
207 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
208
209         * win32/common/libgstbase.def::
210           Sort alphabetically so make check-exports doesn't barf.
211
212 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
213
214         * gst/gstevent.c:
215           Use gst_format_get_name() to improve debug output.
216
217         * gst/gstpreset.c:
218           Remove #ifdef'ed code. Add TODO comment.
219
220         * gst/gstsegment.c:
221           Add debug output to ease spotting format != segment.format assertions.
222
223 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
224
225         * tests/check/libs/gdp.c: (gst_dp_suite):
226         Also enable the GDP unit test again on PPC now that the bug
227         is fixed.
228
229 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
230
231         * libs/gst/dataprotocol/dataprotocol.c:
232         Don't write to the same region of memory as a uint64 and uint16
233         as this breaks strict aliasing rules and apparantly breaks on PPC
234         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
235
236 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
237
238         * libs/gst/controller/gstinterpolationcontrolsource.c:
239           Optimize list handling. Use own find function. Exploit that fact that
240           the list is sorted. Also pass back the node before, so that we can
241           insert quickly. Have a fast path for append.
242
243 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
244
245         * docs/design/draft-framestep.txt:
246         * docs/design/part-negotiation.txt:
247           Fix two typos.
248
249 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
250
251         * configure.ac:
252           Show configuration sumary after configure run. Based on patch by
253           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
254
255 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
256
257         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
258
259         * docs/manual/advanced-autoplugging.xml:
260         * docs/manual/advanced-threads.xml:
261         * docs/manual/basics-bins.xml:
262         * docs/manual/basics-elements.xml:
263         * docs/manual/basics-helloworld.xml:
264         * docs/manual/basics-pads.xml:
265           Add scale factor for pdf output.
266
267         * docs/manual/intro-basics.xml:
268           Switched sections "pads" and "bins" and added a pipeline diagram.
269
270         * docs/manual/intro-gstreamer.xml:
271           Added more info on gstreamer.
272
273         * docs/manual/intro-motivation.xml:
274           Commented out the whole section "current problem", which sounds
275           historical and somehow osolete; it could be turned in a positive
276           way and reused to improve the design principles.
277
278         * docs/manual/intro-preface.xml:
279           - Update URLs to library.gnome.org. 
280           - Do not mention GTK+ in preliminary reading (irrelevant). 
281           - Mention Plugin Writer's Manual and further reading only in the
282             previous section.
283           - Added a list of most relevant GObject/glib topics.
284
285         * docs/manual/Makefile.am:
286         * docs/manual/bin-element-ghost.fig:
287         * docs/manual/bin-element-ghost.png:
288         * docs/manual/bin-element-noghost.fig:
289         * docs/manual/bin-element-noghost.png:
290         * docs/manual/bin-element.fig:
291         * docs/manual/bin-element.png:
292         * docs/manual/filter-element-multi.fig:
293         * docs/manual/filter-element-multi.png:
294         * docs/manual/filter-element.fig:
295         * docs/manual/filter-element.png:
296         * docs/manual/gstreamer-overview.png:
297         * docs/manual/hello-world.fig:
298         * docs/manual/hello-world.png:
299         * docs/manual/linked-elements.fig:
300         * docs/manual/linked-elements.png:
301         * docs/manual/mime-world.fig:
302         * docs/manual/mime-world.png:
303         * docs/manual/queue.fig:
304         * docs/manual/queue.png:
305         * docs/manual/simple-player.png:
306         * docs/manual/sink-element.fig:
307         * docs/manual/sink-element.png:
308         * docs/manual/src-element.fig:
309         * docs/manual/src-element.png:
310         * docs/manual/diagrams-general.svg:
311         * docs/manual/diagrams-pipelines.svg:
312           Removed .fig, added .png counterpart.
313           
314           Fixes: #539137
315
316 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
317
318         * plugins/elements/gstmultiqueue.c:
319         * plugins/elements/gstmultiqueue.h:
320         revert extra-size-buffers stuff, caused some race conditions
321         and extra-size-buffers is not used anymore. Docs needs some updates
322
323 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
324
325         * win32/common/config.h:
326         * win32/common/gstenumtypes.c:
327         * win32/common/gstenumtypes.h:
328         * win32/common/gstversion.h:
329           Update win32 files.
330
331 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
332
333         * gst/gstdebugutils.h: (GstDebugGraphDetails),
334           (GST_DEBUG_BIN_TO_DOT_FILE):
335           Add missing Since' markers to gtk-doc blurbs.
336
337 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
338
339         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
340         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
341         (set_caps_1), (set_caps_ct1), (transform_ct1),
342         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
343         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
344         (transform_size_ct2), (buffer_alloc_ct2):
345         Add some more tests with switching caps in buffer_alloc.
346
347 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
348
349         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
350         (gst_test_trans_class_init), (result_sink_chain),
351         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
352         (gst_test_trans_push), (gst_test_trans_pop):
353         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
354         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
355         (set_caps_1), (set_caps_ct1), (transform_ct1),
356         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
357         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
358         (transform_size_ct2), (buffer_alloc_ct2),
359         (gst_basetransform_suite):
360         More tests, prepare for tests with switching caps in buffer_alloc.
361
362 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
363
364         * plugins/elements/gstmultiqueue.c:
365         * plugins/elements/gstmultiqueue.h:
366         Fix dead-lock in underrun_cb
367
368 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
369
370         * docs/design/part-states.txt:
371         Fix device open/close docs.
372
373 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
374
375         * ChangeLog:
376           Mention bugnumber for last commit.
377
378 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
379
380         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
381
382         * docs/manual/manual.xml:
383         - Reorganised the previous "introduction" bundle into Foreword,
384         Introduction, and About GStreamer. The two first are <preface>
385         docbook elements. The later is the first part of the book.
386         - added intro-gstreamer.xml (content partially from
387         intro-preface.xml)
388         - moved appendix-win32.xml into appendix-integration.xml
389
390         * docs/manual/intro-preface.xml: gstreamer section moved...
391         * docs/manual/intro-gstreamer.xml: ...here. new file.
392
393         * docs/manual/appendix-win32.xml: removed file. Content moved...
394         * docs/manual/appendix-integration.xml: ...here.
395         
396         * docs/manual/highlevel-components.xml: section about GstEditor moved...
397         * docs/manual/appendix-checklist.xml: ...here.
398         
399         Fixes: 538764
400
401 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
402
403         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
404
405         * docs/manual/basics-helloworld.xml:
406         * docs/manual/hello-world.fig:
407           - Explicitely include glib.h.
408           - Do not use global variables.
409           - Use g_printerr() instead of g_print().
410           - Minor formating/renaming to increase readibility.
411           - Renamed new_pad() to on_pad_added()
412           - Improved explenatory comments.
413           - renamed ogg parser to ogg demuxer
414           - Use "autoaudiosink" instead of "alsasink".
415           Fixes: #538619
416
417 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
418
419         * ChangeLog:
420           Remove cvs conflict marker.
421
422 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
423
424         * docs/README:
425           Document that for plgin-docs we extraxt he short-desc from the element
426           details.
427
428         * docs/design/part-states.txt:
429           Tell that devices should be closed in PAUSED -> READY.
430
431         * docs/manual/README:
432           Document how tests in the manual are handled.
433
434         * docs/manuals.mak:
435           Typo in comment.
436
437 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
438
439         * gst/gstbin.c: (bin_query_latency_fold):
440         Only care about latency min and max when the sink is actually a live
441         sink.
442
443 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
444
445         * docs/design/part-block.txt:
446         Fix typo.
447
448         * docs/design/part-element-transform.txt:
449         Add notes about why transform needs to know input/output sizes.
450         Add some issues that need to be solved.
451         Add some more use cases.
452
453         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
454         (gst_test_trans_class_init), (result_sink_chain),
455         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
456         (gst_test_trans_push), (gst_test_trans_pop):
457         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
458         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
459         (set_caps_1), (set_caps_ct1), (transform_ct1),
460         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
461         (gst_basetransform_suite):
462         Add suport for different pad templates and buffer-alloc.
463         Add more checks for caps and buffer-alloc.
464         Add checks for proxy buffer alloc.
465         Add unit test for copy transform.
466
467 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
468
469         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
470
471         * docs/manual/appendix-integration.xml:
472         * docs/manual/appendix-licensing.xml:
473         * docs/manual/basics-elements.xml:
474         * docs/manual/basics-helloworld.xml:
475         * docs/manual/basics-pads.xml:
476         * docs/manual/highlevel-components.xml:
477         * docs/manual/highlevel-xml.xml:
478         * docs/manual/intro-basics.xml:
479         * docs/manual/intro-preface.xml:
480           Typo and formatting fixes (#538594).
481
482 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
483
484         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
485         Fix some memory leaks and uses of object instances that we don't
486         actually own.
487
488 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
489
490         * plugins/elements/gstmultiqueue.c:
491         Add functionality to extra-size-buffers property.
492
493 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
494
495         * plugins/elements/gstmultiqueue.c:
496         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
497         activate the pads if they are added in STATE_NULL.
498
499 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
500
501         * docs/libs/gstreamer-libs-sections.txt:
502         Add new API to doc
503         * libs/gst/check/gstcheck.c:
504         * libs/gst/check/gstcheck.h:
505         API: gst_check_teardown_pad_by_name
506
507 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
508
509         * libs/gst/check/gstcheck.c:
510         * libs/gst/check/gstcheck.h:
511         Also setup request pads and allow setup pads by name (#537812)
512         API: gst_check_setup_src_pad_by_name
513         API: gst_check_setup_sink_pad_by_name
514
515 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
516
517         * tests/check/gst/gstbuffer.c:
518         * tests/check/pipelines/parse-launch.c:
519           Use HAVE_VALGRIND_H some more.
520
521 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
522
523         * scripts/cvs-update.sh:
524           Pass arguments to make.
525           Run autoregen.sh if Makefile is not there.
526
527 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
528
529         * configure.ac:
530         * gst/gstinfo.c:
531           Don't assume that <valgrind/valgrind.h> exists just because
532           the binary is there.
533
534 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
535
536         * tests/check/Makefile.am:
537         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
538         (gst_test_trans_class_init), (gst_test_trans_init),
539         (gst_test_trans_set_data), (result_sink_chain),
540         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
541         (gst_test_trans_pop):
542         * tests/check/libs/transform1.c: (GST_START_TEST),
543         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
544         Add some test basetransform element and the beginnings of various
545         unit tests for it.
546
547 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
548
549         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
550         Increase code readability.
551         Don't try to compare buffer offsets when ther are invalid.
552
553 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
554
555         * docs/design/Makefile.am:
556           Dist some more design docs.
557
558         * docs/random/moving-plugins:
559           Small addition: good plugins mustn't have functional code
560           within assertion macros.
561
562 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
563
564         * docs/design/draft-framestep.txt:
565         Some ideas about a framestep API
566
567         * docs/design/part-element-transform.txt:
568         Start design and use cases for basetransform in order to get it
569         fixed soon.
570
571 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
572
573         * gst/gsttaglist.h:
574           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
575           be in UTF-8 encoding.
576
577 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
578
579         * gst/gstbus.c:
580           Make it known that gst_bus_poll() is pure evil (fixes #538810).
581
582 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
583
584         * plugins/elements/gstcapsfilter.c:
585         * plugins/elements/gstfakesink.c:
586         * plugins/elements/gstfakesrc.c:
587         * plugins/elements/gstfdsink.c:
588         * plugins/elements/gstfdsrc.c:
589         * plugins/elements/gstfilesink.c:
590         * plugins/elements/gstfilesrc.c:
591         * plugins/elements/gstidentity.c:
592         * plugins/elements/gstmultiqueue.c:
593         * plugins/elements/gstqueue.c:
594         * plugins/elements/gsttee.c:
595         * plugins/elements/gsttypefindelement.c:
596           Remove short_description. Add basic docs for gsttypefindelement.
597           Simplify markup for fakesrc/fdsrc.
598
599 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
600
601         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
602         Added Since doc.
603
604 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
605
606         Patch by: joel larsson <tilljoel at gmail dot com>
607
608         * docs/plugins/gstreamer-plugins.args:
609         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
610         (gst_fd_src_init), (gst_fd_src_update_fd),
611         (gst_fd_src_set_property), (gst_fd_src_get_property),
612         (gst_fd_src_create):
613         * plugins/elements/gstfdsrc.h:
614         Add timeout property like udpsrc. Fixes #538628.
615         Add some more docs and example pipelines.
616
617 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
618
619         * docs/libs/gstreamer-libs-sections.txt:
620         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
621         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
622         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
623         (gst_base_sink_do_sync):
624         * libs/gst/base/gstbasesink.h:
625         * win32/common/libgstbase.def:
626         Add method to allow sinks to specify additional delay between the sync
627         times and the actual rendering of the data.
628         API: gst_base_sink_set_render_delay()
629         API: gst_base_sink_get_render_delay()
630
631 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
632
633         * configure.ac:
634         Bump version number back to dev -> 0.10.20.1
635
636 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
637
638         * docs/gst/gstreamer-sections.txt:
639         * gst/gsttaglist.c: (_gst_tag_initialize):
640         * gst/gsttaglist.h:
641         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
642         Fixes bug #538568.
643
644 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
645
646         * libs/gst/controller/gstcontroller.c:
647           Revert one change, that make ret value possible uninitialized.
648
649 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
650
651         * libs/gst/controller/gstcontroller.c:
652           Use freeze/thaw notify to sync notify emission a bit (its also more
653           efficient). Move debug output to LOG (is called a lot in a loop).
654           Always unset g_values if the have been initialized.
655
656 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
657
658         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
659         (gst_base_sink_wait_eos), (gst_base_sink_event):
660         If we have not seen a buffer before EOS, use the segment values to
661         report the current position instead of invalid positions.
662
663 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
664
665         * docs/plugins/tmpl/.cvsignore:
666         * tests/check/gst/.cvsignore:
667           Ignore more.
668
669 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
670
671         * libs/gst/controller/gstinterpolation.c:
672         * libs/gst/controller/gstinterpolationcontrolsource.c:
673         * tests/check/libs/controller.c:
674           Rewrite handling of default values. Fix overflow with unsigned types
675           in linear interpolation. Remove now obsolete _first_value() function.
676           Add more tests. Fixes #538201.
677
678 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
679
680         * libs/gst/base/gstbasetransform.c:
681         (gst_base_transform_class_init), (gst_base_transform_init),
682         (gst_base_transform_transform_caps),
683         (gst_base_transform_prepare_output_buffer):
684         Add debug info.
685         When a buffer is writable, its metadata is also writable so we don't
686         need to subbuffer (which then makes the buffer not-writable anymore).
687
688 === release 0.10.20 ===
689
690 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
691
692         * configure.ac:
693           releasing 0.10.20, "You Crazy Diamond"
694
695 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
696
697         * configure.ac:
698         0.10.19.3 pre-release
699
700 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
701
702         * configure.ac:
703         * gst/gstpreset.c:
704         Rename DATADIR to GST_DATADIR to avoid build problems
705         on win32. Patch By: David Schleef <ds@schleef.org>
706         Fixes: #536857
707
708 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
709
710         * configure.ac:
711         Explicitely link with -ldl if dladdr() is found there. Before it was
712         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
713         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
714
715 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
716
717         * gst/gsterror.c: (_gst_stream_errors_init):
718           Fix typo (spotted by Fabricio Godoy, #536723).
719
720 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
721
722         * configure.ac:
723         0.10.19.2 pre-release
724
725 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
726
727         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
728         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
729         Add some debug.
730         Make sure we don't generate invalid QoS messages.
731
732 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
733
734         * gst/gstevent.c: (gst_event_new_qos):
735         Add some assert and docs for invalid input to the qos function.
736
737 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
738
739         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
740         (gst_base_sink_get_position):
741         The reported position must always be smaller than the last seen
742         timestamps (or timestamp + duration for reverse).
743
744 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
745
746         Patch by: Rob Bradford <rob at robster dot org dot uk>
747
748         * gst/gstregistry.c: (gst_registry_scan_path_level):
749         Don't recurse into .debug directories as some distros install
750         the debugging symbols next to the plugins in .debug directories
751         and dlopen() crashes on them sometimes. Fixes bug #508070.
752
753         Add FIXME for 0.11 to not recurse into directories at all because
754         it's very inconsistent to the behaviour of other PATH environment
755         variables.
756
757 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
758
759         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
760         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
761         Fix position query range checks in reverse playback.
762
763 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
764
765         * gst/gstelement.c:
766         * gst/gstelement.h:
767         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
768         clear of the reference to the resulting pad must be released later
769         or not, resulting in possible leaks. Fixes bug #533865.
770
771 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
772
773         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
774
775         * gst/gstelementfactory.c:
776         Small doc fix. Fixes #535285.
777
778 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
779
780         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
781
782         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
783         (gst_base_src_get_range), (gst_base_src_pad_get_range),
784         (gst_base_src_loop), (gst_base_src_set_flushing),
785         (gst_base_src_change_state):
786         Make sending an EOS event to the basesrc non-blocking even if the
787         implementation does blocking waits in the create function. This is done
788         by unlocking the create function when EOS is sent.
789         Fixes #535218.
790
791 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
792
793         * tools/gst-inspect.c: (print_element_properties_info):
794         If possible print the element type of GValueArray properties.
795
796 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
797
798         * gst/gstiterator.c:
799         Remove an unused field from the private GstListIterator struct.
800
801 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
802
803         * libs/gst/controller/gstcontroller.c:
804           Add parameter guards.
805
806 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
807
808         * tests/check/gst/gstpipeline.c:
809           Revert test change and add comment why it should not work.
810
811 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
812
813         * tests/check/gst/gstpipeline.c:
814           Extending the test a little to verify that we also get the NULL state-
815           change message.
816
817 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
818
819         * gst/gstpreset.c: (gst_preset_default_get_meta),
820           (gst_preset_get_preset_names), (gst_preset_get_property_names),
821           (gst_preset_load_preset), (gst_preset_save_preset),
822           (gst_preset_rename_preset), (gst_preset_delete_preset),
823           (gst_preset_set_meta):
824           Add Since: markers to docs blurbs.
825
826         * win32/common/libgstreamer.def:
827           Add recently-added API.
828
829 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
830
831         Patch by: Stefan Kost  <ensonic@users.sf.net>
832
833         * configure.ac:
834         Add DATADIR for storing presets.
835
836         * docs/gst/gstreamer-docs.sgml:
837         * docs/gst/gstreamer-sections.txt:
838         * docs/gst/gstreamer.types.in:
839         Add GstPreset to docs.
840
841         * gst/Makefile.am:
842         * gst/gst.h:
843         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
844         (preset_open_and_parse_header), (preset_parse_version),
845         (preset_merge), (preset_get_keyfile),
846         (gst_preset_default_get_preset_names),
847         (gst_preset_default_get_property_names),
848         (gst_preset_default_load_preset),
849         (gst_preset_default_save_presets_file),
850         (gst_preset_default_save_preset),
851         (gst_preset_default_rename_preset),
852         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
853         (gst_preset_default_get_meta), (gst_preset_default_randomize),
854         (gst_preset_default_reset), (gst_preset_get_preset_names),
855         (gst_preset_get_property_names), (gst_preset_load_preset),
856         (gst_preset_save_preset), (gst_preset_rename_preset),
857         (gst_preset_delete_preset), (gst_preset_set_meta),
858         (gst_preset_get_meta), (gst_preset_class_init),
859         (gst_preset_base_init), (gst_preset_get_type):
860         * gst/gstpreset.h:
861         Add GstPreset to core. Fixes #396779
862
863         * tests/check/Makefile.am:
864         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
865         (gst_preset_test_set_property), (gst_preset_test_class_init),
866         (gst_preset_test_base_init), (gst_preset_test_get_type),
867         (gst_preset_test_plugin_init), (GST_START_TEST),
868         (remove_preset_file), (test_setup), (test_teardown),
869         (gst_preset_suite):
870         Add GstPreset unit tests.
871
872 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
873
874         * gst/gstpad.c: (gst_pad_event_default_dispatch):
875         The default event function on a sinkpad should return TRUE when
876         there are no internal links but should collect the return values from
877         the internal links otherwise.
878
879 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
880
881         * plugins/elements/gsttypefindelement.c:
882         (gst_type_find_element_src_event),
883         (gst_type_find_element_handle_event):
884         Use faster and safer _pad_push_event().
885
886 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
887
888         * docs/gst/gstreamer-sections.txt:
889         * gst/gstutils.c: (element_find_unlinked_pad),
890           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
891         * gst/gstutils.h:
892           API: add gst_bin_find_unlinked_pad()
893           API: deprecate gst_bin_find_unconnected_pad() (#401456)
894
895 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
896
897         * gst/gstclock.c:
898         * gst/gstclock.h:
899         * gst/gsttask.c:
900         * gst/gsttask.h:
901         Fixed a bunch of typos.
902
903 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
904
905         * gst/gstpad.h:
906         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
907           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
908           (gst_parse_bin_from_description_full):
909         * gst/gstutils.h:
910           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
911
912 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
913
914         * docs/pwg/advanced-tagging.xml:
915           Small docs update, can't be bothered to rewrite the nonsensical
916           examples right now.
917
918 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
919
920         * gst/gstevent.h:
921           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
922
923 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
924
925         * gst/parse/grammar.y:
926           Remove unneeded casts.
927
928 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
929
930         * gst/parse/grammar.y:
931         * tests/check/pipelines/parse-launch.c:
932           Get all missing elements from a parse launch string if possible
933           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
934
935 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
936
937         * tests/check/Makefile.am:
938         * tests/check/pipelines/parse-launch.c:
939           Add some unit tests for the new gst_parse_launch*_full() API.
940           (Exposes a previously-existing memory leak in the error code
941           path, so adding to VALGRIND_TO_FIX for now).
942
943 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
944
945         * docs/gst/gstreamer-sections.txt:
946         * gst/gst.c: (init_post):
947         * gst/gst_private.h: (_GstParseContext):
948         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
949           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
950           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
951           (gst_parse_launch_full):
952         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
953           (GstParseFlags), (GstParseContext):
954         * gst/gstutils.c: (gst_parse_bin_from_description),
955           (gst_parse_bin_from_description_full):
956         * gst/gstutils.h:
957         * gst/parse/grammar.y:
958         * gst/parse/types.h:
959         * win32/common/libgstreamer.def:
960           Add new gst_parse_*_full API (#528178):
961           API: gst_parse_launch_full()
962           API: gst_parse_launchv_full()
963           API: gst_parse_bin_from_description_full()
964           API: gst_parse_context_new()
965           API: gst_parse_context_free()
966           API: gst_parse_context_get_missing_elements()
967
968 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
969
970         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
971
972         * docs/faq/gst-uninstalled:
973           Also support ffmpeg in gst-uninstalled.
974
975 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
976
977         * configure.ac:
978         After discussion on IRC use the binary registry as default
979         but allow to disable it with --disable-binary-registry.
980
981         * win32/common/libgstreamer.def:
982         Add the two new symbols for the binary registry.
983
984 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
985
986         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
987         * gst/gstutils.c: (gst_parse_bin_from_description):
988         * gst/parse/grammar.y: (graph):
989           More guards against bad input; typo fix; some minor clean-ups.
990
991 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
992
993         Patch by: Sjoerd Simons <sjoerd at luon dot net>
994
995         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
996         If nothing else can be used, use the last buffer's start time as
997         the segment's last stop. Fixes bug #534258.
998
999 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
1000
1001         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1002           Move size sanity check to the right place: downstream may return
1003           a buffer with a smaller size if the buffer caps are different than
1004           the requested ones, as may happen when doing reverse negotiation.
1005
1006 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1007
1008         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
1009         (gst_file_sink_render):
1010         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
1011         (gst_file_src_start):
1012         Small cleanups. Add note adbout g_fopen() on windows and why we don't
1013         use it yet.
1014
1015 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1016
1017         * gst/gstpad.c: (gst_pad_load_and_link):
1018         * gst/gstutils.c: (gst_element_link_pads),
1019         (gst_element_unlink_pads):
1020         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1021         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1022         (gst_check_teardown_sink_pad),
1023         (gst_check_element_push_buffer_list):
1024         * tests/check/elements/fakesink.c: (GST_START_TEST):
1025         * tests/check/elements/filesink.c:
1026         * tests/check/elements/filesrc.c: (GST_START_TEST):
1027         * tests/check/elements/multiqueue.c: (setup_multiqueue),
1028         (mq_sinkpad_to_srcpad):
1029         * tests/check/elements/tee.c: (GST_START_TEST):
1030         * tests/check/generic/sinks.c: (GST_START_TEST):
1031         * tests/check/gst/gstbin.c: (GST_START_TEST):
1032         * tests/check/gst/gstevent.c: (GST_START_TEST):
1033         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1034         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
1035         * tests/check/gst/gstquery.c: (GST_START_TEST):
1036         * tests/check/gst/gstutils.c: (GST_START_TEST):
1037         * tests/check/libs/basesrc.c: (GST_START_TEST):
1038         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
1039         (gst_parse_test_element_change_state):
1040         Don't use gst_element_get_pad().
1041
1042 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
1043
1044         * docs/Makefile.am:
1045         Fix installing plugin documentation when gtk-doc is disabled.
1046
1047 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1048
1049         * docs/manual/advanced-autoplugging.xml:
1050         * docs/manual/basics-helloworld.xml:
1051         * docs/manual/basics-pads.xml:
1052         * docs/manual/highlevel-components.xml:
1053         Avoid using a bad function in the example code.
1054
1055 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1056
1057         * gst/gstclock.c: (gst_clock_set_calibration):
1058         Fix debug of the new clock rate.
1059
1060 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1061
1062         * win32/common/libgstbase.def:
1063         Add gst_base_sink_wait_clock() to the exported symbols.
1064
1065 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
1066
1067         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
1068
1069         * libs/gst/base/gstbasetransform.c:
1070         (gst_base_transform_sink_event):
1071         Unref events that the GstBaseTransform::event vfunc didn't want to
1072         have forwarded by the base class. Closes a leak in identity.
1073         Fixes bug #446763.
1074
1075 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1076
1077         * docs/libs/gstreamer-libs-sections.txt:
1078         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1079         * libs/gst/base/gstbasesink.h:
1080         Expose a method that was previously used internally to synchronize
1081         against the clock because it can be useful for subclasses too.
1082         API: GstBaseSink::gst_base_sink_wait_clock()
1083
1084 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1085
1086         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1087           Add sanity check to make sure we don't get smaller buffers
1088           than requested (and fallback to normal buffer alloc if we do).
1089
1090 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1091
1092         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1093         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1094         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1095         Refactor adjusting the running_time with latency and offset into a
1096         separate method.
1097         When doing clipping, we still want to use the subclass get_times method,
1098         just in case the DURATION or TIMESTAMP are not set.
1099
1100 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1101
1102         * docs/gst/gstreamer-sections.txt:
1103         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1104         * gst/gsttypefind.h:
1105         * win32/common/libgstreamer.def:
1106           API: add gst_type_find_suggest_simple(), #533740.
1107
1108 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1109
1110         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1111           Use right error code when typefinding fails, so we can use
1112           the default (translated) error messages.
1113
1114 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1115
1116         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1117         (gst_base_src_start):
1118         When the subclass did not set caps on outgoing buffers, configure the
1119         caps we negotiated on the source pad.
1120         When the typefind helper does not find caps, error out properly instead
1121         of doing things with NULL caps.
1122
1123 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1124
1125         * gst/gsttypefind.h:
1126           Tabs to spaces, oh yes!
1127
1128 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1129
1130         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1131           Add David's and Benjamin's tests for array intersection to the
1132           unit test suite (#147931).
1133
1134 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1135
1136         * gst/gstevent.c:
1137           Document that gst_event_new_tag() and gst_event_new_navigation()
1138           take ownership of the taglist/structure passed to them. (#533635).
1139
1140 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
1141
1142         * docs/Makefile.am:
1143         Don't descend into the plugins dir if plugin docs building
1144         is disabled.
1145
1146         * docs/README:
1147         Add a note about the new type:GTypeName syntax for the plugin
1148         documentation .types file.
1149
1150 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1151
1152         * gst/gstmessage.c: (gst_message_new_error),
1153         (gst_message_new_warning), (gst_message_new_info):
1154         * gst/gstmessage.h:
1155         Mark the debug string parameters as const. Fixes bug #533490.
1156
1157 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
1158
1159         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1160         Sort buffer cache list by end offsets. This makes sure that we don't
1161         stop to search for a cached buffer that contains the requested data
1162         too early.
1163         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1164         more efficient. Fixes bug #459862.
1165
1166 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
1167
1168         * gst/gstinfo.c:
1169           Explain why we copy the list.
1170
1171         * gst/gstpipeline.c:
1172           Improve docs.
1173
1174         * gst/gstutils.c:
1175           Add one debug-log statement to help tracing probelms with linking pads.
1176
1177 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
1178
1179         * tests/check/gst/gstinfo.c:
1180         Add a test for removing the default log handler. Seems to fail under
1181         windows.
1182
1183 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1184
1185         * gst/gstpad.c: (gst_pad_peer_accept_caps):
1186         Release pad lock before calling out to avoid a possible deadlock.
1187
1188 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1189
1190         * gst/parse/grammar.y:
1191         Remove unneeded value unset.
1192
1193         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1194         Add unit test for de/serialization of caps.
1195
1196 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1197
1198         * plugins/elements/gstfakesink.c:
1199         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1200         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1201         (gst_fake_src_class_init):
1202         Use custom marshalers that take GstMiniObject as first parameter.
1203         Using OBJECT as parameter while a GstMiniObject is given will lead
1204         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1205
1206 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1207
1208         * plugins/elements/gsttypefindelement.c:
1209         (gst_type_find_element_handle_event),
1210         (gst_type_find_element_send_cached_events),
1211         (gst_type_find_element_change_state):
1212         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1213         immediately.
1214
1215 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1216
1217         * plugins/elements/gsttypefindelement.c:
1218         (gst_type_find_handle_src_query), (stop_typefinding),
1219         (gst_type_find_element_handle_event),
1220         (gst_type_find_element_send_cached_events),
1221         (gst_type_find_element_change_state):
1222         Forward FLUSH_START events immediately and clean up instead of
1223         caching them.
1224
1225 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1226
1227         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1228
1229         * libs/gst/base/gstbasetransform.c:
1230         (gst_base_transform_buffer_alloc):
1231         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1232         fall back to default negotiation in the chain function if the caps
1233         are different from what was requested. Fixes bug #526768.
1234
1235 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1236
1237         * gst/gstsegment.c:
1238         * tests/check/gst/gstsegment.c:
1239           No, let's not use g_slice_{dup|copy} here, since they only exist
1240           since GLib 2.14 and we still depend only on >= 2.12. Also add
1241           unit test for gst_segment_copy().
1242
1243 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1244
1245         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1246           Try to fix 'dereferencing type-punned pointer will break strict
1247           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1248           changed the default GType typedef from gulong to gsize at some point,
1249           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1250           g_once_* functions all take a gsize * though, so work around the type
1251           mismatch for C++ by doing everything in gsize and casting to GType
1252           later.
1253
1254 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
1255
1256         * plugins/elements/gstmultiqueue.c:
1257         Add documentation for the signals to push our core plugin docs
1258         coverage back up to 100%.
1259
1260 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1261
1262         * gst/gstinfo.h (GST_FUNCTION):
1263           Reverted GST_FUNCTION to the old version as we don't want the
1264           full signature in C++ code. Also added support for MSVC.
1265
1266 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1267
1268         * gst/gstutils.h:
1269         Intern the type name string, similar to what G_DEFINE_TYPE does.
1270
1271 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1272
1273         * gst/gstutils.h:
1274         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1275
1276 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1277
1278         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1279
1280         * libs/gst/base/gstbasetransform.c:
1281         (gst_base_transform_buffer_alloc):
1282         Don't passthrough buffer allocation too easily if the caps change.
1283         This breaks when working in passthrough mode and upstream changes
1284         it's caps. Fixes bug #526768.
1285
1286 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1287
1288         * gst/gstinfo.c (gst_debug_log_valist):
1289           Improved the __FILE__ part of debug output for MSVC.
1290
1291 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1292
1293         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1294           Declaration after statement fix for compilers like MSVC.
1295
1296 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1297
1298         * win32/common/config.h.in:
1299           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1300           use the real thing than having "???" unconditionally.
1301
1302 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1303
1304         * gst/gstinfo.h (GST_FUNCTION):
1305           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1306
1307 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1308
1309         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1310         Small code cleanup.
1311
1312         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1313         (gst_base_sink_set_flushing):
1314         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1315         Fix some comments.
1316
1317 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1318
1319         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1320         (gst_fake_src_init), (gst_fake_src_set_property),
1321         (gst_fake_src_get_property), (gst_fake_src_start):
1322         * plugins/elements/gstfakesrc.h:
1323         Added format property to control the format of the newsegment events.
1324         API: GstFakeSrc:format
1325
1326 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1327
1328         * win32/common/libgstreamer.def:
1329         Add gst_pad_has_name() to the exported symbols.
1330
1331 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1332
1333         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1334         * libs/gst/base/gstbasetransform.c:
1335         (gst_base_transform_prepare_output_buffer):
1336         Don't allow negative sizes when allocating new buffers.
1337         Fixes bug #461253.
1338
1339 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1340
1341         Patch by: Sjoerd Simons <sjoerd at luon net>
1342
1343         * gst/gstbus.c: (gst_bus_source_dispatch):
1344           Don't print a warning if the queue is empty when we try to pop
1345           here. That could happen if another thread or callback set the
1346           bus to flushing between the source's check/prepare and the
1347           dispatch being called (#531538).
1348
1349 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1350
1351         * plugins/elements/gstmultiqueue.c:
1352           Small docs fix.
1353         
1354 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1355
1356         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1357         Add unit test for deserializing uint64s and check some really large
1358         numbers in the int64 test.
1359
1360 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1361
1362         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1363         (print_interfaces), (print_element_properties_info),
1364         (print_signal_info):
1365         Use "%s" as format string instead of printing strings directly.
1366
1367 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1368
1369         * gst/gstclock.c: (gst_clock_set_calibration):
1370         Make some checks actually useful.
1371
1372         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1373         Remove some unused code. Unsigned integers tend to be >= 0.
1374
1375 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1376
1377         * gst/gstminiobject.c: (gst_value_get_mini_object):
1378           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1379           function was not in the unscheduled 0.10.19 release.
1380
1381 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1382
1383         * gst/gstregistry.c: (gst_registry_scan_path_level):
1384           Only print one log message per non-plugin file.
1385
1386 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1387
1388         * gst/gstinfo.c: (gst_debug_log_default):
1389           Fix alignment of debug log columns on 64-bit.
1390
1391 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1392
1393         * docs/libs/Makefile.am:
1394         * docs/libs/gstreamer-libs-sections.txt:
1395           Ignore private controller headers for docs.
1396
1397 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1398
1399         * libs/gst/controller/gstcontrollerprivate.h:
1400         * libs/gst/controller/gsthelper.c:
1401         * libs/gst/controller/gstinterpolation.c:
1402         * libs/gst/controller/gstinterpolationcontrolsource.c:
1403         (gst_interpolation_control_source_set_interpolation_mode):
1404         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1405         * libs/gst/controller/lib.c:
1406         Move some private declarations into private headers.
1407
1408 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1409
1410         * gst/gstdebugutils.c: (debug_dump_element_pad):
1411         Remove some code that is unused after Stefan's refactoring and uses
1412         uninitialized variables now, resulting in a compiler warning.
1413
1414 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1415
1416         * gst/gstregistry.c: (gst_registry_scan_path_level):
1417           Run g_str_has_suffix() only on the file name, not the
1418           entire file path.
1419
1420 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1421
1422         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1423           Since we're not called only from the chain function any longer,
1424           we can't assume that there's always data in the queue, so move
1425           the is_full check to the beginning of the loop (otherwise we'd
1426           hit the assert when changing the limit properties while the
1427           queue is empty or not running yet).
1428           Also, only set a discont if items were actually removed from
1429           the queue.
1430
1431         * tests/check/elements/queue.c: (test_leaky_downstream):
1432           Test case for the above.
1433
1434 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1435
1436         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1437
1438         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1439         (gst_queue_chain), (queue_capacity_change),
1440         (gst_queue_set_property):
1441         When changing thr max capacity of a leaky queue, immediatly drop buffers
1442         instead of waiting for a push on the sinkpad. Fixes #530637.
1443
1444 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1445
1446         * gst/gstdebugutils.c:
1447           Refactor code and fix handling of ghostpads and their proxypads.
1448
1449 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1450
1451         * docs/gst/gstreamer-sections.txt:
1452         * gst/gstevent.c: (gst_event_has_name):
1453         * gst/gstevent.h:
1454         * tests/check/gst/gstevent.c: (GST_START_TEST):
1455         Add method to conveniently check the name of a custom event with
1456         gst_event_has_name().
1457         Reformat the event docs so that related methods are put together instead
1458         of the default alphabetical sort.
1459         Update unit test with new method.
1460         API: GstEvent::gst_event_has_name()
1461
1462 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1463
1464         * libs/gst/check/Makefile.am:
1465           Don't add an explicit link to libgstreamer-0.10.la; it's already
1466           included in GST_OBJ_LIBS.
1467
1468 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1469
1470         * gst/gst.c:
1471         Register GstClock type from a type-safe context. Fixes bug #530317.
1472
1473 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1474
1475         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1476         * tools/gst-run.c:
1477           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1478
1479 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1480
1481         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1482         (gst_bin_dispose):
1483         Use the GLib stuff to create a private structure.
1484         Add some locking around some dispose methods to make them a little
1485         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1486
1487 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1488
1489         * libs/gst/base/gstbasesink.h:
1490         * libs/gst/base/gstbasesrc.h:
1491         * libs/gst/base/gstbasetransform.h:
1492         * libs/gst/base/gstcollectpads.h:
1493           Fix doc typos and unify caps a bit.
1494
1495 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1496
1497         * tools/gst-launch.1.in:
1498           Forgot to also add the envvar docs here.
1499
1500 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1501
1502         * gst/gst.c: (init_post), (gst_deinit):
1503         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1504           (test_concurrent_create), (gst_pipeline_suite):
1505           Ref some more classes in gst_init() to work around thread-safety
1506           issues in pre-2.16 GLibs, and add basic unit test.
1507
1508 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1509
1510         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1511         (gst_base_sink_send_event):
1512         Rearrange the latency query code. We always want to do the upstream
1513         query, even if we are not live so that the upstream elements can get the
1514         latency results too. If we fail doing the query and we are live, we
1515         return TRUE afterwards.
1516
1517 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1518
1519         patch by: Jason Zhao <e3423c@motorola.com>
1520
1521         * docs/gst/running.xml:
1522         * gst/gst.c:
1523           Enable/disable scan_and_update_registry() based on commandline switch
1524           or environment variable. Fixes #520468.
1525           
1526         * ChangeLog:
1527           Fix typo in my previous commit.
1528
1529 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1530
1531         * gst/gstregistrybinary.c:
1532           Add a warning if we hit unhandled factories when saving.
1533           More debug logging detail, but move to LOG category.
1534
1535 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1536
1537         * gst/gstregistry.c:
1538           Tell the *truth* when improving the documentation.
1539
1540 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1541
1542         * gst/gstelementfactory.c: (gst_element_factory_make):
1543         Unref the factory after it was used the last time, not before.
1544
1545         * gst/gstindexfactory.c: (gst_index_factory_make):
1546         Improve debugging a bit and don't leak a ref to the index factory with
1547         each call.
1548
1549 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1550
1551         * gst/gstregistry.c:
1552           Improve the documentation.
1553
1554 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1555
1556         * gst/gstsegment.c:
1557           The glib macro seems to be borked. Use g_slice_copy directly and cast
1558           in the hope that this fixes the warning on 64bit.
1559
1560 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1561
1562         * gst/gstsegment.c:
1563           Document the new function. Use g_slice_dup() (no need for
1564           gst_segment_init()).    
1565
1566 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1567
1568         * docs/gst/gstreamer-sections.txt:
1569           Move GParamSepc macros to standart section.
1570   
1571         * gst/gstbin.c:
1572           Dn't document _get_type - its in private section in docs anyway and
1573           this doc-blob was incomplete.
1574
1575         * gst/gstclock.h:
1576           Fix wrong symbol names in docs.
1577
1578         * gst/gstmacros.h:
1579           Add once doc sentence.
1580
1581         * tests/check/gst/.cvsignore:
1582           Ignore more.
1583
1584 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1585
1586         * docs/gst/Makefile.am:
1587           And remove those libs here.
1588
1589 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1590
1591         * docs/libs/Makefile.am:
1592           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1593
1594 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1595
1596         Patch by: Olivier Crete <tester at tester dot ca>
1597
1598         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1599         Add the min-threshold to the min latency if possible. Fixes #529148.
1600
1601 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1602
1603         * docs/gst/gstreamer.types.in:
1604           Stupid editor, I removed that line as it should go in yet.
1605
1606 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1607
1608         * docs/gst/gstreamer.types.in:
1609         * docs/libs/gstreamer-libs.types:
1610           Remove library types fro core docs and have them in libs docs.
1611           Reformat and cleanup. Add comment for miniobject types.
1612
1613 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1614
1615         * gst/gsturi.c: (gst_uri_get_protocol):
1616           Fix leak: g_strdown operates on the string in place, while
1617           g_ascii_strdown() returns a newly-allocated string.
1618
1619 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1620
1621         * tools/gst-inspect.c: (print_uri_handler_info),
1622         (print_element_info):
1623         Print the URI protocols and the URI type supported by the element.
1624
1625 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1626
1627         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1628         Use g_value_take_string() instead of the deprecated
1629         g_value_set_string_take_ownership().
1630
1631 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1632
1633         * gst/gstregistrybinary.c: (_gst_crc32):
1634         Return the old CRC instead of 0 if we give a NULL buffer
1635         or a buffer with a length of 0.
1636
1637 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1638
1639         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1640         (gst_uri_get_protocol), (gst_uri_has_protocol),
1641         (gst_uri_construct), (gst_uri_handler_set_uri):
1642         A valid URI scheme can also include '+', '-' and '.' additional
1643         to alphanumeric characters as per RFC 3986 Section 3.1.
1644
1645         Handle URI schemes case insensitive in all places and convert
1646         to lower-case when constructing an URI or setting an URI with
1647         the GstURIHandler interface. Fixes bug #528868.
1648         All elements can still assume (as before) that they will
1649         get passed URIs with a lower-case URI scheme by the GstURIHandler
1650         interface.
1651
1652 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1653
1654         * gst/gstcaps.c: (gst_static_caps_get):
1655         * gst/gstclock.c: (gst_clock_entry_new):
1656           Don't use g_atomic_set_int where it's not needed.
1657
1658 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1659
1660         * gst/gstvalue.c: (gst_value_deserialize_caps):
1661         * gst/parse/grammar.y:
1662         Fix 2 caps leaks.
1663
1664 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1665
1666         * gst/gstutils.c: (gst_atomic_int_set):
1667         Use g_atomic_int_set() here too instead of assignment +
1668         g_atomic_int_get().
1669
1670 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1671         
1672         * gst/gstutils.c:
1673         * gst/gstutils.h:
1674         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1675         now that we depend on new enough GLib.
1676
1677         * gst/gstcaps.c: (gst_static_caps_get):
1678         * gst/gstclock.c: (gst_clock_entry_new):
1679         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1680         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1681         (gst_debug_category_set_threshold):
1682         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1683         (gst_base_sink_set_qos_enabled):
1684         * libs/gst/net/gstnettimeprovider.c:
1685         (gst_net_time_provider_set_property):
1686         Use g_atomic_int_set() instead of gst_atomic_int_set().
1687
1688 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1689
1690         * gst/gstquery.c:
1691           Also use G_GINT64_CONSTANT for the queries.
1692
1693 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1694
1695         * gst/gstmessage.c:
1696           Use G_GINT64_CONSTANT in varargs function.
1697
1698 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1699
1700         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1701         Initialize the registry magic with zeroes.
1702
1703 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1704
1705         * gst/gstregistrybinary.c: (_gst_crc32),
1706         (gst_registry_binary_write),
1707         (gst_registry_binary_initialize_magic),
1708         (gst_registry_binary_write_cache),
1709         (gst_registry_binary_check_magic),
1710         (gst_registry_binary_read_cache):
1711         * gst/gstregistrybinary.h:
1712         Add crc32 checksum to the binary registry file and check this before
1713         accepting a registry file.
1714
1715         Also free the data list when writing to the registry file fails.
1716
1717 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1718
1719         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1720         (gst_registry_binary_load_feature),
1721         (gst_registry_binary_load_plugin):
1722         If an element supports the Uri interface, returns a valid pointer
1723         to the supported URI protocols but this pointer contains nothing
1724         don't try to save that as it will corrupt the registry.
1725
1726         Don't unref the plugin if we added it to the registry already but
1727         fail to load a feature as gst_registry_add_plugin() takes ownership
1728         of the plugin.
1729
1730         Improve debugging a bit.
1731
1732 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1733
1734         * gst/gsttaglist.h:
1735           Clarify some tag item docs after discussion on irc.
1736
1737 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1738
1739         * docs/gst/gstreamer-docs.sgml:
1740           Remove commented out plugins (they have their own docs). Update
1741           comments.
1742
1743 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1744
1745         * docs/gst/gstreamer-docs.sgml:
1746         * docs/gst/gstreamer-sections.txt:
1747         * gst/gstparamspecs.c:
1748         * gst/gstparamspecs.h:
1749           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1750           docs to own section.
1751
1752         * gst/gstvalue.c:
1753           This now only documents GValue.
1754           
1755         * docs/libs/gstreamer-libs-sections.txt:
1756         * libs/gst/controller/gstcontroller.h:
1757           Remove GST_PARAM_CONTROLLABLE.
1758
1759 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1760
1761         * docs/README:
1762           Correct file path. Tell about how to use -overrides.txt.
1763         * docs/design/draft-tagreading.txt:
1764           Small design update.
1765
1766 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1767
1768         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1769         (gst_registry_binary_load_plugin):
1770         Fix a typo in a debug message and revert change from yesterday as
1771         gst_registry_add_plugin() will only fail if something is really wrong
1772         already and we can't survive it anyway.
1773
1774 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1775
1776         * gst/gst.c: (init_post), (gst_deinit):
1777           Pre-register GstGError GType from a thread-safe context
1778           (fixes #527967); unref enum type classes in deinit.
1779
1780 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1781
1782         Patch by: Rene Stadler <mail at renestadler de>
1783
1784         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1785           Merging an empty list with another list in KEEP_ALL mode should
1786           yield an empty list as result and not the second list (#512578).
1787
1788         * tests/check/gst/gsttagsetter.c:
1789           Add unit test for tag merge modes and the aforementioned bug.
1790
1791 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1792
1793         Patch by: Rene Stadler <mail at renestadler de>
1794
1795         * gst/gsttaglist.h:
1796           Fix description to match the order in the table (#512577).
1797   
1798 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1799
1800         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1801
1802         * libs/gst/net/gstnettimepacket.h:
1803         * docs/libs/gstreamer-libs-sections.txt:
1804           Define socklen_t as int if it's not defined yet. Fixes compilation
1805           with MSVC6 and other versions where socklen_t is not defined in
1806           the windows headers (#518022).
1807
1808 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1809
1810         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1811         If gst_registry_add_plugin() fails our reference to the plugin is
1812         invalid so don't try to use it anymore and instead error out.
1813
1814 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1815
1816         * tools/gst-xmlinspect.c: (print_element_info), (main):
1817           De-cruft a bit. If no argument is specified, print all elements in
1818           XML syntax rather than a freestyle list of elements like gst-inspect.
1819           Also, don't print XML header chunk unless we actually have something
1820           to print (ie. don't print it before an error message); print error
1821           message to stderr not stdout. Remove support for printing plugin
1822           info (it would just output something freestyle along the lines of
1823           gst-inspect so far), which fixes #514507. Also add license header.
1824
1825 2008-04-11  Julien Moutte  <julien@fluendo.com>
1826
1827         Mac OS X love...
1828         * configure.ac: Merge platform specific defines, introduce a new
1829         define on OS X to remember that forking when updating registry is
1830         unsafe.
1831         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1832         module.
1833         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1834         is defined.
1835         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1836         condition that leads to absolutely no plugins being registered on
1837         OS X.
1838
1839 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1840
1841         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1842
1843         * gst/gstutils.c: (gst_pad_add_data_probe),
1844           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1845           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1846           (gst_pad_add_buffer_probe_full):
1847         * gst/gstutils.h:
1848         * docs/gst/gstreamer-sections.txt:
1849         * win32/common/libgstreamer.def:
1850           Add gst_pad_add_*_probe_full() functions with a notify callback that
1851           lets the caller free the data it passes to the probe functions. This
1852           is useful for bindings such as gst-python or gstreamermm (#526814).
1853           API: gst_pad_add_data_probe_full
1854           API: gst_pad_add_buffer_probe_full
1855           API: gst_pad_add_event_probe_full
1856
1857         * tests/check/gst/gstutils.c:
1858           Add minimal unit test to make sure freeing the data actually works
1859           as expected.
1860
1861         * tests/benchmarks/.cvsignore:
1862           Random cvsignore addendum.
1863
1864 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1865
1866         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1867           (GST_DEBUG_BIN_TO_DOT_FILE):
1868           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1869           to it in the docs (since these are macros the types of the arguments
1870           won't be shown in the docs otherwise).
1871
1872 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1873
1874         * gst/gstpad.c:
1875           Do not abort on out of memory for pad_alloc_buffer.
1876
1877 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1878
1879         * libs/gst/check/gstcheck.c:
1880           Remove blank line between symbol name ad parameters to fix gtkdoc
1881           warning.
1882
1883 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1884
1885         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1886
1887         * docs/gst/gstreamer-sections.txt:
1888         * gst/gstsegment.c:
1889         * gst/gstsegment.h:
1890         * win32/common/libgstreamer.def:
1891           Expose gst_segment_copy() to make things easier for the c++ bindings.
1892           Fixes #518932.
1893           API: gst_segment_copy()
1894
1895 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1896
1897         * gst/gst.c: (gst_init_get_option_group), (init_post):
1898           Fix const position; ref GType classes for enum types to work
1899           around thread-safety issues in GLib versions < 2.16.
1900
1901 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1902
1903         * docs/design/part-buffering.txt:
1904         Fix some typos and set the estimated total for push mode to -1.
1905
1906         * gst/gstquery.c: (gst_query_new_buffering):
1907         Set buffering-left to 0 as we're not buffering by default.
1908
1909         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1910         Implement BUFFERING query.
1911
1912 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1913
1914         Based on patch by: Milosz Derezynski <internalerror gmail com>
1915
1916         * gst/gsterror.c: (_gst_stream_errors_init):
1917         * gst/gsterror.h:
1918           Add two new error codes for encrypted content. Fixes #524659.
1919           API: GST_STREAM_ERROR_DECRYPT
1920           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1921
1922 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1923
1924         * gst/gstquery.h:
1925           Fix typo.
1926
1927         * win32/common/libgstreamer.def:
1928           Add new functions.
1929
1930 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1931
1932         * plugins/elements/gstidentity.c: (gst_identity_event),
1933         (gst_identity_start):
1934         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1935         event after processing some data. Fixes bug #526042.
1936
1937 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1938
1939         * docs/gst/gstreamer-sections.txt:
1940         * gst/gstquery.c: (gst_query_parse_latency),
1941         (gst_query_set_buffering_percent),
1942         (gst_query_parse_buffering_percent),
1943         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1944         * gst/gstquery.h:
1945         Rename _avail -> _range
1946         API: gst_query_set_buffering_range
1947         API: gst_query_parse_buffering_range
1948
1949 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1950
1951         * docs/design/part-buffering.txt:
1952         * gst/gstquark.c:
1953         * gst/gstquark.h:
1954         * gst/gstquery.c: (gst_query_parse_latency),
1955         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1956         (gst_query_parse_buffering_percent):
1957         * gst/gstquery.h:
1958         Add busy field and quark for the buffering query so that the app can
1959         only use the query to see if buffering is in progress.
1960
1961 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1962
1963         * docs/gst/gstreamer-sections.txt:
1964         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1965         (gst_message_parse_buffering_stats):
1966         * gst/gstmessage.h:
1967         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1968         (gst_query_parse_latency), (gst_query_new_buffering),
1969         (gst_query_set_buffering_percent),
1970         (gst_query_parse_buffering_percent),
1971         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1972         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1973         * gst/gstquery.h:
1974         Reorder the message docs and headers for clarity.
1975         Add aditional buffering stats API for messages.
1976         Add buffering query.
1977         Convert some leftover queries to use GstQuark.
1978         API: gst_message_set_buffering_stats
1979         API: gst_message_parse_buffering_stats
1980         API: GST_QUERY_BUFFERING
1981         API: GstBufferingMode
1982         API: gst_query_new_buffering
1983         API: gst_query_set_buffering_percent
1984         API: gst_query_parse_buffering_percent
1985         API: gst_query_set_buffering_stats
1986         API: gst_query_parse_buffering_stats
1987
1988 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1989
1990         * gst/gstmessage.c: (gst_message_new_error),
1991         (gst_message_new_warning), (gst_message_new_info),
1992         (gst_message_new_buffering), (gst_message_new_state_changed),
1993         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1994         (gst_message_new_new_clock), (gst_message_new_segment_start),
1995         (gst_message_new_segment_done), (gst_message_new_duration),
1996         (gst_message_new_async_start), (gst_message_parse_buffering),
1997         (gst_message_parse_state_changed),
1998         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1999         (gst_message_parse_new_clock), (gst_message_parse_error),
2000         (gst_message_parse_warning), (gst_message_parse_info),
2001         (gst_message_parse_segment_start),
2002         (gst_message_parse_segment_done), (gst_message_parse_duration),
2003         (gst_message_parse_async_start):
2004         Use GstQuark for messages.
2005
2006 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2007
2008         * gst/gstquark.c: (_priv_gst_quarks_initialize):
2009         * gst/gstquark.h:
2010         Add some more quarks needed for messages and queries.
2011
2012 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2013
2014         * docs/design/part-buffering.txt:
2015         Remove the "none" buffering mode, STREAM is a good default.
2016         Move estimated-time to the avail query, that's when it will be needed.
2017         Other small typo fixes and updates.
2018
2019 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
2020
2021         * gst/gstindex.c: (gst_index_resolver_get_type):
2022           Don't put descriptions into the nick field of a GEnumValue: it's not
2023           meant for that and some language bindings rely on the nick field to
2024           construct constants and the like. Fixes #526705.
2025
2026 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
2027
2028         * NEWS:
2029         * RELEASE:
2030         * gstreamer.doap:
2031           Merge other changes from 0.10.19 release branch.
2032
2033 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
2034
2035         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2036
2037         * configure.ac:
2038         Actually build dlls when cross-compiling with mingw32.
2039         Fixes bug #526247.
2040
2041 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
2042
2043         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2044
2045         * gst/gstpoll.c:
2046         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
2047
2048 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2049
2050         * docs/design/draft-latency.txt:
2051         Fix typo.
2052
2053         * docs/design/part-buffering.txt:
2054         Update design docs with more buffering ideas.
2055
2056 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
2057
2058         * configure.ac:
2059           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2060
2061 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2062
2063         * configure.ac:
2064           Revert part that belongs to the preset patch.
2065
2066 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2067
2068         * configure.ac:
2069           Add qoutes to the define. Fixes # 525961.
2070
2071 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
2072
2073         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2074         (gst_file_index_load), (gst_file_index_add_id),
2075         (gst_file_index_get_assoc_entry):
2076         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2077         (gst_mem_index_free_id), (gst_mem_index_add_id),
2078         (gst_mem_index_index_format):
2079         Use GSlice when possible.
2080
2081 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
2082
2083         * libs/gst/controller/gstinterpolationcontrolsource.c:
2084         (gst_control_point_free),
2085         (gst_interpolation_control_source_set_internal):
2086         Use GSlice for allocating the control points.
2087
2088 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
2089
2090         * plugins/elements/gsttypefindelement.c:
2091         (gst_type_find_element_class_init),
2092         (gst_type_find_element_set_property),
2093         (gst_type_find_element_get_property),
2094         (gst_type_find_element_activate):
2095         * plugins/elements/gsttypefindelement.h:
2096         Cleanup properties.
2097         Fix pad leak when peer query fails.
2098         We can still typefind when the peer returns -1.
2099         Add property to force caps and bypass typefinding. This will be used in
2100         uridecodebin.
2101         API::force-caps
2102
2103 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2104
2105         * configure.ac:
2106         Require GLib 2.12.
2107
2108         * gst/glib-compat-private.h:
2109         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2110         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2111         Unconditionally use GSlice for allocation.
2112
2113         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2114         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2115         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2116         (gst_structure_free):
2117         Use GSlice for allocation.
2118
2119 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2120
2121         * gst/parse/Makefile.am:
2122         * gst/parse/grammar.tab.pre.c:
2123         * gst/parse/grammar.tab.pre.h:
2124         * gst/parse/lex._gst_parse_yy.pre.c:
2125         Require a new enough flex and bison and remove the parser hacks to use
2126         a pre-regenerated version.
2127
2128 2008-04-01  Julien Moutte  <julien@fluendo.com>
2129
2130         patch by: Jason Zhao <E3423C@motorola.com>
2131
2132         * configure.ac: Add a configure switch to disable option parsing
2133         in gst_init.
2134         Fixes #522882.
2135
2136 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2137
2138         * configure.ac:
2139         * gst/gstregistry.c:
2140           MacOS has plugins under .so or under .dylib. Add detection for MacOS
2141           and handle this case.
2142
2143         * gst/gst.c:
2144           Add a comment here describing, why we stat each plugin and not try to
2145           be smart.
2146
2147 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
2148
2149         * libs/gst/base/gstbasetransform.c:
2150         (gst_base_transform_prepare_output_buffer):
2151         Also unset the GAP flag on buffers if we're working inplace but
2152         the element is not GAP-aware.
2153
2154         Mark a comment as FIXME 0.11.
2155
2156 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2157
2158         * gst/gst.c:
2159           Fix type in log message and add one to ease seeing how long registry
2160           cache verification takes.
2161
2162         * gst/gstregistry.c:
2163           Only test plugin filenames against G_MODULE_SUFFIX.
2164
2165 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2166
2167         * gst/gstdebugutils.c:
2168           Improve handling ghost/proxy pads.
2169
2170 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
2171
2172         * docs/gst/gstreamer-sections.txt:
2173         * gst/gstpad.c:
2174         * gst/gstpad.h:
2175           Expose macro to docs and fix link to it.
2176
2177 2008-03-27  Michael Smith <msmith@fluendo.com>
2178
2179         * libs/gst/dataprotocol/dataprotocol.c:
2180         (gst_dp_packet_from_event_1_0):
2181           When calculating GDP body CRC, use the correct pointer. 
2182           Fixes part of #522401.
2183
2184 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2185
2186         Patch by: Mark Nauwelaerts <manauw at skynet be>
2187
2188         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2189         (gst_identity_init), (gst_identity_prepare_output_buffer):
2190         Identity is not always a passthrough element, it can modify the buffer
2191         timestamps when it has a datarate and operates in single-segment mode.
2192         We therefore make it an in_place filter with a custom buffer prepare
2193         function that conditionally makes the input buffer metadata writable
2194         when needed.  Fixes #523985.
2195
2196 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2197
2198         Patch by: Mark Nauwelaerts <manauw at skynet be>
2199
2200         * gst/gstclock.h:
2201         * libs/gst/base/gstbasesrc.h:
2202         * libs/gst/base/gstbasetransform.c:
2203         * libs/gst/check/gstcheck.c:
2204         Small documentation fixes. Fixes #523978.
2205
2206 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2207
2208         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2209         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2210         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2211
2212 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2213
2214         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2215         (single_queue_underrun_cb):
2216         When trying to make room in the queue, bump the max allowed buffers
2217         bigger than the current amount of buffers in the queue. this fixes some
2218         nasty deadlocks in multiqueue when dynamically changing the limits of
2219         the queue.
2220
2221 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2222
2223         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
2224
2225         * gst/gstcaps.c: (gst_caps_set_simple),
2226         (gst_caps_set_simple_valist), (gst_caps_intersect):
2227         * gst/gstcaps.h:
2228         Constify the field gchar * params in set_simple and friends.
2229         Fixes #522326.
2230
2231 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2232
2233         * gst/gstvalue.c: (gst_value_transform_object_string):
2234         Transform a GstObject to a more meaningfull string that includes the
2235         object type in addition to its name.
2236
2237 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
2238
2239         * ChangeLog:
2240           ChangeLog surgery to add bugnumber to commit.
2241
2242 2008-03-23  Rene Stadler  <mail@renestadler.de>
2243
2244         * libs/gst/base/gstbasetransform.c:
2245         (gst_base_transform_set_gap_aware): Fix confusing documentation.
2246
2247 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2248
2249         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2250         Rename constant everywhere and don't forget one occurence.
2251
2252 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2253
2254         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2255         Align memory to the pointer size even if the architecture allows
2256         unaligned memory access. Unaligned memory access usually comes with
2257         performance penality.
2258
2259 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2260
2261         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2262         (gst_registry_binary_check_magic),
2263         (gst_registry_binary_load_pad_template),
2264         (gst_registry_binary_load_feature),
2265         (gst_registry_binary_load_plugin):
2266         Align memory to the pointer size instead of always 32 bit. Fixes
2267         unaligned memory accesses on ia64 and friends.
2268
2269         * gst/gstregistrybinary.h:
2270         Bump binary registry format version for this as it changes the
2271         format on those architectures that don't have unaligned access
2272         and 64 bit pointers.
2273
2274 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2275
2276         * docs/pwg/advanced-dparams.xml:
2277         * docs/pwg/building-props.xml:
2278         * docs/pwg/other-source.xml:
2279         * gst/glib-compat.h:
2280         * gst/gstbin.c: (gst_bin_class_init):
2281         * gst/gstclock.c: (gst_clock_class_init):
2282         * gst/gstindex.c: (gst_index_class_init):
2283         * gst/gstobject.c: (gst_object_class_init):
2284         * gst/gstpad.c: (gst_pad_class_init):
2285         * gst/gstpipeline.c: (gst_pipeline_class_init):
2286         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2287         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2288         * libs/gst/base/gstbasetransform.c:
2289         (gst_base_transform_class_init):
2290         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2291         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2292         (_gst_check_fault_handler_sighandler),
2293         (_gst_check_fault_handler_setup), (gst_check_init):
2294         * libs/gst/controller/gstcontroller.c:
2295         (_gst_controller_class_init):
2296         * libs/gst/controller/gstlfocontrolsource.c:
2297         (gst_lfo_control_source_class_init):
2298         * libs/gst/net/gstnetclientclock.c:
2299         (gst_net_client_clock_class_init):
2300         * libs/gst/net/gstnettimeprovider.c:
2301         (gst_net_time_provider_class_init):
2302         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2303         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2304         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2305         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2306         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2307         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2308         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2309         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2310         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2311         * plugins/elements/gstqueue.c: (gst_queue_class_init):
2312         * plugins/elements/gsttee.c: (gst_tee_class_init):
2313         * plugins/elements/gsttypefindelement.c:
2314         (gst_type_find_element_class_init):
2315         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2316         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2317         use it everywhere for GParamSpecs that use static strings (i.e. all).
2318         This gives us less memory usage, fewer allocations and thus less
2319         memory defragmentation. Fixes bug #523806.
2320
2321 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2322
2323         * gst/gstminiobject.c: (gst_value_dup_mini_object),
2324         (gst_param_spec_mini_object):
2325         * gst/gstminiobject.h:
2326         * win32/common/libgstreamer.def:
2327         * docs/gst/gstreamer-sections.txt:
2328         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2329         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2330         GstParamSpecMiniObject into a public header for this.
2331
2332         This make GstMiniObject a bit more consistent with GObject and makes
2333         it possible to extend the param specs.
2334
2335         gst_value_dup_mini_object is mainly useful for set_property methods.
2336
2337         Fixes bug #523798.
2338
2339         * tools/gst-inspect.c: (print_element_properties_info):
2340         Print something useful for GstMiniObject properties and not just
2341         "unknown type".
2342
2343 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2344
2345         * docs/gst/gstreamer-sections.txt:
2346         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2347         (gst_registry_binary_check_magic):
2348         * gst/gstregistrybinary.h:
2349         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2350         and add it to the (private part) of the docs to fix the build.
2351
2352 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2353
2354         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2355         (gst_registry_binary_check_magic),
2356         (gst_registry_binary_read_cache):
2357         * gst/gstregistrybinary.h:
2358         Don't use GST_MAJORMINOR for the binary registry version. Instead
2359         hardcode a value that must be changed whenever the format changes
2360         in an incompatible way.
2361         Also don't GST_ERROR when there is a version mismatch, just
2362         regenerate the registry silently.
2363
2364 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2365
2366         * configure.ac:
2367         Back to development - 0.10.18.1
2368
2369 === release 0.10.18 ===
2370
2371 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2372
2373         * configure.ac:
2374           releasing 0.10.18, "So far away"
2375
2376 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2377
2378         * configure.ac:
2379         * win32/common/config.h:
2380         0.10.17.4 pre-release
2381
2382 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2383
2384         Patch by: Ole André Vadla Ravnås
2385             <ole dot andre dot ravnas at tandberg dot com>
2386
2387         * docs/gst/gstreamer-sections.txt:
2388         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2389         (gst_poll_update_winsock_event_mask),
2390         (gst_poll_prepare_winsock_active_sets),
2391         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2392         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2393         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2394         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2395         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2396         * gst/gstpoll.h:
2397         * win32/common/libgstreamer.def:
2398         Add new function gst_poll_fd_ignored() for improved Windows
2399         compatibility.
2400         Various minor fixes and cleanups. See #520808.
2401
2402 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2403
2404         * gst/gstindex.c: (gst_index_entry_free):
2405         * gst/gstindex.h:
2406           Don't free key strings which we don't own. Fixes crash in
2407           gst_index_entry_free() (#522741).
2408
2409         * tests/check/Makefile.am:
2410         * tests/check/gst/.cvsignore:
2411         * tests/check/gst/gstindex.c: (test_index_entries),
2412           (gst_index_suite), (gst_index):
2413           Add unit test for the above.
2414
2415 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2416
2417         * win32/common/libgstreamer.def:
2418         Remove symbols that were removed recently. Fixes bug #521740.
2419
2420 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2421
2422         * configure.ac:
2423         * win32/common/config.h:
2424         0.10.17.3 pre-release
2425
2426 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2427
2428         Patch by: Ole André Vadla Ravnås
2429             <ole dot andre dot ravnas at tandberg dot com>
2430
2431         * docs/gst/gstreamer-sections.txt:
2432         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2433         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2434         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2435         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2436         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2437         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2438         (gst_poll_fd_can_write), (gst_poll_wait),
2439         (gst_poll_set_controllable), (gst_poll_restart),
2440         (gst_poll_set_flushing):
2441         * gst/gstpoll.h:
2442         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2443         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2444         (gst_net_time_provider_new):
2445         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2446         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2447         * tests/benchmarks/gstpollstress.c: (main):
2448         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2449         Remove GstPollMode from the API, it does not make sense to let the
2450         application control this.
2451         Add support for Win32.
2452         Fix the testsuite. Fixes #520671.
2453
2454 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2455
2456         Patch by: Ole André Vadla Ravnås
2457             <ole dot andre dot ravnas at tandberg dot com>
2458
2459         * gst/gstregistrybinary.c:
2460         Include io.h for write() and close() when building with MSVC. Fixes
2461         bug #520877.
2462
2463 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2464
2465         * configure.ac:
2466         * gst/gst_private.h:
2467         * gst/gstconfig.h.in:
2468         * gst/gstregistry.h:
2469         * gst/gstregistrybinary.c:
2470         * win32/common/gstconfig.h:
2471           Move registry backend API to private headers where we can. Add
2472           fixme-0.11 comments for the others. Add stubs for the xml backend when
2473           using the binary to ensure they functions exists (they should not be
2474           used though). Fixes #520756.
2475
2476 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2477
2478         * configure.ac:
2479         * win32/common/config.h:
2480         0.10.17.2 prelease
2481
2482 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2483
2484         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2485         (gst_registry_binary_read_cache):
2486         * gst/gstregistryxml.c: (gst_registry_save):
2487         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2488         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2489         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2490         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2491         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2492         Fixes #520152
2493
2494 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2495
2496         * gst/gstminiobject.c:
2497         Import gst_private.h before any other header that might include other
2498         glib headers. This fixes the build on windows using native compilers.
2499
2500 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2501
2502         * win32/common/gstconfig.h:
2503           Add here too, just for completeness.
2504
2505 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2506
2507         * configure.ac:
2508         * gst/gstconfig.h.in:
2509         * gst/gstregistry.h:
2510           Fix broken use of config.h-defined preprocessor directive in a public
2511           header file. Add a corresponding define to gstconfig.h, since we can't
2512           really remove those function declarations from the header file now
2513           (or can we? and why are they there in the first place?).
2514
2515 2008-03-03  Andy Wingo  <wingo@pobox.com>
2516
2517         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2518         the new warning.
2519
2520         * gst/gststructure.c (gst_structure_from_string): Warn if
2521         structure_from_string didn't consume the whole string, but the
2522         caller did not provide an end pointer.
2523
2524 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2525
2526         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2527
2528         * gst/gstregistryxml.c: (read_string), (load_feature):
2529           Strings allocated by libxml2 should be freed with xmlFree(), not
2530           with g_free(). Fixes issues on windows in certain contexts (#519698).
2531
2532 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2533
2534         * gst/gstinterface.c: (gst_element_implements_interface):
2535           Don't crash if the element supports the interface queried, but does
2536           not implement GstImplementsInterface. Fixes #519584.
2537
2538         * tests/check/Makefile.am:
2539         * tests/check/gst/.cvsignore:
2540         * tests/check/gst/gstinterface.c:
2541           Add unit test for the above.
2542
2543 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2544
2545         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2546         Small doc update.
2547
2548 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2549
2550         * gst/gstsegment.c: (gst_segment_set_seek),
2551         (gst_segment_to_stream_time):
2552         Improve some comment.
2553         Update variables where it makes more sense.
2554
2555 2008-02-29  Rene Stadler  <mail@renestadler.de>
2556
2557         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2558         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2559         URIHandlers implemented using language bindings.
2560
2561 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2562
2563         * gst/gstelementfactory.h:
2564         * tests/check/elements/fakesink.c:
2565         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2566         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2567         * tests/check/elements/filesink.c: (setup_filesink):
2568         * tests/check/elements/filesrc.c: (setup_filesrc):
2569         * tests/check/elements/identity.c: (setup_identity):
2570         * tests/check/elements/tee.c:
2571         * tests/check/generic/sinks.c:
2572         * tests/check/generic/states.c: (setup), (teardown):
2573         * tests/check/gst/gst.c:
2574         * tests/check/gst/gstabi.c:
2575         * tests/check/gst/gstbin.c:
2576         * tests/check/gst/gstbus.c: (pull_messages):
2577         * tests/check/gst/gstcaps.c:
2578         * tests/check/gst/gstelement.c:
2579         * tests/check/gst/gstevent.c:
2580         * tests/check/gst/gstghostpad.c:
2581         * tests/check/gst/gstiterator.c:
2582         * tests/check/gst/gstmessage.c:
2583         * tests/check/gst/gstminiobject.c: (my_foo_init):
2584         * tests/check/gst/gstobject.c: (thread_name_object),
2585         (gst_object_suite):
2586         * tests/check/gst/gstpad.c:
2587         * tests/check/gst/gstplugin.c:
2588         * tests/check/gst/gstpoll.c:
2589         * tests/check/gst/gstquery.c:
2590         * tests/check/gst/gstsegment.c:
2591         * tests/check/gst/gststructure.c:
2592         * tests/check/gst/gstsystemclock.c:
2593         * tests/check/gst/gsttask.c:
2594         * tests/check/gst/gstutils.c:
2595         * tests/check/gst/gstvalue.c:
2596         * tests/check/gst/struct_hppa.h:
2597         * tests/check/gst/struct_i386.h:
2598         * tests/check/gst/struct_ppc32.h:
2599         * tests/check/gst/struct_ppc64.h:
2600         * tests/check/gst/struct_x86_64.h:
2601         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2602         * tests/check/libs/basesrc.c:
2603         * tests/check/libs/controller.c: (GST_START_TEST):
2604         * tests/check/libs/gdp.c:
2605         * tests/check/libs/gstnetclientclock.c:
2606         * tests/check/libs/gstnettimeprovider.c:
2607         * tests/check/libs/libsabi.c:
2608         * tests/check/libs/struct_hppa.h:
2609         * tests/check/libs/struct_i386.h:
2610         * tests/check/libs/struct_ppc32.h:
2611         * tests/check/libs/struct_ppc64.h:
2612         * tests/check/libs/struct_x86_64.h:
2613         * tests/check/pipelines/cleanup.c:
2614         * tests/check/pipelines/simple-launch-lines.c:
2615         * tests/check/pipelines/stress.c:
2616         And correct even more valid sparse warnings.
2617
2618         * win32/common/libgstreamer.def:
2619         Add gst_poll_fd_init to the list of symbols.
2620
2621 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2622
2623         * gst/gstconfig.h.in:
2624         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2625         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2626         (gst_check_log_critical_func), (gst_check_drop_buffers),
2627         (gst_check_element_push_buffer_list):
2628         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2629         (gst_controller_get_type):
2630         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2631         (gst_object_get_controller), (gst_object_get_control_source):
2632         * libs/gst/controller/gstinterpolationcontrolsource.c:
2633         (gst_interpolation_control_source_new):
2634         * libs/gst/controller/gstlfocontrolsource.c:
2635         (gst_lfo_control_source_new):
2636         * libs/gst/dataprotocol/dataprotocol.c:
2637         (gst_dp_event_from_packet_0_2):
2638         * plugins/elements/gstfdsrc.c:
2639         * plugins/elements/gstmultiqueue.c:
2640         * plugins/elements/gsttee.c:
2641         * plugins/elements/gsttypefindelement.c:
2642         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2643         (gst_file_index_add_association):
2644         * plugins/indexers/gstmemindex.c:
2645         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2646         * tests/check/elements/queue.c: (setup_queue):
2647         * tests/check/gst/gstpipeline.c:
2648         * tests/check/libs/collectpads.c: (setup), (teardown),
2649         (gst_collect_pads_suite):
2650         * tests/examples/adapter/adapter_test.c:
2651         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2652         * tests/examples/xml/createxml.c:
2653         * tests/examples/xml/runxml.c:
2654         * tools/gst-inspect.c:
2655         * tools/gst-run.c:
2656         Correct all relevant warnings found by the sparse semantic code
2657         analyzer. This include marking several symbols static, using
2658         NULL instead of 0 for pointers, not using variable sized arrays
2659         on the stack, moving variable declarations to the beginning of
2660         a block and using "foo (void)" instead of "foo ()" for declarations.
2661
2662 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2663
2664         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2665         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2666         Don't reset GstPollFDs, this is not necessary at all.
2667
2668         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2669         (delayed_restart), (delayed_control):
2670         Use GST_POLL_FD_INIT.
2671
2672 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2673
2674         * gst/gstpoll.c: (gst_poll_fd_init):
2675         * gst/gstpoll.h:
2676         Added Since tags.
2677
2678         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2679         Use some more init macros.
2680
2681 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2682
2683         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2684         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2685         Use init macros and functions.
2686
2687 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2688
2689         * docs/gst/gstreamer-sections.txt:
2690         * gst/gstpoll.c: (gst_poll_fd_init):
2691         * gst/gstpoll.h:
2692         Add INIT macro and _init method for initializing the GstPollFD.
2693
2694 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2695
2696         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2697         (gst_fd_sink_update_fd):
2698         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2699         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2700         (delayed_restart), (delayed_control):
2701         Initialize some uninitialized variables as spotted by valgrind.
2702
2703 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2704
2705         * tests/benchmarks/Makefile.am:
2706         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2707         (main):
2708         Add poll stress test.
2709
2710 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2711
2712         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2713
2714         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2715         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2716         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2717         * plugins/elements/gstfdsink.h:
2718         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2719         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2720         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2721         (gst_fd_src_uri_set_uri):
2722         * plugins/elements/gstfdsrc.h:
2723         Port to GstPoll. See #505417.
2724
2725 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2726
2727         * win32/common/libgstreamer.def:
2728         Add new gst_poll_ symbols to win32 defs.
2729
2730 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2731
2732         * docs/libs/gstreamer-libs-sections.txt:
2733         * libs/gst/net/gstnetclientclock.c:
2734         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2735         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2736         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2737         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2738         * libs/gst/net/gstnetclientclock.h:
2739         * libs/gst/net/gstnettimeprovider.c:
2740         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2741         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2742         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2743         (gst_net_time_provider_new):
2744         * libs/gst/net/gstnettimeprovider.h:
2745         Use a private stuct to not break ABI.
2746
2747 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2748
2749         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2750
2751         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2752         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2753         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2754         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2755         * libs/gst/net/gstnetclientclock.h:
2756         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2757         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2758         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2759         (gst_net_time_provider_new):
2760         * libs/gst/net/gstnettimeprovider.h:
2761         Massive code removal and cleanups because of GstPoll.
2762         Fixes #505417.
2763
2764 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2765
2766         * configure.ac:
2767         Add checks for poll, ppoll and pselect.
2768
2769         * docs/gst/gstreamer-docs.sgml:
2770         * docs/gst/gstreamer-sections.txt:
2771         Add docs for GstPoll.
2772
2773         * gst/Makefile.am:
2774         * gst/gst.h:
2775         * gst/gstpoll.c: (find_index), (selectable_fds),
2776         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2777         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2778         (gst_poll_set_mode), (gst_poll_get_mode),
2779         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2780         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2781         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2782         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2783         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2784         (gst_poll_fd_can_write), (gst_poll_wait),
2785         (gst_poll_set_controllable), (gst_poll_restart),
2786         (gst_poll_set_flushing):
2787         * gst/gstpoll.h:
2788         Add generic poll abstraction. We ideally don't want to have this in core
2789         here but in glib intead...
2790         This code will be used in various network elements and ultimately for
2791         the nanosecond precision monotonic clock (that's why it's here in core).
2792         It'll allow us to implement cancelable socket operations for windows too.
2793
2794         * tests/check/Makefile.am:
2795         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2796         (delayed_stop), (delayed_restart), (delayed_flush),
2797         (delayed_control), (gst_poll_suite):
2798         Add GstPoll unit test.
2799
2800 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2801
2802         * gst/gstfilter.c:
2803           Improve documentation of gst_filter_run(). Fixes #518627.
2804
2805 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2806
2807         * docs/README:
2808           Add a few lines about the new 'check-inspected-versions' target.
2809
2810 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2811
2812         * tests/check/gst/gstevent.c:
2813           Add qos to the event test. Rename tcase/tsuite; is not only about
2814           custom events.
2815
2816 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2817
2818         * plugins/elements/gstqueue.c:
2819           Ensure that buffer metadata is writeable, before modifying. Spotted by
2820           Mike.
2821
2822 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2823
2824         * plugins/elements/gstqueue.c:
2825         * plugins/elements/gstqueue.h:
2826           When dropping buffers in leaky modes, mark next buffers we sent as
2827           DISCONT.
2828
2829 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2830
2831         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2832           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2833
2834 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2835
2836         * plugins/elements/Makefile.am:
2837         * plugins/elements/gstbufferstore.c:
2838         * plugins/elements/gstbufferstore.h:
2839         * plugins/elements/gsttypefindelement.h:
2840           Remove GstBufferStore, no idea why we were still building it.
2841           It's not used anywhere and superseded by GstAdapter.
2842
2843         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2844           (gst_file_src_create_mmap):
2845         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2846           Printf format fixes for 64-bit integers.
2847
2848 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2849
2850         * configure.ac:
2851         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2852         We're not in 0.8 times anymore.
2853
2854 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2855
2856         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2857         (gst_check_element_push_buffer_list):
2858         * libs/gst/check/gstcheck.h:
2859         Make the declaration in the header for
2860         gst_check_element_push_buffer_list match the implementation.
2861
2862         Fix up spelling, grammar and wording of the documentation in a few
2863         places, and add the Since keyword to new API functions.
2864         Use g_list_delete_link instead of g_list_remove in
2865         gst_check_drop_buffers, since it's immeasurably more efficient.
2866
2867         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2868         Use new gst_check_drop_buffers function where appropriate.
2869
2870         * win32/common/libgstbase.def:
2871         * win32/common/libgstreamer.def:
2872         Add new symbols gst_collect_pads_take_buffer, 
2873         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2874         exports
2875
2876         Changelog surgery to add API keyword to new gst_check API.
2877
2878 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2879
2880         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2881         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2882         Update pre-generated flex files with flex 2.3.34.
2883
2884 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2885
2886         * gst/gstminiobject.c:
2887           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2888           friendly to subclasses and not require them to know all internals
2889           of their parent class.
2890
2891 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2892
2893         * docs/libs/gstreamer-libs-sections.txt:
2894         * libs/gst/base/gstcollectpads.c:
2895         * libs/gst/base/gstcollectpads.h:
2896           Add sub-buffer functions to collectpads. Fixes #516187.
2897           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2898
2899 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2900
2901         * gst/gstbuffer.c:
2902           Copy selected buffer-flags when creating subbuffers.
2903           Fixes #516395.
2904
2905 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2906
2907         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2908         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2909         * gst/gstmessage.c: (gst_message_class_init),
2910         (gst_message_finalize):
2911         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2912         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2913         (gst_mmap_buffer_finalize):
2914         Properly chain up finalize functions to the parent class.
2915
2916 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2917
2918         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2919
2920         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2921         (gst_index_set_resolver_full):
2922         * gst/gstindex.h:
2923         Add new function with option to dispose of user_data in resolver.
2924         Actually call the dispose function when finalizing the object and not
2925         just when changing the resolver/filter.
2926         API: GstIndex::gst_index_set_resolver_full()
2927
2928         * docs/gst/gstreamer-sections.txt:
2929         Add new function to docs. Fixes #515469.
2930
2931 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2932
2933         * gst/gstindex.c: (gst_index_finalize):
2934         Chain up finalize to the parent class. Fixes leaking the GstObject
2935         name and other things.
2936
2937 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2938
2939         * configure.ac:
2940         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2941         pre-releases or releases.
2942
2943         * docs/faq/gst-uninstalled:
2944         Add gst-plugins-gl
2945
2946         * docs/random/release:
2947         Change one of the steps - we only upload core & base to Gnome FTP
2948
2949 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2950
2951         * gst/gstconfig.h.in:
2952           Add 'id' for example.
2953
2954         * gst/gstpad.c:
2955         * gst/gstutils.c:
2956         * plugins/elements/gstfdsink.c:
2957           Link to signals. Doc and comment fixes.
2958
2959 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2960
2961         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2962         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2963           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2964           unused and unimplemented; finally, it is plugin features, not
2965           plugins, that have ranks.
2966           
2967 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2968
2969         * gst/gstpluginfeature.h:
2970           Clarify GstRank range docs.
2971
2972 2008-02-05  David Schleef  <ds@schleef.org>
2973
2974         * gst/gst.c: Add a separate gst_deinitialized that prevents
2975           gst_init() from being called after gst_deinit().  Fixes #509559
2976
2977 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2978
2979         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2980         (gst_bin_class_init):
2981         * gst/gstelement.c: (gst_element_base_class_init),
2982         (gst_element_class_add_pad_template):
2983         * gst/gstpadtemplate.c: (gst_pad_template_init):
2984         * gst/gstpipeline.c: (gst_pipeline_get_type),
2985         (gst_pipeline_base_init), (gst_pipeline_class_init):
2986         * libs/gst/base/gstbasesink.c:
2987         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2988         (gst_base_src_base_init), (gst_base_src_class_init):
2989         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2990         (gst_capsfilter_class_init):
2991         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2992         (gst_fake_sink_class_init):
2993         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2994         (gst_fake_src_class_init):
2995         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2996         (gst_fd_sink_class_init):
2997         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2998         (gst_fd_src_class_init):
2999         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3000         (gst_file_sink_class_init):
3001         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3002         (gst_file_src_class_init):
3003         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3004         (gst_identity_class_init):
3005         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3006         (gst_multi_queue_class_init):
3007         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3008         (gst_queue_class_init):
3009         * plugins/elements/gsttee.c: (gst_tee_base_init),
3010         (gst_tee_class_init):
3011         * plugins/elements/gsttypefindelement.c:
3012         (gst_type_find_element_base_init),
3013         (gst_type_find_element_class_init):
3014         * tests/check/gst/gstelement.c: (gst_element_suite):
3015         Revert previous changes to the behaviour of GstPadTemplates, etc
3016         and the possiblity to call them in class_init as it breaks too
3017         many elements. Reopens bug #491501.
3018
3019         Should be applied again for 0.11, thus added a few FIXME 0.11 at
3020         several places.
3021
3022 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
3023
3024         * tools/gst-launch.c:
3025         Dump one graph per pipeline state-change and state change name
3026         (if GST_DEBUG_DUMP_DOT_DIR is set).
3027
3028 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
3029
3030         * gst/gstpad.c:
3031         * tests/check/gst/gstpad.c:
3032         Be sure that we have a new copy of the caps and not
3033         reffed caps from a template
3034
3035 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3036
3037         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3038         * gst/gstpipeline.c: (gst_pipeline_get_type),
3039         (gst_pipeline_class_init):
3040         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3041         (gst_base_sink_class_init):
3042         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3043         (gst_base_src_class_init):
3044         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3045         (gst_base_transform_class_init):
3046         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3047         (gst_collect_pads_class_init):
3048         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
3049         * libs/gst/net/gstnettimeprovider.c:
3050         (gst_net_time_provider_base_init),
3051         (gst_net_time_provider_class_init):
3052         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3053         (gst_capsfilter_class_init):
3054         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3055         (gst_fake_sink_class_init):
3056         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3057         (gst_fake_src_class_init):
3058         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3059         (gst_fd_sink_class_init):
3060         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3061         (gst_fd_src_class_init):
3062         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3063         (gst_file_sink_class_init):
3064         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3065         (gst_file_src_class_init):
3066         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3067         (gst_identity_class_init):
3068         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3069         (gst_multi_queue_class_init):
3070         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3071         (gst_queue_class_init):
3072         * plugins/elements/gsttee.c: (gst_tee_base_init),
3073         (gst_tee_class_init):
3074         * plugins/elements/gsttypefindelement.c:
3075         (gst_type_find_element_base_init),
3076         (gst_type_find_element_class_init):
3077         Don't use base_init where not absolutely necessary. For example it's
3078         not necessary anymore for adding pad templates or setting element
3079         details.
3080
3081         Leave empty base_init functions in several places as GST_BOILERPLATE
3082         still defines and uses them.
3083
3084 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3085
3086         * gst/gstelement.c: (gst_element_base_class_init),
3087         (gst_element_class_add_pad_template):
3088         * gst/gstpadtemplate.c:
3089         Make it possible (and recommended) to set element details and add
3090         pad templates in the class_init functions by copying the details/pad
3091         templates in GstElement's base_init.
3092
3093         Also make it possible to replace existing pad templates by adding
3094         a new one with the same name. This was done in a hackish fashion
3095         in same elements before already.
3096
3097         Don't reference pad templates that are added a second time. A
3098         new pad template has a refcount of one and is not floating anymore
3099         and to be owned by the element's class. Make this more explicit by
3100         mentioning it in the docs of gst_element_class_add_pad_template().
3101
3102         These changes are backwards compatible. Fixes bug #491501.
3103
3104         * tests/check/gst/gstelement.c:
3105         Add unit test for setting element details, adding pad templates and
3106         replacing them in a subclass.
3107
3108 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
3109
3110         * tools/gst-inspect.c: (print_interfaces),
3111         (print_element_properties_info), (print_pad_info),
3112         (print_signal_info), (print_element_info):
3113         Fix a few memory leaks.
3114
3115 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3116
3117         * docs/libs/gstreamer-libs-sections.txt:
3118         * libs/gst/check/gstcheck.c:
3119         * libs/gst/check/gstcheck.h:
3120         Add more functions for unit testing: gst_check_drop_buffers,
3121         gst_check_caps_equal, gst_check_element_push_buffer_list,
3122         gst_check_element_push_buffer
3123         API: gst_check_drop_buffers
3124         API: gst_check_caps_equal
3125         API: gst_check_element_push_buffer_list
3126         API: gst_check_element_push_buffer
3127
3128 2008-02-01  Julien Moutte  <julien@fluendo.com>
3129
3130         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3131         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3132         (gst_index_finalize), (gst_index_entry_free),
3133         (gst_index_add_association): Fix memory leaks.
3134         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3135         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3136         (gst_mem_index_free_format), (gst_mem_index_free_id),
3137         (gst_mem_index_finalize): Fix memory leaks.
3138         * win32/common/config.h: Updated to CVS HEAD.
3139
3140 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3141
3142         * docs/README:
3143           Some more details about how the plugin docs works.
3144
3145         * docs/plugins/gstreamer-plugins-sections.txt:
3146           Whitespace cleanup.
3147
3148 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3149
3150         * gst/parse/grammar.tab.pre.c:
3151         * gst/parse/grammar.tab.pre.h:
3152         * gst/parse/grammar.y:
3153         * gst/parse/lex._gst_parse_yy.pre.c:
3154           Add delayed set-property. This allows to set properties on dynamicaly
3155           created objects (pads in videomxer). Fixes #509391.
3156
3157 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3158
3159         * gst/gstutils.c:
3160         Check if caps are not NULL (fix bug #510194)
3161
3162 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3163
3164         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3165         (gst_base_sink_get_position_paused):
3166         Add fixme regarding EOS in pull mode.
3167         Fix position reporting in PAUSED for negative rates.
3168
3169 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3170
3171         * gst/gstminiobject.c: (gst_mini_object_replace):
3172         When replacing a miniobject, do a quick equality check first so that we
3173         can avoid a ref/unref pair.
3174
3175 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3176
3177         * docs/design/part-synchronisation.txt:
3178         Update some docs.
3179
3180         * docs/plugins/Makefile.am:
3181         * docs/plugins/gstreamer-plugins-docs.sgml:
3182         * docs/plugins/gstreamer-plugins-sections.txt:
3183         * plugins/elements/gstmultiqueue.c:
3184         Add multiqueue to the docs.
3185
3186 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3187
3188         * configure.ac:
3189           Back to CVS
3190
3191 === release 0.10.17 ===
3192
3193 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
3194
3195         * configure.ac:
3196           releasing 0.10.17, "Due Negligence"
3197
3198 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3199
3200         * gst/gstutils.c:
3201         Revert caps != NULL check temporarily for 0.10.17 release.
3202
3203 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3204
3205         * gst/gstutils.c:
3206         Check if caps are not NULL (fix bug #510194)
3207
3208 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3209
3210         * gst/gstutils.c:
3211         Fix compilation on systems that have posix timers but no
3212         monotonic clock.
3213         Fixes: #512715
3214         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3215         dot net>
3216
3217 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3218
3219         * tools/gst-inspect.c:
3220         Revert previous commit in preparation for an impromptu 0.10.17 release
3221
3222 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
3223
3224         * tools/gst-inspect.c: (print_interfaces),
3225         (print_element_properties_info), (print_pad_info),
3226         (print_signal_info), (print_element_info):
3227         Fix a few memory leaks.
3228
3229 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
3230
3231         * configure.ac:
3232         Back to CVS
3233
3234 === release 0.10.16 ===
3235
3236 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
3237
3238         * configure.ac:
3239           releasing 0.10.16, "Special Dispensation"
3240
3241 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
3242
3243         * configure.ac:
3244           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3245           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3246           not fail when trying to crosscompile on OpenEmbedded (#511750).
3247
3248 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
3249
3250         * docs/manuals.mak:
3251         Use $(MAKE) instead of make to fix the build if GNU make is
3252         called different. Fixes bug #510747.
3253
3254 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3255
3256         * gst/gstplugin.c: (_gst_plugin_initialize):
3257           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3258           again, which I broke two commits ago when changing the API
3259           of gst_plugin_register_static(): the g_list_foreach() in
3260           _gst_plugin_register_static still assumed the old function
3261           signature and would therefore fail (re-fixes #510187).
3262
3263         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3264           (_gst_plugin_register_static), (gst_plugin_register_static):
3265           Revert the (technically correct) change to call g_thread_init() from
3266           the pre-main() constructor. This will break programs which call
3267           g_thread_init() without an if (!g_thread_supported()) guard in their
3268           main function. We could just blame it on GLib or the application, but
3269           it's probably best to just avoid this altogether and simply not use
3270           any GLib functions here and use plain old malloc() with a simple
3271           array to store the plugins to register later when gst_init() is
3272           finally called (re-fixes #510187).
3273
3274         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3275           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3276           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3277           (GST_START_TEST), (gst_plugin_suite):
3278           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3279           works.
3280
3281 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3282
3283         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3284           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3285           This makes gtk-doc complain, but results in slightly better
3286           compiler errors. The old _gst_plugin_register_static() is
3287           still guarded, so there'll be a compiler warning about that
3288           instead. Fixes #510187 too.
3289
3290 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3291
3292         * gst/gst.c: (init_post):
3293         * gst/gstplugin.c: (_gst_plugin_register_static),
3294           (gst_plugin_register_static), (_gst_plugin_initialize):
3295         * gst/gstplugin.h: (GstPluginFilter):
3296           Change API of gst_plugin_register_static() to not take
3297           a GstPluginDesc, but rather just take all the arguments
3298           in a GstPluginDesc directly. This is more intuitive and
3299           avoids certain mistakes when porting code from
3300           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3301           Fixes #510187.
3302
3303         * tests/check/gst/gstplugin.c:
3304           Fix up for changed API.
3305
3306 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3307
3308         * docs/faq/legal.xml:
3309           Update FAQ, Totem actually has an exception these days.
3310
3311 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
3312
3313         * win32/common/libgstreamer.def:
3314         Add new API declarations
3315
3316 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3317
3318         * gst/gstminiobject.c:
3319           Spelling fixes for the API docs.
3320
3321 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3322
3323         * libs/gst/base/gstbasetransform.c:
3324           Fix long property description for QoS.
3325
3326 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
3327
3328         * gst/gst.c:
3329         _gst_trace_on is already provided by gsttrace.h, no need to declare
3330         it ourselves.
3331
3332         * docs/libs/gstreamer-libs-sections.txt:
3333         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3334         and remove strange tcase_add_test which is outputting a warning.
3335
3336         * libs/gst/check/gstcheck.c:
3337         * libs/gst/check/gstcheck.h:
3338         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3339         and define them in gstcheck.c instead of having every .c file whcih
3340         includes gstcheck.h be defining its own copy and relying on symbol
3341         interposing to marry them all, which doesn't work on Solaris.
3342
3343         * tests/check/elements/identity.c: (GST_START_TEST):
3344         Don't define 'buffers' locally, it comes from libgstcheck.
3345
3346         * tests/check/generic/sinks.c: (send_buffer):
3347         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3348
3349         * tests/check/gst/gststructure.c: (GST_START_TEST):
3350         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3351         * tests/check/gst/gstutils.c: (GST_START_TEST):
3352         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3353         Add a bunch of casts to make various constants fit the types
3354         they're being assigned to.
3355
3356 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3357
3358         * gst/gstchildproxy.c:
3359           Improve docs and add some ideas for making this more general-purpose.
3360
3361 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3362
3363         * gst/gst_private.h: (GST_CAT_TYPES):
3364           Add GST_CAT_TYPES, for consistency, and so that the other
3365           debug categories don't make fun of it. Spotted by Saur on IRC.
3366
3367 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3368
3369         * gst/parse/Makefile.am:
3370           Move types.h from EXTRA_DIST to noinst_HEADERS.
3371
3372 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3373
3374         * autogen.sh:
3375           Add -Wno-portability to the automake parameters to stop warnings
3376           about GNU make extensions being used. We require GNU make in almost
3377           every Makefile anyway.
3378
3379         * configure.ac:
3380           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3381           at the same time is required for per target flags.
3382
3383 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3384
3385         * gst/gstmacros.h:
3386           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3387           __GNUC__ is defined before using it.
3388
3389 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3390
3391         * docs/gst/gstreamer-sections.txt:
3392         * gst/gst.c: (init_post):
3393         * gst/gstplugin.c: (_gst_plugin_register_static),
3394           (gst_plugin_register_static), (_gst_plugin_initialize),
3395           (gst_plugin_register_func):
3396         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3397           API: add gst_plugin_register_static() and deprecate
3398           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3399           (#498924).
3400           Also, in _gst_plugin_register_static(), make sure to call
3401           g_thread_init() before calling GLib functions such as
3402           g_list_append() if we're not initialised yet, since that
3403           may lead to random crashes with older GSlice/GLib versions.
3404
3405         * tests/check/gst/gstplugin.c:
3406           Adapt unit test to above changes.
3407
3408 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3409
3410         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3411         * gst/gstcaps.c: (gst_caps_to_string):
3412         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3413           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3414           Yet another gratuitous GString micro-optimisation: add a (private)
3415           function that serialises a structure appending to an existing
3416           GString, so that when we serialise caps we don't need to alloc+free
3417           a throwaway GString for each structure (each of which also entailing
3418           multiple reallocs on the way); also use g_string_sized_new() in
3419           various places with an approximate string length to avoid reallocs
3420           within GString. See #500143.
3421
3422 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3423
3424         * gst/gststructure.c: (gst_structure_id_set_value):
3425           Always check UTF-8 conformance of structure strings and not only
3426           if the debugging system is enabled; reasoning: the behaviour of
3427           the actual code shouldn't really change depending on whether the
3428           debugging system is enabled or not (#508291).
3429
3430 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3431
3432         * Makefile.am:
3433           Remove old coverage target in favour of "make lcov".
3434
3435 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3436
3437         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3438         (gst_base_src_loop):
3439         The start segment for reverse playback goes from start to last_stop.
3440
3441 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3442
3443         Patch by: Peter Kjellerstedt <pkj axis com>
3444
3445         * gst/gstclock.h:
3446         Cast the results from the timeval/spec_to_time macros to what the
3447         docs say it casts to, a GstClockTime. fixes #508175.
3448
3449 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3450
3451         * gst/gstbuffer.c:
3452         Update some comments.
3453
3454         * tools/gst-inspect.c: (print_element_properties_info):
3455         Improve printing of flags.
3456
3457 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3458
3459         * libs/gst/base/gstbasetransform.c:
3460           (gst_base_transform_transform_size):
3461           Print element name with g_warning() if there's a problem
3462           with the unit size.
3463
3464 2008-01-07  David Schleef  <ds@schleef.org>
3465
3466         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3467
3468         * libs/gst/controller/gstcontroller.h:
3469         * libs/gst/controller/gstcontrolsource.h:
3470         * libs/gst/controller/gstinterpolationcontrolsource.h:
3471         * libs/gst/controller/gstlfocontrolsource.h:
3472         * libs/gst/dataprotocol/dataprotocol.h:
3473           Fix empty prototypes.  Fixes bug #507957.
3474
3475 2008-01-07  David Schleef  <ds@schleef.org>
3476
3477         * docs/faq/dependencies.xml: Fix typo.
3478
3479 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3480
3481         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3482         (gst_base_src_loop):
3483         Don't update the last_stop position in do_seek, that's the position we
3484         did a seek to.
3485         Read backwards when we have a negative rate.
3486
3487         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3488         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3489         (filesrc_suite):
3490         Add check for reverse reading.
3491
3492 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3493
3494         Patch by: Alexis Ballier <aballier at gentoo org>
3495
3496         * tests/check/gst/gstabi.c:
3497         * tests/check/gst/struct_ppc64.h:
3498         * tests/check/libs/libsabi.c:
3499         * tests/check/libs/struct_ppc64.h:
3500           Decide which header to include based on the userland ABI target
3501           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3502           for 64-bit userland (#503590).  Might need something similar for
3503           x86 too.
3504
3505 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3506
3507         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3508           Log the reason why fopen fails in addition to the fact that it failed.
3509           
3510 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3511
3512         * gst/parse/parse.l:
3513         Use "%option never-interactive" to prevent useless calls to isatty()
3514         on every input when parsing. Also use "%option noinput" to not define
3515         the static input/yyinput functions which we don't use anyway. This
3516         removes a compiler warning with gcc 4.3 and saves some bytes in the
3517         library.
3518         
3519         * gst/parse/lex._gst_parse_yy.pre.c:
3520         Regenerated for the above change.
3521
3522 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3523
3524         * gst/gstpad.c: (fixate_value):
3525         Don't crash when trying to fixate and empty list.
3526         Fixes #506643.
3527
3528 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3529
3530         * docs/faq/gst-uninstalled:
3531         Clarify the comments to make the usage of this script and what it
3532         does easier to understand.
3533
3534 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3535
3536         * tools/gst-plot-timeline.py:
3537         Add more options to gst-plot-timeline
3538
3539 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3540
3541         * docs/design/part-synchronisation.txt:
3542         Some more info on how the stream_time in GstBaseSink is done.
3543
3544 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3545
3546         * tests/check/generic/sinks.c: (gst_sinks_suite):
3547           Put back the tcase_set_timeout(), apparently it's needed after
3548           all; fix it up in a way that makes things work with valgrind too.
3549
3550 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3551
3552         * gst/gstdebugutils.c:
3553           Add warning when failed to open file for writing.
3554
3555 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3556
3557         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3558
3559         * gst/gstvalue.c: (gst_value_is_fixed):
3560           Optimisation: bail out of the loop as early as possible (#500143).
3561
3562 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3563
3564         * gst/gstcaps.c: (gst_caps_to_string):
3565         * gst/gstinfo.c: (gst_debug_construct_term_color):
3566         * gst/gstparse.c: (gst_parse_launchv):
3567         * gst/gstutils.c: (gst_util_dump_mem):
3568         * gst/gstvalue.c: (gst_value_serialize_any_list),
3569           (gst_value_transform_any_list_string):
3570           Bunch of gratuitous nano-optimisations.
3571
3572 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3573
3574         * tests/check/generic/sinks.c: (async_done_func),
3575           (async_done_eos_func):
3576           Fix leak in unit test (bus sync handler must unref the message
3577           if it returns GST_BUS_DROP). Don't fiddle with the default test
3578           timeout, this is smaller than the current preconfigured value
3579           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3580           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3581
3582 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3583
3584         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3585
3586         * configure.ac:
3587         Check for stdio_ext.h for the filesink changes.
3588
3589         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3590         (gst_file_sink_class_init), (gst_file_sink_init),
3591         (gst_file_sink_dispose), (gst_file_sink_set_property),
3592         (gst_file_sink_get_property), (gst_file_sink_open_file),
3593         (gst_file_sink_close_file):
3594         * plugins/elements/gstfilesink.h:
3595         Add two properties to control the buffering mode and size.
3596         API: GstFileSink::buffer-mode
3597         API: GstFileSink::buffer-size
3598         Fixes #500150.
3599
3600 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3601
3602         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3603         Add some more docs to explain why a FIXME was wrongly added. 
3604
3605 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3606
3607         * gst/gstobject.c:
3608           Fix typo in the gst_object_{ref,unref} documentation.
3609
3610 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3611
3612         * tests/check/libs/controller.c:
3613         * tests/check/libs/typefindhelper.c:
3614         * tests/check/pipelines/parse-launch.c:
3615           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3616           going to be deprecated (see #498924).
3617
3618 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3619
3620         * gst/gsttypefind.c: (gst_type_find_register):
3621           Make gst_type_find_register work for static typefind functions,
3622           ie. allow passing plugin == NULL (prerequisite for #498924).
3623
3624         * gst/gstelementfactory.c: (gst_element_register):
3625           Small docs addition.
3626
3627 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3628
3629         * gst/gstpad.c: (gst_pad_dispose):
3630         Really unlink the peer pad instead of setting the peer pointer to NULL
3631         when we dispose the pad.
3632         This correctly calls the unlink functions and makes sure that the peer
3633         does not have a handle to invalid memory. See #504671.
3634
3635         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3636         Add testsuite for above case.
3637
3638 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3639
3640         Patch by: Peter Kjellerstedt <pkj axis com>
3641
3642         * libs/gst/check/gstcheck.h:
3643           Fix detection of the check version we're compiling against (would
3644           otherwise break if check goes v0.10.0); correctly report the
3645           name of the failed test again in case of failure, instead of
3646           just 'tf' (fixes #504499).
3647
3648 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3649
3650         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3651         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3652         (gst_base_src_loop), (gst_base_src_set_flushing),
3653         (gst_base_src_change_state):
3654         Allow sending EOS to the source to make it send out an EOS event from
3655         the streaming thread.
3656         Update docs and deprecate the old NULL/READY shutdown method.
3657
3658         * tests/check/libs/basesrc.c: (GST_START_TEST),
3659         (gst_basesrc_suite):
3660         Add unit test for controlled shutdown.
3661
3662 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3663
3664         * docs/design/part-synchronisation.txt:
3665         Small updates.
3666
3667         * gst/gstsegment.c: (gst_segment_set_seek),
3668         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3669         (gst_segment_to_running_time):
3670         The seek format can be different from the segment format when the start
3671         and stop values are not to be updated, when we only do a rate change for
3672         example.
3673
3674         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3675         (gst_segment_suite):
3676         Add a testcase for the rate-only seeks, checking that the format is
3677         correctly ignored when start and stop are not updated.
3678
3679 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3680
3681         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3682
3683         * win32/vs8/grammar.vcproj:
3684         * win32/vs8/libgstcontroller.vcproj:
3685         * win32/vs8/libgstreamer.vcproj:
3686         Fix compilation with VS8 and include some missing files.
3687
3688 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3689
3690         * gst/gsttaglist.c:
3691           Small docs addition: mention that the strings returned by
3692           gst_tag_list_get_string*() are in UTF-8 encoding.
3693
3694 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3695
3696         * Makefile.am:
3697           The check-exports stuff moved to common/win32.mak, so include that.
3698
3699 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3700
3701         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3702         (gst_base_src_perform_seek), (gst_base_src_get_range),
3703         (gst_base_src_set_playing), (gst_base_src_change_state):
3704         Make _wait_playing() not check any variables so that we can call this
3705         function from subclasses. Move the checks elsewhere similar to
3706         _wait_preroll() in basesink.
3707         Add some debugging.
3708         Only signal the LIVE cond when we are going back to PLAYING.
3709
3710 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3711
3712         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3713           Use g_remove() and g_rename(). Check result of g_rename(), and
3714           don't leak the open file descriptor if we error out when writing.
3715
3716         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3717           Must check the return value of close() after writing out the new
3718           registry file.  Sometimes write problems such as out-of-diskspace
3719           are only reported when the file is closed and not already during
3720           the write.  This may have caused partial/broken registry files in
3721           some rare circumstances. Should fix #503675.
3722
3723 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3724
3725         * docs/gst/.cvsignore:
3726         * docs/libs/.cvsignore:
3727         * docs/plugins/.cvsignore:
3728         Ignore files generated by new common/* modifications
3729
3730 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3731
3732         * win32/common/libgstbase.def:
3733           Yes, you can also have a <TAB> if you want.
3734
3735 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3736
3737         * win32/common/libgstbase.def:
3738           Add new basetransform API to win export file.
3739
3740 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3741
3742         * tests/check/gst/gstbin.c:
3743           Adjust the test to the refcount change two days ago.
3744
3745 2007-12-14  David Schleef  <ds@schleef.org>
3746
3747         * docs/faq/getting.xml: Fix typo.
3748
3749 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3750
3751         * docs/libs/gstreamer-libs-sections.txt:
3752         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3753           (gst_base_transform_prepare_output_buffer),
3754           (gst_base_transform_set_gap_aware):
3755         * libs/gst/base/gstbasetransform.h:
3756           API: Add gst_base_transform_set_gap_aware() to control whether
3757           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3758           get buffers with this flag at all. Fixes #503231.
3759
3760 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3761
3762         * libs/gst/base/gstbasesink.c:
3763         * libs/gst/base/gstbasesrc.c:
3764         * libs/gst/base/gstbasetransform.c:
3765           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3766           thread. Correct log message in gstbasesrc.c.
3767
3768 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3769
3770         * gst/gstutils.c: (element_find_unconnected_pad):
3771           Fix possible compiler warning (#503417).
3772
3773 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3774
3775         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3776           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3777
3778 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3779
3780         * tools/gst-inspect.c: (print_element_properties_info):
3781           Add support for GstFraction properties.
3782
3783 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3784
3785         * Makefile.am:
3786           Add check-exports target and run it as part of 'make check'
3787           (see #499140 and #493983).
3788
3789         * gst/gst_private.h:
3790         * gst/gstelementfactory.h:
3791         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3792         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3793           (_priv_gst_in_valgrind):
3794         * gst/gstinfo.h: (GstLogFunction):
3795         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3796           (gst_type_find_register):
3797         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3798           (gst_type_find_factory_get_type):
3799         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3800           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3801           (gst_controller_new_valist), (gst_controller_new_list),
3802           (_gst_controller_dispose), (_gst_controller_class_init):
3803         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3804         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3805           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3806           (gst_object_get_controller), (gst_object_set_controller),
3807           (gst_object_suggest_next_sync), (gst_object_sync_values),
3808           (gst_object_set_control_source), (gst_object_get_control_source),
3809           (gst_object_get_value_arrays), (gst_object_get_value_array),
3810           (gst_object_get_control_rate), (gst_object_set_control_rate):
3811         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3812         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3813           Make some functions that should be static static; rename some
3814           private symbols so that they don't get exported; add some FIXME
3815           comments so we can move accidentally exported functions into
3816           our private section in 0.11.
3817
3818         * win32/common/libgstreamer.def:
3819           Add gst_utils_get_timestamp().
3820
3821 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3822
3823         * gst/gstvalue.c:
3824         * gst/gstvalue.h:
3825           Add more missing "Since:" tags to docs.
3826
3827 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3828
3829         * gst/gstutils.c:
3830           Add mising "Since:" to docs.
3831
3832 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3833
3834         * gst/gstplugin.c:
3835           Include "glib-compat-private.h" to fix the build on system with
3836           glib < 2.10. Fixes #503131.
3837
3838 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3839
3840         * gst/gstutils.c:
3841         * gst/gstutils.h:
3842           Actually its not PURE as it gets the time from elsewhere.
3843
3844 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3845
3846         * docs/gst/gstreamer-sections.txt:
3847         * gst/gstclock.h:
3848         * gst/gstdebugutils.c:
3849         * gst/gstinfo.c:
3850         * gst/gstutils.c:
3851         * gst/gstutils.h:
3852         * libs/gst/base/gstbasesink.c:
3853         * tools/gst-launch.c:
3854           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3855           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3856           Thanks Tim for spotting.
3857           API: gst_util_get_timestamp
3858
3859 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3860
3861         * configure.ac:
3862           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3863
3864 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3865
3866         * gst/gststructure.c: (gst_structure_validate_name),
3867           (gst_structure_new_valist), (gst_structure_parse_value),
3868           (gst_structure_from_string):
3869           Don't crash in _from_string() if the structure name is not valid
3870           (fixes #501560).  Allow structure names to start with a number
3871           again (this apparently broke the ubuntu codec installer).
3872
3873         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3874           (GST_START_TEST):
3875           Add unit test for the crash; update unit tests for new behaviour.
3876
3877 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3878
3879         * gst/gstutils.c:
3880         Clarify gst_element_get_compatible_pad() documentation.
3881         Fixes #500919.
3882
3883 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3884
3885         * tests/check/Makefile.am:
3886           Don't forget to dist {gst,libs}/struct_hppa.h.
3887
3888 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3889
3890         * libs/gst/base/gstbasesink.c:
3891           Use new API to get elapsed time.
3892
3893 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3894
3895         * gst/gstdebugutils.c:
3896         * gst/gstinfo.c:
3897           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3898
3899         * tools/gst-launch.c:
3900           Use new API to get elapsed time.
3901
3902 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3903
3904         * docs/gst/gstreamer-sections.txt:
3905         * gst/gstclock.h:
3906         * gst/gstdebugutils.c:
3907         * gst/gstinfo.c:
3908           Rename new API + ChangeLog surgery to remove old name from last entry..
3909
3910 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3911
3912         * docs/gst/gstreamer-sections.txt:
3913         * gst/gstclock.h:
3914         * gst/gstdebugutils.c:
3915         * gst/gstinfo.c:
3916           Now hide the different clock stuff behind a macro.
3917
3918 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3919
3920         * configure.ac:
3921         * gst/gstdebugutils.c:
3922         * gst/gstinfo.c:
3923           Apply the posix-timer check from #361155. Conditionally use the posix
3924           timer for logging. This gives better timestamp precission, less
3925           overhead and no ntp jitter.
3926
3927 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3928
3929         * gst/gstminiobject.c: (gst_mini_object_get_type),
3930         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3931         (gst_mini_object_finalize), (gst_mini_object_copy),
3932         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3933         (gst_mini_object_replace), (param_mini_object_validate),
3934         (gst_param_spec_mini_object_get_type):
3935         Some cleanup and checking against invalid function parameters.
3936
3937 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3938
3939         * docs/gst/gstreamer-sections.txt:
3940         * gst/gstclock.h:
3941         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3942         (gst_systemclock_suite):
3943         Start merging in the easy bits of #361155, the monotonic clock patch.
3944         This one adds a few handy macros with docs and a testsuite.
3945
3946 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3947
3948         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3949         Be a bit smarter when seeking, like, don't try to do a seek when it's
3950         not needed. This avoids errors when the file is not seekable.
3951         Fixes #499771.
3952
3953 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3954
3955         * docs/gst/gstreamer-docs.sgml:
3956         * docs/gst/gstreamer-sections.txt:
3957         * docs/gst/gstreamer.types.in:
3958         * gst/Makefile.am:
3959         * gst/gst.h:
3960         * gst/gstpreset.c:
3961         * gst/gstpreset.h:
3962         * plugins/elements/gstqueue.c:
3963           Due to popular request remove preset interface again. :-(.
3964
3965 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3966
3967         * tools/gst-inspect.c:
3968           Print 'default value' for enums and flags too.
3969
3970 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3971
3972         * docs/random/ensonic/profiling.txt:
3973           More ideas.
3974
3975         * gst/gstbin.c:
3976           Fix typo and give better log output.
3977
3978         * gst/gstdebugutils.c:
3979         * gst/gstdebugutils.h:
3980           More ideas, make graphs a bit smaller and fix param name in macro.
3981
3982 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3983
3984         * gst/gstpreset.c:
3985           Try harder to use the return value from fgets().
3986
3987 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3988
3989         * gst/gstpreset.c:
3990           For theses two fgets we handle the error below.
3991
3992 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3993
3994         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3995         Only send upstream events upstream. Fixes #498746.
3996
3997 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3998
3999         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4000
4001         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4002         (gst_identity_init), (gst_identity_transform_ip),
4003         (gst_identity_set_property), (gst_identity_get_property):
4004         * plugins/elements/gstidentity.h:
4005         Add property to disable handoff signal emission. Fixes #498694.
4006         API: GstIdentity::signal-handoffs
4007
4008 2007-11-21  Julien Moutte  <julien@fluendo.com>
4009
4010         * docs/faq/gst-uninstalled: Yet another missing library for the
4011         uninstalled script (fft)
4012
4013 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
4014
4015         * docs/faq/developing.xml:
4016         Add a question about how to submit new translations.
4017
4018         * docs/random/release:
4019         Update the contact email address for the Translation Project
4020
4021         * plugins/elements/gstfdsrc.c:
4022         The parent_class for fdsrc is pushsrc, not GstElement.
4023
4024 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
4025
4026         * gst/gstpreset.c:
4027           Plug a leak and fix saving.
4028
4029 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
4030
4031         * docs/gst/gstreamer-sections.txt:
4032         Add new gst_preset__get_property_names() function to the docs
4033         to fix the build.
4034
4035 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
4036
4037         * gst/gstpreset.c:
4038         * gst/gstpreset.h:
4039           Change _get_preset_names API to return a strv with copies. Add
4040           _get_property_names to allow implementations to filter and provide
4041           good default implementation.
4042
4043 2007-11-20  Julien MOUTTE  <julien@moutte.net>
4044
4045         * docs/faq/gst-uninstalled: Add another library to the uninstalled
4046         script (sdp).
4047
4048 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4049
4050         * gst/gstpreset.c:
4051           More cleanups, docs, and TODOs from comments that now slowly come in.
4052
4053 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4054
4055         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
4056         search path.
4057
4058 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4059
4060         * gst/gstpreset.c:
4061           Fix bogus warning and make the property type specific code more
4062           similar.
4063
4064 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4065
4066         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4067         it build on OS X.
4068
4069 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
4070
4071         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4072         (gst_bin_add_func), (gst_bin_remove_func),
4073         (gst_bin_change_state_func), (gst_bin_continue_func):
4074         Change email, cleanups add some more debug and comments.
4075         Also set bus and clock on new elements when the pipeline was in error.
4076
4077 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
4078
4079         * gst/gstbin.c:
4080         * gst/gstdebugutils.c:
4081           Fix build with --disable-gst-debug. Fixes #497859.
4082           Spotted by Sameer Naik.
4083
4084 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4085
4086         * gst/gstevent.c:
4087           Little documentation improvment.
4088
4089         * gst/gstpreset.c:
4090           More TODO cleanups. Remove c++ comments.
4091
4092         * libs/gst/controller/gstcontroller.c:
4093           Add TODO and use quark from static string.
4094
4095         * tests/check/gst/gstmessage.c:
4096         * tests/check/gst/gststructure.c:
4097           Use quark from static string.
4098
4099 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4100
4101         * gst/gstpreset.c:
4102           Add some comments and TODOs.
4103
4104         * gst/gstpreset.h:
4105           Add padding for future changes.
4106
4107         * plugins/elements/gstqueue.c:
4108           Implement the iface.    
4109
4110 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4111
4112         * docs/gst/gstreamer-docs.sgml:
4113         * docs/gst/gstreamer-sections.txt:
4114         * docs/gst/gstreamer.types.in:
4115         * gst/Makefile.am:
4116         * gst/gst.h:
4117         * gst/gstpreset.c:
4118         * gst/gstpreset.h:
4119           Add the preset interface (Fixes #396779). Do some doc cleanups along.
4120
4121 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
4122
4123         * configure.ac:
4124
4125         Back to CVS
4126
4127 === release 0.10.15 ===
4128
4129 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
4130
4131         * configure.ac:
4132           releasing 0.10.15, "October"
4133
4134 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
4135
4136         * win32/vs6/libgstreamer.dsp:
4137         Convert line endings back to DOS.
4138
4139 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
4140
4141         * docs/design/draft-tagreading.txt:
4142         * docs/random/ensonic/profiling.txt:
4143         Update fast tagreading draft and performance profiling ideas.
4144
4145 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4146
4147         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4148         Don't hold the object lock when unreffing a buffer because it could
4149         cause a deadlock when the finalize function wants to grab the object
4150         lock too. Fixes #495133.
4151
4152 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4153
4154         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4155         (gst_segment_to_stream_time), (gst_segment_to_running_time):
4156         Also accumulate time correctly when doing reverse playback. Fixes
4157         #488201,
4158         When converting to running and stream time, use default values for
4159         start/stop/time/accum when comparing different formats. Fixes #494245.
4160
4161         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4162         Do running/stream time in TIME format.
4163
4164         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4165         (gst_segment_suite):
4166         2 new unit tests for segment accumulation.
4167
4168 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4169
4170         * gst/gst.c: (init_pre):
4171         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4172           (_gst_debug_bin_to_dot_file):
4173           Move getenv() back into gst_init, so everyone can live happily
4174           ever after. Make sure the symbol isn't exported though.
4175
4176 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4177
4178         Patch by: Sebastien Moutte  <sebastien moutte net>
4179
4180         * win32/common/gstenumtypes.c:
4181         * win32/common/gstenumtypes.h:
4182           Update enum types.
4183
4184         * win32/vs6/libgstreamer.dsp:
4185           Update vs6 project files (#494343).
4186
4187 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4188
4189         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4190         (gst_base_src_perform_seek), (gst_base_src_default_event),
4191         (gst_base_src_set_flushing), (gst_base_src_activate_push),
4192         (gst_base_src_activate_pull):
4193         Unify flushing code, remove some old unlock code that is no longer used.
4194         Take the streaming lock when seeking to avoid races. Fixes #492729.
4195         Added some more comments.
4196
4197 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4198
4199         * gst/gst.c: (_gst_disable_segtrap):
4200           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
4201           we can use gst_segtrap_is_enabled() there now that we have that API.
4202           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4203           to do the getenv here (and export the variable).
4204
4205         * gst/gstdebugutils.c: (debug_dump_element),
4206           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4207           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4208
4209         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4210           (gst_debug_log_default):
4211           Rename _gst_info_start_time to priv_gst_info_start_time so it
4212           doesn't get exported (was never in any header).
4213
4214         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4215           (gst_plugin_loading_mutex):
4216           Make static mutex gst_plugin_loading_mutex really static (was never
4217           in any header), and use gst_segtrap_is_enabled() instead of
4218           _gst_disable_segtrap.
4219
4220         * gst/gsttrace.c: (_gst_trace_default):
4221           Make local _gst_trace_default static (was never in any header).
4222
4223 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4224
4225         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4226
4227         * win32/common/libgstbase.def:
4228         * win32/common/libgstcontroller.def:
4229         * win32/common/libgstdataprotocol.def:
4230         * win32/common/libgstnet.def:
4231         * win32/common/libgstreamer.def:
4232           Add more missing symbols, remove some duplicates, and sort
4233           as the 'sort' command sorts it (partially fixes #493983).
4234
4235 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4236
4237         * gst/gstelement.c: (gst_element_set_state_func):
4238         Only change the state cookie if a different state was set on the
4239         element. See #492729.
4240
4241 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4242
4243         * gst/gstvalue.c:
4244           Remove unused and uninitialised type variables that were still
4245           exported for some reason (they were never in any header files
4246           though).
4247
4248 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4249
4250         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4251         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4252         (gst_base_sink_event), (gst_base_sink_get_position_last),
4253         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4254         (gst_base_sink_change_state):
4255         Don't try to report a 0 position when we don't know, return -1 and FALSE
4256         instead. This mostly happens when we are prerolling.
4257         Make sure we can report the right position before we post the ASYNC_DONE
4258         message so that a message handler can query position without races.
4259
4260         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4261         (async_done_handoff), (async_done_func), (send_buffer),
4262         (async_done_eos_func), (gst_sinks_suite):
4263         Add two tests for the above.
4264
4265 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4266
4267         * MAINTAINERS:
4268         Update with new email address.
4269
4270         * docs/design/part-TODO.txt:
4271         Add some more info about future pad-block and negotiation changes.
4272
4273         * docs/design/part-buffering.txt:
4274         Add some ideas about buffering reporting.
4275
4276 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
4277
4278         * tests/check/gst/gstobject.c:
4279         Disable silly racy test that always fails on this combination of CPU
4280         and kernel.
4281
4282 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4283
4284         Patch by: Murray Cumming  <murrayc@murrayc.com>
4285
4286         * gst/gstobject.c:
4287           Corrected the registration of the parent-set and parent-unset
4288           signals: The parameter is a GstObject, not a GObject (#493134).
4289
4290 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4291
4292         * gst/gst_private.h:
4293         * gst/gstbuffer.h:
4294         * gst/gstevent.h:
4295         * gst/gstformat.h:
4296         * gst/gstmessage.h:
4297         * gst/gstplugin.h:
4298         * gst/gstquery.h:
4299         * gst/gsttaglist.h:
4300         * gst/gstvalue.h:
4301           Move declaration of private _gst_foo_initialize() functions into
4302           our private header file where they should have been all along.
4303
4304 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4305
4306         * docs/plugins/gstreamer-plugins-sections.txt:
4307         * gst/gstdebugutils.h:
4308         * gst/gstxml.h:
4309         * plugins/elements/gstqueue.c:
4310           gtk-doc fixes; trailing-comma-in-enum fix.
4311
4312 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4313
4314         * gst/gst.c: (gst_deinit):
4315           Clean up on deinit (not the external ones though, doesn't seem to be
4316           needed for some reason).
4317
4318 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4319
4320         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4321           Remove __declspec(dllimport) for MSVC that was copied over into core
4322           from a plugin, obviously without ever having been tested (note the
4323           single underscore in _declspec in the initial commit), and that doesn't
4324           really make sense.  See #492077.
4325
4326 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4327
4328         * gst/gst.c: (init_post):
4329         * gst/gstevent.c: (_gst_event_initialize):
4330         * gst/gstquery.c: (_gst_query_initialize):
4331         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4332           g_type_class_ref() other types as well, see #349410 and #64764.
4333
4334         * gst/gstbuffer.c: (_gst_buffer_initialize):
4335         * gst/gstmessage.c: (_gst_message_initialize):
4336           Simplify existing g_type_class_ref().
4337
4338 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4339
4340         * gst/gstformat.c: (_gst_format_initialize):
4341           g_type_class_ref() our GstFormat type to make sure we avoid the
4342           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4343           bug #64764. Should fix intermittent tee unit test failures (#474823).
4344
4345 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4346
4347         * tests/check/elements/tee.c: (test_num_buffers):
4348           Simplify, simplify, simplify - or not.  Rewrite unit test
4349           not to use gst_parse_launch(); allow N sub-streams. Increasing
4350           the number of sub-streams seems to reproduce #474823 more easily.
4351
4352 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4353
4354         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4355
4356         * gst/gsttrace.c:
4357         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4358         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4359         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4360           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4361           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4362           so use _pipe() directly (#492077).
4363
4364         * win32/common/dirent.c: (_treaddir):
4365           Add a couple of casts to make it build without warnings with MSVC.
4366
4367         * win32/common/libgstreamer.def:
4368           Add some more symbols that need to be exported.
4369
4370 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4371
4372         * tests/examples/metadata/read-metadata.c: (message_loop):
4373           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4374           arriving in a second or third tag message are added to
4375           the tag list as well.
4376
4377 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4378
4379         * libs/gst/base/gstbasesrc.c:
4380           Its "Since:" and not "@Since:". And remove an superflous cast.
4381
4382 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4383
4384         * docs/libs/gstreamer-libs-sections.txt:
4385         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4386         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4387         (gst_base_sink_get_property), (gst_base_sink_render_object),
4388         (gst_base_sink_preroll_object),
4389         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4390         (gst_base_sink_change_state):
4391         * libs/gst/base/gstbasesink.h:
4392         Add a new last-buffer property that contains the last buffer used in
4393         basesink for preroll or rendering. useful for making snapshots.
4394         API: gst_base_sink_get_last_buffer()
4395         API: GstBaseSink::last-buffer
4396
4397 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4398
4399         * docs/gst/running.xml:
4400         * gst/gst.c:
4401         * gst/gstdebugutils.c:
4402         * gst/gstdebugutils.h:
4403         * tools/gst-launch.c:
4404           Improve bin graph dumping, by using the envvar to specify a path.
4405           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4406
4407 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4408
4409         * plugins/elements/gsttypefindelement.c:
4410           (gst_type_find_element_handle_event),
4411           (gst_type_find_element_activate):
4412           Post special error message if we can't determine the type of a stream
4413           because it's empty.
4414
4415 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4416
4417         * docs/gst/running.xml:
4418         * gst/gstdebugutils.c:
4419           Document new env-var. Add one log-line after dumpng a graph.
4420
4421 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4422
4423         * configure.ac:
4424           Ugly hack to put the (recently removed and non-portable, apparently)
4425           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4426           GNU ld, because without that 'make check' fails miserably on my debian
4427           stable box.  Someone with more knowledge of linker intricacies and
4428           portability issues than me fix this properly please.
4429
4430 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4431
4432         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4433         Reset last seen position after flushing so that we don't report the old
4434         position anymore.
4435
4436 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4437
4438         * gst/gstelementfactory.c: (gst_element_register):
4439         * gst/gsturi.h:
4440         Patch from Alessandro Decina adding get_type_full and
4441         get_protocols_full private vfuncs to the URIHandler interface
4442         to allow bindings to support creating URI handlers. 
4443         Partially fixes: #339279
4444         API: GstURIHandlerInterface::get_type_full
4445         API: GstURIHandlerInterface::get_protocols_full
4446
4447 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4448
4449         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4450         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4451         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4452         Make it so that pads are considered linked until a buffer is pushed
4453         and discovered otherwise. This avoids problems with decodebin2 hanging
4454         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4455         case.
4456
4457         Make sure we lock the multiqueue when updating the max-size properties.
4458         
4459         Fix a crash on Solaris in a debug statement in get_request_pad that
4460         passes a NULL string to GST_DEBUG. 
4461
4462         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4463         (run_output_order_test):
4464         Fix the test to allow the first buffer on not-linked pads to come out
4465         of sequence while multiqueue discovers that they are not-linked.
4466
4467 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4468
4469         * configure.ac:
4470         * libs/gst/check/Makefile.am:
4471         Use a custom export symbol regex for libgstcheck, as it needs
4472         to export symbols that don't match the standard GStreamer gst_*
4473         pattern, and  --export-dynamic is not portable (only works on 
4474         GNU ld)
4475
4476         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4477         (gst_check_setup_sink_pad):
4478         Make sure to pass a message parameter to the fail_* macros.
4479
4480         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4481         Fix some compiler warnings.
4482
4483 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4484
4485         * tests/check/gst/gststructure.c: (test_to_string):
4486           Disable test that checks that white spaces are not allowed
4487           in structure names or field names, since we need to
4488           support that for now for backwards compatibility reasons.
4489
4490 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4491
4492         * docs/gst/gstreamer-sections.txt:
4493         * gst/gsttaglist.c:
4494         * gst/gsttaglist.h:
4495           API: add GST_TAG_ARTIST_SORTNAME
4496           API: add GST_TAG_ALBUM_SORTNAME
4497           API: add GST_TAG_TITLE_SORTNAME
4498           Add tag variants for sorting (#414539).
4499
4500 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4501
4502         * gst/gststructure.c:
4503           Also allow white space for names so we don't break
4504           backwards compatibility.
4505
4506 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4507
4508         * docs/design/part-TODO.txt:
4509         * docs/design/part-segments.txt:
4510         * docs/design/part-streams.txt:
4511         Small updates.
4512
4513 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4514
4515         * docs/gst/gstreamer-sections.txt:
4516          Fixed documentation from my previous commit (added new API add
4517          gst_value_set_structure(), add gst_value_get_structure() and
4518          GST_VALUE_HOLDS_STRUCTURE).
4519
4520 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4521
4522         * gst/gstdebugutils.c:
4523           Reflow code to fix uninitialized variable warning.
4524
4525 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4526
4527         * gst/gstcaps.c: (gst_caps_to_string),
4528         (gst_caps_from_string_inplace):
4529         * gst/gststructure.c: (gst_structure_get_abbrs),
4530         (gst_structure_to_string), (gst_structure_from_string):
4531         * gst/gstvalue.c: (gst_value_set_structure),
4532         (gst_value_get_structure), (gst_value_serialize_structure),
4533         (gst_value_deserialize_structure), (_gst_value_initialize):
4534         * gst/gstvalue.h:
4535         * tests/check/gst/gststructure.c: (GST_START_TEST),
4536         (gst_structure_suite):
4537         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4538          Added GstStructure to gst_value_table and its related functions.
4539          Changed gst_structure_to_string to print ';' in the end.
4540          Changed gst_caps_to_string to not print ';' beteween its
4541          fields (structures) anymore and remove the lastes ';' from latest
4542          structure. Now it is possible to have nested structures.
4543          In addition, backward compatibilty is assured by accepting '\0' as
4544          end delimiter. Fixes: #487969.
4545          API: add gst_value_set_structure()
4546          API: add gst_value_get_structure()
4547          API: add GST_VALUE_HOLDS_STRUCTURE
4548
4549 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4550
4551         * gst/gstbus.c:
4552           When no GSource callback has been set up, tell developer
4553           to use a function that actually exists.
4554
4555 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4556
4557         * docs/gst/gstreamer-sections.txt:
4558         * gst/Makefile.am:
4559         * gst/gst.c:
4560         * gst/gst.h:
4561         * gst/gstdebugutils.c:
4562         * gst/gstdebugutils.h:
4563         * gst/gstinfo.c:
4564         * gst/gstinfo.h:
4565         * tools/gst-launch.c:
4566           Allow dumping pipelines as dot graphs. Fixes #456573.
4567
4568 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4569
4570         * gst/gststructure.c:
4571           Allow '+' as well, it can be part of media or mime types
4572           such as image/svg+xml.
4573
4574 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4575
4576         * docs/gst/gstreamer-sections.txt:
4577         * gst/gstbus.c:
4578         * gst/gstbus.h:
4579           API: add gst_bus_pop_filtered
4580           API: add gst_bus_timed_pop_filtered
4581           Two new functions for waiting for specific message types on the
4582           bus for a specified amount of time without iterating any main
4583           loops or main contexts.
4584
4585         * tests/check/gst/gstbus.c:
4586           Some tests for the new functions.
4587
4588 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4589
4590         * docs/libs/gstreamer-libs-sections.txt:
4591           Make gtk-doc ignore stuff it should ignore.
4592
4593 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4594
4595         * libs/gst/check/gstcheck.c:
4596         * libs/gst/check/gstcheck.h:
4597           Allow runtime selection of unit tests to run via the GST_CHECKS
4598           environment variable (test case function names, comma-separated).
4599
4600 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4601
4602         * gst/gststructure.c:
4603         * tests/check/gst/gststructure.c:
4604           Revert serialisation change and constrain structure-names after
4605           consensus on irc. Update api documentation to reflect the change.
4606
4607 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4608
4609         * gst/gststructure.c:
4610           Improve serialization and fix tests.
4611
4612         * tests/check/gst/gststructure.c:
4613           Add another test that covers why I actually did the previous structure
4614           change.
4615
4616 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4617
4618         * tools/gst-inspect.c: (print_element_info):
4619         Don't crash when inspecting an element.
4620
4621 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4622
4623         * tests/check/gst/gststructure.c:
4624           Add unit test for escaping of structure name when serialising
4625           and deserialising to/from strings.
4626
4627 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4628
4629         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4630         (gst_single_queue_new):
4631         * plugins/elements/gstqueue.c: (gst_queue_init),
4632         (gst_queue_push_one):
4633         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4634         upstream is tricked into thinking it can suggest a format downstream
4635         while downstream does not support that format. The real problem is that
4636         core calls acceptcaps when pushing a buffer with new caps, for which we
4637         do a little workaround by setting the caps on the srcpad ourselves
4638         before pushing the buffer (until this is figured out). Fixes #486758.
4639
4640 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4641
4642         * gst/gststructure.c:
4643         * gst/gstvalue.c:
4644           Add some more comments and debug output. Quote structure name to fix
4645           deserialisation of some strings.
4646
4647 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4648
4649         * gst/gstbuffer.h:
4650           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4651           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4652
4653 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4654
4655         * tools/gst-inspect.c:
4656           Save approx. 400 1 byte allocs when printing. Use API to acces element
4657           details.
4658
4659         * tools/gst-run.c:
4660           Avoid a strdup.
4661
4662         * tools/gst-xmlinspect.c:
4663           Use API to acces element details.
4664
4665 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4666
4667         * gst/gstinfo.c:
4668           Fix some spelling errors.
4669
4670 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4671
4672         * gst/gstbin.c: (bin_handle_async_done):
4673         Correctly set the next state if all of our async children commited their
4674         state. This makes sure we can actually cancel the state change in
4675         progress. Fixes a regression in Rhythmbox when seeking.
4676
4677 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4678
4679         * gst/gstbin.c:
4680           Don't shadow local variable.
4681
4682         * gst/gstinfo.c:
4683           Don't shadow global function name.
4684
4685 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4686
4687         * gst/gstelementfactory.c:
4688         * gst/gstpluginfeature.c:
4689         * gst/gstpluginfeature.h:
4690         * gst/gstregistrybinary.c:
4691         * gst/gstregistryxml.c:
4692         * gst/gsttypefind.c:
4693           Use already-interned string for the private GstPluginFeature
4694           plugin_name field.
4695
4696 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4697
4698         * docs/libs/gstreamer-libs-sections.txt:
4699           Add new API to docs; fixes the build.
4700
4701 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4702         
4703         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4704
4705         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4706         (gst_base_sink_event):
4707         * libs/gst/base/gstbasesink.h:
4708         Add function to wait for EOS, subclasses can use this to correctly wait
4709         for devices to drain before performing the EOS logic. Fixes #485343.
4710         API: gst_base_sink_wait_eos()
4711
4712 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4713
4714         * gst/gstplugin.h:
4715           Cast description string constants in GST_PLUGIN_DEFINE macros
4716           to a (gchar*) to make C++ code using these macros compile
4717           without warning with g++-4.2 (see #462737).  Even if slightly
4718           ugly, this seems preferable to putting the description strings
4719           into the GLib quark table or making the structure member a
4720           const gchar * and doing casts in core code that allocs and
4721           frees these strings, or requiring a cast in the C++ code.
4722
4723 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4724
4725         * gst/gstinfo.h:
4726           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4727           to print the entire class/function signature into the log
4728           file for C++ code.  This only affects C++ code, for C code
4729           everything remains the same.
4730
4731 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4732
4733         * gst/gstbin.c: (remove_from_queue):
4734         Work around a problem with pipelines containing (semi)loops until a
4735         proper, more complicated solution is ready. See #475455.
4736
4737 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4738
4739         * gst/gstplugin.c:
4740         * gst/gstplugin.h:
4741         * gst/gstregistrybinary.c:
4742         * gst/gstregistryxml.c:
4743           Put more strings into the GLib quark table. No need to keep
4744           a hundred-something copies of identical version strings,
4745           license strings, package name strings and package origin
4746           strings around. 
4747
4748 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4749
4750         * docs/manual/advanced-dataaccess.xml:
4751           Don't imply that it's okay to unconditionally change
4752           buffer data or buffer metadata in a pad probe callback,
4753           and a bunch of other comments. Fixes #430031.
4754
4755 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4756
4757         * win32/common/gstenumtypes.c:
4758         * win32/common/gstenumtypes.h:
4759         * win32/common/gstversion.h:
4760           Update generated files.
4761
4762 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4763
4764         * docs/manual/advanced-autoplugging.xml:
4765           Prefix section with broken code with a warning (see #342432).
4766
4767 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4768
4769         * docs/manual/appendix-integration.xml:
4770         * docs/manual/basics-init.xml:
4771           Call g_thread_init() before g_option_context_new() to
4772           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4773
4774 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4775
4776         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4777         (gst_base_sink_queue_object_unlocked),
4778         (gst_base_sink_queue_object), (gst_base_sink_event),
4779         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4780         When we received EOS and are waiting for when to post the EOS message,
4781         our state is prerolled and we should not return ASYNC.
4782         Reorganize some code paths to implement this behavior.
4783
4784         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4785         (gst_sinks_suite):
4786         Add unit test to verify above EOS fix.
4787
4788 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4789
4790         * plugins/elements/gsttypefindelement.c:
4791         (gst_type_find_element_have_type), (gst_type_find_element_init),
4792         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4793         Move detecting the input caps of the sinkpad to the setcaps function.
4794         This allows us to update the output caps when we receive new input caps
4795         instead of always using the first detected caps.
4796
4797 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4798
4799         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4800         (gst_base_sink_get_position):
4801         Don't try to preroll non-async elements after a flush.
4802         Subtract latency form clock times when reporting position.
4803
4804 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4805
4806         * gst/gstpad.c: (gst_pad_pause_task):
4807         * gst/gstutils.c:
4808         Small comment and documentation update.
4809
4810 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4811
4812         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4813         (gst_base_src_set_live), (gst_base_src_is_live),
4814         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4815         (gst_base_src_default_event), (gst_base_src_wait),
4816         (gst_base_src_do_sync), (gst_base_src_get_range),
4817         (gst_base_src_pad_get_range), (gst_base_src_loop),
4818         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4819         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4820         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4821         (gst_base_src_change_state):
4822         Rework the locking of basesrc in a similar fashion to basesink. We
4823         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4824         us to handle live sources and semi live ones much better.
4825         Simplify flushing.
4826         Fix unlocking when seeking, shutting down and pausing in live sources.
4827
4828 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4829
4830         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4831         Fix compilation again.
4832
4833 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4834
4835         * gst/gstelement.c:
4836           Use meaningful categories for the logs to clean the default one.
4837
4838 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4839
4840         * tests/check/pipelines/cleanup.c:
4841           Print message name and not just number.
4842
4843 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4844
4845         * docs/design/draft-tagreading.txt:
4846           Add some more thoughts.
4847
4848 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4849
4850         * tests/check/pipelines/simple-launch-lines.c:
4851           Print message name and not just number.
4852
4853 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4854
4855         * libs/gst/base/gsttypefindhelper.c:
4856           Speedup typefinding. This is work in progress (see #459862).
4857
4858 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4859
4860         * gst/gstplugin.c:
4861           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4862           Spotted by Josep Torra Valles <josep@fluendo.com>.
4863
4864 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4865
4866         * gst/gstclock.h:
4867           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4868           field has moved to GstObject.
4869
4870 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4871
4872         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4873         (gst_base_src_get_range), (gst_base_src_change_state):
4874         Call unlock for live sources so that they can't get stuck in _create and
4875         produce a buffer before they are set back to PLAYING.
4876
4877 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4878
4879         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4880         (gst_queue_locked_dequeue):
4881         Comment the segment-related code... in the PROPER function.
4882         See #482147 and my commit from yesterday.
4883
4884 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4885
4886         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4887         Also initialize the counter that calculates the first timestamp on a
4888         buffer correctly for non-live sources.
4889
4890 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4891
4892         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4893         Disable code that's breaking the current-time-level reporting.
4894         See #482147
4895
4896 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4897
4898         * docs/gst/gstreamer-sections.txt:
4899         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4900         as they shouldn't show up. Fixes the docs build.
4901
4902 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4903         
4904         * gst/gstinfo.h:
4905         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4906         Define M_PI which is used in files which are including gstinfo.h. 
4907         VS6 includes doesn't define it.
4908         * win32/common/libgstbase.def:
4909         * win32/common/libgstcontroller.def:
4910         * win32/common/libgstreamer.def:
4911         Add new exported functions and variables.
4912         * win32/vs6/libgstcontroller.dsp:
4913         * win32/vs6/libgstreamer.dsp:
4914         Update the list of files to build.
4915         
4916 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4917
4918         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4919
4920         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4921         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4922         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4923         Improve debugging. Fixes #480858.
4924
4925 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4926
4927         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4928
4929         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4930         First patch of code cleanups, use the macros and right arguments in the
4931         macros to signal and lock the queue. See #480858.
4932
4933 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4934
4935         * gst/gstbus.c: (poll_func):
4936         Improve debugging when dealing with _poll().
4937
4938 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4939
4940         * gst/gstregistryxml.c:
4941           Fix memory leak I introduced a few days ago.
4942
4943 2007-09-26  Michael Smith <msmith@fluendo.com>
4944
4945         * gst/gstbuffer.c: (gst_buffer_finalize):
4946           Make it once again possible to free GstBuffers in the default
4947           build.
4948           The poisoning scribbles on parts of the miniobject we need in
4949           order to free it.
4950           Fixes #480341
4951
4952 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4953
4954         * docs/gst/gstreamer-sections.txt:
4955         * gst/gsttaglist.c:
4956         * gst/gsttaglist.h:
4957         API: add GST_TAG_COMPOSER, fixes #459809.
4958
4959 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4960
4961         * gst/gstplugin.c:
4962         * gst/gstplugin.h:
4963         Add the 3-clause BSD license and the MIT/X11 license to the license
4964         list. Fixes #479784.
4965
4966 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4967
4968         * docs/faq/getting.xml:
4969           Add Q+A about different GStreamer versions (#364056).
4970
4971 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4972
4973         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4974         (gst_base_sink_event), (gst_base_sink_change_state):
4975         Return correct gboolean from query function.
4976
4977 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4978
4979         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4980         (gst_base_sink_event), (gst_base_sink_query),
4981         (gst_base_sink_change_state):
4982         Simplify latency query.
4983         When not synchronizing, we can report latency without querying the peer
4984         element.
4985
4986 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4987
4988         * gst/gstobject.h:
4989         * gst/gstvalue.c:
4990         Fix small typos in the docs.
4991
4992 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4993
4994         * docs/design/draft-latency.txt:
4995         * docs/design/draft-push-pull.txt:
4996         * docs/design/draft-tagreading.txt:
4997         * docs/design/part-MT-refcounting.txt:
4998         * docs/design/part-activation.txt:
4999         * docs/design/part-block.txt:
5000         * docs/design/part-element-source.txt:
5001         * docs/design/part-events.txt:
5002         * docs/design/part-gstbin.txt:
5003         * docs/design/part-gstelement.txt:
5004         * docs/design/part-gstobject.txt:
5005         * docs/design/part-gstpipeline.txt:
5006         * docs/design/part-messages.txt:
5007         * docs/design/part-preroll.txt:
5008         * docs/design/part-push-pull.txt:
5009         * docs/design/part-qos.txt:
5010         * docs/design/part-query.txt:
5011         * docs/design/part-scheduling.txt:
5012         * docs/design/part-seeking.txt:
5013         * docs/design/part-segments.txt:
5014         * docs/design/part-states.txt:
5015         Documentation updates and typo fixes.
5016
5017 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5018
5019         * plugins/elements/gstfakesink.c:
5020           Add some debug text to error message to indicate that
5021           we errored out on request.
5022
5023         * tools/gst-launch.c:
5024           When the state change to PLAYING fails, check for an
5025           error message on the bus and print it.
5026
5027 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5028
5029         translated by: Jorge González González <aloriel@gmail.com>
5030
5031         * po/LINGUAS:
5032         * po/es.po:
5033           Added Spanish translation.
5034
5035 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
5036
5037         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5038         Fix printf arguments.
5039
5040 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
5041
5042         * tests/check/generic/states.c:
5043           Improved state change unit test.
5044
5045 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
5046
5047         * gst/gstbin.h:
5048           Move priv to the right place.
5049
5050         * gst/gstsystemclock.c:
5051           Add FIXME: and improve log.
5052
5053         * tests/check/Makefile.am:
5054         * tests/examples/manual/Makefile.am:
5055           Work with all types of registries.
5056
5057 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
5058
5059         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5060         Don't unref the event after pushing it. Fixes #478401.
5061
5062 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5063
5064         * .cvsignore:
5065         * tests/examples/manual/.cvsignore:
5066           Ignore registries in any format.
5067
5068 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5069
5070         * gst/glib-compat-private.h:
5071           Add compatibility macro for g_intern_string() for
5072           GLib-2.8 (any reason we can't just bump the
5073           requirement to at least 2.10?)
5074
5075         * gst/gstpadtemplate.h:
5076         * gst/gstelementfactory.c:
5077         * gst/gstregistryxml.c:
5078         * gst/gstregistrybinary.c:
5079           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5080           up the internal code accordingly.  This shouldn't be a problem, since
5081           there is no reason external code could ever assume the string in such
5082           a structure is dynamically allocated unless it did that itself;  the
5083           use of g_strdup() is private to element factories.  The new code also
5084           saves some memory by putting pad template name strings into the GLib
5085           quark table instead of allocating them dynamically.
5086           Declaring this field constant fixes warnings with g++-4.2 when using
5087           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5088
5089 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5090
5091         * gst/gstelementfactory.c:
5092           Release static caps. Fixes #475723.
5093
5094 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
5095
5096         * gst/gstinfo.c:
5097         * gst/gstinfo.h:
5098           Make some internal API take const gchar * instead of just
5099           gchar * to avoid compiler warnings with g++-4.2.2 when
5100           passing string constants (partially fixes #478092).
5101
5102 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5103
5104         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5105         A latency query fails when one of the sinks fail.
5106
5107         * gst/gstelement.c: (gst_element_set_base_time):
5108         Improve debugging.
5109
5110 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5111
5112         * gst/gstbin.c: (gst_bin_continue_func):
5113         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5114         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5115         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5116
5117         Fix minor compilation warnings shown with Forte.
5118
5119 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5120
5121         * plugins/elements/gstqueue.c: (apply_buffer),
5122         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5123         Measure queue level based on the diff between head and tail timestamps
5124         even when pushing the first buffer.
5125
5126 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5127
5128         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5129         (gst_base_sink_event), (gst_base_sink_change_state):
5130         Sinks that don't preroll can always be queried for the latency.
5131         Don't post ASYNC start when we are not async.
5132
5133 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5134
5135         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5136         (gst_queue_handle_sink_event), (gst_queue_chain),
5137         (gst_queue_push_one), (gst_queue_handle_src_query),
5138         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5139         * plugins/elements/gstqueue.h:
5140         When downstream returns UNEXPECTED from pushing a buffer, don't try to
5141         push more buffers but allow pushing of EOS and NEWSEGMENT.
5142         Add some more debug info here and there. Fixes #476514.
5143
5144 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5145
5146         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5147         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5148         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5149         (gst_base_sink_set_flushing), (gst_base_sink_query),
5150         (gst_base_sink_change_state):
5151         Latency query is allowed after we are prerolled. Introduce a new flag
5152         for this and stop abusing other variables.
5153
5154 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5155
5156         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5157         Push OOB events downstream when we get them in send_event. This allows
5158         the application to insert events in the pipeline.
5159         Add some more comments.
5160
5161 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5162
5163         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5164         (do_bin_latency), (gst_bin_change_state_func):
5165         * gst/gstpipeline.c: (gst_pipeline_change_state):
5166         Move latency query from GstPipeline to GstBin so that we can also
5167         use it when async-handling is enabled on bins.
5168
5169 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5170
5171         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5172         (gst_base_src_do_sync), (gst_base_src_change_state):
5173         Update docs.
5174         Clean up the timestamping and syncing code for pseudo live sources.
5175
5176 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
5177
5178         Patch by: Steve Fink  <sphink gmail com>
5179
5180         * docs/manual/appendix-checklist.xml:
5181           Mention less -R switch in the section about debug output (#474055).
5182
5183 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5184
5185         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5186         Queue can latency to the pipeline up to the configured max size in time.
5187         Report this fact in the latency query.
5188
5189 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5190
5191         Patch by: Sebastien Moutte <sebastien at moutte dot net>
5192
5193         * libs/gst/controller/gstinterpolation.c:
5194         * libs/gst/controller/gstlfocontrolsource.c:
5195         Use gst_guint64_to_gdouble() when converting from a uint64 or
5196         GstClockTime to double to fix the build on win32. Fixes #474371.
5197
5198 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5199
5200         * gst/gstbuffer.c: (gst_buffer_finalize):
5201         Implement poisoning for GstBuffer if --enable-poisoning is specified.
5202         When finalizing a buffer the complete struct is filled with 0xff,
5203         thus making a use of the buffer after the final unref impossible.
5204
5205 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5206
5207         * tests/check/libs/controller.c: (GST_START_TEST):
5208         Use fail_unless_equals_int(a, b) instead of
5209         fail_unless_equals (a == b) to get better output on failures.
5210
5211 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5212
5213         * tests/check/gst/gsturi.c:
5214           Also check for the other file URI variant on win32.
5215
5216 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5217
5218         * gst/gsturi.c: (gst_uri_get_location):
5219           If there's no hostname, we want to return 'c:/foo/bar.txt'
5220           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5221
5222         * tests/check/gst/gsturi.c:
5223           Unit test for the above and a few more things.
5224
5225 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5226
5227         * docs/design/part-live-source.txt:
5228         Add docs on how live sources should timestamp.
5229
5230         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5231         Add some more debug info.
5232         For subclasses that are live and like to sync, add aditional startup
5233         latency to sync time and timestamps so that we timstamp according to the
5234         design doc.
5235
5236 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5237
5238         * gst/gstbuffer.c:
5239           Also do a g_type_class_ref() for the subbuffer type in
5240           the init function.
5241
5242 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5243
5244         * docs/gst/gstreamer-sections.txt:
5245         * gst/gstpad.c: (gst_pad_peer_query):
5246         * gst/gstpad.h:
5247         Add function to perform a query on the peer of a pad.
5248         API: gst_pad_peer_query()
5249
5250 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
5251
5252         * tests/check/gst/gstsystemclock.c:
5253           Cleanup the test a little (use gst-logging and not g_message). Improve
5254           test to check if a wait reached the target.
5255
5256 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5257
5258         * docs/libs/gstreamer-libs-sections.txt:
5259           Add new API to docs and fix the build.
5260
5261 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
5262
5263         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5264         (gst_base_src_init), (gst_base_src_set_do_timestamp),
5265         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5266         (gst_base_src_get_property), (gst_base_src_do_sync):
5267         * libs/gst/base/gstbasesrc.h:
5268         Add property to make the basesrc timestamp buffers based on the current
5269         running time.
5270         API: GstBaseSrc::do-timestamp
5271         API: gst_base_src_set_do_timestamp()
5272         API: gst_base_src_get_do_timestamp()
5273
5274 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
5275
5276         * docs/random/release:
5277           Really make sure translations are up-to-date before
5278           a release (#465010).
5279
5280 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
5281
5282         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5283         Always destroy the timer, also in error cases.
5284
5285 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5286
5287         * docs/manual/highlevel-xml.xml:
5288         Fix XML example code. Fixes #472714.
5289
5290 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5291
5292         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5293         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5294         (gst_base_sink_query):
5295         Protect eos and have_preroll with the OBJECT lock so we don't need to
5296         take the PREROLL lock when querying the latency. Fixes #473846.
5297
5298 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
5299
5300         * gst/gstelement.c:
5301           Give some log-messages a category.
5302
5303 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
5304
5305         * gst/gststructure.c:
5306         (gst_structure_fixate_field_nearest_fraction):
5307         Fix fraction list fixation code. Take the fraction with the smallest
5308         difference with the target instead of the first one in the list.
5309
5310         * tests/check/gst/gststructure.c: (GST_START_TEST),
5311         (gst_structure_suite):
5312         Added test to verify correct fraction list fixation behaviour.
5313
5314 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
5315
5316         * win32/common/libgstreamer.def:
5317           Export gst_bus_add_signal_watch too.
5318
5319 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
5320
5321         * docs/libs/gstreamer-libs-sections.txt:
5322         Add new methods to docs.
5323
5324         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5325         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5326         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5327         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5328         * libs/gst/base/gstbasesink.h:
5329         Add ts-offset property to fine-tune the synchronisation.
5330         API: GstBaseSink::ts-offset property
5331         API: gst_base_sink_set_ts_offset()
5332         API: gst_base_sink_get_ts_offset()
5333
5334 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
5335
5336         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5337         (gst_base_sink_init), (gst_base_sink_set_sync),
5338         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5339         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5340         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5341         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5342         (gst_base_sink_get_property), (gst_base_sink_change_state):
5343         * libs/gst/base/gstbasesink.h:
5344         Add async property to instruct the sink never to inform the parent about
5345         ASYNC state changes, update docs.
5346         Check argument with g_return_* for the public functions.
5347         API: GstBaseSink::async property
5348         API: gst_base_sink_set_async_enabled()
5349         API: gst_base_sink_is_async_enabled()
5350
5351 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5352
5353         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5354         Improve debugging.
5355
5356         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5357         (gst_base_src_default_query), (gst_base_src_wait),
5358         (gst_base_src_do_sync), (gst_base_src_change_state):
5359         Rearrange some code so that we can add support for measuring the 
5360         startup latency.
5361
5362 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5363
5364         * docs/random/ensonic/dynlink.txt:
5365           More thoughs on this.
5366
5367         * plugins/elements/gstcapsfilter.c:
5368           Add bugzilla ticket number to FIXME comment.
5369
5370 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5371
5372         * docs/design/part-TODO.txt:
5373         * docs/design/part-block.txt:
5374         Update some docs.
5375
5376 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5377
5378         * gst/Makefile.am:
5379           Revert patch which uses $(gst_headers) instead of $^ because it
5380           breaks make dist.
5381
5382 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5383
5384         * tests/check/gst/gstbin.c: (GST_START_TEST):
5385           Fix leaks in the new unit test.
5386
5387 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5388
5389         * gst/gst.c:
5390           Don't use GST_INFO before the debug system is actually initialised
5391           (shouldn't do any harm, but won't print anything either, so we can
5392           just as well remove it).
5393
5394         * gst/gstinfo.h:
5395           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5396           compilers that don't support variadic macros (such as MSVC), should
5397           check for debug_level <= __gst_debug_min as well, since that's the
5398           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5399           inline helper functions. Should improve performance a bit, but also
5400           makes sure uses of GST_INFO et.al are ignored if the debugging
5401           system isn't initialised yet (instead of printing an assertion
5402           failure).
5403
5404 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5405
5406         patch by: David Nečas <yeti@physics.muni.cz>
5407
5408         * gst/Makefile.am:
5409           Replace some non portable makefile constructs.
5410
5411 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5412
5413         * common/gtk-doc-plugins.mak:
5414           Grrrrr. Don't remove the types file on make clean.
5415
5416 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5417
5418         * tools/gst-launch.1.in:
5419         Add colorspace to example pipeline. Fixes #458274.
5420
5421 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5422
5423         * docs/random/release:
5424           The release manager should run 'make download-po' before making a
5425           release to make sure translations are up-to-date.
5426
5427         * po/LINGUAS:
5428         * po/be.po:
5429         * po/pl.po:
5430         * po/rw.po:
5431           Add some new translations.
5432
5433 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5434
5435         * tools/gst-launch.c: (event_loop), (main):
5436         Don´t try to do any state management when a live pipeline posts
5437         buffering messages.
5438         Also make the buffering string translatable.
5439
5440 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5441
5442         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5443         (bin_handle_async_start), (gst_bin_handle_message_func):
5444         Improve debugging.
5445         When adding elements, insert messages into the bus of the newly added
5446         element and make sure the element is the source of the message. This
5447         allows the parent bin to intercept the message and do the
5448         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5449         messages to the app (which is not allowed).
5450         Update some docs.
5451
5452         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5453         Fix testsuite so that is does not work around messages that should not
5454         have been posted in the first place.
5455
5456 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5457
5458         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5459         (update_degree), (gst_bin_sort_iterator_next):
5460         Fix annoying bug in the sorted iterator where a sink that is not really
5461         a sink (when it has downstream links) screwed up the iterator.
5462
5463         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5464         Unit test to verify the fix.
5465
5466 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5467
5468         * gst/gstmessage.h:
5469         Add some more docs for the messages.
5470
5471         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5472         (gst_base_sink_query):
5473         Add some more debugging.
5474
5475         * tools/gst-launch.c: (event_loop):
5476         When interrupting, don't try to set pipeline to PAUSED twice.
5477
5478 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5479
5480         
5481         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5482         (bin_handle_async_start), (gst_bin_handle_message_func):
5483         Move ASYNC_START message posting to where it belongs, similar to
5484         async_done. 
5485         Don't post ASYNC_START when we are in error. 
5486         Post ASYNC_START when we added an async element to a bin.
5487
5488 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5489
5490         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5491         generation from vargs. Fixes #466595.
5492
5493 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5494
5495         * gst/gstbin.c: (gst_bin_element_set_state):
5496         Always change the state of a NO_PREROLL element even if it has ASYNC
5497         elements inside (in case of a bin).
5498
5499         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5500         Unit test for this case.
5501
5502 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5503
5504         * libs/gst/check/gstbufferstraw.c:
5505         * libs/gst/check/gstcheck.h:
5506         * libs/gst/controller/gstcontroller.c:
5507         * libs/gst/controller/gstcontrolsource.h:
5508         * libs/gst/controller/gstlfocontrolsource.h:
5509         * plugins/elements/gstcapsfilter.h:
5510         * plugins/elements/gstfdsink.h:
5511         * plugins/elements/gstfdsrc.h:
5512           Add more missing docs.
5513
5514 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5515
5516         * gst/gststructure.c:
5517         Add Since tag to docs.
5518
5519 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5520
5521         * docs/gst/gstreamer-sections.txt:
5522         * gst/gststructure.c: (gst_structure_get_uint):
5523         * gst/gststructure.h:
5524         Add function to get uint from a structure.
5525         API: gst_structure_get_uint()
5526
5527 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5528
5529         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5530         (gst_caps_intersect):
5531         Fix proper check for simple caps.
5532
5533 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5534
5535         * docs/gst/Makefile.am:
5536         * docs/libs/Makefile.am:
5537           Remove cruft and do some cleanups.
5538
5539         * docs/gst/gstreamer-docs.sgml:
5540         * docs/libs/gstreamer-libs-docs.sgml:
5541           Prepare for comming gtkdoc features (rebase against online docs).
5542
5543 2007-08-10  Michael Smith <msmith@fluendo.com>
5544
5545         * docs/gst/gstreamer-sections.txt:
5546           Add gst_registry_add_path to docs.
5547
5548 2007-08-10  Michael Smith <msmith@fluendo.com>
5549
5550         * gst/gstregistry.h:
5551           Add gst_registry_add_path, which was missing from this header.
5552
5553 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5554
5555         * libs/gst/controller/gstlfocontrolsource.c:
5556           Printf format fix.
5557
5558 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5559
5560         * libs/gst/base/gstbasesink.c:
5561           Don't send an async_start message during downwards state change if 
5562           target state is less than READY
5563
5564 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5565
5566         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5567
5568         * po/LINGUAS:
5569         * po/hu.po:
5570           Added Hungarian translation.
5571
5572 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5573
5574         * po/fi.po:
5575         * po/it.po:
5576         * po/nl.po:
5577         * po/sv.po:
5578         * po/uk.po:
5579           Updated translations.
5580
5581 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5582
5583         * libs/gst/controller/Makefile.am:
5584         Dist gstlfocontrolsourceprivate.h
5585
5586 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5587
5588         * docs/libs/gstreamer-libs.types:
5589         Don't register the enum type gst_lfo_waveform_get_type() in the
5590         .types file - only GObject derived types belong.
5591
5592 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5593
5594         Patch by: <arenevier at fdn dot fr>
5595
5596         * gst/gstbuffer.h:
5597         Remove comma from last element in enum to avoid compile errors when
5598         using -pendantic. Fixes #464366.
5599
5600 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5601
5602         * docs/design/part-TODO.txt:
5603         Add some more TODO items
5604
5605         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5606         Improve debugging.
5607
5608         * gst/gstcaps.c: (gst_caps_intersect):
5609         Optimize trivial intersection case between identical caps pointers.
5610
5611         * gst/gstelement.c: (gst_element_continue_state),
5612         (gst_element_set_state_func):
5613         * gst/gstpad.c:
5614         Fix spelling and grammar mistakes.
5615
5616 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5617
5618         * po/POTFILES.in:
5619         * po/POTFILES.skip:
5620           Update POTFILES. Fixes #461599.
5621
5622 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5623
5624         * gst/gst.c:
5625         Fix confusing typo in debug output.
5626
5627 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5628
5629         reviewed by: Stefan Kost <ensonic@users.sf.net>
5630
5631         * libs/gst/controller/Makefile.am:
5632         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5633         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5634         (gst_lfo_control_source_new),
5635         (gst_lfo_control_source_set_waveform),
5636         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5637         (gst_lfo_control_source_finalize),
5638         (gst_lfo_control_source_dispose),
5639         (gst_lfo_control_source_set_property),
5640         (gst_lfo_control_source_get_property),
5641         (gst_lfo_control_source_class_init):
5642         * libs/gst/controller/gstlfocontrolsource.h:
5643         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5644         API: Add GstLFOControlSource, a control source that gives values
5645         for specific timestamps based on several periodic waveforms.
5646         Fixes #459717.
5647
5648         * tests/check/libs/controller.c: (GST_START_TEST),
5649         (gst_controller_suite):
5650         * docs/libs/gstreamer-libs-docs.sgml:
5651         * docs/libs/gstreamer-libs-sections.txt:
5652         * docs/libs/gstreamer-libs.types:
5653         Add documentation and unit tests for GstLFOControlSource.
5654
5655 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5656
5657         * configure.ac:
5658         Back to CVS
5659
5660 === release 0.10.14 ===
5661
5662 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5663
5664         * configure.ac:
5665           releasing 0.10.14, "Breathing Vacuum"
5666
5667 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5668
5669         * gst/gstelement.c: (gst_element_class_set_details_simple):
5670         * gst/gstelement.h:
5671           Make strings passed to gst_element_class_set_details_simple()
5672           constant, as they should be (#462752).
5673
5674 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5675
5676         * gst/gstbin.c: (gst_bin_change_state_func),
5677         (bin_handle_async_done), (gst_bin_handle_message_func):
5678         Don't forget about the fact that some element went ASYNC even after a
5679         resync. This makes us post the ASYNC_DONE message correctly.
5680         Fixes #462558.
5681
5682 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5683
5684         * gst/gstregistry.c: (gst_registry_add_feature):
5685         When replacing an existing feature in the registry, make sure to
5686         continue holding a reference until we've replaced the name string
5687         within our feature hash table. Make sure to use g_hash_table_replace
5688         instead of g_hash_table_insert to ensure the new name string is used
5689         as a key instead of the old one that we're about to free.
5690         Fixes: #462085
5691
5692 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5693
5694         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5695         (gst_plugin_feature_set_name):
5696         Revert patch from #459466 until after the release and we can work
5697         out exactly what the problem is (if any).
5698
5699 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5700
5701         * docs/gst/gstreamer-sections.txt:
5702         * gst/gsttaglist.c:
5703         * gst/gsttaglist.h:
5704           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5705
5706 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5707
5708         * docs/libs/Makefile.am:
5709         Include our build-prefix libs and includes before the generic ones to
5710         avoid linking against the installed libs when we want the build-tree
5711         ones.
5712
5713 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5714
5715         Patch by: Steve Fink  <sphink gmail com>
5716
5717         * docs/pwg/building-testapp.xml:
5718           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5719           if people try to build or install the example from the plugin
5720           template against a GStreamer from package using the configure
5721           defaults.
5722
5723 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5724
5725         Patch by: Steve Fink  <sphink gmail com>
5726
5727         * tools/gst-inspect.1.in:
5728           Document --print-all and --print-plugin-auto-install-info command
5729           line options in man page.
5730
5731 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5732
5733         * docs/gst/gstreamer-sections.txt:
5734         Add docs for new api function.
5735
5736 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5737
5738         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5739         * gst/gstelementfactory.h:
5740         API: gst_element_factory_has_interface()
5741         Added method to check if an element factory implements a named
5742         interface.
5743
5744 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5745
5746         * configure.ac:
5747         * docs/gst/gstreamer.types.in:
5748           Another conditional doc check.
5749
5750         * gst/gstmessage.c:
5751         * gst/gstparamspecs.h:
5752         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5753         * gst/gstvalue.c:
5754         * gst/gstxml.h:
5755           API-doc fixes.
5756
5757 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5758
5759         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5760         (gst_registry_binary_load_feature),
5761         (gst_registry_binary_load_plugin),
5762         (gst_registry_binary_read_cache):
5763           Print error just once and with additional info.
5764
5765 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5766
5767         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5768         (helper_find_suggest), (helper_find_get_length),
5769         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5770         (gst_type_find_helper_for_buffer):
5771           Cleanup the typefindhelper code and add private doc comments.
5772
5773 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5774
5775         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5776         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5777         Fix capsfilter for cases where the caps set on capsfilter will provide
5778         additional information.
5779         Fixes #449197
5780
5781 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5782
5783         * gst/gsttypefindfactory.c:
5784           Fix docs that recommened wrong function to use.
5785
5786 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5787
5788         * tools/gst-inspect.c: (print_plugin_features):
5789           Also give media-type for typefinders in element output.
5790
5791 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5792
5793         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5794         (gst_registry_remove_features_for_plugin_unlocked),
5795         (gst_registry_add_feature), (gst_registry_remove_feature),
5796         (gst_registry_lookup_feature_locked):
5797         * gst/gstregistry.h:
5798           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5799           Fixes #459501.
5800
5801 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5802
5803         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5804         (gst_plugin_feature_set_name):
5805           Avoid double memory usage for pluginfeature names. Fixes #459466.
5806
5807 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5808
5809         * gst/gstpad.h:
5810           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5811           driving the pipeline may need to explicitly check for NOT_LINKED as
5812           well, since IS_FATAL doesn't cover that.
5813
5814 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5815
5816         * docs/pwg/advanced-types.xml:
5817           Fix typo and duplicate entry in video formats list.
5818
5819 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5820
5821         * libs/gst/controller/gstinterpolation.c:
5822         Also round to the nearest int when using cubic interpolation.
5823
5824 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5825
5826         * libs/gst/controller/gstinterpolation.c:
5827         When linearly interpolating integer types, round to the nearest int
5828         by adding 0.5. Don't do it for float/double types.
5829         Fixes the failing controller test on my machine, which is somehow
5830         rounding differently than on the buildbots.
5831
5832 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5833
5834         * tools/gst-plot-timeline.py:
5835           Better log parsing (categories can have -). Adjust text vs. lines, so
5836           that they span the same y-range.        
5837
5838 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5839
5840         * docs/random/ensonic/audiobaseclasses.txt:
5841         * docs/random/ensonic/dynlink.txt:
5842         * docs/random/ensonic/profiling.txt:
5843           Save my thoughts.
5844
5845         * docs/random/moving-plugins:
5846           Add note to use g_assert type macros.
5847
5848 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5849
5850         * configure.ac:
5851         * libs/gst/check/Makefile.am:
5852           Add libm check as we use in for plugins.
5853
5854 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5855
5856         * gst/gstbin.c: (gst_bin_continue_func):
5857         Check that the state_cookie hasn't changed since the continue_func
5858         was scheduled. Avoids problems where the state changes back to
5859         something it shouldn't be because it was changed in the meantime.
5860
5861 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5862
5863         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5864         (gst_registry_binary_save_string),
5865         (gst_registry_binary_save_pad_template),
5866         (gst_registry_binary_save_feature),
5867         (gst_registry_binary_save_plugin),
5868         (gst_registry_binary_load_feature),
5869         (gst_registry_binary_load_plugin),
5870         (gst_registry_binary_read_cache):
5871           Fix memory leak. Be less verbose in the log.
5872
5873 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5874
5875         * tests/check/elements/.cvsignore:
5876         Add file to cvsignore as commanded.
5877
5878 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5879
5880         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5881         (mq_dummypad_event), (run_output_order_test):
5882         Use a GStaticMutex to protect all cases where libcheck
5883         fail_if/fail_unless macros might be called from multiple threads
5884         simultaneously to avoid errors like:
5885           "check_pack.c:107: :-1081725400:Bad message type arg"
5886
5887 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5888
5889         * tests/check/pipelines/stress.c: (GST_START_TEST):
5890         Make sure we set the pipeline back to the NULL state before
5891         dropping our final reference.
5892
5893 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5894
5895         * tests/check/elements/tee.c: (GST_START_TEST):
5896         Make the tee stress-test a little less stressful so it doesn't just
5897         time out on slow-machines, and remove a small race when it's starting 
5898         up by adding a get_state() call.
5899
5900 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5901
5902         * gst/gst.c:
5903           Avoid reading registry twice on startup. Fixes #457322.
5904
5905 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5906
5907         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5908         * pkgconfig/gstreamer-check.pc.in:
5909         Substitute the CFLAGS for libcheck into our .pc file too so that
5910         dependent modules will pick it up properly if libcheck is installed
5911         into some other prefix.
5912
5913 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5914
5915         * configure.ac:
5916         Revert the pkg-config check for libcheck, since it pulls in the
5917         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5918         a proper solution, either from the check project, or something else.
5919
5920 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5921
5922         * configure.ac:
5923           Use pkg-config to locate check.
5924
5925 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5926
5927         * gst/gsttaglist.c:
5928           Fix doc syntax.
5929
5930         * gst/gstutils.c:
5931         * gst/gstutils.h:
5932           Add deprecation guards.
5933
5934         * libs/gst/base/gstcollectpads.h:
5935           Don't document object (this is implicitly private).
5936
5937 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5938
5939         * gst/gststructure.c: (gst_structure_parse_value):
5940           When deserialising foo=bar without a type cast, check if it's a
5941           boolean before falling back to a string type, otherwise things like
5942           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5943           because the filtercaps end up having a signed=(string)true field,
5944           which causes problems later when intersection caps.
5945
5946         * tests/check/gst/gststructure.c: (GST_START_TEST):
5947           Add a unit test for this.
5948
5949 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5950
5951         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5952
5953         * libs/gst/controller/Makefile.am:
5954         * libs/gst/controller/gstcontroller.c:
5955         (gst_controlled_property_add_interpolation_control_source),
5956         (gst_controlled_property_new), (gst_controlled_property_free),
5957         (gst_controller_find_controlled_property),
5958         (gst_controller_new_valist), (gst_controller_new_list),
5959         (gst_controller_new), (gst_controller_remove_properties_valist),
5960         (gst_controller_remove_properties_list),
5961         (gst_controller_remove_properties),
5962         (gst_controller_set_property_disabled),
5963         (gst_controller_set_disabled), (gst_controller_set_control_source),
5964         (gst_controller_get_control_source), (gst_controller_get),
5965         (gst_controller_sync_values), (gst_controller_get_value_array),
5966         (_gst_controller_dispose), (gst_controller_get_type),
5967         (gst_controlled_property_set_interpolation_mode),
5968         (gst_controller_set), (gst_controller_set_from_list),
5969         (gst_controller_unset), (gst_controller_unset_all),
5970         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5971         * libs/gst/controller/gstcontroller.h:
5972         * libs/gst/controller/gstcontrollerprivate.h:
5973         * libs/gst/controller/gstcontrolsource.c:
5974         (gst_control_source_class_init), (gst_control_source_init),
5975         (gst_control_source_get_value),
5976         (gst_control_source_get_value_array), (gst_control_source_bind):
5977         * libs/gst/controller/gstcontrolsource.h:
5978         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5979         (gst_object_get_control_source):
5980         * libs/gst/controller/gstinterpolation.c:
5981         (gst_interpolation_control_source_find_control_point_node),
5982         (gst_interpolation_control_source_get_first_value),
5983         (_interpolate_none_get), (interpolate_none_get),
5984         (interpolate_none_get_boolean_value_array),
5985         (interpolate_none_get_enum_value_array),
5986         (interpolate_none_get_string_value_array),
5987         (_interpolate_trigger_get), (interpolate_trigger_get),
5988         (interpolate_trigger_get_boolean_value_array),
5989         (interpolate_trigger_get_enum_value_array),
5990         (interpolate_trigger_get_string_value_array):
5991         * libs/gst/controller/gstinterpolationcontrolsource.c:
5992         (gst_control_point_free), (gst_interpolation_control_source_reset),
5993         (gst_interpolation_control_source_new),
5994         (gst_interpolation_control_source_set_interpolation_mode),
5995         (gst_interpolation_control_source_bind),
5996         (gst_control_point_compare), (gst_control_point_find),
5997         (gst_interpolation_control_source_set_internal),
5998         (gst_interpolation_control_source_set),
5999         (gst_interpolation_control_source_set_from_list),
6000         (gst_interpolation_control_source_unset),
6001         (gst_interpolation_control_source_unset_all),
6002         (gst_interpolation_control_source_get_all),
6003         (gst_interpolation_control_source_get_count),
6004         (gst_interpolation_control_source_init),
6005         (gst_interpolation_control_source_finalize),
6006         (gst_interpolation_control_source_dispose),
6007         (gst_interpolation_control_source_class_init):
6008         * libs/gst/controller/gstinterpolationcontrolsource.h:
6009         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
6010         API: Refactor GstController into the core controller which can take
6011         a GstControlSource for providing actual values for timestamps.
6012         Implement a interpolation control source and use this for backward
6013         compatibility, deprecate a bunch of functions that are now handled
6014         by GstControlSource or GstInterpolationControlSource.
6015         Make it possible to disable the controller completely or only for
6016         specific properties. Fixes #450711.
6017         * docs/libs/gstreamer-libs-docs.sgml:
6018         * docs/libs/gstreamer-libs-sections.txt:
6019         * docs/libs/gstreamer-libs.types:
6020         Add new functions and classes to the docs.
6021         * tests/check/libs/controller.c: (GST_START_TEST),
6022         (gst_controller_suite):
6023         * tests/examples/controller/audio-example.c: (main):
6024         Port unit test and example to the new API and add some new
6025         unit tests.
6026
6027 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
6028
6029         Patch by: Mark Nauwelaerts <manauw at skynet be>
6030
6031         * plugins/elements/gstmultiqueue.c:
6032         (gst_multi_queue_get_internal_links), (apply_buffer),
6033         (single_queue_overrun_cb), (gst_single_queue_new):
6034         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
6035         the pipeline layout can be tracked correctly. Fixes #453732.
6036
6037 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
6038
6039         * docs/gst/Makefile.am:
6040         * docs/libs/Makefile.am:
6041         * docs/plugins/Makefile.am:
6042           Simplify --extra-dir as gtkdoc scans recursively.
6043
6044 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6045
6046         * tools/gst-launch.c: (main):
6047         When we got an error, there is no point in waiting for preroll when
6048         shutting down.
6049
6050 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6051
6052         * plugins/elements/gsttee.c: (gst_tee_base_init),
6053         (gst_tee_request_new_pad), (gst_tee_release_pad),
6054         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6055         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6056         (gst_tee_chain):
6057         Be a lot smarter when deciding what srcpad to use for proxying
6058         the buffer_alloc. Also handle pad added/removed when doing so.
6059         Fixes #357959.
6060         Keep track of what pads we already pushed on in case we have pads
6061         added/removed while pushing. Fixes #374639 
6062
6063         * tests/check/Makefile.am:
6064         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6065         (tee_suite):
6066         Added unit test for pad resync.
6067
6068 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6069
6070         * po/nl.po:
6071         * po/sv.po:
6072           Updated translations.
6073
6074 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6075
6076         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6077
6078         * po/LINGUAS:
6079         * po/fi.po:
6080           Added new Finnish translation.
6081
6082 2007-06-28  Wim Taymans  <wim@fluendo.com>
6083
6084         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6085         (single_queue_overrun_cb):
6086         When figuring out when a queue is filled, use our internal time estimate
6087         based on segments, just like check_full does.
6088
6089 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6090
6091         * gst/gstminiobject.c: (gst_mini_object_get_type):
6092           Remove 3 do-nothing methods.
6093
6094 2007-06-27  Wim Taymans  <wim@fluendo.com>
6095
6096         Patch by: Tim Angus <tim at ngus dot net>
6097
6098         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6099         (gst_capsfilter_set_property):
6100         Take a reference instead of a copy when setting "caps".
6101         Fix documentation to clarify this behaviour. Fixes #449414.
6102
6103 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6104
6105         * gst/gstindexfactory.c: (gst_index_factory_get_type):
6106         * gst/gstplugin.c: (gst_plugin_init):
6107         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6108         * gst/gstquery.c: (gst_query_get_type):
6109         * gst/gstregistry.c: (gst_registry_init):
6110         * gst/gsturi.c: (gst_uri_handler_base_init):
6111           Remove empty instance_init() functions to save relocs and lessen the
6112           noise. Remove some of the function prototypes that are doubled by
6113           G_DEFINE_TYPE.
6114           
6115 2007-06-27  Wim Taymans  <wim@fluendo.com>
6116
6117         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6118
6119         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6120         Add peer and direction in the XML serialisation of ghostpads.
6121         Fixes #449226.
6122
6123 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6124
6125         * configure.ac:
6126           Preserve useful information, thanks Tim.
6127
6128 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
6129
6130         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6131         (gst_single_queue_flush), (apply_segment), (apply_buffer),
6132         (gst_single_queue_push_one), (gst_multi_queue_loop),
6133         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6134         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6135         (compute_high_id), (gst_single_queue_new):
6136         * plugins/elements/gstmultiqueue.h:
6137         Take the multiqueue lock when updating the fill level so we don't get
6138         confused. 
6139
6140         After applying a buffer or event on the src pad segment, make sure to
6141         call gst_data_queue_limits_changed() to get the data queue to unblock
6142         and check the filled state again.
6143         
6144         Rework the not-linked pad handling so the logic is that not-linked 
6145         pads can push as fast as they like, but only so they never get 
6146         ahead of any linked pads.
6147
6148         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6149         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6150         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6151
6152         Add a test to check that not-linked pads always stay behind
6153         linked pads.
6154
6155         Fixes: #430682
6156
6157 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
6158
6159         * docs/random/release:
6160           Some updates to the release procedure.
6161
6162 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6163
6164         * gst/gstelementfactory.c: (__gst_element_details_clear):
6165           Microoptimization that saves stunning 80 bytes.
6166
6167 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
6168
6169         * docs/plugins/gstreamer-plugins.args:
6170         * docs/plugins/inspect/plugin-coreelements.xml:
6171         * docs/plugins/inspect/plugin-coreindexers.xml:
6172           Update docs with caps info.
6173
6174 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6175
6176         * po/it.po:
6177           Updated Italian translation.
6178
6179 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6180
6181         * ChangeLog:
6182         * po/vi.po:
6183           Update Vietnamese translations.
6184
6185 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6186
6187         * libs/gst/base/gstbasesink.c:
6188           Remove unused signal enum.
6189
6190 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6191
6192         * docs/gst/gstreamer-sections.txt:
6193         * gst/gstelement.c:
6194         * gst/gstutils.c: (gst_type_register_static_full):
6195         Beef up and include the docs for gst_type_register_static_full and
6196         gst_element_class_set_details_simple and add the API keyword
6197         in the ChangeLog.
6198
6199 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6200
6201         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6202         (update_time_level), (gst_single_queue_push_one),
6203         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6204         (single_queue_overrun_cb), (single_queue_underrun_cb),
6205         (single_queue_check_full):
6206         Fix setting max-* properties after adding queues.
6207         Use IS_FILLED for checking visible items.
6208         Signal overrun if multiple queues overrun.
6209         Add extra debug output.
6210         Patch by: Wim Taymans <wim@fluendo.com>
6211
6212 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
6213
6214         * gst/gstelement.c: (gst_element_class_set_details_simple):
6215         * gst/gstelement.h:
6216         * gst/gstutils.c: (gst_type_register_static_full):
6217         * gst/gstutils.h:
6218         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6219         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6220         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6221         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6222         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6223         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6224         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6225         * plugins/elements/gstidentity.c: (gst_identity_base_init):
6226         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6227         * plugins/elements/gstqueue.c: (gst_queue_base_init),
6228         (apply_buffer), (gst_queue_chain):
6229         * plugins/elements/gsttee.c: (gst_tee_base_init):
6230         * plugins/elements/gsttypefindelement.c:
6231         (gst_type_find_element_base_init),
6232         (gst_type_find_element_class_init):
6233           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6234           API: add gst_type_register_static_full
6235           API: add gst_element_class_set_details_simple
6236
6237 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6238
6239         * docs/pwg/advanced-types.xml:
6240           Fix typo in iana.org URI.
6241
6242 2007-06-19  Andy Wingo  <wingo@pobox.com>
6243
6244         * tests/check/pipelines/simple-launch-lines.c
6245         (test_state_change_returns): Enable pull-mode tests now that
6246         basesink has been fixed.
6247
6248         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6249         Changed from gst_base_sink_is_prerolled, reversing the sense of
6250         the return value. Returns FALSE also if the sink is in pull mode,
6251         in which case it needs no preroll.
6252         (gst_base_sink_query, gst_base_sink_change_state): Update for
6253         needs_preroll change.
6254         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6255         chaining up, in which we return SUCCESS directly if we activated
6256         in pull mode instead of ASYNC. Involves countering an async_start
6257         message sent before chaining up; not sure if this is correct, in
6258         an ideal world we only send async-start when activating in push
6259         mode.
6260
6261         * tests/check/pipelines/simple-launch-lines.c
6262         (test_state_change_returns): New test, partially disabled until
6263         basesink is fixed.
6264
6265 2007-06-19  Wim Taymans  <wim@fluendo.com>
6266
6267         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6268         (gst_multi_queue_sink_event):
6269         Fix event leak.
6270
6271 2007-06-19  Wim Taymans  <wim@fluendo.com>
6272
6273         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6274         (gst_bin_change_state_func), (bin_push_state_continue),
6275         (bin_handle_async_start), (bin_handle_async_done),
6276         (gst_bin_handle_message_func):
6277         Move the common code for posting state-change messages into
6278         one function.
6279         Broadcast the state signal after we posted the messages.
6280         Mark the bin as busy when it's doing a state-change.
6281         Make sure async-start/done messages don't interfere with the bin's
6282         state when it's busy.
6283         After the state change, let the bin check which elements completed the
6284         state change while it was busy so that it can update its state.
6285
6286 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
6287
6288         * docs/random/release:
6289         Add a note about updating the doap file to the release checklist
6290
6291 2007-06-18  Wim Taymans  <wim@fluendo.com>
6292
6293         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6294         (gst_single_queue_push_one), (gst_multi_queue_chain),
6295         (gst_multi_queue_sink_event):
6296         Make sure we don't reference the buffer/event after we have given away
6297         ownership in the queue.
6298
6299 2007-06-18  Wim Taymans  <wim@fluendo.com>
6300
6301         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6302         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6303         Update queue state _after_ adding the item in the queue because else we
6304         could end up being full without the element added yet.
6305
6306 2007-06-18  Wim Taymans  <wim@fluendo.com>
6307
6308         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6309         (gst_bin_remove_func), (gst_bin_get_state_func),
6310         (gst_bin_element_set_state), (gst_bin_continue_func),
6311         (bin_push_state_continue), (bin_handle_async_start),
6312         (bin_handle_async_done), (gst_bin_handle_message_func):
6313         * gst/gstbin.h:
6314         Immediatly commit the toplevel bin state when receiving an async-done
6315         message. This enables us to avoid spawning a thread to commit the state
6316         in some common cases and it also avoids some races.
6317         Avoid spawning a state thread when adding/removing async elements to a
6318         toplevel bin. Instead we immediatly update the bin state.
6319         Get rid of iterating all the children when getting the state in the bin
6320         because it is now always up-to-date.
6321         Fix bug where locked elements would always return _SUCCESS even it they
6322         returned NO_PREROLL before being locked.
6323         Fix the order of the state_change, async-start/done messages that was
6324         sometimes incorrect.
6325         Mark the state_dirty field as deprecated, we don't need it anymore as we
6326         are always up-to-date.
6327
6328         * gst/gstelement.c: (gst_element_get_state_func),
6329         (gst_element_continue_state):
6330         Small debug inprovements.
6331         Return the previous element state return when nothing is pending instead
6332         of blindly returning SUCCESS.
6333
6334         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6335         (gst_sinks_suite):
6336         Add a whole bunch of new testcases.
6337
6338 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6339
6340         * po/uk.po:
6341         * po/vi.po:
6342           Update translations.
6343
6344 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
6345
6346         * gst/gstpad.c:
6347         Fix typo in the docs.
6348
6349 2007-06-15  Wim Taymans  <wim@fluendo.com>
6350
6351         * docs/libs/gstreamer-libs-sections.txt:
6352         Add docs for new methods.
6353
6354 2007-06-15  Wim Taymans  <wim@fluendo.com>
6355
6356         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6357         (gst_multi_queue_item_new):
6358         Don't use GSlice because we don't depend on >= 2.10 yet.
6359
6360 2007-06-15  Wim Taymans  <wim@fluendo.com>
6361
6362         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6363         (update_time_level), (apply_segment), (apply_buffer),
6364         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6365         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6366         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6367         (single_queue_underrun_cb), (single_queue_check_full):
6368         Remove debug printf.
6369
6370 2007-06-15  Wim Taymans  <wim@fluendo.com>
6371
6372         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6373         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6374         (gst_data_queue_set_flushing), (gst_data_queue_push),
6375         (gst_data_queue_pop), (gst_data_queue_drop_head),
6376         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6377         * libs/gst/base/gstdataqueue.h:
6378         Various cleanups.
6379         Added methods to get the current levels and to inform the queue that the
6380         'full' limits changed.
6381
6382         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6383         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6384         (gst_single_queue_flush), (update_time_level), (apply_segment),
6385         (apply_buffer), (gst_single_queue_push_one),
6386         (gst_multi_queue_item_steal_object),
6387         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6388         (gst_multi_queue_loop), (gst_multi_queue_chain),
6389         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6390         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6391         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6392         (single_queue_underrun_cb), (single_queue_check_full),
6393         (gst_single_queue_new):
6394         Keep track of time in the queue by measuring the difference between
6395         running_time on input and output. This gives more accurate results and
6396         can compensate for segments correctly.
6397         Make a queue by default only 5 buffers deep. We will now increase the
6398         buffer size depending on the filledness of the other queues.
6399         Factor out commong flush code.
6400         Make sure we don't add additional refcounts to buffers when we can avoid
6401         it.
6402         Propagate GstFlowReturn differently.
6403         Use GSlice for intermediate GstMultiQueueItems.
6404         Keep track of EOS.
6405         Resize queues on over and underruns based on filled level of other
6406         queues.
6407         When checking if the queue is filled, prefer to measure in time if we
6408         can and fall back to bytes when no time is known.
6409
6410         * plugins/elements/gstqueue.c:
6411         Fix return value.
6412
6413 2007-06-15  Wim Taymans  <wim@fluendo.com>
6414
6415         * libs/gst/base/gstbasetransform.c:
6416         (gst_base_transform_sink_event):
6417         Work around the brokenness of the event vmethod in basetransform. Prefer
6418         to return TRUE when the subclass returned FALSE (meaning don't forward
6419         the event). 
6420
6421         * libs/gst/base/gstbasetransform.h:
6422         Clarify the docs.
6423
6424 2007-06-15  Wim Taymans  <wim@fluendo.com>
6425
6426         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6427         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6428         (gst_base_src_default_query), (gst_base_src_get_range),
6429         (gst_base_src_start):
6430         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6431         Improve debugging.
6432
6433 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6434
6435         * docs/pwg/advanced-types.xml:
6436           Added more formats to caps table.
6437
6438 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6439
6440         * tools/gst-launch.c: (main):
6441           Remove crufy code. GOption does not need this workaround.
6442
6443 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6444
6445         * libs/gst/controller/gstcontroller.c:
6446         (gst_controlled_property_set_interpolation_mode):
6447           Fix wrong getter for enums in controller.
6448
6449 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6450
6451         * libs/gst/check/gstcheck.c: (gst_check_init):
6452           Intercept criticals and warnings in the Gst-Phonon log domain, so
6453           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6454           well.
6455         
6456 2007-06-14  Edward Hervey  <edward@fluendo.com>
6457
6458         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6459         Since this file doesn't include "gst.h" it will not go through the
6460         macros that disable GST_LOG if debugging was disabled.
6461
6462 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6463
6464         * libs/gst/check/Makefile.am:
6465         * libs/gst/check/gstcheck.h:
6466         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6467         * pkgconfig/gstreamer-check.pc.in:
6468           Ugly 'fix' for the controller unit test on the p5 bot: in
6469           fail_unless_equals_float() check whether the values are 'almost
6470           equal' by allowing a small absolute error, which should be good
6471           enough for our use cases (normal numbers and values close to 0).
6472           Proper fixage left to floating point arithmetic aficionados.
6473
6474 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6475
6476         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6477         (gst_base_sink_render_object), (gst_base_sink_get_position):
6478           Add two breaks thats where missing.
6479
6480 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6481
6482         * docs/libs/gstreamer-libs-sections.txt:
6483         * libs/gst/check/gstcheck.h:
6484           API: add fail_unless_equals_float() and assert_equals_float().
6485           Add documentation for some of the macros.
6486
6487         * tests/check/libs/controller.c: (GST_START_TEST):
6488           Use newly-added asserts.
6489
6490 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6491
6492         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6493           Show the caps change in the log to help spotting the case of not
6494           exactly matching caps.
6495
6496 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6497
6498         * docs/pwg/building-boiler.xml:
6499           Fix typos, spotted by Thijs Vermeir (#447190).
6500
6501 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6502
6503         * docs/plugins/tmpl/.cvsignore:
6504         Ignore file to keep the buildbots happy
6505
6506 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6507
6508         * docs/plugins/Makefile.am:
6509         * docs/plugins/gstreamer-plugins-docs.sgml:
6510         * docs/plugins/gstreamer-plugins-sections.txt:
6511         Pull fdsink into the docs too.
6512
6513 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6514
6515         * libs/gst/controller/gstinterpolation.c:
6516         Actually use the new functions with min/max checks for the trigger and
6517         none interpolation modes for get() and get_value_array() instead of
6518         just the latter.
6519
6520 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6521
6522         * libs/gst/controller/gstcontroller.c:
6523         (gst_controlled_property_free):
6524         Unset the minimum and maximum GValues when freeing the corresponding
6525         GstControllerProperty struct.
6526
6527 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6528
6529         * libs/gst/controller/gstcontroller.c:
6530         (gst_controlled_property_new):
6531         * libs/gst/controller/gstcontrollerprivate.h:
6532         * libs/gst/controller/gstinterpolation.c:
6533         (gst_controlled_property_find_control_point_node),
6534         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6535         (interpolate_none_get_string_value_array),
6536         (interpolate_trigger_get),
6537         (interpolate_trigger_get_enum_value_array),
6538         (interpolate_trigger_get_string_value_array):
6539         Protect against values larger or smaller than the minimum or maximum
6540         allowed value for the property when using values that can be compared.
6541
6542         Optimize trigger interpolator a bit by taking the last requested value
6543         into account instead of always looping through the complete list.
6544
6545         Fix coding style a bit, everywhere else we use "return foo" instead
6546         of "return (foo)".
6547         
6548         * tests/check/libs/controller.c: (GST_START_TEST),
6549         (gst_controller_suite):
6550         Add unit test for the protection against too large or too small
6551         values.
6552
6553 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6554
6555         * docs/random/slomo/controller.txt:
6556         Add some thoughts about the future of the controller.
6557
6558 2007-06-08  Wim Taymans  <wim@fluendo.com>
6559
6560         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6561         Don't overflow in retimestamping code.
6562
6563 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6564
6565         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6566         Use gst_util_guint64_to_gdouble for conversions.
6567         * win32/common/libgstreamer.def:
6568         Add new exported functions.
6569
6570 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6571
6572         * gst/gstutils.c:
6573           Small docs addition.
6574
6575 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6576
6577         * README:
6578           Remove that test line again.
6579
6580 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6581
6582         * README:
6583           Test commit mail sending.
6584
6585 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6586
6587         * configure.ac:
6588           Fix typo and test commit mail sending.
6589
6590 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6591
6592         * tests/examples/controller/audio-example.c:
6593           Improve comment and test commit mail sending.
6594
6595 2007-06-07  Wim Taymans  <wim@fluendo.com>
6596
6597         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6598         (gst_bin_remove_func), (gst_bin_element_set_state),
6599         (bin_handle_async_start), (bin_handle_async_done),
6600         (gst_bin_handle_message_func):
6601         Add helper function to find messages.
6602         Generate the async-done messages together with the state change
6603         messages.
6604         Small cleanups in handling toplevel bins.
6605
6606 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6607
6608         * libs/gst/base/gstdataqueue.c:
6609         * libs/gst/base/gstdataqueue.h:
6610         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6611         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6612         (gst_multi_queue_sink_event):
6613         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6614           Fix multiqueue leaking buffers and events when downstream or the
6615           queue are flushing. Make refcounting assumptions explicit and
6616           document them (shouldn't break existing code that uses it other than
6617           maybe leak miniobjects, but that already happens anyway). Add unit
6618           test for the most common flushing case. Fixes #423700.
6619           
6620 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6621
6622         * libs/gst/controller/gstcontroller.c:
6623         Clarify docs: The get_all, get_value_array(s) functions
6624         don't modify the GObject properties.
6625
6626 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6627
6628         * libs/gst/controller/gstcontroller.c:
6629         (gst_controlled_property_set_interpolation_mode),
6630         (gst_controlled_property_prepend_default),
6631         (gst_controlled_property_new), (gst_controller_set_unlocked),
6632         (gst_controller_set), (gst_controller_set_from_list),
6633         (gst_controller_unset), (gst_controller_unset_all):
6634         * libs/gst/controller/gstcontrollerprivate.h:
6635         * libs/gst/controller/gstinterpolation.c:
6636         Factor out the 'set' logic into gst_controller_set_unlocked for the
6637         gst_controller_set and gst_controller_set_from_list functions.
6638
6639         To make life of the interpolators easier always add a control point
6640         at timestamp zero with the default value.
6641
6642         In the linear interpolator make things more obvious by better variable
6643         naming (slope).
6644
6645         Implement cubic interpolation mode (by using a natural cubic spline)
6646         and map the quadratic interpolation mode to this too (as quadratic
6647         doesn't make much sense, see discussion on the list).
6648
6649         * tests/check/libs/controller.c: (GST_START_TEST),
6650         (gst_controller_suite):
6651         Add unit test for the cubic interpolation mode and check everywhere
6652         if the interpolation mode could be set as expected.
6653
6654 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6655
6656         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6657           Don't use GLib-2.10 functions, we still depend on
6658           GLib-how-old-is-it-again-2.8.
6659
6660 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6661
6662         * docs/gst/gstreamer-sections.txt:
6663         * gst/Makefile.am:
6664         * gst/gst.c:
6665         * gst/gst.h:
6666         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6667         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6668         (_gst_param_fraction_values_cmp),
6669         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6670         * gst/gstparamspecs.h:
6671         * gst/gstvalue.c:
6672         * tests/check/Makefile.am:
6673         * tests/check/gst/.cvsignore:
6674         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6675         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6676         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6677         (GST_START_TEST), (gst_param_spec_suite):
6678           API: add GstParamSpecFraction, so elements can have fraction
6679           properties without lots of painful string parsing (#444648).
6680
6681 2007-06-05  Wim Taymans  <wim@fluendo.com>
6682
6683         * gst/gstobject.c: (gst_object_class_init):
6684         Fix signal signature.
6685
6686         * gst/gstsegment.c:
6687         Add small clarification in the api docs.
6688
6689         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6690         States are protected with object lock.
6691
6692 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6693
6694         * AUTHORS:
6695         I should probably be listed as an author by now.
6696
6697         * docs/random/release:
6698         Update the release doc
6699
6700 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6701
6702         * gst/gstvalue.c:
6703           Make docs for gst_value_compare() mention return enums that
6704           actually exist.
6705
6706 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6707
6708         * configure.ac:
6709           Back to CVS
6710
6711 === release 0.10.13 ===
6712
6713 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6714
6715         * configure.ac:
6716           releasing 0.10.13, "With or without you"
6717
6718 2007-05-25  Wim Taymans  <wim@fluendo.com>
6719
6720         * gst/gstbin.c: (bin_handle_async_done):
6721         Make sure that the child bin stops after completing the async state
6722         change so that the parent can continue the state change to PLAYING.
6723         Fixes #441159.
6724
6725 2007-05-25  Wim Taymans  <wim@fluendo.com>
6726
6727         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6728         (unref_data), (gst_collect_pads_remove_pad),
6729         (gst_collect_pads_check_pads):
6730         Use additional refcounting to avoid crashes when dynamically adding and
6731         removing pads. Fixes #420206.
6732
6733 2007-05-24  Wim Taymans  <wim@fluendo.com>
6734
6735         * tools/gst-launch.c: (event_loop):
6736         When buffering goes from a two digit to a single digit number, make sure
6737         to remove the old second digit by writing a blank over it.
6738
6739 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6740
6741         * libs/gst/base/gstdataqueue.c:
6742           Eliminate tabs and trailing comma in enum list; fix some typos.
6743
6744 2007-05-24  Wim Taymans  <wim@fluendo.com>
6745
6746         * tests/check/gst/gstbin.c: (GST_START_TEST):
6747         Allow refcount of 3 and 4 because some state thread might still be busy
6748         with it.
6749
6750 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6751
6752         * plugins/elements/Makefile.am:
6753         * plugins/elements/gstmultiqueue.h:
6754         * plugins/elements/gstqueue.h:
6755           These are not installed headers, no need for padding.
6756
6757 2007-05-24  Wim Taymans  <wim@fluendo.com>
6758
6759         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6760         (gst_bin_continue_func):
6761         Enable latency for next release.
6762         Restore STATE_LOCK around recalc_state that was left out during the
6763         rewrite and could result in racy behaviour when _get_state and
6764         recalc_state are run concurrently. See #440463.
6765
6766 2007-05-23  Wim Taymans  <wim@fluendo.com>
6767
6768         * tests/check/gst/gstsystemclock.c: (store_callback),
6769         (GST_START_TEST):
6770         Improve test_async_order to also work when both timers are already
6771         expired when we get scheduled to check it.
6772
6773 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6774
6775         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6776         (gst_bin_set_property), (gst_bin_get_property),
6777         (gst_bin_remove_func), (gst_bin_handle_message_func):
6778         * gst/gstbin.h:
6779           'private' is a c++ keyword, let's not use that in header files,
6780           otherwise c++ compilers will throw a tantrum.
6781
6782 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6783
6784         * plugins/elements/gstelements.c:
6785         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6786         (gst_file_sink_get_current_offset):
6787         * plugins/indexers/gstindexers.c: (plugin_init):
6788           Use #ifdef for HAVE_XYZ for consistency.
6789
6790         * tests/check/Makefile.am:
6791         * tests/check/elements/.cvsignore:
6792         * tests/check/elements/filesink.c: (setup_filesink),
6793         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6794           Add some unit tests for filesink.
6795
6796 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6797
6798         Patch by: Mark Nauwelaerts <manauw at skynet be>
6799
6800         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6801         (gst_file_sink_query), (gst_file_sink_do_seek),
6802         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6803         * plugins/elements/gstfilesink.h:
6804           Fix position reporting; rename data_written member to current_pos to
6805           reflect its real meaning (fixes #412648).
6806
6807 2007-05-22  Edward Hervey  <edward@fluendo.com>
6808
6809         * docs/gst/gstreamer-sections.txt:
6810         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6811         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6812         (gst_bin_remove_func), (gst_bin_handle_message_func):
6813         * gst/gstbin.h:
6814         Add a property for bins that handle the state change of their childs.
6815         Fixes #435880
6816
6817 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6818
6819         * libs/gst/controller/gstinterpolation.c:
6820         Use an array of the correct type when using _get_value_array with
6821         linear interpolation.
6822
6823 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6824
6825         * gst/gstelement.c (gst_element_requires_clock,
6826           gst_element_provides_clock, gst_element_request_pad,
6827           gst_element_class_set_details, gst_element_class_set_details_simple,
6828           gst_element_default_send_event, gst_element_abort_state,
6829           gst_element_continue_state, gst_element_set_state,
6830           gst_element_set_state_func, iterator_activate_fold_with_resync):
6831         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6832           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6833           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6834           gst_pad_get_range, gst_pad_pull_range):
6835         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6836           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6837           GstPadActivateModeFunction, GstPadChainFunction,
6838           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6839           GstPadFixateCapsFunction, GstPadTemplate):
6840         * gst/gstpipeline.c (gst_pipeline_change_state,
6841           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6842           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6843           gst_pipeline_get_delay):
6844           Whitespace and docs fixes.
6845
6846 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6847
6848         * libs/gst/controller/gstinterpolation.c:
6849         (interpolate_trigger_get_enum_value_array),
6850         (interpolate_trigger_get_string_value_array):
6851         Add support for retrieving value arrays when using the trigger
6852         interpolation mode. 
6853
6854 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6855
6856         * libs/gst/controller/gstcontroller.c:
6857         (gst_controller_get_value_array):
6858         * libs/gst/controller/gstcontroller.h:
6859         Clarify the docs of gst_controller_get_value_array(): The array where
6860         the values should be written to must be allocated as there seems to be
6861         no way to get the size of a random GType. This doesn't change any
6862         behaviour. Also fix some typos all over the place and remove an unused,
6863         commented function that is not necessary as g_object_set() could be
6864         used instead.
6865         * tests/check/libs/controller.c: (GST_START_TEST),
6866         (gst_controller_suite):
6867         Add unit test for gst_controller_get_value_array().
6868
6869 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6870
6871         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6872
6873         Disable part of the gst_buffer_try_new_and_alloc test, because
6874         it can happily succeed on 64-bit systems where there's more address
6875         space available.
6876
6877 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6878
6879         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6880         Add unit test for the improved caps checking from bug #421543.
6881
6882 2007-05-21  Wim Taymans  <wim@fluendo.com>
6883
6884         * docs/design/part-synchronisation.txt:
6885         Small addition.
6886
6887         * gst/gstbin.c: (gst_bin_query):
6888         * plugins/elements/gstqueue.c: (apply_segment):
6889         Improve debugging.
6890
6891         * gst/gstmessage.h:
6892         Improve docs.
6893
6894 2007-05-21  Wim Taymans  <wim@fluendo.com>
6895
6896         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6897         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6898         (gst_pad_configure_src):
6899         Added simple version of improved caps checking. It was previously
6900         assumed that a setcaps function would check the validity of the caps but
6901         people prefer us to check caps against the template automatically. 
6902         Fixes #421543.
6903
6904 2007-05-21  Wim Taymans  <wim@fluendo.com>
6905
6906         * libs/gst/base/gstbasetransform.h:
6907         Fix macro for locking/unlocking the transform lock.
6908
6909 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6910
6911         * docs/plugins/tmpl/.cvsignore:
6912           Ignore more.
6913
6914 2007-05-18  Edward Hervey  <edward@fluendo.com>
6915
6916         * plugins/elements/gstqueue.c: (gst_queue_loop):
6917         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6918         for the subtle art of warning a potentially blocking thread that it
6919         should check the source pad return value, and relay the information
6920         upstream.
6921
6922 2007-05-18  Edward Hervey  <edward@fluendo.com>
6923
6924         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6925         Release the queue lock !
6926
6927 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6928
6929         * docs/libs/gstreamer-libs-sections.txt:
6930         Add the two new controller functions to the appropiate places.
6931
6932 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6933
6934         reviewed by: Stefan Kost <ensonic@users.sf.net>
6935
6936         * libs/gst/controller/gstcontroller.c:
6937         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6938         (_gst_controller_get_property), (_gst_controller_set_property),
6939         (_gst_controller_init), (_gst_controller_class_init):
6940         * libs/gst/controller/gstcontroller.h:
6941         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6942         (gst_object_get_control_rate), (gst_object_set_control_rate):
6943         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6944         Add API that provides sync suggestion timestamps for elements that
6945         call gst_object_sync_values() from which those elements can subdivide
6946         their processing loop to get the best results for the controlled
6947         properties. For now it just suggests last_sync + control_rate as
6948         new timestamp but this will be improved in the future.
6949
6950         While doing that change the control-rate property to a GstClockTime
6951         from guint and change it's meaning from samples to nanoseconds as
6952         the GstController doesn't know anything about sampling rate. Strictly
6953         speaking this breaks ABI but as the control-rate property didn't do
6954         anything in the past and as such couldn't be used this should be no
6955         problem.        
6956
6957 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6958
6959         reviewed by: Stefan Kost <ensonic@users.sf.net>
6960
6961         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6962         (gst_controller_unset_all):
6963         * libs/gst/controller/gstcontrollerprivate.h:
6964         * libs/gst/controller/gstinterpolation.c:
6965         (gst_controlled_property_find_control_point_node):
6966         Save last synced value from the list to continue searching from there
6967         in future syncs. This speeds everything up a bit.
6968         
6969 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6970
6971         reviewed by: Stefan Kost <ensonic@users.sf.net>
6972
6973         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6974         (gst_control_point_find), (gst_controlled_property_new),
6975         (gst_control_point_free), (gst_controlled_property_free),
6976         (gst_controller_set), (gst_controller_set_from_list),
6977         (gst_controller_unset), (gst_controller_unset_all),
6978         (gst_controller_sync_values):
6979         * libs/gst/controller/gstcontroller.h:
6980         * libs/gst/controller/gstcontrollerprivate.h:
6981         * libs/gst/controller/gstinterpolation.c:
6982         (gst_controlled_property_find_control_point_node),
6983         (interpolate_none_get), (interpolate_trigger_get):
6984         Add a new private GstControlPoint struct which "inherits" from
6985         GstTimedValue to allow different interpolators to store internal
6986         values next to each control point. From the outside everything is
6987         still a GstControlPoint so we don't loose binary compatibility.
6988         Also fixup all the GValue handling to not leak GValues or list nodes.
6989         * tests/check/libs/controller.c: (GST_START_TEST):
6990         Free the list nodes and GValues in the controller_misc test.
6991
6992 2007-05-17  Edward Hervey  <edward@fluendo.com>
6993
6994         * gst/gstsegment.c:
6995         Small doc fix.
6996
6997 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6998
6999         * gst/gstplugin.c: (gst_plugin_load_file):
7000           If we fail to load a plugin because of unresolved symbols or missing
7001           libraries and spew a warning to stderr, we may just as well mention
7002           which plugin it was that failed to load.
7003
7004 2007-05-13  David Schleef  <ds@schleef.org>
7005
7006         * docs/Makefile.am: the gtk-doc makefile snippet correctly
7007           handles the case when ENABLE_GTK_DOC is false, and installs
7008           the prebuilt documentation.  So gtk-doc subdirs are 
7009           unconditionally enabled.  Fixes: #349099.
7010
7011 2007-05-13  David Schleef  <ds@schleef.org>
7012
7013         * gst/gstutils.h: Reword some documentation.
7014
7015 2007-05-12  David Schleef  <ds@schleef.org>
7016
7017         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
7018           do anything with the passed "module" parameter, so remove it.
7019           Allows removal of additional vestigal code.
7020
7021 2007-05-12  David Schleef  <ds@schleef.org>
7022
7023         * gst/gstplugin.c:
7024           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
7025           Switch to using g_stat() because it's more portable.
7026
7027 2007-05-12  David Schleef  <ds@schleef.org>
7028
7029         * gst/gst.c:
7030           Add GST_DISABLE_OPTION_PARSING, in order to disable option
7031           parsing for embedded systems.
7032         * gst/gstelementfactory.c:
7033           Allow gst_element_register() to be called with plugin==NULL.
7034           Did nobody notice that static elements were broken?
7035
7036 2007-05-12  Wim Taymans  <wim@fluendo.com>
7037
7038         * tools/gst-launch.c: (event_loop):
7039         Give more interesting info when buffering starts and stops.
7040         Fix case where buffering starts but we fail to update the buffering flag
7041         because the target state is not PLAYING.
7042
7043 2007-05-12  Wim Taymans  <wim@fluendo.com>
7044
7045         * plugins/elements/gstqueue.c: (gst_queue_init),
7046         (gst_queue_finalize), (update_time_level), (apply_segment),
7047         (apply_buffer), (gst_queue_locked_flush),
7048         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
7049         (gst_queue_handle_sink_event), (gst_queue_chain),
7050         (gst_queue_push_one), (gst_queue_loop):
7051         * plugins/elements/gstqueue.h:
7052         Refactor an cleanup queue a bit.
7053         Do better time level calculations that also work when the srcpad is not
7054         yet running.
7055         Remove some unneeded debug lines.
7056
7057         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7058         Added testcase for time level measurement.
7059         Try to make some stuff more racefree.
7060
7061 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7062
7063         * gst/gsturi.c: (gst_element_make_from_uri):
7064           Don't leak plugin feature.
7065
7066         * tests/check/Makefile.am:
7067         * tests/check/gst/.cvsignore:
7068         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7069           Add brain-dead unit test.
7070
7071 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7072
7073         Patch by: Jeroen Wouters <woutersj at gmail com>
7074
7075         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7076           Treat protocol strings in a case-insensitive way (#437563).
7077
7078 2007-05-11  Michael Smith <msmith@fluendo.com>
7079
7080         * gst/gstplugin.c: (gst_plugin_load_file):
7081         * gst/gstregistry.c: (gst_registry_scan_path_level):
7082           Don't print a g_warning for any failure to load a shared object.
7083           Instead, push this down into gstplugin.c, and warn _only_ if we
7084           failed to open the module (i.e. failure to link).
7085           Avoids warnings on normal, working, non-plugin .so files.
7086
7087 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
7088
7089         * gst/gstplugin.c (gst_plugin_load_file):
7090         * gst/gstregistry.c (GST_CAT_DEFAULT,
7091           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7092           Print a g_warning if there was an error when loading a plugins during
7093           registry scan. The shuld help beginners starting with gst-plugin
7094           template.
7095
7096 2007-05-10  Wim Taymans  <wim@fluendo.com>
7097
7098         * plugins/elements/gstqueue.c: (gst_queue_class_init),
7099         (update_time_level), (gst_queue_locked_flush),
7100         (gst_queue_handle_sink_event), (gst_queue_chain),
7101         (gst_queue_push_one), (gst_queue_loop):
7102         * plugins/elements/gstqueue.h:
7103         Be smarter when calculating the current amount of data in the queue by
7104         measuring the difference between start and end timestamps (in running
7105         time) inside the queue. Fixes #432876.
7106         API: GstQueue::pushing to notify elements that we are pushing data again
7107         since the running signal is rather broken for this purpose.
7108
7109 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
7110
7111         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7112           gst_queue_base_init, gst_queue_init):
7113           use GST_BOILERPLATE
7114
7115 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
7116
7117         * win32/common/libgstreamer.def:
7118         Add new exported functions.
7119         * win32/vs6/grammar.dsp:
7120         Use grammar pre-generated files.
7121
7122 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7123
7124         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
7125
7126         * gst/Makefile.am:
7127         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7128         * gst/gstparse.h:
7129         * gst/gstutils.c: (gst_parse_bin_from_description):
7130         * gst/gstutils.h:
7131           Maintain API and ABI when --disable-parse is used. Now that
7132           we have an appropriate error code, we can just return NULL and the
7133           appropriate error when gst_parse_launch() is used despite it having
7134           been disabled (#342564).
7135
7136         * tests/check/Makefile.am:
7137         * tests/check/pipelines/.cvsignore:
7138         * tests/check/pipelines/parse-disabled.c:
7139           Make sure these functions exist and return NULL plus a GError when
7140           --disable-parse is used.
7141
7142 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7143
7144         * tests/benchmarks/complexity.c: (main):
7145         * tests/benchmarks/mass-elements.c: (main):
7146           Set a good example and don't leak messages.
7147
7148 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
7149
7150         * docs/gst/Makefile.am:
7151         * docs/libs/Makefile.am:
7152           Correct fixxrefs options.
7153
7154         * docs/plugins/Makefile.am:
7155         * docs/plugins/gstreamer-plugins-docs.sgml:
7156         * docs/plugins/gstreamer-plugins-sections.txt:
7157         * plugins/elements/Makefile.am:
7158         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7159         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7160           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7161           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7162           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7163           _GstCapsFilterClass, trans_class):
7164         * plugins/elements/gstelements.c (name, rank, type, _elements):
7165         * plugins/elements/gstidentity.c
7166           (gst_identity_check_imperfect_timestamp,
7167           gst_identity_check_imperfect_offset):
7168           Document capsfilter and add doc-blurb to identity.
7169
7170 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
7171
7172         * libs/gst/controller/gstcontroller.c:
7173         (gst_controlled_property_set_interpolation_mode):
7174         * libs/gst/controller/gstinterpolation.c:
7175           Don't crash if someone tries to set an interpolation mode that
7176           is invalid or that isn't supported yet. Fixes #422295.
7177
7178         * tests/check/libs/controller.c: (GST_START_TEST),
7179         (gst_controller_suite):
7180           Add a test case for the above.
7181
7182 2007-05-03  Edward Hervey  <edward@fluendo.com>
7183
7184         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7185         Properly set the last_stop position on GstSegment. This will only happen
7186         if there is a buffer to push out.
7187
7188 2007-05-03  Wim Taymans  <wim@fluendo.com>
7189
7190         * libs/gst/base/gstbasetransform.c:
7191         (gst_base_transform_buffer_alloc):
7192         always_in_place does not mean that the sink and source caps are the
7193         same! Make sure we don't blindly proxy the buffer_alloc in this case.
7194
7195 2007-05-03  Wim Taymans  <wim@fluendo.com>
7196
7197         * docs/libs/gstreamer-libs-sections.txt:
7198         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7199         (gst_base_src_default_query), (gst_base_src_get_range):
7200         * libs/gst/base/gstbasesrc.h:
7201         API: gst_base_src_query_latency(). Added method so that subclasses can
7202         easily get the latency values of the base source class.
7203
7204 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
7205
7206         * tools/gst-inspect.c (print_implementation_info):
7207         Remove 0.8 cruft.
7208
7209 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
7210
7211         * tools/Makefile.am:
7212         * tools/gst-launch.1.in:
7213           Don't create a customised man page based on the host architecture,
7214           describe the default registry path generically. That way the man
7215           page is the same for all architectures and packagers have one
7216           multilib issue less to deal with. Fixes #434926.
7217
7218 2007-05-02  Wim Taymans  <wim@fluendo.com>
7219
7220         * gst/gstpad.c:
7221         Fix documentation as spotted by rg on IRC. 
7222
7223 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
7224
7225         * gst/gstutils.c:
7226           Improve docs for gst_element_{link,unlink}.
7227
7228 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
7229
7230         * docs/design/part-events.txt:
7231         * docs/design/part-overview.txt:
7232         * gst/gstevent.c:
7233         * gst/gsturi.c:
7234         * gst/gsturi.h:
7235         * libs/gst/base/gstbasesink.c:
7236           Typo fixes; minor docs addition.
7237
7238 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7239
7240         * docs/gst/gstreamer-sections.txt:
7241         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7242         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7243         * gst/gsturi.h:
7244         API: Add gst_uri_protocol_is_supported(), which checks if a sink
7245         or src that supports a given URI protocol exists.
7246
7247 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7248
7249         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7250         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7251         Set the location to NULL if "file://" is set as URI. Otherwise
7252         some random previous URI would still be set if "file://" is
7253         set on an already used filesink/filesrc.
7254
7255 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7256
7257         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7258         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7259         Special case the "file://" URI as as this is used by some
7260         applications to test with gst_element_make_from_uri if there's
7261         an element that supports the URI protocol.
7262         Also move the g_path_is_absolute() check for the location part
7263         of the URI to also check this for "file://localhost/bla" URIs.
7264
7265 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
7266
7267         * docs/gst/gstreamer-sections.txt:
7268         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7269         * gst/gstbuffer.h:
7270         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7271         (gst_buffer_suite):
7272           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7273
7274 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
7275
7276         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7277         (gst_registry_binary_load_pad_template),
7278         (gst_registry_binary_load_plugin),
7279         (gst_registry_binary_read_cache):
7280         * gst/gstregistrybinary.h:
7281           Implement no-mmap alternative for registry reading. Do code cleanups.
7282           Add more comments about avoiding strdups for all text data. Comments
7283           welcome.
7284
7285 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7286
7287         * gst/gstregistrybinary.h (GstBinaryPluginElement,
7288           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7289           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7290           Comment structs and reformat to fix the build (that stuff should go
7291           into a priv. header).
7292
7293 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7294
7295         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7296         (gst_registry_binary_load_feature):
7297         * gst/gstregistrybinary.h:
7298           Refactor so that we can implement multiple features. Add support for
7299           TypeFindFactory features.
7300
7301 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
7302
7303         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7304
7305         * configure.ac:
7306           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7307
7308 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
7309
7310         * gst/gstbin.c: (gst_bin_element_set_state),
7311         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7312         (bin_handle_async_done), (gst_bin_handle_message_func):
7313           Fix build with --gst-disable-gst-debug
7314
7315 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
7316
7317         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7318           Make sure streaming has finished before calling the ::stop() vfunc,
7319           since that vfunc might clear state which is being used in the
7320           streaming thread. This fixes a race that caused crashes in
7321           audioresample when shutting down a pipeline (#420106).
7322
7323 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7324
7325         * docs/gst/gstreamer-sections.txt:
7326           That was one byte missing.
7327
7328 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7329
7330         * configure.ac:
7331         * docs/gst/gstreamer-sections.txt:
7332         * gst/Makefile.am:
7333         * gst/gstconfig.h.in:
7334         * gst/gstobject.c: (gst_object_class_init),
7335         (gst_signal_object_class_init):
7336         * gst/gstobject.h:
7337           2nd attempt to have a xml-less build as a joined effort of #413123
7338           and #421480.
7339
7340 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7341
7342         * docs/design/draft-tagreading.txt:
7343           Added open issues/thoughts to draft.
7344
7345 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7346
7347         * gst/parse/grammar.tab.pre.c:
7348         * gst/parse/grammar.tab.pre.h:
7349         * gst/parse/lex._gst_parse_yy.pre.c:
7350         Update the prebuild parser sources.
7351
7352 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7353
7354         * gst/parse/Makefile.am:
7355         And now fix the building of the flex sources. Now everything should
7356         work as expected.
7357
7358 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7359
7360         * gst/parse/Makefile.am:
7361         Now hopefully fix the build failures by setting proper rule
7362         dependencies and moving instead of copying.
7363
7364 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7365
7366         * tests/benchmarks/complexity.gnuplot:
7367         * tests/benchmarks/complexity.scm:
7368         * tests/benchmarks/mass-elements.gnuplot:
7369         * tests/benchmarks/mass-elements.scm:
7370           Total licensification.
7371
7372 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7373
7374         * gst/parse/Makefile.am:
7375           Fix the build by correcting the rule that gave wrong files to flex.
7376
7377 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7378
7379         * tests/benchmarks/complexity.c:
7380         * tests/benchmarks/mass-elements.c:
7381           Change licence to LGPL as granted by Benjamin and Andy.
7382
7383 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7384
7385         * gst/parse/Makefile.am:
7386         Add correct grammar.tab.h dependency if compiling without new enough
7387         flex. Fixes #431150.
7388
7389 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7390
7391         * gst/parse/Makefile.am:
7392         Fix typo and use outdated sources if the flex/bison sources are newer
7393         than the pregenerated ones but flex is too old. Print a warning in
7394         that case. This should fix the build on the build bot.
7395
7396 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7397
7398         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7399         * gst/parse/Makefile.am:
7400         * gst/parse/grammar.y:
7401         * gst/parse/parse.l:
7402         Make the parser reentrant and recursively callable. This requires flex
7403         >= 2.5.31, for older versions pregenerated sources are used as we
7404         can't bump the build dependency. Finally fixes #349180.
7405
7406         * gst/gstparse.c: (gst_parse_launch):
7407         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7408         now anyway.
7409
7410         * docs/gst/Makefile.am:
7411         * docs/gst/Makefile.am:
7412         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7413         (__gst_parse_strfree), (__gst_parse_link_new),
7414         (__gst_parse_link_free), (__gst_parse_chain_new),
7415         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7416         (gst_parse_element_set), (gst_parse_free_link),
7417         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7418         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7419         (_gst_parse_launch):
7420         * gst/parse/grammar.tab.pre.h:
7421         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7422         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7423         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7424         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7425         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7426         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7427         (_gst_parse_yypop_buffer_state),
7428         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7429         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7430         (yy_fatal_error), (_gst_parse_yyget_extra),
7431         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7432         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7433         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7434         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7435         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7436         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7437         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7438         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7439         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7440         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7441         (_gst_parse_yyfree):
7442         If the installed flex version is too old use pre-generated parser
7443         sources. These pre-generated parser sources are always updated when
7444         the actual flex/bison sources change but require everybody who wants
7445         to change something in the parser to have flex >= 2.5.31 installed.
7446
7447 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7448
7449         * common/m4/gst-gettext.m4:
7450         * gst/gst-i18n-lib.h:
7451           Make --disable-nls to work
7452
7453 2007-04-17  Wim Taymans  <wim@fluendo.com>
7454
7455         * gst/gstconfig.h.in:
7456         Revert previous change that broke the build.
7457
7458 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7459
7460         * configure.ac:
7461         * gst/Makefile.am:
7462         * gst/gstconfig.h.in:
7463           Drop libxml2 dependency when building with 
7464           --enable-binary-registry --disable-loadsave
7465
7466 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7467
7468         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7469         (gst_registry_binary_read_cache):
7470         * gst/gstregistrybinary.h:
7471           Remove unnecessary <sys/mman.h> include which broke the win32 build
7472           with MingW; move includes from header file to .c file, even if the
7473           header file isn't installed; use g_strerror() where UTF-8 strings
7474           are expected, such as in GST_DEBUG messages.
7475
7476 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7477
7478         * docs/libs/gstreamer-libs-sections.txt:
7479         Remove bogus addition for API I didn't end up keeping.
7480
7481         * libs/gst/base/gstbasesrc.h:
7482         Mention Since: 0.10.13 in the documentation.
7483
7484         Add the API keyword to the previous ChangeLog entry.
7485
7486 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7487
7488         * docs/libs/gstreamer-libs-sections.txt:
7489         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7490         (gst_base_src_default_prepare_seek_segment),
7491         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7492         * libs/gst/base/gstbasesrc.h:
7493         Allow basesrc derived classes to execute seeks in other formats
7494         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7495         to prepare the GstSegment in any format that their perform_seek method
7496         will be able to understand. The default implementation provides the
7497         old behaviour of attempting to convert the seek offsets to the 
7498         configured native format.
7499
7500         API: basesrc::prepare_seek_segment vmethod.
7501
7502 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7503
7504         * gst/gstelement.c: (gst_element_get_state_func):
7505         Don't output the same debug statement twice.
7506
7507         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7508         (gst_adapter_peek), (gst_adapter_take_buffer):
7509         Optimise the case where we have buffers at the head of the queue that
7510         can be joined quickly (because they're contiguous sub-buffers) by
7511         merging them together rather than copying data out into new memory.
7512
7513         * gst/parse/grammar.y:
7514         * tests/check/pipelines/parse-launch.c:
7515         Fix a leak in an error path for parse_launch, and add a check 
7516         for it to the testsuite.
7517
7518 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7519
7520         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7521           Don't deadlock when releasing a pad - gst_pad_set_active may try
7522           and take the multiqueue lock too.
7523
7524 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7525
7526         * gst/gsterror.c: (_gst_core_errors_init):
7527         * gst/gsterror.h:
7528           API: add GST_CORE_ERROR_DISABLED (#392804).
7529
7530 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7531
7532         * docs/faq/gst-uninstalled:
7533           don't get empty paths on the PATH variables
7534         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7535           Don't format for the uncommon terminal width of 84 characters.
7536
7537 2007-04-06  Wim Taymans  <wim@fluendo.com>
7538
7539         * gst/gstpipeline.c: (reset_stream_time),
7540         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7541         Only try to select a different pipeline clock when we went back to
7542         PAUSED and not when we merely got flushed.
7543
7544 2007-04-05  Michael Smith  <msmith@fluendo.com>
7545
7546         * tools/gst-launch.1.in:
7547           fractions are better supported in gstreamer than ractions, so
7548           suggest using those.
7549
7550 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7551
7552         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7553
7554         * po/LINGUAS:
7555         * po/da.po:
7556           Added Danish translation.
7557
7558 2007-04-05  Wim Taymans  <wim@fluendo.com>
7559
7560         * libs/gst/base/gstbasesink.c:
7561         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7562         Fix leak caused when refusing newsegment after EOS.
7563
7564         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7565         (gst_fake_sink_init), (gst_fake_sink_set_property),
7566         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7567         (gst_fake_sink_render), (gst_fake_sink_change_state):
7568         * plugins/elements/gstfakesink.h:
7569         Add num-buffers property to make the element generate EOS after a
7570         configurable amount of buffers.
7571         API: fakesink::num-buffers property.
7572
7573         * tests/check/elements/fakesink.c: (GST_START_TEST),
7574         (fakesink_suite):
7575         Fix GstBus leak in test.
7576         Test for fakesink num-buffers.
7577
7578 2007-04-05  Wim Taymans  <wim@fluendo.com>
7579
7580         * libs/gst/base/gstbasesink.c:
7581         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7582         (gst_base_sink_change_state):
7583         Don't accept anything after an EOS, return UNEXPECTED instead.
7584
7585         * tests/check/elements/fakesink.c: (GST_START_TEST),
7586         (fakesink_suite):
7587         Unit test for new EOS behaviour.
7588
7589 2007-04-05  Wim Taymans  <wim@fluendo.com>
7590
7591         * gst/gstelement.c: (gst_element_get_request_pad):
7592         Make padtemplates also work when they don't contain %s or %d.
7593
7594 2007-04-05  Wim Taymans  <wim@fluendo.com>
7595
7596         * docs/gst/gstreamer-sections.txt:
7597         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7598         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7599         * gst/gstclock.h:
7600         Improve _adjust_unlocked() so that it overflows less.
7601         Add gst_clock_unadjust_unlocked to convert from external time to
7602         internal time based on calibration.
7603         Add some more debug.
7604         API: GstClock::gst_clock_unadjust_unlocked()
7605
7606 2007-04-03  Wim Taymans  <wim@fluendo.com>
7607
7608         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7609
7610         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7611         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7612         when releasing sink pad. Fixes #425400.
7613
7614 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7615
7616         * docs/random/ensonic/dynlink.txt:
7617           More work on proposal for new core api.
7618
7619         * docs/libs/gstreamer-libs-sections.txt:
7620         * libs/gst/base/gstbasetransform.h:
7621           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7622           
7623         * libs/gst/controller/gstcontroller.c:
7624         (on_object_controlled_property_changed),
7625         (gst_controller_sync_values),
7626         (gst_controller_set_interpolation_mode):
7627         * libs/gst/controller/gstcontroller.h:
7628           Less verbose logging add docs for unimplemented parts and correctly
7629           return when using unavailable parts.
7630
7631 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7632
7633         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7634         Move all the debug to the CLOCK category, and associate it with
7635         the clock object.
7636
7637 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7638
7639         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7640         Make take_buffer a bit quicker by removing redundant checks
7641         caused by calling gst_adapter_take.
7642
7643 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7644
7645         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7646           Don't leak GCond.
7647
7648         * tests/check/Makefile.am:
7649         * tests/check/elements/.cvsignore:
7650         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7651         (GST_START_TEST), (multiqueue_suite):
7652           Add some dead simple unit tests for the 'multiqueue' element
7653           (some bits don't work yet and are disabled for now).
7654
7655 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7656
7657         * gst/gstelement.c: (gst_element_get_request_pad),
7658         (gst_element_class_get_request_pad_template):
7659           Make gst_element_get_request_pad() create request pads only for
7660           request pad templates and not for, say, sometimes pad templates.
7661
7662 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7663
7664         * docs/design/draft-klass.txt:
7665           Add example that needs more thinking.
7666         
7667         * docs/design/draft-missing-plugins.txt:
7668           More thoughts about wrapper plugins.
7669         
7670         * docs/random/ensonic/embedded.txt:
7671         * docs/random/ensonic/profiling.txt:
7672           More design work.
7673
7674 2007-03-25  Wim Taymans  <wim@fluendo.com>
7675
7676         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7677         (gst_base_src_loop):
7678         Only push the segment events in the PLAYING state for live sources.
7679
7680 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7681
7682         * gst/gstpipeline.c: (gst_pipeline_change_state):
7683         Modify the clock distribution path in PAUSED->PLAYING so that we 
7684         never attempt to choose a new clock unless we're actually leaving
7685         the PAUSED state for the first time. This prevents choosing a
7686         different clock when the state_change gets called for a 2nd time due
7687         to some element doing an async state change.
7688
7689 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7690
7691         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7692         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7693         (gst_pad_chain_unchecked), (gst_pad_push):
7694         Revert last commit. This needs some more thoughts.
7695
7696 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7697
7698         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7699         (gst_pad_chain_unchecked), (gst_pad_push):
7700         Check in set_caps if the caps are compatible with the pad and remove
7701         two functions that are redundant now. Fixes #421543.
7702
7703 2007-03-22  Wim Taymans  <wim@fluendo.com>
7704
7705         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7706         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7707         Unref some more to make valgrind happy.
7708
7709 2007-03-22  Wim Taymans  <wim@fluendo.com>
7710
7711         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7712         (gst_system_clock_id_wait_jitter),
7713         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7714         Fix anoying regression that survived a few releases. When adding an
7715         async entry while blocking on a sync entry, the sync entry will unblock
7716         but still be busy, so it should continue to wait instead of returning
7717         _BUSY to the app.
7718         Add some comments here and there.
7719
7720         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7721         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7722         Add testcase for this.
7723
7724 2007-03-22  Wim Taymans  <wim@fluendo.com>
7725
7726         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7727         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7728         WRONG_STATE and can silently pause the task. All other cases should
7729         error out.
7730
7731 2007-03-22  Wim Taymans  <wim@fluendo.com>
7732
7733         Patch by: Ville Syrjala <syrjala at sci dot fi>
7734
7735         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7736         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7737         Improve debugging.
7738
7739 2007-03-21  Michael Smith  <msmith@fluendo.com>
7740
7741         * docs/pwg/advanced-types.xml:
7742           Fix some errors in the typefinding docs pointed out on irc.
7743
7744 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7745
7746         * libs/gst/base/gstbasesrc.c:
7747         Clarify FIXME comment in the face of having added unlock_stop()
7748
7749 2007-03-21  Wim Taymans  <wim@fluendo.com>
7750
7751         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7752         Prepare for release where we warn against possible app breakage in the
7753         case of live pipelines along with an env var to enable/disable live
7754         preroll mode (GST_COMPAT=[no-]live-preroll).
7755
7756 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7757
7758         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7759         So we should use correct constants for checking for None offset.
7760
7761 2007-03-20  Wim Taymans  <wim@fluendo.com>
7762
7763         * docs/design/part-block.txt:
7764         Mention the fact that the newly switched element should be set to at
7765         least PAUSED.
7766
7767 2007-03-20  Wim Taymans  <wim@fluendo.com>
7768
7769         * gst/gst.c:
7770         Fix compilation with registry disabled as spotted by Saur.
7771
7772 2007-03-20  Wim Taymans  <wim@fluendo.com>
7773
7774         Patch by: Olivier Crete <tester at tester dot ca>
7775
7776         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7777         Look at the pending state too when syncing the element state to the
7778         parent. Fixes #420133.
7779
7780 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7781
7782         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7783         (gst_base_sink_change_state):
7784         * libs/gst/base/gstbasesink.h:
7785         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7786         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7787         (gst_base_src_deactivate):
7788         * libs/gst/base/gstbasesrc.h:
7789         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7790         for sub-classes to correctly clear any state they set trying to
7791         unlock, such as clearing out unlock commands from a command fd.
7792         API: basesrc::unlock_stop
7793         API: basesink::unlock_stop
7794
7795         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7796         (gst_fd_sink_render), (gst_fd_sink_unlock),
7797         (gst_fd_sink_unlock_stop):
7798         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7799         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7800         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7801
7802         Implement unlock_stop in fdsrc and fdsink.
7803         Implement seeking in fdsrc when a seekable fd is passed, as in
7804         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7805
7806 2007-03-19  Wim Taymans  <wim@fluendo.com>
7807
7808         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7809
7810         * gst/gstelement.c: (gst_element_class_init):
7811         Fix pad-added and pad-removed signal signatures so that the pad type is
7812         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7813
7814 2007-03-19  Wim Taymans  <wim@fluendo.com>
7815
7816         * docs/gst/gstreamer-sections.txt:
7817         Add new element field and method.
7818
7819         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7820         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7821         (gst_bin_recalc_state), (gst_bin_get_state_func),
7822         (gst_bin_element_set_state), (gst_bin_change_state_func),
7823         (gst_bin_continue_func), (bin_bus_handler),
7824         (bin_push_state_continue), (bin_handle_async_start),
7825         (bin_handle_async_done), (gst_bin_handle_message_func):
7826         Make async state changes a bit smarter by using new ASYNC_START and
7827         ASYNC_DONE messages. This reduces the number of times we run the state
7828         recalculation thread.
7829         Don't change state of element with a pending ASYNC_START message.
7830         Deprecate STATE_DIRTY messages.
7831         
7832         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7833         (gst_element_get_state_func), (gst_element_continue_state),
7834         (gst_element_lost_state), (gst_element_set_state_func),
7835         (gst_element_change_state):
7836         * gst/gstelement.h:
7837         Keep the state that was last set by the app in a new element field.
7838         Don't allow state changes when handling an element event.
7839         Post ASYNC_START and ASYNC_DONE messages.
7840         Change lost_state so that we go to PAUSED and wait for the parent to set
7841         us to PLAYING again (so latency calculation can be performed)
7842         Export gst_element_change_state() method so that subclasses can use it.
7843         API: gst_element_change_state()
7844         API: GST_STATE_TARGET
7845
7846         * gst/gstpipeline.c: (gst_pipeline_class_init),
7847         (reset_stream_time), (gst_pipeline_change_state),
7848         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7849         Using the new ASYNC_START message we can reset the base_time when
7850         needed. This can then be used to implement base_time redistribution in
7851         flushing seeks so that we can remove the explicit seek handling.
7852         Perform latency query and configuration when going to PLAYING.
7853
7854         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7855         (gst_base_sink_query), (gst_base_sink_change_state):
7856         Post new ASYNC_START/ASYNC_DONE messages.
7857
7858         * tests/check/generic/sinks.c: (GST_START_TEST):
7859         Fix test because the bin will not set the async element to PLAYING right
7860         away.
7861
7862         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7863         Make the message check a little stronger.
7864         Handle ASYNC messages.
7865
7866         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7867         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7868         Expect ASYNC_DONE messages.
7869
7870 2007-03-19  Wim Taymans  <wim@fluendo.com>
7871
7872         * docs/gst/gstreamer-sections.txt:
7873         * gst/gstmessage.c: (gst_message_new_async_start),
7874         (gst_message_new_async_done), (gst_message_parse_info),
7875         (gst_message_parse_async_start):
7876         * gst/gstmessage.h:
7877         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7878         support.
7879
7880 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7881
7882         * tools/gst-inspect.c:
7883         (print_plugin_automatic_install_info_codecs):
7884           Now that we don't check for the 'Codec' keyword any longer in the
7885           klass, we shouldn't spew a warning if the klass isn't a decoder or
7886           encoder (since it might be a Source/Network, for example).
7887
7888 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7889
7890         * tools/gst-inspect.c:
7891         (print_plugin_automatic_install_info_codecs):
7892           Don't require decoder/demuxer/depayloader elements or
7893           encoder/muxer/paylader elements to have 'Codec' as part of their
7894           factory class string when introspecting a plugin's capabilities.
7895           draft-klass.txt mentions that it might be removed in future, and
7896           flump3dec doesn't have it as part of its class string, so chances
7897           are others might also not have it.
7898
7899 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7900
7901         * po/af.po:
7902         * po/az.po:
7903         * po/bg.po:
7904         * po/ca.po:
7905         * po/cs.po:
7906         * po/de.po:
7907         * po/en_GB.po:
7908         * po/fr.po:
7909         * po/it.po:
7910         * po/nb.po:
7911         * po/nl.po:
7912         * po/ru.po:
7913         * po/sq.po:
7914         * po/sr.po:
7915         * po/sv.po:
7916         * po/tr.po:
7917         * po/uk.po:
7918         * po/vi.po:
7919         * po/zh_CN.po:
7920         * po/zh_TW.po:
7921           Update translations from translation project
7922
7923 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7924
7925         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7926         (gst_child_proxy_set_property):
7927           Invert precondition check to be alike the ones in the mimiced gobject
7928           api.
7929
7930 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7931
7932         * docs/design/draft-tagreading.txt:
7933         * docs/random/ensonic/audiobaseclasses.txt:
7934           Do some Architect work.
7935
7936         * gst/gstobject.c: (gst_object_set_name):
7937           Add a WARNING.
7938
7939         * gst/gstpad.c:
7940           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7941
7942 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7943
7944         * gst/gstsystemclock.c: (gst_system_clock_init),
7945         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7946         Defer starting the async system clock thread until the first async
7947         wait is scheduled. Fixes #414986.
7948
7949 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7950
7951         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7952         (gst_single_queue_free):
7953           Fix small leak (free GstSingleQueue structure too, not only contents).
7954
7955 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7956
7957         * gst/gstbin.c:(gst_bin_add):
7958         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7959         * win32/common/libgstbase.def:
7960         * win32/common/libgstreamer.def:
7961         Add new exported functions.
7962
7963 2007-03-09  Wim Taymans  <wim@fluendo.com>
7964
7965         * docs/plugins/gstreamer-plugins-sections.txt:
7966         Fix GstTee docs.
7967
7968 2007-03-09  Wim Taymans  <wim@fluendo.com>
7969
7970         * docs/gst/gstreamer-sections.txt:
7971         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7972         * gst/gstbuffer.h:
7973         Add metadata copy functions. Fixes #393099.
7974         API: gst_buffer_copy_metadata()
7975
7976         * gst/gstutils.c: (gst_buffer_stamp):
7977         * libs/gst/base/gstbasetransform.c:
7978         (gst_base_transform_prepare_output_buffer):
7979         Use new metadata copy functions.
7980
7981 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7982
7983         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7984         (gst_identity_init), (gst_identity_check_perfect),
7985         (gst_identity_check_imperfect_timestamp),
7986         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7987         (gst_identity_set_property), (gst_identity_get_property):
7988         * plugins/elements/gstidentity.h:
7989         Separate out check-imperfect-timestamp and check-imperfect-offset.
7990         Put back check-perfect as it was to keep compatibility.
7991
7992 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7993
7994         * gst/gstelement.c: (gst_element_dispose):
7995         There's no need to warn if VOID_PENDING is not NONE here, as
7996         long as the state is NULL it's ok, and that's checked immediately
7997         above.
7998
7999 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8000
8001         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8002         Fix check for perfect stream to ignore buffers with -1 
8003         offsets/offset ends when checking data contiguity.
8004
8005 2007-03-08  Wim Taymans  <wim@fluendo.com>
8006
8007         * tools/gst-launch.c: (event_loop):
8008         Print INFO messages.
8009
8010 2007-03-08  Wim Taymans  <wim@fluendo.com>
8011
8012         * libs/gst/base/gstbasetransform.c:
8013         (gst_base_transform_sink_eventfunc),
8014         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8015         (gst_base_transform_activate):
8016         * libs/gst/base/gstbasetransform.h:
8017         Add support for dropping buffers with custom GstFlowReturn.
8018         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
8019         buffers or dropped buffers.
8020
8021         * docs/libs/gstreamer-libs-sections.txt:
8022         docs for new custom return code.
8023
8024         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8025         Use drop support in base class to implement drop-probability.
8026
8027 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
8028
8029         * gst/gst.c: (load_plugin_func):
8030         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
8031         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8032         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8033           Remove newlines at end of debug log strings.
8034
8035 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8036
8037         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8038         Only post bus message at max, once per buffer received.
8039
8040 2007-03-07  Wim Taymans  <wim@fluendo.com>
8041
8042         * docs/design/Makefile.am:
8043         * docs/design/part-synchronisation.txt:
8044         Add doc about synchronisation
8045
8046         * docs/design/draft-latency.txt:
8047         * docs/design/part-TODO.txt:
8048         * docs/design/part-clocks.txt:
8049         * docs/design/part-events.txt:
8050         * docs/design/part-gstbus.txt:
8051         * docs/design/part-gstpipeline.txt:
8052         * docs/design/part-live-source.txt:
8053         * docs/design/part-messages.txt:
8054         * docs/design/part-overview.txt:
8055         * docs/design/part-streams.txt:
8056         * docs/design/part-trickmodes.txt:
8057         Documentation updates.
8058
8059 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8060
8061         * gstreamer.doap:
8062         Update the doap file.
8063
8064 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8065
8066         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8067         Rename non-perfect to imperfect for Mike and for the sanctity of the
8068         language.
8069         Also make sure bus message gets emitted for data-incontiguities.
8070
8071 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8072
8073         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8074         (gst_identity_start):
8075         * plugins/elements/gstidentity.h:
8076         Emit bus message if check-perfect is true and we encounter a
8077         non-perfect stream between 2 consecutive buffers.
8078         Fixes #415394.
8079
8080 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8081
8082         * configure.ac:
8083         Back to CVS
8084
8085 === release 0.10.12 ===
8086
8087 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
8088
8089         * configure.ac:
8090           releasing 0.10.12, "Inevitable Demise"
8091
8092 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
8093
8094         * configure.ac:
8095          Version 0.10.11.2 (0.10.12 pre-release)
8096          Bump libtool versioning.
8097
8098 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
8099
8100         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8101           Log flow-names and not numbers.
8102
8103 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8104
8105         * configure.ac:
8106           Convert to new AG_GST style.
8107
8108 2007-02-28  Wim Taymans  <wim@fluendo.com>
8109
8110         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8111         Don't unref query twice.
8112
8113 2007-02-28  Wim Taymans  <wim@fluendo.com>
8114
8115         * gst/gstvalue.c: (gst_value_transform_object_string),
8116         (_gst_value_initialize):
8117         Implement GstObject -> string transform so we print object names
8118         when serializing GValues containing GstObjects.
8119
8120 2007-02-28  Wim Taymans  <wim@fluendo.com>
8121
8122         * docs/gst/gstreamer-sections.txt:
8123         Add new stuff to docs.
8124
8125 2007-02-28  Wim Taymans  <wim@fluendo.com>
8126
8127         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8128         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8129         (gst_base_sink_change_state):
8130         Improve latency query code.
8131         Don't leak latency events.
8132
8133         * tests/check/gst/gstbin.c: (GST_START_TEST):
8134         Improve debugging.
8135
8136 2007-02-28  Wim Taymans  <wim@fluendo.com>
8137
8138         * gst/gstelement.c: (gst_element_message_full),
8139         (gst_element_get_state_func):
8140         * gst/gstelement.h:
8141         Improve docs a little. Added Since: for new macro.
8142
8143         * gst/gstobject.c: (gst_object_sink):
8144         * gst/gstpipeline.c: (gst_pipeline_change_state),
8145         (gst_pipeline_set_new_stream_time):
8146         * gst/gstpipeline.h:
8147         Improve debugging and docs.
8148
8149         * gst/gstutils.c: (gst_element_state_change_return_get_name):
8150         Improve debugging.
8151
8152 2007-02-28  Wim Taymans  <wim@fluendo.com>
8153
8154         * gst/gstelement.c: (gst_element_message_full),
8155         (gst_element_set_locked_state), (gst_element_get_state_func),
8156         (gst_element_change_state):
8157         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8158         Documentation updates.
8159         Small code cleanups.
8160
8161         * gst/gstmessage.c: (gst_message_new_info),
8162         (gst_message_parse_info):
8163         * gst/gstmessage.h:
8164         API: gst_message_new_info()
8165         API: gst_message_parse_info()
8166         Add INFO message create and parse code.
8167
8168 2007-02-28  Wim Taymans  <wim@fluendo.com>
8169
8170         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8171         (bin_query_latency_done):
8172         Also report the live parameter of a latency query.
8173
8174 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8175
8176         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8177           Copy the current generic/states example from -base and adapt so
8178           we can use the exact same code everywhere.
8179           Check a STATES_IGNORE_ELEMENTS env var which can be used
8180           to ignore certain element factories for this test, which is
8181           what is being done in -base
8182         * tests/check/Makefile.am:
8183           Mention this environment variable.
8184
8185 2007-02-27  Wim Taymans  <wim@fluendo.com>
8186
8187         * docs/gst/gstreamer-sections.txt:
8188         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8189         (gst_bus_timed_pop), (gst_bus_pop):
8190         * gst/gstbus.h:
8191         API: gst_bus_timed_pop()
8192         Implement gst_bus_timed_pop() to do a blocking timed wait for a
8193         message to arrive on the bus.
8194
8195         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8196         (gst_bus_suite):
8197         Two unit tests for new _timed_pop() function.
8198
8199 2007-02-23  Wim Taymans  <wim@fluendo.com>
8200
8201         * gst/gstpipeline.c: (gst_pipeline_change_state),
8202         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8203         Don't ref a NULL clock in _provide_clock_func().
8204         Don't allow an INVALID delay.
8205         Don't try to calculate base_time with an invalid start_time.
8206         Also distribute and notify a NULL clock when it was selected.
8207
8208         * tools/gst-launch.c: (event_loop):
8209         Don't crash when a NULL clock was selected in the pipeline.
8210
8211 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8212
8213         * docs/design/Makefile.am:
8214         * docs/design/draft-missing-plugins.txt:
8215         * docs/random/draft-missing-plugins.txt:
8216           Some small updates: update plugin system identifier prefix
8217           ('gstreamer.net' to 'gstreamer'), mention our new install
8218           API in libgstbaseutils rather than libgimme-codec, add
8219           reference to the online docs.
8220
8221 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8222
8223         * win32/common/config.h:
8224           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
8225           use moap cl ci to only check in what is mentioned in the ChangeLog.
8226
8227 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8228
8229         * docs/gst/gstreamer-sections.txt:
8230         * gst/gstelement.h:
8231           Fix up documentation to link to the correct GstGError section.
8232           Add GST_ELEMENT_INFO macro since someone else added a Info message.
8233
8234 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8235
8236         * tools/gst-launch.c: (event_loop):
8237           Make sure that we actually show the important message part of a
8238           warning message.
8239           No need to check if the gerror is not NULL to free; first of all
8240           g_free accepts NULL; and second the default error handler would
8241           segfault if gerror was NULL.
8242
8243 2007-02-21  Wim Taymans  <wim@fluendo.com>
8244
8245         * docs/gst/gstreamer-sections.txt:
8246         Removed docs as well.
8247
8248 2007-02-21  Wim Taymans  <wim@fluendo.com>
8249
8250         * gst/gstmessage.c: (gst_message_parse_duration):
8251         * gst/gstmessage.h:
8252         Remove new messages for release.
8253
8254 2007-02-20  Wim Taymans  <wim@fluendo.com>
8255
8256         * docs/design/part-gstghostpad.txt:
8257         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8258         (gst_ghost_pad_new_full):
8259         Make the ghostpad a parent of the internal pad again for better backward
8260         compatibility. Don't write code that relies on this however.
8261
8262         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8263         (gst_pad_link_check_hierarchy):
8264         Require that parents should be GstElements in the hierarchy check.
8265
8266 2007-02-20  Wim Taymans  <wim@fluendo.com>
8267
8268         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8269         (gst_bin_change_state_func), (bin_query_min_max_init),
8270         (bin_query_latency_fold), (bin_query_latency_done),
8271         (gst_bin_query):
8272         Improve debug info.
8273         Implement latency query.
8274
8275 2007-02-20  Wim Taymans  <wim@fluendo.com>
8276
8277         * docs/design/part-gstghostpad.txt:
8278         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8279         (gst_ghost_pad_internal_do_activate_push),
8280         (gst_ghost_pad_internal_do_activate_pull),
8281         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8282         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8283         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8284         Do not set the internal pad as a parent anymore so we can avoid
8285         hierarchy linking errors when the ghostpad has no parent yet. This also
8286         fixes failed activation because of unlinked internal pads, which in
8287         turn fixes the impossible case where you have to activate a pad before
8288         you can add it to a running element.
8289         Also fix the docs.
8290
8291         * gst/gstpad.c: (pre_activate), (post_activate),
8292         (gst_pad_set_active), (gst_pad_activate_pull),
8293         (gst_pad_activate_push), (gst_pad_check_pull_range):
8294         Add some more debug info.
8295         Mark activation mode in pre_activate so that we don't try to activate in
8296         endless loops. Fixes #385084.
8297
8298 2007-02-19  Wim Taymans  <wim@fluendo.com>
8299
8300         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8301         (gst_base_transform_check_get_range):
8302         Implement a checkgetrange function instead of relying on the default
8303         core behaviour that assumes we can operate in pull mode if we have a
8304         getrange function. First step at fixing #385084.
8305
8306 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
8307
8308         * gst/gstchildproxy.h:
8309         * libs/gst/base/gstbasesink.h:
8310         * libs/gst/base/gstbasesrc.h:
8311         * libs/gst/base/gstbasetransform.h:
8312         More docs coverage and some ChangeLog surgery (add missing names)
8313
8314 2007-02-15  Wim Taymans  <wim@fluendo.com>
8315
8316         * docs/design/part-TODO.txt:
8317         * docs/design/part-activation.txt:
8318         * docs/design/part-block.txt:
8319         * docs/design/part-buffering.txt:
8320         * docs/design/part-clocks.txt:
8321         * docs/design/part-element-source.txt:
8322         * docs/design/part-events.txt:
8323         * docs/design/part-gstbin.txt:
8324         * docs/design/part-gstbus.txt:
8325         * docs/design/part-gstpipeline.txt:
8326         * docs/design/part-live-source.txt:
8327         * docs/design/part-messages.txt:
8328         * docs/design/part-overview.txt:
8329         * docs/design/part-qos.txt:
8330         * docs/design/part-query.txt:
8331         * docs/design/part-states.txt:
8332         * docs/design/part-trickmodes.txt:
8333         Some doc updates. Start renaming from stream_time to running_time where
8334         it was used wrongly.
8335
8336 2007-02-15  Wim Taymans  <wim@fluendo.com>
8337
8338         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8339         Answer LATENCY query.
8340
8341 2007-02-15  Wim Taymans  <wim@fluendo.com>
8342
8343         * tests/check/gst/gstevent.c: (event_probe), (test_event),
8344         (GST_START_TEST):
8345         Improve debugging.
8346
8347 2007-02-15  Wim Taymans  <wim@fluendo.com>
8348
8349         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8350         (gst_pad_dispatcher):
8351         Improve debugging of default pad dispatcher and query functions.
8352
8353 2007-02-15  Wim Taymans  <wim@fluendo.com>
8354
8355         * docs/gst/gstreamer-sections.txt:
8356         Remove old unused method.
8357
8358 2007-02-13  Wim Taymans  <wim@fluendo.com>
8359
8360         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8361         Fix check
8362
8363 2007-02-13  Wim Taymans  <wim@fluendo.com>
8364
8365         * docs/design/part-seeking.txt:
8366         Some small update.
8367
8368         * gst/gstsegment.c: (gst_segment_set_seek):
8369         Revert old bogus change that should make seeking work again.
8370
8371 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8372
8373         * docs/random/ensonic/dynlink.txt:
8374         * docs/random/ensonic/interfaces.txt:
8375         * docs/random/ensonic/receipies.txt:
8376           Possible dynamic reconnection api, plus some type fixes the other two
8377           docs.
8378
8379 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8380
8381         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8382         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8383         Also check for an absolute path following file:// in the filesrc
8384         element. Remove redundant check and call g_path_is_absolute() on the
8385         unescaped location.
8386
8387 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8388
8389         * docs/design/draft-klass.txt:
8390           Add existing category analysis.
8391           
8392         * gst/gstcaps.c:
8393           Fix doc example, framerate is a fraction.
8394
8395 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8396
8397         * configure.ac:
8398         * docs/gst/Makefile.am:
8399         * docs/gst/gstreamer-sections.txt:
8400         * docs/libs/Makefile.am:
8401           Erm, forgot a bunch of --extra-dir.
8402
8403 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8404
8405         * configure.ac:
8406         * docs/gst/Makefile.am:
8407         * docs/libs/Makefile.am:
8408         * docs/plugins/Makefile.am:
8409           Add crossreferences to glib/gobject docs.
8410
8411 2007-02-12  Wim Taymans  <wim@fluendo.com>
8412
8413         * docs/design/draft-latency.txt:
8414         Small update.
8415
8416         * docs/libs/gstreamer-libs-sections.txt:
8417         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8418         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8419         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8420         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8421         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8422         (gst_base_sink_get_position), (gst_base_sink_query),
8423         (gst_base_sink_change_state):
8424         * libs/gst/base/gstbasesink.h:
8425         API: gst_base_sink_query_latency() to let subclasses query the upstream
8426         latency.
8427         API: gst_base_sink_get_latency() to let subclasses query the configured
8428         latency in the sink.
8429         Implement query and set latency.
8430         Update some docs.
8431         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8432         don't continue preroll when we are flushing. Fixes #405284.
8433
8434         * tests/check/pipelines/stress.c: (change_state_timeout),
8435         (quit_timeout), (GST_START_TEST), (stress_suite):
8436         Test for #405284.
8437
8438 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8439
8440         Patch by: René Stadler <mail at renestadler de>
8441
8442         * docs/gst/gstreamer-sections.txt:
8443         * gst/gsttaglist.c: (_gst_tag_initialize):
8444         * gst/gsttaglist.h:
8445           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8446
8447 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8448
8449         * docs/libs/Makefile.am:
8450           Fix path to core docs.
8451
8452         * gst/gstbin.c: (gst_bin_get_by_interface),
8453         (gst_bin_iterate_all_by_interface):
8454           Refix docs by also renaming 'interface' to 'iface' in implementation.
8455
8456         * docs/gst/gstreamer-sections.txt:
8457         * gst/gstcaps.c:
8458         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8459         * gst/gstchildproxy.h:
8460         * gst/gstelementfactory.c:
8461         * gst/gstpadtemplate.h:
8462         * libs/gst/controller/gstcontroller.c:
8463         (gst_controlled_property_new):
8464           Document more.
8465
8466 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8467
8468         * gst/gstbin.h:(gst_bin_get_by_interface),
8469         (gst_bin_iterate_all_by_interface):
8470         Replace interface parameter name by iface as interface is 
8471         a reserved keyword in Visual Studio for C++ projects so it removes
8472         a build error for application developpers using VS.
8473         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8474         Fix a bug on Windows in uri format check. Now the prefix checked
8475         is file:// and next we check if the path after file:// is absolute.
8476         * win32/common/libgstbase.def:
8477         * win32/common/libgstdataprotocol.def:
8478         * win32/common/libgstgstreamer.def:
8479         Add new exported functions.
8480
8481 2007-02-09  Andy Wingo  <wingo@pobox.com>
8482
8483         * tests/check/pipelines/simple-launch-lines.c
8484         (simple_launch_lines_suite, test_tee): Disable tee test until I
8485         have time to fix it :-(
8486
8487         * tests/check/Makefile.am (noinst_HEADERS): 
8488         * tests/check/libs/libsabi.c: 
8489         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8490         * tests/check/gst/gstabi.c: 
8491         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8492
8493         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8494         tests for push and pull tee behavior.
8495
8496         * plugins/elements/gsttee.h: 
8497         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8498         mark as deprecated as well as unimplemented. It was a crack idea.
8499         Add support for tee operating in pull mode, off by default.
8500
8501         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8502         normal-case logs down to LOG, raise errors to WARNING.
8503         (gst_registry_xml_read_cache): Don't log before calling a function
8504         that logs.
8505
8506         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8507         exit (registry finalize).
8508         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8509         DEBUG log when we emit signals that people don't even have the
8510         chance to connect to.
8511         (gst_registry_scan_path_level): Less logging in the normal case.
8512
8513 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8514
8515         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8516
8517         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8518         Correctly generate EOS for non-seekable files. We don't have a total
8519         length for them and would get an unexpected end of file if we only
8520         special-cased for regular files. (Fixes: #404569)
8521
8522 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8523
8524         * tests/check/elements/filesrc.c: (GST_START_TEST),
8525         (filesrc_suite):
8526         Add unit test for the GstURIHandler interface in filesrc. This also
8527         tests the newly added file://localhost/foo/bar support.
8528
8529 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8530
8531         * gst/gstelementfactory.h:
8532           The klass string is not a hierarchy. Add reference to the design doc
8533           for more information and common types.
8534
8535 2007-02-02  Wim Taymans  <wim@fluendo.com>
8536
8537         * gst/gstquery.c: (gst_query_new_latency):
8538         Remove old structure field.
8539
8540 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8541
8542         * tools/gst-launch.1.in:
8543           Give example for network streaming (#351998)
8544
8545 2007-02-02  Wim Taymans  <wim@fluendo.com>
8546
8547         * docs/gst/gstreamer-sections.txt:
8548         Add docs for new methods.
8549
8550         * gst/gstevent.c: (gst_event_new_latency),
8551         (gst_event_parse_latency):
8552         * gst/gstevent.h:
8553         Add new LATENCY event to configure latency in a pipeline.
8554         API: gst_event_new_latency
8555         API: gst_event_parse_latency
8556
8557         * gst/gstmessage.c: (gst_message_new_buffering),
8558         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8559         (gst_message_new_latency), (gst_message_parse_buffering),
8560         (gst_message_parse_lost_preroll):
8561         * gst/gstmessage.h:
8562         Added messages used in draft-latency.
8563         API: gst_message_new_lost_preroll
8564         API: gst_message_parse_lost_preroll
8565         API: gst_message_new_prerolled
8566         API: gst_message_new_latency
8567
8568         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8569         (gst_query_parse_latency):
8570         * gst/gstquery.h:
8571         Implemented new latency query as in design doc.
8572         API: gst_query_new_latency
8573         API: gst_query_set_latency
8574         API: gst_query_parse_latency
8575
8576 2007-02-02  Wim Taymans  <wim@fluendo.com>
8577
8578         * docs/design/draft-latency.txt:
8579         Slight redesign to allow for dynamic latency adjustments.
8580
8581         * docs/design/part-negotiation.txt:
8582         Fix some typos.
8583
8584 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8585
8586         reviewed by: Wim Taymans <wim@fluendo.com>
8587
8588         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8589         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8590         Allow file://localhost/foo/bar URLs and correctly fail for every other
8591         hostname that one sets. This was gnomevfssrc is linked for those if
8592         installed as it can handle it (#403172)
8593
8594 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8595
8596         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8597
8598         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8599         (unref_data), (gst_collect_pads_add_pad_full):
8600         * libs/gst/base/gstcollectpads.h:
8601         Don't put the previously added destroy notify in the GstCollectData
8602         struct as all it's padding is already used and we don't want to break
8603         ABI. Instead put in the pad's GObject data for now. This should be
8604         cleaned up for 0.11 (#402393).
8605
8606 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8607
8608         reviewed by: Wim Taymans <wim@fluendo.com>
8609
8610         * docs/libs/gstreamer-libs-sections.txt:
8611         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8612         (unref_data), (gst_collect_pads_add_pad),
8613         (gst_collect_pads_add_pad_full):
8614         * libs/gst/base/gstcollectpads.h:
8615         API: Add function to specify a destroy notification for custom
8616         GstCollectData when adding new pads in GstCollectPads (#402393).
8617
8618 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8619
8620         * po/sv.po:
8621           Update Swedish translation (#378255).
8622
8623 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8624
8625         * docs/design/draft-klass.txt:
8626           Fix the previous change, this is a list of categories and not a hierarchy.
8627
8628 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8629
8630         * docs/design/draft-klass.txt:
8631           Add info about how to get a list of used classes.
8632
8633 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8634
8635         * plugins/elements/gsttypefindelement.c:
8636         (gst_type_find_element_chain_do_typefinding),
8637         (gst_type_find_element_change_state):
8638           Don't leak found caps in chain function (no idea why that never
8639           showed up as a leak anywhere).
8640
8641 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8642
8643         * gst/gstplugin.h:
8644           Fix and expand GstPluginDesc API docs.
8645
8646 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8647
8648         * gst/gstcaps.c:
8649         * gst/gstelementfactory.c:
8650         * gst/gstpadtemplate.h:
8651           api doc fixes
8652
8653         * libs/gst/controller/gstcontroller.c:
8654         (gst_controlled_property_new):
8655         * tests/examples/controller/audio-example.c:
8656           comment fixes
8657
8658 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8659
8660         * configure.ac:
8661           comment about refining the xml deps
8662
8663         * docs/manuals.mak:
8664           comments about moving away from jade for docs
8665         
8666         * gst/gst.c:
8667           recommit the ifdefs to use the binary registry
8668         
8669         * gst/gstbin.c: (gst_bin_change_state_func):
8670           this break is obsolete
8671
8672         * gst/gstelementfactory.h:
8673           better GST_ELEMENT_DETAILS docs, add comment about translation
8674
8675         * gst/gstinfo.h:
8676           remove eol slash
8677
8678         * gst/gstobject.c: (gst_signal_object_get_type):
8679           add G_UNLIKELY as usual
8680
8681         * gst/gstpad.c: (gst_pad_event_default):
8682           add fall trhu comment
8683
8684         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8685         (gst_registry_binary_initialize_magic),
8686         (gst_registry_binary_save_string),
8687         (gst_registry_binary_save_pad_template),
8688         (gst_registry_binary_save_feature),
8689         (gst_registry_binary_save_plugin),
8690         (gst_registry_binary_write_cache),
8691         (gst_registry_binary_check_magic),
8692         (gst_registry_binary_load_pad_template),
8693         (gst_registry_binary_load_feature),
8694         (gst_registry_binary_load_plugin),
8695         (gst_registry_binary_read_cache):
8696           comment typo and formatting
8697
8698         * gst/gstutils.c: (gst_element_state_get_name),
8699         (gst_element_state_change_return_get_name):
8700           remove obsolete breaks
8701
8702         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8703           add FIXME 0.11 and remove cpp comment
8704
8705 2007-01-29  Edward Hervey  <edward@fluendo.com>
8706
8707         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8708         Fix print statement in an even more portable way.
8709
8710 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8711
8712         * docs/gst/gstreamer-sections.txt:
8713         * gst/gstutils.h:
8714           API: add GST_ROUND_DOWN_* macros (#401781).
8715
8716 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8717
8718         * docs/gst/gstreamer.types.in:
8719         * gst/gstregistry.c: (gst_registry_class_init):
8720           Document registry signals and make gtk-doc pick them up (#401381).
8721
8722 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8723
8724         * docs/pwg/building-testapp.xml:
8725           Add some audioconverts and audioresample to the pipeline, and some
8726           more comments and error handling.
8727
8728 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8729
8730         * docs/manual/manual.xml:
8731         * docs/pwg/pwg.xml:
8732           Fix typo (#400987).
8733
8734 2007-01-26  Wim Taymans  <wim@fluendo.com>
8735
8736         * gst/gstcaps.c: (gst_static_caps_get):
8737         Init caps flags too.
8738
8739 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8740
8741         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8742
8743         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8744         If not using mmap'ed files try to seek to the end instead of the
8745         start to determine whether we can seek at all. This fixes the case
8746         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8747         seeks for everything afterwards fail. Fixes #400656
8748
8749 2007-01-25  Wim Taymans  <wim@fluendo.com>
8750
8751         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8752         Add some refcount debugging.
8753         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8754         in multiple streaming threads.
8755
8756 2007-01-25  Wim Taymans  <wim@fluendo.com>
8757
8758         Patch by: David Schleef <ds at schleef dot org>
8759
8760         * docs/libs/gstreamer-libs-sections.txt:
8761         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8762         * libs/gst/base/gstadapter.h:
8763         API: gst_adapter_copy() that can reduce the amount of memcpy when
8764         getting data from the adapter. Fixes #388201.
8765
8766 2007-01-25  Edward Hervey  <edward@fluendo.com>
8767
8768         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8769         In print statements, "%x" is for guint. Fixes build on macosx.
8770
8771 2007-01-24  Edward Hervey  <edward@fluendo.com>
8772
8773         * plugins/elements/gstmultiqueue.c:
8774         (gst_multi_queue_loop):
8775         Small fix.
8776         (single_queue_overrun_cb), (single_queue_underrun_cb),
8777         (single_queue_check_full), (gst_single_queue_new):
8778         Implement single queue growth system.
8779         This uses the extra-size properties, and will grow single queues by
8780         that much if one goes full whereas there are others empty. This is
8781         called extra-mode in the code.
8782         When a single queue's levels go back below the initial max-size
8783         limits, it is no longer in extra-mode. This is to ensure we don't
8784         consume too much memory.
8785         Fixes #399875
8786
8787 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8788
8789         * gst/gst.c: (gst_init_get_option_group):
8790           Make warning about late g_thread_init() calls a bit more explicit,
8791           so that it's more obvious to application developers what they need
8792           to do if a user files a bug against their application.
8793
8794 2007-01-22  Edward Hervey  <edward@fluendo.com>
8795
8796         * plugins/elements/gstmultiqueue.c:
8797         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8798         Remove previous hack of unsetting the flushing flag for the source pad
8799         instead of activating it. Instead, fix the source pad activate function
8800         so that it no longer depends on having a parent set or not.
8801
8802 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8803
8804         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8805
8806         * docs/manual/basics-bus.xml:
8807           Fix example code, gst_element_unref() doesn't exist any longer.
8808
8809 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8810
8811         Patch by: Mark Nauwelaerts <manauw at skynet be>
8812
8813         * gst/gstpad.c:
8814           Fix two docs typoes (#399094).
8815
8816 2007-01-19  Edward Hervey  <edward@fluendo.com>
8817
8818         * docs/faq/gst-uninstalled:
8819         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8820         depending on libgstbaseutils can work in uninstalled environment.
8821
8822 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8823
8824         * gst/gsttaglist.h:
8825         * gst/gsttagsetter.c:
8826         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8827         statement for new tag.
8828
8829 2007-01-17  Edward Hervey  <edward@fluendo.com>
8830
8831         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8832         When dynamically creating single queues, activate sinkpad before adding
8833         it.
8834         We should be doing the same thing for the source pad, but we can't
8835         since it would call a method which needs the parent to be set in order
8836         to work propertly. Instead of activating the source pad, we just unset
8837         the flushing flag, which is the minimal requirement for adding a pad
8838         to an element in a state greater than READY.
8839
8840 2007-01-17  Edward Hervey  <edward@fluendo.com>
8841
8842         * docs/faq/gst-uninstalled:
8843         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8844         Mac OS X.
8845
8846 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8847
8848         * tests/check/gst/gstabi.c:
8849         * tests/check/gst/struct_hppa.h:
8850         * tests/check/libs/libsabi.c:
8851         * tests/check/libs/struct_hppa.h:
8852           Add ABI structs for HPPA (see #393796).
8853
8854 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8855
8856         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8857           Actually write ABI structs to the file specified in the GST_ABI
8858           environment variable, as the message we print claims we would.
8859
8860 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8861
8862         * tests/check/gst/gsttask.c:
8863           Fix header comment.
8864
8865 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8866
8867         * gst/gsttaglist.c: (_gst_tag_initialize):
8868           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8869           previous two entries.
8870
8871 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8872
8873         * docs/gst/gstreamer-sections.txt:
8874         * gst/gsttaglist.c: (_gst_tag_initialize):
8875         * gst/gsttaglist.h:
8876           Add tag support for beat-per-minute.
8877
8878 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8879
8880         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8881         (gst_registry_binary_initialize_magic),
8882         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8883         (gst_registry_binary_save_pad_template),
8884         (gst_registry_binary_save_feature),
8885         (gst_registry_binary_save_plugin),
8886         (gst_registry_binary_write_cache),
8887         (gst_registry_binary_check_magic),
8888         (gst_registry_binary_load_pad_template),
8889         (gst_registry_binary_load_feature),
8890         (gst_registry_binary_load_plugin),
8891         (gst_registry_binary_read_cache):
8892         * gst/gstregistrybinary.h:
8893           Use glib types, cleanup comments, impement interfaces and uri-types.
8894
8895 2007-01-13  Andy Wingo  <wingo@pobox.com>
8896
8897         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8898         getrange() to return buffers with other caps, while we fix
8899         demuxers and typefind, or otherwise change part-negotiation.txt.
8900
8901 2007-01-12  Andy Wingo  <wingo@pobox.com>
8902
8903         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8904         Factor start/stop into this private function instead of partially
8905         in activate functions and partially in the change_state function.
8906         Fixes setup before the element has changed from READY->PAUSED, as
8907         is the case in pull-mode pipelines.
8908         (gst_base_transform_sink_activate_push)
8909         (gst_base_transform_src_activate_pull): Refactor to use
8910         gst_base_transform_activate().
8911         (gst_base_transform_change_state): Removed, not needed any more.
8912
8913         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8914         Truncate before fixating.
8915         
8916         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8917         Don't set_caps() if the result of fixating is ANY, as it's not
8918         supported, and not necessary in the case of a link with no
8919         template caps on either side. Fixes tests/check/libs/basesrc in
8920         some pull-mode tests.
8921
8922         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8923         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8924         (gst_base_transform_src_activate_pull): 
8925         Track the activation mode.
8926         (gst_base_transform_setcaps): In pull mode, when activating the
8927         src pad, after activating the sink pad, activate the sink pad's
8928         peer, as discussed in part-negotiation.txt.
8929
8930         * libs/gst/base/gstbasesrc.h: 
8931         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8932         vmethod, as in basesink.
8933
8934         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8935
8936         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8937         mode, first proxy the setcaps to the peer pad.
8938         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8939         new fixate vmethod.
8940         (gst_base_sink_default_activate_pull): Rename from
8941         gst_base_sink_activate_pull.
8942         (gst_base_sink_negotiate_pull): New function, performs negotiation
8943         in pull mode before calling ::activate_pull().
8944         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8945         vmethod instead of the default implementation. I have no idea how
8946         this worked before. Negotiate before calling activate_pull.
8947
8948         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8949         sink pads in pull mode. In addition to being correct, fixes
8950         filesrc ! decodebin ! identity ! fakesink.
8951         (gst_pad_get_range, gst_pad_pull_range): Don't call
8952         gst_pad_set_caps() if the caps changes; instead error out with
8953         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8954
8955 2007-01-12  Andy Wingo  <wingo@pobox.com>
8956
8957         * docs/design/part-negotiation.txt: Update with more policy.
8958
8959 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8960
8961         * libs/gst/check/gstbufferstraw.h:
8962         * libs/gst/check/gstcheck.h:
8963           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8964           belongs.
8965
8966 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8967
8968         * tests/check/Makefile.am:
8969         * tests/check/gst/.cvsignore:
8970         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8971         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8972         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8973         (GST_START_TEST), (gst_tag_setter_suite):
8974           Add minimal unit test for beforementioned GstTagSetter bug.
8975
8976 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8977
8978         Patch by: René Stadler <mail at renestadler dot de>
8979
8980         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8981           gst_tag_list_merge() returns a new list, so it's not the best idea
8982           to ingore its return value. Effectively meant that tags could only
8983           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8984           Also add function guard to require a non-NULL taglist as input (has
8985           always been so due to gst_tag_list_copy(), just making it explicit).
8986
8987 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8988
8989         * docs/random/draft-missing-plugins.txt:
8990           Some additions: mention new API that is supposed to be used at the
8991           various stages; short blob about new gst-inspect introspection
8992           option; mention potential future problem with plugins that have
8993           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8994
8995 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8996
8997         * tools/gst-inspect.c:
8998         (print_plugin_automatic_install_info_codecs),
8999         (print_plugin_automatic_install_info_protocols),
9000         (print_plugin_automatic_install_info), (main):
9001         Add --print-plugin-auto-install-info option to gst-inspect, so we can
9002         introspect plugin files and get machine-parsable output that corresponds
9003         to the last bit of the missing-plugin installer string (small gotcha:
9004         doesn't take into account ranks).
9005
9006 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
9007
9008         * configure.ac:
9009         * docs/gst/gstreamer-sections.txt:
9010         * gst/Makefile.am:
9011         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
9012         (gst_registry_lookup_locked):
9013         * gst/gstregistry.h:
9014         * gst/gstregistrybinary.c: (gst_registry_binary_write),
9015         (gst_registry_binary_initialize_magic),
9016         (gst_registry_binary_save_string),
9017         (gst_registry_binary_save_pad_template),
9018         (gst_registry_binary_save_feature),
9019         (gst_registry_binary_save_plugin),
9020         (gst_registry_binary_write_cache),
9021         (gst_registry_binary_check_magic),
9022         (gst_registry_binary_load_pad_template),
9023         (gst_registry_binary_load_feature),
9024         (gst_registry_binary_load_plugin),
9025         (gst_registry_binary_read_cache):
9026         * gst/gstregistrybinary.h:
9027         * gst/gstregistryxml.c: (load_feature),
9028         (gst_registry_xml_read_cache):
9029           commit binary registry (disabled by default, see #359653)
9030
9031 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9032
9033         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
9034           Fix 'make check' too.
9035
9036 2007-01-10  Andy Wingo  <wingo@pobox.com>
9037
9038         * docs/design/part-negotiation.txt: Fix a typo, add a couple
9039         notes.
9040         
9041         * docs/design/part-negotiation.txt: Update with, um, one way that
9042         pull-mode negotiation might work?
9043
9044         * gst/gstpad.h: 
9045         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
9046         that the pad must be a src pad; makes sense to call it the other
9047         way in pull mode, and the logic is symmetric anyway.
9048
9049 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
9050
9051         * plugins/elements/gstfilesink.c:
9052           Include <stdio.h> for fseeko().
9053
9054 2007-01-10  Wim Taymans  <wim@fluendo.com>
9055
9056         * gst/gstevent.c:
9057         * gst/gstevent.h:
9058         Reserve LATENCY event.
9059
9060 2007-01-09  Wim Taymans  <wim@fluendo.com>
9061
9062         * docs/design/draft-latency.txt:
9063         Updates.
9064
9065 2007-01-09  Wim Taymans  <wim@fluendo.com>
9066
9067         * docs/design/draft-latency.txt:
9068         Updates.
9069
9070         * gst/gstelement.h:
9071         * gst/gststructure.c:
9072         * gst/gsttrace.c:
9073         Small typo fixes.
9074
9075 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9076
9077         * tests/check/.cvsignore:
9078           Ignore test-registry.xml as well.
9079
9080 2007-01-09  Wim Taymans  <wim@fluendo.com>
9081
9082         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9083         unref data at the end when we are done with the pad.
9084
9085 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9086
9087         * docs/gst/gstreamer-sections.txt:
9088         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9089         (init_post), (gst_deinit), (gst_update_registry):
9090         * gst/gst.h:
9091           API: add gst_update_registry() (#391296).
9092
9093         * tests/check/Makefile.am:
9094         * tests/check/gst/gstregistry.c:
9095         * tests/check/gst/.cvsignore:
9096           Simple unit test for the above.
9097
9098 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9099
9100         * gst/gstregistry.c: (gst_registry_scan_path_level):
9101           Plugin extension on HP-UX is .sl, add that to the list of approved
9102           plugin extensions (see #393796).
9103
9104         * tests/check/gst/gstpad.c: (GST_START_TEST):
9105           ulong => gulong. Fixes compilation with HP-UX compiler.
9106
9107         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9108           Fix compilation if valgrind headers are not available.
9109
9110 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
9111
9112         * win32/common/libgstreamer.def: 
9113           Add new exported function.
9114         * win32/vs6/libgstbase.dsp: 
9115           Add gstdataqueue.c to the build.
9116         * win32/vs6/libgstcoreelements.dsp:
9117           Add gstmultiqueue.c to the build.
9118         
9119 2007-01-06  Andy Wingo  <wingo@pobox.com>
9120
9121         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9122         activate_pull(), providing for a way to specialize the process of
9123         spawning a thread to pull on the sink pad. There is a default
9124         implementation.
9125
9126         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9127         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9128         (gst_base_sink_init): Renamed pad activation functions (inserting
9129         "_pad" in their names). Refactor to use the new activate_pull
9130         vmethod, as appropriate.
9131         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9132         default activate_pull function to start a task pulling from the
9133         sink pad, as before.
9134
9135         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9136         on the pads if necessary, as in push()/chain(). Update docs.
9137         Shouldn't affect existing pull() usage as it is currently only
9138         being used on buffers without caps.
9139
9140 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9141
9142         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9143         (init_pre):
9144           Call g_thread_init() first thing in gst_init() / gst_check_init().
9145           When initialisation is done via gst_init_get_option_group() and
9146           GOption parsing, issue a warning if the GLib thread system has not
9147           been initialised yet by the time gst_init_get_option_group() is
9148           called, as it's quite likely other GLib functions such as
9149           g_option_context_new() have been called already then, and
9150           g_thread_init() must be called before any other GLib function. The
9151           application in question must be fixed in that case, since memory
9152           corruption might happen otherwise.
9153           We issue the warning because even if the GLib folks decide to work
9154           around the problem on their end in future, this is still an issue
9155           with all GLib versions >= 2.10.0, so we should warn until we depend
9156           on a GLib version we know to be safe.
9157           Update documentation as well.
9158           Closes bug #391278.
9159
9160 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9161
9162         * tools/gst-inspect.c: (main):
9163         * tools/gst-launch.c: (main):
9164         * tools/gst-typefind.c: (main):
9165         * tools/gst-xmlinspect.c: (main):
9166           Call g_thread_init() really really early, before any other GLib
9167           function (see #342564 and recent discussion on gtk-devel-list).
9168
9169 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9170
9171         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
9172
9173         * gst/gst_private.h:
9174         * gst/gstconfig.h.in:
9175         * gst/gstinfo.h:
9176           On win32, all the __declspec stuff for symbol exporting is
9177           apparently only needed with MSVC, but doesn't work with MingW.
9178           Fixes compilation with MingW and #391909.
9179
9180 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9181
9182         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9183           Change some GST_ERROR_OBJECT that aren't really errors to
9184           GST_WARNING_OBJECT in order to reduce terminal spam.
9185
9186 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9187
9188         * tests/check/Makefile.am:
9189           disable test again, as there seem to be still race problems
9190
9191 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9192
9193         * tests/check/Makefile.am:
9194         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9195         (GST_START_TEST), (queue_suite):
9196           enable queue test again, add tests for the leaky behaviour
9197
9198 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
9199
9200         * configure.ac:
9201         * tests/examples/Makefile.am:
9202           Compile adapter test/example only if the required headers are
9203           available (fixes #391915).
9204
9205 2007-01-01  David Schleef  <ds@schleef.org>
9206
9207         * gst/gstplugin.c:
9208           Restore the previous signal handler for SIGSEGV instead of
9209           setting to default, since we may have stolen it away from
9210           someone.  (i.e., Mono)
9211
9212 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9213
9214         * docs/random/draft-missing-plugins.txt:
9215           Some small additions and clarifications.
9216
9217 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9218
9219         * gst/gstregistryxml.c: (gst_registry_save_escaped):
9220           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9221           since that can lead to random memory corruptions and crashes
9222           (may or may not be related to #383244, #386711, and #386711).
9223
9224 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9225
9226         * tests/check/.cvsignore:
9227         * tests/check/Makefile.am:
9228           sync .cvsignome and CLEANFILES
9229
9230 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9231
9232         * tests/check/Makefile.am:
9233           fix distcheck
9234
9235 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9236
9237         * docs/design/part-states.txt:
9238           two tiny additional comments
9239         
9240         * gst/gststructure.c:
9241           doc fixing
9242
9243         * tests/check/Makefile.am:
9244         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9245         (GST_START_TEST):
9246           disable test for now, unless it gets fixed
9247
9248 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9249
9250         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9251         (GST_START_TEST):
9252           fix race in underrun test
9253
9254 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9255
9256         * tests/check/elements/.cvsignore:
9257           ignore more
9258
9259         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9260         (GST_START_TEST):
9261           try to narrow test failure
9262
9263 2006-12-21  David Schleef  <ds@schleef.org>
9264
9265         * plugins/elements/gstfakesrc.c:
9266           Use g_random_int_range(), since it produces better random
9267           numbers in a range than almost-correct floating point code.
9268
9269 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9270
9271         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9272         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9273         (gst_check_teardown_sink_pad):
9274           do not automatically (de)activate pads
9275
9276         * tests/check/Makefile.am:
9277         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9278         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9279           add new, yet simple tests for queue
9280
9281         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9282         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9283         * tests/check/elements/filesrc.c: (cleanup_filesrc),
9284         (GST_START_TEST):
9285         * tests/check/elements/identity.c: (cleanup_identity):
9286           consistent pad (de)activation
9287
9288 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
9289
9290         Patch by: Sebastian Dröge  <slomo ubuntu com>
9291
9292         * libs/gst/base/gstcollectpads.c:
9293           Fix two doc typos (#387866).
9294
9295 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9296
9297         * docs/manual/advanced-dparams.xml:
9298           Fix typo (g_object_control_properties() doesn't exist).
9299
9300 2006-12-19  Edward Hervey  <edward@fluendo.com>
9301
9302         * gst/gstsegment.c: (gst_segment_set_seek):
9303         Fine tune the cases where the segment start/stop values are really
9304         updated.
9305         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9306         Add tests for the return values of gst_segment_set_seek().
9307
9308 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9309
9310         * gst/gst.c:
9311           Docs typo fix.
9312
9313         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9314         (gst_queue_init):
9315           Fix incorrect documentation and flesh it out a bit more.
9316           Set default values for the max properties on the GParamSpec as well,
9317           so it shows up correctly in gst-inspect.
9318
9319 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
9320
9321         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9322           Correct docs of queue, add more detail and crosslink it more.
9323
9324 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9325
9326         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9327           Print additional debug info when the stream isn't perfectly
9328           timestamped; don't try to use invalid durations.
9329
9330 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9331
9332         * docs/design/Makefile.am:
9333           Dist new design docs.
9334
9335 2006-12-16  Wim Taymans  <wim@fluendo.com>
9336
9337         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9338
9339         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9340         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9341         (gst_collect_pads_stop), (gst_collect_pads_event),
9342         (gst_collect_pads_chain):
9343         * libs/gst/base/gstcollectpads.h:
9344         Add refcounting to the collectpads data so we can track when it's safe
9345         to free the data. Fixes #383382.
9346
9347 2006-12-15  Wim Taymans  <wim@fluendo.com>
9348
9349         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9350         (gst_collect_pads_remove_pad):
9351         Automatically activate/deactivate pads when they are added to a
9352         started/stoped collectpads.
9353
9354 2006-12-15  Wim Taymans  <wim@fluendo.com>
9355
9356         * gst/gstelement.c: (gst_element_add_pad):
9357         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9358         * gst/gstpad.c: (gst_pad_init):
9359         Set pads to FLUSHING when they are created. Check, warn and fix when a
9360         demuxer adds an inactive pad to itself when running. Fixes #339326.
9361
9362 2006-12-15  Wim Taymans  <wim@fluendo.com>
9363
9364         * gst/gstelement.c: (gst_element_class_init),
9365         (gst_element_default_send_event), (gst_element_send_event),
9366         (gst_element_default_query), (gst_element_query):
9367         Expose default element send_event and query handling as vmethods that
9368         subclasses can chain up to.
9369
9370 2006-12-15  Wim Taymans  <wim@fluendo.com>
9371
9372         * gst/gstelement.c: (gst_element_set_state_func):
9373         Small documentation fixes.
9374
9375 2006-12-15  Wim Taymans  <wim@fluendo.com>
9376
9377         * docs/design/draft-latency.txt:
9378         Checked in draft for handling latency in pipelines.
9379
9380 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9381
9382         * Makefile.am:
9383         * gstreamer.doap:
9384         * gstreamer.spec.in:
9385           adding .doap file
9386
9387 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9388
9389         * gst/gst.c: (init_pre), (init_post):
9390           init_pre() and init_post() might be called via our GOptionGroup or
9391           from gst_init(), and we should skip both of them if we've already
9392           been initialised, otherwise we will init some things twice or add
9393           two default log functions.
9394
9395 2006-12-13  Edward Hervey  <edward@fluendo.com>
9396
9397         * docs/manual/basics-bus.xml:
9398         No, gst_main_loop does not exist. Its g_main_loop.
9399         Discovered by somebody who abused the copy-paste technique of coding :)
9400
9401 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9402
9403         * gst/gstghostpad.c:
9404           Log ghostpad debug stuff to the GST_PADS category as well rather
9405           than just to the default category.
9406
9407 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9408
9409         * configure.ac:
9410         * gst/gst.c: (init_pre):
9411           Add some basic system details such as OS and architecture
9412           to the debug output if possible, courtesy of uname().
9413
9414 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9415
9416         * docs/gst/running.xml:
9417           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9418           environment variables.
9419
9420 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9421
9422         * tests/check/gst/gstbin.c: (GST_START_TEST):
9423         It is acceptable to have a refcount of 2 or 3 at this point in the
9424         test, because the pipeline might be just posting its state_change
9425         message. The next line then waits for that message to appear using
9426         bus_poll, so that should be fine too.
9427
9428 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9429
9430         * gst/gst.c: (ensure_current_registry_forking):
9431         Ignore EINTR when reading from the child registry pipe.
9432         Explicitly ignore the return value from close, since it makes no
9433         difference.
9434
9435         * gst/gstminiobject.c: (gst_mini_object_ref),
9436         (gst_mini_object_unref):
9437         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9438
9439         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9440         When removing cached plugins, remove their features too, so they're
9441         not visible after they've disappeared.
9442
9443         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9444         In the unlikely case that we are linking pads with no parents, don't
9445         crash trying to get the non-existent parent bin.
9446
9447         * gst/parse/grammar.y:
9448         Output debug in the PIPELINE category
9449
9450 2005-03-08  Wim Taymans  <wim@fluendo.com>
9451
9452         Patch by: René Stadler <mail at renestadler dot de>
9453
9454         * gst/gstclock.c: (gst_clock_new_periodic_id):
9455         Reject invalid clock times for interval of periodic ids.
9456         Fixes ##383506.
9457
9458 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9459
9460         * gst/gstelementfactory.c: (gst_element_factory_create):
9461         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9462         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9463         * tools/gst-inspect.c: (print_element_info):
9464         Fix refcounting of gst_plugin_feature_load to match the docs. 
9465         Fixes: #380129
9466
9467 2006-12-07  Wim Taymans  <wim@fluendo.com>
9468
9469         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9470         (gst_base_sink_get_position):
9471         Improve debugging of events.
9472
9473 2006-12-07  Wim Taymans  <wim@fluendo.com>
9474
9475         Patch by: René Stadler <mail at renestadler dot de>
9476
9477         * gst/gstclock.c: (gst_clock_id_wait):
9478         Make period ids add the interval to the origial requested time instead
9479         of the possibly updated time which can be wrong when there are multiple
9480         waiters for the same id. Fixes #382592.
9481
9482         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9483         (gst_system_clock_id_wait_jitter_unlocked),
9484         (gst_system_clock_id_wait_jitter):
9485         Fix restart in the async notify thread when an async entry is added to
9486         the front of the list. Fixes #381492. 
9487
9488         * tests/check/gst/gstsystemclock.c: (store_callback),
9489         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9490         Added test for multiple async waits.
9491         Added test for async wait order.
9492
9493 2006-12-07  Wim Taymans  <wim@fluendo.com>
9494
9495         * gst/gstbin.c: (gst_bin_query):
9496         Add some more docs about the POSITION query.
9497
9498 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9499
9500         * configure.ac:
9501         Bump version nano - back to CVS.
9502
9503 === release 0.10.11 ===
9504
9505 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9506
9507         * configure.ac:
9508           releasing 0.10.11, "Love never runs on time"
9509
9510 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9511
9512         * win32/common/libgstbase.def:
9513         * win32/common/libgstreamer.def:
9514         * win32/vs8/libgstbase.vcproj:
9515         * win32/vs8/libgstcoreelements.vcproj:
9516         * win32/vs8/libgstreamer.vcproj:
9517         Fix compilation on win32 under VS8
9518         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9519         Partially fixes #381175
9520
9521 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9522
9523         * gst/gstvalue.c: (gst_value_compare_fraction):
9524         If someone is foolish enough to compare 2 fractions with denominator =
9525         0, return UNORDERED rather than aborting.
9526
9527 2006-11-28  Edward Hervey  <edward@fluendo.com>
9528
9529         * libs/gst/base/Makefile.am:
9530         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9531         (gst_data_queue_base_init), (gst_data_queue_class_init),
9532         (gst_data_queue_init), (gst_data_queue_new),
9533         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9534         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9535         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9536         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9537         (gst_data_queue_set_flushing), (gst_data_queue_push),
9538         (gst_data_queue_pop), (gst_data_queue_drop_head),
9539         (gst_data_queue_set_property), (gst_data_queue_get_property):
9540         * libs/gst/base/gstdataqueue.h:
9541         New GstDataQueue object for threadsafe queueing. Most useful for
9542         elements that need some queueing functionnality.
9543         * docs/libs/gstreamer-libs-docs.sgml:
9544         * docs/libs/gstreamer-libs-sections.txt:
9545         Insert documentation for GstDataQueue
9546         * plugins/elements/Makefile.am:
9547         * plugins/elements/gstelements.c:
9548         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9549         (gst_multi_queue_class_init), (gst_multi_queue_init),
9550         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9551         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9552         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9553         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9554         (gst_multi_queue_loop), (gst_multi_queue_chain),
9555         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9556         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9557         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9558         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9559         (wake_up_next_non_linked), (compute_next_non_linked),
9560         (single_queue_overrun_cb), (single_queue_underrun_cb),
9561         (single_queue_check_full), (gst_single_queue_new):
9562         * plugins/elements/gstmultiqueue.h:
9563         New multiqueue element, using GstDataQueue. Used for queuing multiple
9564         streams.
9565         Closes #344639 and #347785
9566
9567 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9568
9569         * docs/pwg/advanced-types.xml:
9570           add more missing type details
9571
9572         * tools/gst-run.c: (main):
9573           remove unused variable
9574
9575 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9576
9577         * docs/libs/Makefile.am:
9578         * docs/libs/gstreamer-libs.types:
9579           add types of base classes to enable gobject specific stuff in the docs
9580
9581         * docs/random/ensonic/embedded.txt:
9582           more ideas about isolating platform specific things
9583
9584 2006-11-20  Wim Taymans  <wim@fluendo.com>
9585
9586         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9587
9588         * libs/gst/check/gstcheck.h:
9589         Fix compilation and running against 0.9.4. Fixes #377332.
9590
9591 2006-11-20  Wim Taymans  <wim@fluendo.com>
9592
9593         * gst/gstsegment.c: (gst_segment_set_seek),
9594         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9595         (gst_segment_to_running_time):
9596         Fix boundary checking in to_running_time() and to_stream_time().
9597         Fixes #377183.
9598
9599         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9600         stream and running time can now be calculated for the complete
9601         clipped segment.
9602
9603 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9604
9605         * gst/gstpad.c: (gst_pad_push_event):
9606           Can't access event structure after giving away ownership of
9607           the event.
9608
9609 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9610
9611         * docs/random/ensonic/embedded.txt:
9612         * docs/random/ensonic/profiling.txt:
9613         * docs/random/ensonic/receipies.txt:
9614           more thinking
9615
9616 2006-11-13  Wim Taymans  <wim@fluendo.com>
9617
9618         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9619
9620         * gst/gstpad.c:
9621         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9622
9623 2006-11-13  Wim Taymans  <wim@fluendo.com>
9624
9625         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9626
9627         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9628         Store new length in segment duration so we don't keep on calling the
9629         potentially expensize get_size() call. Fixes #370865.
9630
9631 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9632
9633         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9634
9635         * win32/common/libgstreamer.def:
9636           Add two missing symbols (#366492).
9637
9638 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9639
9640         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9641         (gst_adapter_take_buffer):
9642         Fix format string to use all its arguments.
9643         Remove useless >= check on a guint
9644
9645 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9646
9647         * tests/examples/adapter/.cvsignore:
9648         Ignore build file as commanded by the build-bot
9649
9650 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9651
9652         * tests/examples/adapter/Makefile.am:
9653         * tests/examples/adapter/adapter_test.c: (run_test_take),
9654         (run_test_take_buffer), (run_tests), (main):
9655
9656         Add new files from the previous commit
9657
9658 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9659
9660         * Makefile.am:
9661         * configure.ac:
9662         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9663         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9664         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9665         * libs/gst/base/gstadapter.h:
9666         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9667         (GST_START_TEST), (gst_adapter_suite):
9668         * tests/examples/Makefile.am:
9669         Do some optimisation work in GstAdapter to avoid copies in more cases.
9670         It could still do slightly better by merging buffers when
9671         gst_buffer_is_span_fast is true, but is already faster. 
9672
9673         Also, avoid traversing a single-linked list to append each incoming 
9674         buffer inside the adapter.
9675
9676         Add simple test app that times the adapter behaviour in different
9677         situations, and extend the unit test to check that bytes enter and
9678         exit the adapter in their original order.
9679
9680 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9681
9682         * docs/random/draft-missing-plugins.txt:
9683           Update: use element message instead of adding a new message
9684           type to the core; don't provide GStreamer API to initiate the
9685           plugin download, just provide API to compose the strings needed
9686           and let an external libgimmestuff handle the rest.
9687
9688 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9689
9690         * tools/gst-inspect.c: (print_element_properties_info):
9691         Print a string instead of 'unknown type' for GValueArray properties
9692
9693 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9694
9695         * docs/random/draft-missing-plugins.txt:
9696         More small fixes.
9697
9698 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9699
9700         * tests/examples/typefind/typefind.c: (type_found), (main):
9701           Make typefind element example work again (#371894); add a
9702           license header.
9703
9704 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9705
9706         * docs/random/draft-missing-plugins.txt:
9707           Commit initial draft about how to deal with missing plugins,
9708           needs work (API too).
9709
9710 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9711
9712         * docs/pwg/advanced-types.xml:
9713           documents the new caps elements (see #363118)
9714
9715 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9716
9717         * gst/gstplugin.c: (gst_plugin_load_file):
9718         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9719         (gst_file_src_map_region), (gst_file_src_start):
9720         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9721         (gst_file_index_commit):
9722           Use g_strerror() instead of strerror() - we want UTF-8.
9723
9724 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9725
9726         Patch by: Peter Kjellerstedt <pkj at axis com>
9727
9728         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9729           Another printf fix (#371493).
9730
9731 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9732
9733         * tests/check/gst/gsttag.c:
9734           relicence (okay with author=company)
9735
9736 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9737
9738         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9739         (gst_pad_push_event):
9740           Enhance debug and improve docs
9741         
9742         * gst/gsturi.c:
9743           Fix docs
9744
9745 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9746
9747         * docs/random/ensonic/distributed.txt:
9748         * docs/random/ensonic/profiling.txt:
9749           more ideas
9750
9751 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9752
9753         * docs/gst/gstreamer-sections.txt:
9754           add new API and fix the build
9755           
9756         * gst/gstbin.c: (gst_bin_recalc_state):
9757         * gst/gstelement.c: (gst_element_message_full),
9758         (gst_element_get_state_func), (gst_element_set_state_func):
9759           use new API and improve logging
9760         
9761         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9762         * gst/gstutils.h:
9763           API: add function to get StateChangereturn names to improve logs 
9764
9765 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9766
9767         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9768           I'm considering shooting the next person to put strerror stuff
9769           in the translateable part of the message.
9770
9771 2006-11-03  Wim Taymans  <wim@fluendo.com>
9772
9773         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9774         Get the type and printf conversion specifiers right.
9775
9776 2006-11-03  Wim Taymans  <wim@fluendo.com>
9777
9778         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9779
9780         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9781         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9782         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9783         Some small cleanups. Improve debugging.
9784         * gst/gstpad.h:
9785         Signal all waiting threads with a broadcast instead of just one.
9786         Fixes #369942.
9787
9788 2006-11-03  Wim Taymans  <wim@fluendo.com>
9789
9790         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9791         (gst_fd_src_create):
9792         Add some debugging. 
9793         Only update fd when it's different from the old.
9794
9795 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9796
9797         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9798           Printf fixes for PPC/OSX, take two (#369366).
9799
9800 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9801
9802         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9803
9804         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9805         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9806         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9807           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9808           don't cast to long long for portability reasons, but use
9809           GLib's types instead.
9810
9811 2006-10-30  Michael Smith  <msmith@fluendo.com>
9812
9813         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9814           Get the arguments to lseek() the right way around.
9815           Fixes 367677.
9816
9817 2006-10-30  Wim Taymans  <wim@fluendo.com>
9818
9819         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9820
9821         * gst/gstinfo.h:
9822         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9823
9824 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9825
9826         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9827
9828         * docs/design/part-MT-refcounting.txt:
9829         * docs/random/wtay/capsnego2-docs:
9830         * gst/gstclock.c:
9831         * gst/gstxml.c:
9832           Typo fixes (#366212).
9833
9834 2006-10-28  Wim Taymans  <wim@fluendo.com>
9835
9836         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9837
9838         * gst/gst.c:
9839         * win32/common/libgstbase.def:
9840         * win32/common/libgstreamer.def:
9841         * win32/vs8/libgstbase.vcproj:
9842         * win32/vs8/libgstcontroller.vcproj:
9843         Add needed entries in .def files.
9844         Use HAVE_UNISTD_H.
9845         Rearrange def files in vs8 solutions. Fixes #366286.
9846
9847 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9848
9849         * win32/common/gstconfig.h:
9850           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9851           hand-made win32 gstconfig.h. Fixes #366321.
9852
9853 2006-10-27  Wim Taymans  <wim@fluendo.com>
9854
9855         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9856         (gst_ghost_pad_new_full):
9857         Make acceptcaps return TRUE when we don't have a target, just like
9858         setcaps does.
9859
9860 2006-10-27  Wim Taymans  <wim@fluendo.com>
9861
9862         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9863         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9864
9865 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9866
9867         * gst/gststructure.c: (gst_structure_id_set_value):
9868           If someone tries to set a non-UTF8 string field on a structure,
9869           don't just print a warning, but also ignore the request and do
9870           not change/add that field to the structure.
9871
9872         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9873           Test for the above.
9874
9875 2006-10-25  David Schleef  <ds@schleef.org>
9876
9877         * gst/gstinfo.c:
9878           g_hash_table_insert() needs a cast to a non-const pointer duh.
9879
9880 2006-10-25  David Schleef  <ds@schleef.org>
9881
9882         * gst/gstinfo.c:
9883         * gst/gstinfo.h:
9884           Change name parameter of _gst_debug_register_funcptr to const
9885           to reflect the constness of its use in the function as well
9886           as to quiet a gcc warning.
9887
9888 2006-10-25  Edward Hervey  <edward@fluendo.com>
9889
9890         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9891         Don't push the buffer if it's empty.
9892         Closes #363095
9893
9894 2006-10-24  Wim Taymans  <wim@fluendo.com>
9895
9896         * gst/gstevent.h:
9897         Add small comment.
9898
9899         * libs/gst/base/gstbasetransform.c:
9900         (gst_base_transform_sink_eventfunc):
9901         Debug segment values *after* updating them as this is more
9902         interesting.
9903
9904 2006-10-23  Wim Taymans  <wim@fluendo.com>
9905
9906         * docs/design/part-events.txt:
9907         Update some docs.
9908
9909         * docs/design/part-block.txt:
9910         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9911         (gst_pad_push_event):
9912         Revert BLOCKING patch, it tries to be smart without really having a
9913         clear idea what or how. So, now we discard all FLUSHING events again on
9914         a blocking pad. Should fix gnonlin again.
9915
9916 2006-10-23  Wim Taymans  <wim@fluendo.com>
9917
9918         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9919
9920         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9921         (gst_base_src_start), (gst_base_src_activate_push):
9922         Make sure size is always initialized. Fixes #364388.
9923
9924 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9925
9926         * docs/random/ensonic/distributed.txt:
9927           add some ideas about doing distributed processing
9928
9929         * docs/random/ensonic/profiling.txt:
9930           get_rusage look promising
9931
9932 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9933
9934         * docs/manual/basics-helloworld.xml:
9935           Add a cast in example to fix compile warning
9936
9937 2006-10-18  Wim Taymans  <wim@fluendo.com>
9938
9939         * gst/gstsegment.c: (gst_segment_set_last_stop),
9940         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9941         Relax arg checking again, -1 is allowed.
9942
9943 2006-10-18  Wim Taymans  <wim@fluendo.com>
9944
9945         * gst/gstsegment.c: (gst_segment_set_last_stop),
9946         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9947         _set_last_stop() must be with a value != -1
9948         A _TYPE_SET to -1 means seek to 0.
9949         Calc last_stop correctly for negative rates.
9950         Make sure we work with positive durations when updating a segment.
9951
9952 2006-10-18  Wim Taymans  <wim@fluendo.com>
9953
9954         * docs/design/part-live-source.txt:
9955         * gst/gstclock.h:
9956         Small docs fixes.
9957
9958 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9959
9960         * gst/gstbuffer.h:
9961           Add an explicit cast to GstBuffer** to keep old code that added an
9962           explicit cast to GstMiniObject** for gst_mini_object_replace()
9963           compiling without warning.
9964
9965 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9966
9967         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9968           check for validity of dates
9969
9970 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9971
9972         * docs/gst/gstreamer-sections.txt:
9973           Forgot this one, makes gtk-doc shut up.
9974
9975 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9976
9977         Patch by: Peter Kjellerstedt <pkj at axis com>
9978
9979         * gst/gstobject.h:
9980           Don't define xmlNodePtr to gpointer if the core was built with
9981           --disable-loadsave and --disable-registry, this will break
9982           applications that want to use libxml2 but are buildling against a
9983           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9984           instead so we don't have to mess with the libxml2 namespace
9985           (#361675).
9986
9987 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9988
9989         * gst/gstbuffer.h:
9990           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9991           type-punned pointer warnings.
9992
9993 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9994
9995         * gst/gstelement.h:
9996           Add casts to the correct return type to state <=> state transition
9997           macros.
9998
9999 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
10000
10001         * docs/design/part-live-source.txt:
10002           describe howto handle latency
10003         
10004         * docs/random/ensonic/profiling.txt:
10005           more ideas
10006
10007         * tools/gst-plot-timeline.py:
10008           fix log parsing for solaris, remove unused function
10009
10010 2006-10-16  Wim Taymans  <wim@fluendo.com>
10011
10012         * docs/design/part-trickmodes.txt:
10013         * gst/gstevent.c:
10014         Update some docs regarding reverse playback.
10015
10016 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10017
10018         Patch by: Marcus Granado  <mrc dot gran at gmail com>
10019
10020         * win32/vs8/grammar.vcproj:
10021           Error out with a warning if glib-genmarshal.exe is not in path,
10022           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
10023
10024 2006-10-13  Wim Taymans  <wim@fluendo.com>
10025
10026         * gst/gstsegment.c: (gst_segment_set_seek):
10027         When seeking to stop -1, set last_stop (current position) to the
10028         duration of the segment.
10029
10030 2006-10-13  Wim Taymans  <wim@fluendo.com>
10031
10032         * gst/gstelement.h:
10033         Clarify _NO_PREROLL a bit more.
10034
10035         * gst/gstevent.c:
10036         Fix docs.
10037
10038         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10039         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
10040         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
10041         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
10042         due to wrong locking order. Fixes #361769.
10043         Remove some redundant/misplaced checks in pad_block.
10044
10045         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10046         For negative rates, count backwards from the duration.
10047
10048 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10049
10050         * gst/gsterror.c: (_gst_library_errors_init):
10051           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10052           up with something better).
10053
10054 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10055
10056         * win32/vs6/libgstreamer.dsp:
10057         * win32/vs7/libgstreamer.vcproj:
10058         * win32/vs8/libgstreamer.vcproj:
10059           Don't reference glib-compat.c which is currently not used and not
10060           disted; add gstquark.c which was recently added. Fixes #361730.
10061
10062 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10063
10064         * win32/common/libgstbase.def:
10065         * win32/common/libgstcontroller.def:
10066         * win32/common/libgstreamer.def:
10067           Add gst_caps_merge() and a bunch of other recently-added functions.
10068           Fixes #361732.
10069
10070 2006-10-11  Wim Taymans  <wim@fluendo.com>
10071
10072         * docs/plugins/gstreamer-plugins.args:
10073         * docs/plugins/inspect/plugin-coreelements.xml:
10074         * docs/plugins/inspect/plugin-coreindexers.xml:
10075         Update element args.
10076
10077         * gst/gstsystemclock.c:
10078         Small comment update.
10079
10080         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10081         (gst_tee_request_new_pad), (gst_tee_release_pad),
10082         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10083         (gst_tee_sink_activate_pull):
10084         * plugins/elements/gsttee.h:
10085         Some tee loving:
10086         Add default property defines.
10087         Implement release pad function.
10088         Give properties better blubs etc.
10089         Activate pads before adding them to a running tee.
10090         Do simple buffer_alloc on the first requested pad.
10091         Post error when activation fails.
10092
10093 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10094
10095         * gst/gst.c: (ensure_current_registry_forking):
10096           Check return value of write() to make compiler happy.
10097
10098 2006-10-11  Wim Taymans  <wim@fluendo.com>
10099
10100         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10101
10102         * plugins/elements/gstqueue.c: (gst_queue_chain):
10103         Recheck queue filledness after signalling the overrun when we're about
10104         to leak downstream because we released the lock when emitting the signal
10105         and the queue could be empty again. Fixes #352345.
10106
10107 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10108
10109         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10110           Fix refcounting here too, just like we did for _new_valist() a few
10111           days ago (#357180) (thanks to René Stadler). Also remove all those
10112           'Since: 0.9' from the gtk-doc blobs.
10113
10114         * tests/check/libs/controller.c: (controller_refcount_new_list),
10115         (gst_controller_suite):
10116           Unit test for the above.
10117
10118 2006-10-10  Wim Taymans  <wim@fluendo.com>
10119
10120         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10121
10122         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10123         (gst_pad_save_thyself):
10124         Update some docs.
10125         Write pad direction in XML output. Fixes #345496.
10126
10127 2006-10-10  Wim Taymans  <wim@fluendo.com>
10128
10129         Patch by: René Stadler <mail at renestadler dot de>
10130
10131         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10132         (gst_controller_new_list), (_gst_controller_dispose),
10133         (_gst_controller_finalize), (_gst_controller_class_init):
10134         Take ref to controlled object so that it cannot disappear. 
10135         Fixes #357432.
10136
10137 2006-10-10  Wim Taymans  <wim@fluendo.com>
10138
10139         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10140         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10141         (gst_check_teardown_sink_pad):
10142         Activate/deactivate pads in setup/teardown respectively.
10143
10144 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10145
10146         Patch by: Josep Torra Valles <josep@fluendo.com>
10147
10148         * gst/Makefile.am:
10149         Cast values when making gstenumtypes.h.  This pacifies Forte
10150         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10151         in the enumeration.
10152
10153 2006-10-09  Wim Taymans  <wim@fluendo.com>
10154
10155         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10156         Rename some more @cur to @start to fix docs. 
10157
10158         * gst/gstsegment.c: (gst_segment_set_seek):
10159         Fix typo.
10160         time and start must always stay in sync as defined in design doc.
10161
10162         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10163         Rename param to fix docs.
10164
10165         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10166         Check that start and time are in sync.
10167
10168         * tests/check/pipelines/parse-launch.c:
10169         (gst_parse_test_element_change_state):
10170         Activate pad before adding to the element.
10171
10172 2006-10-09  Wim Taymans  <wim@fluendo.com>
10173
10174         * docs/design/part-qos.txt:
10175         Fix typo.
10176
10177         * gst/gstevent.c:
10178         * gst/gstevent.h:
10179         Update seek event docs regarding negative rates.
10180         Rename @cur to @start. 
10181
10182         * gst/gstsegment.c: (gst_segment_set_seek):
10183         * gst/gstsegment.h:
10184         Update set_seek docs regarding negative rates.
10185         Correctly update last_stop to @stop when dealing with negative
10186         rates.
10187         Rename @cur to @start. 
10188
10189         * tests/check/gst/gstpad.c: (GST_START_TEST):
10190         Activate pads before trying to use them.
10191
10192         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10193         (gst_segment_suite):
10194         Add simple check for segments and negative rates.
10195
10196 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
10197
10198         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10199         * gst/gsttaglist.h:
10200         * docs/gst/gstreamer-sections.txt:
10201           API: add gst_tag_list_is_empty() (#360467).
10202
10203         * tests/check/gst/gsttag.c: (GST_START_TEST):
10204           And a test case.
10205
10206 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10207
10208         * gst/gstmessage.h:
10209         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10210         a value that doesn't fit on enumeration.
10211
10212 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10213
10214         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10215         Remove local debugging system and use Gstreamer's instead.
10216
10217 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10218
10219         Patch by: Josep Torra Valles <josep@fluendo.com>
10220
10221         * common/m4/gst-error.m4:
10222         Disable warning of statement not reached on Forte.
10223         * gst/gstmessage.h:
10224         Fix warning on Forte (value doesn't fit on enumeration).
10225         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10226         Fix warning on Forte (value doesn't fit on enumeration).
10227         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10228         DEBUG macro says it takes minimum of 2 args and so Forte
10229         complains about the use with just 1 arg.
10230         * plugins/elements/gstfdsink.c:
10231         * plugins/elements/gstfdsrc.c:
10232         * plugins/elements/gstfilesink.c:
10233         * plugins/elements/gstfilesrc.c:
10234         Use correct return type for the uri handler implementations.
10235
10236         All these fix warnings in Forte.  Fixes bug #360860.
10237
10238 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
10239
10240         * gst/gstelement.h:
10241           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10242           format string, so don't use G_GNUC_PRINTF for those versions.
10243
10244 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10245
10246         * gst/gsttaglist.c: (gst_is_tag_list):
10247         * gst/gsttaglist.h:
10248           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10249
10250         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10251           Small test for the above.
10252
10253 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10254
10255         * gst/gsttaglist.h:
10256           Less tabs, more spaces.
10257
10258 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
10259
10260         * gst/gstinfo.h:
10261           Those two function declarations do actually belong there, revert
10262           commit from yesterday that turned them intro macros.
10263
10264 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10265
10266         Patch by: Josep Torra Valles <josep@fluendo.com>
10267
10268         * gst/gst.c: (gst_init_get_option_group):
10269         Fix empty declaration and type mismatch.
10270         * gst/gstbin.c: (gst_bin_change_state_func):
10271         Fix type mismatch.
10272         * gst/gstelement.c: (gst_element_continue_state),
10273         (gst_element_set_state_func), (gst_element_change_state),
10274         (gst_element_change_state_func):
10275         Fix type mismatches.
10276         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10277         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10278         Cast as appropriate.
10279         * gst/gstobject.c: (gst_class_signal_connect):
10280         Cast as appropriate.  The function pointer parameter really
10281         has the wrong type but would break API if we change it.
10282         * gst/gstquery.c:
10283         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10284         order of including string.h.
10285         * gst/gstutils.c: (gst_element_state_get_name):
10286         Remove unreachable line.
10287         * gst/gstxml.c: (gst_xml_parse_doc):
10288         Fix type mismatch.
10289         All these caught by Forte.
10290
10291 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10292
10293         Patch by: Josep Torra Valles <josep@fluendo.com>
10294
10295         * common/m4/gst-error.m4:
10296         Fixed bug #360151.
10297         We need to disable warnings on Forte for empty declarations
10298         due to gst-indent adding ;s to lines that just use macros
10299         where the macro actually doesn't need a ; at end to end
10300         statement.
10301
10302 2006-10-06  Wim Taymans  <wim@fluendo.com>
10303
10304         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10305         (gst_file_sink_close_file), (gst_file_sink_event),
10306         (gst_file_sink_render):
10307         Add some FIXME for the NEWSEGMENT handling.
10308
10309 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10310
10311         * gst/parse/grammar.y:
10312         Remove static function gst_parse_element_lock as all it does
10313         is return.  Looks like cruft from 0.8.
10314
10315 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10316
10317         Patch by: Josep Torra Valles <josep@fluendo.com>
10318
10319         * common/m4/gst-error.m4:
10320         * configure.ac:
10321         * libs/gst/net/Makefile.am:
10322         Fix a compilation issue with Forte on Solaris.  inet_aton is in
10323         libresolv.
10324
10325 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10326
10327         * gst/gstpad.c: (pre_activate):
10328         * gst/gstregistry.c: (gst_registry_scan_path_level):
10329         * gst/gstregistryxml.c: (load_plugin):
10330         * libs/gst/controller/gstcontroller.c:
10331         (gst_controlled_property_set_interpolation_mode):
10332         * libs/gst/dataprotocol/dataprotocol.c:
10333         (gst_dp_packet_from_event_1_0):
10334         * libs/gst/net/gstnetclientclock.c:
10335         (gst_net_client_clock_observe_times):
10336         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10337           Printf fixes.
10338
10339 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10340
10341         * configure.ac:
10342         * docs/gst/gstreamer-sections.txt:
10343         * gst/gstconfig.h.in:
10344         * gst/gstelement.h:
10345         * gst/gstinfo.h:
10346           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10347           whether we can use G_GNUC_PRINTF in other header files and at
10348           least check the printf format/arguments of debug messages and
10349           GST_ELEMENT_ERROR messages when the printf extension is not
10350           being used.
10351           Replace more tabs with spaces in gstinfo.h and remove two spurious
10352           function declarations in GST_DISABLE_DEBUG part with macros.
10353
10354 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10355
10356         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10357           More docs for the sync-message signal (mention that it is not
10358           emitted by default); log message structures of messages posted on
10359           the bus as well.
10360
10361 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10362
10363         * gst/gst.c: (ensure_current_registry_forking):
10364         Use a pipe pair to receive status results from the forked child, and
10365         ignore the result from waitpid. Fixes #355499
10366
10367 2006-10-02  Wim Taymans  <wim@fluendo.com>
10368
10369         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10370         (gst_ghost_pad_suite):
10371         Fix leak in check.
10372
10373 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10374
10375         * gst/gstpad.c:
10376           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10377
10378 2006-10-02  Edward Hervey  <edward@fluendo.com>
10379
10380         * docs/design/part-block.txt:
10381         Further explain the use of flushing on blocked pads.
10382         * docs/gst/gstreamer-sections.txt:
10383         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10384         (gst_pad_push_event):
10385         * gst/gstpad.h:
10386         Added new GstPadFlag : GST_PAD_BLOCKING.
10387         Adds the notion of pads really blocking, which enables to properly
10388         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10389         Fixes #358999
10390         API: gst_pad_is_blocking()
10391         API: GST_PAD_IS_BLOCKING() macro
10392         API: GST_PAD_BLOCKING GstPadFlag
10393         
10394 2006-10-02  Wim Taymans  <wim@fluendo.com>
10395
10396         Patch by: mrcgran <mrc.gran at gmail dot com>
10397
10398         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10399         Filter the proxied caps against the padtemplate if we have one.
10400
10401         * gst/gstquery.c: (gst_query_new_segment):
10402         Add include for gstinfo.h so that compilation with
10403         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10404
10405 2006-10-02  Wim Taymans  <wim@fluendo.com>
10406
10407         Patch by: Alessandro Decina  <alessandro at nnva org>
10408
10409         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10410         (gst_file_sink_set_location), (gst_file_sink_open_file),
10411         (gst_file_sink_close_file), (gst_file_sink_event),
10412         (gst_file_sink_render):
10413         Set file to NULL when closing filesink so that we can set a new filename
10414         in READY. Fixes #358613.
10415
10416 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10417
10418         Patch by: Alessandro Decina  <alessandro at nnva org>
10419
10420         * gst/gstevent.c: (_gst_event_copy):
10421           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10422           with event structures by setting the parent refcount address of the
10423           copied structure to the address of the refcount member of the newly
10424           copied event rather than the address of the refcount member of the
10425           original event. Fixes #358737.
10426
10427         * tests/check/gst/gstevent.c: (GST_START_TEST):
10428           Unit test for the above.
10429
10430 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10431
10432         * docs/design/Makefile.am:
10433           Dist some more files.
10434
10435 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10436
10437         * tests/check/libs/controller.c: (GST_START_TEST),
10438         (gst_controller_suite):
10439           Add test for the previous fix; add some more tests
10440           for correct refcounting behaviour; fix a few leaks
10441           in test cases; call gst_controller_init() at start
10442           of all tests.
10443
10444 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10445
10446         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10447         (gst_controller_set_from_list):
10448           Don't g_return_val_if_fail() on timed values with invalid timestamps
10449           inside a critical section without unlocking the mutex. Spotted by
10450           René Stadler. (#357617)
10451           Also, fix up refcounting properly: when returning an existing
10452           controller, we should increase the reference only once and not
10453           once per property and when trying to control a property again
10454           we should also increase the refcount.
10455
10456 2006-09-29  Wim Taymans  <wim@fluendo.com>
10457
10458         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10459         * libs/gst/net/gstnettimeprovider.c:
10460         (gst_net_time_provider_thread):
10461         Stop reading commands when EOF as well.
10462
10463         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10464         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10465         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10466         Unify description of the dump property.
10467
10468 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10469
10470         * tests/examples/manual/.cvsignore:
10471         OK, so it's actually cvsignore that needs changing. Stop laughing.
10472
10473 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10474
10475         * tests/examples/manual/Makefile.am:
10476         Gah, declare vars *before* using them
10477
10478 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10479
10480         * gst/gst.c: (init_pre), (scan_and_update_registry),
10481         (ensure_current_registry_nonforking),
10482         (ensure_current_registry_forking), (ensure_current_registry),
10483         (init_post), (gst_debug_help), (gst_deinit):
10484         * gst/gst_private.h:
10485         * gst/gstregistry.c: (gst_registry_finalize),
10486         (gst_registry_remove_features_for_plugin_unlocked),
10487         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10488         (gst_registry_scan_path),
10489         (_priv_gst_registry_remove_cache_plugins),
10490         (_priv_gst_registry_cleanup):
10491         * gst/gstregistry.h:
10492         Re-commit the registry changes, along with an extra fix:
10493           When a cached plugin is encountered at a different file path,
10494           update the stored path in the registry cache so that the parent
10495           process knows where it actually is now when it re-reads the registry
10496           cache. Fixes the thing that broke distcheck with the previous commit.
10497
10498         * tests/check/Makefile.am:
10499         Clean up files named 'core' too when running make clean.
10500
10501         * tests/examples/manual/Makefile.am:
10502         Set up a registry path for running these tests, and clean it properly
10503         for distcheck.
10504
10505 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10506
10507         * configure.ac:
10508         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10509         want gmodule-no-export-2.0.pc instead so that we don't drag in
10510         --export-dynamic on every project that links to GStreamer.
10511
10512         Also, make our export regex only match the start of symbols, rather 
10513         than any symbol that contains '_gst' somewhere.
10514
10515         * libs/gst/check/Makefile.am:
10516         The libgstcheck we build does however need export-dynamic, as it
10517         produces some symbols that don't match our _gst... style regex.
10518         Fixes: #318031
10519
10520 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10521
10522         * gst/gst.c: (init_pre), (scan_and_update_registry),
10523         (ensure_current_registry_nonforking),
10524         (ensure_current_registry_forking), (ensure_current_registry),
10525         (init_post), (gst_debug_help), (gst_deinit):
10526         * gst/gst_private.h:
10527         * gst/gstregistry.c: (gst_registry_finalize),
10528         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10529         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10530         (_gst_registry_cleanup):
10531         * gst/gstregistry.h:
10532           Revert previous change until I figure out why it breaks distcheck.
10533
10534 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10535
10536         * gst/gst.c: (init_pre), (scan_and_update_registry),
10537         (ensure_current_registry_nonforking),
10538         (ensure_current_registry_forking), (ensure_current_registry),
10539         (init_post), (gst_debug_help), (gst_deinit):
10540
10541           Make init_pre and init_post take the full complement of GOptionFunc
10542           args so they can return useful GErrors. Make the registry updating
10543           functions do so.
10544
10545           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10546           ensure that the registry we're about to write out doesn't contain
10547           stale information about old-deleted plugin files.
10548
10549           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10550           that deletion of plugin files is considered a registry change.
10551
10552         * gst/gst_private.h:
10553         * gst/gstregistry.c: (gst_registry_finalize),
10554         (gst_registry_remove_features_for_plugin_unlocked),
10555         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10556         (gst_registry_scan_path),
10557         (_priv_gst_registry_remove_cache_plugins),
10558         (_priv_gst_registry_cleanup):
10559         * gst/gstregistry.h:
10560         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10561         by adding _priv prefix, so that they won't appear in the global
10562         symbol table. They still do atm though because of #318031. Move the
10563         prototypes to gst_private.h
10564
10565         When removing a plugin, remove all features for that plugin too. 
10566         Fixes #340878.
10567
10568 2006-09-27  Wim Taymans  <wim@fluendo.com>
10569
10570         * docs/random/moving-plugins:
10571         Make it clear that the "compiled-in descriptions" really mean
10572         the element details.
10573
10574         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10575         (gst_base_sink_wait_preroll):
10576         Update docs.
10577
10578         * docs/libs/gstreamer-libs-sections.txt:
10579         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10580         (gst_base_src_get_range), (gst_base_src_activate_push):
10581         * libs/gst/base/gstbasesrc.h:
10582         Added function to block while waiting for PLAYING, this function
10583         is used by live sources that block on the clock.
10584         API: gst_base_src_wait_playing()
10585
10586 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10587
10588         Patch by: Peter Kjellerstedt <pkj at axis com>
10589
10590         * Makefile.am:
10591           gst-element-check.m4 is generated and should therefore be
10592           copied from the build dir rather than the source dir (#357593).
10593           'make distcheck' hasn't noticed this because we were disting
10594           the file as well, so stop doing that.
10595
10596 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10597
10598         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10599           Add some tests for gst_caps_intersect().
10600
10601         * tools/gst-launch.c: (event_loop):
10602           Print all buffering percentages we get, even the 100% one.
10603
10604 2006-09-26  Wim Taymans  <wim@fluendo.com>
10605
10606         * tools/gst-inspect.c: (print_element_properties_info),
10607         (print_signal_info):
10608         Fix printing of flags to match the look of enums.
10609
10610 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10611
10612         * gst/gstelementfactory.c:
10613           Fix typo in docs blurb.
10614
10615 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10616
10617         * gst/gsturi.c: (search_by_entry):
10618           Don't assert/crash here if a uri handler doesn't return any
10619           supported protocols. The list of protocols could be generated
10620           dynamically at runtime or at plugin registration, and an error
10621           in the underlying library shouldn't be fatal (#353301).
10622
10623 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10624
10625         * gst/gstinfo.c:
10626           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10627           (spotted by Peter Kjellerstedt).
10628
10629 2006-09-23  Wim Taymans  <wim@fluendo.com>
10630
10631         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10632
10633         * libs/gst/base/gstbasesrc.c:
10634         (gst_base_src_default_check_get_range), (gst_base_src_start),
10635         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10636         (gst_base_src_change_state):
10637         Match _start/_stop calls in the activate functions. Remove redundant
10638         _stop call from the state change function. Fixes #356910.
10639         Turn failure DEBUG into ERROR. 
10640
10641 2006-09-22  Wim Taymans  <wim@fluendo.com>
10642
10643         * docs/design/part-buffering.txt:
10644         * gst/gstmessage.c: (gst_message_new_buffering),
10645         (gst_message_parse_buffering):
10646         Update docs about buffering.
10647
10648         * docs/design/part-trickmodes.txt:
10649         Fix typo.
10650
10651 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10652
10653         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10654         (gst_controller_new_list):
10655           Ref instances when returning them again (fixes #357180)
10656
10657 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10658
10659         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10660           Don't forget to release proxy lock when there's an error.
10661
10662 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10663
10664         * gst/gstcaps.h:
10665           Add extra initialisers for Caps things, to fix some plugin warnings
10666           when using -Wextra
10667
10668 2006-09-18  Wim Taymans  <wim@fluendo.com>
10669
10670         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10671           Also set template on the internal pad so that a getcaps from the 
10672           target pad returns the template caps.
10673
10674 2006-09-18  Wim Taymans  <wim@fluendo.com>
10675
10676         * gst/gstelement.c: (gst_element_post_message),
10677         (gst_element_dispose):
10678         Use _DEBUG_OBJECT some more.
10679
10680         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10681         Avoid typechecks.
10682
10683         * tools/gst-launch.c: (main):
10684         If the toplevel element is not a GstPipeline, it must be put in a
10685         pipeline so that a bus and clock is selected.
10686
10687 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10688
10689         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10690           JITTER, RATE, and LATENCY query should be handled by the
10691           default case and not by the CONVERT query code.
10692
10693 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10694
10695         * gst/gstformat.c: (gst_format_register):
10696           Fix locking order (must take lock before using n_values).
10697
10698         * gst/gstvalue.c: (gst_value_serialize_enum),
10699         (gst_value_deserialize_enum_iter_cmp),
10700         (gst_value_deserialize_enum):
10701           Fix serialisation/deserialisation of custom registered GstFormats.
10702
10703         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10704           Unit test for custom format serialisation/deserialisation.
10705
10706 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10707
10708         * docs/pwg/building-boiler.xml:
10709         * plugins/elements/gstcapsfilter.c:
10710         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10711         section.
10712
10713 2006-09-16  Edward Hervey  <edward@fluendo.com>
10714
10715         * libs/gst/base/gstbasetransform.c:
10716         (gst_base_transform_buffer_alloc):
10717         Check if requested caps are the same as the sinks caps IF
10718         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10719         is FALSE.
10720         This fixes the renegotiation issues stated in #352827.
10721
10722 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10723
10724         * configure.ac:
10725         * docs/manual/advanced-autoplugging.xml:
10726         * tests/examples/Makefile.am:
10727         * tests/examples/manual/.cvsignore:
10728         * tests/examples/manual/Makefile.am:
10729         * tests/examples/manual/extract.pl:
10730           Extract the manual examples again like we used to do.
10731           Fix one of them.
10732
10733 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10734
10735         * win32/common/config.h:
10736           update for version
10737
10738 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10739
10740         * gst/gsterror.c:
10741           Documents how to receive errors.
10742
10743 2006-09-15  Wim Taymans  <wim@fluendo.com>
10744
10745         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10746         (event_loop), (main):
10747         Added some comments here and there.
10748         Post an application message when an interrupt is caught instead of doing
10749         an uncontrolled state change.
10750         Clean up the event loop.
10751         Handle buffering messages, pause/resume the pipeline.
10752         Make shutdown because of an interrupt more reliable.
10753
10754 2006-09-15  Wim Taymans  <wim@fluendo.com>
10755
10756         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10757         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10758         (gst_base_sink_preroll_object):
10759         Make sure that our internal state is correct when we commit our state
10760         asynchronously. This solves a race where a state change to PLAYING
10761         could cause the sink to remain blocked in preroll in some situations.
10762
10763 2006-09-15  Wim Taymans  <wim@fluendo.com>
10764
10765         * tools/gst-inspect.c: (print_element_properties_info),
10766         (print_signal_info):
10767         List flags as hex so it's easier to deal with.
10768
10769 2006-09-15  Wim Taymans  <wim@fluendo.com>
10770
10771         * docs/libs/gstreamer-libs-sections.txt:
10772         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10773         (gst_base_sink_do_sync):
10774         * libs/gst/base/gstbasesink.h:
10775         Expose logic to wait for preroll so that subclasses such as audiosink
10776         can also use this method.
10777         API: gst_base_sink_wait_preroll()
10778
10779 2006-09-15  Wim Taymans  <wim@fluendo.com>
10780
10781         * gst/gstobject.c: (gst_object_set_parent):
10782         * gst/gstpipeline.c: (do_pipeline_seek):
10783         Small cleanups in docs and code.
10784
10785         * gst/gstsegment.c: (gst_segment_clip):
10786         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10787         if stop == start and start is in the segment, no clipping should be
10788         done. Also add a test for this.
10789
10790 2006-09-15  Wim Taymans  <wim@fluendo.com>
10791
10792         * docs/design/part-buffering.txt:
10793         * docs/gst/gstreamer-sections.txt:
10794         * gst/gstmessage.c: (gst_message_new_buffering),
10795         (gst_message_parse_buffering):
10796         * gst/gstmessage.h:
10797         Added methods to create and parse BUFFERING messages.
10798         Added preliminary docs about buffering.
10799         API: gst_message_new_buffering
10800         API: gst_message_parse_buffering
10801
10802 2006-09-06  Wim Taymans  <wim@fluendo.com>
10803
10804         * gst/gstbin.c:
10805         Update documentation.
10806
10807         * gst/gstelement.c: (gst_element_class_init),
10808         (gst_element_release_request_pad), (gst_element_set_clock),
10809         (gst_element_get_index), (gst_element_add_pad),
10810         (gst_element_remove_pad), (gst_element_get_random_pad),
10811         (gst_element_send_event), (gst_element_get_query_types),
10812         (gst_element_query), (gst_element_post_message),
10813         (gst_element_message_full), (gst_element_continue_state),
10814         (gst_element_lost_state), (gst_element_save_thyself),
10815         (gst_element_restore_thyself):
10816         Documentation updates.
10817         Rename last bit of the new-pad -> pad-added signal rename.
10818         Fix the case where an element query would only work if the source
10819         pad was linked.
10820         Avoid some useless type checking in message handling.
10821
10822         * gst/gstevent.c:
10823         * gst/gstevent.h:
10824         * gst/gstutils.c:
10825         Documentation updates.
10826
10827 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10828
10829         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10830           add an INFO line for when we actually update the fd
10831
10832 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10833
10834         * configure.ac:
10835           back to TRUNK
10836
10837 === release 0.10.10 ===
10838
10839 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10840
10841         * configure.ac:
10842           releasing 0.10.10, "Pais"
10843
10844 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10845
10846         * docs/manual/advanced-position.xml:
10847           Fix typo in sample code.
10848
10849 2006-09-05  Wim Taymans  <wim@fluendo.com>
10850
10851         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10852         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10853         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10854         * libs/gst/net/gstnetclientclock.h:
10855         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10856         * libs/gst/net/gstnettimepacket.h:
10857         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10858         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10859         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10860         * libs/gst/net/gstnettimeprovider.h:
10861         Make stuff compile on windows. Fixes #345295.
10862
10863 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10864
10865         * gst/gst.c: (ensure_current_registry_forking):
10866           Print better details when child was terminated by signal.
10867
10868 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10869
10870         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10871           Print a warning rather than g_assert() if a plugin feature
10872           is a URI handler but returns no protocols (#353976).
10873
10874 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10875
10876         * docs/random/moving-plugins:
10877         Fix two typos.         
10878
10879 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10880
10881         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10882           Fix locking order, handle NULL function values properly.
10883
10884         * gst/gstinfo.h:
10885           Fix docs.
10886
10887         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10888           Initialise variable before using it and fix debug statement to
10889           print the address of the function rather than the address of the
10890           variable on the stack holding the address of the function.
10891
10892 2006-09-01  Wim Taymans  <wim@fluendo.com>
10893
10894         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10895         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10896         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10897         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10898         (gst_ghost_pad_parent_unset),
10899         (gst_ghost_pad_internal_do_activate_push),
10900         (gst_ghost_pad_internal_do_activate_pull),
10901         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10902         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10903         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10904         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10905         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10906         (gst_ghost_pad_new_no_target_from_template),
10907         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10908         More cleanups.
10909         Avoid needless typechecking in macros.
10910         Since the internal pad is always present and never changes, there is
10911         no need to locking or ref when retrieving it.
10912         Improve debugging a bit.
10913         Handle link errors when setting the target. Fixes #341029.
10914
10915 2006-09-01  Wim Taymans  <wim@fluendo.com>
10916
10917         * docs/libs/gstreamer-libs-sections.txt:
10918         * docs/plugins/gstreamer-plugins-sections.txt:
10919         Fix docs some more.
10920
10921         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10922         (gst_collect_pads_event):
10923         * libs/gst/base/gstcollectpads.h:
10924         Documentation updates.
10925         Free queued buffer when removing a pad.
10926
10927 2006-08-31  Michael Smith  <msmith@fluendo.com>
10928
10929         * gst/gstutils.c: (gst_element_link_pads),
10930         (gst_element_link_pads_filtered):
10931           Ensure that we set a capsfilter to NULL if we failed to link it
10932           when doing filtered linking, to avoid criticals.
10933
10934           No need to check for unreffing srcpad, which is explicly NULLed
10935           above (a trivial code cleanup).
10936
10937 2006-08-31  Wim Taymans  <wim@fluendo.com>
10938
10939         * docs/design/part-gstghostpad.txt:
10940         Update ascii art in documentation.
10941
10942         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10943         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10944         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10945         (gst_ghost_pad_internal_do_activate_push),
10946         (gst_ghost_pad_internal_do_activate_pull),
10947         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10948         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10949         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10950         (gst_ghost_pad_set_target):
10951         Small cleanups and leak fixes.
10952         Remove some checks now that the internal pad is never NULL.
10953         Fix the case where linking pads without a target would create nasty
10954         criticals. Fixes #341029.
10955         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10956         value of _set_target().
10957
10958         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10959         (gst_ghost_pad_suite):
10960         Some more tests for creating and linking untargeted ghostpads.
10961
10962 2006-08-31  Edward Hervey  <edward@fluendo.com>
10963
10964         * docs/gst/gstreamer-sections.txt:
10965         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10966         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10967         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10968         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10969         (gst_ghost_pad_new_from_template),
10970         (gst_ghost_pad_new_no_target_from_template):
10971         * gst/gstghostpad.h:
10972         Refactored *_new() functions.
10973         Templates are now used as a g_object_new() parameter.
10974         Use template in _do_getcaps() if we don't have a target.
10975         Small documentation cleanups.
10976         Added two new constructors:
10977         gst_ghost_pad_new_from_template()
10978         gst_ghost_pad_new_no_target_from_template()
10979         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10980         (gst_ghost_pad_suite):
10981         Added tests for new ghostpad instanciation functions.
10982
10983         API additions: gst_ghost_pad_new_from_template,
10984         gst_ghost_pad_new_no_target_from_template
10985
10986 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10987
10988         * docs/random/ensonic/profiling.txt:
10989           Ideas about qos profiling.
10990
10991 2006-08-29  Wim Taymans  <wim@fluendo.com>
10992
10993         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10994         Code cleanups.
10995         Fix memleak.
10996
10997 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10998
10999         * gst/gstxml.c:
11000           Improve and detypofy docs.
11001
11002         * tests/check/Makefile.am:
11003         * tests/check/gst/.cvsignore:
11004         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
11005           Add a basic test suite for GstXML.
11006
11007 2006-08-29  Wim Taymans  <wim@fluendo.com>
11008
11009         * gst/gstelement.c: (activate_pads), (clear_caps),
11010         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11011         Clear the pad caps when the element shut down all of the pads and
11012         is not streaming data that could modify the caps. 
11013         Fixes #352958.
11014
11015 2006-08-28  Michael Smith  <msmith@fluendo.com>
11016
11017         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11018           Revert previous change; I misunderstood single-segment mode.
11019
11020 2006-08-28  Michael Smith  <msmith@fluendo.com>
11021
11022         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11023           Unset DISCONT on buffers when using single-segment mode.
11024
11025 2006-08-28  Wim Taymans  <wim@fluendo.com>
11026
11027         * gst/gstcaps.c: (gst_caps_merge_structure):
11028         * gst/gstcaps.h:
11029         Fix docs and indentation again.
11030
11031         * tests/check/gst/gstquery.c: (GST_START_TEST):
11032         Fix leak in tests and add some more tests.
11033
11034 2006-08-28  Edward Hervey  <edward@fluendo.com>
11035
11036         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11037         Inform GstSegment of the last stop position in order for the current
11038         segment to have a proper duration if it doesn't have a specific stop
11039         position from which a duration could be calculated.
11040         This bug was noticeable when a non-flushing, non-update new segment was
11041         followed by another segment (all buffers from the new segment were being
11042         dropped).
11043
11044 2006-08-28  Wim Taymans  <wim@fluendo.com>
11045
11046         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11047         Small comment update.
11048
11049         * plugins/elements/gstidentity.c: (gst_identity_class_init),
11050         (gst_identity_transform_ip):
11051         Drop-probability is broken, mention this in the code with a 
11052         FIXME and also in the property description.
11053         Make silent also be silent about the drop messages.
11054
11055 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
11056
11057         * docs/manual/appendix-win32.xml:
11058           Remove mention of popt, we don't depend on that any
11059           longer (#353136). Add some comments pointing out that
11060           this section is slightly outdated.
11061
11062 2006-08-28  Wim Taymans  <wim@fluendo.com>
11063
11064         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11065
11066         * gst/gstquery.c: (gst_query_new_segment):
11067         * tests/check/gst/gstquery.c: (GST_START_TEST):
11068         Initialize variables when creating a new segment query.
11069         Fixes #353121.
11070
11071 2006-08-28  Wim Taymans  <wim@fluendo.com>
11072
11073         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11074
11075         * gst/gstelement.c: (gst_element_get_bus):
11076         * tests/check/gst/gstelement.c: (GST_START_TEST):
11077         Check for NULL before _reffing the bus. Fixes #353122.
11078
11079 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
11080
11081         * docs/manual/basics-bus.xml:
11082           Docs update: fix wrong callback return value explanation; add
11083           some lines about the implicit relationship between main loop
11084           and main context; remove duplicate main loop variable declaration.
11085
11086 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
11087
11088         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11089           Don't leak caps in unit test; add a few more simple
11090           checks. 
11091
11092 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
11093
11094         * docs/gst/gstreamer-sections.txt:
11095         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11096         (gst_caps_structure_is_subset), (gst_caps_merge),
11097         (gst_caps_merge_structure):
11098         * gst/gstcaps.h:
11099         * libs/gst/base/gstbasetransform.c:
11100         (gst_base_transform_transform_caps):
11101         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11102           implement caps merging (fixes #352580)
11103
11104 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
11105
11106         * tools/Makefile.am:
11107         * tools/gst-plot-timeline.py:
11108           add debug-log plotting developer tool (#340674)
11109
11110 2006-08-23  Wim Taymans  <wim@fluendo.com>
11111
11112         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11113         (gst_pad_stop_task):
11114         Improve debugging for task functions.
11115
11116         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11117         (gst_task_start), (gst_task_pause), (gst_task_join):
11118         Make sure that the task function started and finished after a 
11119         join(). 
11120         Don't try to push the task function on the threadpool multiple
11121         times.
11122         Improve the g_warning message with some useful suggestions
11123         about how to fix the problem. 
11124
11125 2006-08-23  Wim Taymans  <wim@fluendo.com>
11126
11127         * gst/gstutils.c: (gst_pad_proxy_getcaps):
11128         Handle RESYNC correctly in _proxy_getcaps.
11129
11130 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
11131
11132         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11133         (gst_xml_parse_memory), (gst_xml_get_element):
11134           Chain up to parent class in dispose function and also
11135           unref the elements in the toplevel_elements GList.
11136           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11137           Always return a reference in gst_xml_get_element() rather
11138           than only sometimes.
11139
11140         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11141           Don't leak GstXml object.
11142
11143 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
11144
11145         * docs/gst/gstreamer-sections.txt:
11146         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11147         (gst_caps_merge):
11148         * gst/gstcaps.h:
11149         * libs/gst/base/gstbasetransform.c:
11150         (gst_base_transform_transform_caps):
11151           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11152           in a better way
11153
11154 2006-08-21  Edward Hervey  <edward@fluendo.com>
11155
11156         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11157         Implement GObject::dispose virtual method in GstXML so we can free the
11158         top_elements GList.
11159
11160 2006-08-21  Wim Taymans  <wim@fluendo.com>
11161
11162         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11163         (gst_buffer_create_sub):
11164         Copy duration/offset_end/caps when creating a subbuffer of the
11165         complete parent.
11166         Make the subbuffer read-only when we make the metadata writable for
11167         now. Fixes #351768.
11168
11169         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11170         Added check for metadata copy when creating subbuffers.
11171
11172 2006-08-21  Edward Hervey  <edward@fluendo.com>
11173
11174         * libs/gst/base/gstbasetransform.c:
11175         (gst_base_transform_buffer_alloc):
11176         Only call downstream buffer_alloc if transform element is passthrough
11177         or always_in_place. Closes #350449.
11178
11179 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11180
11181         * ChangeLog:
11182           ChangeLog surgery to add comments to previous changes
11183
11184 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11185
11186         * gst/gst.c:
11187           Add comments
11188
11189         * gst/gstpad.c: (gst_pad_set_active):
11190           Be more verbose in the log
11191
11192         * libs/gst/base/gstbasetransform.c:
11193         (gst_base_transform_transform_caps):
11194           Simplify caps to get rid of duplicates, fixes #345444
11195
11196 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11197
11198         * gst/gstvalue.c:
11199         * gst/gstvalue.h:
11200           Use these optimizations only internally.
11201
11202 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11203
11204         * gst/gstvalue.c: (gst_value_compare_list),
11205         (gst_value_compare_fraction_range),
11206         (gst_value_intersect_fraction_fraction_range),
11207         (gst_value_intersect_fraction_range_fraction_range),
11208         (gst_value_subtract_fraction_fraction_range),
11209         (gst_value_subtract_fraction_range_fraction_range),
11210         (gst_value_get_compare_func), (gst_value_compare),
11211         (gst_value_compare_with_func):
11212         * gst/gstvalue.h:
11213           Saves the expensive lookup of the compare function in many cases
11214          (#345444)
11215
11216 2006-08-18  Edward Hervey  <edward@fluendo.com>
11217
11218         * tests/check/gst/gstinfo.c: (gst_info_suite):
11219         Disable test that require gstdebug if it wasn't built in core.
11220
11221 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11222
11223         * docs/random/ensonic/logging.txt:
11224           update ideas
11225           
11226         * gst/gstinfo.c: (gst_debug_log_default):
11227           reorder fields, save some columns, add optional color codes for log
11228           levels
11229
11230 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11231
11232         * docs/random/ensonic/logging.txt:
11233           add ideas about making the logs a bit more useful
11234
11235 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11236
11237         * docs/pwg/advanced-events.xml:
11238         * docs/pwg/titlepage.xml:
11239           Update for 0.10 API (#340627). Add myself
11240           to authors list.
11241
11242 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11243
11244         * docs/libs/gstreamer-libs-docs.sgml:
11245         * docs/libs/gstreamer-libs-sections.txt:
11246         * libs/gst/check/gstbufferstraw.c:
11247           Make gstcheck stuff show up in docs (still needs to
11248           be documented properly though).
11249
11250 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
11251
11252         * docs/gst/gstreamer-sections.txt:
11253         * gst/Makefile.am:
11254         * gst/gst.c: (init_post):
11255         * gst/gst_private.h:
11256         * gst/gstquark.c: (_priv_gst_quarks_initialize):
11257         * gst/gstquark.h:
11258         * gst/gstquery.c: (gst_query_new_position),
11259         (gst_query_set_position), (gst_query_parse_position),
11260         (gst_query_new_duration), (gst_query_set_duration),
11261         (gst_query_parse_duration), (gst_query_new_convert),
11262         (gst_query_set_convert), (gst_query_parse_convert),
11263         (gst_query_new_segment), (gst_query_set_segment),
11264         (gst_query_parse_segment), (gst_query_new_seeking),
11265         (gst_query_set_seeking), (gst_query_parse_seeking):
11266         Add internal helpers for pre-registering quarks from static strings
11267         and using the quark values directly instead of looking them up when
11268         creating and parsing queries. Can be used for event construction too.
11269         Closes #350432.
11270
11271 2006-08-16  Wim Taymans  <wim@fluendo.com>
11272
11273         * gst/gstbin.c:
11274         Fix bogus docs.
11275
11276 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11277
11278         * gst/gstutils.c: (gst_util_set_value_from_string):
11279           Fix memleak (#351502).
11280
11281         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11282           Add unit test for most of gst_util_set_value_from_string()
11283           (not that one would want to encourage use of this function).
11284
11285 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11286
11287         * libs/gst/check/gstcheck.h:
11288           Use const gchar * variables in fail_unless_equals_string
11289           macro to avoid compiler warnings (and don't use tabs for
11290           indenting).
11291
11292 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11293
11294         * tools/gst-launch.c: (print_tag):
11295           More space on the left for the tag names, to cater
11296           for the 'extended comment' tag (not touching the
11297           string for the first line since it's translated).
11298
11299 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11300
11301         * libs/gst/check/gstcheck.h:
11302           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11303           print something when they fail.
11304
11305 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11306
11307         * docs/gst/gstreamer-sections.txt:
11308         * gst/gsttaglist.c: (_gst_tag_initialize):
11309         * gst/gsttaglist.h:
11310           API: add GST_TAG_EXTENDED_COMMENT (#350935).
11311           Also change merge function for GST_TAG_COMMENT to
11312           use_first.
11313
11314 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11315
11316         * gst/gstinfo.c: (gst_debug_print_object):
11317           Make GST_PTR_FORMAT print messages as well.
11318
11319         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11320         (GST_START_TEST), (gst_info_suite):
11321           More tests.
11322
11323 2006-08-14  Edward Hervey  <edward@fluendo.com>
11324
11325         * gst/gstelementfactory.c: (gst_element_register):
11326         If the GstElementClass doesn't have a GstElementDetails with all fields
11327         filled up correctly (longname, description AND author), then error out
11328         nicely instead of crashing.
11329
11330 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11331
11332         * gst/gststructure.c:
11333           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11334
11335         * gst/gstvalue.h:
11336           Expand on the difference between arrays and lists as we use them.
11337           
11338 2006-08-14  Wim Taymans  <wim@fluendo.com>
11339
11340         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11341         If the parent state change function failed, don't assume we can safely
11342         stop the source, this will be done when the pads are deactivated.
11343
11344 2006-08-14  Wim Taymans  <wim@fluendo.com>
11345
11346         * gst/gstbuffer.c:
11347         * gst/gsttask.c: (gst_task_join):
11348         Small doc updates.
11349
11350         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11351         (gst_pad_stop_task):
11352         When pad (de)activation failed for some reason, restore the old
11353         activation mode and set the pad to flushing instead of assuming the
11354         pad is deactivated.
11355         If the _task_join() failed, reinstall the task on the pad so that it can
11356         be stopped later and return an error.
11357
11358 2006-08-11  Andy Wingo  <wingo@pobox.com>
11359
11360         * configure.ac:
11361         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11362         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11363         is only for users of API that don't want to see deprecated
11364         functions in the headers; people that want to compile out
11365         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11366         CFLAGS. Fixes the build of multifdsink, or will soon..
11367
11368 2006-08-11  Wim Taymans  <wim@fluendo.com>
11369
11370         * docs/gst/gstreamer-sections.txt:
11371         Add GstClockClass vmethod docs.
11372
11373         * gst/gstcaps.h:
11374         Mark #endif with comment for associated #if
11375
11376         * gst/gstclock.c: (gst_clock_id_wait):
11377         * gst/gstclock.h:
11378         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11379         most clock implementations.
11380         Document vmethods.
11381         Flesh out docs about resolution methods.
11382         API: GstClockClass::wait_jitter
11383
11384         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11385         (gst_system_clock_async_thread),
11386         (gst_system_clock_id_wait_jitter_unlocked),
11387         (gst_system_clock_id_wait_jitter):
11388         Use base class wait_jitter variant for improved performance
11389         due to less clock polling.
11390
11391 2006-08-11  Edward Hervey  <edward@fluendo.com>
11392
11393         * gst/gst.c: (gst_init_check), (init_post):
11394         Set gst as being initialized before scanning/updating the registry,
11395         since there might be my python plugin loader that calls gst_init() and
11396         we don't want to loop back in.
11397         Closes #350879
11398
11399 2006-08-11  Wim Taymans  <wim@fluendo.com>
11400
11401         * docs/design/part-qos.txt:
11402         Bring docs in line with the code. Mostly the sign of the jitter was
11403         wrong in the docs. Fixes #349943.
11404
11405         * gst/gstclock.c:
11406         Fix the docs for the jitter.
11407
11408         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11409         (gst_event_parse_tag), (gst_event_new_buffer_size),
11410         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11411         (gst_event_new_seek), (gst_event_parse_seek),
11412         (gst_event_new_navigation):
11413         Make sure the GstStructure has no parent when creating custom
11414         events.
11415         Add some more argument checking so that we avoid 0.0 rates.
11416         Flesh out the docs for the QoS event some more.
11417
11418 2006-08-11  Wim Taymans  <wim@fluendo.com>
11419
11420         * docs/gst/gstreamer-sections.txt:
11421         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11422         (ensure_current_registry_forking), (ensure_current_registry),
11423         (parse_one_option), (parse_goption_arg), (gst_deinit),
11424         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11425         * gst/gst.h:
11426         Doc updates.
11427         Added API and command line option to disable registry forking in
11428         addition to the environment variable.
11429         Constify some static arrays.
11430         Added some more debug.
11431         Don't deinit twice.
11432         API: gst_registry_fork_is_enabled()
11433         API: gst_registry_fork_set_enabled()
11434         API: --gst-disable-registry-fork command line option
11435         Fixes #348918.
11436
11437 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11438
11439         * gst/gst.c: (gst_init):
11440           Fix typo in error message.
11441
11442 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11443
11444         * libs/gst/controller/gstcontroller.h:
11445           fix ABI size-correction
11446
11447         * tests/check/libs/gdp.c: (gst_dp_suite):
11448           make tests that use deprecated API conditional
11449
11450 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11451
11452         * docs/libs/gstreamer-libs-sections.txt:
11453         * libs/gst/controller/gstcontroller.c:
11454         (_gst_controller_get_property), (_gst_controller_set_property),
11455         (_gst_controller_init), (_gst_controller_class_init):
11456         * libs/gst/controller/gstcontroller.h:
11457         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11458         (gst_object_set_control_rate):
11459           API: add gst_object_{s,g}et_control_rate(), add private data section,
11460           fix docs
11461
11462         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11463         * libs/gst/dataprotocol/dataprotocol.h:
11464           add deprecation guards to make gtk-doc happy and allow disabling cruft
11465
11466 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11467
11468         * tests/check/Makefile.am:
11469         * tests/check/gst/.cvsignore:
11470           Let's enable the new unit test as well.
11471
11472 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11473
11474         * configure.ac:
11475         * docs/gst/gstreamer-sections.txt:
11476         * gst/gstconfig.h.in:
11477         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11478         (_gst_info_printf_extension_ptr),
11479         (_gst_info_printf_extension_segment):
11480           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11481           register that lets us easily dump GstSegments into debug
11482           logs (#350419).
11483
11484         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11485         (info_segment_format_printf_extension), (gst_info_suite):
11486           Add simple unit test that logs a bunch of different segments (not
11487           valgrinded at the moment because of leaks in
11488           gst_debug_add_log_function).
11489
11490 2006-08-09  Edward Hervey  <edward@fluendo.com>
11491
11492         * libs/gst/base/gstbasetransform.c:
11493         (gst_base_transform_buffer_alloc):
11494         Even if we can't figure out the proper format to request downstream,
11495         call buffer_alloc() downstream with the input parameters without setting
11496         the caps on the srcpad. This will force negotiation in the chain
11497         function.
11498         Closes #350449
11499
11500 2006-08-08  Edward Hervey  <edward@fluendo.com>
11501
11502         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11503         Unlinking from a pad without a target is now a perfectly valid case
11504         which should NOT raise an assertion.
11505         This case would happen if a linked ghostpad its target set to NULL after
11506         it was previously linked.
11507
11508 2006-08-08  Edward Hervey  <edward@fluendo.com>
11509
11510         * tests/check/libs/gdp.c:
11511         Also comment out the test (see below).
11512
11513 2006-08-08  Edward Hervey  <edward@fluendo.com>
11514
11515         * tests/check/libs/gdp.c: (gst_dp_suite):
11516         Use the architecture information from config.h and not gcc macros
11517         in order to properly disable a test that fails on PPC64.
11518
11519 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11520
11521         * gst/gstelement.c: (gst_element_remove_pad):
11522           Don't crash printing the warning if the pad has no parent.
11523
11524 2006-08-02  Wim Taymans  <wim@fluendo.com>
11525
11526         * libs/gst/dataprotocol/dataprotocol.c:
11527         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11528         (gst_dp_crc), (gst_dp_header_payload_length),
11529         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11530         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11531         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11532         (gst_dp_event_from_packet), (gst_dp_validate_header),
11533         (gst_dp_validate_payload):
11534         Make debug category static
11535         Constify the crc table.
11536         Do some more arg checking in public functions.
11537         Fix some docs and do some small cleanups.
11538
11539         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11540         Add some more checks to see if GDP deals with bogus input.
11541
11542 2006-07-31  Wim Taymans  <wim@fluendo.com>
11543
11544         * gst/gstvalue.c: (gst_value_compare_list):
11545         Fix GstValueList comparison code. Fixes #347293.
11546
11547         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11548         Check to test GstValueList comparison.
11549
11550 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11551
11552         * gst/gstelementfactory.c: (gst_element_factory_create):
11553         Remove unnecessary ref/unref pair
11554
11555         * gst/parse/grammar.y:
11556         Make sure to free the parse buffer on all code paths.
11557         Move a g_free up to the error handler where it's easier to see.
11558
11559         * tests/check/gst/gstevent.c: (test_event):
11560         Extending timeout for downstream travelling events to 10 seconds to
11561         hopefully avoid intermittent failure on the buildbots.
11562
11563         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11564         Don't manually set the state of the src element - it will happen as a
11565         natural consequence of the pipeline changing state, and that way it
11566         will do it in the right order too.
11567
11568 2006-07-31  Wim Taymans  <wim@fluendo.com>
11569
11570         * libs/gst/base/gstbasetransform.c:
11571         (gst_base_transform_buffer_alloc):
11572         Use OBJECT_LOCK and refcounting to get the pad caps in the
11573         buffer_alloc function because the caps could change while we are
11574         busy with them. Fixes #349105
11575
11576 2006-07-31  Wim Taymans  <wim@fluendo.com>
11577
11578         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11579         Protect _PAD_CAPS with OBJECT_LOCK.
11580
11581 2006-07-31  Wim Taymans  <wim@fluendo.com>
11582
11583         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11584         (gst_pad_get_property), (gst_pad_activate_pull),
11585         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11586         (gst_pad_set_activate_function),
11587         (gst_pad_set_activatepull_function),
11588         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11589         (gst_pad_set_getrange_function),
11590         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11591         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11592         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11593         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11594         (gst_pad_set_acceptcaps_function),
11595         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11596         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11597         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11598         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11599         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11600         (gst_pad_configure_sink), (gst_pad_configure_src),
11601         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11602         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11603         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11604         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11605         (gst_pad_send_event):
11606         Use _DEBUG_OBJECT when it makes sense.
11607         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11608         Small cleanups and code reflows.
11609         Avoid caps refcounting in _accept_caps.
11610         Refactor alloc_buffer so that the code performed on the peer is in a
11611         separate function. Also if the pad does not implement a buffer alloc
11612         function, we should still check if the pad is flushing before falling
11613         back to the default allocator.
11614
11615 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11616
11617         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11618         Make all uses of identity and fakesink have silent=true to avoid
11619         serialising every passing data structure, which is breaking tests
11620         on FC4 for some unknown reason.
11621
11622 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11623
11624         * gst/parse/Makefile.am:
11625         * gst/parse/grammar.y:
11626         * gst/parse/parse.l:
11627           Reverted previous patch as it required to bump the flex dependency to
11628           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11629
11630 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11631
11632         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11633
11634         * gst/parse/Makefile.am:
11635         * gst/parse/grammar.y:
11636         * gst/parse/parse.l:
11637           push & pop the state of the lexer for reentrant use case
11638           Fixes #349180
11639
11640 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11641
11642         * libs/gst/base/gstbasesrc.h:
11643           Note in the docs that the ::newsegment vfunc is not actually used by
11644           GstBaseSrc.
11645
11646 2006-07-28  Wim Taymans  <wim@fluendo.com>
11647
11648         * libs/gst/base/gstcollectpads.c:
11649         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11650         (gst_collect_pads_clear), (gst_collect_pads_flush),
11651         (gst_collect_pads_event), (gst_collect_pads_chain):
11652         When flushing a pad, also clear the queued buffer so that we don't
11653         accidentally use it when we shouldn't.
11654         Fix leaks by inreffing incomming buffer.
11655         Flush out queued buffers in case of errors.
11656         Fixes #347452.
11657
11658 2006-07-28  Wim Taymans  <wim@fluendo.com>
11659
11660         * docs/random/phonon-gst:
11661         Random notes about a Phonon backend.
11662
11663 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11664
11665         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11666         Extra debug output
11667         * tests/check/libs/gdp.c: (gst_dp_suite):
11668         Take a whack at fixing the ppc compile using a different define to
11669         disable the broken test.
11670
11671         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11672         Remove excess g_print()
11673
11674 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11675
11676         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11677         Oops, meant to uncomment this line too to dampen the noise a bit.
11678
11679 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11680
11681         * gst/parse/grammar.y:
11682         * gst/parse/parse.l:
11683         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11684         (GST_START_TEST), (parse_suite):
11685         Fix some of the leaks exposed by extending the parse-launch testsuite,
11686         and move the 3 I can't figure out into a separate test that won't run
11687         the pipelines unless the appropriate line is uncommented.
11688
11689 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11690
11691         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11692           Requesting 0 bytes before the end of the file should result in
11693           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11694           unit test.
11695
11696 2006-07-27  Wim Taymans  <wim@fluendo.com>
11697
11698         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11699         Fix useless assert, a uint is always positive.
11700
11701         * gst/gststructure.c: (gst_structure_nth_field_name),
11702         (gst_structure_foreach), (gst_structure_map_in_place):
11703         Check input arguments for public functions to avoid obvious crashes.
11704
11705         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11706         * plugins/elements/gstfakesink.h:
11707         Do less useless typechecking.
11708
11709 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11710
11711         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11712           Do not use mmap() by default since there are a number of error
11713           conditions that we would like to handle in a non-fatal way that
11714           will result in a SIGBUS if we use mmap(). Examples: external
11715           devices (USB harddrive, portable music player) being unplugged
11716           while in use; file on mounted CD/DVD that can't be read because
11717           the medium is partly damaged. Fixes #348455 and #348475.
11718
11719 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11720
11721         * gst/gstquery.h:
11722         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11723         rates are a gdouble
11724
11725 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11726
11727         * gst/gstregistry.c:
11728           Move big documentation comment into class section header, so that it
11729           appears in the API docs.
11730
11731 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11732
11733         * docs/gst/gstreamer-sections.txt:
11734         Oops. Commit the docs additions too for new API.
11735         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11736
11737 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11738
11739         * gst/gststructure.c: (gst_structure_id_set),
11740         (gst_structure_id_set_valist):
11741         * gst/gststructure.h:
11742         Add API for setting values into structures without performing
11743         a quark lookup, if the appropriate quark is already known.
11744
11745         API: gst_structure_id_set
11746         API: gst_structure_id_set_valist
11747
11748         * gst/parse/grammar.y:
11749         * gst/parse/parse.l:
11750         Remove some dead code shown by the coverage information.
11751         Don't throw a critical g_warning when encountering a syntax error,
11752         just warn and let the normal error path handle it.
11753
11754         * plugins/elements/gstelements.c:
11755         Bump the rank of filesink up to PRIMARY so that it is preferred over
11756         gnomevfssink for file:// sink uri's
11757
11758         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11759         (GST_START_TEST), (run_delayed_test),
11760         (gst_parse_test_element_base_init),
11761         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11762         (gst_parse_test_element_change_state),
11763         (gst_register_parse_element), (parse_suite):
11764         Beef up the tests for parse syntax to check that more error cases
11765         fail as they are supposed to. Increases the test coverage a bit.
11766
11767 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11768
11769         * docs/manual/basics-elements.xml:
11770           Fix gst_element_link() example.
11771
11772         * gst/gstutils.c:
11773           Mention in API docs that one should usually gst_bin_add()
11774           elements to a bin or pipeline before doing the linking.
11775           
11776 2006-07-26  Wim Taymans  <wim@fluendo.com>
11777
11778         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11779         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11780         Avoid function call for known types by keeping the buffer and
11781         subbuffer GType global.
11782
11783         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11784         Random silly optimisations in read() path.
11785
11786 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11787
11788         * tools/gst-launch.c: (main):
11789           If the top-level of the parse is a normal bin, it doesn't do the
11790           right logic to run as a top-level element, so place it inside a
11791           pipeline.
11792
11793 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11794
11795         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11796           Remove superfluous g_object_notify() calls, GObject does
11797           that for us automatically.
11798
11799 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11800
11801         * gst/gstinfo.h:
11802           on Win32, use dllspec to export the debug category symbols
11803
11804 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11805
11806         * gst/gsttaglist.c: (_gst_tag_initialize):
11807           Allow more than one GST_TAG_IMAGE per taglist.
11808
11809 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11810
11811         * gst/gstminiobject.c:
11812           update docs
11813         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11814         (gst_fd_src_create):
11815           log recurring events at LOG level
11816           add more debug for when the fd gets set
11817
11818 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11819
11820         * gst/gstparse.c: (gst_parse_launch):
11821           Also remove reentrance checks if flex is MT safe (#348179)
11822          Fix my empty ChangeLog entry below
11823
11824 2006-07-21  Andy Wingo  <wingo@pobox.com>
11825
11826         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11827
11828         * libs/gst/check/Makefile.am
11829         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11830         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11831         * libs/gst/check/gstbufferstraw.h:
11832         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11833         functions, thus proving I am still a GStreamer haxor. OK I wrote
11834         them a long time ago, but anyways.
11835
11836 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11837
11838         * configure.ac:
11839         * gst/gstparse.c: (gst_parse_launch):
11840           Check for flex version and omit mutex if we have a MT save flex
11841           (fixes #348179)
11842
11843 2006-07-21  Wim Taymans  <wim@fluendo.com>
11844
11845         * gst/gstparse.c: (gst_parse_launch):
11846         Protect recursive calls to _parse with a recursive mutex
11847         and busy flag.
11848
11849 2006-07-21  Wim Taymans  <wim@fluendo.com>
11850
11851         * tests/check/gst/gstpad.c: (GST_START_TEST):
11852         Fix leak in test.
11853
11854 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11855
11856         * gst/gstparse.c: (gst_parse_launch):
11857           Do not hang on recursive usage of gst_parse_launch()
11858
11859 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11860
11861         * gst/gsttaglist.c:
11862           Add some more docs, comments and FIXME 0.11s here and there
11863           and also fix some typos.
11864
11865 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11866
11867         * gst/gstsegment.h:
11868           Convert tabs to spaces for better readability. 
11869
11870 2006-07-20  Edward Hervey  <edward@fluendo.com>
11871
11872         * tests/check/libs/gdp.c: (gst_dp_suite):
11873         the test_buffer test fails at line 140 on ppc64 at the following
11874         check:
11875         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11876                 GST_BUFFER_FLAG_IN_CAPS),
11877                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11878         See bug #348114 for more details.
11879
11880 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11881
11882         * docs/pwg/advanced-scheduling.xml:
11883         * gst/gstpad.c:
11884           Fix typos (#348000).
11885
11886 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11887
11888         * docs/pwg/intro-basics.xml:
11889           Fix wrong links (#347927).
11890
11891 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11892
11893         * gst/gstregistry.h:
11894         * gst/gstregistryxml.c: (load_feature),
11895         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11896         * win32/common/config.h:
11897           make --disable-index work (#342564)
11898
11899 2006-07-18  Wim Taymans  <wim@fluendo.com>
11900
11901         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11902
11903         * gst/Makefile.am:
11904         * gst/gsttrace.h:
11905         The attached patch adds two missing defines to gsttrace.h when tracing
11906         is disabled.  It also corrects one existing define.
11907         Fixes #347756.
11908
11909 2006-07-17  Wim Taymans  <wim@fluendo.com>
11910
11911         * docs/gst/gstreamer-sections.txt:
11912         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11913         * gst/gst.h:
11914         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11915         Add two functions to check and change the SIGSEGV behaviour
11916         when loading plugins.
11917         Don't mess with the SIGSEGV handler when we were told not to.
11918         Fixes #347794.
11919         API: gst_segtrap_is_enabled
11920         API: gst_segtrap_set_enabled
11921
11922 2006-07-14  Wim Taymans  <wim@fluendo.com>
11923
11924         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11925         * tests/check/elements/filesrc.c: (GST_START_TEST):
11926         Revert fix for regression in #347408 after release.
11927
11928 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11929
11930         Patch by: Antoine Tremblay <hexa00 at gmail com>
11931
11932         * gst/gstutils.c: (gst_element_unlink):
11933           Free iterator when done (#347311).
11934
11935         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11936           And add a test case for this.
11937
11938 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11939
11940         * configure.ac:
11941         Bump nano back to CVS
11942
11943 === release 0.10.9 ===
11944
11945 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11946
11947         * configure.ac:
11948           releasing 0.10.9, "On the road again"
11949
11950 2006-07-13  Wim Taymans  <wim@fluendo.com>
11951
11952         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11953         * tests/check/elements/filesrc.c: (GST_START_TEST):
11954         Revert pull-0 fix for release. Disable check. Fixes #347408.
11955
11956 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11957
11958         * libs/gst/dataprotocol/dataprotocol.c:
11959         (gst_dp_event_from_packet_1_0):
11960           Fixes #347337: failure to deserialize event packets with
11961           empty payload (only event type)
11962
11963 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11964
11965         * gst/Makefile.am:
11966           do not install a .c file in the header directory
11967
11968 2006-07-13  Edward Hervey  <edward@fluendo.com>
11969
11970         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11971         GhostPad no longer implicitely use the padtemplates of the targets.
11972         Fixes #347384
11973
11974 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11975
11976         * gst/gstvalue.c: (gst_value_compare_list),
11977         (gst_value_compare_array), (_gst_value_initialize):
11978         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11979         Make GstValueArray comparison be order dependent as designed.
11980         Add checks for value lists and value array comparisons.
11981         Fixes #347221
11982
11983 2006-07-11  Edward Hervey  <edward@fluendo.com>
11984
11985         * gst/gstbin.c: (activate_pads),
11986         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11987         (gst_bin_change_state_func):
11988         (de)activate src pads before calling state_change on the childs.
11989         This is to avoid the case where a src ghostpad is blocked (holding the
11990         stream lock), which would block the deactivation of the ghostpad's
11991         target pad.
11992         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11993         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11994         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11995         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11996         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11997         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11998         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11999         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
12000         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
12001         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12002         (gst_ghost_pad_class_init),
12003         (gst_ghost_pad_internal_do_activate_push),
12004         (gst_ghost_pad_internal_do_activate_pull),
12005         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12006         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12007         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
12008         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
12009         GhostPads now create their internal GstProxyPad at creation (and not
12010         when they're linked, as it was being done previously).
12011         The internal and target pads are linked straight away.
12012         The data will also travel through the other pad in order to make
12013         pad blocking and probes non-hackish (the probe/block now really happens
12014         on the GhostPad and not on the target).
12015         * gst/gstpad.c: (gst_pad_set_blocked_async),
12016         (gst_pad_link_prepare), (gst_pad_push_event):
12017         Remove previous ghostpad cruft.
12018         * gst/gstutils.c: (gst_pad_add_data_probe),
12019         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12020         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12021         (gst_pad_remove_buffer_probe):
12022         Remove previous ghost pad cruft.
12023         Added more detailed debug statements.
12024         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12025         Fix the testsuite for refcounting changes.
12026         The comments about who has references were correct, but the refcount
12027         being checked wasn't the same (!?!).
12028
12029         Fixes #341029
12030
12031 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
12032
12033         * docs/gst/gstreamer-sections.txt:
12034         * gst/gstconfig.h.in:
12035         More docs for configuration options, add docs to gtk-doc.
12036
12037 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
12038
12039         * gst/Makefile.am:
12040         * gst/gstconfig.h.in:
12041         * win32/common/config.h:
12042         Fix build when disabling tracing (fixes #344016). Also start to document
12043         the defines that disable the sub-systems.
12044
12045 2006-07-10  Edward Hervey  <edward@fluendo.com>
12046
12047         * gst/gst.c: (ensure_current_registry_forking):
12048         let's make valgrind happy...
12049
12050 2006-07-09  Wim Taymans  <wim@fluendo.com>
12051
12052         * gst/gstelement.c: (activate_pads),
12053         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12054         Better pad activation code: Reset the collect value too on resync.
12055         Add some comments.
12056
12057 2006-07-09  Wim Taymans  <wim@fluendo.com>
12058
12059         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12060         (gst_pad_activate_push):
12061         Use some more macros where it makes sense.
12062         Allow pad mode switching instead of asserting. When a pad
12063         is activated in one mode and we activate it in another, 
12064         deactivate it first before activating it in a different mode.
12065         Fixes #329198.
12066
12067 2006-07-08  Andy Wingo  <wingo@pobox.com>
12068
12069         * tools/gst-launch.c (main): Handle err == NULL.
12070
12071         * gst/gst.c (init_post, ensure_current_registry)
12072         (ensure_current_registry_forking)
12073         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12074         factoring out the registry scanning into separate functions. Don't
12075         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12076         Better environment var name/interface suggestions accepted.
12077
12078 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12079
12080         * gst/gstobject.c: (gst_object_set_name_default),
12081         (gst_object_set_name):
12082           Random micro-optimisation: don't use a hash table
12083           with strings as keys and the usual strdup/strcmp
12084           involved, but rather just use the GQuark of the
12085           type name as key, since it needs to be looked up
12086           anyway to get the type name string.
12087
12088         * tests/check/gst/gstobject.c: (GST_START_TEST):
12089           Fix various leaks.
12090
12091 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12092
12093         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12094         (gst_bin_iterate_all_by_interface):
12095           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12096           GTypes are gulongs and thus the top 4 bytes might be cut
12097           off on some platforms when doing GPOINTER_TO_INT, leading
12098           to invalid GTypes and bad things happening (see RH bug #179654).
12099           Also add a check to make sure the type passed in is really
12100           an interface type.
12101
12102 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12103
12104         * .cvsignore:
12105           Ignore more.
12106
12107 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12108
12109         * Makefile.am:
12110         * configure.ac:
12111         * gst-element-check.m4:
12112         * gst-element-check.m4.in:
12113           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12114           instead of the unversioned gst-inspect (#324176, #168659).
12115
12116 2006-07-06  Wim Taymans  <wim@fluendo.com>
12117
12118         * gst/gstmessage.h:
12119         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12120         warnings.
12121
12122 2006-07-06  Wim Taymans  <wim@fluendo.com>
12123
12124         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12125         (gst_base_src_wait), (gst_base_src_update_length),
12126         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12127         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12128         (gst_base_src_loop), (gst_base_src_start),
12129         (gst_base_src_activate_pull):
12130         Update docs.
12131         blocksize == 0 now means the default blocksize when working in push
12132         based mode.
12133         Remove some pointless asserts in _wait function.
12134         Fix offset/length calculations and EOS handling. We can now pull 0
12135         bytes as well, which is allowed.
12136         use _check_get_range() to decide if we can operate in _pull based
12137         mode.
12138         Fix refcounting leak when check_get_range function was not 
12139         implemented.
12140         API GstBaseSrc::blocksize range can be 0 too now (default)
12141
12142         * tests/check/elements/filesrc.c: (GST_START_TEST),
12143         (filesrc_suite):
12144         Added check to test _get_range() behaviour.
12145
12146 2006-07-06  Wim Taymans  <wim@fluendo.com>
12147
12148         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12149         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12150         (gst_pad_pull_range):
12151         * gst/gstpad.h:
12152         Lots of comments and docs added to the pad functions.
12153         Flesh out the expected behaviour of the get_range() functions.
12154
12155 2006-07-06  Wim Taymans  <wim@fluendo.com>
12156
12157         * gst/gstbus.h:
12158         * gst/gstclock.h:
12159         * gst/gstevent.h:
12160         * gst/gstiterator.h:
12161         * gst/gstpad.h:
12162         * gst/gstplugin.h:
12163         * gst/gsttask.h:
12164         Remove comma at end of enumerator list. 
12165
12166 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
12167
12168         * win32/common/libgstbase.def:
12169         * win32/common/libgstdataprotocol.def:
12170         * win32/common/libsgtreamer.def:
12171         Add new exported functions.
12172
12173 2006-07-05  Wim Taymans  <wim@fluendo.com>
12174
12175         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12176         Add some more docs here and there.
12177
12178 2006-07-05  Wim Taymans  <wim@fluendo.com>
12179
12180         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12181         (gst_base_sink_loop), (gst_base_sink_get_position):
12182         When operating in pull mode update the offset so that we
12183         read sequentially.
12184
12185 2006-07-05  Wim Taymans  <wim@fluendo.com>
12186
12187         * gst/gstregistryxml.c: (read_string):
12188         Avoid strdup. (will happen in libxml, but hey!)
12189
12190         * gst/gsturi.c:
12191         Add some more docs.
12192
12193 2006-07-05  Wim Taymans  <wim@fluendo.com>
12194
12195         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12196         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12197         (gst_buffer_suite):
12198         No point in checking if the size of the subbuffer > 0, the
12199         code handles it correclty as demonstrated by unit test.
12200         Also add a unit test for the zero sized _new_and_alloc and
12201         _copy. Fixes #346663.
12202
12203 2006-07-05  Wim Taymans  <wim@fluendo.com>
12204
12205         * libs/gst/base/gstbasetransform.c:
12206         (gst_base_transform_prepare_output_buffer),
12207         (gst_base_transform_buffer_alloc),
12208         (gst_base_transform_handle_buffer):
12209         Make sure the buffer we pass to transform_ip has a refcount of
12210         1 and thus is writable. Fixes #343196
12211
12212 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
12213
12214         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12215         (gst_file_src_init), (gst_file_src_set_property),
12216         (gst_file_src_get_property), (gst_file_src_map_region):
12217         * plugins/elements/gstfilesrc.h:
12218         Add "sequential" property, off by default, to use madvise and hint
12219         to the kernel that sequential access is desired.
12220         Touch all retrieved pages by default to ensure they are pulled
12221         into memory. (Closes #345720)
12222
12223 2006-07-03  Wim Taymans  <wim@fluendo.com>
12224
12225         * docs/design/part-block.txt:
12226         * docs/design/part-dynamic.txt:
12227         Small docs updates.
12228
12229 2006-07-03  Wim Taymans  <wim@fluendo.com>
12230
12231         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12232         (gst_caps_unref), (gst_static_caps_get),
12233         (gst_caps_append_structure):
12234         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12235         Use GSlice when the glib we build against is >= 2.10
12236
12237 2006-07-03  Wim Taymans  <wim@fluendo.com>
12238
12239         * gst/gstelement.c: (gst_element_pads_activate):
12240         Small cleanup in pad activation code.
12241
12242 2006-07-03  Wim Taymans  <wim@fluendo.com>
12243
12244         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12245
12246         * gst/gst-i18n-app.h:
12247         * gst/gst-i18n-lib.h:
12248         * tools/gst-inspect.c: (print_signal_info):
12249         The attached patch will make the inclusion of gettext.h unconditional in
12250         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12251         libintl.h in tools/gst-inspect.c.
12252         This allows use of --disable-nls again and fixes #344642.
12253
12254 2006-07-03  Edward Hervey  <edward@fluendo.com>
12255
12256         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12257         Implement pad blocking on events according to part-block.txt.
12258         More comments on behaviour.
12259         * tests/check/gst/gstevent.c: (test_event):
12260         Send event to peer pad of blocked pad (else it will block).
12261
12262 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12263
12264         * libs/gst/check/gstcheck.c: (gst_check_message_error),
12265         (gst_check_run_suite):
12266           if we get the wrong message, give us the types as string
12267         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12268           Fix a translatable
12269         * tests/check/elements/filesrc.c: (GST_START_TEST):
12270           add a test for trying to open a non-existing file
12271
12272 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12273
12274         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12275           add a test for adding self
12276
12277 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12278
12279         * libs/gst/check/gstcheck.h:
12280           add some assert_ as alias for fail_unless_*
12281         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12282           increase test coverage
12283
12284 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12285
12286         * Makefile.am:
12287           include lcov.mak for lcov coverage generation
12288         * tools/Makefile.am:
12289           add to CLEANFILES
12290
12291 2006-07-02  Edward Hervey  <edward@fluendo.com>
12292
12293         * tests/check/elements/.cvsignore:
12294         moaping
12295
12296 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12297
12298         * configure.ac:
12299           don't set CFLAGS and friends for gcov, done from GST_GCOV now
12300         * tests/check/Makefile.am:
12301           clean up gcov files
12302
12303 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12304
12305         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12306           remove gst_caps_simplify; it was not declared and not used
12307           and deprecated in 0.8
12308
12309 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12310
12311         * docs/faq/gst-uninstalled:
12312           don't put empty paths on PYTHONPATH
12313         * docs/gst/gstreamer-sections.txt:
12314           remove some symbols that are not there
12315
12316 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12317
12318         * gst/gstcaps.c: (gst_caps_compare_structures):
12319           whitespace fixes
12320         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12321         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12322           add more tests
12323
12324 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12325
12326         * libs/gst/dataprotocol/Makefile.am:
12327           build dataprotocol test by linking to the lib, instead of
12328           compiling the source, so we get coverage
12329         * tests/check/Makefile.am:
12330         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12331         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12332           add a test for filesrc
12333
12334 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12335
12336         * tests/check/gst/gststructure.c: (GST_START_TEST),
12337         (gst_structure_suite):
12338           Push coverage from 59.04% to 70.00%
12339
12340 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12341
12342         * tests/check/Makefile.am:
12343           gst-inspect every element; this makes sure that we also get
12344           coverage on element's get/set functions
12345
12346 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12347
12348         * configure.ac:
12349           set CFLAGS and friends to -O0 if gcov is being used
12350           add GCOV LIBS
12351         * gst/Makefile.am:
12352         * libs/gst/base/Makefile.am:
12353         * libs/gst/check/Makefile.am:
12354         * libs/gst/controller/Makefile.am:
12355         * libs/gst/dataprotocol/Makefile.am:
12356         * libs/gst/net/Makefile.am:
12357         * plugins/elements/Makefile.am:
12358         * plugins/indexers/Makefile.am:
12359           add makefile rules to generate gcov data and clean up
12360         * tests/check/Makefile.am:
12361           add a coverage target that generates an html overview
12362           of coverage data
12363
12364 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12365
12366         * tests/check/elements/fakesink.c:
12367         * tests/check/elements/fakesrc.c:
12368         * tests/check/elements/fdsrc.c:
12369         * tests/check/elements/identity.c:
12370         * tests/check/generic/sinks.c: (gst_sinks_suite):
12371         * tests/check/generic/states.c:
12372         * tests/check/gst/gst.c:
12373         * tests/check/gst/gstabi.c:
12374         * tests/check/gst/gstbin.c:
12375         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12376         * tests/check/gst/gstbus.c: (gst_bus_suite):
12377         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12378         * tests/check/gst/gstelement.c:
12379         * tests/check/gst/gstevent.c: (gst_event_suite):
12380         * tests/check/gst/gstghostpad.c:
12381         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12382         * tests/check/gst/gstmessage.c: (gst_message_suite):
12383         * tests/check/gst/gstminiobject.c:
12384         * tests/check/gst/gstobject.c:
12385         * tests/check/gst/gstpad.c:
12386         * tests/check/gst/gstpipeline.c:
12387         * tests/check/gst/gstplugin.c:
12388         * tests/check/gst/gstquery.c: (gst_query_suite):
12389         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12390         * tests/check/gst/gststructure.c:
12391         * tests/check/gst/gstsystemclock.c:
12392         * tests/check/gst/gsttag.c:
12393         * tests/check/gst/gsttask.c: (gst_task_suite):
12394         * tests/check/gst/gstutils.c:
12395         * tests/check/gst/gstvalue.c:
12396         * tests/check/libs/adapter.c:
12397         * tests/check/libs/basesrc.c:
12398         * tests/check/libs/collectpads.c:
12399         * tests/check/libs/controller.c:
12400         * tests/check/libs/gdp.c: (gst_dp_suite):
12401         * tests/check/libs/gstnetclientclock.c:
12402         * tests/check/libs/gstnettimeprovider.c:
12403         * tests/check/libs/libsabi.c: (libsabi_suite):
12404         * tests/check/libs/typefindhelper.c:
12405         * tests/check/pipelines/cleanup.c:
12406         * tests/check/pipelines/parse-launch.c:
12407         * tests/check/pipelines/simple-launch-lines.c:
12408         * tests/check/pipelines/stress.c: (stress_suite):
12409           use the new macro
12410
12411 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12412
12413         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12414         * libs/gst/check/gstcheck.h:
12415           create a macro and function so that the simple unit test
12416           case can be just one macro to create main()
12417
12418 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12419
12420         * gst/gstbin.c: (gst_bin_restore_thyself):
12421         * gst/gstxml.c: (gst_xml_make_element):
12422           Fix deserialisation from XML. Set parent manually
12423           instead of using gst_bin_add(), since gst_bin_add()
12424           will unlink all pads of the element being added.
12425           Fixes #341667.
12426
12427 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12428
12429         Patch by: Peter Kjellerstedt <pkj at axis com>
12430
12431         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12432           Fix missing g_strdup() and double free when using the
12433           --gst-plugin-load command line option (#346097).
12434
12435 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12436
12437         * gst/gstinfo.c:
12438           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12439
12440         * libs/gst/net/gstnetclientclock.c:
12441         * libs/gst/net/gstnettimeprovider.c:
12442           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12443
12444 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12445
12446         * docs/manual/advanced-dataaccess.xml:
12447           Fix buffer probe example compilation in
12448           ADM (#345708).
12449         
12450 2006-06-22  Edward Hervey  <edward@fluendo.com>
12451
12452         * gst/gstelement.c: (gst_element_pads_activate):
12453         We need to deactivate src pads first and then sink pads.
12454         The reason is the src pads might be blocking while holding the streaming
12455         lock, so we need to deactivate them first so that deactivating the sink
12456         pads doesn't block (since it will require the streaming lock).
12457
12458 2006-06-22  Wim Taymans  <wim@fluendo.com>
12459
12460         * libs/gst/base/gstbasetransform.c:
12461         (gst_base_transform_buffer_alloc):
12462         Forgot to remove two unneeded unrefs.
12463         Simplify a check _is_equal allready checks the obvious case.
12464
12465 2006-06-22  Wim Taymans  <wim@fluendo.com>
12466
12467         * docs/design/part-block.txt:
12468         Some docs about what pad_block should do.
12469
12470 2006-06-22  Wim Taymans  <wim@fluendo.com>
12471
12472         * gst/gstcaps.c: (gst_caps_replace):
12473         Fix crasher when passed NULL. Doc clarification.
12474         Optimize for the trivial case.
12475
12476         * gst/gstpipeline.c: (gst_pipeline_change_state):
12477         Small cleanups.
12478
12479         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12480         Small documentation cleanup.
12481
12482         * libs/gst/base/gstbasetransform.c:
12483         (gst_base_transform_buffer_alloc):
12484         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12485         is what we need and it avoids a whole lot of redundant 
12486         refcount operations.
12487
12488 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12489
12490         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12491
12492         * docs/manual/advanced-dataaccess.xml:
12493           Fix 'Embedding static elements' section to use
12494           GST_PLUGIN_DEFINE_STATIC (#345607).
12495
12496 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12497
12498         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12499           Attempt to 'fix' spuriously failing test case: it seems like the
12500           timeout of half a second is simply too small when the system is under
12501           load otherwise, and the timeout doesn't really seem to serve any
12502           particular purpose here. Give the pipeline a few seconds to preroll
12503           first, and then give it another half a second to go from PAUSED to
12504           PLAYING and marshal the message into the main thread.
12505
12506 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12507
12508         * tools/gst-feedback-m.m:
12509           Don't only use unversioned tools, try versioned tools as well
12510           (#345086).
12511
12512 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12513
12514         * gst/gstbus.c: (gst_bus_class_init):
12515           Fix some typos, make docs more explicit.
12516
12517 2006-06-20  Wim Taymans  <wim@fluendo.com>
12518
12519         * tests/check/gst/gstghostpad.c: (block_callback),
12520         (GST_START_TEST), (gst_ghost_pad_suite):
12521         Added some more ghostpad tests, mainly blocking
12522         and probes.
12523
12524 2006-06-16  Wim Taymans  <wim@fluendo.com>
12525
12526         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12527         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12528         (gst_file_sink_event), (gst_file_sink_render):
12529         * plugins/elements/gstfilesink.h:
12530         Check if we can seek in the file instead of assuming
12531         we always can. Post an error when we are asked to seek in a
12532         non-seekable file (like a fifo). Fixes #343312.
12533         Some cleanups.
12534
12535 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12536
12537         * tools/gst-launch.1.in:
12538           Un-garble (fourcc) bit in filtered caps section.
12539
12540 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12541
12542         * docs/manual/advanced-autoplugging.xml:
12543         * docs/manual/basics-helloworld.xml:
12544         * docs/manual/highlevel-components.xml:
12545           Don't leak bus reference in sample code.
12546
12547 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12548
12549         * autogen.sh:
12550           Add default for new --enable-plugin-docs switch.
12551
12552         * configure.ac:
12553           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12554           Fixes #344039.
12555
12556         * docs/Makefile.am:
12557           Use new ENABLE_PLUGIN_DOCS conditional.
12558
12559 2006-06-14  Wim Taymans  <wim@fluendo.com>
12560
12561         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12562         Make it clear with a FIXME and a real define what the #if 0
12563         previously disabled.
12564
12565 2006-06-14  Wim Taymans  <wim@fluendo.com>
12566
12567         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12568         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12569         * libs/gst/base/gstbasetransform.c:
12570         (gst_base_transform_sink_eventfunc):
12571         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12572         Don't randomly and silently reset a segment when the format 
12573         changes as this is a bug somewhere upstream. Fixes #330379.
12574
12575 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12576
12577         Patch by: Wouter Paesen  <wouter at kangaroot net>
12578
12579         * libs/gst/controller/gstcontroller.c:
12580         (gst_controlled_property_new):
12581           Fix controlling of float properties (#344849).
12582
12583         * tests/check/libs/controller.c:
12584         (gst_test_mono_source_get_property),
12585         (gst_test_mono_source_set_property),
12586         (gst_test_mono_source_class_init), (GST_START_TEST):
12587           While we're at it, add some float stuff to unit test.
12588
12589 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12590
12591         * docs/README:
12592         * docs/images/gdp-header.svg:
12593           add a gdp image
12594         * docs/libs/Makefile.am:
12595         * docs/libs/gdp-header.png:
12596         * libs/gst/dataprotocol/dataprotocol.c:
12597           add it to the API docs
12598         * docs/manual/intro-motivation.xml:
12599           fix typo
12600
12601 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12602
12603         * gst/gst.c: (scan_and_update_registry), (init_post):
12604           If the fork()'ed child process can't write the updated registry cache
12605           file to disk for some reason, make it exit with a failure exit code,
12606           so that the parent can then re-scan the plugins itself and update the
12607           registry structures in memory and work with that (rather than failing
12608           when creating elements because seemingly no plugins are available).
12609           Refactor registry scanning code into separate function for this and
12610           also separate fork() and non-fork() code paths. Fixes #344748.
12611
12612 2006-06-13  Wim Taymans  <wim@fluendo.com>
12613
12614         * docs/manual/advanced-dataaccess.xml:
12615         Fix wrong PluginDesc. Fixes #344755.
12616
12617 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12618
12619         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12620           Fix silly bug that prevented us from creating
12621           ~/.gstreamer-0.10 and writing the registry in one
12622           go (the first call to g_mkstemp() would overwrite the
12623           placeholder in the template string, so the second call
12624           to g_mkstemp() after creating the missing directory
12625           would then error out with 'invalid argument').
12626
12627 2006-06-13  Edward Hervey  <edward@fluendo.com>
12628
12629         * gst/gst.c: (init_post):
12630         Free string.
12631
12632 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12633
12634         * gst/glib-compat-private.h:
12635         * gst/glib-compat.c:
12636         * gst/glib-compat.h:
12637         * gst/gstvalue.c: (gst_value_serialize_flags):
12638           remove GLib 2.6 compatibility code
12639
12640 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12641
12642         * gst/parse/Makefile.am:
12643           Fix build with 'make -j N' even more (#340016).
12644
12645 2006-06-12  Wim Taymans  <wim@fluendo.com>
12646
12647         * docs/gst/gstreamer-sections.txt:
12648         Fix docs.
12649
12650 2006-06-12  Wim Taymans  <wim@fluendo.com>
12651
12652         * gst/gstsegment.c: (gst_segment_set_duration),
12653         (gst_segment_set_last_stop), (gst_segment_set_seek),
12654         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12655         (gst_segment_to_running_time), (gst_segment_clip):
12656         Use G_UNLIKELY to help the compiler a bit.
12657
12658 2006-06-12  Wim Taymans  <wim@fluendo.com>
12659
12660         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12661
12662         * gst/gstevent.c: (gst_event_get_type):
12663         * gst/gstmessage.c:
12664         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12665         (gst_pad_push):
12666         constify quark registration strings. Fixes #344115
12667         Avoid unneeded type checking is _pad_push() by internally
12668         calling gst_pad_chain_unchecked().
12669
12670 2006-06-12  Wim Taymans  <wim@fluendo.com>
12671
12672         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12673         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12674         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12675         (gst_buffer_is_span_fast), (gst_buffer_span):
12676         Init _type for consistency.
12677         Use _FLAGS macro to avoid type check.
12678         Avoid unneeded type checks in subbufer code.
12679
12680 2006-06-12  Wim Taymans  <wim@fluendo.com>
12681
12682         * gst/gst.c: (gst_debug_help):
12683         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12684         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12685         (gst_plugin_feature_list_free):
12686         * gst/gstregistry.c: (gst_registry_add_plugin),
12687         (gst_registry_add_feature), (gst_registry_plugin_filter),
12688         (gst_registry_feature_filter), (gst_registry_find_plugin),
12689         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12690         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12691         * gst/gstregistryxml.c: (load_feature),
12692         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12693         * gst/gstminiobject.c: (gst_mini_object_unref),
12694         (gst_mini_object_replace), (gst_value_mini_object_free),
12695         (gst_value_mini_object_copy):
12696         Use _CAST macros to avoid unneeded type checking.
12697         Added some more G_UNLIKELY.
12698
12699 2006-06-12  Wim Taymans  <wim@fluendo.com>
12700
12701         * gst/gstbuffer.h:
12702         Avoid unneeded type checking.
12703         API: GST_BUFFER_IS_DISCONT
12704
12705         * gst/gstminiobject.h:
12706         Avoid type check in flag accessor.
12707
12708         * gst/gstelementfactory.h:
12709         * gst/gstplugin.h:
12710         * gst/gstpluginfeature.h:
12711         Add _CAST macros.
12712         API: GST_ELEMENT_FACTORY_CAST
12713         API: GST_PLUGIN_CAST
12714         API: GST_PLUGIN_FEATURE_CAST
12715
12716 2006-06-12  Wim Taymans  <wim@fluendo.com>
12717
12718         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12719         (gst_object_unref):
12720         Add G_UNLIKELY in type registration.
12721         Avoid type check in _ref/_unref since that is also
12722         done in glib.
12723
12724 2006-06-12  Wim Taymans  <wim@fluendo.com>
12725
12726         * gst/gsterror.c: (gst_g_error_get_type):
12727         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12728         (gst_static_pad_template_get_type):
12729         * gst/gsttaglist.c: (gst_tag_list_get_type):
12730         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12731         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12732         * gst/gsturi.c: (gst_uri_handler_get_type):
12733         * gst/gstvalue.c: (gst_date_get_type):
12734         * gst/gstxml.c: (gst_xml_get_type):
12735         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12736         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12737         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12738         Add G_UNLIKELY in type registration.
12739
12740 2006-06-12  Wim Taymans  <wim@fluendo.com>
12741
12742         * tools/gst-inspect.c: (print_signal_info):
12743         Properly print enum values.
12744
12745 2006-06-12  Wim Taymans  <wim@fluendo.com>
12746
12747         * gst/gstinfo.c: (gst_debug_set_active),
12748         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12749         * gst/gstinfo.h:
12750         Add some G_[UN]LIKELY.
12751         Maintain __gst_debug_min to avoid formatting the arguments of
12752         debug messages that will be dropped anyway to avoid a lot of 
12753         overhead from the debugging system.
12754
12755 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12756
12757         * po/POTFILES.in:
12758         * po/POTFILES.skip:
12759           add missing files containing translatable strings, tell intltool about
12760           one exception
12761
12762 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12763
12764         * tests/check/libs/.cvsignore:
12765         add test-binary to ignore list
12766
12767 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12768
12769         * docs/libs/gstreamer-libs-docs.sgml:
12770         reorder (put dp into a chapter) and indent
12771
12772 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12773
12774         * configure.ac:
12775           back to HEAD
12776
12777 === release 0.10.8 ===
12778
12779 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12780
12781         * configure.ac:
12782           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12783
12784 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12785
12786         * gst/gst.c: (init_post):
12787           move pid declaration to declaration block
12788
12789 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12790
12791         * gst/gst.c: (init_post):
12792           use _exit() instead of exit() in our forked child; this ensures
12793           that none of the registered exit handlers from whatever is using
12794           GStreamer get executed.  This fixes gnome-mixer-applet failing
12795           to load, because ORBit would shut down.
12796           Spotted by: Edward Hervey  <edward@fluendo.com>
12797           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12798           Fixes #344474
12799
12800 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12801
12802         * configure.ac:
12803           back to TRUNK
12804
12805 === release 0.10.7 ===
12806
12807 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12808
12809         * configure.ac:
12810           releasing 0.10.7, "Soepeke, ik zie ou"
12811
12812 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12813
12814         * configure.ac:
12815         * po/af.po:
12816         * po/az.po:
12817         * po/bg.po:
12818         * po/ca.po:
12819         * po/cs.po:
12820         * po/de.po:
12821         * po/en_GB.po:
12822         * po/fr.po:
12823         * po/it.po:
12824         * po/nb.po:
12825         * po/nl.po:
12826         * po/ru.po:
12827         * po/sq.po:
12828         * po/sr.po:
12829         * po/sv.po:
12830         * po/tr.po:
12831         * po/uk.po:
12832         * po/vi.po:
12833         * po/zh_CN.po:
12834         * po/zh_TW.po:
12835         * win32/common/config.h:
12836           0.10.6.2 prerelease
12837
12838 2006-06-07  Wim Taymans  <wim@fluendo.com>
12839
12840         * gst/gstindex.c: (gst_index_gtype_resolver):
12841         * tools/gst-xmlinspect.c: (print_plugin_info):
12842         Fix leak spotted by coverity checker. Fixes #343827
12843         Fix another other leak found by paolo borelli.
12844
12845 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12846
12847         * libs/gst/dataprotocol/dataprotocol.c:
12848         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12849         (gst_dp_version_get_type), (gst_dp_init),
12850         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12851         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12852         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12853         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12854         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12855         (gst_dp_packetizer_free):
12856         * libs/gst/dataprotocol/dataprotocol.h:
12857           API: add a GstDPPacketizer object, and create/free functions
12858           API: add GstDPVersion enum
12859           Add 1.0 event function that uses the string serialization
12860           Serialize more useful buffer flags
12861           Fixes #343988
12862
12863 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12864
12865         * tests/check/Makefile.am:
12866         * tests/check/gst/gstabi.c:
12867         * tests/check/gst/struct_ppc64.h:
12868         * tests/check/libs/libsabi.c:
12869         * tests/check/libs/struct_ppc64.h:
12870           add ppc64 structure sizes
12871
12872 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12873
12874         * tests/check/Makefile.am:
12875         * tests/check/gst/gstabi.c:
12876         * tests/check/gst/struct_x86_64.h:
12877         * tests/check/libs/libsabi.c:
12878         * tests/check/libs/struct_x86_64.h:
12879           generate and add structure size lists for x86_64
12880
12881 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12882
12883         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12884         * libs/gst/check/gstcheck.h:
12885           factor out the method from tests that checks size of structures,
12886           and add code to generate the header containing these sizes
12887         * tests/check/gst/gstabi.c: (GST_START_TEST):
12888         * tests/check/gst/struct_i386.h:
12889         * tests/check/libs/libsabi.c: (GST_START_TEST):
12890         * tests/check/libs/struct_i386.h:
12891           use it
12892
12893 2006-06-06  Michael Smith  <msmith@fluendo.com>
12894
12895         * gst/gstsegment.h:
12896           Don't use c++-style comments, fixes #343929
12897
12898 2006-06-05  Edward Hervey  <edward@fluendo.com>
12899
12900         * gst/gst.c:
12901         plugin_paths is not used if we build without registry support.
12902
12903         * gst/gstsegment.c: (gst_segment_copy): 
12904         _copy() was always returning NULL...
12905
12906 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12907
12908         * libs/gst/dataprotocol/dataprotocol.c:
12909         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12910         (gst_dp_packet_from_event):
12911           factor out CRC code
12912
12913 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12914
12915         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12916           make sure we unset caps
12917
12918 2006-06-02  Michael Smith  <msmith@fluendo.com>
12919
12920         * libs/gst/check/gstcheck.c: (gst_check_init),
12921         (gst_check_chain_func):
12922         * libs/gst/check/gstcheck.h:
12923           Add a cond/mutex to the check support lib, signal this whenever we
12924           add to the buffers list. This will allow tests to not busy-wait on
12925           the buffer-list.
12926
12927 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12928
12929         * libs/gst/dataprotocol/dataprotocol.c:
12930         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12931         (gst_dp_packet_from_event):
12932           factor out some common header init code
12933
12934 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12935
12936         * docs/libs/gstreamer-libs-sections.txt:
12937         * docs/libs/tmpl/gstdataprotocol.sgml:
12938         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12939         * libs/gst/dataprotocol/dataprotocol.h:
12940           API: make gst_dp_crc() public
12941
12942 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12943
12944         * plugins/indexers/gstindexers.c: (plugin_init):
12945         conditionally register fileindexer (fixes #343598)
12946
12947 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12948
12949         * gst/gsttagsetter.h:
12950         Can't cast ifaces to a class
12951
12952         * libs/gst/net/gstnetclientclock.h:
12953         * libs/gst/net/gstnettimeprovider.h:
12954         * plugins/elements/gstfakesink.h:
12955         * plugins/elements/gstfakesrc.h:
12956         * plugins/elements/gstfdsink.h:
12957         * plugins/elements/gstfdsrc.h:
12958         * plugins/elements/gstfilesink.h:
12959         * plugins/elements/gstfilesrc.h:
12960         * plugins/elements/gstidentity.h:
12961         * plugins/elements/gstqueue.h:
12962         * plugins/elements/gsttee.h:
12963         * plugins/indexers/gstfileindex.c:
12964         * plugins/indexers/gstmemindex.c:
12965         * tests/old/examples/plugins/example.h:
12966         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12967
12968 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12969
12970         * libs/gst/dataprotocol/dataprotocol.c:
12971         (gst_dp_header_from_buffer):
12972           make sure we zero the whole ABI-compatible area
12973
12974 2006-06-01  Wim Taymans  <wim@fluendo.com>
12975
12976         Patch by: Alessandro Decina <alessandro at nnva dot org>
12977
12978         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12979         Make sure the EOS flag is cleared from pads after a flush
12980         or stop. Fixes #343538.
12981
12982         * tests/check/libs/collectpads.c: (GST_START_TEST),
12983         (gst_collect_pads_suite):
12984         Added test for collectpads reusage after EOS.
12985
12986 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12987
12988         * gst/gst.c:
12989          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12990         * win32/common/libgstbase.def:
12991          export gst_collect_pads_set_flushing
12992         * win32/common/libgstreamer.def:
12993          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12994          gst_value_fraction_multiply
12995         * win32/vs6/gst_inspect.dsp:
12996          add a link to intl.lib
12997
12998 2006-05-30  Wim Taymans  <wim@fluendo.com>
12999
13000         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13001         (gst_collect_pads_chain):
13002         Handle the case where a pad is removed from the collection
13003         that could cause the other pads to become collectable.
13004
13005 2006-05-30  Wim Taymans  <wim@fluendo.com>
13006
13007         * gst/gstelement.c:
13008         Clarify the use of _release_request_pad() and
13009         _get_request_pad() a bit better.
13010
13011         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
13012         (gst_adapter_take_buffer):
13013         Fix some doc and comment typos.
13014
13015 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13016
13017         * docs/gst/gstreamer-sections.txt:
13018         * docs/libs/gstreamer-libs-sections.txt:
13019           add declared symbols
13020
13021 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
13022
13023         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13024         Add debug that can be enabled using a #define at the top of the file,
13025         for dumping stats about how late/early we were when waking up from
13026         waiting on the clock.
13027
13028 2006-05-30  Wim Taymans  <wim@fluendo.com>
13029
13030         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
13031         When rebuilding the pad list, don't leak the previous list.
13032
13033 2006-05-30  Wim Taymans  <wim@fluendo.com>
13034
13035         Patch by: Lutz Mueller <lutz at topfrose dot de>
13036
13037         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13038         (gst_base_src_get_query_types), (gst_base_src_update_length):
13039         Publish supported query types.
13040         Update last_stop field in get_range mode so the position
13041         query works. Fixes #342321.
13042
13043 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
13044
13045         * docs/gst/gstreamer-sections.txt:
13046         * gst/gsttaglist.c: (_gst_tag_initialize):
13047         * gst/gsttaglist.h:
13048           API: add GST_TAG_PREVIEW_IMAGE (#343341).
13049
13050 2006-05-30  Wim Taymans  <wim@fluendo.com>
13051
13052         Patch by: Alessandro Decina <alessandro at nnva dot org>
13053
13054         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13055         Unlock mutex when removing an unknown pad.
13056         Fixes #343334.
13057
13058         * tests/check/Makefile.am:
13059         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13060         (push_event), (setup), (teardown), (GST_START_TEST),
13061         (gst_collect_pads_suite), (main):
13062         Added collecpads check, disabled for now as check crashes for
13063         some reason.
13064
13065 2006-05-29  Wim Taymans  <wim@fluendo.com>
13066
13067         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13068         Don't leak pads lists.
13069
13070 2006-05-29  Wim Taymans  <wim@fluendo.com>
13071
13072         * docs/libs/gstreamer-libs-sections.txt:
13073         * libs/gst/base/gstcollectpads.c:
13074         (gst_collect_pads_set_flushing_unlocked),
13075         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13076         (gst_collect_pads_stop):
13077         * libs/gst/base/gstcollectpads.h:
13078         API: gst_collect_pads_set_flushing()
13079         Added api to set the pads to flushing, useful for seeking
13080         code in elements using collectpads.
13081         Clear segment when receiving a flush.
13082
13083 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
13084
13085         * gst/gst.c: (add_path_func), (init_post):
13086           Don't scan registry paths passed via --gst-plugin-path immediately
13087           (will crash, because absolutely nothing is set up and no types are
13088           registered etc.); do this later in init_post(). Fixes #343057.
13089
13090 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13091
13092         * gst/gst.c: (init_post):
13093           if we have fork, fork while reading/rebuilding the registry
13094           so the parent doesn't take the hit of having all plugins loaded
13095           in memory.  Fixes #342777.
13096         * configure.ac:
13097           Check if we have fork()
13098         * win32/common/config.h.in:
13099           no fork() on win32
13100
13101 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13102
13103         * plugins/elements/gstelements.c:
13104         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13105         (gst_file_src_init), (gst_file_src_set_property),
13106         (gst_file_src_get_property), (gst_file_src_start):
13107         * plugins/elements/gstfilesrc.h:
13108           API: GstFileSrc::use-mmap
13109
13110         Add a use-mmap property to enable easier testing of all code paths.
13111         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13112         in the absence of gnomevfssrc. (Closes #340501)
13113
13114 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13115
13116         * tools/gst-inspect.c:
13117         Add missing include, removes warning of ngettext not being defined on
13118         some arches.
13119
13120 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13121
13122         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13123         Handle NULL input and output pointers silently as a failed conversion,
13124         rather than g_warnings.
13125
13126 2006-05-25  Wim Taymans  <wim@fluendo.com>
13127
13128         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13129         Initialize variable before using. Fixes #342820.
13130
13131 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
13132
13133         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13134           Fix off-by-one bug that would only allow peeks of N-1 bytes
13135           from the start even if the buffer to typefind on contains
13136           in fact N bytes of data (makes vorbis typefinding from a
13137           vorbis identification header buffer work).
13138
13139         * tests/check/Makefile.am:
13140         * tests/check/libs/.cvsignore:
13141         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13142         (gst_typefindhelper_suite), (main), (foobar_typefind),
13143         (plugin_init):
13144           Add very basic unit test for gst_type_find_helper_for_buffer()
13145           that checks for the problem fixed above.
13146
13147 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13148
13149         * tools/gst-inspect.c: (print_interfaces),
13150         (print_element_properties_info), (print_element_list), (main):
13151           add more translatable strings
13152
13153 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
13154
13155         Patch by: Julien Moutte  <julien at moutte net>
13156
13157         * docs/gst/gstreamer-sections.txt:
13158           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13159           
13160         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13161         (gst_fake_sink_preroll):
13162         * plugins/elements/gstfakesink.h:
13163           API: Add new GstFakeSink::preroll-handoff signal (#337100).
13164
13165 2006-05-23  Wim Taymans  <wim@fluendo.com>
13166
13167         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13168         * gst/gstpad.h:
13169         Added _CUSTOM error and success GstFlowReturn that can be
13170         used be elements internally. 
13171         Added macro to check for SUCCESS flowreturns.
13172         API: GST_FLOW_CUSTOM_SUCCESS
13173         API: GST_FLOW_CUSTOM_ERROR
13174         API: GST_FLOW_IS_SUCCESS
13175
13176         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13177         Added check for GstFlowReturn sanity.
13178
13179 2006-05-23  Wim Taymans  <wim@fluendo.com>
13180
13181         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13182
13183         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13184         (gst_collect_pads_event):
13185         clear/reset segment info in FLUSH_STOP.
13186         Fixes #336929.
13187
13188 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
13189
13190         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13191         (gst_collect_pads_check_collected):
13192         Flush queued buffer on _stop(), fixes playing again (#342454)
13193
13194 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13195
13196         * tests/check/gst/gststructure.c: (GST_START_TEST),
13197         (gst_structure_suite):
13198           add a test for a complete structure
13199
13200 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13201
13202         * docs/faq/developing.xml:
13203         * docs/faq/faq.xml:
13204         * docs/faq/troubleshooting.xml:
13205         * docs/faq/using.xml:
13206           Some minor FAQ updates that won't change the fact that
13207           our FAQ is badly structured, full of information hardly
13208           anyone new to GStreamer needs to know and lacking lots
13209           of information people constantly ask for.
13210           
13211 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
13212
13213         * gst/gstpad.c: (gst_pad_set_caps):
13214           Short-circuit gst_pad_set_caps if setting the existing
13215           caps pointer again, and avoid printing debug and 
13216           reffing/unreffing the caps.
13217
13218         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13219           There's actually no need to set the caps before pushing -
13220           the acceptcaps method will handle it anyway.
13221
13222 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13223
13224         * docs/gst/gstreamer-sections.txt:
13225         * win32/common/libgstreamer.def:
13226         * gst/gstutils.c: (gst_element_seek_simple):
13227         * gst/gstutils.h:
13228           API: add gst_element_seek_simple() (#342238).
13229
13230 2006-05-18  Edward Hervey  <edward@fluendo.com>
13231
13232         * gst/gsttypefind.c: (gst_type_find_get_type):
13233         * gst/gsttypefind.h:
13234         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13235         registered for GstTypeFind pointers. This allows wrapping the structure
13236         in bindings (i.e. gst-python).
13237
13238 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13239
13240         * gst/gsttagsetter.c:
13241           Docs additions and fixes (see #339918).
13242
13243 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
13244
13245         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13246         The caps intersection algorithm can produce multiple copies of the
13247         caps. Until that is fixed, we need to simplify the result to be
13248         sure whether the allowed caps are fixed or not.
13249
13250         * plugins/elements/gstqueue.c: (gst_queue_init),
13251         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13252         (gst_queue_push_one):
13253         Proxied buffer alloc should not set the caps on the source pad.
13254         When pushing buffers, we always accept the caps change that triggers.
13255         This prevents negotiation errors caused by caps changing mid-stream 
13256         and then being refused on our source pad (because upstream is now
13257         refusing those caps).
13258
13259 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13260
13261         * tests/examples/helloworld/helloworld.c: (main):
13262           Must plug audioconvert and audioresample between decoder
13263           and audio sink.
13264
13265 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
13266
13267         * gst/gstregistryxml.c: (read_string), (load_pad_template),
13268         (load_feature), (load_plugin):
13269         Allow empty strings for some of the plugin fields so we don't 
13270         drop valid plugin entries that were written out correctly
13271         (Fixes #341479)
13272
13273 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
13274         
13275         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13276           Use g_remove and g_rename instead of remove and rename that don't 
13277           handle utf8 characters. rename was failing for users who had specific
13278           characters in their name then the registry was built at each 
13279           gstreamer init.
13280         * win32/vs6/gst_inspect.dsp:
13281         * win32/vs6/gst_launch.dsp:
13282         * win32/vs6/libgstbase.dsp:
13283         * win32/vs6/libgstcoreelements.dsp:
13284         * win32/vs6/libgstreamer.dsp:
13285           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
13286           build of libgstreamer and clean unused libraries in projects link 
13287           settings.
13288
13289 2006-05-17  Edward Hervey  <edward@fluendo.com>
13290
13291         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13292         The queue is not responsible for pushing an EOS when receiving a fatal
13293         flow error. It's up to the real element driving the pipeline to do that.
13294
13295 2006-05-16  Edward Hervey  <edward@fluendo.com>
13296
13297         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13298         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13299         buffer returned a fatal error. It should just send an EOS and stop
13300         its task.
13301         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13302         when pushing buffers on the queue and will be able to handle the event.
13303
13304 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
13305
13306         * docs/manual/basics-bins.xml:
13307         * docs/manual/basics-init.xml:
13308           Fix typos and minor errors in sample code (#341856).
13309
13310 2006-05-16  Wim Taymans  <wim@fluendo.com>
13311
13312         * docs/design/part-qos.txt:
13313         Fix indexes in formulas to make more sense.
13314
13315 2006-05-15  Wim Taymans  <wim@fluendo.com>
13316
13317         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13318         Don't report POSITION based on clock time if sync is
13319         disabled in a sink.
13320
13321 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
13322
13323         * gst/gstobject.h:
13324           Add cast to make compiler happy - refcount variable was a gint
13325           in GstObject but is a guint in GObject and g_atomic_int_get()
13326           wants a gint *.
13327
13328 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13329
13330         * gst/parse/Makefile.am:
13331           chain commands using &&, which also makes parallel make work
13332
13333 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
13334
13335         * docs/gst/gstreamer-sections.txt:
13336         * gst/gstevent.c:
13337         * gst/gstevent.h:
13338         * gst/gstmessage.h:
13339           Minor docs fixes.
13340
13341 === release 0.10.6 ===
13342
13343 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
13344
13345         * configure.ac:
13346           releasing 0.10.6, "Take the cannoli"
13347
13348 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13349
13350         * tools/gst-launch.c: (print_tag):
13351           Fix use of uninitialized variable in the hypothetical
13352           case that some broken plugin creates a GST_TAG_IMAGE
13353           tag containing a NULL buffer (#341667).
13354
13355 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13356
13357         * tools/gst-launch.c: (print_tag):
13358           Print something more intelligible for image tags when
13359           using the -t switch (#341556).
13360
13361 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13362
13363         * Makefile.am:
13364           updates for win32
13365         * configure.ac:
13366           define GST_MAJORMINOR so we have it available in win32/common/config.h
13367           Possibly remove it from our Makefile.am files later
13368         * win32/common/config.h:
13369         * win32/common/config.h.in:
13370           added GST_MAJORMINOR
13371         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13372         * win32/common/gstversion.h:
13373           updated
13374
13375 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13376
13377         * win32/MANIFEST:
13378           Update win32 files listing.
13379         * win32/common/gstversion.h:
13380           Add GST_MAJORMINOR definition.
13381         * win32/common/libgstreamer.def:
13382           Add new exported functions.
13383           
13384 2006-05-12  Michael Smith  <msmith@fluendo.com>
13385
13386         * gst/gstplugin.c: (gst_plugin_load_file):
13387           If an so file has no plugin entry point, unload the module.
13388
13389 2006-05-11  Wim Taymans  <wim@fluendo.com>
13390
13391         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13392         (gst_queue_set_property):
13393         Don't forget to signal the _chain or _loop function 
13394         when the queue size or thresholds change since that might
13395         cause them to make progres again.
13396
13397 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13398
13399         * gst/gstclock.c: (gst_clock_class_init):
13400         * gst/gstindex.c: (gst_index_class_init):
13401         * gst/gstobject.c: (gst_object_class_init):
13402         * gst/gstpad.c: (gst_pad_class_init):
13403         * gst/gstpipeline.c: (gst_pipeline_class_init):
13404         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13405         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13406         * libs/gst/base/gstbasetransform.c:
13407         (gst_base_transform_class_init):
13408         * libs/gst/net/gstnetclientclock.c:
13409         (gst_net_client_clock_class_init):
13410         * libs/gst/net/gstnettimeprovider.c:
13411         (gst_net_time_provider_class_init):
13412         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13413         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13414         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13415         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13416         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13417         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13418         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13419         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13420         * plugins/elements/gsttee.c: (gst_tee_class_init):
13421         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13422         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13423           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13424
13425 2006-05-11  Wim Taymans  <wim@fluendo.com>
13426
13427         * gst/gstbuffer.c: (_gst_buffer_initialize):
13428         Register subbufer along with the buffer type so that
13429         it does not accidentally gets registered from N
13430         different streaming threads in a non threadsafe way.
13431
13432 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13433
13434         * gst/gstbuffer.h:
13435         * gst/gstevent.h:
13436         * gst/gstmessage.h:
13437           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13438           gst_event_ref() and gst_message_ref() functions again
13439           (ugly hack, please do fix if there's a better way besides
13440           overrides.txt, which doesn't seem to work).
13441
13442 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13443
13444         * libs/gst/check/gstcheck.h:
13445           add an assert for setting state to avoid lots of repetitive code
13446           in the future
13447
13448 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13449
13450         * gst/gstvalue.c: (gst_value_serialize_flags):
13451           fix a leak if no flags are set
13452         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13453           fix leak in tests
13454
13455 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13456
13457         * docs/manual/basics-pads.xml:
13458           Expand a bit on caps and filtered links and update
13459           examples that were still using the no longer existing
13460           gst_pad_link_filtered() (#338206).
13461
13462 2006-05-10  Wim Taymans  <wim@fluendo.com>
13463
13464         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13465         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13466         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13467         (gst_collect_pads_stop):
13468         * libs/gst/base/gstcollectpads.h:
13469         No need to call _stop in _finalize.
13470         Iterate the main pad list in _finalize.
13471         Added some more debug.
13472         Free lists and data in the right order.
13473         Also free data whem doing _remove_pad when stopped for
13474         backward compatibility protect ::started with PAD_LOCK as
13475         well.
13476
13477 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13478
13479         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13480         (gst_structure_parse_value):
13481           add some comments
13482           rename a method so that it actually says what it does better
13483
13484 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13485
13486         * gst/gstevent.c: (_gst_event_initialize):
13487         * gst/gstformat.c: (_gst_format_initialize):
13488           make sure some essential types used by events are registered
13489           as part of gst_init()
13490         * gst/gstvalue.c: (gst_value_serialize_flags):
13491           if no flags are set, serialize them to a value that represents NONE
13492           so that deserializing them works
13493         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13494           add tests for serialization and deserialization of flags
13495
13496 2006-05-10  Wim Taymans  <wim@fluendo.com>
13497
13498         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13499         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13500         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13501         (gst_collect_pads_event), (gst_collect_pads_chain):
13502         Update docs.
13503         Better debug info.
13504         Catch and return errors from the collect function
13505         Refuse data on eos pads.
13506
13507 2006-05-10  Edward Hervey  <edward@fluendo.com>
13508
13509         * gst/gstinterface.h:
13510         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13511         GInterface type checking.
13512         They were previously using non-defined macros.
13513
13514 2006-05-09  Wim Taymans  <wim@fluendo.com>
13515
13516         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13517         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13518         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13519         (gst_collect_pads_start), (gst_collect_pads_stop),
13520         (gst_collect_pads_peek), (gst_collect_pads_pop),
13521         (gst_collect_pads_available), (gst_collect_pads_read),
13522         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13523         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13524         (gst_collect_pads_chain):
13525         * libs/gst/base/gstcollectpads.h:
13526         Clean up the mess that is collectpads, add comments and
13527         FIXMEs where needed.
13528         Maintain a separate pad list so we can add pads while
13529         collecting the other ones. For this we need a new separate 
13530         lock (see comics).
13531         Fix memory leak in finalize.
13532         Refactor some weird code to set/unset pad flushing flags, mark
13533         with comments.
13534         Don't crash in _available, _read, _flush when we're EOS.
13535
13536         * tests/check/libs/.cvsignore:
13537         Ignore adapter check binary.
13538
13539 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13540
13541         * gst/gstindex.c: (gst_index_resolver_get_type):
13542         * plugins/elements/gstfakesink.c:
13543         (gst_fake_sink_state_error_get_type):
13544         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13545         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13546         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13547           Const-ify GEnumValue arrays.
13548
13549 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13550
13551         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13552           Add test case for flags + gst_buffer_make_metadata_writable().
13553
13554 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13555
13556         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13557           gst_buffer_make_metadata_writable() should maintain the
13558           buffer flags (those that make sense at least) (see #340859).
13559
13560 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13561
13562         * tools/gst-inspect.c:
13563         * tools/gst-launch.c:
13564         * tools/gst-typefind.c:
13565         * tools/gst-xmlinspect.c:
13566         * tools/tools.h:
13567           Fix up includes: need to include stdlib.h in tools.h for exit().
13568
13569 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13570
13571         * gst/gsttaglist.c: (_gst_tag_initialize):
13572         * gst/gsttaglist.h:
13573           API: add GST_TAG_IMAGE tag (#340721).
13574
13575 2006-05-08  Wim Taymans  <wim@fluendo.com>
13576
13577         * gst/gstquery.c:
13578         Added some docs for the segment query.
13579
13580 2006-05-08  Wim Taymans  <wim@fluendo.com>
13581
13582         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13583         (gst_base_src_loop), (gst_base_src_change_state):
13584         Always push non-flushing serialized events in the streaming 
13585         thread.
13586
13587 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13588
13589         * gst/gsterror.c: (_gst_stream_errors_init):
13590           Add a missing error string.
13591
13592 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13593
13594         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13595         Add applied_rate to the debug
13596
13597         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13598         Copy applied_rate into the outgoing NEWSEGMENT event
13599
13600 2006-05-08  Wim Taymans  <wim@fluendo.com>
13601
13602         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13603
13604         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13605         (gst_base_sink_change_state):
13606         call ::unlock before taking the PREROLL_LOCK so we can safely
13607         handle elements that lock in ::render.
13608         Fixes #340174.
13609
13610 2006-05-08  Edward Hervey  <edward@fluendo.com>
13611
13612         * autogen.sh: (CONFIGURE_DEF_OPT): 
13613         Darwin's libtoolize is in fact called glibtoolize.
13614         Adding glibtoolize to the list of accepted names for libtoolize.
13615
13616 2006-05-08  Wim Taymans  <wim@fluendo.com>
13617
13618         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13619         Unify error handling, don't post an error message
13620         when a push() returns EOS but perform our normal EOS
13621         handling code. Fixes #340772.
13622
13623 2006-05-08  Wim Taymans  <wim@fluendo.com>
13624
13625         * docs/design/part-overview.txt:
13626         Make upsteam/downstream concepts more clear.
13627         Give an example of serialized/non-serialized events.
13628
13629         * docs/design/part-events.txt:
13630         * docs/design/part-streams.txt:
13631         Mention applied_rate.
13632
13633         * docs/design/part-trickmodes.txt:
13634         Mention applied rate, flesh out some more use cases.
13635
13636         * gst/gstevent.c: (gst_event_new_new_segment),
13637         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13638         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13639         (gst_event_parse_tag), (gst_event_new_buffer_size),
13640         (gst_event_parse_buffer_size), (gst_event_new_qos),
13641         (gst_event_parse_qos), (gst_event_parse_seek),
13642         (gst_event_new_navigation):
13643         * gst/gstevent.h:
13644         Add applied_rate field to NEWSEGMENT event.
13645         API: gst_event_new_new_segment_full()
13646         API: gst_event_parse_new_segment_full()
13647
13648         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13649         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13650         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13651         * gst/gstsegment.h:
13652         Add applied_rate to GstSegment structure.
13653         Make calculation of stream_time and running_time more correct
13654         wrt rate/applied_rate.
13655         Add some more docs.
13656         API: GstSegment::applied_rate field
13657         API: gst_segment_set_newsegment_full();
13658
13659         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13660         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13661         * libs/gst/base/gstbasetransform.c:
13662         (gst_base_transform_sink_eventfunc),
13663         (gst_base_transform_handle_buffer):
13664         Parse and use applied_rate in the GstSegment field.
13665
13666         * tests/check/gst/gstevent.c: (GST_START_TEST):
13667         Add check for applied_rate field.
13668
13669         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13670         (gstsegments_suite):
13671         Add more checks for various GstSegment operations.
13672
13673 2006-05-08  Wim Taymans  <wim@fluendo.com>
13674
13675         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13676         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13677         (gst_base_sink_get_position), (gst_base_sink_change_state):
13678         Store the sync time of the buffer end position separatly in a
13679         new variable eos_rtime so we can properly sync the EOS event.
13680         Fixes #340697.
13681         Fix the docs for gst_base_sink_set_qos_enabled().
13682         Don't set segment start to invalid value when we receive a 
13683         non TIME newsegment.
13684         get closer to handling position reporting for negative rates 
13685         correctly.
13686
13687 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13688
13689         * gst/gstcaps.c:
13690         Docs about how to print caps for debug purposes.
13691
13692         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13693         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13694
13695 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13696
13697         * gst/gstelement.c:
13698           use full enum names and preprend a '%' in docs strings to make recent 
13699           gtk-doc turn that into a link
13700
13701 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13702
13703         * docs/manual/basics-bins.xml:
13704         * docs/manual/basics-bus.xml:
13705         * docs/manual/basics-pads.xml:
13706           Some typo fixes, some additions, some clarifications. 
13707
13708 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13709
13710         * tools/gst-inspect.c: (main):
13711         * tools/gst-launch.c: (main):
13712         * tools/gst-run.c: (main):
13713         * tools/gst-typefind.c: (main):
13714         * tools/gst-xmlinspect.c: (main):
13715           Use the string passed to g_option_context_new() for
13716           what it's intended for - the program name is already
13717           printed elsewhere.
13718
13719 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13720
13721         * tools/Makefile.am:
13722         * tools/gst-inspect.c: (main):
13723         * tools/gst-launch.c: (main):
13724         * tools/gst-xmlinspect.c: (main):
13725         * tools/tools.h:
13726           Add back --version command line option (#340460).
13727
13728         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13729           Add --version option and use GOption for argument parsing; refactor a
13730           bit; accept directories as arguments and recurse into them; lastly,
13731           print a decent error message when things go wrong.
13732
13733 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13734
13735         * docs/manual/basics-bins.xml:
13736         Don't mention GstThread (#340611)
13737         * docs/manual/basics-elements.xml:
13738         Update link to GObject tutorial (#340607)
13739         
13740 2006-05-05  Wim Taymans  <wim@fluendo.com>
13741
13742         * gst/gstbuffer.h:
13743         * gst/gstminiobject.c:
13744         Add note about refcounting and miniobject/buffer writeability
13745         to docs. Fixes #340604
13746
13747         * gst/gstelementfactory.h:
13748         Added some explanation about @klass.
13749
13750 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13751
13752         * docs/manual/intro-motivation.xml:
13753         * docs/manual/manual.xml:
13754         Avoid CORBA & Bonobo references (#340598)
13755
13756 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13757
13758         * docs/manual/basics-bus.xml:
13759         * docs/manual/basics-pads.xml:
13760         Fix up some inaccuracies and omissions (#340609)
13761         
13762 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13763
13764         * gst/gstghostpad.c:
13765           Small typo in docs (#340625)
13766
13767 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13768
13769         * gst/parse/Makefile.am:
13770           Make 'make -j' proof (see #340698).
13771
13772 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13773
13774         * configure.ac:
13775           Require GLib-2.8 here as well.
13776
13777 2006-05-05  Wim Taymans  <wim@fluendo.com>
13778
13779         * gst/glib-compat.c:
13780         * gst/gst.c: (init_pre):
13781         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13782         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13783         (gst_object_dispatch_properties_changed):
13784         * gst/gstobject.h:
13785         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13786         * gst/gststructure.c: (gst_structure_set_valist):
13787         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13788         Remove pre glib2.8 compatibility, fixes #340508
13789
13790 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13791
13792         * gst/gsttaglist.h:
13793           Mention type of tags in doc blurbs.
13794
13795 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13796
13797         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13798         (gst_pad_configure_src), (gst_pad_push):
13799         Restore acceptcaps checking behaviour now that good plugins have
13800         been released.
13801
13802 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13803
13804         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13805
13806         * gst/gst.c:
13807         * gst/gstbus.c:
13808         * gst/gstclock.c:
13809         * gst/gstevent.c:
13810         * gst/gstformat.c:
13811         * gst/gstmessage.c:
13812         * gst/gstparse.c:
13813         * gst/gstquery.c:
13814         * gst/gstutils.c:
13815         * gst/parse/Makefile.am:
13816         * libs/gst/base/gstadapter.c:
13817         * libs/gst/base/gstbasesrc.c:
13818         * libs/gst/base/gstpushsrc.c:
13819         * libs/gst/base/gsttypefindhelper.c:
13820         * plugins/elements/gstfakesrc.c:
13821         * plugins/elements/gstidentity.c:
13822           Make sure gstprivate.h and/or config.h are
13823           always included first, otherwise some of our
13824           defines (like _FILE_OFFSET_BITS) might be
13825           redefined in the system headers. Fixes build
13826           on opensolaris (#340016).
13827
13828 2006-05-04  Wim Taymans  <wim@fluendo.com>
13829
13830         * docs/libs/gstreamer-libs-sections.txt:
13831         API: addition: gst_adapter_take_buffer()
13832         
13833         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13834         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13835         (gst_adapter_available_fast):
13836         * libs/gst/base/gstadapter.h:
13837         Prepare for optimizing the hell out of this hugely inefficient
13838         piece of code. 
13839         Added gst_adapter_take_buffer() so we can at least start thinking
13840         about subbuffering and merging.
13841         Added some comments.
13842
13843         * tests/check/Makefile.am:
13844         * tests/check/libs/adapter.c: (GST_START_TEST),
13845         (gst_adapter_suite), (main):
13846         Added GstAdapter check.
13847
13848 2006-05-04  Wim Taymans  <wim@fluendo.com>
13849
13850         * docs/design/part-overview.txt:
13851         Fix some typos, add blurb about buffer flags.
13852
13853 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13854
13855         * docs/libs/gstreamer-libs-sections.txt:
13856           make sure GstBaseTransformClass shows up in the docs
13857         * libs/gst/base/gstbasetransform.c:
13858         * libs/gst/base/gstbasetransform.h:
13859           move docs so gtk-doc picks it up now
13860
13861 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13862
13863         * docs/libs/gstreamer-libs-sections.txt:
13864           add missing symbols to docs
13865
13866 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13867
13868         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13869           back out the newsegment handling change, see #340060 for ongoing
13870           discussion
13871
13872 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13873
13874         * tools/gst-run.c: (get_candidates), (main):
13875           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13876           work); fix typo in error message. Fixes #340079.
13877
13878 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13879
13880         * common/Makefile.am:
13881         * docs/Makefile.am:
13882         * docs/faq/Makefile.am:
13883         * docs/gst/Makefile.am:
13884         * docs/libs/Makefile.am:
13885         * docs/manual/Makefile.am:
13886         * docs/plugins/Makefile.am:
13887         * docs/pwg/Makefile.am:
13888         * docs/slides/Makefile.am:
13889         * docs/upload.mak:
13890         * common/upload.mak:
13891           move upload.mak to common
13892
13893 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13894
13895         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13896           add more asserts on refcounts
13897           do more cleanup at end of tests
13898           fix test leaks showing in FC5
13899
13900 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13901
13902         * plugins/elements/gsttypefindelement.c:
13903         (gst_type_find_element_handle_event):
13904         reverted wrong change and reflowed code to avoid others falling into
13905         this trap
13906
13907 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13908
13909         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13910           fix changelog entry about last collectpads change,
13911           add notes about proper fix
13912
13913 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13914
13915         * gst/gst.c:
13916         * gst/gstregistry.c: (gst_registry_scan_path_level),
13917         (gst_registry_scan_path):
13918         * gst/gstregistry.h:
13919           only write out registry if it has changed, fixes #338339
13920
13921 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13922
13923         * gst/gstbin.c:
13924         * gst/gstpipeline.c:
13925         * plugins/elements/gstcapsfilter.c:
13926         * plugins/elements/gstfakesink.c:
13927         * plugins/elements/gstfakesrc.c:
13928         * plugins/elements/gstfdsink.c:
13929         * plugins/elements/gstfdsrc.c:
13930         * plugins/elements/gstfilesink.c:
13931         * plugins/elements/gstfilesrc.c:
13932         * plugins/elements/gstidentity.c:
13933         * plugins/elements/gstqueue.c:
13934         * plugins/elements/gsttee.c:
13935         * plugins/elements/gsttypefindelement.c:
13936         (gst_type_find_element_handle_event):
13937           make GstElementDetails const
13938
13939 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13940
13941         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13942         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13943         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13944           more detailed debug and formatting cleanup,
13945           forward newsegments to src-pad (so that e.g. adder not eats them)
13946
13947 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13948
13949         * gst/gstutils.c: (gst_element_link_pads):
13950           cleanup double code
13951
13952 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13953
13954         * libs/gst/controller/gstcontroller.c:
13955         (gst_controller_sync_values):
13956           some little tuning
13957         * tests/check/libs/controller.c: (GST_START_TEST),
13958         (gst_controller_suite):
13959           a new test for live value handling
13960
13961 2006-04-28  Wim Taymans  <wim@fluendo.com>
13962
13963         * gst/gstutils.c: (push_and_ref):
13964         Added some more docs.
13965         Fix refcount issue whith gst_element_found_tags() helper 
13966         function. Fixes #338335
13967
13968         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13969         Added testsuite for gst_element_found_tags().
13970
13971 2006-04-28  Michael Smith  <msmith@fluendo.com>
13972
13973         * gst/gstvalue.c: (gst_value_serialize_flags):
13974           Avoid NULL dereference when trying to serialize flags containing
13975           invalid values.
13976
13977 2006-04-28  Michael Smith  <msmith@fluendo.com>
13978
13979         * plugins/elements/gsttypefindelement.c:
13980         (gst_type_find_element_handle_event):
13981           If we get EOS before any data is accumulated, don't use
13982           uninitialised local variables.
13983
13984 2006-04-28  Michael Smith  <msmith@fluendo.com>
13985
13986         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13987         (gst_dp_event_from_packet):
13988           Fixes in reading/writing events over GDP (not currently used?) - 
13989           dereferencing NULL events for unknown/invalid event types, memory
13990           leak, and change g_warning to GST_WARNING.
13991
13992 2006-04-28  Wim Taymans  <wim@fluendo.com>
13993
13994         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13995         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13996         (gst_base_sink_get_position), (gst_base_sink_change_state):
13997         When frame dropping is enabled, we should not ignore frames
13998         without a duration.
13999         Update some documentation.
14000
14001 2006-04-28  Wim Taymans  <wim@fluendo.com>
14002
14003         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14004         (gst_base_src_send_event), (gst_base_src_change_state):
14005         Documentation updates.
14006
14007 2006-04-28  Wim Taymans  <wim@fluendo.com>
14008
14009         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
14010         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
14011         handle EAGAIN, EINTR and short writes correctly. Also clean
14012         up some error cases, avoid a deadlock on bad file descriptors and
14013         use GST_DEBUG_OBJECT.
14014         Fixes #339843
14015
14016 2006-04-28  Wim Taymans  <wim@fluendo.com>
14017
14018         * gst/gstvalue.c: (gst_value_serialize_buffer),
14019         (gst_value_deserialize_buffer):
14020         Don't try to serialize a GValue with a NULL buffer. 
14021         Fixes #339821.
14022
14023         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14024         Added check for serialisation of NULL buffers.
14025
14026 2006-04-28  Wim Taymans  <wim@fluendo.com>
14027
14028         * gst/gstminiobject.c: (gst_value_take_mini_object):
14029         Taking a NULL miniobject is valid, fix the case where
14030         we try to unref the NULL miniobject.
14031
14032 2006-04-28  Wim Taymans  <wim@fluendo.com>
14033
14034         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14035
14036         * gst/gstbin.c: (gst_bin_handle_message_func):
14037         Update docs.
14038         Don't leak bin refcount when a state recalc is
14039         in progress and we delay another one #339808.
14040
14041 2006-04-28  Wim Taymans  <wim@fluendo.com>
14042
14043         * docs/design/part-TODO.txt:
14044         Mention QoS as an ongoing work item.
14045
14046         * docs/design/part-buffering.txt:
14047         New doc about buffering that needs to be fleshed out
14048         at some point.
14049
14050         * docs/design/part-qos.txt:
14051         More QoS policy for decoders/demuxers/transforms
14052
14053         * docs/design/part-trickmodes.txt:
14054         Small update.
14055
14056 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14057
14058         * configure.ac:
14059           back to HEAD
14060
14061 === release 0.10.5 ===
14062
14063 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
14064
14065         * configure.ac:
14066           releasing 0.10.5, "Fogo"
14067
14068 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14069
14070         patch by: Wim Taymans
14071
14072         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14073         (gst_pad_configure_src), (gst_pad_push):
14074         * gst/gstpipeline.c: (gst_pipeline_init):
14075           Fix internal data flow errors.  Fixes #338711.
14076
14077 2006-04-12  Wim Taymans  <wim@fluendo.com>
14078
14079         * tests/check/gst/gstelement.c: (GST_START_TEST):
14080         Don't leak the factory.
14081
14082 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14083
14084         * configure.ac:
14085         * win32/common/config.h:
14086           prerelease
14087
14088 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
14089
14090         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14091         (gst_controller_unset_all):
14092           Free allocated GstTimedValues when freeing list nodes.
14093           Should fix leaks 'make check-valgrind' complains about.
14094
14095         * win32/common/libgstcontroller.def:
14096           Add gst_controller_unset_all.
14097
14098 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
14099
14100         * docs/libs/gstreamer-libs-sections.txt:
14101         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14102         (gst_controller_unset_all):
14103         * libs/gst/controller/gstcontroller.h:
14104         API: Added new method gst_controller_unset_all()
14105         fixed gst_controller_unset()
14106         * tests/check/libs/controller.c: (GST_START_TEST),
14107         (gst_controller_suite):
14108         Added two testcases for new and fixed method
14109
14110 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
14111
14112         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14113           MSG_DONTWAIT is not defined on Cygwin, so work
14114           around that (fixes #317048).
14115           
14116 2006-04-11  Wim Taymans  <wim@fluendo.com>
14117
14118         * gst/gstelementfactory.c: (gst_element_register),
14119         (gst_element_factory_create), (gst_element_factory_make):
14120         Some cleanups.
14121         Fixed a FIXME.
14122         Updated docs (Fixes #131079)
14123
14124         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14125         Small cleanups.
14126
14127         * tests/check/gst/gstelement.c: (GST_START_TEST),
14128         (gst_element_suite):
14129         Added testcase for elementfactory class field.
14130
14131 2006-04-10  Wim Taymans  <wim@fluendo.com>
14132
14133         * gst/gstsegment.c:
14134         Added some more docs.
14135
14136         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14137         (gst_base_sink_reset_qos):
14138         Calculate more accurate rate values.
14139
14140 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
14141
14142         * gst/gst_private.h:
14143           add a new #ifdef to use __declspec(dllimport) only for
14144           other modules and not for gstreamer core
14145         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14146           use gst_guint64_to_gdouble for conversion
14147         * win32/common/libgstreamer.def:
14148           add new exported functions
14149         * win32/vs6/gst_inspect.dsp:
14150         * win32/vs6/gst_launch.dsp:
14151         * win32/vs6/libgstbase.dsp:
14152         * win32/vs6/libgstcontroller.dsp:
14153         * win32/vs6/libgstcoreelements.dsp:
14154         * win32/vs6/libgstdataprotocol.dsp:
14155         * win32/vs6/libgstnet.dsp:
14156           update project files
14157
14158 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14159
14160         * gst/gstbuffer.c: (gst_subbuffer_class_init):
14161         * gst/gstclock.c: (gst_clock_class_init):
14162         * gst/gstelement.c: (gst_element_class_init):
14163         * gst/gstindex.c: (gst_index_class_init):
14164         * gst/gstindexfactory.c: (gst_index_factory_class_init):
14165         * gst/gstobject.c: (gst_object_class_init),
14166         (gst_signal_object_class_init):
14167         * gst/gstpad.c: (gst_pad_class_init):
14168         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14169         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14170         * gst/gstregistry.c: (gst_registry_class_init):
14171         * gst/gstsystemclock.c: (gst_system_clock_class_init):
14172         * gst/gsttask.c: (gst_task_class_init):
14173         * gst/gstxml.c: (gst_xml_class_init):
14174         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14175         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14176         (gst_base_src_loop):
14177         * libs/gst/controller/gstcontroller.c:/
14178         (_gst_controller_class_init):
14179         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14180         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14181         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14182         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14183         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14184         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14185
14186 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
14187
14188         * gst/gstpad.c: (gst_pad_link):
14189           Must set peer pads before calling the link function, otherwise
14190           a task started from a link function might get a flow-not-linked
14191           result when trying to push because the other thread where the
14192           linking happens hasn't had a chance to set the peers yet. This
14193           might happen for example when a queue gets linked to a downstream
14194           element, as queue starts a streaming task when its source pad
14195           gets linked. Happens in real life when playing back flac/musepack
14196           files in playbin (#332390).
14197           
14198 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14199
14200         * gst/gstindex.h:
14201         * gst/gstxml.h:
14202         * libs/gst/base/gstadapter.h:
14203         * libs/gst/base/gstbasesink.h:
14204         * libs/gst/base/gstbasesrc.h:
14205         * libs/gst/base/gstbasetransform.h:
14206         * libs/gst/base/gstcollectpads.h:
14207         * libs/gst/base/gstpushsrc.h:
14208         Fix broken GObject macros
14209
14210 2006-04-07  Wim Taymans  <wim@fluendo.com>
14211
14212         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14213         Initialize start and stop times, thanks valgrind.
14214
14215 2006-04-07  Wim Taymans  <wim@fluendo.com>
14216
14217         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14218         Be a bit nicer to badly behaving upstream elements that expect
14219         us to deal with non TIME segments and timestamps (such as fakesrc
14220         in the testsuite).
14221
14222 2006-04-07  Wim Taymans  <wim@fluendo.com>
14223
14224         * gst/gstbus.c:
14225         Small documentation clarification about the signal watch.
14226
14227         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14228         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14229         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14230         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14231         (gst_base_sink_get_position_last),
14232         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14233         Convert and store timestamps in stream time and running time, the
14234         raw timestamps are not useful, also document this better.
14235         Use different window sizes for good and bad QoS observations so
14236         we react to badness a little quicker.
14237         Keep track of the amount of rendered and dropped buffers.
14238         Send QoS timestamps in running time.
14239
14240         * libs/gst/base/gstbasetransform.c:
14241         (gst_base_transform_sink_eventfunc),
14242         (gst_base_transform_handle_buffer):
14243         Compare QoS timestamps against running time.
14244
14245 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14246
14247         * gst/gstpad.c:
14248           Typo fixes in docs.
14249
14250 2006-04-06  Michael Smith  <msmith@fluendo.com>
14251
14252         * gst/gstpad.c: (gst_pad_set_property):
14253           Use g_value_get_object() instead of g_value_dup_gst_object(),
14254           to avoid double-reffing the pad template (which we then sink,
14255           so this worked previously if (and only if) the pad template
14256           was floating.
14257
14258         * gst/gstpadtemplate.c: (gst_pad_template_init),
14259         (gst_pad_template_pad_created):
14260           Never return floating references to pad templates, create
14261           them as initially-sunken.
14262
14263           Document an extra function (and make this stop sinking our
14264           pad template, since that is now guaranteed to do nothing,
14265           since we created it sunken).
14266
14267         * gst/gstghostpad.c:
14268           Fix docs typo.
14269
14270 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14271
14272         * gst/gstinfo.c: (__gst_in_valgrind):
14273           Add some newlines.
14274
14275         * plugins/elements/gsttypefindelement.c:
14276         (gst_type_find_element_chain):
14277           Don't leak buffer caps.
14278
14279 2006-04-06  Michael Smith  <msmith@fluendo.com>
14280
14281         * gst/parse/grammar.y:
14282           Fix a leak in parse-launch for any source-or-sink named element 
14283           references used.
14284
14285         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14286           Unref the pipeline if it exists after we've failed parsing.
14287
14288 2006-04-05  Michael Smith  <msmith@fluendo.com>
14289
14290         * gst/gstpipeline.c: (gst_pipeline_init):
14291           When we create a pipeline bus, initially create it in flushing mode.
14292           Fixes leaks in at least one test, and makes a new pipeline work the
14293           same as one that has gone to READY and then back to NULL.
14294
14295         * gst/gstelement.c:
14296           Typo fix in docs.
14297
14298 2006-04-05  Michael Smith  <msmith@fluendo.com>
14299
14300         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14301           Unref a pad we reffed.
14302         * tests/check/gst/gstutils.c: (GST_START_TEST):
14303           Unref bins
14304
14305 2006-04-05  Michael Smith  <msmith@fluendo.com>
14306
14307         * gst/gstquery.c: (gst_query_set_formats),
14308         (gst_query_set_formatsv):
14309           Fix leaking GValues in queries, as shown by valgrind/testsuite.
14310
14311 2006-04-05  Michael Smith  <msmith@fluendo.com>
14312
14313         * tests/check/generic/sinks.c: (GST_START_TEST):
14314           Fix a variety of memleaks in sinks check, which are only sometimes 
14315           shown by running the tests under valgrind (weird?).
14316
14317 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
14318
14319         * docs/version.entities.in:
14320           Fix the substituted entity name after thomas' changes on the
14321           weekend.
14322
14323 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14324
14325         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14326         VALGRIND_PRINTF
14327         
14328 2006-04-05  Andy Wingo  <wingo@pobox.com>
14329
14330         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14331
14332         * libs/gst/base/gstbasetransform.c
14333         (gst_base_transform_sink_eventfunc): When resetting our segment on
14334         FLUSH_STOP, also update the flag saying we haven't seen a
14335         newsegment.
14336
14337 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14338
14339         Patch by: Paolo Borelli  <pborelli at katamail dot com>
14340
14341         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14342         (gst_plugin_check_license):
14343           minor clean-ups: G_DEFINE_TYPE already takes care of the
14344           parent_class stuff, no need to do it twice. Mark array of
14345           license strings as constant. (#337103)
14346           
14347 2006-04-04  Michael Smith  <msmith@fluendo.com>
14348
14349         * tools/gst-inspect.c: (print_element_list):
14350           Free the right plugin list; fixes a memory leak.
14351
14352 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14353
14354         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14355
14356         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14357           Don't error out on empty buffers (#336945).
14358           
14359 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14360
14361         * docs/libs/gstreamer-libs-sections.txt:
14362         * gst/gsttaglist.c:
14363         * libs/gst/base/gstbasesink.c:
14364         * libs/gst/base/gstbasesink.h:
14365         * libs/gst/base/gstbasesrc.c:
14366         * libs/gst/base/gstbasesrc.h:
14367           Documentation updates. Make BaseSink and BaseSrc docs contain the
14368           class structure so that people can actually see the prototypes for
14369           virtual functions they're supposed to be overriding.
14370
14371 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14372
14373         * plugins/elements/gsttypefindelement.c:
14374         (gst_type_find_element_chain):
14375           More debug info; when skipping typefinding, send cached
14376           events in all cases.
14377
14378 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14379
14380         * configure.ac:
14381           use new AS_VERSION and AS_NANO macros
14382         * gst/gst-i18n-lib.h:
14383         * gst/gst.c:
14384         * gst/gsterror.c:
14385         * gst/gstversion.h.in:
14386         * win32/common/config.h:
14387         * win32/common/config.h.in:
14388           update accordingly
14389
14390 2006-03-31  Michael Smith  <msmith@fluendo.com>
14391
14392         * plugins/elements/gsttypefindelement.c:
14393         (gst_type_find_element_chain):
14394           Do not typefind content if the buffers already have caps.
14395           Neccesary for icydemux (#333657), and the right thing to do anyway.
14396
14397 2006-03-30  Wim Taymans  <wim@fluendo.com>
14398
14399         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14400         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14401         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14402         (gst_base_sink_record_qos_observation),
14403         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14404         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14405         (gst_base_sink_change_state):
14406         More QoS measurements as described in the design doc.
14407         Get rid of ringbuffer with observations, running average is
14408         more simple and equally good.
14409         Calculates valid proportion now.
14410         Added beginning of flood measurement.
14411
14412 2006-03-29  Wim Taymans  <wim@fluendo.com>
14413
14414         * docs/design/part-qos.txt:
14415         * gst/gstclock.c:
14416         Small documentation updates and additions.
14417
14418 2006-03-29  Wim Taymans  <wim@fluendo.com>
14419
14420         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14421         (gst_base_src_send_event), (gst_base_src_loop),
14422         (gst_base_src_change_state):
14423         Perform the EOS logic when we reach the segment stop position.
14424         Fix compilation on gcc4.1
14425
14426 2006-03-29  Wim Taymans  <wim@fluendo.com>
14427
14428         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14429
14430         * plugins/elements/gstqueue.c: (gst_queue_init),
14431         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14432         (gst_queue_set_property):
14433         * plugins/elements/gstqueue.h:
14434         In queue, when EOS is received, if minimum threshold > max_size -
14435         current_level, there is chance that queue blocks forever in conditional
14436         item del wait. This is because the queue is not emptied completely due
14437         to minimum threshold.  Here is another approach. Instead of setting
14438         cur_levels to max in EOS, just zero all minimum threshold levels. This
14439         should make sure that queue gives out all data. When going to READY
14440         (stop) state, just reset the original minimum threshold levels.
14441         Fixes #336336.
14442
14443 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14444
14445         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14446         (gst_type_find_element_handle_event),
14447         (gst_type_find_element_send_cached_events),
14448         (gst_type_find_element_change_state):
14449         * plugins/elements/gsttypefindelement.h:
14450           When typefinding is done in push mode, we should cache
14451           events we receive during typefinding instead of just
14452           dropping them (e.g. newsegment, custom events from
14453           dvdreadsrc etc.) and then send them out once we've
14454           determined the type of the stream (and decodebin
14455           has had a chance to plug in a decoder/demuxer).
14456           
14457 2006-03-27  Wim Taymans  <wim@fluendo.com>
14458
14459         * docs/design/part-qos.txt:
14460         First QoS ideas.
14461
14462 2006-03-27  Wim Taymans  <wim@fluendo.com>
14463
14464         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14465
14466         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14467         (gst_base_src_send_event), (gst_base_src_change_state):
14468         Handle element seek correctly when we are streaming.
14469         Fixes #326998.
14470
14471 2006-03-24  Michael Smith  <msmith@fluendo.com>
14472
14473         * docs/faq/gst-uninstalled:
14474           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14475           allow you to correctly run intalled applications built against old 
14476           core, using plugins that require updated core (e.g. running
14477           installed totem against a full uninstalled gstreamer stack)
14478
14479 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14480
14481         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14482         more debug details
14483
14484 2006-03-24  Wim Taymans  <wim@fluendo.com>
14485
14486         * docs/gst/gstreamer-sections.txt:
14487         Rearrange the order of the methods so that related methods
14488         are grouped together in sections.
14489
14490 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14491
14492         * gst/gstelement.c:
14493           Little clarification in the docs
14494
14495 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14496
14497         * docs/README:
14498         formatting fix
14499         * plugins/elements/gstidentity.c:
14500         * plugins/elements/gstqueue.c:
14501         * plugins/elements/gsttee.c:
14502         * plugins/elements/gsttypefindelement.c:
14503         GST_ELEMENT_DETAILS formatting
14504
14505 2006-03-24  Wim Taymans  <wim@fluendo.com>
14506
14507         * libs/gst/base/gstbasesink.h:
14508         Only add fields, not insert or we break ABI.
14509
14510 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14511
14512         * win32/common/libgstbase.def:
14513         * win32/common/libgstreamer.def:
14514           Update, add recently added functions.
14515
14516 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14517
14518         * docs/gst/gstreamer-sections.txt:
14519         * gst/gstutils.c: (gst_pad_query_peer_position),
14520         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14521         * gst/gstutils.h:
14522           API: add some new utility functions:
14523            - gst_pad_query_peer_position()
14524            - gst_pad_query_peer_duration()
14525            - gst_pad_query_peer_convert()
14526           
14527 2006-03-23  Wim Taymans  <wim@fluendo.com>
14528
14529         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14530         (gst_base_sink_init), (gst_base_sink_finalize),
14531         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14532         (gst_base_sink_set_property), (gst_base_sink_get_property),
14533         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14534         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14535         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14536         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14537         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14538         (gst_base_sink_preroll_object), (gst_base_sink_event),
14539         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14540         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14541         (gst_base_sink_query), (gst_base_sink_change_state):
14542         Decouple max-lateness and the fact that QoS messages are generated
14543         with a new property (qos).
14544         added API: GstBaseSink::async_play()
14545         Add vmethod so subclasses can be notified of ASYNC playing
14546         state changes.
14547         Collect timestamp start and stop to report better current
14548         position in EOS/PLAYING/PAUSED/READY/NULL.
14549         Refactor QoS/frame dropping and other measurements.
14550         API: GstBaseSrc::qos
14551         Fixes #326311
14552
14553         * libs/gst/base/gstbasesink.h:
14554         Added Private struct.
14555         API: gst_base_sink_set_qos_enabled()
14556         API: gst_base_sink_is_qos_enabled()
14557
14558 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14559
14560         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14561           If compiling against GLib-2.8 or newer, try to read the
14562           registry file using GMappedFile first before falling back
14563           to fopen() + fread() (#332151).
14564
14565 2006-03-22  Wim Taymans  <wim@fluendo.com>
14566
14567         * gst/gstinfo.c: (gst_debug_set_active),
14568         (gst_debug_category_set_threshold):
14569         Disable debugging unless explicitly activated.
14570         Fixes #335480.
14571
14572 2006-03-22  Wim Taymans  <wim@fluendo.com>
14573
14574         * gst/gstelement.c: (gst_element_set_locked_state),
14575         (gst_element_dispose):
14576         Cleanup the error case.
14577
14578         * gst/gstobject.c: (gst_object_dispose):
14579         print a critical when some object was disposed with
14580         a parent, also revive the object since it might
14581         crash the parent.
14582
14583 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14584
14585         * tools/gst-launch.1.in:
14586           Fix another typo.
14587
14588 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14589
14590         * configure.ac:
14591         * tests/check/Makefile.am:
14592           disable some tests when we don't have a registry
14593         * tests/check/gst/gstutils.c: (gst_utils_suite):
14594           don't build the part that needs parsing
14595
14596 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14597
14598         * gst/Makefile.am
14599         * tests/examples/Makefile.am:
14600           fix --disable-parse build
14601
14602 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14603
14604         * tools/gst-feedback.1.in:
14605           Fix typo: s/feeback/feedback/ (#133494).
14606
14607 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14608
14609         * tools/Makefile.am:
14610         * tools/gst-launch.1.in:
14611           Add FILES section and correct entry about GST_REGISTRY_PATH
14612           environment variable (#133495; #133494).
14613
14614 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14615
14616         * tools/Makefile.am:
14617         * tools/gst-md5sum.1.in:
14618         * tools/gst-md5sum.c:
14619           Remove gst-md5sum and man page (the md5sink element
14620           required was removed ages ago)
14621
14622 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14623
14624         * gst/gststructure.c: (gst_structure_id_set_value):
14625           Make sure that string fields in structures/taglists
14626           contain valid UTF-8 - we don't want to pass rubbish to
14627           applications because of a buggy plugin (cp. #334167).
14628
14629 2006-03-21  Edward Hervey  <edward@fluendo.com>
14630
14631         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14632         (gst_bin_handle_message_func):
14633         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14634         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14635         (gst_element_set_bus_func):
14636         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14637         * gst/gstminiobject.c: (gst_value_set_mini_object),
14638         (gst_value_take_mini_object):
14639         * gst/gstpad.c: (gst_pad_set_pad_template):
14640         * gst/gstpipeline.c: (gst_pipeline_dispose),
14641         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14642         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14643         (gst_collect_pads_chain):
14644         * libs/gst/net/gstnettimeprovider.c:
14645         (gst_net_time_provider_set_property):
14646         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14647         It's in fact all issues with gst_*object_replace().
14648
14649 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14650
14651         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14652         
14653         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14654         * pkgconfig/gstreamer-check.pc.in:
14655           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14656
14657 2006-03-21  Edward Hervey  <edward@fluendo.com>
14658
14659         * gst/gstbuffer.h:
14660         * gst/gstevent.h:
14661         * gst/gstmessage.h:
14662         gst_[buffer|event|message]_ref() macros are replaced by a static
14663         inline functions because gcc-4.1 will about if the return value
14664         isn't used.
14665         * tests/check/gst/gstevent.c: (event_probe):
14666         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14667
14668 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14669
14670         * gst/gstutils.h:
14671         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14672         the type' case. (Closes: #335195 for now). In the future, when we
14673         depend on GLib 2.10, we could also intern the type name using
14674         g_intern_static_string()
14675
14676 2006-03-20  Wim Taymans  <wim@fluendo.com>
14677
14678         * gst/gstbin.c: (gst_bin_handle_message_func),
14679         (bin_query_max_init), (bin_query_position_fold),
14680         (bin_query_position_done), (gst_bin_query):
14681         Position query should also take max of all streams.
14682
14683 2006-03-20  Wim Taymans  <wim@fluendo.com>
14684
14685         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14686         (gst_fake_src_finalize):
14687         Fix leaks in fakesrc.
14688
14689         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14690         Fix leaks in the testcase.
14691
14692 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14693
14694         * gst/gst_private.h:
14695           add win32 specific import decoration(__declspec(dllimport)) 
14696           for all extern GstDebugCategory * variables
14697         * win32/common/libgstbase.def:
14698         * win32/common/libgstcontroller.def:
14699         * win32/common/libgstreamer.def:
14700           Add some exports, remove empty lines
14701         * win32/common/libgstdataprotocol.def:
14702         * win32/common/libgstdataprotocol.dsp:
14703         * win32/common/libgstnet.def:
14704         * win32/common/libgstnet.dsp:
14705           new project files and exportation files added
14706         
14707 2006-03-19  Wim Taymans  <wim@fluendo.com>
14708
14709         * tests/check/libs/basesrc.c: (eos_event_counter):
14710         Use proper return value for probe.
14711
14712 2006-03-17  Wim Taymans  <wim@fluendo.com>
14713
14714         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14715         (gst_pad_push):
14716         Don't leak buffers, caps and pads on negotiation errors.
14717
14718 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14719
14720         * docs/faq/cvs.xml:
14721         * docs/faq/dependencies.xml:
14722         * docs/faq/developing.xml:
14723         * docs/faq/faq.xml:
14724         * docs/faq/general.xml:
14725         * docs/faq/getting.xml:
14726         * docs/faq/legal.xml:
14727         * docs/faq/troubleshooting.xml:
14728         * docs/faq/using.xml:
14729         Faq review and update.
14730
14731 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14732
14733         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14734         (gst_pad_push):
14735         Don't pound the cpu to pieces by checking get_caps when accept_caps
14736         is called with the same caps as the pad already has.
14737         Use GST_DEBUG_OBJECT when outputting caps change information.
14738
14739 2006-03-15  Wim Taymans  <wim@fluendo.com>
14740
14741         * gst/gstclock.c: (gst_clock_class_init):
14742         Fix docs.
14743
14744 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14745
14746         * gst/gstbuffer.h:
14747         Documentation fix.
14748
14749         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14750         (gst_pad_accept_caps), (gst_pad_configure_sink),
14751         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14752         Make the default acceptcaps behaviour be to check the requested 
14753         caps against the gst_pad_get_caps output. 
14754
14755         Ensure that gst_pad_accept_caps is used to check caps when a pad
14756         doesn't have a setcaps function, so that pads automatically refuse 
14757         caps that they don't allow in their pad template. (Fixes #332986)
14758
14759         When a buffer with attached caps is pushed, ensure that the source 
14760         pad receives those caps even if the element didn't call
14761         gst_pad_set_caps first.
14762
14763 2006-03-15  Wim Taymans  <wim@fluendo.com>
14764
14765         * libs/gst/base/gstadapter.c:
14766         Add some docs.
14767
14768 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14769
14770         * win32/common/libgstbase.def:
14771         * win32/common/libgstcontroller.def:
14772         * win32/common/libgstreamer.def:
14773           Add a whole bunch of missing functions (#334434).
14774
14775 2006-03-14  Wim Taymans  <wim@fluendo.com>
14776
14777         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14778         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14779         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14780         Better debug info when we receive a segment event.
14781         Reorganize a bit so we can pass the get_times() results around.
14782         Use the segment format when calculating the running time.
14783         Don't do QoS is sync is disabled or we have no clock or the
14784         element does not want us to sync to the clock.
14785         Don't drop buffers if QoS is disabled for now.
14786
14787 2006-03-14  Wim Taymans  <wim@fluendo.com>
14788
14789         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14790         Marked the stats property as unimplemented so people don't get
14791         wild ideas.
14792         Add debug message when regression goes wrong.
14793         Added some more docs.
14794
14795 2006-03-14  Wim Taymans  <wim@fluendo.com>
14796
14797         * gst/gstsegment.c: (gst_segment_to_stream_time):
14798         Return correct return type in case of errors.
14799
14800 2006-03-14  Wim Taymans  <wim@fluendo.com>
14801
14802         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14803           Don't segfault on invalid formats.
14804
14805 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14806
14807         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14808           Can't use gst_segment_to_running_time() when the segment
14809           is not in GST_TIME_FORMAT (like with filesink, for example).
14810           Stops flac encoding pipelines from spewing critical warnings
14811           at EOS (#331248).
14812           
14813 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14814
14815         * gst/gstpipeline.c: (gst_pipeline_class_init):
14816           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14817
14818         * plugins/elements/gsttypefindelement.c:
14819         (gst_type_find_element_handle_event):
14820           Don't try to typefind empty streams.
14821
14822 2006-03-14  Wim Taymans  <wim@fluendo.com>
14823
14824         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14825         (gst_base_sink_do_qos):
14826         Separate QoS calculation.
14827         Only drop buffers when lateness is bigger than the 
14828         duration of the buffer.
14829
14830 2006-03-13  Wim Taymans  <wim@fluendo.com>
14831
14832         * gst/gstpipeline.c: (gst_pipeline_set_property),
14833         (gst_pipeline_get_property), (do_pipeline_seek),
14834         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14835         (gst_pipeline_get_delay):
14836         Don't deadlock when reading properties.
14837
14838 2006-03-13  Wim Taymans  <wim@fluendo.com>
14839
14840         * libs/gst/base/gstbasetransform.c:
14841         (gst_base_transform_class_init), (gst_base_transform_init),
14842         (gst_base_transform_sink_event),
14843         (gst_base_transform_sink_eventfunc),
14844         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14845         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14846         (gst_base_transform_set_property),
14847         (gst_base_transform_get_property),
14848         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14849         (gst_base_transform_set_qos_enabled),
14850         (gst_base_transform_is_qos_enabled):
14851         * libs/gst/base/gstbasetransform.h:
14852         Make basetransform virtual method for src events too.
14853         Handle QOS in basetransform.
14854         API: gst_base_transform_update_qos()
14855         API: gst_base_transform_set_qos_enabled()
14856         API: gst_base_transform_is_qos_enabled()
14857
14858 2006-03-13  Wim Taymans  <wim@fluendo.com>
14859
14860         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14861         (gst_base_sink_do_sync):
14862         Small cleanups.
14863         Use QOS debug category.
14864
14865 2006-03-13  Wim Taymans  <wim@fluendo.com>
14866
14867         * plugins/elements/gstqueue.c:
14868         Very small doc update.
14869
14870 2006-03-13  Wim Taymans  <wim@fluendo.com>
14871
14872         * gst/gst_private.h:
14873         * gst/gstinfo.c: (_gst_debug_init):
14874         Added QOS debug category
14875
14876 2006-03-13  Wim Taymans  <wim@fluendo.com>
14877
14878         * docs/gst/gstreamer-sections.txt:
14879         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14880         * gst/gstbin.h:
14881         * gst/gstbus.c: (gst_bus_class_init):
14882         * gst/gstbus.h:
14883         * gst/gstclock.c:
14884         * gst/gstelement.c: (gst_element_set_locked_state):
14885         * gst/gstsegment.c:
14886         Documentation updates.
14887
14888         * gst/gstpipeline.c: (gst_pipeline_get_type),
14889         (gst_pipeline_class_init), (gst_pipeline_init),
14890         (gst_pipeline_dispose), (gst_pipeline_set_property),
14891         (gst_pipeline_get_property), (do_pipeline_seek),
14892         (gst_pipeline_send_event), (gst_pipeline_change_state),
14893         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14894         (gst_pipeline_get_delay):
14895         * gst/gstpipeline.h:
14896         Added methods for setting the delay.
14897         API: gst_pipeline_set_delay()
14898         API: gst_pipeline_get_delay()
14899         Add pipeline debug category
14900         Various cleanups.
14901         Updated docs.
14902         Don't reset stream time when seek failed.
14903
14904 2006-03-13  Wim Taymans  <wim@fluendo.com>
14905
14906         * docs/design/draft-klass.txt:
14907         * docs/design/part-clocks.txt:
14908         * docs/design/part-events.txt:
14909         * docs/design/part-gstbin.txt:
14910         * docs/design/part-gstpipeline.txt:
14911         * docs/design/part-messages.txt:
14912         * docs/design/part-negotiation.txt:
14913         * docs/design/part-overview.txt:
14914         * docs/design/part-preroll.txt:
14915         * docs/design/part-seeking.txt:
14916         * docs/design/part-states.txt:
14917         * docs/design/part-streams.txt:
14918         Documentation updates.
14919
14920 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14921
14922         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14923         us to leak strings...
14924
14925 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14926
14927         * libs/gst/net/gstnettimeprovider.c:
14928           fix docs
14929         * win32/common/config.h:
14930           update
14931
14932 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14933
14934         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14935
14936         * configure.ac:
14937           Don't check for libgnomeui (leftover from old examples
14938           that aren't built or disted any longer) (#334303).
14939           
14940 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14941
14942         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14943         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14944           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14945           there's no space left on the device.
14946
14947 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14948
14949         * gst/gstclock.h:
14950           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14951           to cast the input to GstClockTime before comparing with
14952           another GstClockTime value.
14953
14954 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14955
14956         * configure.ac:
14957           back to trunk
14958
14959 === release 0.10.4 ===
14960
14961 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14962
14963         * configure.ac:
14964           releasing 0.10.4, "Light"
14965
14966 2006-03-10  Michael Smith  <msmith@fluendo.com>
14967
14968         * libs/gst/dataprotocol/dataprotocol.c:
14969           Fix docs for dataprocotol to not get the return types completely
14970           wrong for a few functions.
14971
14972 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14973
14974         * docs/gst/gstreamer-sections.txt:
14975         * gst/gstpipeline.c: (gst_pipeline_class_init),
14976         (gst_pipeline_init), (gst_pipeline_set_property),
14977         (gst_pipeline_get_property), (gst_pipeline_change_state),
14978         (gst_pipeline_set_auto_flush_bus),
14979         (gst_pipeline_get_auto_flush_bus):
14980         * gst/gstpipeline.h:
14981           Add new API: gst_pipeline_set_auto_flush_bus() and
14982           gst_pipeline_get_auto_flush_bus() to disable automatic
14983           flushing of the pipeline's GstBus when going from READY
14984           to NULL state (#332045).
14985
14986 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14987
14988         * docs/gst/gstreamer-sections.txt:
14989         * gst/gsturi.c: (gst_uri_has_protocol):
14990         * gst/gsturi.h:
14991            Add new API: gst_uri_has_protocol() (#333779).
14992
14993 2006-03-09  Wim Taymans  <wim@fluendo.com>
14994
14995         * gst/gstclock.c: (gst_clock_entry_new),
14996         (gst_clock_id_compare_func), (gst_clock_id_wait),
14997         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14998         (gst_clock_init), (gst_clock_get_internal_time),
14999         (gst_clock_set_master), (do_linear_regression),
15000         (gst_clock_add_observation), (gst_clock_set_property):
15001         * gst/gstclock.h:
15002         Review docs.
15003         Small cleanups.
15004         Fix a possible segfault when the window-size is made smaller.
15005         Calculate jitter before performing the clock wait. Ideally
15006         the clock implementation should calculate jitter but we need
15007         API breakage for that.
15008
15009         * gst/gstsystemclock.c: (gst_system_clock_init):
15010         Docs review.
15011         
15012         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15013         Remove leftover else
15014
15015         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
15016         (gst_systemclock_suite):
15017         Added check to test GST_CLOCK_DIFF.
15018
15019 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15020
15021         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
15022         (gst_type_find_helper_get_range):
15023           If we are provided with the size, we should implement
15024           GstTypeFind::get_length, so that typefind functions who
15025           want to can actually peek at the middle of a file.
15026
15027 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
15028
15029         * docs/manual/advanced-dataaccess.xml:
15030           Add some very very basic error checking.
15031
15032         * docs/pwg/appendix-checklist.xml:
15033           Some updates to the list of things to check when writing an element.
15034
15035 2006-03-08  Wim Taymans  <wim@fluendo.com>
15036
15037         * docs/design/part-element-transform.txt:
15038         Added some docs about the design of tranform elements.
15039
15040         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15041         (gst_base_src_loop), (gst_base_src_change_state):
15042         Mark buffers with the DISCONT flag.
15043
15044 2006-03-08  Michael Smith  <msmith@fluendo.com>
15045
15046         * gst/gstregistry.h:
15047         * gst/gstregistryxml.c: (gst_registry_save),
15048         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
15049         (gst_registry_xml_save_pad_template),
15050         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15051         (gst_registry_xml_write_cache):
15052           Rewrite registry-saving to avoid race conditions and check for
15053           failed writes.
15054
15055 2006-03-08  Wim Taymans  <wim@fluendo.com>
15056
15057         * libs/gst/base/gstbasetransform.c:
15058         (gst_base_transform_transform_caps),
15059         (gst_base_transform_transform_size),
15060         (gst_base_transform_prepare_output_buffer),
15061         (gst_base_transform_get_unit_size),
15062         (gst_base_transform_buffer_alloc),
15063         (gst_base_transform_handle_buffer),
15064         (gst_base_transform_change_state):
15065         Cleanups, separate normal flow from errors, add sensible
15066         DEBUG lines.
15067         Don't try to renegotiate when allocating an output buffer.
15068         Also copy DISCONT buffer flag when copying a buffer.
15069         Reset the transform after we finish streaming, not during.
15070
15071 2006-03-08  Wim Taymans  <wim@fluendo.com>
15072
15073         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15074         Use last buffer timestamp in qos message.
15075
15076 2006-03-07  Wim Taymans  <wim@fluendo.com>
15077
15078         Patch by: Christophe Fergeau
15079
15080         * docs/pwg/advanced-tagging.xml:
15081         * docs/pwg/building-pads.xml:
15082           fixes #333416
15083
15084 2006-03-07  Wim Taymans  <wim@fluendo.com>
15085
15086         * docs/libs/gstreamer-libs-sections.txt:
15087         Added basesink new methods.
15088
15089         * gst/gstevent.c:
15090         * gst/gstevent.h:
15091         Docs updates. Flesh out the QoS docs.
15092
15093         * libs/gst/base/gstadapter.c:
15094         Small doc clarification about ownership and flushing.
15095
15096         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15097         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15098         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15099         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15100         * libs/gst/base/gstbasesink.h:
15101         API additions: 
15102         Added new methods to allow subclass to control max-lateness 
15103         and sync.
15104         Generate very basic QoS events based on last sync observation.
15105         Updated docs, fix typo, added some QoS blurb.
15106
15107         * libs/gst/base/gstbasesrc.c:
15108         Remove obsolete _get_state() calls from docs.
15109
15110 2006-03-07  Wim Taymans  <wim@fluendo.com>
15111
15112         * docs/libs/gstreamer-libs-sections.txt:
15113         * libs/gst/base/gstbasetransform.h:
15114         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15115         Fix docs for GstBaseSrc.
15116
15117 2006-03-07  Wim Taymans  <wim@fluendo.com>
15118
15119         * docs/gst/gstreamer-sections.txt:
15120         * gst/gstbuffer.h:
15121         * gst/gstvalue.c:
15122         * libs/gst/base/gstbasetransform.h:
15123         Small documentation fixes.
15124
15125 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15126
15127         * gst/gstvalue.c:
15128           Document thread-unsafety of gst_value_register_foo_func()
15129           when used at the same time as gst_value_foo() (#322628).
15130
15131 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15132
15133         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15134         (gst_push_src_check_get_range):
15135           Push sources don't support pull mode by default.
15136
15137 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15138
15139         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15140         (gst_base_src_init), (gst_base_src_pad_check_get_range),
15141         (gst_base_src_default_check_get_range):
15142         * libs/gst/base/gstbasesrc.h:
15143           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15144           provide default implementation, and rename
15145           gst_base_src_check_get_range() to
15146           gst_base_src_pad_check_get_range() for clarity.
15147
15148 2006-03-06  Wim Taymans  <wim@fluendo.com>
15149
15150         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15151         Make property overridable.
15152
15153 2006-03-06  Wim Taymans  <wim@fluendo.com>
15154
15155         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15156         (gst_base_sink_init), (gst_base_sink_set_property),
15157         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15158         * libs/gst/base/gstbasesink.h:
15159         API addition: Make max-lateness a property.
15160
15161 2006-03-06  Wim Taymans  <wim@fluendo.com>
15162
15163         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15164         (gst_base_sink_do_sync), (gst_base_sink_render_object):
15165         Don't ever draw a frame that is >10ms late.
15166
15167 2006-03-06  Michael Smith  <msmith@fluendo.com>
15168
15169         * gst/gstmessage.c: (_gst_message_copy):
15170           When copying a message, set the parent_refcount of the enclosed
15171           structure to point at the copy, not the original message.
15172
15173 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15174
15175         Patch by: Christophe Fergeau
15176
15177         * gst/gstutils.h:
15178           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15179           usable in c++ code (#333417)
15180
15181 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15182
15183         * gst/gstclock.h:
15184           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15185
15186 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
15187
15188         * libs/gst/base/gstbasetransform.c:
15189         (gst_base_transform_transform_caps):
15190           Make sure caps are writable before passing them to
15191           gst_caps_append().
15192
15193 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15194
15195         * gst/gsterror.h:
15196           Fix some minor docs errors.
15197
15198 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15199
15200           Patch by: Ross Burton <ross at burtonini dot com>
15201
15202         * gst/gsterror.c: (_gst_resource_errors_init):
15203         * gst/gsterror.h:
15204           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15205
15206 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15207
15208         * gst/gst.c:
15209         Add a check and output a g_warning when GStreamer is built
15210         against GLib 2.6 but running against 2.8 or higher, and vice 
15211         versa. (Closes: #323542)
15212
15213 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15214
15215         * gst/parse/parse.l:
15216           Commit patch for parse_launch syntax from #331255. Removes 
15217           support for quoted strings and mimetypes when writing filtered 
15218           caps. See the bug report for more details - I'm pretty sure this
15219           obscure feature is not in use by _anyone_ anywhere.
15220
15221           With this simple change, the size of the gstreamer.so here 
15222           drops from 2193KB to 1565KB.
15223
15224 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15225
15226         * plugins/elements/gsttypefindelement.h:
15227         * plugins/elements/gsttypefindelement.c:
15228         (gst_type_find_element_src_event), (start_typefinding),
15229         (stop_typefinding), (gst_type_find_element_handle_event),
15230         (gst_type_find_element_chain),
15231         (gst_type_find_element_chain_do_typefinding):
15232           Use gst_type_find_helper_for_buffer() for chain-based
15233           typefinding.
15234
15235 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15236
15237         * plugins/elements/gsttypefindelement.c:
15238         (gst_type_find_element_class_init),
15239         (gst_type_find_element_set_property),
15240         (gst_type_find_element_get_property):
15241           Deprecate "maximum" property (not only was it only taken into
15242           account for typefinding in push-mode anyway, it also was never
15243           actually possible to set it in the first place because the
15244           property was registered with the numeric property ID for the
15245           "minimum" property). Register "maximum" property correctly,
15246           for the sake of future copy'n'pasters. Remove some cruft
15247           from property get/set functions.
15248
15249 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15250
15251         * plugins/elements/gsttypefindelement.c:
15252         (gst_type_find_element_activate):
15253           Use gst_type_find_helper_get_range() here, so we
15254           can honour the "minimum" property and also emit
15255           the signal with the correct probability of the found caps.
15256
15257 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
15258
15259         * docs/libs/gstreamer-libs-sections.txt:
15260         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15261         (helper_find_suggest), (gst_type_find_helper_get_range),
15262         (gst_type_find_helper):
15263         * libs/gst/base/gsttypefindhelper.h:
15264           New API: gst_type_find_helper_get_range() (#333042).
15265
15266 2006-03-02  Michael Smith  <msmith@fluendo.com>
15267
15268         * gst/gstregistryxml.c: (load_feature):
15269           Asserting on a failure to read part of the registry is Not Cool.
15270           Just log a warning and return NULL (which is already handled)
15271
15272 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
15273
15274         * win32/common/libgstbase.def:
15275           added export of gst_type_find_helper_for_buffer
15276         * win32/common/libgstbase.def:
15277           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15278           gst_ghost_pad_get_target
15279
15280 2006-02-28  Wim Taymans  <wim@fluendo.com>
15281
15282         * docs/design/draft-klass.txt:
15283         We use Filter now.
15284         Added Connector to mark elements that are only used to
15285         allow pipeline connections.
15286         Moved Debug to extra feature since most of them are 
15287         functionally something else.
15288
15289 2006-02-28  Wim Taymans  <wim@fluendo.com>
15290
15291         * docs/design/draft-klass.txt:
15292         Some updates and clarifications.
15293
15294 2006-02-28  Wim Taymans  <wim@fluendo.com>
15295
15296         * docs/design/draft-klass.txt:
15297         Proposal for klass field values.
15298
15299         * docs/design/part-streams.txt:
15300         Start of a doc describing stream anatomy.
15301
15302 2006-02-28  Wim Taymans  <wim@fluendo.com>
15303
15304         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15305         Help the compiler a bit with type registration.
15306         Use existing forward cod path instead of duplicating it when 
15307         handling a message.
15308         
15309         * gst/gstbus.c: (gst_bus_get_type):
15310         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15311         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15312         * gst/gstclock.c: (gst_clock_get_type):
15313         * gst/gstelement.c: (gst_element_get_type),
15314         * gst/gstelementfactory.c: (gst_element_factory_get_type):
15315         * gst/gstindexfactory.c: (gst_index_factory_get_type):
15316         * gst/gstminiobject.c: (gst_mini_object_get_type):
15317         * gst/gstpad.c: (gst_pad_get_type):
15318         * gst/gstsegment.c: (gst_segment_get_type):
15319         * gst/gststructure.c: (gst_structure_get_type):
15320         * gst/gstsystemclock.c: (gst_system_clock_get_type):
15321         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15322         * gst/gstvalue.c:
15323         Help compiler with type registration.
15324
15325         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15326         Small doc update.
15327
15328 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15329
15330         * plugins/elements/gsttypefindelement.c:
15331         (gst_type_find_element_handle_event):
15332           When we get an EOS event and have not found a type yet
15333           (most likely because we had not yet accumulated
15334           TYPE_FIND_MIN_SIZE of data yet), try to determine the
15335           type given the data we have so far. Fixes typefinding
15336           for very short streams again, most notably quicktime
15337           redirections as used on Apple's trailer site (#331701).
15338
15339 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15340
15341         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15342         (gst_type_find_helper):
15343           Try typefinding factories with the highest rank first.
15344
15345 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15346
15347         * docs/libs/gstreamer-libs-docs.sgml:
15348         * docs/libs/gstreamer-libs-sections.txt:
15349         * libs/gst/base/gsttypefindhelper.c:
15350           Add section for typefind helper and add documentation
15351           for the old and the new function.
15352
15353 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15354
15355         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15356         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15357         (gst_type_find_helper_for_buffer):
15358         * libs/gst/base/gsttypefindhelper.h:
15359           New API: gst_type_find_helper_for_buffer() (#332723).
15360           
15361 2006-02-27  Michael Smith  <msmith@fluendo.com>
15362
15363         Patch by: Loïc Minier
15364
15365         * configure.ac:
15366         * docs/Makefile.am:
15367         * docs/slides/Makefile.am:
15368           prevent CVS directories getting disted.
15369
15370 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15371
15372         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15373           Use the REFCOUNTING category for caps refcounting.
15374           
15375 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15376
15377         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15378           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15379
15380 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15381
15382         * plugins/elements/gsttypefindelement.c:
15383         (gst_type_find_element_activate):
15384           Use gst_pad_check_pull_range() before _activate_pull()
15385           to avoid unnecessary open/close (see #331690).
15386
15387 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15388
15389         * gst/gstutils.c:
15390           Docs enhancement: make it crystal clear what the
15391           gst_pad_add_*_probe() callbacks should look like.
15392
15393 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15394
15395         * libs/gst/base/gstbasesrc.c:
15396           Document how applications can stop recording from
15397           live sources (see #330996).
15398
15399 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15400
15401         * tests/check/Makefile.am:
15402         * tests/check/libs/basesrc.c: (eos_event_counter),
15403         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15404         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15405         (gst_basesrc_suite), (main):
15406           ... and add some tests for the base source EOS stuff.
15407
15408 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15409
15410         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15411           Test case originally showed the problem fixed below,
15412           but was then amended. Add checks back at the place
15413           where they used to be.
15414
15415 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15416
15417         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15418         (gst_base_src_init), (gst_base_src_loop),
15419         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15420         (gst_base_src_change_state):
15421         * libs/gst/base/gstbasesrc.h:
15422           Don't unconditionally send EOS when going from PAUSED to
15423           READY state, esp. make sure we don't send two EOS events
15424           in some cases (e.g. one when reaching EOS and one when
15425           going from PAUSED to READY). Also, we don't want to send
15426           EOS events when operating in pull mode. However, we do
15427           want to send an EOS event when shutting down a live
15428           source explicitly, for example (fixes #330996).
15429           
15430 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15431
15432         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15433           Update src->read_position after a seek when not using mmap.
15434           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15435
15436 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15437
15438         * gst/Makefile.am:
15439         * gst/gstparse.h:
15440         * gst/gstutils.c:
15441         * gst/gstutils.h:
15442         Make things work with --disable-parse as they do with 
15443         --disable-load-save - the symbols involved disappear, but the
15444         header is still installed and GST_DISABLE_PARSE is included via
15445         gstconfig.h
15446
15447 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15448
15449         * libs/gst/base/gstbasetransform.c:
15450         (gst_base_transform_change_state): Fix a stupid bug. I was 
15451         sure I compiled that.
15452
15453 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15454
15455         * gst/gstpad.c: (gst_pad_set_blocked_async):
15456         * gst/gstutils.c: (gst_pad_add_data_probe),
15457         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15458         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15459         (gst_pad_remove_buffer_probe): Make those function act on the
15460         ghostpad target when it's a ghostpad. (Closes #331727)
15461
15462 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15463
15464         * libs/gst/base/gstbasetransform.c:
15465         (gst_base_transform_change_state): Make basetransform reusable.
15466         (Closes #331898)
15467
15468 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15469
15470         * docs/random/release:
15471         Move the current documentation of how to do a release to the top
15472         of the file.
15473
15474         * gst/gstbin.c: (gst_bin_class_init),
15475         (gst_bin_handle_message_func):
15476         Allow multiple state-recalculation threads. (Closes #328873)
15477
15478 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15479
15480         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15481         * gst/gstpad.c: (gst_pad_set_event_function),
15482         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15483         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15484         2 strings. You can't use the STR_NULL macro on that.
15485
15486 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15487
15488         * gst/gstpad.c: (gst_pad_set_event_function),
15489         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15490         (gst_pad_set_getcaps_function)
15491         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15492           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15493           So now, we can use --gst-debug-level=5 on Windows
15494         * win32/common/libgstcontroller.def:
15495           Added export of gst_controller_init
15496         * win32/vs6/libgstcontroller.dsp:
15497           Fixed Release post build configuration
15498
15499 2006-02-17  Wim Taymans  <wim@fluendo.com>
15500
15501         * tests/check/gst/gstquery.c: (GST_START_TEST):
15502         Added another check.
15503
15504 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15505
15506         * plugins/elements/gsttypefindelement.c: (find_peek):
15507           We can do peeks at non-zero offsets, as long as they
15508           fall within the buffer we have.
15509
15510 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15511
15512         * tests/check/Makefile.am:
15513         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15514         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15515         (parse_suite), (main):
15516           Add testsuite for parse launch syntax
15517
15518 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15519
15520         * plugins/elements/gsttypefindelement.c:
15521         (gst_type_find_element_chain):
15522           When typefinding is unsuccessful in the chain function, don't
15523           error out immediately. Only error out with NO_CAPS_FOUND if
15524           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15525           otherwise simply wait for more data so we can try typefinding
15526           again with more data later. Also, don't attempt to typefind
15527           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15528           this should improve typefinding from network sources where the
15529           size of the first buffer can be somewhat random.
15530
15531 2006-02-14  Wim Taymans  <wim@fluendo.com>
15532
15533         * docs/gst/gstreamer-sections.txt:
15534         * gst/gstpadtemplate.c:
15535         * gst/gstpadtemplate.h:
15536         Fix padtemplate docs, fixes #328805.
15537
15538 2006-02-14  Wim Taymans  <wim@fluendo.com>
15539
15540         * tools/gst-launch.c: (main):
15541         NO_PREROLL is not an ERROR so don't send confusing messages
15542         to the user.
15543
15544 2006-02-14  Wim Taymans  <wim@fluendo.com>
15545
15546         Patch by: Torsten Schoenfeld
15547
15548         * gst/gstregistry.c: (gst_registry_get_default),
15549         (_gst_registry_cleanup):
15550         Protect default registry with lock and ref/sink it.
15551         Fixes #324818
15552
15553 2006-02-14  Wim Taymans  <wim@fluendo.com>
15554
15555         * gst/gstbuffer.c:
15556         * gst/gstquery.c: (gst_query_list_add_format),
15557         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15558         (gst_query_parse_formats_nth):
15559         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15560         Docs fixes.
15561
15562 2006-02-14  Wim Taymans  <wim@fluendo.com>
15563
15564         * docs/gst/gstreamer-sections.txt:
15565         Reworked query docs.
15566
15567         * gst/gstquery.c: (gst_query_new_formats),
15568         (gst_query_list_add_format), (gst_query_set_formats),
15569         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15570         (gst_query_parse_formats_nth):
15571         * gst/gstquery.h:
15572         Flesh out formats query, added some new methods.
15573         Fix part of #324398.
15574
15575         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15576         Added query creation tests.
15577
15578 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15579
15580         * gst/gstpad.c: (fixate_value):
15581         Add a default fixation for fraction lists.
15582
15583 2006-02-13  Wim Taymans  <wim@fluendo.com>
15584
15585         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15586         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15587         (gst_task_join):
15588         * gst/gsttask.h:
15589         Detect and warn for obvious deadlocks. fixes #320340
15590         Fix error case where lock was not released.
15591
15592         * tests/check/Makefile.am:
15593         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15594         (task_func), (gst_element_suite), (main):
15595         Add task check.
15596
15597 2006-02-13  Wim Taymans  <wim@fluendo.com>
15598
15599         * docs/gst/gstreamer-sections.txt:
15600         * gst/gstbus.c:
15601         Add new functions to docs.
15602
15603 2006-02-13  Wim Taymans  <wim@fluendo.com>
15604
15605         * docs/design/part-TODO.txt:
15606         Updated TODO list, basesrc supports seeking to non-bytes
15607         formats.
15608
15609         * docs/design/part-element-sink.txt:
15610         Update docs.
15611
15612         * gst/gstbin.c: (bin_replace_message),
15613         (gst_bin_handle_message_func):
15614         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15615         * gst/gstevent.c: (gst_event_finalize):
15616         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15617         (gst_pad_send_event):
15618         Use shiny new _TYPE_NAME macros.
15619
15620         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15621         Move debug statement up.
15622
15623         * gst/gstelement.c: (gst_element_set_locked_state):
15624         Add some debugging.
15625
15626 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15627
15628         * docs/gst/gstreamer-sections.txt:
15629         * gst/gstmessage.h:
15630         * gst/gstquery.h:
15631           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15632           macros (#330906). Also, document the already existing
15633           GST_QUERY_TYPE macro.
15634
15635 2006-02-13  Wim Taymans  <wim@fluendo.com>
15636
15637         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15638         (event_probe), (GST_START_TEST):
15639         Only events up to the pipeline EOS are counted, there are
15640         some more when going to NULL currently which we don't care
15641         about for now.
15642
15643 2006-02-13  Wim Taymans  <wim@fluendo.com>
15644
15645         * gst/gstpad.c: (gst_pad_send_event):
15646         Correctly check flushing and emit probes. fixes #330125
15647
15648 2006-02-10  Andy Wingo  <wingo@pobox.com>
15649
15650         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15651         structure.
15652         (gst_bus_init): Cache the location of the private data in the
15653         instance structure.
15654         (gst_bus_enable_sync_message_emission) 
15655         (gst_bus_disable_sync_message_emission): Implement new public
15656         functions.
15657         (gst_bus_post): Emit the sync-message signal if the user asked for
15658         it. Fixes #330684.
15659
15660         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15661         location of the bus-private structure.
15662         (gst_bus_enable_sync_message_emission)
15663         (gst_bus_disable_sync_message_emission): API addition
15664
15665 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15666
15667         Patch by: Vincent Torri
15668
15669         * docs/pwg/building-boiler.xml:
15670         PWG patch from #326800
15671
15672 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15673
15674         * configure.ac:
15675         * docs/Makefile.am:
15676         * docs/design/Makefile.am:
15677           Dist design docs.
15678
15679 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15680
15681         * configure.ac:
15682           back to CVS
15683
15684 === release 0.10.3 ===
15685
15686 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15687
15688         * configure.ac:
15689           releasing 0.10.3, "Like a virgin"
15690
15691 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15692
15693         * configure.ac:
15694           2nd prerelease of 0.10.3
15695           Bump libtool versioning.
15696
15697 2006-02-07  Andy Wingo  <wingo@pobox.com>
15698
15699         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15700         update last_stop if we're in TIME format and the timestamp is
15701         valid.
15702
15703         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15704         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15705         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15706         If we get a new newsegment with a different format, adapt
15707         accordingly.
15708
15709         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15710         of 0. Not a problem, really.
15711
15712         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15713         warn if sync=true.
15714
15715 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15716
15717         * configure.ac:
15718           Prelease of 0.10.3
15719
15720 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15721
15722         * win32/vs7:
15723           project files updated to the default vs7 configuration
15724         * win32/common/libgstbase.def:
15725         * win32/common/libgstreamer.def:
15726           added new symbols,
15727           removed empty lines,
15728           sorted all exported symbols alphabetically
15729         * win32/common/dirent.c:
15730         * win32/common/dirent.h:
15731         * win32/common/gchar.h:
15732           use windows line end.
15733           
15734 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15735
15736         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15737           Send EOS event when stopping.
15738
15739 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15740
15741         * docs/README:
15742           Tell folks what to do if the plugin-foobar.xml file
15743           hasn't been generated for a newly-added plugin.
15744
15745 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15746
15747         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15748         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15749         (gst_collect_pads_start), (gst_collect_pads_stop),
15750         (gst_collect_pads_event): Collectpads now holds a reference
15751         to the GstPad that was added. Indeed we don't want to look
15752         at pads that might just go away with no warning...
15753
15754 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15755
15756         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15757         (gst_collect_pads_start), (gst_collect_pads_stop),
15758         (gst_collect_pads_event), (gst_collect_pads_chain):
15759         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15760         Mark Nauwelaerts's patch on bug #328491.
15761
15762 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15763
15764         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15765         (gst_utils_suite):
15766           Add some simple tests for gst_parse_bin_from_description() and
15767           gst_bin_find_unconnected_pad() (#329069).
15768
15769 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15770
15771         * tools/gst-launch.c: (event_loop), (main):
15772           Catch errors during preroll (#320084).
15773
15774 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15775
15776         * plugins/elements/gsttypefindelement.c:
15777         (gst_type_find_element_activate):
15778           Post TYPE_NOT_FOUND error message when typefinding
15779           is unsuccessful in the activate function as well.
15780
15781 2006-02-02  Wim Taymans  <wim@fluendo.com>
15782
15783         * docs/design/part-element-sink.txt:
15784         Updated doc.
15785
15786 2006-02-02  Wim Taymans  <wim@fluendo.com>
15787
15788         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15789         (gst_base_sink_render_object),
15790         (gst_base_sink_queue_object_unlocked):
15791         Only keep track of prerollable items when we are 
15792         prerolling.
15793         Before rendering after preroll, always check if we
15794         have queued items.
15795         Added some more debugging.
15796
15797 2006-02-02  Wim Taymans  <wim@fluendo.com>
15798
15799         * gst/gstelement.c: (gst_element_continue_state),
15800         (gst_element_set_state_func), (gst_element_change_state):
15801         Fixed #326576, been running this for quite some time with
15802         no regressions at all.
15803
15804 2006-02-02  Wim Taymans  <wim@fluendo.com>
15805
15806         * common/gst.supp:
15807         Added more suppressions
15808
15809 2006-02-02  Wim Taymans  <wim@fluendo.com>
15810
15811         * docs/design/part-element-sink.txt:
15812         Updated document.
15813
15814         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15815         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15816         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15817         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15818         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15819         (gst_base_sink_preroll_object),
15820         (gst_base_sink_queue_object_unlocked),
15821         (gst_base_sink_queue_object), (gst_base_sink_event),
15822         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15823         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15824         (gst_base_sink_get_position), (gst_base_sink_change_state):
15825         * libs/gst/base/gstbasesink.h:
15826         Totally refactored matching the design doc.
15827         Use two segments, one to clip incomming buffers and another to
15828         perform sync.
15829         Handle queueing correctly, bypass the queue when playing.
15830         Make EOS cancelable.
15831         Handle errors correctly when operating in pull based mode.
15832
15833         * tests/check/elements/fakesink.c: (GST_START_TEST),
15834         (fakesink_suite):
15835         Added new check for sinks.
15836
15837 2006-02-02  Wim Taymans  <wim@fluendo.com>
15838
15839         * gst/gstsegment.c: (gst_segment_clip):
15840         No reason to refuse to clip when start == -1
15841
15842 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15843
15844         * docs/README:
15845         * docs/manual/intro-basics.xml:
15846         * docs/manual/intro-preface.xml:
15847         * docs/manual/manual.xml:
15848         * docs/pwg/advanced-dparams.xml:
15849         * docs/pwg/intro-basics.xml:
15850         * docs/pwg/intro-preface.xml:
15851         * docs/pwg/pwg.xml:
15852           describe dparams (controller) for plugins
15853           unify docs a little more
15854
15855 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15856
15857         * docs/gst/gstreamer-sections.txt:
15858         * gst/gstutils.c: (element_find_unconnected_pad),
15859         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15860         * gst/gstutils.h:
15861           Add new API: gst_parse_bin_from_description() and
15862           gst_bin_find_unconnected_pad() (#329069).
15863
15864 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15865
15866         * docs/manual/README:
15867           uncover a nasty detail of the docs build
15868
15869 2006-01-31  Wim Taymans  <wim@fluendo.com>
15870
15871         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15872         Don't cache duration messages if we're not going to use or
15873         free them.
15874
15875 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15876
15877         * docs/manual/advanced-dparams.xml:
15878         * docs/pwg/advanced-dparams.xml:
15879           more dparam docs
15880         * gst/gstindex.c:
15881           fix docs
15882         * libs/gst/controller/lib.c: (gst_controller_init):
15883           init just once
15884
15885 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15886
15887         * gst/gstelement.c: (gst_element_message_full):
15888           also show file/line/func if no additional debug was given
15889
15890 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15891         
15892         * win32/vs7/grammar.vcproj:
15893           activate copy of autogenerated files for Release mode
15894
15895 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15896         
15897         * win32/common/libgstreamer.def:
15898           export gst_value_compare
15899
15900 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15901
15902         * plugins/elements/Makefile.am:
15903         * plugins/elements/gstelements.c:
15904         * plugins/elements/gstfdsink.c: (_do_init),
15905         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15906         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15907         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15908         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15909         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15910         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15911         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15912         * plugins/elements/gstfdsink.h:
15913         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15914
15915 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15916
15917         * docs/manual/advanced-dparams.xml:
15918           describe controller
15919         * docs/manual/advanced-position.xml:
15920         * docs/manual/basics-init.xml:
15921         * docs/manual/manual.xml:
15922         * docs/manual/titlepage.xml:
15923         * docs/pwg/pwg.xml:
15924         * docs/pwg/titlepage.xml:
15925           cleanup xml (more to come)
15926         * libs/gst/controller/gstcontroller.c:
15927           fix typo
15928
15929 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15930         
15931         * win32/vs6/grammar.dsp:
15932           add autogen of gstmarshal.c,h for Release mode
15933                 
15934 2006-01-30  Wim Taymans  <wim@fluendo.com>
15935
15936         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15937         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15938         (gst_base_sink_handle_object), (gst_base_sink_event),
15939         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15940         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15941         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15942         (gst_base_sink_deactivate), (gst_base_sink_activate),
15943         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15944         (gst_base_sink_query), (gst_base_sink_change_state):
15945         Basesink cleanups, remove some old code.
15946         Handle the case where a subclass can preroll in the render
15947         method (mostly audiosinks).
15948         Handle more events.
15949         Remove some locks around variables that are now protected
15950         with the PREROLL_LOCK (clock_id, flushing, ..).
15951         Optimize position query some more, do correct locking.
15952         Remove old code to push queue in state change, this is not
15953         needed anymore since preroll blocks on all prerollable items 
15954         now.
15955         Almost implemented as described in design doc.
15956
15957 2006-01-30  Wim Taymans  <wim@fluendo.com>
15958
15959         * tests/check/gst/gstbin.c: (GST_START_TEST):
15960         Wait for refcount to settle down before checking.
15961
15962 2006-01-30  Wim Taymans  <wim@fluendo.com>
15963
15964         * docs/design/part-element-sink.txt:
15965         Pseudo code overview of desired sink behaviour regarding
15966         preroll.
15967
15968 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15969         * win32/vs6/grammar.dsp:
15970           fix some bugs in Release mode for autogenerated files
15971                 
15972 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15973         * win32/common/libgstbase.def:
15974         * win32/common/libgstreamer.def:
15975           export some new symbols: gst_base_src_set_format,
15976           gst_iterator_next, gst_structure_set_valist
15977
15978 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15979
15980         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15981         Set pad functions unconditionally. Fixes #329105.
15982
15983 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15984         * win32/vs8:
15985           add vs8 project files created by Sergey Scobich
15986
15987 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15988
15989         * gst/gstutils.c: (gst_element_unlink_pads):
15990         Don't leak pad references.
15991
15992         * tests/check/elements/fakesink.c: (GST_START_TEST):
15993         * tests/check/generic/sinks.c: (GST_START_TEST):
15994         * tests/check/generic/states.c: (GST_START_TEST):
15995         * tests/check/gst/gstbin.c: (GST_START_TEST):
15996         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15997         * tests/check/gst/gstelement.c: (GST_START_TEST):
15998         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15999         * tests/check/gst/gstiterator.c: (GST_START_TEST):
16000         * tests/check/gst/gstvalue.c: (GST_START_TEST):
16001         Fix a bunch of leaks. Make generic/sinks.c
16002         use a bit less cpu by slowing the buffer rate
16003         between fakesrc and fakesink.
16004         
16005 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
16006         * gst/gstcaps.c:
16007         * gst/gstelement.c: (gst_element_send_event):
16008         * gst/gstevent.c:
16009         * gst/gstinfo.c:
16010         * gst/gstiterator.c:
16011         * gst/gstiterator.h:
16012         * gst/gstpad.c: (gst_pad_send_event):
16013         * gst/gststructure.c:
16014         * gst/gsturi.c:
16015         * gst/gstutils.c:
16016         * gst/gstvalue.c:
16017         * libs/gst/base/gstadapter.c:
16018           doc fixes, to link to function, just write gst_cool_function(), don't
16019           prefix with '#'
16020
16021 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16022
16023         * plugins/elements/gsttee.c: (gst_tee_do_push),
16024         (gst_tee_handle_buffer):
16025         Always prefer an actual return value from a src
16026         pad in place of NOT_LINKED. This means we return
16027         WRONG_STATE when all src pads are WRONG_STATE
16028         instead of NOT_LINKED.
16029
16030         Lock when replacing the last message to prevent
16031         racing with the get_property method.
16032
16033         Add debug output
16034
16035 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16036
16037         * tests/check/Makefile.am:
16038         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
16039         (main):
16040         Add a very simple check that should have caught the memleak I fixed
16041         last night (if not for the slice allocator hiding it)
16042
16043 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16044
16045         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16046         (gst_bin_remove_func), (gst_bin_handle_message_func),
16047         (bin_query_duration_fold), (bin_query_generic_fold):
16048         Clean up references to the clock provider when disposed or when
16049         handling a clock-lost message from it.
16050
16051         Unref sinks when performing a query via gst_iterator_fold, as the
16052         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16053
16054         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16055         (gst_clock_set_master):
16056         Drop our reference to the master clock, if any, when we are disposed.
16057
16058         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16059         Chain up in dispose. 
16060
16061 2006-01-26  Wim Taymans  <wim@fluendo.com>
16062
16063         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16064         Add some debugging.
16065
16066 2006-01-26  Julien MOUTTE  <julien@moutte.net>
16067
16068         * plugins/elements/gsttee.c: (gst_tee_do_push),
16069         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16070         handles pad being NOT_LINKED or in WRONG_STATE.
16071
16072 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16073
16074         * win32/MANIFEST:
16075           more updating
16076
16077 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16078
16079         * win32/MANIFEST:
16080           remove obsolete entry
16081
16082 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16083
16084         * docs/gst/gstreamer-sections.txt:
16085         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16086         (gst_bin_iterate_sources), (gst_bin_send_event):
16087         * gst/gstbin.h:
16088         * gst/gstelement.c: (gst_element_send_event):
16089         * gst/gstevent.c:
16090         * gst/gstpad.c: (gst_pad_send_event):
16091           added code for downstream events, reviewed docs in gstevent.c
16092
16093 2006-01-25  Julien MOUTTE  <julien@moutte.net>
16094
16095         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16096         We only query position using the clock in the playing state.
16097         Query peer in the other cases.
16098         * win32/common/config.h: Updates.
16099
16100 2006-01-24  Wim Taymans  <wim@fluendo.com>
16101
16102         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16103         A clock entry that is scheduled for the exact time of the
16104         clock is still in time.
16105
16106         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16107         (gst_base_sink_do_sync):
16108         Add some more debug info.
16109
16110 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16111
16112         * win32/vs7:
16113           Add new vs7 project files and solution.
16114
16115 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16116
16117         * win32/vs7:
16118           all files removed as they were out-dated.
16119
16120 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16121
16122         * docs/random/release:
16123           update notes
16124         * gst/gstbin.c: (gst_bin_init):
16125         * gst/gstbus.c: (gst_bus_new):
16126         * gst/gstbus.h:
16127         * gst/gstpipeline.c: (gst_pipeline_init):
16128           use gst_bus_new(), improve logging, fix docs
16129         * win32/common/config.h:
16130           update for cvs build
16131
16132 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16133
16134         * autogen.sh:
16135           up required version of automake to 1.7
16136
16137 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
16138
16139         * win32/common/libgstreamer.def:
16140           export gst_buffer_is_metadata_writable
16141
16142 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
16143
16144         * docs/gst/gstreamer-sections.txt:
16145         * gst/gstevent.h:
16146           Add gst_event_replace() (#327001)
16147
16148 2006-01-20  Wim Taymans  <wim@fluendo.com>
16149
16150         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16151         Make it actually compile too..
16152
16153 2006-01-20  Wim Taymans  <wim@fluendo.com>
16154
16155         * gst/gstcaps.c:
16156         Clarify behaviour of _is_equal() when passing NULL parameters.
16157
16158         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16159         (gst_pad_set_caps):
16160         Cleanups. Don't unref NULL caps.
16161         When setting the same caps, protect caps of the pad with
16162         proper lock.
16163         Use full functionality of _is_equal() when comparing caps.
16164
16165 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16166
16167         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16168         Don't loop infinitely if there are no buffers to present. Partially
16169         fixes #327197, but collectpads is just broken for reusing elements
16170         to do multiple encodes atm.
16171
16172 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16173
16174         * tools/gst-inspect.c: (print_element_features):
16175         * tools/gst-xmlinspect.c: (main):
16176         URL_HANDLER is not a plugin feature we can search for in
16177         the registry.
16178
16179 2006-01-19  Edward Hervey  <edward@fluendo.com>
16180
16181         * gst/gstelement.c: (gst_element_pads_activate): 
16182         When activating, do src pads first, then sink pads.
16183         When de-activating, do sink pads first, then src pads.
16184
16185 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16186
16187         * docs/gst/gstreamer-sections.txt:
16188         Add gst_index_add_associationv to the docs
16189
16190 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16191
16192         * gst/gstevent.c:
16193           Fix docs typo
16194
16195         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16196         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16197           Do some refactoring. Doesn't actually change functionality,
16198           but makes landing the DRAIN event easier later.
16199
16200 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
16201
16202         * docs/pwg/advanced-scheduling.xml:
16203           Update from 0.9.x to 0.10 API and make example a bit
16204           clearer.
16205
16206 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16207
16208         * docs/gst/gstreamer-sections.txt:
16209         Add gst_buffer_(is|make)_metadata_writable methods.
16210
16211 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16212
16213         * docs/design/part-sparsestreams.txt:
16214         Update sparse streams doc, hopefully for greater clarity
16215
16216 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
16217
16218         * docs/design/part-events.txt:
16219         Remove mention of FILLER events.
16220         Add DRAIN event.
16221
16222         * docs/design/part-sparsestreams.txt:
16223         Write some things about using NEWSEGMENT to keep sparse streams
16224         flowing.
16225
16226 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16227
16228         * gst/gstbin.c: (gst_bin_dispose):
16229           Guard gst_object_unref call against a NULL object (dispose
16230           can theoretically be called multiple times).
16231           
16232 2006-01-18  Wim Taymans  <wim@fluendo.com>
16233
16234         * gst/gstbin.c: (gst_bin_element_set_state):
16235         * gst/gstclock.c: (gst_clock_id_wait):
16236         Added some more debug info.
16237
16238         * libs/gst/base/gstadapter.c:
16239         Added more docs.
16240
16241         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16242         (gst_base_sink_do_sync), (gst_base_sink_chain):
16243         Added some comments.
16244
16245 2006-01-18  Wim Taymans  <wim@fluendo.com>
16246
16247         * tests/check/Makefile.am:
16248         * tests/check/elements/fakesink.c: (chain_async_buffer),
16249         (chain_async), (chain_async_return), (GST_START_TEST),
16250         (fakesink_suite), (main):
16251         Added fakesink test that checks prerolling and clipping
16252         behaviour.
16253
16254         * tests/check/gst/gstutils.c: (GST_START_TEST):
16255         Make check run faster so that buildbots don't timeout.
16256
16257 2006-01-18  Wim Taymans  <wim@fluendo.com>
16258
16259         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16260         (gst_base_sink_do_sync):
16261         Some cleanups.
16262         When the sink finishes blocking on the preroll buffer, it can
16263         immediatly render it instead of rendering when the next buffer
16264         arrives.
16265
16266 2006-01-18  Wim Taymans  <wim@fluendo.com>
16267
16268         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16269         (gst_base_sink_get_property), (gst_base_sink_do_sync),
16270         (gst_base_sink_chain):
16271         Small cleanups.
16272         GST_ELEMENT_CLOCK and sync are protected with LOCK.
16273         Don't store _last_stop if the buffer is dropped.
16274
16275 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16276
16277         * plugins/elements/gsttypefindelement.c:
16278         (gst_type_find_element_class_init):
16279           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16280           object method handler that sets the caps on the pad and we want
16281           that to happen before we emit the signal (fixes e.g. feeding a
16282           plain text file to decodebin).
16283
16284 2006-01-18  Christian Schaller  <Christian@fluendo.com>
16285
16286         * gst/gstplugin.c: Add MPL and Proprietary as license options
16287
16288 2006-01-18  Andy Wingo  <wingo@pobox.com>
16289
16290         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16291         symbol was exported before, it appears this was just an oversight.
16292         Fixes #168703.
16293         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16294
16295         * gst/gstindex.c (gst_index_add_associationv): Changed int in
16296         prototype to gint. OK since this prototype was not in the header.
16297
16298 2006-01-17  Andy Wingo  <wingo@pobox.com>
16299
16300         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16301         registry while we remove plugins.
16302
16303         * tools/gst-inspect.c (print_element_info): Don't unref the
16304         factory arg, that should be the responsibility of whatever code
16305         received the ref. Fixes a double-free when called from
16306         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16307         (main): Unref the factory if we have one.
16308         (print_element_list): No change -- relies on the
16309         plugin_feature_list_free to free the list of features.
16310
16311 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
16312
16313         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16314         (gst_buffer_make_metadata_writable):
16315         * gst/gstbuffer.h:
16316         * libs/gst/base/gstbasetransform.c:
16317         (gst_base_transform_prepare_output_buf):
16318         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16319         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16320           Replace gst_buffer_(make|is)_metadata_writable patch now
16321           that the release is out.
16322
16323 2006-01-17  Andy Wingo  <wingo@pobox.com>
16324
16325         * gst/gstregistry.c: Reflow design comment. Update so as to speak
16326         in the present tense without reference to versions.
16327
16328         * gst/gstregistry.c (gst_registry_add_plugin)
16329         (gst_registry_remove_plugin, gst_registry_remove_feature)
16330         (gst_registry_find_feature, gst_registry_get_feature_list)
16331         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16332         (gst_registry_lookup, gst_registry_scan_path)
16333         (_gst_registry_remove_cache_plugins)
16334         (gst_registry_get_feature_list_by_plugin): Add argument
16335         validation.
16336
16337 === release 0.10.2 ===
16338
16339 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
16340
16341         * configure.ac:
16342           releasing 0.10.2, "If man is five"
16343
16344 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16345
16346         * gst/gstbuffer.c:
16347         * gst/gstbuffer.h:
16348         * libs/gst/base/gstbasetransform.c:
16349         (gst_base_transform_prepare_output_buf):
16350         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16351         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16352           Back out patch until after the release.
16353
16354 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16355
16356         * gst/gstminiobject.c:
16357           Spelling fix in docs.
16358         * ChangeLog - remove conflict indicator
16359
16360 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16361
16362         Reviewed By: Andy Wingo
16363
16364         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16365         (gst_buffer_make_metadata_writable):
16366         * gst/gstbuffer.h:
16367           Add gst_buffer_(is|make)_metadata_writable as analogues of
16368           gst_buffer_(is|make)_writable.
16369
16370         * libs/gst/base/gstbasetransform.c:
16371         (gst_base_transform_prepare_output_buf):
16372         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16373           Use name gst_buffer_(is|make)_metadata_writable functions.
16374
16375         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16376           Test gst_buffer_(is|make)_metadata_writable
16377         
16378           (Closes: #324162)
16379
16380 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16381
16382         * docs/manual/Makefile.am:
16383           don't do parallel make
16384         * configure.ac:
16385           AC_SUBST HOST_CPU
16386         * win32/common/config.h.in:
16387           add generations for HOST_CPU and GST_MAJORMINOR
16388         * win32/common/config.h:
16389           commit generated result
16390
16391 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16392
16393         * docs/manual/appendix-integration.xml:
16394           Update GNOME integration section to use gst_init_get_option_group()
16395           instead of the old popt stuff (#322911). Also, GNOME applications
16396           should  now use gconf*sink and gconf*src instead of the old gconf
16397           helper lib we had.
16398
16399 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16400
16401
16402         * docs/gst/gstreamer-docs.sgml:
16403         * docs/gst/gstreamer-sections.txt:
16404         * docs/libs/gstreamer-libs-sections.txt:
16405           add new API entries to the docs
16406         * libs/gst/controller/Makefile.am:
16407         * libs/gst/controller/gstcontroller.c:
16408         * libs/gst/controller/gstcontroller.h:
16409         * libs/gst/controller/gstcontrollerprivate.h:
16410         * libs/gst/controller/gsthelper.c:
16411         * libs/gst/controller/gstinterpolation.c:
16412           move private structs to private header
16413         * po/README:
16414           gstreamer-0.7 -> gstreamer-0.10
16415         * tests/check/libs/struct_i386.h:
16416           remove private structs
16417
16418 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16419
16420         * plugins/indexers/Makefile.am:
16421           Fixes as part of #317048
16422
16423 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16424
16425         * plugins/indexers/Makefile.am:
16426           fix #316086 - compilation when mmap is missing
16427
16428 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16429
16430         * libs/gst/base/gstbasesink.c:
16431           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16432           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16433         * win32/common/config.h:
16434           added some defines GST_MAJORMINOR and HOST_CPU
16435         * win32/common/libgstbase.def:
16436         * win32/common/libgstreamer.def:
16437           added some exported functions.
16438
16439 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16440
16441         * libs/gst/controller/gstcontroller.c:
16442         (gst_controlled_property_set_interpolation_mode),
16443         (gst_controlled_property_new):
16444         * libs/gst/controller/gstcontroller.h:
16445         * libs/gst/controller/gstinterpolation.c:
16446         (interpolate_none_get_string_value_array):
16447           make G_TYPE_STRING controlable
16448
16449 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16450
16451         * tools/README:
16452         * tools/gst-feedback.1.in:
16453         * tools/gst-inspect.1.in:
16454         * tools/gst-launch.1.in:
16455         * tools/gst-md5sum.1.in:
16456         * tools/gst-typefind.1.in:
16457         * tools/gst-xmlinspect.1.in:
16458         * tools/gst-xmllaunch.1.in:
16459           cleanup man-pages, remove reference to gst-register, document env-vars
16460
16461 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16462
16463         * gst/gstbuffer.c: (gst_buffer_span):
16464           gst_buffer_span should copy the timestamp of the first buffer
16465           if they were both originally overlapping subbuffers of the 
16466           same parent, using the same logic as the 'slow copy' case.
16467
16468 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16469
16470         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16471           Need to awaken ALL the pads when we pop a buffer, otherwise
16472           collectpads only works when there is 2 input streams.
16473
16474 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16475
16476         * docs/random/ensonic/media-device-daemon.txt:
16477           more ideas (dbus)
16478         * gst/gstbuffer.c:
16479           fix doc example, add clarification
16480         * tools/gst-launch.1.in:
16481           add initial info about GST_PLUGIN_PATH, needs more work
16482
16483 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16484
16485         * docs/manual/basics-bins.xml:
16486         * docs/manual/basics-elements.xml:
16487         * docs/manual/intro-basics.xml:
16488           Some more minor docs additions and updates.
16489
16490 2006-01-11  Wim Taymans  <wim@fluendo.com>
16491
16492         * docs/manual/basics-bins.xml:
16493         * docs/manual/basics-elements.xml:
16494         Some small fixes as pointed out by Ser-ver on IRC.
16495
16496 2006-01-10  Edward Hervey  <edward@fluendo.com>
16497
16498         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16499         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16500         the single-segment mode.
16501
16502 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16503
16504         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16505
16506         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16507         (gst_base_src_perform_seek), (gst_base_src_send_event),
16508         (gst_base_src_set_property), (gst_base_src_get_property),
16509         (gst_base_src_loop), (gst_base_src_start),
16510         (gst_base_src_activate_push):
16511         * libs/gst/base/gstbasesrc.h:
16512           Name (private) union; makes Sun's Forte compiler happy (#324900).
16513
16514 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16515
16516         * README:
16517           gst-register is gone.
16518
16519 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16520
16521         * gst/gstvalue.c: (_gst_value_initialize):
16522           make the G_TYPE_DATE instantiation work if debug is disabled
16523
16524 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16525
16526         * gst/gstmessage.c: (gst_message_parse_tag),
16527         (gst_message_parse_error), (gst_message_parse_warning):
16528           Don't crash when return location for error/warning debug
16529           string is NULL; add fact that return locations can be
16530           NULL to docs where appropriate.
16531
16532 2006-01-05  Wim Taymans  <wim@fluendo.com>
16533
16534         * gst/gstplugin.c: (gst_plugin_load_file):
16535         Replace strdup by g_strdup.
16536
16537 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16538
16539         * docs/pwg/advanced-types.xml:
16540           fix doc borkage
16541
16542 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16543
16544         submitted by: Abel Cheung
16545
16546         * po/LINGUAS:
16547         * po/zh_TW.po:
16548           Added Chinese (traditional) translation
16549
16550 2006-01-04  Wim Taymans  <wim@fluendo.com>
16551
16552         * docs/manual/basics-pads.xml:
16553         * docs/plugins/Makefile.am:
16554         * docs/plugins/gstreamer-plugins-docs.sgml:
16555         * docs/plugins/gstreamer-plugins-sections.txt:
16556         * docs/pwg/advanced-clock.xml:
16557         * docs/pwg/advanced-scheduling.xml:
16558         * docs/pwg/advanced-types.xml:
16559         * plugins/elements/gstfdsink.c:
16560         * plugins/elements/gstfdsrc.c:
16561         * plugins/elements/gstfdsrc.h:
16562         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16563         * plugins/elements/gstidentity.h:
16564         * plugins/elements/gstqueue.h:
16565         * plugins/elements/gsttee.c:
16566         * plugins/elements/gsttee.h:
16567         * plugins/elements/gsttypefindelement.c:
16568         (gst_type_find_element_class_init):
16569         * plugins/elements/gsttypefindelement.h:
16570         Small updates to various docs.
16571         Added core plugins to docs.
16572
16573 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16574
16575         * common/gst.supp:
16576           add a suppression for liboil's uninitialized variable
16577
16578 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16579
16580         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16581
16582         * gst/gstutils.h:
16583           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16584           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16585           compiler switch is being used (#325429).
16586
16587 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16588
16589         * gst/gstbin.c: (gst_bin_query):
16590           Disable duration query caching in bins until it gets
16591           fixed (see #324807).
16592
16593 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16594
16595         * tools/gst-inspect.c: (print_element_properties_info):
16596           Handle properties of POINTER and BOXED type.
16597
16598 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16599
16600         * gst/gst.c: (init_post):
16601           Init tags stuff and some other things before loading
16602           any static plugins (there may be other static plugins
16603           than just the GStreamer ones, and they may want to
16604           register their own tags or formats or whatever, and
16605           preferably without segfaulting).
16606
16607         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16608           Print at least a warning in the debug logs if we drop a
16609           query just because we don't know how to adjust the value
16610           in the particular format.
16611
16612 2005-12-24  David Schleef  <ds@schleef.org>
16613
16614         * tools/gstreamer-completion:
16615           Replacement for gst-complete written in sh and sed.  Only
16616           completes names of features, but that's 90% of what I want
16617           it for.  Properties are not available in registry.xml.  (Maybe
16618           they should be...)
16619
16620 === release 0.10.1 ===
16621
16622 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16623
16624         * configure.ac:
16625           releasing 0.10.1, "Nollaig chridheil"
16626
16627 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16628
16629         * docs/faq/cvs.xml:
16630           Add missing quote, should be make ERROR_CFLAGS="".
16631
16632 2005-12-20  Wim Taymans  <wim@fluendo.com>
16633
16634         * docs/design/part-trickmodes.txt:
16635         More documentation on trickmodes.
16636
16637 2005-12-20  Edward Hervey  <edward@fluendo.com>
16638
16639         * gst/gstcaps.c: (gst_static_caps_get_type):
16640         * gst/gstcaps.h:
16641           API addition: GST_TYPE_STATIC_CAPS
16642         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16643         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16644         * gst/gstpadtemplate.h:
16645           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16646         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16647         bindings.
16648
16649 2005-12-18  Wim Taymans  <wim@fluendo.com>
16650
16651         * libs/gst/base/gstadapter.c:
16652         * libs/gst/base/gstadapter.h:
16653         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16654         (gst_base_sink_get_position):
16655         * libs/gst/base/gstbasesink.h:
16656         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16657         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16658         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16659         (gst_base_src_send_event), (gst_base_src_update_length),
16660         (gst_base_src_get_range), (gst_base_src_loop),
16661         (gst_base_src_start):
16662         * libs/gst/base/gstbasesrc.h:
16663         * libs/gst/base/gstbasetransform.h:
16664         * libs/gst/base/gstcollectpads.h:
16665         * libs/gst/base/gstpushsrc.c:
16666         * libs/gst/base/gstpushsrc.h:
16667         * libs/gst/dataprotocol/dataprotocol.c:
16668         * libs/gst/dataprotocol/dataprotocol.h:
16669         * libs/gst/net/gstnetclientclock.h:
16670         * libs/gst/net/gstnettimeprovider.h:
16671         Documentation updates.
16672
16673 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16674
16675         * docs/manual/basics-helloworld.xml:
16676           Remove superfluous closing bracket in helloworld example.
16677
16678 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16679
16680         * tools/gst-launch.1.in:
16681           Update gst-launch man page; add a section with useful
16682           environment variables. Fixes #323882.
16683
16684 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16685
16686         * gst/gst.c:
16687         * gst/gst_private.h:
16688           change some char* into char[]
16689
16690 2005-12-16  Wim Taymans  <wim@fluendo.com>
16691
16692         * gst/gstregistryxml.c: (load_feature):
16693         Cleanups.
16694         Don't use g_object_unref on GstObjects so that we avoid
16695         leaks on unsafe glibs.
16696
16697 2005-12-16  Wim Taymans  <wim@fluendo.com>
16698
16699         * gst/gstbin.c: (gst_bin_recalc_state):
16700         Small doc updates.
16701
16702 2005-12-16  Wim Taymans  <wim@fluendo.com>
16703
16704         * common/check.mak:
16705         Added make forever target for check.
16706
16707 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16708
16709         * gst/gst.c: (init_post):
16710           make the registry cache file HOST_CPU-dependent
16711
16712 2005-12-16  Andy Wingo  <wingo@pobox.com>
16713
16714         * plugins/elements/gstbufferstore.c
16715         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16716         return value.
16717
16718         * tests/check/gst/gstobject.c
16719         (test_fake_object_name_threaded_unique): Pay attention to
16720         g_list_sort return value.
16721
16722 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16723
16724         * tools/gst-feedback-m.m:
16725           Update for 0.9/0.10 (fixes #323870).
16726
16727 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16728
16729         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16730           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16731           
16732         * tests/check/gst/gstminiobject.c: (my_foo_init),
16733         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16734         (test_value_collection), (gst_mini_object_suite):
16735           Add test to ensure refcounts end up as expected when passing
16736           GstMiniObjects through g_object_get() and g_object_set().
16737
16738 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16739
16740         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16741         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16742         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16743         of collectpads. This version removes a lot of races without
16744         touching API/ABI. Yay !
16745
16746 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16747
16748         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16749           Don't allow activation of a srcpad in pull_range if it has no
16750           getrange function.
16751           Change some debug statements to be a little clearer
16752
16753         * plugins/elements/gsttypefindelement.c:
16754         (gst_type_find_handle_src_query):
16755           Check that we have a peer before executing queries thereupon.
16756
16757         * tests/examples/metadata/read-metadata.c: (message_loop):
16758           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16759           immediately return us any available message with 0 timeout.
16760
16761 2005-12-12  Michael Smith  <msmith@fluendo.com>
16762
16763         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16764           Don't unref factories after calling them.
16765         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16766         * plugins/elements/gsttypefindelement.c:
16767         (gst_type_find_element_chain):
16768           Free lists of factories after using them. Fixing typefinding memory
16769           leaks.
16770
16771 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16772
16773         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16774         (gst_plugin_feature_load):
16775           more meaningful debug output
16776         * configure.ac:
16777         * tests/Makefile.am:
16778         * tests/old/examples/Makefile.am:
16779           make make distcheck happy again
16780
16781 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16782
16783         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16784           Catch the special case where we are operating chain-based,
16785           but the downstream peer pad has no chain function. Emit a
16786           custom error message in this case instead of letting the
16787           core generate one implying that this is some sort of core
16788           bug. It's not, it just means that whatever got plugged
16789           into the pipeline downstream when we announced the type
16790           can only operate pull-based, while our source can only
16791           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16792           Error string has not been marked for translation yet, as
16793           it probably needs some more work first.
16794
16795         (gst_type_find_element_get_best_possibility):
16796           Add helper function to find the best of all available
16797           found possibilities that qualify given the min. threshold.
16798
16799         (gst_type_find_element_handle_event):
16800           Fix the case where we get an EOS while still in TYPEFIND
16801           mode (we want to chose the best of all possible types,
16802           not just the first type that happens to be in our unsorted
16803           list of possible types).
16804
16805         (gst_type_find_element_chain):
16806           Make sure we return GST_FLOW_ERROR when we errored out
16807           in stop_typefinding(); also, don't just find the best of
16808           all found type entries and then use the last examined
16809           type entry, but actually use the best entry.
16810
16811 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16812
16813         * tests/examples/typefind/typefind.c: (type_found):
16814         * tests/examples/xml/runxml.c: (xml_loaded):
16815           More gcc4 fixes and a mem leak fix.
16816
16817 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16818
16819         * tests/examples/xml/createxml.c: (object_saved):
16820           gcc 4 fixes
16821
16822 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16823
16824         * tests/Makefile.am:
16825           enable the examples even more
16826
16827 2005-12-12  Andy Wingo  <wingo@pobox.com>
16828
16829         * libs/gst/net/gstnettimeprovider.c
16830         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16831         (gst_net_time_provider_set_property)
16832         (gst_net_time_provider_get_property):
16833         API addition: Export "active" as a GObject property.
16834         (gst_net_time_provider_thread): Only respond to time queries if
16835         the time provider is active.
16836
16837         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16838         NetTimeProvider, preserving binary compat.
16839
16840 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16841
16842         * tests/examples/controller/audio-example.c: (main):
16843         * tests/examples/launch/Makefile.am:
16844           convert comments again
16845
16846 2005-12-12  Wim Taymans  <wim@fluendo.com>
16847
16848         * libs/gst/base/gstpushsrc.c:
16849         Fix typo.
16850
16851 2005-12-12  Wim Taymans  <wim@fluendo.com>
16852
16853         * docs/libs/gstreamer-libs-sections.txt:
16854         Added new symbol to docs.
16855
16856         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16857         (gst_base_src_init), (gst_base_src_set_format),
16858         (gst_base_src_default_query), (gst_base_src_query),
16859         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16860         (gst_base_src_perform_seek), (gst_base_src_send_event),
16861         (gst_base_src_default_event), (gst_base_src_event_handler),
16862         (gst_base_src_set_property), (gst_base_src_get_property),
16863         (gst_base_src_wait), (gst_base_src_do_sync),
16864         (gst_base_src_update_length), (gst_base_src_get_range),
16865         (gst_base_src_check_get_range), (gst_base_src_loop),
16866         (gst_base_src_default_negotiate), (gst_base_src_start),
16867         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16868         (gst_base_src_change_state):
16869         * libs/gst/base/gstbasesrc.h:
16870         Implement seeking to other formats than _BYTES.
16871         Implement more seeking methods correctly.
16872         Doc updates.
16873         Added query vmethod.
16874         Added do_seek vmethod to make life easier for subclasses
16875         when seeking.
16876         API addition: gst_base_src_set_format()
16877
16878 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16879
16880         * tests/examples/Makefile.am:
16881           added that too
16882
16883 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16884
16885         * configure.ac:
16886         * docs/random/ensonic/media-device-daemon.txt:
16887         * tests/examples/controller/.cvsignore:
16888         * tests/examples/controller/Makefile.am:
16889         * tests/examples/controller/audio-example.c: (main):
16890         * tests/examples/helloworld/.cvsignore:
16891         * tests/examples/helloworld/Makefile.am:
16892         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16893         * tests/examples/launch/.cvsignore:
16894         * tests/examples/launch/Makefile.am:
16895         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16896         * tests/examples/metadata/.cvsignore:
16897         * tests/examples/metadata/Makefile.am:
16898         * tests/examples/metadata/read-metadata.c: (message_loop),
16899         (make_pipeline), (print_tag), (main):
16900         * tests/examples/queue/.cvsignore:
16901         * tests/examples/queue/Makefile.am:
16902         * tests/examples/queue/queue.c: (event_loop), (main):
16903         * tests/examples/typefind/.cvsignore:
16904         * tests/examples/typefind/Makefile.am:
16905         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16906         (main):
16907         * tests/examples/xml/.cvsignore:
16908         * tests/examples/xml/Makefile.am:
16909         * tests/examples/xml/createxml.c: (object_saved), (main):
16910         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16911         * tests/old/examples/Makefile.am:
16912         * tests/old/examples/TODO:
16913         * tests/old/examples/controller/.cvsignore:
16914         * tests/old/examples/controller/Makefile.am:
16915         * tests/old/examples/controller/audio-example.c:
16916         * tests/old/examples/helloworld/.cvsignore:
16917         * tests/old/examples/helloworld/Makefile.am:
16918         * tests/old/examples/helloworld/helloworld.c:
16919         * tests/old/examples/launch/.cvsignore:
16920         * tests/old/examples/launch/Makefile.am:
16921         * tests/old/examples/launch/mp3parselaunch.c:
16922         * tests/old/examples/launch/mp3play:
16923         * tests/old/examples/manual/Makefile.am:
16924         * tests/old/examples/metadata/Makefile.am:
16925         * tests/old/examples/metadata/read-metadata.c:
16926         * tests/old/examples/queue/.cvsignore:
16927         * tests/old/examples/queue/Makefile.am:
16928         * tests/old/examples/queue/queue.c:
16929         * tests/old/examples/typefind/.cvsignore:
16930         * tests/old/examples/typefind/Makefile.am:
16931         * tests/old/examples/typefind/typefind.c:
16932         * tests/old/examples/xml/.cvsignore:
16933         * tests/old/examples/xml/Makefile.am:
16934         * tests/old/examples/xml/createxml.c:
16935         * tests/old/examples/xml/runxml.c:
16936           applied some simple fixing to some examples
16937           re-enabled the working examples
16938
16939 2005-12-12  Wim Taymans  <wim@fluendo.com>
16940
16941         * gst/gstsegment.c: (gst_segment_init),
16942         (gst_segment_set_last_stop), (gst_segment_set_seek),
16943         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16944         (gst_segment_to_running_time):
16945         Added more documentation.
16946         Make sure the last_pos value is updated properly.
16947         Make sure to_stream_time and to_running_time don't
16948         operate on wrong values.
16949
16950         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16951         Update check.
16952
16953 2005-12-12  Michael Smith  <msmith@fluendo.com>
16954
16955         * plugins/elements/gsttypefindelement.c: (free_entry),
16956         (gst_type_find_element_chain):
16957           Now that we're not leaking factories, make sure we keep references
16958           to them while we need them.
16959
16960 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16961
16962         * tests/check/gst/struct_i386.h:
16963           ifdef out the XML structs
16964
16965 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16966
16967         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16968           floor is not needed, F is always positive; this obviates the
16969           need for adding -lm when building without libxml
16970
16971 2005-12-12  Wim Taymans  <wim@fluendo.com>
16972
16973         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16974         Take current playback rate into account when reporting
16975         the position.
16976
16977 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16978
16979         * docs/manual/mime-world.fig:
16980           Let's try this again, this time with a file that is
16981           actually in XFig format.
16982
16983 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16984
16985         * docs/manual/mime-world.fig:
16986           Add audioconvert element to diagram so that it
16987           matches the text and the code (fixes #319526).
16988
16989 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16990
16991         * docs/pwg/building-chainfn.xml:
16992         * docs/pwg/building-pads.xml:
16993         * docs/pwg/building-state.xml:
16994         * docs/pwg/other-source.xml:
16995           Update state change stuff for 0.10 (fixes #322969).
16996
16997 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16998
16999         * docs/manual/advanced-dataaccess.xml:
17000         * docs/manual/appendix-checklist.xml:
17001         * docs/manual/appendix-programs.xml:
17002         * docs/manual/basics-pads.xml:
17003         * docs/manual/highlevel-components.xml:
17004         * docs/manual/manual.xml:
17005           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
17006           add converters in front of pipelines; remove curly
17007           brackets for threads stuff, they no longer exist; use
17008           GST_TYPE_FRACTION for framerates; update some pieces of
17009           code to 0.10, but there's plenty more to do.
17010
17011         * docs/manual/appendix-porting.xml:
17012           Expand on asynchroneous state changes; s/0.9/0.10/;
17013           mention disappearance of gst_init_get_popt_table()
17014           (fixes #322916).
17015
17016 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17017
17018         * docs/faq/using.xml:
17019           Spider no longer exists, and neither does gst-launch-ext.
17020           Update examples to use decodebin and playbin and put
17021           converters in front of sinks (fixes #323726).
17022
17023 2005-12-09  Michael Smith  <msmith@fluendo.com>
17024
17025         * plugins/elements/gsttypefindelement.c: (find_peek),
17026         (gst_type_find_element_chain):
17027           Fix leaking element factories in typefinding.
17028           Fix problem where we forgot about a probable type on non-seekable
17029           files, and thus later mis-typefound it.
17030
17031 2005-12-09  Michael Smith  <msmith@fluendo.com>
17032
17033         * common/m4/gst-makecontext.m4:
17034         * common/m4/gst-mcsc.m4:
17035         * configure.ac:
17036         * win32/common/config.h:
17037         * win32/common/config.h.in:
17038           Remove makecontext stuff; not used in 0.10 and causes problems on
17039           HPUX according to bug #322441
17040
17041 2005-12-07  Wim Taymans  <wim@fluendo.com>
17042
17043         * tests/check/Makefile.am:
17044         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
17045         (main):
17046         * tests/check/libs/struct_i386.h:
17047         Added ABI check for libs
17048
17049 2005-12-07  Wim Taymans  <wim@fluendo.com>
17050
17051         * tests/check/Makefile.am:
17052         And add the struct_i386.h to dist.
17053
17054 2005-12-07  Wim Taymans  <wim@fluendo.com>
17055
17056         * tests/check/Makefile.am:
17057         * tests/check/gst/.cvsignore:
17058         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17059         (main):
17060         * tests/check/gst/struct_i386.h:
17061         Added check for ABI compatibility.
17062
17063 2005-12-07  Wim Taymans  <wim@fluendo.com>
17064
17065         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17066         (gst_fake_src_get_times), (gst_fake_src_create):
17067         Fix broken sync option, fixes #323259
17068
17069 2005-12-07  Wim Taymans  <wim@fluendo.com>
17070
17071         * gst/gstbuffer.c:
17072         Small docs update.
17073
17074         * gst/gstcaps.c: (gst_caps_is_equal):
17075         Don't assert on NULL <--> X. Fixes #323260
17076
17077         * gst/gstminiobject.c: (gst_mini_object_replace):
17078         If we're doing atomic operations, we might just as well use
17079         the proper way to get an atomic pointer.
17080
17081         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17082         Clean up debugging.
17083
17084 2005-12-07  Michael Smith  <msmith@fluendo.com>
17085
17086         * gst/parse/grammar.y:
17087           Remove handling of { } for threads.
17088
17089 2005-12-06  David Schleef  <ds@schleef.org>
17090
17091         * libs/gst/base/gstbasetransform.c: speling fix.
17092
17093 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17094
17095         * docs/libs/tmpl/gstdataprotocol.sgml:
17096         * docs/random/omega/testing/gstobject.c:
17097         * gst/gst.c:
17098         * gst/gstclock.c:
17099         * gst/gstelement.c:
17100         * gst/gstelementfactory.c:
17101         * gst/gsterror.c:
17102         * gst/gstevent.c:
17103         * gst/gstghostpad.c:
17104         * gst/gstinfo.c:
17105         * gst/gstpadtemplate.c:
17106         * gst/gstregistryxml.c:
17107         * gst/gsttaglist.c:
17108         * gst/gsttagsetter.c:
17109         * gst/gsttypefind.c:
17110         * gst/gstvalue.c:
17111         * libs/gst/base/gstbasesrc.c:
17112         * libs/gst/net/gstnetclientclock.c:
17113         * libs/gst/net/gstnettimeprovider.c:
17114         * plugins/elements/gstfakesrc.c:
17115         * plugins/elements/gstfdsrc.c:
17116         * plugins/elements/gstfilesrc.c:
17117         * plugins/elements/gstidentity.c:
17118         * plugins/elements/gstqueue.c:
17119         * plugins/elements/gsttypefindelement.c:
17120         * plugins/indexers/gstfileindex.c:
17121         * plugins/indexers/gstmemindex.c:
17122         * tests/check/gst/gsttag.c:
17123         * tests/old/examples/cutter/cutter.c:
17124         * tests/old/examples/mixer/mixer.c:
17125         * tests/old/examples/xml/runxml.c: (main):
17126         * tests/old/testsuite/caps/normalisation.c:
17127         * tests/old/testsuite/debug/global.c:
17128         * tests/old/testsuite/parse/parse1.c:
17129         * tools/gst-xmlinspect.c:
17130         * win32/common/dirent.c:
17131           expand tabs
17132
17133 === release 0.10.0 ===
17134
17135 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17136
17137         * configure.ac:
17138           releasing 0.10.0, "Maroilles"
17139
17140 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17141
17142         submitted by: Funda Wang <fundawang@linux.net.cn>
17143
17144         * po/LINGUAS:
17145         * po/zh_CN.po:
17146           added Chinese (Traditional) translation
17147
17148 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17149
17150         * docs/gst/gstreamer-sections.txt:
17151         * docs/libs/tmpl/gstdataprotocol.sgml:
17152         * docs/random/thomasvs/TODO:
17153         * gst/gstutils.c:
17154         * gst/gstutils.h:
17155           fix docs
17156
17157 2005-12-05  Andy Wingo  <wingo@pobox.com>
17158
17159         patch by: Wim Taymans <wim@fluendo.com>
17160
17161         * libs/gst/base/gstbasetransform.c
17162         (gst_base_transform_prepare_output_buf)
17163         (gst_base_transform_buffer_alloc):
17164         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17165         alloc_buffer_and_set_caps.
17166
17167         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17168         set_caps on the source pad.
17169         (gst_pad_alloc_buffer_and_set_caps): New function, does what
17170         alloc_buffer used to do. Fixes #322874.
17171
17172         * docs/gst/gstreamer-sections.txt: 
17173         * docs/design/part-negotiation.txt: 
17174         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17175         changes.
17176
17177 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17178
17179         patch by: Sebastien Moutte
17180
17181         * win32/MANIFEST:
17182         * win32/common/config.h.in:
17183         * win32/vs6/libgstcontroller.dsp:
17184           win32 build fixes
17185
17186 2005-12-05  Wim Taymans  <wim@fluendo.com>
17187
17188         * gst/gstcaps.c: (gst_caps_is_equal):
17189         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17190         (gst_fake_src_create):
17191         Back out previous code changes, leave doc updates, file bugs 
17192         instead. 
17193
17194 2005-12-05  Wim Taymans  <wim@fluendo.com>
17195
17196         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17197         (gst_fake_src_get_times), (gst_fake_src_create):
17198         * plugins/elements/gstfakesrc.h:
17199         Fix broken sync code.
17200
17201 2005-12-05  Wim Taymans  <wim@fluendo.com>
17202
17203         * gst/gstcaps.c: (gst_caps_is_equal):
17204         Comparing NULL against !NULL yields different caps, not a
17205         failure.
17206
17207 2005-12-05  Wim Taymans  <wim@fluendo.com>
17208
17209         * gst/gstpipeline.c:
17210         Fix small typo in docs.
17211
17212 2005-12-05  Andy Wingo  <wingo@pobox.com>
17213
17214         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
17215
17216         * gst/gst.c (init_post): remove hard-coded 0.9 location for
17217         registries/plugins with a MAJORMINOR one.
17218         (plugin_desc): Rename library from gstcoreleements to
17219         staticelements. Fixes #323222.
17220
17221 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
17222
17223         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17224           Change debug category to 'collectpads' from 'collect_pads'
17225           (fixes #323250).
17226
17227 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17228
17229         patch by: Sebastien Moutte
17230
17231         * libs/gst/controller/gstinterpolation.c:
17232           use convert function for uint64/double
17233         * win32/vs6/libgstcontroller.dsp:
17234           link to GLib
17235
17236 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17237
17238         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17239         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17240         * gst/gstutils.h:
17241         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17242           add tests that seem to show that the guint64/gdouble conversions
17243           are correct.
17244
17245 2005-12-02  Wim Taymans  <wim@fluendo.com>
17246
17247         * gst/gstregistry.c: (gst_registry_add_path):
17248         * gst/gstregistry.h:
17249         * gst/gstregistryxml.c:
17250         Fix docs again.
17251
17252 2005-12-02  Wim Taymans  <wim@fluendo.com>
17253
17254         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17255         (gst_util_uint64_scale_int):
17256         Small cleanup.
17257
17258         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17259         Add debug log line.
17260
17261         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17262         Add FIXME.
17263
17264 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17265
17266         * win32/MANIFEST:
17267         * win32/common/config.h:
17268         * win32/vs6/gstreamer.dsw:
17269         * win32/vs6/libgstcoreelements.dsp:
17270         * win32/vs6/libgstelements.dsp:
17271           renamed core elements plugin
17272
17273 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17274
17275         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17276         (get_candidates):
17277           do piece-wise major/minor comparison so 0.9 < 0.10
17278           also allow .exe extensions for tools
17279
17280 2005-12-02  Michael Smith  <msmith@fluendo.com>
17281
17282         * gst/gst.c:
17283           Escape a % to make gtkdoc happier; bug 322958.
17284
17285 === release 0.9.7 ===
17286
17287 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17288
17289         * configure.ac:
17290           releasing 0.9.7, "My Dog Has No Nose"
17291
17292 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17293
17294         * common/gst-xmlinspect.py:
17295         * configure.ac:
17296         * docs/libs/tmpl/gstdataprotocol.sgml:
17297         * docs/random/release:
17298         * po/af.po:
17299         * po/az.po:
17300         * po/bg.po:
17301         * po/ca.po:
17302         * po/cs.po:
17303         * po/de.po:
17304         * po/en_GB.po:
17305         * po/fr.po:
17306         * po/it.po:
17307         * po/nb.po:
17308         * po/nl.po:
17309         * po/ru.po:
17310         * po/sq.po:
17311         * po/sr.po:
17312         * po/sv.po:
17313         * po/tr.po:
17314         * po/uk.po:
17315         * po/vi.po:
17316         * win32/common/config.h:
17317         * win32/common/config.h.in:
17318         * win32/vs6/gst_inspect.dsp:
17319         * win32/vs6/gst_launch.dsp:
17320         * win32/vs6/libgstbase.dsp:
17321         * win32/vs6/libgstelements.dsp:
17322         * win32/vs6/libgstreamer.dsp:
17323         * win32/vs7/GStreamer.vcproj:
17324         * win32/vs7/gst-inspect.vcproj:
17325         * win32/vs7/gst-launch.vcproj:
17326         * win32/vs7/libgstbase.vcproj:
17327           bump GST_MAJORMINOR to 0.10
17328           reset libtool version
17329
17330 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17331
17332         * po/LINGUAS:
17333         * po/bg.po:
17334           Added Bulgarian translation by (Alexander Shopov)
17335
17336 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17337
17338         * tests/check/gst/gstplugin.c:
17339           fix test
17340
17341 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17342
17343         * common/gst-xmlinspect.py:
17344         * common/gtk-doc-plugins.mak:
17345         * configure.ac:
17346         * docs/Makefile.am:
17347         * docs/gst/Makefile.am:
17348         * docs/gst/gstreamer-docs.sgml:
17349         * docs/gst/gstreamer-sections.txt:
17350         * docs/gst/gstreamer.types:
17351         * docs/gst/gstreamer.types.in:
17352         * docs/plugins/Makefile.am:
17353         * docs/plugins/gstreamer-plugins-docs.sgml:
17354         * docs/plugins/gstreamer-plugins-sections.txt:
17355         * docs/plugins/gstreamer-plugins.types:
17356         * docs/plugins/inspect.stamp:
17357         * docs/plugins/inspect/plugin-coreelements.xml:
17358         * docs/plugins/inspect/plugin-coreindexers.xml:
17359         * docs/plugins/scanobj-build.stamp:
17360         * gstreamer.spec.in:
17361         * plugins/elements/Makefile.am:
17362         * plugins/elements/gstelements.c:
17363         * plugins/elements/gstfakesink.c:
17364         * plugins/elements/gstfakesrc.c:
17365         * plugins/elements/gstfilesink.c:
17366         * plugins/elements/gstfilesrc.c:
17367         * plugins/elements/gstqueue.c:
17368         * plugins/indexers/Makefile.am:
17369         * plugins/indexers/gstindexers.c:
17370           document core plugins in a separate document just like all the
17371           others
17372           rename these plugins to something starting with core
17373
17374 2005-12-01  Andy Wingo  <wingo@pobox.com>
17375
17376         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17377         padding here before, but it missed the commit.
17378
17379 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17380
17381         * libs/gst/controller/gstinterpolation.c:
17382           whitespace prices have crashed, we should feel free to use some now
17383           use gst_guint64_to_gdouble
17384
17385 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17386
17387         * libs/gst/controller/gstcontroller.c:
17388         * libs/gst/controller/gsthelper.c:
17389         * libs/gst/controller/gstinterpolation.c:
17390         * libs/gst/controller/lib.c:
17391           wrap config.h include
17392
17393 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17394
17395         * docs/gst/gstreamer-sections.txt:
17396           update docs
17397
17398 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17399
17400         * plugins/elements/gstelements.c:
17401         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17402         (gst_fd_sink__class_init), (gst_fd_sink__init),
17403         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17404         (gst_fd_sink__get_property):
17405         * plugins/elements/gstfdsink.h:
17406         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17407         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17408         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17409         (gst_fd_src_unlock), (gst_fd_src_set_property),
17410         (gst_fd_src_get_property), (gst_fd_src_create),
17411         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17412         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17413         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17414         (gst_fd_src_uri_handler_init):
17415         * plugins/elements/gstfdsrc.h:
17416         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17417           more anal cleanup
17418
17419 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17420
17421         * docs/gst/Makefile.am:
17422         * docs/gst/gstreamer.types.in:
17423         * gst/Makefile.am:
17424           fix the docs build
17425
17426 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17427
17428         * configure.ac:
17429         * gst/Makefile.am:
17430         * gst/gst.c:
17431         * gst/gstplugin.h:
17432         * gst/gstregistry.h:
17433         * tests/benchmarks/complexity.c:
17434         * tests/benchmarks/mass-elements.c:
17435         * tests/check/Makefile.am:
17436         * tools/Makefile.am:
17437         * tools/gst-inspect.c:
17438         * tools/gst-xmlinspect.c:
17439           various fixes to make
17440           --disable-nls --disable-registry --disable-loadsave
17441           --disable-parse --disable-gst-debug
17442           work and get the core .so down to 360444 bytes after stripping
17443
17444 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17445
17446         * Makefile.am:
17447         * configure.ac:
17448           descend into tests
17449         * docs/random/thomasvs/TODO:
17450         * tests/Makefile.am:
17451         * tests/README:
17452           add a README
17453
17454 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17455
17456         * win32/GStreamer.vcproj:
17457         * win32/MANIFEST:
17458         * win32/Makefile:
17459         * win32/Makefile.inspect:
17460         * win32/Makefile.launch:
17461         * win32/Makefile.register:
17462         * win32/README.txt:
17463         * win32/gst-inspect.vcproj:
17464         * win32/gst-launch.vcproj:
17465         * win32/gst-register.vcproj:
17466         * win32/gstelements.vcproj:
17467         * win32/gstgetbits.def:
17468         * win32/gstgetbits.vcproj:
17469         * win32/gstreamer-dbg.def:
17470         * win32/gstreamer.def:
17471         * win32/libgstbase.def:
17472         * win32/libgstbase.vcproj:
17473         * win32/link_oldruntime.c:
17474         * win32/mman.c:
17475         * win32/mman.h:
17476         * win32/mman.inl:
17477         * win32/msvc71.sln:
17478           move even more stuff, win32/ is nice and clean now
17479
17480 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17481
17482         * libs/gst/control/.cvsignore:
17483         * win32/MANIFEST:
17484         * win32/config.h:
17485         * win32/dirent.c:
17486         * win32/dirent.h:
17487         * win32/gstbytestream.def:
17488         * win32/gstbytestream.vcproj:
17489         * win32/gstconfig.h:
17490         * win32/gstenumtypes.c:
17491         * win32/gstenumtypes.h:
17492         * win32/gstoptimalscheduler.vcproj:
17493         * win32/gstversion.h:
17494         * win32/gtchar.h:
17495         * win32/testsuite/bins.vcproj:
17496         * win32/testsuite/bytestream.vcproj:
17497         * win32/testsuite/caps.vcproj:
17498         * win32/testsuite/cleanup.vcproj:
17499         * win32/testsuite/clock.vcproj:
17500         * win32/testsuite/debug.vcproj:
17501         * win32/testsuite/dlopen.vcproj:
17502         * win32/testsuite/dynparams.vcproj:
17503         * win32/testsuite/elements.vcproj:
17504         * win32/testsuite/ghostpads.vcproj:
17505         * win32/testsuite/indexers.vcproj:
17506         * win32/testsuite/negotiation.vcproj:
17507         * win32/testsuite/parse.vcproj:
17508         * win32/testsuite/plugin.vcproj:
17509         * win32/testsuite/refcounting.vcproj:
17510         * win32/testsuite/schedulers.vcproj:
17511         * win32/testsuite/states.vcproj:
17512         * win32/testsuite/tags.vcproj:
17513         * win32/testsuite/threads.vcproj:
17514           remove old win32 stuff that isn't maintained and should be
17515           reorganized
17516
17517 2005-11-30  Andy Wingo  <wingo@pobox.com>
17518
17519         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17520         loading the gst.interfaces python module bork.
17521
17522         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17523         available since GLib 2.2. Fixes #318031.
17524
17525 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17526
17527         * Makefile.am:
17528         * check/.cvsignore:
17529         * check/Makefile.am:
17530         * check/elements/.cvsignore:
17531         * check/elements/fakesrc.c:
17532         * check/elements/fdsrc.c:
17533         * check/elements/identity.c:
17534         * check/generic/.cvsignore:
17535         * check/generic/states.c:
17536         * check/gst-libs/.cvsignore:
17537         * check/gst-libs/controller.c:
17538         * check/gst-libs/gdp.c:
17539         * check/gst/.cvsignore:
17540         * check/gst/capslist.h:
17541         * check/gst/gst.c:
17542         * check/gst/gstbin.c:
17543         * check/gst/gstbuffer.c:
17544         * check/gst/gstbus.c:
17545         * check/gst/gstcaps.c:
17546         * check/gst/gstelement.c:
17547         * check/gst/gstevent.c:
17548         * check/gst/gstghostpad.c:
17549         * check/gst/gstiterator.c:
17550         * check/gst/gstmessage.c:
17551         * check/gst/gstminiobject.c:
17552         * check/gst/gstobject.c:
17553         * check/gst/gstpad.c:
17554         * check/gst/gstpipeline.c:
17555         * check/gst/gstplugin.c:
17556         * check/gst/gstsegment.c:
17557         * check/gst/gststructure.c:
17558         * check/gst/gstsystemclock.c:
17559         * check/gst/gsttag.c:
17560         * check/gst/gstutils.c:
17561         * check/gst/gstvalue.c:
17562         * check/net/.cvsignore:
17563         * check/net/gstnetclientclock.c:
17564         * check/net/gstnettimeprovider.c:
17565         * check/pipelines/.cvsignore:
17566         * check/pipelines/cleanup.c:
17567         * check/pipelines/simple_launch_lines.c:
17568         * check/pipelines/stress.c:
17569         * check/states/.cvsignore:
17570         * check/states/sinks.c:
17571         * configure.ac:
17572         * examples/Makefile.am:
17573         * examples/appreader/.cvsignore:
17574         * examples/appreader/Makefile.am:
17575         * examples/appreader/appreader.c:
17576         * examples/controller/.cvsignore:
17577         * examples/controller/Makefile.am:
17578         * examples/controller/audio-example.c:
17579         * examples/cutter/.cvsignore:
17580         * examples/cutter/Makefile.am:
17581         * examples/cutter/cutter.c:
17582         * examples/cutter/cutter.h:
17583         * examples/events/Makefile.am:
17584         * examples/events/seek.c:
17585         * examples/helloworld/.cvsignore:
17586         * examples/helloworld/Makefile.am:
17587         * examples/helloworld/helloworld.c:
17588         * examples/helloworld2/.cvsignore:
17589         * examples/helloworld2/Makefile.am:
17590         * examples/helloworld2/helloworld2.c:
17591         * examples/launch/.cvsignore:
17592         * examples/launch/Makefile.am:
17593         * examples/launch/mp3parselaunch.c:
17594         * examples/launch/mp3play:
17595         * examples/manual/.cvsignore:
17596         * examples/manual/Makefile.am:
17597         * examples/manual/extract.pl:
17598         * examples/metadata/Makefile.am:
17599         * examples/metadata/read-metadata.c:
17600         * examples/mixer/.cvsignore:
17601         * examples/mixer/Makefile.am:
17602         * examples/mixer/mixer.c:
17603         * examples/mixer/mixer.h:
17604         * examples/pingpong/.cvsignore:
17605         * examples/pingpong/Makefile.am:
17606         * examples/pingpong/pingpong.c:
17607         * examples/plugins/.cvsignore:
17608         * examples/plugins/Makefile.am:
17609         * examples/plugins/example.c:
17610         * examples/plugins/example.h:
17611         * examples/pwg/.cvsignore:
17612         * examples/pwg/Makefile.am:
17613         * examples/pwg/extract.pl:
17614         * examples/queue/.cvsignore:
17615         * examples/queue/Makefile.am:
17616         * examples/queue/queue.c:
17617         * examples/queue2/.cvsignore:
17618         * examples/queue2/Makefile.am:
17619         * examples/queue2/queue2.c:
17620         * examples/queue3/.cvsignore:
17621         * examples/queue3/Makefile.am:
17622         * examples/queue3/queue3.c:
17623         * examples/queue4/.cvsignore:
17624         * examples/queue4/Makefile.am:
17625         * examples/queue4/queue4.c:
17626         * examples/retag/.cvsignore:
17627         * examples/retag/Makefile.am:
17628         * examples/retag/retag.c:
17629         * examples/retag/transcode.c:
17630         * examples/thread/.cvsignore:
17631         * examples/thread/Makefile.am:
17632         * examples/thread/thread.c:
17633         * examples/typefind/.cvsignore:
17634         * examples/typefind/Makefile.am:
17635         * examples/typefind/typefind.c:
17636         * examples/xml/.cvsignore:
17637         * examples/xml/Makefile.am:
17638         * examples/xml/createxml.c:
17639         * examples/xml/runxml.c:
17640         * tests/Makefile.am:
17641         * tests/check/Makefile.am:
17642         * testsuite/.cvsignore:
17643         * testsuite/Makefile.am:
17644         * testsuite/Rules:
17645         * testsuite/caps/.cvsignore:
17646         * testsuite/caps/Makefile.am:
17647         * testsuite/caps/app_fixate.c:
17648         * testsuite/caps/audioscale.c:
17649         * testsuite/caps/caps.c:
17650         * testsuite/caps/caps.h:
17651         * testsuite/caps/caps_strings:
17652         * testsuite/caps/compatibility.c:
17653         * testsuite/caps/deserialize.c:
17654         * testsuite/caps/enumcaps.c:
17655         * testsuite/caps/eratosthenes.c:
17656         * testsuite/caps/filtercaps.c:
17657         * testsuite/caps/fixed.c:
17658         * testsuite/caps/fraction-convert.c:
17659         * testsuite/caps/fraction-multiply-and-zero.c:
17660         * testsuite/caps/intersect2.c:
17661         * testsuite/caps/intersection.c:
17662         * testsuite/caps/normalisation.c:
17663         * testsuite/caps/random.c:
17664         * testsuite/caps/renegotiate.c:
17665         * testsuite/caps/sets.c:
17666         * testsuite/caps/simplify.c:
17667         * testsuite/caps/string-conversions.c:
17668         * testsuite/caps/structure.c:
17669         * testsuite/caps/subtract.c:
17670         * testsuite/caps/union.c:
17671         * testsuite/debug/.cvsignore:
17672         * testsuite/debug/Makefile.am:
17673         * testsuite/debug/category.c:
17674         * testsuite/debug/commandline.c:
17675         * testsuite/debug/global.c:
17676         * testsuite/debug/output.c:
17677         * testsuite/debug/printf_extension.c:
17678         * testsuite/dlopen/.cvsignore:
17679         * testsuite/dlopen/Makefile.am:
17680         * testsuite/dlopen/dlopen_gst.c:
17681         * testsuite/dlopen/loadgst.c:
17682         * testsuite/elements/.cvsignore:
17683         * testsuite/elements/Makefile.am:
17684         * testsuite/elements/gst-inspect-check.in:
17685         * testsuite/elements/struct_i386.h:
17686         * testsuite/elements/struct_size.c:
17687         * testsuite/indexers/.cvsignore:
17688         * testsuite/indexers/Makefile.am:
17689         * testsuite/indexers/cache1.c:
17690         * testsuite/indexers/indexdump.c:
17691         * testsuite/parse/.cvsignore:
17692         * testsuite/parse/Makefile.am:
17693         * testsuite/parse/parse1.c:
17694         * testsuite/parse/parse2.c:
17695         * testsuite/plugin/.cvsignore:
17696         * testsuite/plugin/Makefile.am:
17697         * testsuite/plugin/README:
17698         * testsuite/plugin/dynamic.c:
17699         * testsuite/plugin/linked.c:
17700         * testsuite/plugin/loading.c:
17701         * testsuite/plugin/registry.c:
17702         * testsuite/plugin/static.c:
17703         * testsuite/plugin/static2.c:
17704         * testsuite/plugin/testplugin.c:
17705         * testsuite/plugin/testplugin2.c:
17706         * testsuite/plugin/testplugin2_s.c:
17707         * testsuite/plugin/testplugin_s.c:
17708         * testsuite/refcounting/.cvsignore:
17709         * testsuite/refcounting/Makefile.am:
17710         * testsuite/refcounting/bin.c:
17711         * testsuite/refcounting/element.c:
17712         * testsuite/refcounting/element_pad.c:
17713         * testsuite/refcounting/mainloop.c:
17714         * testsuite/refcounting/mem.c:
17715         * testsuite/refcounting/mem.h:
17716         * testsuite/refcounting/object.c:
17717         * testsuite/refcounting/pad.c:
17718         * testsuite/refcounting/sched.c:
17719         * testsuite/refcounting/thread.c:
17720         * testsuite/states/.cvsignore:
17721         * testsuite/states/Makefile.am:
17722         * testsuite/states/bin.c:
17723         * testsuite/states/locked.c:
17724         * testsuite/states/parent.c:
17725         * testsuite/threads/.cvsignore:
17726         * testsuite/threads/159566.c:
17727         * testsuite/threads/159852.c:
17728         * testsuite/threads/Makefile.am:
17729         * testsuite/threads/queue.c:
17730         * testsuite/threads/signals.c:
17731         * testsuite/threads/staticrec.c:
17732         * testsuite/threads/thread.c:
17733         * testsuite/threads/threadb.c:
17734         * testsuite/threads/threadc.c:
17735         * testsuite/threads/threadd.c:
17736         * testsuite/threads/threade.c:
17737         * testsuite/threads/threadf.c:
17738         * testsuite/threads/threadg.c:
17739         * testsuite/threads/threadh.c:
17740         * testsuite/threads/threadi.c:
17741           move all of these under tests
17742
17743 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17744
17745         * configure.ac:
17746         * tests/Makefile.am:
17747           fix distcheck
17748
17749 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17750
17751         * docs/gst/gstreamer-sections.txt:
17752         * tests/sched/.cvsignore:
17753         * tests/sched/Makefile.am:
17754         * tests/sched/cases/(fs-fs).xml:
17755         * tests/sched/cases/(fs-i-fs).xml:
17756         * tests/sched/cases/(fs-i-i-fs).xml:
17757         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17758         * tests/sched/dynamic-pipeline.c:
17759         * tests/sched/interrupt1.c:
17760         * tests/sched/interrupt2.c:
17761         * tests/sched/interrupt3.c:
17762         * tests/sched/runtestcases:
17763         * tests/sched/runxml.c:
17764         * tests/sched/sched-stress.c:
17765         * tests/sched/sort.c:
17766         * tests/sched/testcases:
17767         * tests/sched/testcases1.tc:
17768         * tests/seeking/.cvsignore:
17769         * tests/seeking/Makefile.am:
17770         * tests/seeking/seeking1.c:
17771         * tests/threadstate/.cvsignore:
17772         * tests/threadstate/Makefile.am:
17773         * tests/threadstate/test1.c:
17774         * tests/threadstate/test2.c:
17775         * tests/threadstate/threadstate1.c:
17776         * tests/threadstate/threadstate2.c:
17777         * tests/threadstate/threadstate3.c:
17778         * tests/threadstate/threadstate4.c:
17779         * tests/threadstate/threadstate5.c:
17780           remove obsolete tests
17781         * configure.ac:
17782         * tests/bench-complexity.scm:
17783         * tests/bench-mass_elements.scm:
17784         * tests/complexity.c:
17785         * tests/complexity.gnuplot:
17786         * tests/instantiate/.cvsignore:
17787         * tests/instantiate/Makefile.am:
17788         * tests/instantiate/caps.c:
17789         * tests/mass_elements.c:
17790         * tests/network-clock-utils.scm:
17791         * tests/network-clock.scm:
17792         * tests/plot-data:
17793         First pass at cleaning up tests/ dir before moving the rest
17794         Combined with CVS surgery
17795
17796 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17797
17798         * po/POTFILES.in:
17799           queue has moved, update
17800
17801 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17802
17803         * docs/gst/gstreamer-sections.txt:
17804           remove double entries from the docs
17805         * gst/gst_private.h:
17806         * gst/gstinfo.c: (_gst_debug_init):
17807           remove the THREAD debug category
17808         * gst/Makefile.am:
17809         * gst/gstqueue.c:
17810         * gst/gstqueue.h:
17811         * docs/gst/gstreamer.types:
17812         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17813         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17814           completely move queue and fix up debugging categories
17815
17816 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17817
17818         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17819           make initialization portable, using LL is not
17820
17821 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17822
17823         * win32/common/gstconfig.h:
17824           add large padding
17825
17826 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17827
17828         * win32/common/libgstreamer.def:
17829           rename symbols; sort base section
17830
17831 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17832
17833         * gst/gstclock.c: (do_linear_regression):
17834           remove crack non-portable handrolled DEBUG macro
17835
17836 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17837
17838         * docs/random/release:
17839           update notes
17840         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17841         (gst_object_flags_get_type), (register_gst_bin_flags),
17842         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17843         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17844         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17845         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17846         (gst_caps_flags_get_type), (register_gst_clock_return),
17847         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17848         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17849         (gst_clock_flags_get_type), (register_gst_state),
17850         (gst_state_get_type), (register_gst_state_change_return),
17851         (gst_state_change_return_get_type), (register_gst_state_change),
17852         (gst_state_change_get_type), (register_gst_element_flags),
17853         (gst_element_flags_get_type), (register_gst_core_error),
17854         (gst_core_error_get_type), (register_gst_library_error),
17855         (gst_library_error_get_type), (register_gst_resource_error),
17856         (gst_resource_error_get_type), (register_gst_stream_error),
17857         (gst_stream_error_get_type), (register_gst_event_type_flags),
17858         (gst_event_type_flags_get_type), (register_gst_event_type),
17859         (gst_event_type_get_type), (register_gst_seek_type),
17860         (gst_seek_type_get_type), (register_gst_seek_flags),
17861         (gst_seek_flags_get_type), (register_gst_format),
17862         (gst_format_get_type), (register_gst_index_certainty),
17863         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17864         (gst_index_entry_type_get_type),
17865         (register_gst_index_lookup_method),
17866         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17867         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17868         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17869         (gst_index_flags_get_type), (register_gst_debug_level),
17870         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17871         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17872         (gst_iterator_result_get_type), (register_gst_iterator_item),
17873         (gst_iterator_item_get_type), (register_gst_message_type),
17874         (gst_message_type_get_type), (register_gst_mini_object_flags),
17875         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17876         (gst_pad_link_return_get_type), (register_gst_flow_return),
17877         (gst_flow_return_get_type), (register_gst_activate_mode),
17878         (gst_activate_mode_get_type), (register_gst_pad_direction),
17879         (gst_pad_direction_get_type), (register_gst_pad_flags),
17880         (gst_pad_flags_get_type), (register_gst_pad_presence),
17881         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17882         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17883         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17884         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17885         (gst_plugin_flags_get_type), (register_gst_rank),
17886         (gst_rank_get_type), (register_gst_query_type),
17887         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17888         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17889         (gst_tag_flag_get_type), (register_gst_task_state),
17890         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17891         (gst_alloc_trace_flags_get_type),
17892         (register_gst_type_find_probability),
17893         (gst_type_find_probability_get_type), (register_gst_uri_type),
17894         (gst_uri_type_get_type), (register_gst_parse_error),
17895         (gst_parse_error_get_type):
17896         * win32/common/gstenumtypes.h:
17897         * win32/common/gstversion.h:
17898           update visual studio generated files
17899
17900 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17901
17902         * win32/vs6/libgstbase.dsp:
17903         * win32/vs6/libgstelements.dsp:
17904           update project files for new locations
17905
17906 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17907
17908         * Makefile.am:
17909           remove some files
17910         * README:
17911           reinstate and update
17912         * DEVEL:
17913         * REQUIREMENTS:
17914           removed
17915         * LICENSE:
17916         * docs/random/LICENSE:
17917           moved to random
17918
17919 2005-11-30  Edward Hervey  <edward@fluendo.com>
17920
17921         * gst/gsttypefind.c: (gst_type_find_register):
17922         * gst/gsttypefind.h:
17923         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17924         (gst_type_find_factory_dispose):
17925         * gst/gsttypefindfactory.h:
17926         Fix memory leak in GstTypeFindFactory.
17927
17928 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17929
17930         * gst/gst.c:
17931         * plugins/elements/Makefile.am:
17932         * plugins/elements/gstelements.c:
17933         * plugins/elements/gstqueue.c:
17934           move queue from core to the elements plugin
17935
17936 2005-11-29  Andy Wingo  <wingo@pobox.com>
17937
17938         * libs/gst/base/gstbasetransform.h: 
17939         * libs/gst/base/gstbasesrc.h: 
17940         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17941
17942         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17943         of pointers by which to pad very extensible base classes (like the
17944         ones in libs/gst/base).
17945
17946 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17947
17948         * docs/gst/gstreamer-docs.sgml:
17949         * docs/gst/gstreamer-sections.txt:
17950         * docs/libs/gstreamer-libs-docs.sgml:
17951         * docs/libs/gstreamer-libs-sections.txt:
17952           moving documentation from core to lib
17953
17954 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17955
17956         * check/Makefile.am:
17957         * configure.ac:
17958         * docs/gst/Makefile.am:
17959         * gst/Makefile.am:
17960         * gst/base/.cvsignore:
17961         * gst/base/Makefile.am:
17962         * gst/base/README:
17963         * gst/base/gstadapter.c:
17964         * gst/base/gstadapter.h:
17965         * gst/base/gstbasesink.c:
17966         * gst/base/gstbasesink.h:
17967         * gst/base/gstbasesrc.c:
17968         * gst/base/gstbasesrc.h:
17969         * gst/base/gstbasetransform.c:
17970         * gst/base/gstbasetransform.h:
17971         * gst/base/gstcollectpads.c:
17972         * gst/base/gstcollectpads.h:
17973         * gst/base/gstpushsrc.c:
17974         * gst/base/gstpushsrc.h:
17975         * gst/base/gsttypefindhelper.c:
17976         * gst/base/gsttypefindhelper.h:
17977         * gst/check/Makefile.am:
17978         * gst/check/gstcheck.c:
17979         * gst/check/gstcheck.h:
17980         * gst/net/Makefile.am:
17981         * gst/net/gstnet.h:
17982         * gst/net/gstnetclientclock.c:
17983         * gst/net/gstnetclientclock.h:
17984         * gst/net/gstnettimepacket.c:
17985         * gst/net/gstnettimepacket.h:
17986         * gst/net/gstnettimeprovider.c:
17987         * gst/net/gstnettimeprovider.h:
17988         * libs/gst/Makefile.am:
17989         * libs/gst/base/Makefile.am:
17990         * libs/gst/base/gstbasetransform.c:
17991         * libs/gst/check/Makefile.am:
17992         * plugins/elements/Makefile.am:
17993         * po/POTFILES.in:
17994           CVS surgery + support to move base, check, and net out of gst
17995           and into libs/gst
17996
17997 2005-11-29  Andy Wingo  <wingo@pobox.com>
17998
17999         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
18000
18001         * gst/gststructure.h (struct _GstStructure): Only one pointer of
18002         padding.
18003
18004         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
18005
18006         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
18007
18008         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
18009
18010         * gst/gstobject.h: (struct _GstObject): Only one pointer of
18011         padding; reduces object size by about 30%. We don't expect
18012         anything else to go into gstobject.
18013
18014         * gst/gstminiobject.h (struct _GstMiniObject)
18015         (struct _GstMiniObjectClass): Only one pointer of padding; the
18016         payload is only a pointer and two ints anyway. For the class there
18017         are only two methods as well.
18018         
18019         * gst/gstelement.h (struct _GstElementClass): Removed
18020         the state_changed signal callback, it is not used.
18021
18022 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18023
18024         * docs/gst/gstreamer.types:
18025           fix includes, though they are a little dinky
18026
18027 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18028
18029         * check/Makefile.am:
18030           look in the right place for elements, a lot more chance of
18031           success
18032         * gst/Makefile.am:
18033           remove indexers and elements subdirs
18034         * plugins/Makefile.am:
18035           make indexers conditional
18036
18037 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18038
18039         * Makefile.am:
18040         * configure.ac:
18041         * plugins/elements/Makefile.am:
18042         * plugins/elements/gstcapsfilter.c:
18043         * plugins/elements/gstfilesink.c:
18044         * plugins/elements/gstfilesrc.c:
18045         * plugins/elements/gstidentity.c:
18046         * plugins/indexers/Makefile.am:
18047           do CVS surgery and related build fixery to move elements
18048           and indexers in a new gstreamer/plugins directory, out of the
18049           gst/ directory
18050
18051 2005-11-29  Andy Wingo  <wingo@pobox.com>
18052
18053         * check/Makefile.am:
18054         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18055         * pkgconfig/gstreamer-net.pc.in:
18056         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18057         #322257.
18058
18059 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18060
18061         * tools/Makefile.am:
18062         * tools/gst-complete.1.in:
18063         * tools/gst-complete.c:
18064         * tools/gst-compprep.1.in:
18065         * tools/gst-compprep.c:
18066           removing -compprep and -complete
18067
18068 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18069
18070         * gst/gstevent.c: (gst_event_new_new_segment),
18071         (gst_event_parse_new_segment):
18072         * gst/gstevent.h:
18073           fix #320529 - clean up new_segment API and structure.
18074           Let's hope everyone was using the methods, and not the structure.
18075
18076 2005-11-29  Edward Hervey  <edward@fluendo.com>
18077
18078         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18079         (gst_base_sink_event), (gst_base_sink_do_sync),
18080         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18081         Properly handle non GST_FORMAT_TIME segment
18082         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18083         Properly handle non GST_FORMAT_TIME segment
18084         * gst/gstsegment.c:
18085         This function is valid if the accumulator is 0 and the format
18086         is different from the requested format.
18087         
18088 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18089
18090         * docs/gst/gstreamer-sections.txt:
18091         Add gst_query_new_seeking and gst_query_parse_seeking to the
18092         docs.
18093
18094 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18095
18096         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18097           Treat a pad alloc with new caps the same as if we were not
18098           negotiated, in order to allow a changing upstream output
18099           to produce a new format of data.
18100
18101 2005-11-29  Edward Hervey  <edward@fluendo.com>
18102
18103         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18104         (gst_base_transform_event), (gst_base_transform_eventfunc):
18105         The event virtual method is now properly implemented, with a default
18106         handler
18107         Sub classes should call the parent_class event method. They should
18108         return FALSE if they had a problem handling the given event, or don't
18109         want GstBaseTransform to send that even downstream
18110         * gst/elements/gstidentity.c: (gst_identity_class_init),
18111         (gst_identity_init), (gst_identity_event),
18112         (gst_identity_transform_ip), (gst_identity_set_property),
18113         (gst_identity_get_property):
18114         * gst/elements/gstidentity.h:
18115         Added the single-segment boolean property.
18116         If set to TRUE, it will output a single segment of data, starting from
18117         0, will eat up all incoming newsegment, and modify the timestamp of the
18118         buffers accordingly
18119
18120 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
18121
18122         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18123           Don't ref NULL target pad (#322751). Improve docs.
18124
18125 2005-11-29  Michael Smith  <msmith@fluendo.com>
18126
18127         * gst/gstregistryxml.c: (load_plugin):
18128           Don't crash if we failed to load a feature from a plugin. 
18129
18130 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18131
18132         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18133         (GST_START_TEST):
18134           use more check API and less GLib API
18135
18136 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18137
18138         * Makefile.am:
18139           don't run checks if we don't have check
18140         * common/check.mak:
18141           remove the registry when running make torture
18142         * docs/gst/gstreamer-sections.txt:
18143           remove second multiply
18144         * gst/gstqueue.c: (gst_queue_loop):
18145           fix a compile warning when disabling debug
18146
18147 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18148
18149         * gst/gstinfo.h:
18150         Hey! Let's print the pad name if the pointer != NULL instead
18151         of when it == NULL :-)
18152
18153 2005-11-28  Wim Taymans  <wim@fluendo.com>
18154
18155         * check/gst/gstutils.c: (GST_START_TEST):
18156         Updated check, add some scaling accuracy checking code.
18157
18158         * gst/gstutils.c: (gst_util_div128_64),
18159         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18160         (gst_util_uint64_scale_int):
18161         Fix 6 times faster division code. Optimize for common 
18162         1/1 and less common X/1 cases.
18163
18164 2005-11-28  Wim Taymans  <wim@fluendo.com>
18165
18166         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18167         More checks.
18168
18169         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18170         (do_linear_regression), (gst_clock_add_observation):
18171         Cleanups.
18172         Release lock when the clock cannot be slaved.
18173         Catch the case where the regression returned an invalid denominator.
18174
18175         * gst/gstutils.c: (gst_util_div128_64_iterate),
18176         (gst_util_div128_64), (gst_util_uint64_scale_int64),
18177         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18178         Add protentially more performant non-iterative 128/64 divide function
18179         that unfortunatly does not work yet.
18180         Shortcut the trivial 0/X = 0 case.
18181         Remove the warnings on overflow.
18182
18183 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18184
18185         * gst/gstplugin.c: (gst_plugin_register_func):
18186           everything causing a plugin not to load should be at least a WARNING
18187
18188 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
18189
18190         * docs/random/ensonic/dparams.txt:
18191           some TODOs for the next dev cycle
18192         * libs/gst/controller/gstcontroller.c:
18193         (gst_controlled_property_set_interpolation_mode),
18194         (gst_controlled_property_new):
18195         * libs/gst/controller/gstcontroller.h:
18196           use base type to assign acccessor functions
18197
18198 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18199
18200         * check/Makefile.am:
18201         Oops, that should have been top_srcdir
18202
18203 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18204
18205         * check/Makefile.am:
18206         * check/elements/fdsrc.c: (GST_START_TEST):
18207         Use a cmdline define to specify the location of a file to use for
18208         testing, to avoid breaking distcheck.
18209
18210 2005-11-28  Andy Wingo  <wingo@pobox.com>
18211
18212         * gst/gstpad.c (fixate_value): Use array functions for arrays.
18213
18214 2005-11-28  Edward Hervey  <edward@fluendo.com>
18215
18216         * tools/gst-launch.c: (main):
18217         Clarify the output strings, makes it easier to translate.
18218         Fixes #322626
18219
18220 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18221
18222         * gst/Makefile.am:
18223           don't try and build net if we don't even have <sys/socket.h>
18224
18225 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
18226
18227         * check/Makefile.am:
18228         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18229         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18230           Add tests for fdsrc seekability
18231
18232         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18233         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18234         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18235         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18236         * gst/elements/gstfdsrc.h:
18237           fdsrc should not be a 'live' source.
18238           Implement seeking on seekable fd's.
18239
18240         * gst/gstquery.c: (gst_query_new_seeking),
18241         (gst_query_parse_seeking):
18242         * gst/gstquery.h:
18243           Implement SEEKING query functions: 
18244             *_new_seeking and *_parse_seeking
18245
18246 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
18247
18248         * gst/gstelement.c: (gst_element_dispose):
18249           don't loop forever
18250
18251         * gst/gstiterator.c:
18252         * gst/gststructure.c:
18253           doc fixes
18254
18255         * libs/gst/controller/gstcontroller.c:
18256         (gst_controlled_property_set_interpolation_mode):
18257         * libs/gst/controller/gstcontroller.h:
18258         * libs/gst/controller/gstinterpolation.c:
18259         (interpolate_none_get_enum_value_array):
18260           support controlling enums
18261
18262 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18263
18264         * gst/gstvalue.c:
18265           Improve documentation for gst_value_union().
18266
18267         * gst/gstvalue.h:
18268           Change return value for union, intersect and subtract functions
18269           from gint to gboolean.
18270
18271 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18272
18273         * gst/gstvalue.c: (gst_value_serialize_any_list),
18274         (gst_value_transform_any_list_string),
18275         (gst_value_deserialize_list), (gst_value_deserialize_array),
18276         (gst_value_set_int_range), (gst_value_deserialize_int_range),
18277         (gst_value_set_double_range), (gst_value_deserialize_double_range),
18278         (gst_value_set_fraction_range_full),
18279         (gst_value_deserialize_fraction_range),
18280         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18281         (gst_value_deserialize_boolean),
18282         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18283         (gst_value_serialize_float), (gst_value_deserialize_float),
18284         (gst_string_wrap), (gst_value_deserialize_string),
18285         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18286         (gst_value_union_int_range_int_range),
18287         (gst_value_intersect_int_range_int_range),
18288         (gst_value_intersect_double_range_double_range),
18289         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18290         (gst_value_subtract_int_range_int_range),
18291         (gst_value_subtract_double_double_range),
18292         (gst_value_subtract_double_range_double_range),
18293         (gst_value_deserialize_fraction):
18294         * gst/gstvalue.h:
18295           Use gint, gdouble and gchar in our API instead of int, double and
18296           char (and make usage in gstvalue.c more consistent).
18297
18298 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18299
18300         * check/Makefile.am:
18301         * libs/gst/controller/Makefile.am:
18302         * libs/gst/dataprotocol/Makefile.am:
18303           fix up Makefile.am and remove GST_ENABLE_NEW
18304
18305 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18306
18307         * configure.ac:
18308         * gst/Makefile.am:
18309         * gst/base/Makefile.am:
18310         * gst/check/Makefile.am:
18311         * gst/elements/Makefile.am:
18312         * gst/net/Makefile.am:
18313           update LDFLAGS use some more
18314
18315 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18316
18317         * common/m4/gst-doc.m4:
18318           Fixes #312589
18319
18320 2005-11-26  Edward Hervey  <edward@fluendo.com>
18321
18322         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18323         This shouldn't issue a g_warning since it returns NULL if it
18324         couldn't find the plugin, and all functions using this behave
18325         properly on a NULL return. Switching to a GST_WARNING.
18326
18327 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
18328
18329         * gst/gstbin.c: (gst_bin_handle_message_func):
18330         Don't leak clock messages.
18331
18332 2005-11-25  Wim Taymans  <wim@fluendo.com>
18333
18334         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18335         (gst_util_uint64_scale_int):
18336         Optimisations, remove unneeded vars.
18337
18338 2005-11-25  Wim Taymans  <wim@fluendo.com>
18339
18340         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18341         Added more checks for the high precision uint64 cases.
18342
18343         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18344         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18345         Implement high precision (guint64 * guint64) / guint64.
18346
18347 2005-11-24  Wim Taymans  <wim@fluendo.com>
18348
18349         * gst/base/gstbasesrc.c: (gst_base_src_query):
18350         Fix wrong percentage query.
18351
18352         * gst/gstutils.c: (gst_util_uint64_scale),
18353         (gst_util_uint64_scale_int):
18354         Add some more common cases that can be handled 
18355         efficiently to _scale.
18356
18357 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18358
18359         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18360         (gst_mini_object_suite):
18361           don't use check calls from threads; check probably isn't
18362           threadsafe and using a lock to make it threadsafe would
18363           defeat the purpose of this check
18364         * gst/check/gstcheck.c:
18365         * gst/check/gstcheck.h:
18366           use GST_DEBUG some more
18367
18368 2005-11-24  Wim Taymans  <wim@fluendo.com>
18369
18370         * gst/gstutils.c: (gst_util_uint64_scale),
18371         (gst_util_uint64_scale_int):
18372         Chain trivial case to _scale_int.
18373
18374 2005-11-24  Wim Taymans  <wim@fluendo.com>
18375
18376         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18377         Added test for scaling.
18378
18379         * gst/gstclock.h:
18380         Small doc fix.
18381
18382         * gst/gstutils.c: (gst_util_uint64_scale_int):
18383         Implemented high precision scaling code.
18384
18385 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18386
18387         * gst/gstinfo.h:
18388           do not crash on pad==NULL
18389
18390 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18391
18392         Patch by: Stefan Kost
18393
18394         * common/gtk-doc.mak:
18395         * docs/gst/Makefile.am:
18396         * docs/libs/Makefile.am:
18397           Fix distcheck issues for the libraries docs build
18398           Closes #319599.
18399
18400 2005-11-24  Michael Smith <msmith@fluendo.com>
18401
18402         * docs/manual/basics-helloworld.xml:
18403           Fix bug #315027: memory leak in example code in docs.
18404
18405 2005-11-24  Michael Smith <msmith@fluendo.com>
18406
18407         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18408           Unlock the PREROLL_LOCK in a failure case.
18409
18410 2005-11-24  Wim Taymans  <wim@fluendo.com>
18411
18412         * docs/gst/gstreamer-sections.txt:
18413         * gst/base/gstadapter.h:
18414         * gst/base/gstbasesink.h:
18415         * gst/base/gstbasesrc.h:
18416         * gst/base/gstbasetransform.h:
18417         * gst/base/gstpushsrc.h:
18418         * gst/elements/gstfakesink.h:
18419         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18420         * gst/elements/gstfakesrc.h:
18421         * gst/elements/gstfilesink.h:
18422         * gst/elements/gstfilesrc.h:
18423         * gst/gst.c:
18424         * gst/gstbin.c:
18425         * gst/gstbuffer.c: (_gst_buffer_copy):
18426         * gst/gstbus.h:
18427         * gst/gstcaps.c:
18428         * gst/gstchildproxy.c:
18429         * gst/gstclock.c:
18430         * gst/gstelement.c:
18431         * gst/gstelementfactory.c:
18432         * gst/gstelementfactory.h:
18433         * gst/gstevent.c:
18434         * gst/gstghostpad.h:
18435         * gst/gstindex.h:
18436         * gst/gstinterface.h:
18437         * gst/gstminiobject.c:
18438         * gst/gstminiobject.h:
18439         * gst/gstpad.c:
18440         * gst/gstpad.h:
18441         * gst/gstpadtemplate.h:
18442         * gst/gstpipeline.h:
18443         * gst/gstpluginfeature.h:
18444         * gst/gstquery.h:
18445         * gst/gstqueue.h:
18446         * gst/gsttaglist.c:
18447         * gst/gsttaglist.h:
18448         * gst/gsttagsetter.c:
18449         * gst/gsttagsetter.h:
18450         * gst/gsttrace.c:
18451         * gst/gsttrace.h:
18452         * gst/gsttypefind.h:
18453         * gst/gsturi.h:
18454         * gst/gstvalue.c:
18455         * gst/net/gstnetclientclock.c:
18456         * gst/net/gstnetclientclock.h:
18457         * gst/net/gstnettimepacket.c:
18458         * gst/net/gstnettimeprovider.c:
18459         * gst/net/gstnettimeprovider.h:
18460         Doc fixes.
18461
18462 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18463
18464         * configure.ac: back to HEAD
18465
18466 === release 0.9.6 ===
18467
18468 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18469
18470         * configure.ac:
18471           releasing 0.9.6, "Always On Time"
18472
18473 2005-11-23  Wim Taymans  <wim@fluendo.com>
18474
18475         * docs/gst/gstreamer-sections.txt:
18476         * gst/glib-compat.c:
18477         * gst/gsttagsetter.c:
18478         * gst/gstvalue.c:
18479         * gst/net/gstnetclientclock.c:
18480         * gst/net/gstnettimepacket.h:
18481         Doc updates.
18482
18483 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18484
18485         * docs/faq/using.xml:
18486         * docs/libs/tmpl/gstcontrol.sgml:
18487         * docs/manual/advanced-dparams.xml:
18488         * docs/manual/appendix-checklist.xml:
18489         * docs/manual/basics-elements.xml:
18490         * docs/pwg/other-source.xml:
18491         * docs/random/moving-plugins:
18492         * gst/gstpad.c:
18493         * tools/gst-launch.1.in:
18494           remove mentions of sinesrc
18495
18496 2005-11-23  Michael Smith <msmith@fluendo.com>
18497
18498         * docs/gst/gstreamer-sections.txt:
18499           Update for new API and API changes.
18500         * gst/gstobject.h:
18501           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18502         * gst/gstvalue.c:
18503           Documentation typo fix.
18504         * gst/net/gstnettimepacket.c:
18505           Documentation fixes for arguments.
18506
18507 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18508
18509         * gst/gststructure.c: (gst_structure_get_fraction),
18510         (gst_structure_parse_value),
18511         (gst_structure_fixate_field_nearest_fraction):
18512         * gst/gststructure.h:
18513         * gst/gstutils.c: (gst_util_uint64_scale_int):
18514         * gst/gstutils.h:
18515         * scripts/update-funcnames:
18516         API Changes. 
18517         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18518         Make gst_structure_fixate_field_nearest_fraction take a numerator
18519         and denominator argument instead of a GValue
18520         add gst_structure_get_fraction helper function.
18521
18522 2005-11-23  Wim Taymans  <wim@fluendo.com>
18523
18524         * docs/design/part-TODO.txt:
18525         Update TODO.
18526
18527         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18528         * gst/net/gstnetclientclock.h:
18529         Use parent fields for timeout and window_size.
18530
18531 2005-11-23  Andy Wingo  <wingo@pobox.com>
18532
18533         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18534         rate_num/rate_denom change.
18535
18536         * gst/net/gstnetclientclock.c
18537         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18538         OBJECT_LOCK. Don't call add_observation with the lock.
18539
18540         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18541         fraction.
18542         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18543         rate fraction.
18544         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18545         deal with rate as a fraction whose numerator and denominator are
18546         GstClockTime values.
18547         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18548         master; the other fields are protected by the SLAVE_LOCK.
18549         (do_linear_regression): Note that this must be called with the
18550         SLAVE_LOCK.
18551         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18552         OBJECT_LOCK. Call set_calibration instead of touching the
18553         variables directly.
18554         (gst_clock_set_property, gst_clock_get_property): Protect
18555         master/slave parameters with the SLAVE_LOCK.
18556
18557         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18558         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18559         note that all of the instance variables that add_observation and
18560         the set_master functions use are protected by that lock and not
18561         the OBJECT_LOCK.
18562         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18563
18564         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18565         the caller to take the object lock.
18566
18567 2005-11-23  Wim Taymans  <wim@fluendo.com>
18568
18569         * gst/gsterror.c: (_gst_core_errors_init):
18570         * gst/gsterror.h:
18571         Add error for clock stuff.
18572
18573         * gst/gstpipeline.c: (gst_pipeline_change_state),
18574         (gst_pipeline_set_clock):
18575         Post clock error when clock cannot be used in a pipeline.
18576
18577 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18578
18579         * docs/gst/gstreamer-sections.txt:
18580           make two symbols from gstinfo private for the docs
18581         * gst/base/gstcollectpads.h:
18582         * gst/gstutils.c:
18583           fix doc typos, update docs
18584
18585 2005-11-22  Wim Taymans  <wim@fluendo.com>
18586
18587         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18588         (gst_base_sink_wait), (gst_base_sink_do_sync),
18589         (gst_base_sink_handle_event):
18590         * gst/base/gstbasesink.h:
18591         No need to store the clock, the parent element class already
18592         has it.
18593
18594         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18595         Updates for clock_set returning a gboolean
18596
18597         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18598         (gst_clock_id_wait_async), (gst_clock_class_init),
18599         (gst_clock_init), (gst_clock_finalize),
18600         (gst_clock_get_internal_time), (gst_clock_get_time),
18601         (gst_clock_slave_callback), (gst_clock_set_master),
18602         (gst_clock_get_master), (do_linear_regression),
18603         (gst_clock_add_observation), (gst_clock_set_property),
18604         (gst_clock_get_property):
18605         * gst/gstclock.h:
18606         Implement master/slave. When setting a clock as a slave, a
18607         periodic timeout is scheduled to sample master and slave times.
18608         Then the slave clock is recalibrated to match offset and rate
18609         of the master clock.
18610         Update logging a bit.
18611         Add flag so that a clock can state that is cannot be slaved to
18612         another clock.
18613
18614         * gst/gstelement.c: (gst_element_set_clock):
18615         * gst/gstelement.h:
18616         The set clock returns a gboolean for when an element cannot
18617         deal with the selected clock in the pipeline. 
18618
18619         * gst/gstpipeline.c: (gst_pipeline_change_state),
18620         (gst_pipeline_set_clock):
18621         * gst/gstpipeline.h:
18622         Handle the case where the selected clock cannot be set on
18623         the pipeline.
18624
18625         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18626         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18627         (gst_net_client_clock_set_property),
18628         (gst_net_client_clock_get_property),
18629         (gst_net_client_clock_observe_times):
18630         * gst/net/gstnetclientclock.h:
18631         Use regression code in GstClock parent, remove duplicated
18632         functionality.
18633
18634 2005-11-22  Michael Smith <msmith@fluendo.com>
18635
18636         * gst/gstutils.c: (gst_util_clock_time_scale):
18637         * gst/gstutils.h:
18638         * docs/gst/gstreamer-sections.txt:
18639           Rename method to have extra underscore.
18640
18641 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18642
18643         * gst/elements/Makefile.am:
18644         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18645         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18646         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18647         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18648         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18649         * gst/elements/gstfakesrc.h:
18650         * gst/gstqueue.c: (queue_leaky_get_type):
18651           correctly fix GEnumValues so that nick is the short lowercase
18652           dashed tag
18653         * tools/gst-inspect.c: (print_element_properties_info):
18654           also show the nick, since it's useful to use from parse_launch
18655           syntax
18656           Fixes #322139
18657
18658 2005-11-22  Michael Smith <msmith@fluendo.com>
18659
18660         * gst/gstutils.c: (gst_util_clocktime_scale):
18661         * gst/gstutils.h:
18662         * docs/gst/gstreamer-sections.txt:
18663           Add util method for scaling a clocktime by a fraction. Useful 
18664           implementation is left as an exercise for the reader.
18665
18666 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18667
18668         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18669         If needed, allocate storage in the destination value during
18670         collection.
18671
18672 2005-11-22  Edward Hervey  <edward@fluendo.com>
18673
18674         * docs/gst/gstreamer-sections.txt:
18675         * gst/Makefile.am:
18676         * gst/gst.h:
18677         * gst/gsturitype.c:
18678         * gst/gsturitype.h:
18679         * gst/gstutils.c: (gst_util_set_object_arg):
18680         * tools/gst-compprep.c: (main):
18681         * tools/gst-inspect.c: (print_element_properties_info):
18682         Removed GstURI, closes bug #321061
18683
18684 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18685
18686         * check/gst/gststructure.c: (GST_START_TEST):
18687         * gst/gststructure.c: (gst_structure_parse_value):
18688           Oops, broke automatic string type parsing.
18689           Add a test to catch it in future.
18690
18691 2005-11-22  Andy Wingo  <wingo@pobox.com>
18692
18693         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18694         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18695         Actually rename the function implementations. Grr.
18696
18697 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18698
18699         * check/gst/capslist.h:
18700           Comment test cases
18701         * check/gst/gststructure.c: (GST_START_TEST),
18702         (gst_structure_suite):
18703           Test automatic value type detection in gst_structure_from_string.
18704         * gst/gststructure.c: (gst_structure_parse_value):
18705           Add fraction as a type we try and guess automatically in
18706           caps/structure strings.
18707
18708 2005-11-22  Andy Wingo  <wingo@pobox.com>
18709
18710         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18711
18712         * gst/gsttagsetter.h:
18713         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18714         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18715         (gst_tag_setter_add_tag_valist)
18716         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18717         _add_values, _add_valist, and _add_valist_values. Since this is an
18718         interface the function suffixes should be more explicit so
18719         language binding don't end up with element.add_valist ->
18720         gst_tag_setter_add_valist, for example. Fixes #322069.
18721
18722 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18723
18724         * check/gst/gstcaps.c: (GST_START_TEST):
18725           Extend caps string tests to check that a caps to string
18726           conversion is reversible and produces the same caps.
18727
18728         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18729           Output "fraction" as the generic type fraction range, so caps
18730           serialisation and deserialisation works.
18731         * check/gst/capslist.h:
18732         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18733           Support 'MIN' and 'MAX' for deserialising fractions.
18734
18735 2005-11-22  Andy Wingo  <wingo@pobox.com>
18736
18737         * gst/gstevent.h (gst_event_new_new_segment)
18738         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18739         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18740         Renamed from *_newsegment, *_buffersize, *_notarget.
18741
18742         * scripts/update-funcnames: New script, performs the changes
18743         listed above.
18744
18745 2005-11-22  Wim Taymans  <wim@fluendo.com>
18746
18747         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18748         Make sure the GstFlowReturn is returned.
18749
18750         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18751         (gst_bus_add_signal_watch):
18752         * gst/gstbus.h:
18753         add gst_bus_add_signal_watch_full.
18754
18755         * gst/gstplugin.c: (gst_plugin_load_file):
18756         Small style cleanup.
18757
18758 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18759
18760         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18761           Block the fakesrc srcpad when we send an event, to avoid
18762           contention on the stream_lock causing random test failures.
18763
18764 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18765
18766         * check/gst/gstvalue.c: (GST_START_TEST):
18767         * gst/gstvalue.c: (gst_value_fraction_subtract):
18768           Fix subtraction.
18769
18770 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18771
18772         * gst/gst.h:
18773           include "gstchildproxy.h"
18774         * gst/gstchildproxy.h:
18775         * libs/gst/controller/gstcontroller.h:
18776           use G_GNUC_NULL_TERMINATED
18777
18778 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18779
18780         * check/gst/capslist.h:
18781         * check/gst/gstcaps.c: (GST_START_TEST):
18782         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18783         * gst/gststructure.c: (gst_structure_parse_range),
18784         (gst_structure_fixate_field_nearest_fraction):
18785         * gst/gststructure.h:
18786         * gst/gstvalue.c: (gst_value_init_fraction_range),
18787         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18788         (gst_value_collect_fraction_range),
18789         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18790         (gst_value_set_fraction_range_full),
18791         (gst_value_get_fraction_range_min),
18792         (gst_value_get_fraction_range_max),
18793         (gst_value_serialize_fraction_range),
18794         (gst_value_transform_fraction_range_string),
18795         (gst_value_compare_fraction_range),
18796         (gst_value_deserialize_fraction_range),
18797         (gst_value_intersect_fraction_fraction_range),
18798         (gst_value_intersect_fraction_range_fraction_range),
18799         (gst_value_subtract_fraction_fraction_range),
18800         (gst_value_subtract_fraction_range_fraction),
18801         (gst_value_subtract_fraction_range_fraction_range),
18802         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18803         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18804         (gst_value_transform_string_fraction), (_gst_value_initialize):
18805         * gst/gstvalue.h:
18806           Implement fraction ranges and extend GstFraction to support
18807           arithmetic subtraction, as well as deserialization from integer
18808           strings such as "100"
18809           Add a testsuite as for int and double range set operations
18810
18811 2005-11-21  Andy Wingo  <wingo@pobox.com>
18812
18813         * gst/gsttaglist.h: 
18814         * gst/gstcaps.h: 
18815         * gst/gststructure.h: Add glib-compat.h.
18816
18817 2005-11-21  Wim Taymans  <wim@fluendo.com>
18818
18819         * gst/gstbin.c: (gst_bin_change_state_func):
18820         Fix for #321595
18821
18822 2005-11-21  Wim Taymans  <wim@fluendo.com>
18823
18824         * gst/gstsegment.h:
18825         And add a nice define too.
18826
18827 2005-11-21  Wim Taymans  <wim@fluendo.com>
18828
18829         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18830         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18831         (gst_segment_set_duration), (gst_segment_set_last_stop),
18832         (gst_segment_set_seek), (gst_segment_set_newsegment),
18833         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18834         (gst_segment_clip):
18835         * gst/gstsegment.h:
18836         Make binding friendly.
18837
18838 2005-11-21  Andy Wingo  <wingo@pobox.com>
18839
18840         * gst/gsttagsetter.h: 
18841         * gst/gsttaglist.h: 
18842         * gst/gststructure.h: 
18843         * gst/gstcaps.h: 
18844         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18845         #319940.
18846
18847         * gst/gsterror.c (_gst_core_errors_init):
18848         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18849         category.
18850
18851         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18852         (noinst_HEADERS): noinst the -private.
18853
18854 2005-11-21  Michael Smith <msmith@fluendo.com>
18855
18856         * gst/gstplugin.h:
18857         * gst/gstregistry.h:
18858           Remove unimplemented declarations for which we can see no sensible
18859           use.
18860
18861 2005-11-21  Andy Wingo  <wingo@pobox.com>
18862
18863         * gst/gst.h: Include glib-compat.h.
18864
18865         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18866
18867         * gst/glib-compat.c: Include the public and the private header.
18868
18869         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18870
18871         * gst/gstvalue.c: 
18872         * gst/gstpad.c: 
18873         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18874
18875         * check/gst/gstevent.c (create_custom_events): Check that
18876         FLUSH_STOP is serialized.
18877
18878         * check/elements/identity.c (event_func): 
18879         * check/elements/fakesrc.c (event_func): No stream lock, the core
18880         takes it.
18881
18882         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18883         stream lock taking, yay.
18884
18885         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18886         ensure that core takes the stream lock.
18887
18888         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18889         lock name change.
18890
18891         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18892         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18893         it already. For the flush start we do take it though so we get the
18894         right preroll state change messages.
18895
18896         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18897         the stream lock here, the core does it for us.
18898
18899         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18900         GST_STREAM_GET_LOCK.
18901         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18902         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18903         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18904         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18905         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18906         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18907
18908         * gst/gstpad.c: Update for stream lock name change.
18909
18910         * gst/base/gstbasesink.c: Update for preroll lock name change.
18911
18912 2005-11-21  Wim Taymans  <wim@fluendo.com>
18913
18914         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18915         (gst_clock_get_master):
18916         * gst/gstclock.h:
18917         * gst/gstsystemclock.c: (gst_system_clock_init):
18918         Convert Clock flags to object flags.
18919         Added methods to manage master/slave clocks.
18920
18921 2005-11-21  Wim Taymans  <wim@fluendo.com>
18922
18923         * check/gst/gstsegment.c: (GST_START_TEST):
18924         * docs/design/part-TODO.txt:
18925         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18926         (gst_base_sink_event), (gst_base_sink_do_sync),
18927         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18928         (gst_base_sink_query), (gst_base_sink_change_state):
18929         * gst/base/gstbasesink.h:
18930         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18931         (gst_base_src_default_newsegment),
18932         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18933         (gst_base_src_get_range), (gst_base_src_loop),
18934         (gst_base_src_change_state):
18935         * gst/base/gstbasesrc.h:
18936         * gst/base/gstbasetransform.c:
18937         (gst_base_transform_prepare_output_buf),
18938         (gst_base_transform_event), (gst_base_transform_change_state):
18939         * gst/base/gstbasetransform.h:
18940         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18941         (gst_collect_pads_event):
18942         * gst/base/gstcollectpads.h:
18943         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18944         (gst_fake_src_create):
18945         * gst/elements/gstfakesrc.h:
18946         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18947         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18948         (gst_segment_set_last_stop), (gst_segment_set_seek),
18949         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18950         (gst_segment_to_running_time), (gst_segment_clip):
18951         * gst/gstsegment.h:
18952         More segment updates, replace code in plugins with segment
18953         helper functions.
18954
18955 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18956
18957         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18958         Don't ignore sscanf results
18959
18960 2005-11-21  Andy Wingo  <wingo@pobox.com>
18961
18962         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18963
18964         * *.h:
18965         * *.c: Ran scripts/update-macros. Oh yes.
18966
18967         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18968         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18969         GST_GET_LOCK, etc.
18970
18971         * scripts/update-macros: New script. Run it on your files to
18972         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18973         well.
18974
18975 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18976
18977         * docs/gst/Makefile.am:
18978         * docs/gst/gstreamer-docs.sgml:
18979         * docs/gst/gstreamer-sections.txt:
18980         * docs/gst/gstreamer.types:
18981         * gst/gstinfo.h:
18982           more docs fixes, add new api to the docs
18983
18984 2005-11-21  Andy Wingo  <wingo@pobox.com>
18985
18986         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18987         state_broadcast call.
18988
18989         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18990
18991 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18992
18993         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18994         function calls for arrays.
18995
18996 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18997
18998         * docs/random/ensonic/media-device-daemon.txt:
18999           wild idea, can this be done?
19000         * docs/gst/gstreamer-sections.txt:
19001         * gst/gsterror.h:
19002         * gst/gstfilter.c:
19003         * gst/gstfilter.h:
19004         * gst/gstplugin.h:
19005         * gst/gstpluginfeature.c:
19006         * gst/gsttrace.c:
19007         * gst/gstvalue.c:
19008         * gst/gstvalue.h:
19009           doc fixes and additions
19010
19011 2005-11-21  Andy Wingo  <wingo@pobox.com>
19012
19013         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
19014         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
19015         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
19016         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
19017         private to the basesrc implementation.
19018
19019         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
19020         behalf of event function if necessary. It should no longer be
19021         necessary to take the stream lock in pad's event functions. Fixes
19022         #320299.
19023
19024 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19025         * docs/gst/gstreamer-sections.txt:
19026         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
19027         (gst_structure_fixate_field_nearest_double),
19028         (gst_structure_fixate_field_boolean):
19029         * gst/gststructure.h:
19030         * win32/common/libgstreamer.def:
19031         * win32/gstreamer.def:
19032
19033         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
19034         (#322027)
19035
19036 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19037
19038         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
19039         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
19040         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
19041         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
19042         (gst_fdsrc_uri_handler_init):
19043         * gst/elements/gstfdsrc.h:
19044           Port fd:// URI handler from 0.8 to fdsrc
19045
19046 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19047
19048         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
19049         (gst_value_serialize_fourcc):
19050         * gst/gstvalue.h:
19051           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19052           consistent with our other format defines (#320324).
19053
19054 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19055
19056         * gst/gstvalue.c: (gst_value_is_fixed):
19057           Revert previous commit. Value lists are by definition
19058           not fixed, as they are a list of possible values.
19059
19060 2005-11-21  Andy Wingo  <wingo@pobox.com>
19061
19062         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19063         during the stable series if we need it. Fixes #319178.
19064
19065         * gst/gstevent.c (gst_event_new_filler): Removed.
19066
19067         * check/gst/gstevent.c: Update comment about filler events.
19068
19069 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19070
19071         * gst/gstvalue.c: (gst_value_is_fixed):
19072           Should handle both value arrays and value lists.
19073
19074 2005-11-21  Andy Wingo  <wingo@pobox.com>
19075
19076         patch by: Alessandro Dessina <alessandro nnva org>
19077
19078         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19079         functions to access arrays. Fixes #321962.
19080
19081 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19082
19083         * docs/gst/gstreamer.types:
19084           gst_collectpads_get_type => gst_collect_pads_get_type.
19085           
19086         * gst/base/gstbasetransform.c:
19087           Remove unused SIGNAL_HANDOFF enum.
19088
19089 2005-11-21  Andy Wingo  <wingo@pobox.com>
19090
19091         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19092         the event type (upstream, downstream, serialized). Renamed
19093         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19094         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19095         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19096
19097         * gst/gstevent.c: Update for new CUSTOM event names.
19098
19099         * check/gst/gstevent.c: Update check for new CUSTOM event names.
19100
19101         * gst/gstevent.h:
19102         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19103         bug #319392.
19104
19105 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19106
19107         * docs/gst/gstreamer-sections.txt:
19108         * win32/common/libgstbase.def:
19109         * win32/libgstbase.def:
19110         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19111         (gst_collect_pads_class_init), (gst_collect_pads_init),
19112         (gst_collect_pads_finalize), (gst_collect_pads_new),
19113         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19114         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19115         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19116         (gst_collect_pads_start), (gst_collect_pads_stop),
19117         (gst_collect_pads_peek), (gst_collect_pads_pop),
19118         (gst_collect_pads_available), (gst_collect_pads_read),
19119         (gst_collect_pads_flush), (gst_collect_pads_event),
19120         (gst_collect_pads_chain):
19121         * gst/base/gstcollectpads.h:
19122           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19123           unimplemented functions as unimplemented. Add padding to
19124           GstCollectData. (#320766, #320423)
19125
19126 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19127
19128         * gst/gstmessage.c:
19129           Improve docs for DURATION message (usage of duration parameter)
19130           (#320113)
19131
19132 2005-11-20  Wim Taymans  <wim@fluendo.com>
19133
19134         * check/Makefile.am:
19135         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19136         (main):
19137         * gst/Makefile.am:
19138         * gst/gst.h:
19139         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19140         (gst_segment_set_seek), (gst_segment_set_newsegment),
19141         (gst_segment_to_stream_time), (gst_segment_to_running_time),
19142         (gst_segment_clip):
19143         * gst/gstsegment.h:
19144         Added segment helper structure and methods. Not fully implemented
19145         yet.
19146         Added segment check.
19147
19148 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
19149
19150         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19151           Add a deserialisation test for fractions
19152         * examples/metadata/read-metadata.c: (message_loop),
19153         (make_pipeline), (main):
19154           Fix up metadata reading sample.
19155         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19156           Debug format fix
19157         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19158           Don't try and fixate empty caps
19159         * gst/gst_private.h:
19160           Wrap in G_BEGIN_DECLS/G_END_DECLS
19161         * gst/gstvalue.c: (gst_value_collect_fraction),
19162         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19163         (gst_value_transform_string_fraction),
19164         (gst_value_compare_fraction):
19165           Add some extra guards to ensure that we don't end up 
19166           with an invalid denominator of 0 in a gstfraction and
19167           that fractions always get reduced.
19168
19169 2005-11-20  Wim Taymans  <wim@fluendo.com>
19170
19171         * docs/gst/gstreamer-sections.txt:
19172         * gst/gstbuffer.h:
19173         * gst/gstelement.c:
19174         * gst/gstformat.c:
19175         * gst/gstformat.h:
19176         * gst/gstindex.h:
19177         * gst/gstquery.c:
19178         * gst/gstquery.h:
19179         * gst/gstvalue.c:
19180         Doc fixes.
19181
19182 2005-11-20  Wim Taymans  <wim@fluendo.com>
19183
19184         * docs/design/part-TODO.txt:
19185         * gst/gstcaps.h:
19186         Make a proper enum of the flag.
19187
19188 2005-11-19  Wim Taymans  <wim@fluendo.com>
19189
19190         * docs/design/part-TODO.txt:
19191         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19192         (gst_format_to_quark), (gst_format_register):
19193         * gst/gstformat.h:
19194         * gst/gstquery.c: (_gst_query_initialize),
19195         (gst_query_type_get_name), (gst_query_type_to_quark),
19196         (gst_query_type_register):
19197         * gst/gstquery.h:
19198         Add type to quark and type to string conversions.
19199
19200 2005-11-19  Andy Wingo  <wingo@pobox.com>
19201
19202         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19203         #320097.
19204
19205 2005-11-19  Wim Taymans  <wim@fluendo.com>
19206
19207         * docs/design/part-TODO.txt:
19208         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19209         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19210         (gst_bin_handle_message_func):
19211         * gst/gstbin.h:
19212         Make message handling overridable.
19213
19214 2005-11-19  Andy Wingo  <wingo@pobox.com>
19215
19216         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19217
19218         * gst/gstclock.h:
19219         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19220         be a GstClockTime.
19221         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19222         is a GstClockTime. Fixes #321710.
19223
19224         * gst/gstclock.h (GstClock): Remove offset property. Add
19225         internal_calibration and external_calibration. Fix padding. Pad
19226         also by GstClockTime so we don't run into problems.
19227
19228         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19229         (gst_clock_get_rate_offset): Remove.
19230         (gst_clock_set_time_adjust): Remove. Fixes #321712.
19231
19232         * gst/gstutils.h:
19233         * gst/gstutils.c (g_static_rec_cond_wait)
19234         (g_static_rec_cond_timed_wait): Removed, no longer needed.
19235
19236         * gst/gstbin.c: Remove terrible continue_state prototype.
19237
19238         * gst/gstelement.h (gst_element_continue_state): Make public.
19239
19240         * gst/gstelement.h:
19241         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19242         by continue_state. Fixes #319389.
19243
19244         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19245         Really fixes #168438. However I don't see anywhere where the
19246         filter function is called... stupid GStreamer...
19247         
19248         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19249         don't have a dispose function, so it won't get called when the
19250         object is unreffed, but oh well!
19251
19252         * gst/gstindex.c (gst_index_set_filter_full): New API function,
19253         allows a destroy function to be set so user_data can be freed.
19254         Fixes #168438.
19255         (gst_index_set_filter): Call gst_index_set_filter_full.
19256
19257         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19258
19259         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19260         string should produce an error, given the lack of a way to
19261         represent NULL strings. Fixes #165650.
19262         
19263         * gst/gstvalue.h: 
19264         * gst/gstvalue.c (gst_value_array_append_value) 
19265         (gst_value_array_prepend_value, gst_value_array_get_size) 
19266         (gst_value_array_get_value): New API, copied from
19267         gst_value_list_*, only operates on arrays.
19268         (gst_value_list_append_value, gst_value_list_prepend_value) 
19269         (gst_value_list_concat, gst_value_list_get_size) 
19270         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19271
19272         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19273         init_list, because it works on both.
19274         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19275         (gst_value_copy_list_or_array): Renamed from copy_list.
19276         (gst_value_free_list_or_array): Renamed from free_list.
19277         (gst_value_collect_list_or_array): Renamed from collect_list.
19278         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19279         (gst_value_list_or_array_peek_pointer): Renamed from
19280         list_peek_pointer.
19281         (_gst_value_array_value_table, _gst_value_list_value_table):
19282         Update value table functions.
19283         (gst_value_compare_list_or_array): Renamed from compare_list.
19284
19285         * gsttaglist.h: Whoops, foreach function returns void. Also fix
19286         some constness.
19287
19288         * gst/gsttaglist.c:
19289         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19290         GstTagList*. Fixes #143472.
19291
19292         * gst/gststructure.h: Clarify what the foreach/map functions can
19293         or can't do to their arguments.
19294
19295 2005-11-18  Wim Taymans  <wim@fluendo.com>
19296
19297         * gst/gstclock.c: (gst_clock_set_calibration),
19298         (gst_clock_get_calibration):
19299         Doc and API fixes.
19300         Calibration can be set with internal time equal to current
19301         internal time too.
19302
19303 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19304
19305         * gst/gsterror.c:
19306         * gst/gsterror.h:
19307           document
19308
19309 2005-11-18  Andy Wingo  <wingo@pobox.com>
19310
19311         * configure.ac: 
19312         * pkgconfig/gstreamer-net.pc.in:
19313         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19314         * pkgconfig/Makefile.am: Add net pkgconfig files.
19315
19316 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
19317
19318         * gst/gstcaps.c:
19319         * gst/gstghostpad.c:
19320         * gst/gsttrace.c:
19321         * gst/gstvalue.c:
19322         * gst/gstvalue.h:
19323           docs fixes
19324
19325 2005-11-18  Andy Wingo  <wingo@pobox.com>
19326
19327         * gst/net/gstnetclientclock.c: Turn off debugging.
19328
19329         * check/net/gstnetclientclock.c (test_functioning): Assert that the
19330         times connverge somewhat. Can't make a real test.
19331
19332         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19333         integer arithmetic. Return the minimum of the domain, which can be
19334         set as "internal" for gst_clock_set_calibration.
19335         (gst_net_client_clock_observe_times): Call _set_calibration.
19336         (gst_net_client_clock_new): Call _set_calibration instead of
19337         rate_offset.
19338
19339         * check/net/gstnetclientclock.c (test_functioning): Use the right
19340         adjustment api.
19341
19342         * gst/gstclock.h:
19343         * gst/gstclock.c (gst_clock_get_calibration) 
19344         (gst_clock_set_calibration): New functions, obsolete the ones I
19345         added yesterday. Doh. Precision issues mean we have to extrapolate
19346         from a point in the more recent past than 1970.
19347         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19348         obsolete.
19349         (gst_clock_adjust_unlocked): Use the right calibration data.
19350
19351 2005-11-18  Edward Hervey  <edward@fluendo.com>
19352
19353         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19354         Also reset the ->current_* values in READY->PAUSED
19355
19356 2005-11-18  Andy Wingo  <wingo@pobox.com>
19357
19358         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19359         Whoops, check the right fd. Also add some debugging.
19360         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19361         (do_linear_regression): Add a crapload of debugging. Subtract off
19362         the minimum values from the input series to discard unneeded bits.
19363         Use only int arithmetic. There is still double arithmetic when
19364         calculating the intercept that needs fixing. Return boolean to
19365         indicate success; FALSE would mean the domain or range is too
19366         great. Still needs fixes.
19367
19368 2005-11-18  Wim Taymans  <wim@fluendo.com>
19369
19370         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19371         For the current position in stream time, we need to subtract
19372         accumulated time.
19373         
19374         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19375         Release lock before calling the callback function of async
19376         entries.
19377
19378 2005-11-18  Andy Wingo  <wingo@pobox.com>
19379
19380         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19381         Port goes all the way to MAXUINT16.
19382
19383         * gst/net/gstnettimeprovider.c: Make the port range the same as
19384         for the kernel: 0 assigns, otherwise ports are less than
19385         MAXUINT16.
19386
19387         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19388         port change.
19389
19390         * check/net/gstnetclientclock.c (test_functioning): Add the start
19391         of another test. 
19392
19393 2005-11-18  Wim Taymans  <wim@fluendo.com>
19394
19395         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19396         (gst_bin_remove_func), (bin_bus_handler):
19397         * gst/gstbin.h:
19398         Removing a clock provider from a bin, triggers a clock lost message
19399         so that a new clock will be selected.
19400         Adding a clock to a bin triggers a clock provider message.
19401         Make sure we reselect a clock when we received a clock lost message.
19402         Keep a reference to the element that provided the clock.
19403
19404 2005-11-18  Andy Wingo  <wingo@pobox.com>
19405
19406         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19407         the clock initially so it produces values around the base time.
19408         (gst_net_client_clock_class_init): Typo fix.
19409         (gst_net_client_clock_thread): Add note on when the socket gets
19410         closed.
19411
19412 2005-11-17  Wim Taymans  <wim@fluendo.com>
19413
19414         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19415         Free remote and local time arrays.
19416
19417 2005-11-17  Wim Taymans  <wim@fluendo.com>
19418
19419         * gst/net/gstnetclientclock.c: (do_linear_regression),
19420         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19421         Fix compilation, uninitialized vars and a forgotten continue.
19422
19423 2005-11-17  Andy Wingo  <wingo@pobox.com>
19424
19425         * check/Makefile.am (check_PROGRAMS): 
19426         * check/net/gstnetclientclock.c: Add a most minimal test for the
19427         net client clock. More to come later.
19428
19429         * gst/net/gstnet.h: 
19430         * gst/net/Makefile.am: Add netclientclock.
19431
19432         * gst/net/gstnetclientclock.h:
19433         * gst/net/gstnetclientclock.c: New files, implement an untested
19434         GstClock that takes its time from a network time provider.
19435         Implements the algorithm in network-clock.scm.
19436
19437         * tests/network-clock.scm (*window-size*): Rename from
19438         *queue-length*.
19439         * tests/network-clock.scm (network-time): 
19440         * tests/network-clock-utils.scm (q-push): Update callers.
19441
19442 2005-11-17  Wim Taymans  <wim@fluendo.com>
19443
19444         * gst/gstbin.c: (gst_bin_provide_clock_func),
19445         (gst_bin_sort_iterator_new):
19446         And unref the child too..
19447
19448 2005-11-17  Wim Taymans  <wim@fluendo.com>
19449
19450         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19451         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19452         Refactor the sort iterator so it can be used while holding the
19453         LOCK too.
19454         Make clock selection select a clock closest to the source.
19455
19456 2005-11-17  Michael Smith <msmith@fluendo.com>
19457
19458         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19459         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19460         * gst/gstclock.h:
19461           Anonymous structs are a gcc (and some other compilers) extension, so
19462           don't use them. Since this is only for ABI-compatibility, and our
19463           API/ABI freeze is over in a few days, this whole thing will only
19464           last a few days, so don't bother trying to think up a meaningful
19465           name for the struct.
19466
19467 2005-11-17  Andy Wingo  <wingo@pobox.com>
19468
19469         * gst/gstclock.h (GstClock): Add rate and offset properties,
19470         preserving ABI stability. Add rate/offset accessors. Will file bug
19471         for the freeze break.
19472
19473         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19474         and offset, trying to keep precision and avoiding
19475         underflow/overflow.
19476         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19477         functions. Make gst_clock_set_time_adjust obsolete.
19478         (gst_clock_set_time_adjust): Note that this function is obsolete.
19479         Will file bug soon.
19480
19481         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19482         greppable by using GST_PADDING-1+1.
19483
19484 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19485
19486         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19487
19488         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19489           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19490
19491         * gst/gstpadtemplate.h:
19492         * gst/gstpluginfeature.h:
19493           Don't use c++ style comments in headers (#321638).
19494
19495 2005-11-16  Andy Wingo  <wingo@pobox.com>
19496
19497         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19498         buffer.
19499
19500         * check/net/gstnettimeprovider.c: Check to see that the time
19501         provider actually provides times. Works, yo!
19502
19503 2005-11-16  Wim Taymans  <wim@fluendo.com>
19504
19505         * check/Makefile.am:
19506         Enable more tests.
19507
19508         * check/elements/fakesrc.c: (GST_START_TEST):
19509         Set element to NULL before disposing it.
19510
19511 2005-11-16  Andy Wingo  <wingo@pobox.com>
19512
19513         * gst/net/Makefile.am:
19514         * gst/net/gstnet.h:
19515         * gst/net/gstnettimeprovider.c: 
19516         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19517         provider, include it from gstnet.h, and add it to the build.
19518
19519         * gst/net/gstnettimepacket.h: 
19520         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19521         sending and receiving.
19522
19523 2005-11-16  Wim Taymans  <wim@fluendo.com>
19524
19525         * check/Makefile.am:
19526         Enable valgrind check.
19527
19528         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19529         (gst_fake_src_alloc_buffer):
19530         Fix memleak.
19531
19532 2005-11-16  Wim Taymans  <wim@fluendo.com>
19533
19534         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19535         Call parent finalize too.
19536
19537 2005-11-16  Wim Taymans  <wim@fluendo.com>
19538
19539         * check/Makefile.am:
19540         Enable valgrind check that should work fine now.
19541
19542         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19543         * gst/gstqueue.c: (gst_queue_init):
19544         Fix memleaks in pad allocation.
19545
19546 2005-11-16  Andy Wingo  <wingo@pobox.com>
19547
19548         * gst/net/Makefile.am:
19549         * gst/net/gstnet.h: New part of core to hold network elements and
19550         objects. Put in core because it exposes API that applications want
19551         to use. The library is named libgstnet-tempname right now because
19552         of the existing libgstnet in gst-plugins-base. Solution is
19553         probably to rename the one in plugins-base; will file a bug for
19554         the freeze break.
19555
19556         * gst/net/gstnettimeprovider.c: 
19557         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19558         get_time call over the network.
19559
19560         * configure.ac: 
19561         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19562
19563         * check/Makefile.am:
19564         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19565         get additions shortly.
19566
19567 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19568
19569         * gst/gstpad.c: (gst_pad_new_from_static_template):
19570         * gst/gstpad.h:
19571           add gst_pad_new_from_static_template functions
19572         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19573         (gst_check_setup_sink_pad):
19574         * gst/elements/gsttee.c: (gst_tee_init):
19575           and use them
19576
19577 2005-11-16  Wim Taymans  <wim@fluendo.com>
19578
19579         * gst/gstpad.c: (gst_pad_pause_task):
19580         Removed warning, it's not really an error either.
19581
19582 2005-11-16  Wim Taymans  <wim@fluendo.com>
19583
19584         * gst/base/gstbasetransform.c:
19585         (gst_base_transform_prepare_output_buf),
19586         (gst_base_transform_event):
19587         Check if the caps are NULL, this can happen if the element
19588         is shutting down and the pad caps are set to NULL.
19589
19590 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19591
19592         * gst/elements/gsttee.c: (gst_tee_init):
19593           fix pad template leak in tee
19594
19595 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19596
19597         * gst/glib-compat.c: (g_value_dup_gst_object):
19598         * gst/glib-compat.h:
19599         * gst/gstpad.c: (gst_pad_set_property):
19600           use gst_object_ref when setting the pad template; this will
19601           trigger the pad template leaks on GLib 2.6 and the slaves
19602
19603 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19604
19605         * gst/glib-compat.c: (gst_flags_get_first_value):
19606         * gst/glib-compat.h:
19607         * gst/gstregistryxml.c:
19608           remove functions copied from GLib 2.6
19609
19610 2005-11-16  Michael Smith <msmith@fluendo.com>
19611
19612         * gst/Makefile.am:
19613           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19614           do, but only breaks with newer valgrind versions. We're not a
19615           valgrind tool, we have no link-time dependencies on libcoregrind.
19616
19617 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19618
19619         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19620           some debug changes
19621         * gst/gstmessage.h:
19622           typo fixes
19623
19624 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19625
19626         * gst/base/gstbasesrc.c: (gst_base_src_init):
19627         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19628         * gst/gstqueue.c: (gst_queue_init):
19629         * gst/gstregistryxml.c: (load_feature):
19630           Revert all these unrefs, they don't even pass make check !
19631
19632 2005-11-15  Johan Dahlin  <johan@gnome.org>
19633
19634         * gst/base/gstbasesrc.c: (gst_base_src_init):
19635         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19636         * gst/gstqueue.c: (gst_queue_init): 
19637         Free pad templates, fixes a couple of leaks.
19638
19639 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19640
19641         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19642
19643         * gst/gstpad.c: (gst_pad_get_property):
19644           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19645           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19646           (#321452)
19647
19648 2005-11-15  Wim Taymans  <wim@fluendo.com>
19649
19650         * gst/gstevent.c:
19651         Small doc update.
19652
19653 2005-11-15  Andy Wingo  <wingo@pobox.com>
19654
19655         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19656
19657         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19658         using GST_CLOCK_TIME_NONE to disable base time management.
19659         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19660         time if it was NONE before.
19661         (gst_pipeline_change_state): Only munge the base time if
19662         stream_time != GST_CLOCK_TIME_NONE.
19663
19664         * check/gst/gstpipeline.c (test_base_time): Punt around the
19665         problem of the probe not being called, because that's not the
19666         issue I'm looking at. Add a check that setting stream_time to NONE
19667         disables base time management.
19668         
19669 2005-11-15  Wim Taymans  <wim@fluendo.com>
19670
19671         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19672         segment_stop == -1 at startup.
19673
19674         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19675         (gst_base_transform_change_state):
19676         Init segment values at start.
19677
19678 2005-11-15  Wim Taymans  <wim@fluendo.com>
19679
19680         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19681         0 segment values are 0 in any format.
19682
19683         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19684         * gst/base/gstbasetransform.h:
19685         Parse newsegment correctly in basetransform
19686
19687         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19688         Sync to clock using updated segment values.
19689
19690 2005-11-15  Andy Wingo  <wingo@pobox.com>
19691
19692         * check/gst/gstpipeline.c (test_base_time): Add check that the
19693         base time and stream time are reset correctly.
19694
19695 2005-11-15  Wim Taymans  <wim@fluendo.com>
19696
19697         * docs/design/part-TODO.txt:
19698         Some more TODO items.
19699
19700 2005-11-15  Andy Wingo  <wingo@pobox.com>
19701
19702         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19703         error if the user selected "no clock" as the clocking method.
19704
19705         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19706         timestamps with live capture.
19707
19708         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19709         is 0 but we are a live source, timestamp the buffers using the
19710         element's clock.
19711
19712 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19713
19714         * docs/gst/gstreamer-sections.txt:
19715         * gst/gsterror.c:
19716         * gst/gstghostpad.c:
19717         * gst/gstobject.h:
19718         * gst/gstxml.c:
19719           more section docs
19720
19721 2005-11-14  Wim Taymans  <wim@fluendo.com>
19722
19723         * common/gst.supp:
19724           add suppressions from Wim's Debian machine
19725
19726 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19727
19728         * common/gst.supp:
19729           add suppressions from Andy's AMD64 Ubuntu machine
19730
19731 2005-11-14  Andy Wingo  <wingo@pobox.com>
19732
19733         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19734         STATE_LOCK not necessary. Fixes #311489.
19735
19736         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19737         #305291.
19738
19739         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19740         this function is not implemented.
19741
19742 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19743
19744         * gst/base/gstbasetransform.c:
19745         (gst_base_transform_prepare_output_buf):
19746         Ref the source pad caps while we need them.
19747         Fixes (#321386)
19748
19749 2005-11-11  Wim Taymans  <wim@fluendo.com>
19750
19751         * docs/gst/gstreamer-sections.txt:
19752         Added some docs for GstCollectData.
19753
19754         * gst/base/gstadapter.c:
19755         Some small code example fix.
19756
19757         * gst/base/gstcollectpads.c:
19758         * gst/base/gstcollectpads.h:
19759         Document some more.
19760
19761 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19762
19763         * configure.ac: back to HEAD
19764
19765 === release 0.9.5 ===
19766
19767 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19768
19769         * configure.ac:
19770           releasing 0.9.5, "Bike Lunch Day"
19771
19772 2005-11-11  Wim Taymans  <wim@fluendo.com>
19773
19774         * gst/gstbuffer.c: (_gst_buffer_copy):
19775         Copy more flags.
19776
19777         * gst/gstcaps.c: (gst_caps_is_equal):
19778         Fix some docs.
19779         Make _is_equal fast in the trivial cases.
19780
19781         * gst/gstminiobject.c:
19782         * gst/gstminiobject.h:
19783         More docs. Spifify .h file.
19784
19785         * gst/gstutils.c:
19786         Small doc update.
19787
19788 2005-11-11  Wim Taymans  <wim@fluendo.com>
19789
19790         * gst/base/gstbasetransform.c:
19791         (gst_base_transform_prepare_output_buf),
19792         (gst_base_transform_handle_buffer):
19793         Small cleanups.
19794         If we're processing a buffer and need to allocate an output
19795         buffer, we cannot accept a format change. If we did get a 
19796         format change, we have to alloc a buffer ourselves of the 
19797         right size.
19798
19799 2005-11-11  Wim Taymans  <wim@fluendo.com>
19800
19801         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19802         While checking the flag for reentrancy in the gstcaps function
19803         is nice to detect recursive invocations, it also makes it 
19804         impossible to call getcaps from multiple threads, which must be
19805         possible. So, checking for recursive calls has to go.
19806
19807 2005-11-11  Michael Smith <msmith@fluendo.com>
19808
19809         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19810           Don't sync on buffers that fall partially outside our current
19811           segment. Prevents an assertion failure/abort playing some files.
19812
19813 2005-11-10  Andy Wingo  <wingo@pobox.com>
19814
19815         * check/gst/gstbin.c (test_message_state_changed_children): Style
19816         fix..
19817
19818         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19819         gst_bus_poll with the signal watch. Ensures that poll and a signal
19820         watch see the same messages.
19821
19822         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19823         a poll and a watch at the same time get the same messages.
19824
19825 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19826
19827         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19828         * gst/gstcaps.c: (gst_caps_intersect):
19829           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19830           and it's not needed.
19831
19832 2005-11-10  Wim Taymans  <wim@fluendo.com>
19833
19834         * docs/design/part-TODO.txt:
19835         Updated todo.
19836
19837 2005-11-10  Wim Taymans  <wim@fluendo.com>
19838
19839         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19840         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19841         (gst_base_src_do_sync), (gst_base_src_get_range):
19842         Implement clock sync in base class.
19843
19844 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19845
19846         patch by: Tim-Philipp Müller <tim at centricular dot net>
19847
19848         * gst/gststructure.c: (gst_structure_parse_field),
19849         (gst_structure_from_string):
19850           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19851           so that gst_parse_launch() can deal with spaces in filtered link
19852           caps (fixes #164479)
19853         * check/gst/capslist.h:
19854         * check/gst/gststructure.c: (GST_START_TEST):
19855           add unit tests for this change
19856
19857 2005-11-10  Wim Taymans  <wim@fluendo.com>
19858
19859         * docs/gst/gstreamer-sections.txt:
19860         * gst/gstelement.c:
19861         * gst/gstelement.h:
19862         Fix docs, move some STATE macros to private.
19863
19864 2005-11-10  Wim Taymans  <wim@fluendo.com>
19865
19866         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19867         Added check for bug #317341
19868
19869         * gst/gstbuffer.c:
19870         * gst/gstbuffer.h:
19871         Some more spiffifying.
19872
19873         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19874         Call peer linkfunction if we are a source pad. Totally fixes
19875         #317341
19876
19877         * gst/gstpad.c:
19878         Update docs, source pads should call the peer linkfunction
19879         so they can atomically perform the pad link.
19880
19881 2005-11-09  Wim Taymans  <wim@fluendo.com>
19882
19883         * gst/gstbuffer.c:
19884         * gst/gstbuffer.h:
19885         Uber-spiffy-spiffify some more.
19886
19887 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19888
19889         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19890         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19891         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19892         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19893         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19894         * gst/gstpad.c: (gst_pad_init):
19895           Use GST_DEBUG_FUNCPTR() more extensively.
19896
19897 2005-11-09  Wim Taymans  <wim@fluendo.com>
19898
19899         * gst/gstobject.c: (gst_object_class_init):
19900         * gst/gstobject.h:
19901         Documentation fixes.
19902
19903 2005-11-09  Edward Hervey  <edward@fluendo.com>
19904
19905         * gst/gsttypefindfactory.c:
19906         Fix docs.
19907         
19908 2005-11-09  Edward Hervey  <edward@fluendo.com>
19909
19910         * gst/base/gsttypefindhelper.c:
19911         * gst/gsttypefind.c:
19912         * gst/gsttypefind.h:
19913         Fix docs.
19914
19915 2005-11-09  Wim Taymans  <wim@fluendo.com>
19916
19917         * gst/gstiterator.c:
19918         Fix revision data.
19919
19920         * gst/gsttask.c:
19921         * gst/gsttask.h:
19922         Fix docs.
19923
19924 2005-11-09  Wim Taymans  <wim@fluendo.com>
19925
19926         * gst/gstevent.h:
19927         * gst/gsturi.h:
19928         Fix docs.
19929
19930 2005-11-09  Wim Taymans  <wim@fluendo.com>
19931
19932         * docs/gst/gstreamer-sections.txt:
19933         Moved the message async delivery private lock and cond
19934         to the private section.
19935
19936         * gst/gstmessage.c:
19937         * gst/gstmessage.h:
19938         Fixed docs.
19939
19940 2005-11-09  Edward Hervey  <edward@fluendo.com>
19941
19942         * docs/gst/gstreamer-sections.txt:
19943         * gst/gsturi.c:
19944         * gst/gsturi.h:
19945         Document GstURIHandler
19946
19947 2005-11-09  Wim Taymans  <wim@fluendo.com>
19948
19949         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19950         (gst_iterator_find_custom):
19951         * gst/gstiterator.h:
19952         Fix iterator docs.
19953
19954 2005-11-09  Wim Taymans  <wim@fluendo.com>
19955
19956         * gst/gstbin.h:
19957         Document another field.
19958
19959         * gst/gststructure.c:
19960         * gst/gststructure.h:
19961         Document.
19962
19963 2005-11-09  Wim Taymans  <wim@fluendo.com>
19964
19965         * gst/gstbin.h:
19966         Documented structs.
19967
19968 2005-11-09  Wim Taymans  <wim@fluendo.com>
19969
19970         * docs/gst/gstreamer-sections.txt:
19971         Added some new macros.
19972
19973         * gst/gstclock.c:
19974         * gst/gstclock.h:
19975         * gst/gstobject.h:
19976         Docs updates.
19977
19978 2005-11-09  Wim Taymans  <wim@fluendo.com>
19979
19980         * docs/design/part-TODO.txt:
19981         Some more items for the TODO
19982
19983         * gst/gstcaps.c:
19984         * gst/gstcaps.h:
19985         Document GstCaps.
19986
19987 2005-11-09  Andy Wingo  <wingo@pobox.com>
19988
19989         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19990         to work on something else now tho...
19991
19992         * gst/base/gstadapter.c: More adapter docs.
19993
19994         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19995         (gst_file_sink_stop): New functions, replace the state change
19996         handler.
19997         (gst_file_sink_class_init): Hook up the start and stop functions.
19998         (gst_file_sink_base_init): Don't set the state change handler any
19999         more. It was a bit ugly too, being set from here...
20000         (gst_file_sink_get_property, gst_file_sink_set_property):
20001         Cleanups...
20002         (gst_file_sink_set_location): More robust check that doesn't call
20003         GST_STATE. Ugggggg.
20004
20005 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
20006
20007         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20008           Hold STREAM_LOCK while pushing newsegment or tag events as well.
20009
20010 2005-11-08  Wim Taymans  <wim@fluendo.com>
20011
20012         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20013         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20014         (gst_base_sink_chain), (gst_base_sink_change_state):
20015         * gst/base/gstbasesink.h:
20016         * gst/base/gstbasesrc.h:
20017         * gst/gstelement.h:
20018         * gst/gstevent.h:
20019         Avoid excessive typechecking in macros.
20020
20021         * gst/gstminiobject.c: (gst_mini_object_get_type),
20022         (gst_mini_object_init), (gst_mini_object_new),
20023         (gst_mini_object_free):
20024         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20025         (gst_object_finalize):
20026         Remove cruft code, optimize alloc_trace.
20027
20028 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
20029
20030         * docs/faq/gst-uninstalled:
20031           fix up PS1 for systems that try to reset it
20032
20033 2005-11-07  Wim Taymans  <wim@fluendo.com>
20034
20035         * gst/base/gstbasesrc.c: (gst_base_src_init),
20036         (gst_base_src_get_range):
20037         Set the segment_end to -1 initially. Fixed typefind.
20038
20039 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
20040
20041         * gst/base/gstadapter.c:
20042           Debug category should be 'adapter', not 'GstAdapter'.
20043           
20044         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
20045         (gst_collectpads_class_init), (gst_collectpads_init),
20046         (gst_collectpads_peek), (gst_collectpads_pop),
20047         (gst_collectpads_event), (gst_collectpads_chain):
20048           Add debug category and some debugging output. Use boilerplate
20049           macros. Remove some extraneous words from docs.
20050
20051 2005-11-05  Andy Wingo  <wingo@pobox.com>
20052
20053         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20054         macro.
20055
20056 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20057
20058         * docs/gst/gstreamer-sections.txt:
20059         * gst/gstcaps.h:
20060         * gst/gstinfo.c:
20061         * gst/gstminiobject.h:
20062         * gst/gstobject.h:
20063         * gst/gstutils.h:
20064           more docs added
20065
20066 2005-11-04  Wim Taymans  <wim@fluendo.com>
20067
20068         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20069         Small update to stop at the configured segment_end
20070         position.
20071
20072 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20073
20074         * gst/gstregistry.c:
20075         * gst/gstregistry.h:
20076           added missing docs
20077
20078 2005-11-04  Edward Hervey  <edward@fluendo.com>
20079
20080         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20081         Check if we are doing a segment seek and have arrived at the
20082         end of that segment.
20083
20084 2005-11-04  Wim Taymans  <wim@fluendo.com>
20085
20086         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20087         Don't leak a mutex unlock in case of an error.
20088
20089         * gst/gstbus.h:
20090         Doc fixes.
20091
20092 2005-11-04  Wim Taymans  <wim@fluendo.com>
20093
20094         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20095         (gst_bus_post):
20096         Get the context to wake up only once.
20097
20098 2005-11-03  Wim Taymans  <wim@fluendo.com>
20099
20100         * check/states/sinks.c: (GST_START_TEST):
20101         Uncomment fixed check.
20102
20103         * docs/design/part-TODO.txt:
20104         Updated TODO.
20105
20106         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20107         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20108         (gst_base_sink_get_position):
20109         If we are going to PLAYING, post the right pending state
20110         when we post the intermediate paused message.
20111
20112         * gst/gstelement.c: (gst_element_continue_state),
20113         (gst_element_set_state_func), (gst_element_change_state):
20114         Don't post state changes that were between the same state
20115         and were not ASYNC.
20116
20117 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20118
20119         * docs/gst/gstreamer-sections.txt:
20120         * gst/gstcaps.h:
20121         * gst/gstinfo.c:
20122         * gst/gstminiobject.h:
20123         * gst/gstobject.h:
20124         * gst/gstutils.h:
20125           more docs and doc style fixes
20126
20127 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20128
20129         * docs/gst/gstreamer-sections.txt:
20130         * gst/gstelement.c:
20131         * gst/gstminiobject.c:
20132         doc fixes
20133
20134 2005-11-03  Andy Wingo  <wingo@pobox.com>
20135
20136         * check/states/sinks.c (test_livesrc_sink): Add checks that the
20137         state-changed messages actually have the right order and the right
20138         values.
20139
20140 2005-11-03  Wim Taymans  <wim@fluendo.com>
20141
20142         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20143         Added some more checks. Specifically the case where NO_PREROLL
20144         elements are in the pipeline.
20145
20146         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20147         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20148         (gst_base_sink_get_position):
20149         Post READY->PAUSED state change messages too.
20150         Fix bug where VOID was posted as pending state...
20151
20152         * gst/gstbin.c: (gst_bin_recalc_state):
20153         use _element_continue_state() to continue the state change.
20154
20155         * gst/gstelement.c: (gst_element_continue_state),
20156         (gst_element_commit_state), (gst_element_set_state_func),
20157         (gst_element_change_state), (gst_element_change_state_func):
20158         Lots of state change cleanups, assign the STATE_RETURN in
20159         a new continue_state() function that also propagates the
20160         last return value from a state change to the app.
20161         Update some debug statements with proper category.
20162
20163 2005-11-03  Wim Taymans  <wim@fluendo.com>
20164
20165         * docs/design/part-events.txt:
20166         * docs/design/part-gstpipeline.txt:
20167         * docs/design/part-messages.txt:
20168         * docs/design/part-overview.txt:
20169         * docs/design/part-seeking.txt:
20170         * docs/design/part-states.txt:
20171         * docs/design/part-trickmodes.txt:
20172         * docs/manual/advanced-position.xml:
20173         Small docs updates.
20174
20175         * gst/gstobject.h:
20176         People think !! is ugly, this looks better.
20177
20178         * gst/gstpad.c: (gst_pad_set_blocked_async):
20179         Remove !! since it's fixed elsewhere now.
20180
20181 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20182
20183         * gst/gstminiobject.h:
20184         * gst/gstobject.h:
20185           Add !! to _FLAG_IS_SET macros to make the result boolean.
20186
20187 2005-11-03  Edward Hervey  <edward@fluendo.com>
20188
20189         * gst/gstpad.c: (gst_pad_set_blocked_async):
20190         comparing a flag and a gboolean rarely returns coherent results...
20191         Added two characters (!!) to make that work correctly.
20192         
20193 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20194
20195         * gst/gstbus.c: (gst_bus_class_init):
20196           Fix some typos.
20197           
20198         * gst/gstqueue.c: (gst_queue_loop):
20199           Don't assume a miniobject that isn't a buffer is an
20200           event (it could be that there is a refcounting
20201           problem somewhere and the pointer is stale and
20202           refers to an already destroyed miniobject).
20203
20204 2005-11-03  Julien MOUTTE  <julien@moutte.net>
20205
20206         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20207
20208 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20209
20210         * docs/manual/advanced-position.xml:
20211           Update seek example and explanations to current 0.9 API.
20212
20213         * gst/elements/gsttypefindelement.c:
20214         (gst_type_find_element_activate):
20215           Remove FIXME comment now that the found caps
20216           are unreffed.
20217
20218 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20219
20220         * gst/gstregistryxml.c: (load_feature):
20221           Add another GST_STR_NULL instance
20222
20223 2005-11-02  Edward Hervey  <edward@fluendo.com>
20224
20225         * gst/gstpad.c: (handle_pad_block):
20226         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20227         
20228 2005-11-02  Wim Taymans  <wim@fluendo.com>
20229
20230         * gst/gstbin.c:
20231         Fix typo in docs.
20232
20233         * gst/gstelement.c: (gst_element_commit_state):
20234         Remove unused value.
20235
20236         * gst/gstiterator.c:
20237         Mention that the returned element is reffed in the docs.
20238
20239 2005-11-02  Wim Taymans  <wim@fluendo.com>
20240
20241         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20242         (gst_pad_push), (gst_pad_push_event):
20243         Unlock blocked pads when they are flushed.
20244
20245 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20246
20247         * docs/README:
20248         * docs/gst/gstreamer-sections.txt:
20249         * gst/gstbin.c:
20250           doc updates
20251         * gst/gstregistry.c: (gst_registry_scan_path_level):
20252           fix for a nasty little missed situation where an installed plug-in
20253           which was in the cache did not get overridden by an uninstalled one
20254           which was earlier in the plugin path because the newly created plugin
20255           for the uninstalled one (not in the registry) didn't get its
20256           ->registered set to TRUE
20257
20258 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20259
20260         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20261         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20262         (gst_collectpads_is_active), (gst_collectpads_collect),
20263         (gst_collectpads_collect_range), (gst_collectpads_start),
20264         (gst_collectpads_stop), (gst_collectpads_peek),
20265         (gst_collectpads_pop), (gst_collectpads_available),
20266         (gst_collectpads_read), (gst_collectpads_flush):
20267           Guard public API with assertions.
20268         
20269         * gst/gstpad.c:
20270           Fix docs for gst_pad_set_link_function().
20271
20272 2005-11-02  Johan Dahlin  <johan@gnome.org>
20273
20274         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
20275         Unref found_caps after we used it.
20276
20277 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20278
20279         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20280           Don't try to ref NULL.
20281
20282 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20283
20284         * win32/common/config.h.in:
20285           provide a GST_FUNCTION that just gives a string for now
20286
20287 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20288
20289         * win32/common/gstenumtypes.c: (register_gst_object_flags),
20290         (gst_object_flags_get_type), (register_gst_bin_flags),
20291         (gst_bin_flags_get_type), (register_gst_buffer_flag),
20292         (gst_buffer_flag_get_type), (register_gst_bus_flags),
20293         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20294         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20295         (gst_clock_return_get_type), (register_gst_clock_entry_type),
20296         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20297         (gst_clock_flags_get_type), (register_gst_state),
20298         (gst_state_get_type), (register_gst_state_change_return),
20299         (gst_state_change_return_get_type), (register_gst_state_change),
20300         (gst_state_change_get_type), (register_gst_element_flags),
20301         (gst_element_flags_get_type), (register_gst_core_error),
20302         (gst_core_error_get_type), (register_gst_library_error),
20303         (gst_library_error_get_type), (register_gst_resource_error),
20304         (gst_resource_error_get_type), (register_gst_stream_error),
20305         (gst_stream_error_get_type), (register_gst_event_type),
20306         (gst_event_type_get_type), (register_gst_seek_type),
20307         (gst_seek_type_get_type), (register_gst_seek_flags),
20308         (gst_seek_flags_get_type), (register_gst_format),
20309         (gst_format_get_type), (register_gst_index_certainty),
20310         (gst_index_certainty_get_type), (register_gst_index_entry_type),
20311         (gst_index_entry_type_get_type),
20312         (register_gst_index_lookup_method),
20313         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20314         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20315         (gst_index_resolver_method_get_type), (register_gst_index_flags),
20316         (gst_index_flags_get_type), (register_gst_debug_level),
20317         (gst_debug_level_get_type), (register_gst_debug_color_flags),
20318         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20319         (gst_iterator_result_get_type), (register_gst_iterator_item),
20320         (gst_iterator_item_get_type), (register_gst_message_type),
20321         (gst_message_type_get_type), (register_gst_mini_object_flags),
20322         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20323         (gst_pad_link_return_get_type), (register_gst_flow_return),
20324         (gst_flow_return_get_type), (register_gst_activate_mode),
20325         (gst_activate_mode_get_type), (register_gst_pad_direction),
20326         (gst_pad_direction_get_type), (register_gst_pad_flags),
20327         (gst_pad_flags_get_type), (register_gst_pad_presence),
20328         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20329         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20330         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20331         (gst_plugin_error_get_type), (register_gst_plugin_flags),
20332         (gst_plugin_flags_get_type), (register_gst_rank),
20333         (gst_rank_get_type), (register_gst_query_type),
20334         (gst_query_type_get_type), (register_gst_tag_merge_mode),
20335         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20336         (gst_tag_flag_get_type), (register_gst_task_state),
20337         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20338         (gst_alloc_trace_flags_get_type),
20339         (register_gst_type_find_probability),
20340         (gst_type_find_probability_get_type), (register_gst_uri_type),
20341         (gst_uri_type_get_type), (register_gst_parse_error),
20342         (gst_parse_error_get_type):
20343         * win32/common/gstversion.h:
20344           update win32 copies
20345
20346 2005-11-01  Luca Ognibene  <luogni@tin.it>
20347
20348         * gst/gst.c:
20349           fix docs. popt is dead, long live GOption.
20350
20351 2005-10-31  Wim Taymans  <wim@fluendo.com>
20352
20353         * gst/gstbuffer.h:
20354         Small doc fix.
20355
20356 2005-10-31  Andy Wingo  <wingo@pobox.com>
20357
20358         * Boo!
20359
20360         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20361
20362         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20363         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20364         the possibility of deadlocks here if code calling notify() or
20365         set() has a lock that can be taken in another notify handler (ABBA
20366         with class lock and e.g. python GIL state lock).
20367
20368 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20369
20370         * gst/gstbus.c: Doc updates.
20371
20372 2005-10-28  Wim Taymans  <wim@fluendo.com>
20373
20374         * docs/design/part-TODO.txt:
20375         * gst/gstiterator.c:
20376         * gst/gstsystemclock.c:
20377         * gst/gstsystemclock.h:
20378         Doc updates.
20379
20380 2005-10-28  Edward Hervey  <edward@fluendo.com>
20381
20382         * docs/gst/gstreamer-docs.sgml:
20383         * docs/gst/gstreamer-sections.txt:
20384         the GstURIType documentation page is private, it only defines GstURIType
20385         which should be defined in the GstURIHandler page
20386         
20387 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20388
20389         * gst/gstbin.c: (gst_bin_class_init):
20390         * gst/gstbin.h:
20391         * gst/gstutils.c:
20392         Documentation updates.
20393
20394 2005-10-28  Wim Taymans  <wim@fluendo.com>
20395
20396         * docs/gst/gstreamer-sections.txt:
20397         * gst/gstclock.c:
20398         * gst/gstclock.h:
20399         Documented the clocks.
20400
20401 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20402
20403         * docs/gst/gstreamer-sections.txt:
20404           move some macros to private sections
20405         * gst/gstminiobject.c:
20406         * gst/gstminiobject.h:
20407           add descriptions provided by ds and some more
20408         * gst/gstpad.h:
20409           mark macro as to be removed
20410
20411 2005-10-28  Wim Taymans  <wim@fluendo.com>
20412
20413         * docs/design/part-TODO.txt:
20414         Add an item to TODO.
20415
20416         * gst/gstiterator.c: (gst_iterator_fold),
20417         (gst_iterator_find_custom):
20418         * gst/gstiterator.h:
20419         Add iterator docs.
20420
20421 2005-10-28  Wim Taymans  <wim@fluendo.com>
20422
20423         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20424         (gst_base_transform_init):
20425         Don't leak class.
20426
20427         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20428         An EOS event marks the queue as completely filled.
20429
20430 2005-10-27  Wim Taymans  <wim@fluendo.com>
20431
20432         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20433         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20434         Some more debugging.
20435
20436         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20437         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20438         (gst_base_transform_event), (gst_base_transform_getrange),
20439         (gst_base_transform_chain):
20440         * gst/base/gstbasetransform.h:
20441         Fix debugging,
20442         Protect transform and concurrent buffer alloc with a new lock.
20443         Try not to break ABI/API.
20444
20445 2005-10-27  Wim Taymans  <wim@fluendo.com>
20446
20447         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20448         (gst_base_src_init), (gst_base_src_query),
20449         (gst_base_src_default_newsegment),
20450         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20451         (gst_base_src_send_event), (gst_base_src_event_handler),
20452         (gst_base_src_pad_get_range), (gst_base_src_loop),
20453         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20454         (gst_base_src_start), (gst_base_src_deactivate),
20455         (gst_base_src_activate_push), (gst_base_src_change_state):
20456         Move some stuff around and cleanup things.
20457
20458 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20459
20460         * gst/base/gstbasesrc.c: (gst_base_src_query):
20461           Add missing break statements.
20462
20463 2005-10-27  Wim Taymans  <wim@fluendo.com>
20464
20465         * check/gst/gstbin.c: (GST_START_TEST):
20466         An extra refcount is taken in basesrc.
20467
20468         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20469         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20470         (gst_base_src_loop):
20471         Small cleanups, check for flushing after being unlocked from the 
20472         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20473         Don't send out EOS when going to READY.
20474
20475 2005-10-27  Wim Taymans  <wim@fluendo.com>
20476
20477         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20478         (gst_base_sink_get_position):
20479         Some more debug.
20480
20481         * gst/gstbin.c: (message_check), (bin_replace_message),
20482         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20483         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20484         (bin_query_duration_init), (bin_query_duration_fold),
20485         (bin_query_duration_done), (bin_query_generic_fold),
20486         (gst_bin_query):
20487         * tools/gst-launch.c: (main):
20488         Remove old option.
20489
20490 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20491
20492         * examples/controller/audio-example.c: (main):
20493         * examples/queue/queue.c: (event_loop):
20494         * gst/base/gstbasetransform.h:
20495         * gst/gstelement.c: (gst_element_send_event):
20496         * gst/gstevent.h:
20497         * gst/gstpad.c: (gst_pad_send_event):
20498           fixing examples
20499           fixing docs typos
20500           changing log priority in error situations
20501
20502 2005-10-25  Wim Taymans  <wim@fluendo.com>
20503
20504         * gst/gstbin.c: (message_check), (bin_replace_message),
20505         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20506         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20507         (bin_query_duration_init), (bin_query_duration_fold),
20508         (bin_query_duration_done), (bin_query_generic_fold),
20509         (gst_bin_query):
20510         Some doc and debug updates.
20511         Cache previously requested query DURATION for speed. invalidate
20512         cached duration if element posts a DURATION message.
20513
20514 2005-10-25  Wim Taymans  <wim@fluendo.com>
20515
20516         * docs/design/part-TODO.txt:
20517         Update TODO.
20518
20519         * gst/gstbin.c: (message_check), (bin_replace_message),
20520         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20521         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20522         (bin_query_duration_init), (bin_query_duration_fold),
20523         (bin_query_duration_done), (bin_query_generic_fold),
20524         (gst_bin_query):
20525         Handle SEGMENT_START/DONE messages correctly.
20526         More evolved query algorithm that handles duration queries
20527         correctly.
20528
20529         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20530         (gst_element_get_state_func), (gst_element_abort_state),
20531         (gst_element_commit_state), (gst_element_lost_state):
20532         Some more debugging.
20533
20534         * gst/gstmessage.h:
20535         Added doc.
20536
20537 2005-10-25  Wim Taymans  <wim@fluendo.com>
20538
20539         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20540         Don't use invalid stream_time.
20541
20542         * gst/gstevent.c: (gst_event_new_newsegment):
20543         stream_time in newsegment cannot be undefined.
20544
20545 2005-10-24  Wim Taymans  <wim@fluendo.com>
20546
20547         * gst/gstbus.c:
20548         Doc fix.
20549
20550         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20551         (gst_queue_loop):
20552         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20553
20554 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20555
20556         * docs/libs/tmpl/gstdparam.sgml:
20557         * docs/libs/tmpl/gstdplinint.sgml:
20558         * docs/libs/tmpl/gstdpman.sgml:
20559         * docs/libs/tmpl/gstdpsmooth.sgml:
20560         * docs/libs/tmpl/gstunitconvert.sgml:
20561           these are obsolete
20562
20563 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20564
20565         * configure.ac:
20566           back to HEAD
20567
20568 === release 0.9.4 ===
20569
20570 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20571
20572         * configure.ac:
20573           releasing 0.9.4, "Tyrannosaurus Rex"
20574
20575 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20576
20577         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20578         (gst_file_sink_get_current_offset):
20579           Use fseeko() and ftello() if available. When falling back on
20580           lseek() to get the current offset, fflush() first to make sure
20581           everything is up-to-date and we get the right offset.
20582
20583 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20584
20585         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20586         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20587         * gst/gsterror.c: (_gst_stream_errors_init):
20588         * gst/gsterror.h:
20589         * gst/gstqueue.c: (gst_queue_loop):
20590         * po/POTFILES.in:
20591           remove prematurely added error category and clean up the instances
20592
20593 2005-10-21  Wim Taymans  <wim@fluendo.com>
20594
20595         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20596         (gst_base_sink_get_position), (gst_base_sink_query),
20597         (gst_base_sink_change_state):
20598         Simply set the right flag when going to playing, that's all
20599         we need to do instead of calling a function inside the object
20600         lock (that could take the lock as well and deadlock)
20601
20602 2005-10-21  Wim Taymans  <wim@fluendo.com>
20603
20604         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20605         (gst_base_src_loop):
20606         Don't warn, the peer element knows what to do best when
20607         the seek failed, it might try something else.
20608
20609 2005-10-21  Wim Taymans  <wim@fluendo.com>
20610
20611         * gst/base/gstbasesrc.c: (gst_base_src_init),
20612         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20613         Fix seeking.
20614
20615 2005-10-21  Wim Taymans  <wim@fluendo.com>
20616
20617         * docs/design/part-segments.txt:
20618         More docs.
20619
20620         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20621         Correctly set caps, even on the subbufer.
20622
20623 2005-10-21  Wim Taymans  <wim@fluendo.com>
20624
20625         * docs/gst/gstreamer-docs.sgml:
20626         * docs/gst/gstreamer-sections.txt:
20627         * gst/gstelement.h:
20628         * gst/gstevent.c:
20629         * gst/gstevent.h:
20630         * gst/gstmessage.h:
20631         * gst/gstpad.h:
20632         * gst/gstparse.h:
20633         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20634         * gst/gsttask.h:
20635         * gst/gstutils.c:
20636         * gst/gstutils.h:
20637         And 2% more doc coverage.
20638
20639 2005-10-21  Andy Wingo  <wingo@pobox.com>
20640
20641         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20642         position reporting.
20643
20644 2005-10-20  Wim Taymans  <wim@fluendo.com>
20645
20646         * gst/gsterror.c: (gst_error_get_message):
20647         * gst/gstparse.h:
20648         * gst/gstquery.h:
20649         * gst/gststructure.c:
20650         * gst/gsttrace.c:
20651         * gst/gstutils.c:
20652         More docs.
20653
20654 2005-10-20  Wim Taymans  <wim@fluendo.com>
20655
20656         * gst/gstbuffer.h:
20657         * gst/gstpad.c:
20658         * gst/gstparse.c:
20659         Another 1% more coverage.
20660
20661 2005-10-20  Wim Taymans  <wim@fluendo.com>
20662
20663         * docs/gst/gstreamer-sections.txt:
20664         * gst/gstelement.c: (gst_element_get_state_func),
20665         (gst_element_abort_state), (gst_element_commit_state),
20666         (gst_element_lost_state):
20667         * gst/gstevent.h:
20668         * gst/gstquery.c: (gst_query_set_position),
20669         (gst_query_parse_position), (gst_query_set_duration),
20670         (gst_query_parse_duration), (gst_query_new_convert):
20671         * gst/gstutils.c:
20672         Yay! 1% more docs coverage.
20673
20674 2005-10-20  Wim Taymans  <wim@fluendo.com>
20675
20676         * gst/gstpad.h:
20677         * gst/gstquery.c: (gst_query_set_position),
20678         (gst_query_parse_position), (gst_query_set_duration),
20679         (gst_query_parse_duration), (gst_query_new_convert):
20680         * gst/gstquery.h:
20681         * gst/gstutils.c: (gst_element_query_convert):
20682         * gst/gstutils.h:
20683         Docs and consistency fixes.
20684
20685 2005-10-20  Wim Taymans  <wim@fluendo.com>
20686
20687         * gst/gsttask.c:
20688         * gst/gsttask.h:
20689         More docs.
20690
20691 2005-10-20  Wim Taymans  <wim@fluendo.com>
20692
20693         * gst/gstbin.c: (message_check), (bin_replace_message),
20694         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20695         (update_degree), (gst_bin_sort_iterator_next),
20696         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20697         Reworked the message handling a bit, cache the messages instead of
20698         only the senders. alows us to do more in the future.
20699
20700 2005-10-20  Wim Taymans  <wim@fluendo.com>
20701
20702         * docs/design/part-TODO.txt:
20703         Update TODO
20704
20705         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20706         (gst_base_sink_query):
20707         Don't use clock time to report position when in EOS.
20708
20709 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20710
20711         * tools/gst-inspect.c: (print_interfaces),
20712         (print_element_properties_info), (print_element_info):
20713           Fix interface output with gst-inspect -a; don't print
20714           newlines after double/float properties.
20715
20716 2005-10-20  Wim Taymans  <wim@fluendo.com>
20717
20718         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20719         (gst_base_sink_query):
20720         Speed up current position calculation.
20721
20722         * gst/base/gstbasesrc.c: (gst_base_src_query),
20723         (gst_base_src_default_newsegment):
20724         Correctly set stream position in newsegment.
20725
20726         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20727         (update_degree), (gst_bin_sort_iterator_next),
20728         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20729         * gst/gstmessage.c: (gst_message_new_custom):
20730         Clean up debugging info
20731
20732         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20733         (gst_queue_loop), (gst_queue_handle_src_query):
20734         Pause task faster.
20735
20736 2005-10-19  Wim Taymans  <wim@fluendo.com>
20737
20738         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20739         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20740         Fix query handling again.
20741
20742 2005-10-19  Wim Taymans  <wim@fluendo.com>
20743
20744         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20745         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20746         * gst/base/gstbasesrc.c: (gst_base_src_query):
20747         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20748         * gst/elements/gsttypefindelement.c:
20749         (gst_type_find_handle_src_query), (find_element_get_length),
20750         (gst_type_find_element_activate):
20751         API change fix.
20752
20753         * gst/gstquery.c: (gst_query_new_position),
20754         (gst_query_set_position), (gst_query_parse_position),
20755         (gst_query_new_duration), (gst_query_set_duration),
20756         (gst_query_parse_duration), (gst_query_set_segment),
20757         (gst_query_parse_segment):
20758         * gst/gstquery.h:
20759         Bundling query position/duration is not a good idea since duration
20760         does not change much and we don't want to recalculate it for every
20761         position query, so they are separated again..
20762         Base value in segment query is not needed.
20763
20764         * gst/gstqueue.c: (gst_queue_handle_src_query):
20765         * gst/gstutils.c: (gst_element_query_position),
20766         (gst_element_query_duration), (gst_pad_query_position),
20767         (gst_pad_query_duration):
20768         * gst/gstutils.h:
20769         Updates for query API change.
20770         Added some docs here and there.
20771
20772 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20773
20774         * check/gst/gstbin.c: (GST_START_TEST):
20775         * check/gst/gstghostpad.c: (GST_START_TEST):
20776         * check/pipelines/cleanup.c: (GST_START_TEST):
20777           wait on thread to die so we can check refcount correctly
20778
20779 2005-10-18  Wim Taymans  <wim@fluendo.com>
20780
20781         * check/pipelines/stress.c: (GST_START_TEST):
20782         Make check a little more time consuming.
20783
20784 2005-10-18  Wim Taymans  <wim@fluendo.com>
20785
20786         * check/Makefile.am:
20787         * check/pipelines/stress.c: (GST_START_TEST),
20788         (simple_launch_lines_suite), (main):
20789         Small state change torture test.
20790
20791         * docs/design/part-states.txt:
20792         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20793         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20794         (gst_base_sink_change_state):
20795         Never take state lock from streaming thread, clean up ugly
20796         hacks. Unfortunatly core does not yet support nice ways to
20797         async commit state.
20798         
20799         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20800         (bin_bus_handler):
20801         Start state recalc if a STATE_DIRTY message is posted, but only
20802         on the toplevel bin.
20803
20804         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20805         (gst_element_get_state_func), (gst_element_abort_state),
20806         (gst_element_commit_state), (gst_element_lost_state),
20807         (gst_element_set_state_func), (gst_element_change_state):
20808         * gst/gstelement.h:
20809         State variables are now protected with the LOCK, the state
20810         lock is only used to serialize _set_state().
20811
20812 2005-10-18  Wim Taymans  <wim@fluendo.com>
20813
20814         * check/gst/gstbin.c: (GST_START_TEST):
20815         * check/gst/gstmessage.c: (GST_START_TEST):
20816         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20817         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20818         (bin_bus_handler):
20819         * gst/gstelement.c: (gst_element_abort_state),
20820         (gst_element_commit_state), (gst_element_lost_state):
20821         * gst/gstmessage.c: (gst_message_new_state_changed),
20822         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20823         (gst_message_new_segment_done), (gst_message_new_duration),
20824         (gst_message_parse_state_changed),
20825         (gst_message_parse_segment_start),
20826         (gst_message_parse_segment_done), (gst_message_parse_duration):
20827         * gst/gstmessage.h:
20828         * tools/gst-launch.c: (event_loop):
20829         Seriously, this is better than a previous commit as we only need
20830         to notify the fact that an element changed state in a streaming
20831         thread, marking the state of the parents dirty, hence the 
20832         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20833         message.
20834
20835 2005-10-18  Wim Taymans  <wim@fluendo.com>
20836
20837         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20838         (gst_bin_recalc_func):
20839         * gst/gstelement.c: (gst_element_set_clock),
20840         (gst_element_abort_state), (gst_element_lost_state):
20841         Cleanups, prepare for state change fixes.
20842
20843 2005-10-18  Wim Taymans  <wim@fluendo.com>
20844
20845         * gst/gstbin.h:
20846         * gst/gstelement.c: (gst_element_class_init),
20847         (gst_element_set_state), (gst_element_set_state_func):
20848         * gst/gstelement.h:
20849         Pending ABI changes.
20850         GThreadPool in GstBinClass to monitor async state changes.
20851         state_cookie in GstElement to detect concurrent gst/set state.
20852         set_state is now virtual too in case a very complicated element
20853         has to be constructed.
20854
20855 2005-10-18  Wim Taymans  <wim@fluendo.com>
20856
20857         * check/gst/gstbin.c: (GST_START_TEST):
20858         * check/gst/gstmessage.c: (GST_START_TEST):
20859         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20860         * gst/gstbin.c: (bin_bus_handler):
20861         * gst/gstelement.c: (gst_element_commit_state),
20862         (gst_element_lost_state):
20863         * gst/gstmessage.c: (gst_message_new_state_changed),
20864         (gst_message_new_segment_start), (gst_message_new_segment_done),
20865         (gst_message_new_duration), (gst_message_parse_state_changed),
20866         (gst_message_parse_segment_start),
20867         (gst_message_parse_segment_done), (gst_message_parse_duration):
20868         * gst/gstmessage.h:
20869         * tools/gst-launch.c: (event_loop):
20870         Make messages future proof.
20871         state-change gets a flag if it was a message comming from the
20872         streaming thread.
20873         segment-start/stop can also be specified in other formats.
20874         A message to notify an app that a pipeline changed playback 
20875         duration.
20876         Also fix a GstMessage leak in -launch
20877
20878 2005-10-18  Andy Wingo  <wingo@pobox.com>
20879
20880         * gst/gstelement.c (gst_element_dispose): More helpful message.
20881
20882 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20883
20884         reviewed by: <delete if not using a buddy>
20885
20886         * common/gtk-doc.mak:
20887
20888 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20889
20890         * gst/gstregistry.c: (gst_registry_scan_path_level):
20891           unref a plug-in we get that was already initialized
20892
20893 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20894
20895         * docs/gst/gstreamer-sections.txt:
20896         * docs/libs/gstreamer-libs-sections.txt:
20897         * gst/gstelement.h:
20898           add new api entries
20899           hide internal macro
20900
20901 2005-10-17  Andy Wingo  <wingo@pobox.com>
20902
20903         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20904         cleanup.
20905
20906         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20907
20908         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20909
20910         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20911         (gst_element_get_state_func): Better debug message.
20912         (gst_element_commit_state): s/INFO/DEBUG/.
20913         (gst_element_lost_state, gst_element_change_state): 
20914
20915         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20916         (gst_message_new_custom): s/INFO/LOG/.
20917
20918 2005-10-17  Michael Smith <msmith@fluendo.com>
20919
20920         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20921           Check if end time is valid using end time, not start time.
20922
20923 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20924
20925         * check/gst-libs/controller.c: (GST_START_TEST),
20926         (gst_controller_suite):
20927         * libs/gst/controller/gstcontroller.c:
20928         (gst_controlled_property_set_interpolation_mode):
20929         * libs/gst/controller/gstcontroller.h:
20930         * libs/gst/controller/gstinterpolation.c:
20931         * testsuite/controller/.cvsignore:
20932         * testsuite/controller/Makefile.am:
20933         * testsuite/controller/interpolator.c:
20934           merge controller testsuites
20935           fix broken tests
20936           remove mem-chunk from docs
20937
20938 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20939
20940         * gst/gstmemchunk.c:
20941         * gst/gstmemchunk.h:
20942         * gst/gsttrashstack.c:
20943         * gst/gsttrashstack.h:
20944           out.  get out.  you're fired.  to the Attic !
20945
20946 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20947
20948         * gst/gstcaps.c: (gst_caps_intersect):
20949           fix signedness issues in a (hopefully) correct way
20950         * gst/gstelement.c: (gst_element_pads_activate):
20951           some debugging
20952         * gst/gstobject.c: (gst_object_set_parent):
20953           some debugging
20954
20955 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20956
20957         * gst/gstvalue.h: Fix prototypes.
20958
20959 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20960
20961         * docs/gst/gstreamer-sections.txt:
20962         * gst/gst.c: (gst_version_string):
20963         * gst/gst.h:
20964         * gst/gstversion.h.in:
20965         * win32/common/libgstreamer.def:
20966           add gst_version_string ()
20967
20968 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20969
20970         * configure.ac:
20971           clean up further
20972         * gst/gst.c: (init_post):
20973         * win32/common/config.h.in:
20974           it's PLUGINDIR now
20975         * gst/gstcaps.c: (gst_caps_intersect):
20976           use gint64, the range could be bigger than a guint
20977
20978 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20979
20980         * gst/gstclock.h:
20981           document potential problem in 2038
20982
20983 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20984
20985         * gst/gstcaps.c: (gst_caps_intersect):
20986           Fix guint j diving under 0
20987
20988 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20989
20990         * configure.ac:
20991         * win32/common/config.h:
20992         * win32/common/config.h.in:
20993           check for process.h, declares getpid() on Windows
20994         * gst/gstinfo.c:
20995           include process.h if we have it
20996         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20997         * gst/gstmemchunk.h:
20998           fix signedness issues
20999         * win32/common/libgstreamer.def:
21000           fix get_type's
21001
21002 2005-10-16  Julien MOUTTE  <julien@moutte.net>
21003
21004         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
21005         fix. Because of unsigned ints, caps intersection was going nuts and
21006         trying to access structures with G_MAXUINT index. That fixes
21007         videotestsrc ! ffmpegcolorspace ! fakesink
21008         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
21009         consistency.
21010
21011 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21012
21013         * configure.ac:
21014           use the gettext macro
21015         * gst/elements/gstelements.c:
21016         * gst/gst.c:
21017         * gst/indexers/gstindexers.c:
21018           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
21019         * win32/common/config.h:
21020           updated config.h
21021         * win32/common/config.h.in:
21022           add the template to generate config.h
21023         * win32/common/gstenumtypes.c:
21024         * win32/common/gstversion.h:
21025           updated copies
21026
21027 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21028
21029         * gst/gst.c: (gst_version):
21030         * gst/gstversion.h.in:
21031           add the nano
21032
21033 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
21034
21035         * gst/gstevent.h:
21036           Oops, add missing closing bracket.
21037
21038 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21039
21040         * configure.ac:
21041           use common m4's for argument checking
21042
21043 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
21044
21045         * docs/gst/gstreamer-sections.txt:
21046         * gst/gstevent.h:
21047           Add GST_EVENT_TYPE_NAME() macro.
21048
21049 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21050
21051         * gst/gstinfo.c:
21052         * gst/gstpluginfeature.c:
21053         * gst/gsttask.c:
21054           privatize more symbols
21055
21056 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21057
21058         * configure.ac:
21059           add srcdir, builddir includes to GST_ALL_CFLAGS, since
21060           everything that uses GStreamer API should have the includes
21061
21062 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21063
21064         * docs/gst/gstreamer-sections.txt:
21065         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21066         * gst/gstvalue.h:
21067           give each value a _get_type, removes the DATA exports
21068
21069 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21070
21071         * gst/gst.c:
21072         * gst/gst.h:
21073           remove _gst_registry_auto_load, not used anymore
21074         * gst/gstbin.c: (gst_bin_get_type):
21075         * gst/gstbin.h:
21076         * gst/gstelement.c: (gst_element_get_type):
21077         * gst/gstelement.h:
21078         * gst/gstobject.c: (gst_object_get_type):
21079         * gst/gstobject.h:
21080         * gst/gstpad.c: (gst_pad_get_type):
21081         * gst/gstpad.h:
21082           make _get_type functions similar, fixes data export from library
21083
21084 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21085
21086         * configure.ac:
21087           correctly make conditionals
21088         * gst/elements/Makefile.am:
21089         * gst/elements/gstelements.c:
21090           fix typo causing fdsrc not to build
21091
21092 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21093
21094         * testsuite/Makefile.am:
21095         * testsuite/bytestream/.cvsignore:
21096         * testsuite/bytestream/Makefile.am:
21097         * testsuite/bytestream/filepadsink.c:
21098         * testsuite/bytestream/gstbstest.c:
21099         * testsuite/bytestream/test1.c:
21100         * testsuite/bytestream/testfile1:
21101         * testsuite/caps/normalisation.c:
21102         * testsuite/caps/random.c: (main):
21103         * testsuite/cleanup/.cvsignore:
21104         * testsuite/cleanup/Makefile.am:
21105         * testsuite/cleanup/cleanup1.c:
21106         * testsuite/cleanup/cleanup2.c:
21107         * testsuite/cleanup/cleanup3.c:
21108         * testsuite/cleanup/cleanup4.c:
21109         * testsuite/cleanup/cleanup5.c:
21110         * testsuite/controller/interpolator.c:
21111         * testsuite/debug/printf_extension.c: (main):
21112         * testsuite/elements/tee.c:
21113         * testsuite/negotiation/.cvsignore:
21114         * testsuite/negotiation/Makefile.am:
21115         * testsuite/negotiation/pad_link.c:
21116         * testsuite/pad/Makefile.am:
21117         * testsuite/pad/chainnopull.c:
21118         * testsuite/pad/getnopush.c:
21119         * testsuite/pad/link.c:
21120         * testsuite/refcounting/sched.c: (create_pipeline):
21121         * testsuite/registry/Makefile.am:
21122         * testsuite/registry/gst-print-formats.c:
21123         * testsuite/schedulers/.cvsignore:
21124         * testsuite/schedulers/142183-2.c:
21125         * testsuite/schedulers/142183.c:
21126         * testsuite/schedulers/143777-2.c:
21127         * testsuite/schedulers/143777.c:
21128         * testsuite/schedulers/147713.c:
21129         * testsuite/schedulers/147819.c:
21130         * testsuite/schedulers/147894-2.c:
21131         * testsuite/schedulers/147894.c:
21132         * testsuite/schedulers/Makefile.am:
21133         * testsuite/schedulers/group_link.c:
21134         * testsuite/schedulers/queue_link.c:
21135         * testsuite/schedulers/relink.c:
21136         * testsuite/schedulers/unlink.c:
21137         * testsuite/schedulers/unref.c:
21138         * testsuite/schedulers/useless_iteration.c:
21139         * testsuite/states/bin.c:
21140           clean out/remove some stuff from the testsuite directories
21141
21142 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21143
21144         * configure.ac:
21145           check for some headers
21146         * gst/elements/Makefile.am:
21147         * gst/elements/gstelements.c:
21148           don't compile fdsrc without sys/socket.h
21149         * gst/indexers/Makefile.am:
21150         * gst/indexers/gstindexers.c: (plugin_init):
21151           don't compile fileindex without mmap
21152
21153 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21154
21155         * configure.ac:
21156           reorganize
21157           clean up
21158           document more
21159           remove cruft
21160         * check/Makefile.am:
21161         * docs/gst/Makefile.am:
21162         * examples/helloworld/Makefile.am:
21163         * gst/Makefile.am:
21164         * gst/base/Makefile.am:
21165         * gst/check/Makefile.am:
21166         * gst/elements/Makefile.am:
21167         * gst/indexers/Makefile.am:
21168         * gst/parse/Makefile.am:
21169         * libs/gst/controller/Makefile.am:
21170         * libs/gst/dataprotocol/Makefile.am:
21171         * examples/helloworld/helloworld.c: (event_loop):
21172           compile fixes, though it's not being compiled currently
21173
21174 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21175
21176         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21177           Add some simple tests for the new taglist date API.
21178
21179 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21180
21181         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21182         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21183           Beautify 'last-message' output: print 'none' for buffer timestamps
21184           and durations if none is set; improve alignment with next messages.
21185
21186 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21187
21188         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21189         * gst/gstpluginfeature.h:
21190         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21191         * gst/gstregistry.h:
21192         * docs/gst/gstreamer-sections.txt:
21193           Add new API to check plugin feature version requirements.
21194
21195         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21196           Some basic tests for the above.         
21197
21198 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21199
21200         * gst/gststructure.c: (gst_structure_to_string):
21201           guard against NULL printf - happens when for example
21202           a message structure with GstClock gets serialized
21203
21204 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21205
21206         * gst/base/gstcollectpads.c: (gst_collectpads_event):
21207           Fix presumable copy'n'pasto.
21208
21209 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21210
21211         * gst/elements/gstfakesrc.h:
21212         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21213         * gst/elements/gsttypefindelement.c:
21214           fix some signedness
21215         * gst/elements/gstfilesink.c: (gst_file_sink_render):
21216           I wonder if this could actually write +2GB files before
21217
21218 2005-10-13  Andy Wingo  <wingo@pobox.com>
21219
21220         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21221         Fix Timmeke Waymans bug.
21222         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21223         string of the proper length to gst_caps_from_string. There's a
21224         potential for, before this fix, that this could cause someone
21225         connecting over the network to cause a segfault if the payload is
21226         not NUL-terminated.
21227
21228 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21229
21230         * docs/design/draft-push-pull.txt:
21231         * docs/design/part-overview.txt:
21232         * docs/random/TODO-pre-0.9:
21233         * docs/random/old/ChangeLog.gstreamer:
21234         * gst/base/gstpushsrc.c:
21235         * gst/gstclock.c:
21236           fixed typos
21237
21238 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21239
21240         * gst/glib-compat.c: (gst_flags_get_first_value):
21241         * gst/glib-compat.h:
21242         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21243         (gst_value_compare_double), (gst_value_serialize_flags):
21244           GLib 2.6 g_flags_get_first_value has a bug that triggers an
21245           infinite loop
21246
21247 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21248
21249         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21250         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21251           fix up debugging
21252         * tools/gst-launch.c: (event_loop):
21253           print out clock nicely
21254
21255 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21256
21257         * docs/gst/gstreamer-sections.txt:
21258         * gst/gsttaglist.h:
21259         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21260         (gst_tag_list_get_date_index):
21261           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21262           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21263
21264 2005-10-13  Julien MOUTTE  <julien@moutte.net>
21265
21266         * gst/base/gstcollectpads.c: (gst_collectpads_event),
21267         (gst_collectpads_chain):
21268         * gst/base/gstcollectpads.h: Handle newsegment and store informations
21269         in CollectData.
21270
21271 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21272
21273         * docs/gst/gstreamer-sections.txt:
21274         * gst/gst.c:
21275         * gst/gsterror.h:
21276         * tools/gst-inspect.c: (main):
21277         * tools/gst-launch.c: (main):
21278         * tools/gst-run.c: (main):
21279         * tools/gst-xmlinspect.c: (main):
21280           fix GOption context leaks
21281           doc fixes
21282
21283 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21284
21285         * gst/gstbus.c:
21286           use HAVE_UNISTD_H
21287         * win32/common/config.h:
21288           update config
21289         * win32/vs6/grammar.dsp:
21290         * win32/vs6/libgstelements.dsp:
21291         * win32/vs6/libgstreamer.dsp:
21292           update vs6 files
21293
21294 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21295
21296         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21297         * gst/base/gstbasesrc.c: (gst_base_src_query):
21298           fix more guint64<->gdouble conversions
21299
21300 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21301
21302         * Makefile.am:
21303           add win32-update target
21304         * win32/common/gstconfig.h:
21305         * win32/common/gstenumtypes.c:
21306         * win32/common/gstenumtypes.h:
21307         * win32/common/gstversion.h:
21308           add files that visual studio can't generate
21309
21310 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21311
21312         * Makefile.am:
21313           add a win32-update target
21314         * configure.ac:
21315
21316 2005-10-12  Wim Taymans  <wim@fluendo.com>
21317
21318         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21319         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21320         * gst/gstelement.c: (gst_element_commit_state),
21321         (gst_element_set_state):
21322         Protect flags with proper lock.
21323         unref provided cached clock in dispose.
21324
21325 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21326
21327         * gst/gst.c:
21328         * gst/gstminiobject.h:
21329         * gst/gstpad.h:
21330         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21331           removed unused flags from miniobject
21332           doc fixes
21333
21334 2005-10-12  Wim Taymans  <wim@fluendo.com>
21335
21336         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21337         (gst_file_sink_event), (gst_file_sink_render):
21338         Flush before seeking.
21339
21340 2005-10-12  Andy Wingo  <wingo@pobox.com>
21341
21342         * gst/gst.c (gst_init_check): Ignore unknown options, as has
21343         always been the case.
21344
21345 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21346
21347         * check/gst/gstbin.c: (GST_START_TEST):
21348         * docs/gst/gstreamer-sections.txt:
21349         * gst/base/gstbasesink.c: (gst_base_sink_init):
21350         * gst/base/gstbasesrc.c: (gst_base_src_init),
21351         (gst_base_src_get_range), (gst_base_src_check_get_range),
21352         (gst_base_src_start), (gst_base_src_stop):
21353         * gst/base/gstbasesrc.h:
21354         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21355         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21356         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21357         (bin_bus_handler):
21358         * gst/gstbin.h:
21359         * gst/gstbuffer.h:
21360         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21361         * gst/gstbus.h:
21362         * gst/gstelement.c: (gst_element_is_locked_state),
21363         (gst_element_set_locked_state), (gst_element_commit_state),
21364         (gst_element_set_state):
21365         * gst/gstelement.h:
21366         * gst/gstindex.c: (gst_index_init):
21367         * gst/gstindex.h:
21368         * gst/gstminiobject.h:
21369         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21370         (gst_object_set_parent):
21371         * gst/gstobject.h:
21372         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21373         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21374         * gst/gstpad.h:
21375         * gst/gstpadtemplate.h:
21376         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21377         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21378         * gst/gstpipeline.h:
21379         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21380         (gst_file_index_commit):
21381         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21382         * testsuite/pad/link.c: (gst_test_src_init),
21383         (gst_test_filter_init), (gst_test_sink_init):
21384         * testsuite/states/locked.c: (main):
21385           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21386           moved bitshift from macro to enum definition
21387
21388 2005-10-12  Wim Taymans  <wim@fluendo.com>
21389
21390         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21391         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21392         (gst_file_sink_render):
21393         Some more debugging info.
21394
21395 2005-10-12  Wim Taymans  <wim@fluendo.com>
21396
21397         * docs/design/part-states.txt:
21398         * tools/gst-launch.c: (main):
21399         Some doc updates.
21400         Revert non-intentional change.
21401
21402 2005-10-12  Wim Taymans  <wim@fluendo.com>
21403
21404         * check/gst/gstbin.c: (GST_START_TEST):
21405         * check/gst/gstelement.c: (GST_START_TEST):
21406         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21407         * check/gst/gstghostpad.c: (GST_START_TEST):
21408         * check/gst/gstpipeline.c: (GST_START_TEST):
21409         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21410         * check/states/sinks.c: (GST_START_TEST):
21411         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21412         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21413         (gst_bin_remove_func), (gst_bin_get_state_func),
21414         (gst_bin_recalc_state), (gst_bin_change_state_func),
21415         (bin_bus_handler):
21416         * gst/gstelement.c: (gst_element_get_state_func),
21417         (gst_element_get_state), (gst_element_abort_state),
21418         (gst_element_commit_state), (gst_element_set_state),
21419         (gst_element_change_state), (gst_element_change_state_func):
21420         * gst/gstelement.h:
21421         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21422         (gst_pipeline_provide_clock_func):
21423         * gst/gstutils.c: (gst_element_link_pads_filtered):
21424         * tools/gst-launch.c: (main):
21425         * tools/gst-typefind.c: (main):
21426         Use GstClockTime in _get_state() instead of GTimeVal.
21427         Remove old code in gstutils.c
21428
21429 2005-10-12  Andy Wingo  <wingo@pobox.com>
21430
21431         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21432         removed.
21433
21434         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21435         there is no task. Shouldn't affect any code, as nothing in our
21436         plugins checks this return value.
21437         (gst_pad_stop_task): Also take the stream lock if the pad has no
21438         task. Docs updated.
21439
21440 2005-10-12  Wim Taymans  <wim@fluendo.com>
21441
21442         * gst/gstpad.c: (pre_activate), (post_activate),
21443         (gst_pad_activate_pull), (gst_pad_activate_push):
21444         Cleanup activation code. Reset old state if
21445         activation failed.
21446
21447 2005-10-12  Wim Taymans  <wim@fluendo.com>
21448
21449         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21450         (gst_base_sink_change_state):
21451         No need to prerol after receiving EOS.
21452
21453         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21454         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21455         * gst/elements/gstidentity.c: (gst_identity_event):
21456         Print events more verbosely.
21457
21458 2005-10-12  Wim Taymans  <wim@fluendo.com>
21459
21460         * check/Makefile.am:
21461         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21462         * check/states/sinks2.c:
21463         Moved sinks2 testcode in sinks check.
21464
21465         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21466         (gst_bin_remove_func), (gst_bin_recalc_state),
21467         (gst_bin_change_state_func), (bin_bus_handler):
21468         Fix potential race condition when _get_state() iterated over an
21469         ASYNC element right before it posted a state completion.
21470
21471         * gst/gstclock.h:
21472         Do proper cast here.
21473
21474         * gst/gstevent.c: (gst_event_new_newsegment),
21475         (gst_event_parse_newsegment):
21476         A playback rate of 0.0 is not allowed.
21477
21478 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21479
21480         * win32/common/config.h:
21481         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21482         (_trewinddir), (_ttelldir), (_tseekdir):
21483         * win32/common/dirent.h:
21484         * win32/common/gtchar.h:
21485         * win32/common/libgstbase.def:
21486         * win32/common/libgstreamer.def:
21487         * win32/vs6/grammar.dsp:
21488         * win32/vs6/gst_inspect.dsp:
21489         * win32/vs6/gst_launch.dsp:
21490         * win32/vs6/gstreamer.dsw:
21491         * win32/vs6/libgstbase.dsp:
21492         * win32/vs6/libgstelements.dsp:
21493         * win32/vs6/libgstreamer.dsp:
21494           Visual Studio 6 project files, and a new common directory.
21495           Phear.
21496
21497 2005-10-11  Wim Taymans  <wim@fluendo.com>
21498
21499         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21500         (gst_base_sink_do_sync), (gst_base_sink_query),
21501         (gst_base_sink_change_state):
21502         * gst/base/gstbasesink.h:
21503         Correctly parse newsegment info.
21504
21505 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21506
21507         * gst/gst.c: (init_post):
21508           split plugin paths correctly
21509
21510 2005-10-11  Wim Taymans  <wim@fluendo.com>
21511
21512         * check/gst/gstevent.c: (GST_START_TEST):
21513         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21514         (gst_base_sink_change_state):
21515         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21516         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21517         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21518         * gst/gstevent.c: (gst_event_new_newsegment),
21519         (gst_event_parse_newsegment):
21520         * gst/gstevent.h:
21521         Added extra flag to newsegment for future API freeze.
21522         Updated check and base elements.
21523
21524 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21525
21526         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21527         (gst_collectpads_add_pad), (gst_collectpads_pop),
21528         (gst_collectpads_event), (gst_collectpads_chain):
21529         * gst/base/gstcollectpads.h: Handle EOS correctly.
21530
21531 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21532
21533         * tools/gst-launch.c: (main):
21534           more null protecting
21535
21536 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21537
21538         * gst/gst-i18n-lib.h:
21539           check for ENABLE_NLS, not GETTEXT_PACKAGE
21540         * gst/gstregistry.c: (gst_registry_add_plugin),
21541         (gst_registry_scan_path_level),
21542         (_gst_registry_remove_cache_plugins):
21543           protect possibly NULL strings
21544         * gst/parse/types.h:
21545           config.h already included before
21546         * tools/gst-inspect.c: (main):
21547           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21548           check for ENABLE_NLS, not GETTEXT_PACKAGE
21549         * tools/gst-launch.c: (main):
21550           check for ENABLE_NLS, not GETTEXT_PACKAGE
21551
21552 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21553
21554         * configure.ac:
21555           if we don't have glib, fail before testing 2.8
21556         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21557           fix a leak, should fix plugins-base testsuite
21558
21559 2005-10-11  Andy Wingo  <wingo@pobox.com>
21560
21561         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21562         take the mode we're going to as an arg. Go head and set the mode
21563         and flushing flags now, so that if the activate function starts a
21564         thread all the flags will be in the right state.
21565         (post_activate): Renamed also. Just handle making sure streaming
21566         finishes for the deactivation case, and setting the deactivated
21567         mode.
21568         (gst_pad_set_active): Complain loudly if deactivation fails.
21569         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21570         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21571         remove the terrible hack.
21572
21573 2005-10-11  Wim Taymans  <wim@fluendo.com>
21574
21575         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21576         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21577         (gst_bin_recalc_state), (gst_bin_change_state_func),
21578         (gst_bin_dispose), (bin_bus_handler):
21579         * gst/gstbin.h:
21580         Prepare to make current EOS message queue more generic.
21581         Fix some typos.
21582
21583         * gst/gstevent.c: (gst_event_new_newsegment),
21584         (gst_event_parse_newsegment):
21585         * gst/gstevent.h:
21586         Rename base to stream_time.
21587
21588         * gst/gstmessage.h:
21589         Fix typo in docs.
21590
21591 2005-10-11  Wim Taymans  <wim@fluendo.com>
21592
21593         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21594         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21595         (gst_bin_change_state_func), (bin_bus_handler):
21596         * gst/gstbin.h:
21597         Work on proper clock selection.
21598
21599 2005-10-11  Edward Hervey  <edward@fluendo.com>
21600
21601         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21602         * libs/gst/controller/gstcontroller.h:
21603         Added GList* version of _remove_properties() in order to be able to wrap
21604         it in bindings.
21605
21606 2005-10-11  Wim Taymans  <wim@fluendo.com>
21607
21608         * docs/design/part-states.txt:
21609         Some more docs.
21610
21611         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21612         (gst_bin_change_state_func), (bin_bus_handler):
21613         Doc updates. Don't distribute the same clock over and over again.
21614
21615         * gst/gstclock.c:
21616         * gst/gstclock.h:
21617         Doc updates.
21618
21619         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21620         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21621         (gst_pad_send_event):
21622         * gst/gstpad.h:
21623         Make probe emission threadsafe again.
21624         Register quarks and move _get_name() from utils.
21625         Doc updates.
21626
21627         * gst/gstpipeline.c: (gst_pipeline_class_init),
21628         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21629         Only redistribute the clock of it changed.
21630
21631         * gst/gstsystemclock.h:
21632         Doc updates. 
21633
21634         * gst/gstutils.c:
21635         * gst/gstutils.h:
21636         Moved the _flow_get_name() to GstPad.
21637
21638 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21639
21640         * check/gst-libs/gdp.c: (GST_START_TEST):
21641         * check/gst/gstcaps.c: (GST_START_TEST):
21642         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21643         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21644         (gst_dp_packet_from_caps):
21645           fix more valgrind warnings before turning up the heat
21646
21647 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21648
21649         * gst/parse/grammar.y:
21650           some cleanup before the hacking
21651
21652 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21653
21654         * gst/base/gstbasesrc.c: (gst_base_src_query):
21655           use conversions
21656         * gst/gstutils.c: (gst_guint64_to_gdouble),
21657         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21658         * gst/gstutils.h:
21659           externalize, basesrc uses it
21660           obviously the implementation needs testing
21661
21662 2005-10-10  Wim Taymans  <wim@fluendo.com>
21663
21664         * tests/sched/Makefile.am:
21665         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21666         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21667
21668 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21669
21670         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21671           apparently converting from guint64 to double is not implemented
21672           on MSVC
21673
21674 2005-10-10  Wim Taymans  <wim@fluendo.com>
21675
21676         * check/Makefile.am:
21677         * check/generic/states.c: (GST_START_TEST):
21678         * check/gst/gstbin.c: (GST_START_TEST):
21679         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21680         * check/states/sinks.c: (GST_START_TEST):
21681         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21682         (main):
21683         Check fixes, use API as stated in design docs, remove hacks.
21684
21685         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21686         (gst_base_sink_change_state):
21687         Catch stopping our task while we're shutting down.
21688
21689         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21690         (gst_bin_remove_func), (gst_bin_get_state_func),
21691         (gst_bin_recalc_state), (gst_bin_change_state_func),
21692         (bin_bus_handler):
21693         * gst/gstbin.h:
21694         * gst/gstelement.c: (gst_element_init),
21695         (gst_element_get_state_func), (gst_element_abort_state),
21696         (gst_element_commit_state), (gst_element_lost_state),
21697         (gst_element_set_state), (gst_element_change_state),
21698         (gst_element_change_state_func):
21699         * gst/gstelement.h:
21700         New state change algorithm (see #318116)
21701
21702         * gst/gstpipeline.c: (gst_pipeline_class_init),
21703         (gst_pipeline_init), (gst_pipeline_set_property),
21704         (gst_pipeline_get_property), (do_pipeline_seek),
21705         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21706         * gst/gstpipeline.h:
21707         Remove crude state change hacks.
21708
21709         * gst/gstutils.h:
21710         Remove crude hacks.
21711
21712         * tools/gst-launch.c: (main):
21713         Fixes for state change. Needs some more work to fully use the
21714         new stuff.
21715
21716 2005-10-10  Andy Wingo  <wingo@pobox.com>
21717
21718         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21719
21720         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21721         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21722         issue.
21723
21724 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21725
21726         * gst/gstiterator.c: (gst_iterator_new):
21727           Fix my previous commit: GTypes passed to gst_iterator_new()
21728           can be fundamental types.
21729
21730 2005-10-10  Wim Taymans  <wim@fluendo.com>
21731
21732         * gst/gstelement.c: (gst_element_iterate_pad_list),
21733         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21734         (gst_element_iterate_sink_pads):
21735         Use src/sink pads lists for the respective iterators instead
21736         of filtering.
21737
21738 2005-10-10  Andy Wingo  <wingo@pobox.com>
21739
21740         Merged in popt removal + GOption addition patch from Ronald, bug
21741         #169772.
21742
21743         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21744         GstElement macros around, remove popt-related symbols, add goption
21745         stuff.
21746
21747         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21748         
21749         * docs/gst/Makefile.am:
21750         * docs/libs/Makefile.am: No POPT_CFLAGS.
21751         
21752         * examples/manual/Makefile.am:
21753         * docs/manual/basics-init.xml: Doc updates with an example.
21754         
21755         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21756         (gst_init), (parse_one_option), (parse_goption_arg):
21757         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21758         bit of hand merging and debugging to get the GOption stuff working
21759         tho.
21760         
21761         * tests/Makefile.am:
21762         * tools/Makefile.am:
21763         * tools/gst-inspect.c: (main):
21764         * tools/gst-launch.c: (main):
21765         * tools/gst-run.c: (main):
21766         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21767
21768 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21769
21770         * gst/gstiterator.c: (gst_iterator_new):
21771           Add assertions to make sure passed GType is likely to really
21772           be a GType (as the compiler won't catch it if the size and
21773           GType arguments get mixed up, see #318447).
21774
21775 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21776
21777         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21778
21779         * gst/gstbin.c: (gst_bin_iterate_sorted):
21780           Pass GType and size arguments to gst_iterator_new() in the right
21781           order (maybe we should make _new() take the GType as first argument
21782           just like _new_list()?) (#318447).
21783           
21784
21785 2005-10-10  Wim Taymans  <wim@fluendo.com>
21786
21787         * gst/gstelement.c: (gst_element_finalize):
21788         And free the GStaticRecMutex too
21789
21790 2005-10-10  Andy Wingo  <wingo@pobox.com>
21791
21792         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21793         Allocate and free the mutex properly.
21794
21795         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21796         New macros.
21797         (GstElement): The state_lock is now recursive. Rebuild your
21798         plugins, suckers. Old macros adapted.
21799
21800         * docs/gst/gstreamer-sections.txt: Doc updates.
21801
21802         * gst/gstutils.h:
21803         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21804         (g_static_rec_cond_wait): Ported from state changes patch, while
21805         we wait on bug #317802 to be solved in a well-distributed GLib.
21806
21807         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21808         gst_element_change_state, variable name changes.
21809         (gst_element_change_state): Split out of gst_element_set_state in
21810         preparation for the state change merge. Doesn't pay attention to
21811         the 'transition' argument.
21812         (gst_element_set_state): Updates, hopefully purely cosmetic.
21813         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21814         state change patch.
21815         (gst_element_get_state_func): Renamed from get_state, cosmetic
21816         changes.
21817
21818 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21819
21820         * gst/elements/gstelements.c:
21821         * win32/GStreamer.vcproj:
21822         * win32/config.h:
21823         * win32/dirent.c: (_tseekdir):
21824         * win32/gst-inspect.vcproj:
21825         * win32/gst-launch.vcproj:
21826         * win32/gstconfig.h:
21827         * win32/gstelements.vcproj:
21828         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21829         * win32/gstreamer.def:
21830         * win32/msvc71.sln:
21831           updates for the win32 build (patch from Sebastien Moutte)
21832
21833 2005-10-10  Andy Wingo  <wingo@pobox.com>
21834
21835         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21836         gst_bin_get_state, cleaned up (but no logic changes).
21837         (bin_element_is_sink): Comment updates.
21838         (sink_iterator_filter): Remove needless cast.
21839         (gst_bin_iterate_sinks): Doc update.
21840         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21841         cleaned up (but no logic changes).
21842
21843         * check/states/sinks.c (test_src_sink): Cleanups from the state
21844         change patch.
21845         (test_livesrc_sink): Sync on the state.
21846
21847         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21848         the state change patch.
21849
21850         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21851         change patch.
21852
21853         * check/gst/gstbin.c: Merge in some style fixes and additional
21854         checks from Wim's state change patch.
21855
21856 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21857
21858         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21859         (gst_type_find_helper):
21860           Check whether we have the requested data already in our list of
21861           cached buffers before pulling a new buffer; also make the buffer
21862           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21863
21864 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21865
21866         * gst/gstcaps.c:
21867         * gst/gstevent.c:
21868           doc updates
21869         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21870           don't use long long, it's not portable.  Replacing with
21871           gint64 seems to work; let's hope no skeletons fall out of the closet.
21872
21873 2005-10-10  Andy Wingo  <wingo@pobox.com>
21874
21875         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21876
21877 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21878
21879         * docs/gst/gstreamer-sections.txt:
21880         * gst/gstevent.c:
21881         * gst/gstevent.h:
21882         * gst/gstinfo.c:
21883         * gst/gstinfo.h:
21884         * gst/gstmessage.c: (gst_message_parse_state_changed):
21885         * gst/gstpad.c:
21886         * gst/gstpad.h:
21887           more docs, fix compilation
21888
21889 2005-10-09  Philippe Khalaf <burger@speedy.org>
21890         * gst/gstmessage.c:
21891           Fixed a few forgotten variables on previous commit
21892
21893 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21894
21895         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21896           Fix evil typefind crasher: getrange() might return a short
21897           buffer at the end of a file, but gst_type_find_peek() must
21898           either return the full data as requested or NULL, but
21899           never a short buffer.
21900
21901 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21902
21903         * gst/gstmessage.c: (gst_message_new_state_changed),
21904         (gst_message_parse_state_changed):
21905         * gst/gstmessage.h:
21906           don't use "new", it's a C++ keyword
21907
21908 2005-10-08  Wim Taymans  <wim@fluendo.com>
21909
21910         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21911         * gst/gstelement.c: (gst_element_post_message):
21912         * gst/gstpipeline.c: (gst_pipeline_change_state):
21913         Small docs and debug updates.
21914
21915 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21916
21917         * docs/gst/gstreamer-sections.txt:
21918         * gst/gstelementfactory.c:
21919         * gst/gstevent.c:
21920         * gst/gsttaglist.c:
21921           more docs
21922
21923 2005-10-08  Wim Taymans  <wim@fluendo.com>
21924
21925         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21926         (gst_bin_dispose), (bin_bus_handler):
21927         Fix typos, add comments.
21928         Clear EOS list when going to PAUSED from any direction and do it
21929         in a threadsafe way.
21930         Get base time in a threadsafe way too.
21931         Fix confusing debug in the change_state function.
21932         Various other small cleanups.
21933         
21934         * gst/gstelement.c: (gst_element_post_message):
21935         Fix very verbose bus posting code.
21936
21937         * gst/gstpipeline.c: (gst_pipeline_class_init),
21938         (gst_pipeline_set_property), (gst_pipeline_get_property),
21939         (gst_pipeline_change_state):
21940         Small ARG_ -> PROP_ cleanup
21941
21942 2005-10-08  Wim Taymans  <wim@fluendo.com>
21943
21944         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21945         Do a less CPU demanding EOS check because we can.
21946
21947 2005-10-08  Wim Taymans  <wim@fluendo.com>
21948
21949         * libs/gst/dataprotocol/dataprotocol.c:
21950         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21951         (gst_dp_packet_from_event):
21952         * libs/gst/dataprotocol/dataprotocol.h:
21953         * libs/gst/dataprotocol/dp-private.h:
21954         It's about time we bump the version number.
21955         Since event types don't fit in the guint8 anymore describing
21956         the payload type, make payload type 16 bits wide.
21957
21958 2005-10-08  Wim Taymans  <wim@fluendo.com>
21959
21960         * docs/design/part-TODO.txt:
21961         * docs/design/part-clocks.txt:
21962         * docs/design/part-events.txt:
21963         * docs/design/part-gstbin.txt:
21964         * docs/design/part-gstelement.txt:
21965         * docs/design/part-gstpipeline.txt:
21966         * docs/design/part-live-source.txt:
21967         * docs/design/part-messages.txt:
21968         * docs/design/part-overview.txt:
21969         * docs/design/part-states.txt:
21970         Many doc updates.
21971
21972 2005-10-08  Wim Taymans  <wim@fluendo.com>
21973
21974         * gst/gstevent.c:
21975         * gst/gstevent.h:
21976         Fix event quark registration.
21977         Add some space between events so we can insert them in the
21978         right groups.
21979
21980 2005-10-08  Wim Taymans  <wim@fluendo.com>
21981
21982         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21983         (gst_base_sink_handle_buffer):
21984         Better log message.
21985
21986         * gst/gstbus.h:
21987         * gst/gstelement.h:
21988         More docs.
21989
21990         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21991         (gst_queue_set_property), (gst_queue_get_property):
21992         * gst/gstqueue.h:
21993         Remove old unused properties.
21994
21995 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21996         * docs/gst/gstreamer-sections.txt:
21997         * gst/gstmessage.c:
21998         * gst/gstmessage.h:
21999         * gst/gstminiobject.c:
22000         * gst/gstminiobject.h:
22001         * gst/gstobject.h:
22002         * gst/gstpad.h:
22003         * gst/gstutils.h:
22004           lots of new docs and doc fixes
22005
22006 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22007
22008         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
22009         * gst/gstplugin.h:
22010         * gst/gstregistry.c: (gst_registry_lookup_locked),
22011         (gst_registry_scan_path_level):
22012         * gst/gstregistryxml.c: (load_plugin):
22013           Only ever load one plugin for a given plugin basename.
22014           This ensures correct overriding of GST_PLUGIN_PATH over
22015           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
22016           system installed plugins.
22017
22018 2005-10-08  Wim Taymans  <wim@fluendo.com>
22019
22020         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22021         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
22022         Prepare for doing QOS.
22023
22024 2005-10-08  Wim Taymans  <wim@fluendo.com>
22025
22026         * check/gst/gstbin.c: (GST_START_TEST):
22027         * check/pipelines/cleanup.c: (GST_START_TEST):
22028         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22029         Allow new clock message too.
22030
22031 2005-10-08  Wim Taymans  <wim@fluendo.com>
22032
22033         * gst/gstmessage.c: (gst_message_new_error),
22034         (gst_message_new_warning), (gst_message_new_tag),
22035         (gst_message_new_state_changed), (gst_message_new_clock_provide),
22036         (gst_message_new_clock_lost), (gst_message_new_new_clock),
22037         (gst_message_new_segment_start), (gst_message_new_segment_done),
22038         (gst_message_parse_state_changed),
22039         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
22040         (gst_message_parse_new_clock):
22041         * gst/gstmessage.h:
22042         Also carry the clock in question.
22043
22044 2005-10-08  Wim Taymans  <wim@fluendo.com>
22045
22046         * gst/gstmessage.c: (gst_message_new_custom),
22047         (gst_message_new_eos), (gst_message_new_error),
22048         (gst_message_new_warning), (gst_message_new_tag),
22049         (gst_message_new_state_changed), (gst_message_new_clock_provide),
22050         (gst_message_new_new_clock), (gst_message_new_segment_start),
22051         (gst_message_new_segment_done), (gst_message_parse_state_changed),
22052         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22053         * gst/gstmessage.h:
22054         Clean up.
22055         Added clock related messages.
22056
22057         * gst/gstpipeline.c: (gst_pipeline_change_state):
22058         Post message when the clock changed.
22059
22060         * tools/gst-launch.c: (event_loop):
22061         Print new clock.
22062
22063 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
22064
22065         * tools/gst-inspect.c: (print_element_properties_info):
22066           Can't pass NULL strings to g_print() on windows.
22067
22068 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22069
22070         * docs/Makefile.am:
22071         * docs/gst/Makefile.am:
22072         * docs/gst/gstreamer-docs.sgml:
22073         * docs/gst/running.xml:
22074         * docs/version.entities.in:
22075           add a chapter on running GStreamer.
22076           document GST_DEBUG and GST_PLUGIN* env vars
22077
22078 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22079
22080         * Makefile.am:
22081           remove include dir
22082         * configure.ac:
22083           remove PLUGINS_BUILDDIR stuff
22084         * gst/gst.c: (init_post):
22085           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22086         * idiottest.mak:
22087           remove, it was condescending and not needed
22088
22089 2005-10-08  Wim Taymans  <wim@fluendo.com>
22090
22091         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22092         (gst_base_sink_handle_object), (gst_base_sink_event),
22093         (gst_base_sink_wait), (gst_base_sink_handle_event),
22094         (gst_base_sink_change_state):
22095         * gst/base/gstbasesink.h:
22096         Repost EOS message while going to PLAYING if still EOS.
22097         Make sure that when receiving a FLUSH_START we don't attempt
22098         to sync on the clock anymore.
22099
22100 2005-10-08  Wim Taymans  <wim@fluendo.com>
22101
22102         * tools/gst-launch.c: (event_loop):
22103         Better message printout.
22104
22105 2005-10-08  Wim Taymans  <wim@fluendo.com>
22106
22107         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22108         (gst_bin_child_proxy_get_children_count):
22109         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22110         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22111         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22112         (gst_child_proxy_set_valist):
22113         * gst/parse/grammar.y:
22114         Make ChildProxy threadsafe and fix mem leaks.
22115
22116 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22117
22118         * gst/gst.c: (init_post):
22119           debug the GST_PLUGIN_ env vars
22120
22121 2005-10-08  Wim Taymans  <wim@fluendo.com>
22122
22123         * check/gst/gstbin.c: (GST_START_TEST):
22124         * check/gst/gstmessage.c: (GST_START_TEST):
22125         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22126         * gst/gstelement.c: (gst_element_commit_state),
22127         (gst_element_lost_state):
22128         * gst/gstmessage.c: (gst_message_new_state_changed),
22129         (gst_message_parse_state_changed):
22130         * gst/gstmessage.h:
22131         * tools/gst-launch.c: (event_loop):
22132         Added extra field to STATE_CHANGE message with the pending
22133         state, which will be different from the new state soon.
22134
22135 2005-10-08  Wim Taymans  <wim@fluendo.com>
22136
22137         * gst/gstbus.c: (gst_bus_pop):
22138         * gst/gstclock.c:
22139         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22140         Small cleanups and doc updates.
22141
22142 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22143
22144         * gst/gst.c: (init_pre):
22145         * gst/gstbin.c: (gst_bin_add_func):
22146           log distributing clocks and base time
22147         * gst/gstregistry.c: (gst_registry_add_plugin),
22148         (gst_registry_scan_path_level), (gst_registry_scan_path):
22149           clean up the debugging output a little
22150         * gst/gstutils.c: (gst_element_state_get_name):
22151           warn about a memleak (I've actually seen this be used, though
22152           it was probably a bug)
22153
22154 2005-10-07  Wim Taymans  <wim@fluendo.com>
22155
22156         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22157         (gst_base_src_init), (gst_base_src_default_newsegment),
22158         (gst_base_src_newsegment), (gst_base_src_do_seek),
22159         (gst_base_src_loop), (gst_base_src_start):
22160         * gst/base/gstbasesrc.h:
22161         Make the newsegment event customizable by subclasses.
22162
22163 2005-10-07  Wim Taymans  <wim@fluendo.com>
22164
22165         * gst/gstevent.c: (gst_event_new_buffersize),
22166         (gst_event_parse_buffersize):
22167         * gst/gstevent.h:
22168         New event for future idea.
22169
22170 2005-10-07  Andy Wingo  <wingo@pobox.com>
22171
22172         * gst/gstelement.c (gst_element_post_message): Doc update.
22173
22174         * docs/gst/gstreamer-sections.txt: Update.
22175
22176         * gst/gstmessage.c (gst_message_new_application): Made into a
22177         function like honest API calls.
22178         (gst_message_new_element): New message type.
22179
22180         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22181
22182         * check/elements/fakesrc.c (test_no_preroll): New check, checks
22183         that setting a live fakesrc to PAUSED returns NO_PREROLL both
22184         times.
22185
22186         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22187         NO_PREROLL from gst_element_change_state to fall through.
22188
22189 2005-10-07  Wim Taymans  <wim@fluendo.com>
22190
22191         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22192         (gst_ghost_pad_do_activate_push):
22193         Activating a ghostpad with no internal pad in push mode
22194         is ok.
22195
22196 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22197
22198         * gst/gstobject.h:
22199           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22200           Fixes compilation on Windows.
22201
22202 2005-10-07  Michael Smith <msmith@fluendo.com>
22203
22204         * tools/gst-inspect.c:
22205           Print out feature and plugin count at the end when printing out
22206           all features.
22207
22208 2005-10-04  Michael Smith <msmith@fluendo.com>
22209
22210         * gst/gsterror.c: (_gst_stream_errors_init):
22211           Add another error string used in a few existing plugins.
22212
22213         * gst/gstplugin.c:
22214         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22215         * tools/gst-inspect.c: (print_element_info):
22216           When a feature disappears from a plugin (and the feature exists in
22217           the cached registry file), things went horribly wrong. This isn't a
22218           complete fix, we should actually be removing the 'missing' features
22219           from the features list when we load the actual plugin. That's not
22220           yet implemented. 
22221
22222 2005-10-04  Johan Dahlin  <johan@gnome.org>
22223
22224         * check/gst/gstiterator.c: (GST_START_TEST):
22225         * gst/gstbin.c: (gst_bin_iterate_elements),
22226         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22227         * gst/gstelement.c: (gst_element_iterate_pads):
22228         * gst/gstformat.c: (gst_format_iterate_definitions):
22229         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22230         (gst_iterator_new_list), (gst_iterator_filter):
22231         * gst/gstiterator.h:
22232         * gst/gstquery.c: (gst_query_type_iterate_definitions):
22233         Add a GType to GstIterator, update callsites and tests.
22234
22235 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22236
22237         * gst/gstpad.c: (gst_pad_event_default_dispatch):
22238           give events a chance to be handled by event probes when the pad
22239           is not linked
22240
22241 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22242
22243         * gst/gstevent.c: (gst_event_type_get_name),
22244         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22245         * gst/gstevent.h:
22246           add string representations for event types
22247
22248 2005-10-06  Wim Taymans  <wim@fluendo.com>
22249
22250         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22251         Don't use NULL pointers.
22252
22253 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22254
22255         * gst/gst_private.h:
22256         * gst/gstbus.c:
22257         * gst/gstelement.c:
22258         * gst/gstinfo.c:
22259         * gst/gstpluginfeature.c:
22260           widen the debug category in output to fit the biggest one we have
22261           add a bus category and use it
22262           play with the colors
22263           fix up some categories
22264
22265 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22266
22267         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22268           add push activation of sink ghost pads.
22269           Andye, please verify
22270
22271 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22272
22273         * gst/gstutils.c: (gst_element_link_pads):
22274           fix a bug in the case where neither element has a pad
22275         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22276           add a test for that case
22277
22278 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22279
22280         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22281           emit have-data before checking for peers.  This allows
22282           for probe handlers to connect elements.  This helps autopluggers.
22283         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22284         (gst_pad_suite):
22285           add six checks, linked/unlinked with no/true/false probe
22286
22287 2005-10-04  Wim Taymans  <wim@fluendo.com>
22288
22289         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22290         (gst_fake_sink_event), (gst_fake_sink_preroll),
22291         (gst_fake_sink_render), (gst_fake_sink_change_state):
22292         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22293         (gst_fake_src_get_property), (gst_fake_src_create),
22294         (gst_fake_src_stop):
22295         * gst/elements/gstidentity.c: (gst_identity_stop):
22296         Protect last_message with lock.
22297
22298 2005-10-04  Edward Hervey  <edward@fluendo.com>
22299
22300         * gst/gstformat.h: 
22301         Added precision in the comments for GST_FORMAT_DEFAULT
22302
22303 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
22304
22305         * tools/gst-launch.c: (main):
22306           Don't try to run erroneous pipelines.
22307
22308 2005-10-04  Julien MOUTTE  <julien@moutte.net>
22309
22310         * gst/gstbus.c: We don't need this header.
22311
22312 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22313
22314         * configure.ac:
22315           back to development
22316
22317 === release 0.9.3 ===
22318
22319 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22320
22321         * README:
22322         * configure.ac:
22323           Releasing 0.9.3, "Unregistered"
22324
22325 2005-10-03  Andy Wingo  <wingo@pobox.com>
22326
22327         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22328         whereby calling a pad's activatepush() function can start a thread
22329         that starts to push or pull before the pad gets the FLUSHING flag
22330         unset. Hack around it by holding the stream lock until the flag is
22331         set. Need to replace this with a proper solution. Together with
22332         the ghost pad fixes, this fixes mp3 playing/tagreading.
22333
22334         * docs/design/part-gstghostpad.txt: Add a note about activation of
22335         proxy pads outside of ghost pads.
22336
22337         * gst/gstghostpad.c: Implement the ghost pad activation design.
22338
22339 2005-10-02  Andy Wingo  <wingo@pobox.com>
22340
22341         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22342         It is volatile, after all.
22343
22344         * docs/design/part-gstghostpad.txt: Flesh out activation with
22345         ghost pads.
22346
22347         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22348         GST_DEBUG_FUNCPTR.
22349
22350 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22351
22352         * configure.ac:
22353           Fix (unused) AM_CONDITIONAL tests.
22354
22355 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22356
22357         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22358
22359         * gst/gstutils.c: (gst_pad_query_convert):
22360           Add assertion that makes sure src_val is >=0, just like
22361           gst_query_new_convert() has. (#315895)
22362
22363 2005-09-30  Edward Hervey  <edward@fluendo.com>
22364
22365         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22366         Let's not iterate pads we're not interested in, it avoids getting 
22367         sky-high refcounts on sinkpad.
22368
22369 2005-09-30  Wim Taymans  <wim@fluendo.com>
22370
22371         * gst/gstelement.c: (gst_element_set_state),
22372         (gst_element_change_state):
22373         Small tweak, element in ASYNC remains ASYNC.
22374
22375 2005-09-30  Wim Taymans  <wim@fluendo.com>
22376
22377         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22378         Only error is an error.
22379
22380         * gst/gstbin.c: (gst_bin_change_state):
22381         Better debugging.
22382
22383         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22384         Also call pad_block in pad alloc.
22385
22386         * gst/gstutils.c: (gst_flow_get_name):
22387         Better debugging.
22388
22389 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22390
22391         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22392         (gst_base_src_get_range):
22393           Fix documentation typos. Add some more debug info.
22394
22395 2005-09-29  David Schleef  <ds@schleef.org>
22396
22397         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22398           more end-user friendly.
22399         * tools/gst-inspect.c: (main): Check if command-line argument is
22400           a file and attempt to load that file as a plugin.
22401
22402 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22403
22404         * check/gst/gstbin.c:
22405         * check/states/sinks.c:
22406           fix tests for the new warning
22407         * check/gst/gstpipeline.c:
22408           add a test for pipeline and bus interaction
22409         * gst/gstelement.c:
22410           elements should be NULL if they get disposed; add a warning if not
22411
22412 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22413
22414         * gst/gstobject.c:
22415           for 2.6 refcounting, make debug log more correct by printing
22416           the actual refcounts at the time of swap (Wim)
22417
22418 2005-09-29  Andy Wingo  <wingo@pobox.com>
22419
22420         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22421         removes signal watches previously added via
22422         gst_bus_add_signal_watch.
22423         (gst_bus_add_signal_watch): Don't return the source id, just store
22424         it on the bus if there wasn't an id already.
22425
22426         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22427         add_signal_watch and remove_signal_watch.
22428
22429 2005-09-29  Edward Hervey  <edward@fluendo.com>
22430
22431         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22432         Better if we actually iterate the list :)
22433
22434 2005-09-29  Wim Taymans  <wim@fluendo.com>
22435
22436         * check/gst/gstbin.c: (GST_START_TEST):
22437         Change for new bus API.
22438
22439         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22440         (send_messages), (GST_START_TEST), (gstbus_suite):
22441         Change for new bus signal API.
22442
22443         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22444         (gst_bus_source_prepare), (gst_bus_source_check),
22445         (gst_bus_create_watch), (gst_bus_add_watch_full),
22446         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22447         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22448         * gst/gstbus.h:
22449         Remove support for multiple GSources operating on different
22450         message types as it is too complex and unneeded when using
22451         signals.
22452         Added support for receiving signals from the bus.
22453
22454 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22455
22456         * docs/libs/tmpl/gstdataprotocol.sgml:
22457         * docs/manual/advanced-dataaccess.xml:
22458         * gst/elements/gstcapsfilter.c:
22459         * gst/gstutils.c:
22460           rename filter-caps to caps property
22461
22462 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22463
22464         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22465           More robust fraction string parsing.
22466
22467         * docs/pwg/appendix-porting.xml:
22468           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22469
22470 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22471
22472         * gst/gstcaps.c: (gst_caps_do_simplify):
22473           Thou shalt not free a structure and then continue using it
22474           in the next loop iteration.
22475
22476         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22477         (gst_caps_suite):
22478           Add test case for caps simplification.
22479
22480 2005-09-29  Wim Taymans  <wim@fluendo.com>
22481
22482         * check/gst/gstbin.c: (GST_START_TEST):
22483         Oops.
22484
22485 2005-09-29  Wim Taymans  <wim@fluendo.com>
22486
22487         * check/gst/gstbin.c: (GST_START_TEST):
22488         Add bus to bin.
22489
22490         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22491         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22492         (find_element), (gst_bin_sort_iterator_next),
22493         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22494         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22495         (gst_bin_change_state), (gst_bin_dispose):
22496         A bin does not have a bus, it gets the bus from the parent.
22497
22498         * gst/gstelement.c: (gst_element_requires_clock),
22499         (gst_element_provides_clock), (gst_element_is_indexable),
22500         (gst_element_is_locked_state), (gst_element_change_state),
22501         (gst_element_set_bus_func):
22502         Small cleanups.
22503
22504         * gst/gstpipeline.c: (gst_pipeline_class_init),
22505         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22506         The pipeline provides a bus.
22507
22508 2005-09-28  Johan Dahlin  <johan@gnome.org>
22509
22510         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22511         gst_structure_get_enum instead of gst_structure_get_int
22512
22513         * gst/gststructure.c (gst_structure_get_enum): Impl.
22514
22515         * gst/gststructure.h (gst_structure_get_enum): Add
22516
22517         * docs/gst/gstreamer-sections.txt: Ditto
22518
22519         * gst/gstmessage.c (gst_message_new_state_changed): Use
22520         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22521         which does introspection.
22522         Reviewed by Christian Schaller
22523
22524 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22525
22526         * gst/gstinfo.c: (gst_debug_log_default):
22527           don't do dummy g_strdup()s
22528         * libs/gst/controller/gstcontroller.c:
22529         (on_object_controlled_property_changed),
22530         (gst_controlled_property_new), (gst_controller_new_valist),
22531         (gst_controller_new_list),
22532         (gst_controller_remove_properties_valist), (gst_controller_set),
22533         (gst_controller_get), (gst_controller_sync_values),
22534         (gst_controller_get_value_array), (_gst_controller_class_init),
22535         (gst_controller_get_type):
22536         * libs/gst/controller/gstcontroller.h:
22537         * libs/gst/controller/gstinterpolation.c:
22538         (gst_controlled_property_find_timed_value_node):
22539           convert // to /**/ comments
22540
22541 2005-09-28  Wim Taymans  <wim@fluendo.com>
22542
22543         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22544         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22545         (gst_bus_sync_signal_handler):
22546         * gst/gstbus.h:
22547         Added async-message and sync-message signals to the bus.
22548         Added helper BusFunc to emit signals for all posted messages.
22549
22550         * gst/gstmessage.c: (gst_message_type_get_name),
22551         (gst_message_type_to_quark), (gst_message_get_type):
22552         * gst/gstmessage.h:
22553         Register quarks for message names.
22554
22555 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22556
22557         * docs/libs/gstreamer-libs-sections.txt:
22558         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22559         (gst_controller_new_list):
22560         * libs/gst/controller/gstcontroller.h:
22561           added another constructor for language bindings
22562
22563 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22564
22565         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22566           add another check
22567         * gst/gstbus.c:
22568           add some doc
22569         * gst/gstinfo.c: (_gst_debug_init):
22570           slightly more readable color for refcount debugging
22571
22572 2005-09-28  Wim Taymans  <wim@fluendo.com>
22573
22574         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22575         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22576         (find_element), (gst_bin_sort_iterator_next),
22577         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22578         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22579         (gst_bin_change_state), (gst_bin_dispose):
22580         Small doc fixes. get_clock -> provide_clock.
22581
22582         * gst/gstelement.c: (gst_element_class_init),
22583         (gst_element_provides_clock), (gst_element_provide_clock),
22584         (gst_element_get_clock), (gst_element_commit_state),
22585         (gst_element_lost_state):
22586         * gst/gstelement.h:
22587         Make get/set_clock() symetric. Add provide_clock vmethod since
22588         that is actually what this function does.
22589
22590         * gst/gstpipeline.c: (gst_pipeline_class_init),
22591         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22592         (gst_pipeline_get_clock):
22593         get_clock -> provide_clock.
22594
22595 2005-09-28  Andy Wingo  <wingo@pobox.com>
22596
22597         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22598         lieu of real docs...
22599
22600         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22601
22602 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22603
22604         * gst/elements/gstcapsfilter.c:
22605         * gst/elements/gstfakesink.c:
22606         * gst/elements/gstfakesrc.c:
22607         * gst/elements/gstfdsink.c:
22608         * gst/elements/gstfdsrc.c:
22609         * gst/elements/gstfilesink.c:
22610         * gst/elements/gstfilesrc.c:
22611         * gst/elements/gstidentity.c:
22612         * gst/elements/gsttee.c:
22613         * gst/elements/gsttypefindelement.c:
22614           Make element details static.
22615
22616 2005-09-28  Wim Taymans  <wim@fluendo.com>
22617
22618         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22619         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22620         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22621         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22622         (gst_bin_change_state), (gst_bin_dispose):
22623         Some documentation updates.
22624         Clean up dispose handlers.
22625
22626         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22627         * gst/gstpad.c: (gst_pad_dispose):
22628         Clean up dispose handler.
22629
22630         * gst/gstpipeline.c: (gst_pipeline_change_state):
22631         Removed spurious UNLOCK.
22632
22633 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22634
22635         * docs/gst/gstreamer-sections.txt:
22636         * gst/base/gstbasesrc.h:
22637         * gst/gstelement.h:
22638         * gst/gstevent.h:
22639         * gst/gstobject.h:
22640         * gst/gstpad.h:
22641         * gst/gstpipeline.c:
22642         * gst/gstpipeline.h:
22643         * gst/gstutils.h:
22644         * gst/gstxml.h:
22645           added two new functions to the docs
22646                 documents all undocumented GstXXXFlags
22647                 completed some incomplete docs 
22648
22649 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22650
22651         * gst/gstbin.c: (gst_bin_dispose):
22652         * gst/gstelement.c: (gst_element_dispose):
22653           remove now useless and leaky resurrection code in dispose
22654         * gst/base/gstbasesrc.c: (gst_base_src_init):
22655         * gst/gstelementfactory.c: (gst_element_factory_create):
22656         * gst/gstobject.c: (gst_object_set_parent):
22657           add some debugging
22658
22659 2005-09-27  Wim Taymans  <wim@fluendo.com>
22660
22661         * docs/design/part-TODO.txt:
22662         Update TODO.
22663
22664         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22665         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22666         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22667         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22668         (gst_bin_change_state):
22669         * gst/gstelement.h:
22670         Remove element variable, we keep element info in the iterator now.
22671
22672 2005-09-27  Andy Wingo  <wingo@pobox.com>
22673
22674         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22675         values.
22676
22677 2005-09-27  Wim Taymans  <wim@fluendo.com>
22678
22679         * check/gst/gstbin.c: (GST_START_TEST):
22680         Enable check that works now.
22681
22682         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22683         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22684         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22685         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22686         (gst_bin_change_state):
22687         * gst/gstbin.h:
22688         Redid the state change algorithm using a topological sort algo.
22689         Handles all cases correctly.
22690         Exposed iterator for state change order.
22691
22692         * gst/gstelement.h:
22693         Temp storage for state changes. Need to get rid of this soon.
22694
22695 2005-09-27  Wim Taymans  <wim@fluendo.com>
22696
22697         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22698         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22699         (link_fold_func), (gst_pad_proxy_setcaps):
22700         Leak fixes, the fold functions need to unref the passed object and
22701         _get_parent_*() returns ref to parent.
22702
22703 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22704
22705         * check/gst/gstbuffer.c: (test_make_writable):
22706           Plug leak in test case and fix 'make check-valgrind'
22707
22708 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22709
22710         * gst/gstbuffer.c: (gst_subbuffer_init):
22711           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22712           works correctly in all circumstances (we could have just copied
22713           the parent buffer's readonly flag, but conceptually it seems
22714           cleaner to mark all subbuffers as read-only). (based on patch
22715           by Alessandro Decina, #314710).
22716         
22717         * check/gst/gstbuffer.c: (create_read_only_buffer),
22718         (test_make_writable), (test_subbuffer_make_writable),
22719         (gst_test_suite):
22720           Add some tests for gst_buffer_make_writable().
22721
22722 2005-09-27  Wim Taymans  <wim@fluendo.com>
22723
22724         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22725         use gst_object_has_ancestor().
22726
22727         * gst/gstobject.c: (gst_object_has_ancestor):
22728         * gst/gstobject.h:
22729         gst_object_has_ancestor() copied from gstbin.c as it is a
22730         useful function.
22731
22732         * tests/instantiate/create.c: (create_all_elements):
22733         * tests/lat.c: (handoff_src), (handoff_sink):
22734         * tests/sched/runxml.c: (main):
22735         * tests/seeking/seeking1.c: (main):
22736         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22737         (main):
22738         Fix compilation of some tests.
22739
22740 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22741
22742         * gst/gsterror.h:
22743           Remove comment. GST_TYPE_G_ERROR is here to stay,
22744           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22745           (#316961, #300610).
22746
22747 2005-09-26  Wim Taymans  <wim@fluendo.com>
22748
22749         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22750         Added check that shows error in state change order.
22751
22752 2005-09-26  Wim Taymans  <wim@fluendo.com>
22753
22754         * gst/gstbin.c: (gst_bin_change_state):
22755         Make state change function use 3 queues again, we were
22756         adding elements in the wrong order.
22757
22758         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22759         Some debug info,
22760
22761         * gst/gstpad.c: (gst_pad_dispose):
22762         Added some debug info first.
22763
22764 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22765
22766         * docs/design/draft-push-pull.txt:
22767         * docs/design/part-events.txt:
22768         * docs/design/part-overview.txt:
22769         * docs/design/part-scheduling.txt:
22770           Replace all _pull_region() with _pull_range()
22771           
22772 2005-09-26  Andy Wingo  <wingo@pobox.com>
22773
22774         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22775
22776         * check/gst-libs/controller.c: Update for controller api change.
22777
22778         * configure.ac: 
22779         * tests/Makefile.am:
22780         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22781         over by GLib bug 118439.
22782         
22783         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22784         routines to a function.
22785
22786         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22787
22788         * libs/gst/controller/gsthelper.c:
22789         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22790         (gst_object_sync_values): Renamed from sink_values. Ugh.
22791
22792         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22793
22794         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22795         Renamed from controller_key, as it is exported.
22796
22797         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22798
22799 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22800
22801         * gst/Makefile.am:
22802         * gst/gst.h:
22803         * gst/gstpad.h:
22804         * gst/gstpadtemplate.h:
22805         * gst/gstquery.c:
22806         * gst/gstquery.h:
22807         * gst/gstqueryutils.c:
22808         * gst/gstqueryutils.h:
22809           remove queryutils headers after moving the two used functions
22810           to gstquery.  also fixes build problem for gstsiddec
22811
22812 2005-09-26  Michael Smith <msmith@fluendo.com>
22813
22814         * tools/gst-launch.1.in:
22815         Correct documentation in manpage of debug syntax
22816
22817 2005-09-26  Wim Taymans  <wim@fluendo.com>
22818
22819         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22820         (gst_base_src_is_seekable), (gst_base_src_change_state):
22821         Some more debugging info.
22822
22823 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22824
22825         * docs/gst/gstreamer-sections.txt:
22826         * gst/base/gstbasetransform.h:
22827         * gst/gstindex.h:
22828           added more docs
22829
22830 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22831
22832         * docs/gst/.cvsignore:
22833         * docs/gst/tmpl/.cvsignore:
22834         * docs/gst/tmpl/gstpipeline.sgml:
22835         * docs/gst/tmpl/gstplugin.sgml:
22836         * gst/gstpipeline.c:
22837         * gst/gstplugin.c:
22838         * gst/gstplugin.h:
22839           inlined the last two docs files
22840           removed the tmpl directory from cvs (no more conflicts here!)
22841
22842 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22843
22844         * docs/gst/gstreamer-sections.txt:
22845         * docs/gst/tmpl/.cvsignore:
22846         * docs/gst/tmpl/gstpad.sgml:
22847         * docs/gst/tmpl/gstpadtemplate.sgml:
22848         * gst/Makefile.am:
22849         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22850         (gst_pad_finalize), (gst_pad_set_pad_template):
22851         * gst/gstpad.h:
22852         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22853         (gst_pad_template_class_init), (gst_pad_template_init),
22854         (gst_pad_template_dispose), (name_is_valid),
22855         (gst_static_pad_template_get), (gst_pad_template_new),
22856         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22857         (gst_pad_template_pad_created):
22858         * gst/gstpadtemplate.h:
22859           inlined two more docs
22860           factored gstpadtemplate out of gstpad
22861
22862 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22863
22864         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22865         (test_children_state_change_order_semi_sink):
22866           Fix test case: we can't rely on a fixed state change order when
22867           going from READY => PAUSED because the sink might commit its 
22868           new state first when the first buffer created by the source 
22869           reaches the sink before the source has finished its change state.
22870           (Test case still fails at times, see #316856, comment 5 onwards)
22871
22872 2005-09-24  Wim Taymans  <wim@fluendo.com>
22873
22874         * docs/design/part-events.txt:
22875         * docs/design/part-gstbus.txt:
22876         * docs/design/part-gstpipeline.txt:
22877         * docs/design/part-messages.txt:
22878         * docs/design/part-overview.txt:
22879         * docs/design/part-segments.txt:
22880         * gst/gstbin.c:
22881         * gst/gstbuffer.c:
22882         * gst/gstclock.c:
22883         * gst/gstelement.c:
22884         * gst/gstevent.c:
22885         * gst/gstfilter.c:
22886         * gst/gstiterator.c:
22887         Various documentation updates.
22888
22889 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22890
22891         * gst/gstclock.h:
22892           Well, that's embarassing.  Luckily we weren't using
22893           GST_CLOCK_DIFF anywhere.
22894
22895 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22896
22897         * common/gtk-doc.mak:
22898           don't fail on building XML, FC4 slave shows a bunch of doc
22899           missing bits that I don't get
22900         * gst/gstpad.c:
22901         * gst/gstpipeline.c:
22902         * gst/gststructure.c:
22903           some doc updates
22904
22905 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22906
22907         * docs/design/part-gstbin.txt:
22908         * docs/design/part-gstbus.txt:
22909         * gst/gstbus.c:
22910           Add blurb about how the bus goes into flushing mode and
22911           drops all messages when its bin goes from READY into NULL 
22912           state.
22913
22914 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22915
22916         * docs/gst/gstreamer-sections.txt:
22917         * gst/gststructure.c: (gst_structure_get_clock_time):
22918         * gst/gststructure.h:
22919           add a method to get a GstClockTime out of a structure
22920
22921 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22922
22923         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22924         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22925           Added test to check state change order in bins (can still be made
22926           to fail here under heavy disk load; bails out with 'Push on pad
22927           fakesink:sink0, but it was not activated in push mode').
22928
22929         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22930           Fix state change order when there is only a semi sink (#316856)
22931
22932         * gst/gstbus.c: (gst_bus_class_init):
22933           Use _class_peek_parent(), not _class_ref(); fix docs to say
22934           'default main context' instead of 'mainloop' where that is
22935           what's meant.
22936
22937         * gst/gstelement.c: (gst_element_commit_state),
22938         (gst_element_set_state):
22939           Fix typos in debug messages
22940
22941 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22942
22943         * docs/README:
22944         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22945         * gst/gstpluginfeature.c:
22946         * gst/gstutils.c:
22947           various doc updates
22948         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22949           change an assert into an error until it gets fixed properly
22950
22951 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22952
22953         * docs/gst/gstreamer-sections.txt:
22954         * docs/gst/tmpl/.cvsignore:
22955         * docs/gst/tmpl/gstelement.sgml:
22956         * docs/gst/tmpl/gstinfo.sgml:
22957         * docs/gst/tmpl/gstobject.sgml:
22958         * gst/gstelement.c:
22959         * gst/gstelement.h:
22960         * gst/gstinfo.c:
22961         * gst/gstinfo.h:
22962         * gst/gstobject.c: (gst_object_class_init):
22963         * gst/gstobject.h:
22964           inlined 3 more biiiig doc files and added some missing docs on the fly
22965
22966 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22967
22968         * check/gst/.cvsignore:
22969         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22970         * gst/gstregistryxml.c: (load_plugin),
22971         (gst_registry_xml_save_plugin):
22972           put back source in registry.  add checks for find_plugin.
22973         * testsuite/states/bin.c: (assert_state), (empty_bin),
22974         (test_adding_one_element), (main):
22975         * testsuite/states/locked.c: (main):
22976           some compile/run fixes
22977
22978 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22979
22980         * check/gst/gstvalue.c: (GST_START_TEST):
22981           fix leaks in the test itself
22982
22983 2005-09-22  Wim Taymans  <wim@fluendo.com>
22984
22985         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22986         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22987         (gst_base_sink_query):
22988         Prepare for more accurate position reporting and query
22989         handling.
22990
22991         * gst/gstelement.c: (gst_element_send_event),
22992         (gst_element_set_state):
22993         Add some comment.
22994
22995 2005-09-22  Wim Taymans  <wim@fluendo.com>
22996
22997         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22998         (gst_query_parse_segment):
22999         * gst/gstquery.h:
23000         More documentation.
23001         Add segment query for future use.
23002
23003 2005-09-22  Wim Taymans  <wim@fluendo.com>
23004
23005         * gst/gstbin.c: (gst_bin_add_func):
23006         Some more debug info.
23007
23008         * gst/gstelement.c: (gst_element_send_event):
23009         Simplify send_event
23010
23011         * gst/gstelement.h:
23012         Don't know how flags got broken.
23013
23014         * gst/gstquery.h:
23015         Added new query.
23016
23017 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
23018
23019         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
23020           Add simplistic test suite for GST_TYPE_DATE serialisation and
23021           deserialisation.
23022
23023 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
23024
23025         * docs/gst/gstreamer-sections.txt:
23026         * gst/gststructure.c: (gst_structure_set_valist),
23027         (gst_structure_get_date):
23028         * gst/gststructure.h:
23029         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
23030         (gst_date_copy), (gst_value_compare_date),
23031         (gst_value_serialize_date), (gst_value_deserialize_date),
23032         (gst_value_transform_date_string),
23033         (gst_value_transform_string_date), (_gst_value_initialize):
23034         * gst/gstvalue.h:
23035           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
23036           bunch of utility functions along with a hack that checks that
23037           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
23038           is required. Part of the grand scheme in #170777.
23039
23040 2005-09-22  Andy Wingo  <wingo@pobox.com>
23041
23042         * gst/gstconfig.h.in: Psych out gtk-doc.
23043
23044         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
23045
23046         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
23047
23048         * tools/gst-inspect.c (print_element_list): Plug some
23049         inconsequential leaks.
23050
23051         * gst/gstregistry.c (gst_registry_get_default): Doc.
23052
23053         * check/gst/gstplugin.c: 
23054         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23055         * gst/gstelementfactory.c (gst_element_factory_create): 
23056         * gst/gstindexfactory.c (gst_index_factory_create): Update for
23057         refcount changes.
23058
23059         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23060         (gst_plugin_feature_load): Doc, don't eat refs.
23061
23062         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23063         (gst_plugin_list_free): Doc.
23064         (gst_plugin_load_file): Doc updates.
23065
23066         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23067         accessors returning refcounted objects, return a ref.
23068
23069         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23070         accessor for caps. IDEMPOTENCE. Oh yes.
23071
23072 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
23073
23074         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23075
23076         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23077         (_gst_debug_register_funcptr):
23078           Add mutex to serialise access to the hash table with
23079           the function pointer => function name string mapping;
23080           make that hash table static scope (#316809).
23081
23082         * gst/registries/.cvsignore:
23083           Remove left-over file.
23084
23085 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23086
23087         * docs/pwg/appendix-porting.xml:
23088           And something about newsegment events and caps-on-buffers to
23089           the porting guide (feel free to improve).
23090
23091 2005-09-21  Andy Wingo  <wingo@pobox.com>
23092
23093         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23094         data and event probes on the same pad.
23095         (test_buffer_probe_once): Test that removing probes from within
23096         the probe functions works.
23097
23098 2005-09-21  Andy Wingo  <wingo@pobox.com>
23099
23100         * check/gst/gstutils.c: New file.
23101         (test_buffer_probe_n_times): A simple buffer probe test. More to
23102         come, foolios.
23103
23104         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23105         have-data::buffer, not have-data.
23106         (gst_pad_add_event_probe): Likewise for have-data::event.
23107         (gst_pad_add_data_probe): More docs. The part about 'resolving the
23108         peer' isn't quite right yet though.
23109         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
23110         (gst_pad_remove_data_probe): Change to take the guint handler_id
23111         as their arg, not the function+data, which is more glib-like.
23112
23113         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23114         the signal emission to indicate if the data is a buffer or an
23115         event.
23116         (gst_pad_get_type): Initialize buffer and event quarks.
23117         (gst_pad_class_init): have-data is now a detailed signal, yes it
23118         is.
23119
23120 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23121
23122         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23123         * gst/gstutils.c: (gst_util_set_value_from_string),
23124         (gst_util_set_object_arg):
23125           Don't put functional code in g_return_if_fail() or
23126           g_return_val_if_fail() statements, otherwise things will 
23127           break when G_DISABLE_CHECKS is defined during compilation.
23128
23129 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23130
23131         * docs/gst/tmpl/.cvsignore:
23132         * docs/gst/tmpl/gstvalue.sgml:
23133         * gst/gstvalue.c:
23134         * gst/gstvalue.h:
23135           inlied another one and added  some obvious docs
23136
23137 2005-09-21  Wim Taymans  <wim@fluendo.com>
23138
23139         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23140         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23141         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23142         (gst_fdsrc_get_property), (gst_fdsrc_create):
23143         * gst/elements/gstfdsrc.h:
23144         Properly implement fdsrc. Removed signal and timeout,
23145         better implemented somewhere else.
23146
23147 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23148
23149         * docs/gst/tmpl/.cvsignore:
23150         * docs/gst/tmpl/gstimplementsinterface.sgml:
23151         * gst/gstinterface.c:
23152           inlined more docs
23153
23154 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23155
23156         * docs/gst/gstreamer-sections.txt:
23157         * docs/gst/tmpl/.cvsignore:
23158         * docs/gst/tmpl/gstenumtypes.sgml:
23159           remove obsolete doc file
23160
23161 2005-09-21  David Schleef  <ds@schleef.org>
23162
23163         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23164         little beer, fix a little leak.
23165
23166 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23167
23168         * docs/gst/gstreamer-docs.sgml:
23169         * docs/gst/gstreamer-sections.txt:
23170         * docs/gst/tmpl/.cvsignore:
23171         * gst/Makefile.am:
23172         * gst/gst.h:
23173         * gst/gstbin.c:
23174         * gst/gstelement.h:
23175         * gst/gstindex.c: (gst_index_class_init):
23176         * gst/gstindex.h:
23177         * gst/gstindexfactory.c: (gst_index_factory_get_type),
23178         (gst_index_factory_class_init), (gst_index_factory_init),
23179         (gst_index_factory_finalize), (gst_index_factory_new),
23180         (gst_index_factory_destroy), (gst_index_factory_find),
23181         (gst_index_factory_create), (gst_index_factory_make):
23182         * gst/gstindexfactory.h:
23183         * gst/gstpluginfeature.c:
23184         * gst/gstpluginfeature.h:
23185         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23186           more docs inlined, splitted gstindex.{c,h}
23187
23188 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23189
23190         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23191           fix a leak
23192
23193 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23194
23195         * gst/elements/gstfilesink.c: (gst_file_sink_init):
23196           Set sync to FALSE by default.
23197
23198 2005-09-20  Wim Taymans  <wim@fluendo.com>
23199
23200         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23201         (gst_base_sink_init):
23202         Make sync property settable from subclass.
23203
23204         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23205         (gst_fake_sink_change_state):
23206         Set sync to FALSE by default.
23207
23208 2005-09-20  Wim Taymans  <wim@fluendo.com>
23209
23210         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23211         * tools/gst-launch.c: (main):
23212         The timeout handler should have lower priority than the source
23213         so we don't timeout before popping a message with 0 timeout.
23214         Dump error messages after failed state change.
23215
23216 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23217
23218         * tools/gst-inspect.c: (print_element_properties_info):
23219           Fix two typos.
23220
23221 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23222
23223         * check/gst/gstevent.c:
23224         * gst/elements/gstfakesink.c:
23225         * gst/elements/gstfakesink.h:
23226           remove the sync property from fakesink.
23227           has the side effect of setting sync TRUE
23228           for fakesink, which is a change.  Anyone who knows how
23229           to fix this nicely in a GObject-y way, feel free.
23230
23231 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23232
23233         * docs/gst/gstreamer-docs.sgml:
23234           remove probe refsection
23235
23236 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23237
23238         * check/Makefile.am:
23239           disable valgrinding the controller test again
23240         * docs/gst/gstreamer-sections.txt:
23241           update for api-changes
23242
23243 2005-09-20  Wim Taymans  <wim@fluendo.com>
23244
23245         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23246         (gst_base_sink_set_property), (gst_base_sink_get_property),
23247         (gst_base_sink_do_sync):
23248         * gst/base/gstbasesink.h:
23249         Added sync property to basesink to disable clock sync.
23250
23251 2005-09-20  Andy Wingo  <wingo@pobox.com>
23252
23253         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23254         eating the caller's refcount.
23255
23256         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
23257         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23258         refcount.
23259
23260         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23261         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23262         of GLib 2.8 public, so we can know which refcount to check in
23263         tests.
23264
23265         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23266         (gst_object_init): Only set the gst refcount if we're going ahead
23267         with the refcount hack.
23268
23269 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23270
23271         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23272         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23273           more leaks plumbed, added more debug-logging
23274         * gst/gstmacros.h:
23275           whitespace fix
23276
23277 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23278
23279         * gst/gstmessage.c:
23280           remove include of gstmemchunk.h
23281
23282 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23283
23284         * gst/gstclock.c: (_gst_clock_id_free):
23285           Commit from the Political Party For More Atomic CVS Commits,
23286           so that people don't waste too much of their day fishing
23287           out obvious leaks out of massive commits.
23288           Oh, and fix a pretty damn obvious leak in the memchunk
23289           removal code.
23290
23291 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23292
23293         * check/Makefile.am:
23294         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23295           plug mem-leak, re-add to valgrindable tests
23296
23297 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23298
23299         * gst/gstplugin.h:
23300           unbreak the build for those who have chronic arthritis
23301           and typing "make check" is just too taxing on the hands
23302
23303 2005-09-20  Andy Wingo  <wingo@pobox.com>
23304
23305         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23306         really want it out, you should fix plugins at the same time.
23307
23308 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
23309
23310         * configure.ac:
23311         * docs/gst/gstreamer-sections.txt:
23312         * gst/gstobject.c:
23313           added missing symbols to api docs
23314           disable ref-count hack if we have glib >= 2.8
23315
23316 2005-09-19  David Schleef  <ds@schleef.org>
23317
23318         * docs/gst/Makefile.am: Ignore a few more internal headers
23319         * docs/gst/gstreamer-docs.sgml: Remove old sections
23320         * docs/gst/gstreamer-sections.txt: Remove old sections
23321         * docs/gst/tmpl/gstobject.sgml: update
23322         * docs/gst/tmpl/gstplugin.sgml: update
23323         * docs/gst/tmpl/gstpluginfeature.sgml: update
23324         * docs/random/ds/0.9-suggested-changes: update.
23325         * gst/Makefile.am: remove memchunk and trashstack, since they're
23326           not used.
23327         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23328         * gst/gst.h: don't include some headers
23329         * gst/gstchildproxy.c: add gstmarshal.h
23330         * gst/gstclock.c: Don't use memchunks
23331         * gst/gstminiobject.c: Add some docs
23332         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23333         * gst/gstobject.h: same
23334         * gst/gstplugin.c: include gstmacros.h
23335         * gst/gstplugin.h: don't include gstmacros.h, since it's private
23336         * gst/gstquery.c: don't use memchunks
23337         * gst/gstregistry.c: rename gst_registry_deinit()
23338         * gst/gstregistry.h: same
23339
23340 2005-09-19  David Schleef  <ds@schleef.org>
23341
23342         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23343         * docs/libs/gstreamer-libs-sections.txt:
23344         * docs/libs/tmpl/gstgetbits.sgml:
23345         * docs/libs/tmpl/gstputbits.sgml:
23346
23347 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23348
23349         * win32/gstenumtypes.c:
23350         * win32/gstenumtypes.h:
23351           Update.
23352
23353 2005-09-19  Wim Taymans  <wim@fluendo.com>
23354
23355         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23356         Automatically PAUSE and RESUME a pipeline when a flushing seek
23357         is performed.
23358
23359 2005-09-19  Andy Wingo  <wingo@pobox.com>
23360
23361         * gst/gstregistry.h: Spacing fixen.
23362
23363 2005-09-19  Wim Taymans  <wim@fluendo.com>
23364
23365         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23366         Handle state change failure more correctly.
23367
23368 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23369
23370         * check/Makefile.am:
23371         * check/pipelines/cleanup.c: (run_pipeline):
23372         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23373         (GST_START_TEST):
23374           enable cleanup again after fixing the leak
23375         * docs/README:
23376           some more info on docs
23377
23378 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23379
23380         * check/Makefile.am:
23381           re-enable tests now that leaks are plugged
23382         * check/gst/gst.c:
23383         * check/gst/gstbin.c:
23384         * check/gst/gstpipeline.c:
23385           add some more tests while fixing leaks
23386         * common/check.mak:
23387           make sure binaries are uptodate when valgrinding/gdbing
23388         * gst/gst.c:
23389         * gst/gstelementfactory.c:
23390           remove a ref too many, and add a FIXME for when we get
23391           round to disposing of classes
23392         * gst/gstplugin.c:
23393           fix the refcounting when loading a plugin from a file and
23394           the code pretends that the pointer is the same even though
23395           of course it can change
23396         * gst/gstpluginfeature.c:
23397           unref plugins marked cached (a bit confusing as a name)
23398           as the docs state should be done
23399           various doc additions to explain refcounting
23400         * gst/gstregistry.c:
23401         * gst/gstregistryxml.c:
23402           debugging
23403
23404 2005-09-19  Wim Taymans  <wim@fluendo.com>
23405
23406         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23407         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23408         (send_messages), (GST_START_TEST), (gstbus_suite):
23409         * check/gst/gstpipeline.c: (GST_START_TEST):
23410         * check/pipelines/cleanup.c: (run_pipeline):
23411         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23412         (GST_START_TEST):
23413         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23414         (gst_bus_source_check), (gst_bus_source_dispatch),
23415         (gst_bus_create_watch), (gst_bus_add_watch_full),
23416         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23417         * gst/gstbus.h:
23418         * tools/gst-launch.c: (event_loop):
23419         * tools/gst-md5sum.c: (event_loop):
23420         GstBusHandler -> GstBusFunc, return value has the same meaning as
23421         any other GSource (FALSE == remove source).
23422         _add_watch() and _add_watch_full() now take a MessageType mask to
23423         only handle specific types of messages.
23424         _poll() returns the GstMessage instead of the message type to avoid
23425         race conditions.
23426         _have_pending() takes a MessageType mask now too.
23427         Added testsuite for multiple bus watches.
23428         Fix testsuites and applications for new bus API.
23429
23430 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23431
23432         * check/Makefile.am:
23433           mark a bunch of the tests as to fix until we fix them
23434
23435 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23436
23437         * common/check.mak:
23438           use GST_PLUGIN settings for valgrind tests as well, so we're
23439           valgrinding the correct thing
23440         * gst/gst.c: (init_post):
23441           plug another leak
23442
23443 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23444
23445         * gst/gst.c: (init_post), (gst_deinit):
23446         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23447         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23448         * gst/gstindex.c: (gst_index_factory_class_init),
23449         (gst_index_factory_finalize):
23450         * gst/gstobject.c: (gst_object_dispose):
23451         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23452         (gst_plugin_load_file), (gst_plugin_desc_free):
23453         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23454         (gst_plugin_feature_finalize):
23455         * gst/gstregistry.c: (gst_registry_class_init),
23456         (gst_registry_init), (gst_registry_finalize),
23457         (gst_registry_get_default), (gst_registry_deinit):
23458         * gst/gstregistry.h:
23459         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23460           various cleanups and memleak plugging.  make valgrind is happy now.
23461
23462 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23463
23464         * common/check.mak:
23465           add a check-valgrind target
23466
23467 2005-09-18  David Schleef  <ds@schleef.org>
23468
23469         * tools/gst-inspect.c: Revert the GOption code.
23470
23471 2005-09-17  David Schleef  <ds@schleef.org>
23472
23473         * check/Makefile.am: Fix environment variables.
23474         * check/gst/gstplugin.c: Fix for API changes.
23475         * tools/gst-inspect.c: Fix for API changes.
23476         * tools/gst-xmlinspect.c: Fix for API changes.
23477         * gst/gstelementfactory.c:
23478         * gst/gstplugin.c:
23479         * gst/gstplugin.h:
23480         * gst/gstpluginfeature.c:
23481         * gst/gstpluginfeature.h:
23482         * gst/gstregistry.c:
23483         * gst/gstregistry.h:
23484         * gst/gstregistryxml.c:
23485         * gst/gsttypefind.c:
23486         * gst/gsttypefindfactory.c:
23487         * gst/indexers/gstfileindex.c:
23488         * gst/indexers/gstmemindex.c:
23489         * gst/schedulers/Makefile.am:
23490           Change registry to keep track of both plugins and features,
23491           removing the feature tracking from plugins themselves.
23492
23493 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23494
23495         * check/Makefile.am:
23496         * tools/gst-register.1.in:
23497           remove gst-register
23498
23499 2005-09-15  David Schleef  <ds@schleef.org>
23500
23501         * check/gst/gstplugin.c:
23502         * gst/gstelementfactory.c:
23503         * gst/gstplugin.c:
23504         * gst/gstpluginfeature.c:
23505         * gst/gstregistry.c:
23506           Getting tired of debugging.  Disabled all the unreffing of
23507           plugins and features, which fixes the segfaults, but of
23508           course leaks like crazy.  At least playbin works.
23509
23510 2005-09-15  David Schleef  <ds@schleef.org>
23511
23512         * check/gst/gstplugin.c: (register_check_elements),
23513         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23514         More testing
23515         * gst/elements/gsttypefindelement.c: Fix refcounting.
23516         * gst/gsttypefind.c:
23517         * gst/gsttypefindfactory.c:
23518         * gst/gsttypefindfactory.h:
23519
23520 2005-09-15  David Schleef  <ds@schleef.org>
23521
23522         * gst/gstindex.c: get refcounting correct.
23523         * gst/gstregistry.c: Handle the case where a feature/plugin is
23524           not found.
23525
23526 2005-09-15  David Schleef  <ds@schleef.org>
23527
23528         * check/Makefile.am:
23529         * check/gst/gstplugin.c: Add test
23530         * gst/gstplugin.c: Fix problems noticed by testsuite
23531         * gst/gstplugin.h:
23532         * gst/gstregistry.c: 
23533         * gst/gstregistry.h:
23534
23535 2005-09-15  David Schleef  <ds@schleef.org>
23536
23537         * gst/gstplugin.c: Implement semi-decent recounting and locking
23538           in plugins and plugin features.
23539         * gst/gstplugin.h:
23540         * gst/gstpluginfeature.c:
23541         * gst/gstpluginfeature.h:
23542         * gst/gstregistry.c:
23543
23544 2005-09-15  Michael Smith <msmith@fluendo.com>
23545
23546         * gst/gstregistry.c: (gst_registry_get_feature_list):
23547           Implement this. Makes oggdemux work; decodebin still broken.
23548
23549 2005-09-14  David Schleef  <ds@schleef.org>
23550
23551         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23552           #316076)
23553         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23554         * gst/check/Makefile.am:
23555         * libs/gst/controller/Makefile.am:
23556         * libs/gst/dataprotocol/Makefile.am:
23557
23558 2005-09-14  David Schleef  <ds@schleef.org>
23559
23560         * configure.ac: Remove getbits library.  Nothing uses it, and
23561           it should be in something like liboil if someone did want
23562           to use it.
23563         * libs/gst/Makefile.am:
23564         * libs/gst/getbits/Makefile.am:
23565         * libs/gst/getbits/gbtest.c:
23566         * libs/gst/getbits/getbits.c:
23567         * libs/gst/getbits/getbits.h:
23568         * libs/gst/getbits/gstgetbits_generic.c:
23569         * libs/gst/getbits/gstgetbits_i386.s:
23570         * libs/gst/getbits/gstgetbits_inl.h:
23571
23572 2005-09-14  David Schleef  <ds@schleef.org>
23573
23574         * gst/Makefile.am: Dist glib-compat.h
23575
23576 2005-09-14  David Schleef  <ds@schleef.org>
23577
23578         * configure.ac: Remove gst/registries, since it's no longer used.
23579         * gst/registries/Makefile.am:
23580         * gst/registries/gstlibxmlregistry.c:
23581         * gst/registries/gstlibxmlregistry.h:
23582         * gst/registries/gstxmlregistry.c:
23583         * gst/registries/gstxmlregistry.h:
23584         * gst/registries/registrytest.c:
23585
23586 2005-09-14  David Schleef  <ds@schleef.org>
23587
23588         * gst/glib-compat.h:
23589         * gst/gstregistryxml.c:
23590           Convergence is near.  Seriously.
23591
23592 2005-09-14  David Schleef  <ds@schleef.org>
23593
23594         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23595         * gst/glib-compat.h:
23596           Attempt #4 to appease the buildbots.
23597
23598 2005-09-14  David Schleef  <ds@schleef.org>
23599
23600         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23601           Attempt #3.
23602
23603 2005-09-14  David Schleef  <ds@schleef.org>
23604
23605         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23606         Attempt #2.
23607
23608 2005-09-14  David Schleef  <ds@schleef.org>
23609
23610         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23611           the new functions.
23612
23613 2005-09-14  David Schleef  <ds@schleef.org>
23614
23615         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23616         * gst/glib-compat.h: Add some functions that are in newer versions
23617           of glib than we care to require.
23618         * gst/gstregistryxml.c: Use them.
23619
23620 2005-09-14  David Schleef  <ds@schleef.org>
23621
23622         * po/POTFILES.in: remove gst-register.c
23623
23624 2005-09-14  David Schleef  <ds@schleef.org>
23625
23626         * docs/gst/gstreamer-docs.sgml:
23627         * docs/gst/gstreamer-sections.txt:
23628         * docs/gst/gstreamer.types:
23629         * docs/gst/tmpl/gstelement.sgml:
23630         * docs/gst/tmpl/gstplugin.sgml:
23631         * docs/gst/tmpl/gstpluginfeature.sgml:
23632           Documentation updates for registry changes.
23633
23634 2005-09-14  David Schleef  <ds@schleef.org>
23635
23636         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23637           because we don't require glib-2.8.
23638
23639 2005-09-14  David Schleef  <ds@schleef.org>
23640
23641         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23642           registries directory.
23643
23644 2005-09-14  David Schleef  <ds@schleef.org>
23645
23646         * check/Makefile.am:
23647         * check/generic/states.c:
23648         * gst/Makefile.am:
23649         * gst/gst.c:
23650         * gst/gst.h:
23651         * gst/gst_private.h:
23652         * gst/gstelementfactory.c:
23653         * gst/gstindex.c:
23654         * gst/gstinfo.c:
23655         * gst/gstplugin.c:
23656         * gst/gstplugin.h:
23657         * gst/gstpluginfeature.c:
23658         * gst/gstpluginfeature.h:
23659         * gst/gstregistry.c:
23660         * gst/gstregistry.h:
23661         * gst/gstregistrypool.c: remove
23662         * gst/gstregistrypool.h: remove
23663         * gst/gsttypefind.c:
23664         * gst/gsttypefindfactory.c:
23665         * gst/gsturi.c:
23666         * tools/Makefile.am:
23667         * tools/gst-compprep.c:
23668         * tools/gst-inspect.c:
23669         * tools/gst-register.c: remove
23670         * tools/gst-xmlinspect.c:
23671           Registry rewrite.  Changes registry from being a file created
23672           by a tool into a simple cache file created automatically by 
23673           libgstreamer.  Removed gst-register (because it's no longer
23674           needed).  Remove registry pools, because we only have one
23675           registry implementation (XML).  Fix up other subsystems as
23676           necessary.
23677
23678 2005-09-13  Michael Smith <msmith@fluendo.com>
23679
23680         * gst/gstconfig.h.in:
23681           Don't Use windows linking attributes for MinGW. Fixes #316157
23682
23683 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23684
23685         * gst/gstutils.c: (set_state_async_thread_func),
23686         (gst_element_set_state_async):
23687           Apparently people think it's better if this function doesn't
23688           try to set the state to whatever state was asked for on the first
23689           call to this function for any object.  Seriously.
23690
23691 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23692
23693         * check/gst/gstpipeline.c: (GST_START_TEST):
23694         * docs/gst/gstreamer-sections.txt:
23695         * gst/gstutils.c: (set_state_async_thread_func),
23696         (gst_element_set_state_async):
23697         * gst/gstutils.h:
23698           add a "gst_element_set_state_async" method that
23699           sets the state and starts a thread to make sure the state
23700           change completes as best as it can
23701
23702 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23703
23704         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23705           codify design+behaviour in testsuite after discussion
23706
23707 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23708
23709         * docs/gst/tmpl/gstelement.sgml:
23710         * docs/manual/appendix-quotes.xml:
23711           add a quote
23712         * gst/gstelement.c: (gst_element_set_state):
23713           add some debug
23714
23715 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23716
23717         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23718         (gst_base_transform_prepare_output_buf),
23719         (gst_base_transform_handle_buffer):
23720         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23721         (gst_capsfilter_prepare_buf):
23722           Remove the requirement for sub-classes to call the parent
23723           implementation of prepare_output_buffer with a wrapper function.
23724           
23725         * gst/gsttaglist.h:
23726         * gst/gsttagsetter.h:
23727           Fix #define wrapper
23728
23729 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23730
23731         * docs/gst/gstreamer-sections.txt:
23732           more doc cleanups
23733
23734 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23735
23736         * docs/gst/gstreamer-sections.txt:
23737         * docs/gst/tmpl/gstelement.sgml:
23738         * docs/gst/tmpl/gstplugin.sgml:
23739         * gst/gstminiobject.c:
23740         * gst/gstvalue.h:
23741           docs now stop throwing warnings
23742
23743 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23744
23745         * docs/gst/gstreamer-sections.txt:
23746         * docs/gst/gstreamer.types:
23747         * docs/gst/tmpl/gstpad.sgml:
23748         * docs/gst/tmpl/gsttypes.sgml:
23749         * gst/base/gstadapter.h:
23750         * gst/base/gstbasesink.h:
23751         * gst/base/gstbasesrc.h:
23752         * gst/gstbin.h:
23753         * gst/gstbuffer.h:
23754         * gst/gstbus.h:
23755         * gst/gstcaps.h:
23756         * gst/gstclock.h:
23757         * gst/gstelement.h:
23758         * gst/gstevent.h:
23759         * gst/gstmessage.h:
23760         * gst/gstpad.h:
23761         * gst/gststructure.c:
23762         * gst/registries/gstlibxmlregistry.h:
23763           various documentation fixes
23764
23765 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23766
23767         * docs/gst/gstreamer-sections.txt:
23768         * docs/gst/tmpl/gstvalue.sgml:
23769           rearrange gstvalue section
23770         * gst/gstutils.c: (gst_element_state_get_name):
23771           NONE -> VOID
23772         * gst/gstvalue.c: (_gst_value_initialize):
23773         * gst/gstvalue.h:
23774           doc updates
23775
23776 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23777
23778         * check/gst-libs/controller.c:
23779           Header include fix.
23780         * gst/base/gstbasetransform.c:
23781         (gst_base_transform_default_prepare_buf),
23782         (gst_base_transform_handle_buffer):
23783         * gst/base/gstbasetransform.h:
23784           Some more basetransform changes and fixes to enable sub-classes
23785           that modify buffer metadata only.
23786         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23787         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23788         (gst_capsfilter_prepare_buf):
23789           If the output pad has fixed allowed caps and input buffers 
23790           don't have any, set the fixed caps on outgoing buffers.
23791
23792 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23793         * check/elements/identity.c: (GST_START_TEST):
23794           Make the error a little clearer when the test fails because
23795           identity made a copy of the buffer.
23796         * docs/gst/gstreamer-sections.txt:
23797           New symbols in gstbasetransform.h
23798         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23799         (gst_base_transform_init), (gst_base_transform_transform_size),
23800         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23801         (gst_base_transform_default_prepare_buf),
23802         (gst_base_transform_get_unit_size),
23803         (gst_base_transform_buffer_alloc),
23804         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23805         (gst_base_transform_change_state),
23806         (gst_base_transform_set_passthrough),
23807         (gst_base_transform_set_in_place),
23808         (gst_base_transform_is_in_place):
23809         * gst/base/gstbasetransform.h:
23810           Change BaseTransform to separate in_place operate from same_caps
23811           output. in_place implies that the element can perform the transform
23812           on incoming buffers in-place, even if the caps on the output are
23813           different.
23814           Sub-class elements can now implement special buffer allocation
23815           methods for outgoing buffers if they wish to.
23816           Big documentation addition.
23817         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23818         * gst/elements/gstelements.c:
23819           Changes for basetransform modifications.
23820         * gst/elements/Makefile.am:
23821         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23822           Compile fix. Extra debug output.
23823
23824 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23825
23826         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23827         (gst_pad_suite):
23828           add tests for valid pad naming
23829         * gst/check/gstcheck.c: (gst_check_log_message_func),
23830         (gst_check_log_critical_func):
23831           add ASSERT_WARNING
23832           remove printing of code, it is fragile when the code contains
23833           % and the line number is enough info
23834         * gst/check/gstcheck.h:
23835         * gst/gstpad.c: (gst_pad_template_new):
23836           fix memleaks
23837
23838 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23839
23840         * configure.ac:
23841           say what CHECK flags we use
23842         * docs/libs/gstreamer-libs.types:
23843         * libs/gst/controller/Makefile.am:
23844         * libs/gst/controller/gst-controller.c:
23845         * libs/gst/controller/gst-controller.h:
23846         * libs/gst/controller/gst-helper.c:
23847         * libs/gst/controller/gst-interpolation.c:
23848         * libs/gst/controller/gstcontroller.c:
23849         * libs/gst/controller/gsthelper.c:
23850         * libs/gst/controller/gstinterpolation.c:
23851         * tools/gst-inspect.c: (print_plugin_info):
23852           we don't use dashes in header names
23853
23854 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23855
23856         * check/Makefile.am:
23857         * check/gst/.cvsignore:
23858         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23859         (gst_pipeline_suite), (main):
23860           adding a test for pipelines and state changes
23861         * gst/gstutils.c: (get_state_func):
23862           add some debugging
23863         * gstreamer.spec.in:
23864           fix up spec file
23865
23866 2005-09-08  Michael Smith <msmith@fluendo.com>
23867
23868         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23869         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23870         (gst_file_src_is_seekable), (gst_file_src_get_size),
23871         (gst_file_src_start):
23872         * gst/elements/gstfilesrc.h:
23873           Various fixes for unseekable, unmmapable, and non-normal files, so
23874           that fallback to read() rather than mmap() works.
23875         * gst/gstevent.c: (gst_event_new_newsegment):
23876           Allow newsegment events with segment_start == segment_end, as will
23877           correctly happen if you use filesrc on a zero-size file, for
23878           example.
23879
23880 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23881
23882         * gst/gstplugin.c: (gst_plugin_load_file):
23883           Call g_module_close when we don't load the module
23884
23885         * gst/registries/gstlibxmlregistry.c:
23886         (gst_xml_registry_get_property):
23887           Port leak fix from 0.8
23888
23889 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23890
23891         * docs/gst/gstreamer-docs.sgml:
23892         * docs/gst/tmpl/.cvsignore:
23893         * docs/gst/tmpl/gsttrace.sgml:
23894         * docs/gst/tmpl/gsttrashstack.sgml:
23895         * gst/Makefile.am:
23896         * gst/gst.h:
23897         * gst/gstelement.h:
23898         * gst/gstevent.h:
23899         * gst/gstmessage.c:
23900         * gst/gstmessage.h:
23901         * gst/gsttag.c:
23902         * gst/gsttag.h:
23903         * gst/gsttaginterface.c:
23904         * gst/gsttaginterface.h:
23905         * gst/gsttaglist.c:
23906         * gst/gsttaglist.h:
23907         * gst/gsttagsetter.c:
23908         * gst/gsttagsetter.h:
23909         * gst/gsttrace.c:
23910         * gst/gsttrace.h:
23911         * gst/gsttrashstack.c:
23912           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23913           inlined docs for gsttrace, gsttrashstack
23914
23915 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23916
23917         * gst/Makefile.am:
23918         * gst/elements/gstbufferstore.h:
23919         * gst/elements/gsttypefindelement.c:
23920         * gst/elements/gsttypefindelement.h:
23921         * gst/gst.h:
23922         * gst/gsttypefind.c:
23923         * gst/gsttypefind.h:
23924         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23925         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23926         (gst_type_find_factory_dispose),
23927         (gst_type_find_factory_unload_thyself),
23928         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23929         (gst_type_find_factory_get_caps),
23930         (gst_type_find_factory_get_extensions),
23931         (gst_type_find_factory_call_function):
23932         * gst/gsttypefindfactory.h:
23933         * gst/registries/gstlibxmlregistry.c:
23934         * gst/registries/gstxmlregistry.c:
23935           splitted gsttypefind into gsttypefind, gsttypefindfactory
23936
23937 2005-09-07  Andy Wingo  <wingo@pobox.com>
23938
23939         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23940         condition whereby the pad's task function is entered before the
23941         pad_mode variable was set.
23942
23943 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23944
23945         * gst/gstpad.c: (gst_pad_alloc_buffer):
23946           Catch misbehaving pad_alloc functions that don't
23947           set up caps and do it for them.
23948
23949 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23950
23951         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23952           test for pipe!=NULL
23953         * docs/gst/tmpl/.cvsignore:
23954         * docs/gst/tmpl/gstmemchunk.sgml:
23955         * docs/gst/tmpl/gstparse.sgml:
23956         * docs/gst/tmpl/gsttaglist.sgml:
23957         * docs/gst/tmpl/gsttagsetter.sgml:
23958         * docs/gst/tmpl/gsttypefind.sgml:
23959         * docs/gst/tmpl/gsttypefindfactory.sgml:
23960         * gst/gstmemchunk.c:
23961         * gst/gstparse.c:
23962         * gst/gsttag.c:
23963         * gst/gsttaginterface.c:
23964         * gst/gsttypefind.c:
23965         * gst/gsttypefind.h:
23966           inlined more docs
23967
23968 === release 0.9.2 ===
23969
23970 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23971
23972         * NEWS:
23973         * RELEASE:
23974         * configure.ac:
23975           releasing 0.9.2, "South"
23976
23977 2005-09-05  Andy Wingo  <wingo@pobox.com>
23978
23979         * gst/registries/gstxmlregistry.h:
23980         * gst/registries/gstxmlregistry.c: Um... resurrect...
23981         
23982         * gst/registries/gstxmlregistry.h:
23983         * gst/registries/gstxmlregistry.c: and update to newer API.
23984         Incidentally they should be a bit faster now that they don't have
23985         to parse the caps.
23986         
23987 2005-09-05  Andy Wingo  <wingo@pobox.com>
23988
23989         * gst/registries/gstxmlregistry.h:
23990         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23991         replaced by the libxml registry a while back
23992
23993 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23994
23995         * docs/gst/tmpl/gstplugin.sgml:
23996         * gst/elements/gstelements.c:
23997         * gst/gst.c:
23998         * gst/gstplugin.c: (gst_plugin_register_func),
23999         (gst_plugin_desc_copy), (gst_plugin_desc_free),
24000         (gst_plugin_get_source):
24001         * gst/gstplugin.h:
24002         * gst/registries/gstlibxmlregistry.c: (load_plugin),
24003         (gst_xml_registry_save_plugin):
24004         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
24005         (gst_xml_registry_save_plugin):
24006         * tools/gst-inspect.c: (print_plugin_info):
24007           add a "source" plugin description field, to represent the source
24008           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
24009           will set it to PACKAGE, which is automake's idea of the name of
24010           the source project.
24011
24012 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24013
24014         * Makefile.am:
24015         * autogen.sh:
24016         * configure.ac:
24017         * docs/Makefile.am:
24018         * docs/faq/Makefile.am:
24019         * docs/gst/tmpl/gstelement.sgml:
24020         * docs/gst/tmpl/gsttypes.sgml:
24021         * docs/htmlinstall.mak:
24022         * docs/manual/Makefile.am:
24023         * docs/pwg/Makefile.am:
24024           reorganize doc build a little
24025           split out docbook and gtk-doc stuff
24026           have two separate --enable's and enable them through autogen
24027           but disable by default in configure (to be similar to other
24028           projects)
24029         * gstreamer.spec.in:
24030           clean up docs install
24031         * po/af.po:
24032         * po/az.po:
24033         * po/ca.po:
24034         * po/cs.po:
24035         * po/de.po:
24036         * po/en_GB.po:
24037         * po/fr.po:
24038         * po/it.po:
24039         * po/nb.po:
24040         * po/nl.po:
24041         * po/ru.po:
24042         * po/sq.po:
24043         * po/sr.po:
24044         * po/sv.po:
24045         * po/tr.po:
24046         * po/uk.po:
24047         * po/vi.po:
24048           translation updates
24049
24050 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
24051
24052         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24053           Add comment.
24054           
24055         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24056         (gst_fake_sink_change_state):
24057           Make state change function thread-safe.
24058           
24059         * gst/gstpad.c: (gst_pad_alloc_buffer):
24060           Set offset on generic buffer allocated by fallback.
24061
24062 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
24063
24064         * docs/gst/gstreamer-sections.txt:
24065         * docs/gst/tmpl/gstelement.sgml:
24066         * gst/gstpad.c:
24067         * libs/gst/controller/gst-controller.c:
24068         (gst_controlled_property_set_interpolation_mode),
24069         (gst_controlled_property_new),
24070         (gst_controller_find_controlled_property):
24071          run the wingo-magic script against the docs
24072
24073 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24074
24075         * docs/gst/gstreamer-docs.sgml:
24076         * docs/gst/gstreamer-sections.txt:
24077         * docs/gst/tmpl/.cvsignore:
24078         * docs/gst/tmpl/gstelementdetails.sgml:
24079         * docs/gst/tmpl/gstelementfactory.sgml:
24080         * gst/gst.c:
24081         * gst/gstbus.c:
24082         * gst/gstelementfactory.c:
24083         * gst/gstelementfactory.h:
24084           merged elementdetails docs into elementfactory docs
24085           inlined both
24086
24087 2005-09-02  Andy Wingo  <wingo@pobox.com>
24088
24089         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24090         consider this enum an enum and not a flags.
24091
24092 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24093
24094         * docs/gst/gstreamer-docs.sgml:
24095         * docs/gst/tmpl/.cvsignore:
24096         * docs/gst/tmpl/gstghostpad.sgml:
24097         * docs/gst/tmpl/gstiterator.sgml:
24098         * docs/gst/tmpl/gstmacros.sgml:
24099         * docs/gst/tmpl/gstrealpad.sgml:
24100         * docs/gst/tmpl/gstregistry.sgml:
24101         * docs/gst/tmpl/gstregistrypool.sgml:
24102         * docs/gst/tmpl/gststructure.sgml:
24103         * docs/gst/tmpl/gstsystemclock.sgml:
24104         * docs/gst/tmpl/gsttrace.sgml:
24105         * gst/gstghostpad.c:
24106         * gst/gstmacros.h:
24107         * gst/gstmemchunk.c:
24108         * gst/gstmemchunk.h:
24109         * gst/gstqueue.c:
24110         * gst/gstregistry.c:
24111         * gst/gstregistrypool.c:
24112         * gst/gststructure.c:
24113         * gst/gstsystemclock.c:
24114           more docs inlined
24115
24116 2005-09-02  Andy Wingo  <wingo@pobox.com>
24117
24118         * gst/gstelement.h (GstState): Renamed from GstElementState,
24119         changed to be a normal enum instead of flags.
24120         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24121         munged to be GST_STATE_CHANGE_*.
24122         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24123         work with the new state representation.
24124         (GstStateChange): New enumeration of possible state transitions.
24125         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24126         (GstElementClass::change_state): Pass the GstStateChange along as
24127         an argument. Helps language bindings, so they don't have to use
24128         tricky lock-needing macros like GST_STATE_CHANGE ().
24129
24130         * scripts/update-states (file): New script. Run it on a file to
24131         update it for state naming and API changes. Updates files in
24132         place.
24133
24134         * All files updated for the new API.
24135
24136 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24137
24138         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24139         * gst/gstutils.c: (gst_util_set_value_from_string),
24140         (gst_util_set_object_arg):
24141           fix a bunch of unchecked return values
24142         * tools/gst-complete.c: (main):
24143         * gstreamer.spec.in:
24144           clean up a little
24145
24146 2005-09-01  Wim Taymans  <wim@fluendo.com>
24147
24148         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24149         (gst_base_sink_event), (gst_base_sink_do_sync),
24150         (gst_base_sink_handle_event):
24151         * gst/base/gstbasesink.h:
24152         Handle newsegments more correctly.
24153
24154         * gst/gstbus.c:
24155         Fix docs.
24156
24157         * gst/gstevent.c: (gst_event_new_newsegment):
24158         A newsegment cannot have a start_time of -1
24159
24160 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
24161
24162         * win32/gstenumtypes.c:
24163         * win32/gstenumtypes.h:
24164           Update
24165
24166 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24167
24168         * libs/gst/controller/gst-controller.c:
24169         (gst_controlled_property_set_interpolation_mode),
24170         (gst_controlled_property_new):
24171          fixed boolean again
24172
24173 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
24174
24175         * docs/faq/gst-uninstalled:
24176           add -good
24177         * gst/gstevent.c:
24178         * gst/gstevent.h:
24179           remove wrong docs
24180         * gst/gstutils.c: (gst_element_link_filtered):
24181         * gst/gstutils.h:
24182           add gst_element_link_filtered
24183
24184 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24185
24186         * docs/gst/gstreamer-docs.sgml:
24187         * docs/gst/gstreamer-sections.txt:
24188         * docs/gst/tmpl/.cvsignore:
24189         * docs/gst/tmpl/gsterror.sgml:
24190         * docs/gst/tmpl/gstfilter.sgml:
24191         * docs/gst/tmpl/gsturihandler.sgml:
24192         * docs/gst/tmpl/gsturitype.sgml:
24193         * docs/gst/tmpl/gstutils.sgml:
24194         * docs/gst/tmpl/gstxml.sgml:
24195         * gst/gsterror.c:
24196         * gst/gsterror.h:
24197         * gst/gstfilter.c:
24198         * gst/gsturi.c:
24199         * gst/gsturitype.c:
24200         * gst/gstutils.c:
24201         * gst/gstxml.c:
24202           inlined more docs, fixed double id-ref
24203
24204 2005-08-31  Wim Taymans  <wim@fluendo.com>
24205
24206         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24207         (gst_base_transform_handle_buffer):
24208         Passthrough elements don't need the caps as they don't care.
24209
24210 2005-08-31  Wim Taymans  <wim@fluendo.com>
24211
24212         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24213         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24214         Don't leak refcounts on buffers.
24215
24216 2005-08-31  Wim Taymans  <wim@fluendo.com>
24217
24218         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24219         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24220         (gst_base_transform_chain), (gst_base_transform_change_state):
24221         * gst/base/gstbasetransform.h:
24222         Handle the case where we are not negotiated more gracefully.
24223
24224 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
24225
24226         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24227         (gst_file_src_map_region):
24228           Set READONLY flag on mmap'ed buffers, otherwise
24229           gst_buffer_make_writable() won't work properly (#314708).
24230
24231 2005-08-31  Wim Taymans  <wim@fluendo.com>
24232
24233         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24234         passthrough elements can even do inplace on non writable
24235         buffers (as they don't touch them).
24236
24237 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24238
24239         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24240         (gst_test_mono_source_set_property),
24241         (gst_test_mono_source_class_init), (GST_START_TEST),
24242         (gst_controller_suite):
24243           more tests (hehe I have the most)
24244         * gst/gstbus.c:
24245           describe popping messages whenusing mulltiple sources
24246         * libs/gst/controller/gst-controller.c:
24247         (gst_controlled_property_set_interpolation_mode),
24248         (gst_controlled_property_new):
24249         * libs/gst/controller/gst-controller.h:
24250         * libs/gst/controller/gst-interpolation.c:
24251           implement boolean properties
24252
24253 2005-08-31  Wim Taymans  <wim@fluendo.com>
24254
24255         * gst/gstminiobject.c: (gst_mini_object_ref):
24256         Cannot assert that the refcount has to be positive
24257         since a disposed object can be resurrected.
24258
24259 2005-08-31  Wim Taymans  <wim@fluendo.com>
24260
24261         * gst/gstpad.c: (gst_pad_init):
24262         Revert change, need to first fix badly behaving 
24263         apps.
24264
24265 2005-08-30  Wim Taymans  <wim@fluendo.com>
24266
24267         * check/elements/fakesrc.c: (setup_fakesrc):
24268         * check/elements/identity.c: (setup_identity):
24269         Activate pads before using them.
24270
24271 2005-08-30  Wim Taymans  <wim@fluendo.com>
24272
24273         * gst/base/gstadapter.c: (gst_adapter_flush):
24274         Flushing out 0 bytes is ok for this function.
24275
24276         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24277         no newsegment gives a warning and sets the start/stop to 
24278         invalid.
24279
24280         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24281         (gst_base_transform_set_passthrough):
24282         Some debug info.
24283
24284         * gst/gstminiobject.c: (gst_mini_object_ref):
24285         Check refcount here too.
24286
24287         * gst/gstpad.c: (gst_pad_init):
24288         Pads are initially flushing and refusing data.
24289
24290         * gst/gstutils.c: (gst_element_link_pads_filtered):
24291         When adding a capsfilter element make sure it has the
24292         same state as the parent bin.
24293
24294 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24295
24296         * docs/gst/tmpl/.cvsignore:
24297         * docs/gst/tmpl/gstformat.sgml:
24298         * docs/gst/tmpl/gstversion.sgml:
24299         * gst/gstbus.h:
24300         * gst/gstformat.c:
24301         * gst/gstformat.h:
24302         * gst/gstversion.h.in:
24303           more docs and two more inlined
24304
24305 2005-08-30  Wim Taymans  <wim@fluendo.com>
24306
24307         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24308         Don't sync to clock.
24309
24310 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24311
24312         * docs/gst/gstreamer-sections.txt:
24313           ultral33t func10ns deserve to appear in the docs actually
24314         * docs/gst/tmpl/.cvsignore:
24315         * docs/gst/tmpl/gstcompat.sgml:
24316         * docs/gst/tmpl/gstconfig.sgml:
24317         * gst/check/gstcheck.c:
24318         * gst/gstcompat.h:
24319         * gst/gstconfig.h.in:
24320           inlined more docs
24321
24322 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24323
24324         * docs/gst/tmpl/.cvsignore:
24325         * docs/gst/tmpl/gstquery.sgml:
24326         * docs/gst/tmpl/gstutils.sgml:
24327         * gst/gstquery.c:
24328         * gst/gstquery.h:
24329           inlined and extended docs
24330
24331 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24332
24333         * check/gst-libs/controller.c: (GST_START_TEST),
24334         (gst_controller_suite):
24335           more tests
24336         * docs/gst/tmpl/gstutils.sgml:
24337         * docs/libs/gstreamer-libs-sections.txt:
24338         * docs/libs/tmpl/gstdataprotocol.sgml:
24339           include path fixes
24340         * examples/controller/audio-example.c: (main):
24341           controller example works now
24342         * gst/gstclock.h:
24343           doc fixes
24344         * tools/gst-inspect.c: (print_element_properties_info):
24345           show param spec flags
24346
24347 2005-08-29  Andy Wingo  <wingo@pobox.com>
24348
24349         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24350
24351 2005-08-28  Andy Wingo  <wingo@pobox.com>
24352
24353         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24354         as having two arguments instead of just one. Allows superclasses
24355         to access information on subclasses -- see the terrible for() loop
24356         in gtype.c:g_type_create_instance for the reason why. All callers
24357         changed.
24358
24359 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24360
24361         * docs/design/part-messages.txt:
24362           update info
24363         * docs/gst/tmpl/.cvsignore:
24364         * docs/gst/tmpl/gstcaps.sgml:
24365         * docs/gst/tmpl/gstclock.sgml:
24366         * gst/gstbus.c:
24367         * gst/gstcaps.c:
24368         * gst/gstcaps.h:
24369         * gst/gstclock.c:
24370         * gst/gstclock.h:
24371         * gst/gstmessage.c:
24372           added descriptions for bus and message
24373           inline caps and clock docs
24374
24375 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24376
24377         * gst/gstmessage.c:
24378         * gst/gstmessage.h:
24379           doc fixes
24380
24381 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24382
24383         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24384           fix div-by-zero
24385
24386 2005-08-26  Andy Wingo  <wingo@pobox.com>
24387
24388         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24389         element_set_state's return val.
24390         (test_2_elements): Add test that's been disabled for months.
24391
24392         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24393         can-activate-pull properties.
24394
24395         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24396         can-activate-pull properties. Implement is_seekable so fakesrc can
24397         operate in pull mode.
24398
24399         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24400         properties.
24401         (gst_base_sink_activate, gst_base_sink_activate_pull)
24402         (gst_base_sink_activate_push): Make activation mode choosing work.
24403         Cleanups.
24404         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24405         is right. Make pull mode work. Post an eos before pausing in pull
24406         mode.
24407         (gst_base_sink_change_state): Pay attention to the core's
24408         change_state() return val.
24409         
24410         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24411         has-getrange properties. Cleanups.
24412         
24413         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24414         has_getrange and replace with can_activate_pull and
24415         can_activate_push.
24416
24417         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24418         locking comments. Remove has_loop, has_chain and replace with
24419         can_activate_pull and can_activate_push.
24420
24421 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24422
24423         * configure.ac:
24424         * examples/Makefile.am:
24425         * examples/metadata/Makefile.am:
24426         * examples/metadata/read-metadata.c: (message_loop),
24427         (have_pad_handler), (make_pipeline), (print_tag), (main):
24428           Add metadata reading example that loops over a list of filenames,
24429           dumping any tags found.
24430
24431         * gst/gstbus.c: (gst_bus_dispose):
24432         * gst/gstelement.c: (gst_element_dispose):
24433           Release a few potentially-held references in dispose.
24434
24435 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24436
24437         * docs/gst/tmpl/gstminiobject.sgml:
24438           do *not* add tmpl/*.sgml files to CVS!
24439
24440 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24441
24442         * libs/gst/bytestream/.cvsignore:
24443         * libs/gst/bytestream/Makefile.am:
24444         * libs/gst/bytestream/adapter.c:
24445         * libs/gst/bytestream/adapter.h:
24446         * libs/gst/bytestream/bytestream.c:
24447         * libs/gst/bytestream/bytestream.h:
24448         * libs/gst/bytestream/filepad.c:
24449         * libs/gst/bytestream/filepad.h:
24450           removing obsolete files
24451
24452 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24453
24454         * docs/gst/gstreamer-docs.sgml:
24455         * docs/libs/gstreamer-libs-docs.sgml:
24456           disabed additional index entries again, as this makes docs-gen just
24457           slow and they aren't useful yet
24458         * docs/libs/gstreamer-libs-sections.txt:
24459           little -section.txt cleanup for libs
24460
24461 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24462
24463         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24464         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24465           fix up some debugging
24466         (gst_base_transform_get_unit_size),
24467         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24468         (gst_base_transform_handle_buffer):
24469         * gst/base/gstbasetransform.h:
24470           handle and store timed NEWSEGMENT events so that subclasses that
24471           calculate time by counting samples have a segment_start time they
24472           need to add to their timestamps - see audioresample
24473
24474 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24475
24476         * gst/gstbin.h:
24477           removed ';' from the end of macro defs
24478         * docs/gst/gstreamer-docs.sgml:
24479         * docs/gst/gstreamer-sections.txt:
24480         * docs/gst/tmpl/.cvsignore:
24481         * gst/gstbus.h:
24482         * gst/gstelement.c: (gst_element_class_init),
24483         (gst_element_set_state), (activate_pads),
24484         (gst_element_save_thyself):
24485         * gst/gstevent.c: (gst_event_new_newsegment):
24486         * gst/gstevent.h:
24487         * gst/gstiterator.c:
24488         * gst/gstiterator.h:
24489         * gst/gstpad.c:
24490         * gst/gstprobe.h:
24491         * gst/gstutils.c: (gst_pad_query_convert):
24492         * gst/gstutils.h:
24493           fixed parameter name mismatches between source, header and docs
24494           added some more docs, resolved the last batch of unused elements in
24495           docs (now someone needs to doc them)
24496
24497 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24498
24499         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24500         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24501           don't walk through the plugins backwards.  Where is all this
24502           reversed logic coming from ?
24503
24504 2005-08-25  Wim Taymans  <wim@fluendo.com>
24505
24506         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24507         (gst_base_transform_transform_size),
24508         (gst_base_transform_configure_caps),
24509         (gst_base_transform_get_unit_size),
24510         (gst_base_transform_buffer_alloc),
24511         (gst_base_transform_change_state):
24512         * gst/base/gstbasetransform.h:
24513         Cache caps unit_size.
24514         Make sure we cannot negotiate up and downstream at the
24515         same time.
24516
24517 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24518
24519         * gst/gst.c: (init_pre), (init_post):
24520           register the installed plugin path after the env var
24521         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24522         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24523           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24524           directories, so the tests can prefer uninstalled over installed
24525
24526 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24527
24528         * gst/base/gstbasetransform.h:
24529           comment
24530         * gst/gstpad.c:
24531           add to docs
24532
24533 2005-08-25  Wim Taymans  <wim@fluendo.com>
24534
24535         * gst/gstbin.c: (bin_bus_handler):
24536         Be a bit more conservative about the posted message.
24537         
24538         * gst/gstbus.c: (gst_bus_post):
24539         Some cleanups, warn wrong return values.
24540
24541 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24542
24543         * check/gst/gstbin.c: (GST_START_TEST):
24544         * gst/gstbin.c: (bin_bus_handler):
24545         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24546         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24547         (gst_message_new_warning), (gst_message_new_tag),
24548         (gst_message_new_state_changed), (gst_message_new_segment_start),
24549         (gst_message_new_segment_done), (gst_message_new_custom):
24550         * gst/gstmessage.h:
24551         * tools/gst-launch.c: (event_loop):
24552         * tools/gst-md5sum.c: (event_loop):
24553           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24554
24555 2005-08-25  Wim Taymans  <wim@fluendo.com>
24556
24557         * check/generic/states.c: (GST_START_TEST):
24558         Cleanup can be done at the end.
24559
24560         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24561         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24562         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24563         Oh boy.. Thanks for finding this, Thomas. 
24564
24565 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24566
24567         * docs/gst/gstreamer.types:
24568           added missing types
24569
24570 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24571
24572         * docs/gst/gstreamer-docs.sgml:
24573         * docs/gst/gstreamer-sections.txt:
24574         * docs/gst/tmpl/.cvsignore:
24575         * gst/gstbin.c:
24576         * gst/gstiterator.c:
24577         * gst/gstutils.c:
24578         * gst/registries/gstxmlregistry.h:
24579           added missing classes and symbols (123 more to go)
24580           removed removed symbols from section file
24581           fixed many doc-comments
24582
24583 2005-08-24  Wim Taymans  <wim@fluendo.com>
24584
24585         * check/generic/states.c: (GST_START_TEST):
24586         Make sure all tasks are stopped.
24587
24588         * check/gst/gstbin.c: (GST_START_TEST):
24589         Unref after usage for proper valgrinding.
24590
24591         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24592         Really wait for the task to stop before destroying the
24593         mutex.
24594
24595         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24596         (gst_queue_src_activate_push):
24597         Small cleanups. Don't stop the task when we did not start
24598         it.
24599
24600         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24601         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24602         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24603         (gst_task_join):
24604         * gst/gsttask.h:
24605         Protect the stream lock with the object lock.
24606         Disallow setting the stream lock when running.
24607         Add cleanup_all to wait for the threadpool to finish.
24608         Remove code to autoallocate a mutex if none was provided.
24609         Add _join() to wait for a task to stop.
24610         Protect the thread pool with a global lock.
24611
24612 2005-08-24  Wim Taymans  <wim@fluendo.com>
24613
24614         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24615         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24616         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24617         * gst/base/gstbasesink.h:
24618         Handle newsegment events correctly.
24619         Drop buffers out of the segment range.
24620
24621 2005-08-22  Andy Wingo  <wingo@pobox.com>
24622
24623         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24624         macro, implements an interface and gstimplementsinterface for a
24625         new type.
24626
24627 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24628
24629         * check/Makefile.am:
24630         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24631           add a test that does a bunch of state changes on elements
24632           needs some fixing for valgrind
24633         * check/states/sinks.c: (gst_object_suite):
24634           whitespace
24635         * gst/gstcaps.h:
24636           add prototype for gst_caps_is_equal_fixed
24637         * gst/gstplugin.c:
24638         * gst/gstregistrypool.c:
24639           doc fixes
24640
24641 2005-08-24  Andy Wingo  <wingo@pobox.com>
24642
24643         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24644         convert a negative value. Doesn't make much sense. Mostly this is
24645         here to force callers to ensure -1 maps to -1.
24646
24647 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24648
24649         * docs/pwg/advanced-types.xml:
24650           Well done to Michael for catching my deliberate introduction
24651           of this spelling mistake. 
24652         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24653         * gst/gstelement.h:
24654           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24655           unlink pads before removing the element from the bin.
24656
24657 2005-08-24  Andy Wingo  <wingo@pobox.com>
24658
24659         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24660         the same thing as GST_DEBUG=*:4.
24661         (parse_debug_level, parse_debug_category): New helper parsers.
24662
24663 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24664
24665         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24666         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24667         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24668         (gst_base_transform_buffer_alloc),
24669         (gst_base_transform_handle_buffer):
24670           use gboolean return values and pointers to size so we can use the
24671           full GST_BUFFER_SIZE range (guint) for buffer sizes
24672           use GstPadDirection for transform_caps
24673         * gst/base/gstbasetransform.h:
24674           rename get_size to get_unit_size since that's what it is
24675         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24676           use GstPadDirection for transform_caps
24677         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24678         * gst/gstutils.h:
24679           cleanup and debugging
24680
24681 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24682
24683         * gst/gstelement.c: (gst_element_class_init),
24684         (gst_element_set_state), (activate_pads),
24685         (gst_element_save_thyself):
24686         * tools/gst-compprep.c: (main):
24687         * tools/gst-inspect.c: (print_element_properties_info):
24688         * tools/gst-xmlinspect.c: (print_element_properties):
24689           Fixed long standing mem-leak
24690
24691 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24692
24693         * check/gst/gstbin.c: (GST_START_TEST):
24694         * gst/gstbin.c: (bin_bus_handler):
24695         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24696         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24697         (gst_message_new_warning), (gst_message_new_tag),
24698         (gst_message_new_state_changed), (gst_message_new_segment_start),
24699         (gst_message_new_segment_done), (gst_message_new_custom):
24700         * gst/gstmessage.h:
24701         * tools/gst-launch.c: (event_loop):
24702         * tools/gst-md5sum.c: (event_loop):
24703           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24704           that applications can sensibly post custom messages with references
24705           to their own objects.
24706
24707 2005-08-24  Andy Wingo  <wingo@pobox.com>
24708
24709         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24710         already.
24711
24712 2005-08-24  Wim Taymans  <wim@fluendo.com>
24713
24714         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24715         (gst_base_transform_transform_caps),
24716         (gst_base_transform_transform_size),
24717         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24718         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24719         (gst_base_transform_handle_buffer):
24720         * gst/base/gstbasetransform.h:
24721         Many fixes and new features added by Thomas. Can now also do
24722         transforms with variable sizes and a custom fixate_caps function.
24723
24724 2005-08-24  Wim Taymans  <wim@fluendo.com>
24725
24726         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24727         Some debugging.
24728
24729         * gst/gstclock.h:
24730         Cast to ClockTime before formatting to time.
24731
24732         * gst/gstutils.h:
24733         Cleanups.
24734
24735 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24736
24737         * check/gst-libs/controller.c: (GST_START_TEST),
24738         (gst_controller_suite):
24739         * docs/gst/tmpl/gstcaps.sgml:
24740         * docs/gst/tmpl/gstghostpad.sgml:
24741         * docs/gst/tmpl/gstquery.sgml:
24742         * docs/gst/tmpl/gstutils.sgml:
24743         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24744         (gst_object_sink_values), (gst_object_get_value_arrays),
24745         (gst_object_get_value_array):
24746           gracefully handle helper method calls to objects that are not beeing
24747           controlled, added test case for that          
24748
24749 2005-08-23  Wim Taymans  <wim@fluendo.com>
24750
24751         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24752         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24753         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24754         (gst_event_parse_qos), (gst_event_new_seek),
24755         (gst_event_parse_seek):
24756         * gst/gstevent.h:
24757         Some more debugging output and doc cleanups.
24758
24759         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24760         Fix possible deadlock.
24761
24762 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24763
24764         * docs/gst/gstreamer-docs.sgml:
24765         * docs/gst/gstreamer-sections.txt:
24766         * docs/gst/gstreamer.types:
24767         * docs/gst/tmpl/.cvsignore:
24768         * gst/gstbin.h:
24769         * gst/gstbus.c:
24770         * gst/gstelement.c:
24771         * gst/gstevent.h:
24772           added 100 symbols from gstreamer-unused.txt to the right sections
24773           fixed more broken comments
24774           added GstBus to docs
24775
24776 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24777
24778         * docs/gst/gstreamer-sections.txt:
24779         * docs/gst/tmpl/.cvsignore:
24780         * docs/gst/tmpl/gstbin.sgml:
24781         * docs/gst/tmpl/gstbuffer.sgml:
24782         * gst/base/gstbasesrc.c:
24783         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24784         * gst/gstbuffer.c:
24785         * gst/gstbuffer.h:
24786         * tools/gst-launch.1.in:
24787           inlined more doc comments, added missing comments and fixed comments
24788           fixed typos
24789
24790 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24791
24792         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24793           some debugging
24794         * gst/gstcaps.h:
24795           whitespace fixes
24796         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24797           more debugging
24798         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24799         * gst/gststructure.h:
24800           add a fixate function for booleans; add a FIXME that these func
24801           names should probably be gst_structure_fixate_*
24802
24803 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24804
24805         * docs/gst/gstreamer-docs.sgml:
24806         * docs/gst/gstreamer-sections.txt:
24807         * gst/Makefile.am:
24808         * gst/gstbin.c: (gst_bin_get_type),
24809         (gst_bin_child_proxy_get_child_by_index),
24810         (gst_bin_child_proxy_get_children_count),
24811         (gst_bin_child_proxy_init):
24812         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24813         (gst_child_proxy_get_child_by_index),
24814         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24815         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24816         (gst_child_proxy_get), (gst_child_proxy_set_property),
24817         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24818         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24819         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24820         * gst/gstchildproxy.h:
24821         * gst/parse/grammar.y:
24822         * tools/gst-inspect.c: (print_interfaces),
24823         (print_element_properties_info), (print_element_info):
24824           ported gstchildproxy over from 0.8
24825           ported gst-inspect fixes and enhancements over from 0.8
24826
24827 2005-08-22  Wim Taymans  <wim@fluendo.com>
24828
24829         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24830         (gst_base_transform_handle_buffer):
24831         Also call the transform function if we have ANY caps.
24832
24833         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24834         Fix debug info.
24835
24836 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24837
24838         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24839           Don't pretend to handle seek events if the source is not seekable
24840
24841 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24842
24843         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24844           Remove extra parameter to debug output
24845
24846         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24847         (gst_base_src_do_seek), (gst_base_src_activate_push):
24848           Fix seek event handling.
24849
24850         * gst/gstpipeline.c: (gst_pipeline_change_state):
24851         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24852         (gst_queue_src_activate_push):
24853           Don't start the src pad task on FLUSH_STOP if the pad
24854           isn't linked.
24855           Debug changes.
24856
24857 2005-08-22  Wim Taymans  <wim@fluendo.com>
24858
24859         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24860         Added check for gst_static_caps_get() refcounting.
24861
24862 2005-08-22  Wim Taymans  <wim@fluendo.com>
24863
24864         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24865         Make _static_caps_get() refcounting sane.
24866         
24867         * gst/gstelement.c: (gst_element_set_state):
24868         Add g_return_val_if_fail() to protect against segfaults.
24869
24870 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24871
24872         * docs/gst/tmpl/gstevent.sgml:
24873         * gst/gstevent.c:
24874         * gst/gstevent.h:
24875           inlined remaining docs, added missing doc comments
24876
24877 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24878
24879         * check/gst/gstbin.c: (GST_START_TEST):
24880           since we don't know when preroll is done, use refcount range
24881           check for the sink
24882         * gst/check/gstcheck.h:
24883           add macro for checking refcount range
24884
24885 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24886
24887         * check/Makefile.am:
24888           clean up environment for when registry gets built versus
24889           when actual tests are run; valgrind seems to not report
24890           leaks if GST_PLUGIN_PATH is set to some specific values
24891         * check/gst/gstbin.c: (GST_START_TEST):
24892           add more refcounting checks; maybe this exposes a
24893           preroll lock bug ?
24894         * common/check.mak:
24895         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24896         * gst/check/gstcheck.h:
24897         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24898         (gst_bin_change_state):
24899         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24900           add/fix debugging/whitespace
24901
24902 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24903
24904         * check/gst/gstevent.c: (event_probe), (test_event),
24905         (GST_START_TEST):
24906          Er, don't call gst_bin_watch_for_state_change you idiot.
24907
24908 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24909
24910         * check/Makefile.am:
24911           Use CHECK_CFLAGS and CHECK_LIBS
24912         * check/gst/gstevent.c: (event_probe), (test_event),
24913         (GST_START_TEST):
24914           Don't leak events.
24915         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24916         (gst_base_src_start), (gst_base_src_stop),
24917         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24918         (gst_base_src_change_state):
24919           Sprinkle gst_base_src_stop liberally around error paths to fix
24920           problems reusing a source after failed state changes.
24921         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24922         (helper_find_suggest), (gst_type_find_helper):
24923           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24924         * gst/gstevent.h:
24925         * docs/gst/tmpl/gstevent.sgml:
24926           Migrate part of the docs from the SGML file. Wait for ensonic to
24927           tell me how I did it wrong ;)
24928         * tools/gst-typefind.c: (main):
24929           Extra robustness to state changes between files.
24930
24931 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24932
24933         * check/Makefile.am:
24934           don't valgrind the controller test - it's leaking - Stefan, HELP
24935         * gst/check/gstcheck.c: (gst_check_message_error),
24936         (gst_check_chain_func), (gst_check_setup_element),
24937         (gst_check_teardown_element), (gst_check_setup_src_pad),
24938         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24939         (gst_check_teardown_sink_pad):
24940         * gst/check/gstcheck.h:
24941           add a bunch of methods to set up elements, and src and sink pads
24942         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24943         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24944         (GST_START_TEST):
24945           use them
24946         * gst/gstmessage.c:
24947         * gst/gsttag.h:
24948           whitespace/doc fixes
24949
24950 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24951
24952         * gst/gstelement.h:
24953           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24954           be handled by the application and not always printed as well
24955
24956 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24957
24958         * check/Makefile.am:
24959           set GST_TOOLS_DIR
24960         * gst/check/gstcheck.c: (gst_check_message_error):
24961         * gst/check/gstcheck.h:
24962           add a fail_unless_equals_int
24963           add fail_unless for error messages
24964
24965 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24966
24967         * check/Makefile.am:
24968         * check/gst.supp:
24969         * common/Makefile.am:
24970         * common/check.mak:
24971         * common/gst.supp:
24972           factor out some of the common stuff so we can use it
24973
24974 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24975
24976         * check/Makefile.am:
24977         * check/gst/gstiterator.c: (GST_START_TEST):
24978         * check/gst/gstsystemclock.c: (GST_START_TEST),
24979         (gst_systemclock_suite):
24980         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24981         * gst/gstclock.c:
24982           valgrind more tests
24983
24984 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24985
24986         * check/elements/.cvsignore:
24987         * check/elements/gstfakesrc.c:
24988           rename to name of element
24989         * check/elements/identity.c: (chain_func), (event_func),
24990         (setup_identity), (cleanup_identity), (GST_START_TEST),
24991         (identity_suite), (main):
24992           add a test for identity
24993         * check/Makefile.am:
24994         * pkgconfig/Makefile.am:
24995         * pkgconfig/gstreamer-check.pc.in:
24996         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24997         * gst/check:
24998         * gst/Makefile.am:
24999         * configure.ac:
25000           move the check stuff to a library that gets installed
25001         * check/gst-libs/controller.c: (GST_START_TEST):
25002         * check/gst-libs/gdp.c:
25003         * check/gst/gst.c: (GST_START_TEST):
25004         * check/gst/gstbin.c:
25005         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25006         * check/gst/gstbus.c:
25007         * check/gst/gstcaps.c: (GST_START_TEST):
25008         * check/gst/gstelement.c:
25009         * check/gst/gstghostpad.c:
25010         * check/gst/gstiterator.c:
25011         * check/gst/gstmessage.c:
25012         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
25013         * check/gst/gstobject.c:
25014         * check/gst/gstpad.c: (GST_START_TEST):
25015         * check/gst/gststructure.c: (GST_START_TEST):
25016         * check/gst/gstsystemclock.c: (GST_START_TEST),
25017         (gst_systemclock_suite):
25018         * check/gst/gsttag.c: (gst_tag_suite):
25019         * check/gst/gstvalue.c:
25020         * check/pipelines/cleanup.c:
25021         * check/pipelines/simple_launch_lines.c:
25022         * check/states/sinks.c:
25023           change include statement
25024
25025         * docs/gst/gstreamer-sections.txt:
25026         * docs/gst/tmpl/gstpad.sgml:
25027           document more pad stuff
25028         * gst/gstminiobject.c: (gst_mini_object_ref),
25029         (gst_mini_object_unref):
25030           debug refcounting
25031
25032 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
25033
25034         * docs/gst/tmpl/gst.sgml:
25035         * gst/gst.c:
25036           eliminate another tmpl file, fix spelling in the long-description
25037
25038 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25039
25040         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25041         (test_event), (timediff), (gstevents_suite):
25042           Should fix build on 64-bit arch's
25043
25044 2005-08-18  Andy Wingo  <wingo@pobox.com>
25045
25046         Make sure that when a pipeline goes to PLAYING, that data has
25047         actually hit the sink.
25048
25049         * check/states/sinks.c (test_sink): A sink that doesn't get any
25050         data shouldn't return SUCCESS for going to either PLAYING or
25051         PAUSED. Test also the return values on the way back down.
25052
25053         * gst/gstelement.c (gst_element_set_state): When changing the
25054         state of an element currently changing state asynchronously, go to
25055         lost-state after commiting the pending state. Makes future calls
25056         to get_state continue to return ASYNC.
25057
25058         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25059         ASYNC when going to PLAYING if we still don't have preroll, as can
25060         happen with live sources.
25061
25062 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25063
25064         * docs/pwg/advanced-types.xml:
25065           Hack long paragraph into 2 chunks as a workaround for buggy
25066           jadetex version in sid and breezy that loops infinitely and
25067           eats all RAM.
25068
25069 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25070
25071         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25072         (test_event), (timediff), (gstevents_suite):
25073           Provide more error margin in clock measurements to allow for 
25074           g_get_current_time inaccuracies.
25075
25076 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25077
25078         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25079         (test_event), (timediff), (gstevents_suite):
25080            Fix error message output so I might be able to tell why the
25081            test works here but fails on the build farm.
25082
25083 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25084
25085         * check/Makefile.am:
25086         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25087         (test_event), (timediff), (gstevents_suite), (main):
25088           I wrote a test!
25089
25090         * docs/design/part-seeking.txt:
25091           Spelling correction
25092
25093         * docs/gst/tmpl/gstevent.sgml:
25094         * docs/gst/tmpl/gstfakesrc.sgml:
25095           Docs updates.
25096
25097         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25098           Treat a buffer-without-newsegment the same as a receiving 
25099           a newsegment not in time format, and disable syncing to the clock
25100           with a warning.
25101
25102         * gst/gstbus.c: (gst_bus_set_sync_handler):
25103           Assert if anyone tries to replace the existing sync_handler for bus, 
25104           as only the owner should be setting it.
25105
25106         * gst/gstevent.h:
25107           Have a fixed set of custom event enums with events identified by
25108           their structure name (as in 0.8), rather than a free-for-all
25109           allowing collisions between enum values from different plugins.
25110
25111         * gst/gstpad.c: (gst_pad_class_init):
25112           Docs change.
25113           
25114         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25115           Handle out-of-band downstream events from the sending thread.
25116
25117 2005-08-17  Andy Wingo  <wingo@pobox.com>
25118
25119         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25120         play-timeout==0 to mean no timeout at all. In that case, don't
25121         bother with a get_state or a warning, just return directly, even
25122         if it's ASYNC.
25123
25124         * gst/base/gstbasetransform.c: Debug changes.
25125
25126         * gst/gstutils.h:
25127         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25128         ensure bins post state change messages. A bit of a hack but I can't
25129         think of a way to avoid it.
25130
25131         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25132
25133 2005-08-16  Andy Wingo  <wingo@pobox.com>
25134
25135         * gst/base/gstadapter.h:
25136         * gst/base/gstadapter.c (gst_adapter_take): New function, like
25137         peek() but you own the data. Not terribly efficient atm.
25138
25139 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25140
25141         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25142         (gst_element_found_tags):
25143         * gst/gstutils.h:
25144           Add two utility functions for tag handling.
25145
25146 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25147
25148         * docs/manual/advanced-dataaccess.xml:
25149         * docs/manual/basics-helloworld.xml:
25150           Fix docs to use _bin_add() before _link(), which fixes the examples
25151           with recent core versions (reported by Madhan Raj M
25152           <raj_madan@rediffmail.com>, #313199).
25153
25154 2005-08-16  Wim Taymans  <wim@fluendo.com>
25155
25156         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25157         Added subtract checks.
25158
25159         * docs/design/part-events.txt:
25160         Some more docs about newsegment
25161
25162         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25163         Fix FIXME
25164
25165         * gst/gstcaps.c: (gst_caps_to_string):
25166         Add comments, cleanups.
25167         
25168         * gst/gstelement.c: (gst_element_save_thyself):
25169         cleanups
25170         
25171         * gst/gstvalue.c: (gst_value_collect_int_range),
25172         (gst_string_unwrap), (gst_value_union_int_int_range),
25173         (gst_value_union_int_range_int_range),
25174         (gst_value_intersect_int_int_range),
25175         (gst_value_intersect_int_range_int_range),
25176         (gst_value_intersect_double_double_range),
25177         (gst_value_intersect_double_range_double_range),
25178         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25179         (gst_value_subtract_int_range_int),
25180         (gst_value_subtract_double_range_double),
25181         (gst_value_subtract_double_range_double_range),
25182         (gst_value_subtract_from_list), (gst_value_subtract_list),
25183         (gst_value_can_compare), (gst_value_compare_fraction):
25184         Cleanups, add comments, remove unneeded asserts.
25185
25186 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25187
25188         * tools/gst-launch.c: (event_loop):
25189           don't convert NULL structures to strings
25190
25191 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
25192
25193         * docs/gst/gstreamer-sections.txt:
25194           made some defines private
25195         * docs/gst/tmpl/gstconfig.sgml:
25196         * docs/gst/tmpl/gstqueue.sgml:
25197         * docs/gst/tmpl/gsttaglist.sgml:
25198         * docs/gst/tmpl/gsttypes.sgml:
25199         * docs/gst/tmpl/gstutils.sgml:
25200         * docs/pwg/appendix-porting.xml:
25201         * gst/base/gstbasesink.h:
25202         * gst/base/gstbasesrc.c:
25203         * gst/base/gstbasesrc.h:
25204         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25205         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25206         * gst/gstelement.c: (gst_element_class_init):
25207         * gst/gstpad.c: (gst_pad_class_init):
25208         * gst/gstqueue.c: (gst_queue_class_init):
25209         * gst/gstxml.c: (gst_xml_class_init):
25210           documented all undocumented signal inline
25211         * libs/gst/controller/gst-controller.h:
25212           added padding
25213
25214 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25215
25216         * docs/pwg/appendix-porting.xml:
25217           Document _set_link_function -> _set_setcaps_function.
25218
25219 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25220
25221         * check/Makefile.am:
25222           add a .check target for running the check
25223         * check/gst-libs/controller.c: (GST_START_TEST):
25224           cosmetic fixups
25225         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25226           complete checks for gstbuffer; would be nice if I could get the
25227           gcov stuff to work so I can see if I actually completed gstbuffer.c
25228         * check/gstcheck.h:
25229           add ASSERT_BUFFER_REFCOUNT
25230
25231 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
25232
25233         * docs/gst/gstreamer-sections.txt:
25234         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25235         * gst/gsttag.h:
25236           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25237           spew out a warning if a tag that is already registered
25238           is re-registered, unless it is re-registered with a 
25239           different type (#308438).
25240
25241 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
25242
25243         * docs/pwg/appendix-porting.xml:
25244         * docs/pwg/building-state.xml:
25245           Add some paragraphs about state changes in 0.9 to the PWG
25246           and the porting guide, in particular about the new meaning
25247           of GST_STATE_PAUSED and how to write state change functions
25248           with concurrent access by multiple threads in mind.
25249
25250 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
25251
25252         * docs/gst/gstreamer-docs.sgml:
25253         * docs/libs/gstreamer-libs-docs.sgml:
25254           added deprecation and since indexes
25255         * libs/gst/controller/gst-controller.c:
25256         * libs/gst/controller/gst-helper.c:
25257           added since tags
25258
25259
25260 2005-08-11  Wim Taymans  <wim@fluendo.com>
25261
25262         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25263         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25264         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25265         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25266         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25267         (gst_ghost_pad_set_target):
25268         Actually implement (re)setting the target on a ghostpad
25269         as described in the docs.
25270
25271 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25272
25273         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25274           Check whether GST_DEBUG_NO_COLOR environment variable is
25275           set and disable coloured debug output if that is the case.
25276
25277 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25278
25279         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25280         (gst_type_find_helper):
25281           The memory returned by gst_type_find_peek() needs to
25282           stay valid until the end of a typefind function, and
25283           typefind functions may keep results from different 
25284           offsets around, so we can't just unref the buffer from
25285           the previous _peek(), but have to save all buffers 
25286           returned by _peek() until typefinding is done and only
25287           free them then.
25288
25289 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
25290
25291         * docs/gst/gstreamer-sections.txt:
25292         * gst/gstutils.h:
25293           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25294
25295 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25296
25297         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25298           Fix a pretty good memleak.
25299
25300 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25301
25302         * gst/gstiterator.h:
25303           Fix wrong include and 'make distcheck'.
25304
25305 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25306
25307         * gst/gstbin.c: (bin_bus_handler):
25308           Use gst_element_post_message() instead.
25309
25310 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25311
25312         * gst/base/gstadapter.h:
25313         * gst/base/gstbasesink.h:
25314         * gst/base/gstbasesrc.h:
25315         * gst/base/gstbasetransform.h:
25316         * gst/base/gstcollectpads.h:
25317         * gst/base/gstpushsrc.h:
25318         * gst/gstiterator.h:
25319           Add padding to our base elements' class and instance structs and
25320           to GstIterator (you will need to rebuild all plugins and apps!)
25321
25322 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25323
25324         * gst/gstbin.c: (bin_bus_handler):
25325           Make default message forwarding from child->bus to bin->bus
25326           threadsafe and make it not emit warnings if the parent has no bus.
25327
25328 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25329
25330         * gst/gstelement.c: (activate_pads):
25331           On paused->ready, set pad->caps to NULL, as is the documented
25332           behaviour in this state change. Fixes playback of series of
25333           media files when visualization is enabled in Totem.
25334
25335 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25336
25337         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25338           Allow NULL as filter-caps (which means "any").
25339
25340 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25341
25342         * docs/libs/gstreamer-libs-sections.txt:
25343         * libs/gst/controller/gst-controller.c:
25344         * libs/gst/controller/gst-controller.h:
25345         * libs/gst/controller/gst-helper.c:
25346           adding more entries to the docs and fix small doc-bugs
25347
25348 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25349
25350         * docs/gst/gstreamer-docs.sgml:
25351         * docs/gst/gstreamer-sections.txt:
25352         * docs/gst/gstreamer.types:
25353         * docs/gst/tmpl/gstbasesink.sgml:
25354         * docs/gst/tmpl/gstbasesrc.sgml:
25355         * docs/gst/tmpl/gstbasetransform.sgml:
25356         * docs/gst/tmpl/gstfakesrc.sgml:
25357         * gst/base/gstcollectpads.c:
25358         * gst/base/gstcollectpads.h:
25359         * libs/gst/controller/gst-controller.c:
25360         * libs/gst/controller/gst-controller.h:
25361         * libs/gst/controller/gst-helper.c:
25362         * libs/gst/controller/gst-interpolation.c:
25363         * libs/gst/controller/lib.c:
25364           added long/short desc for controller docs
25365           added collectpads base class docs
25366           added correct includes to base-class docs
25367
25368 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25369
25370         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25371         (gst_test_mono_source_set_property),
25372         (gst_test_mono_source_class_init), (GST_START_TEST),
25373         (gst_controller_suite):
25374         * docs/gst/gstreamer-docs.sgml:
25375         * docs/gst/gstreamer-sections.txt:
25376         * docs/gst/gstreamer.types:
25377         * docs/libs/gstreamer-libs-docs.sgml:
25378         * docs/libs/gstreamer-libs-sections.txt:
25379         * gst/base/gstadapter.c:
25380         * libs/gst/controller/gst-controller.c:
25381         (gst_controlled_property_new), (gst_controlled_property_free),
25382         (gst_controller_new_valist),
25383         (gst_controller_remove_properties_valist),
25384         (gst_controller_sink_values), (_gst_controller_finalize):
25385         * libs/gst/controller/gst-controller.h:
25386         * libs/gst/controller/gst-helper.c:
25387         (gst_object_control_properties), (gst_object_uncontrol_properties),
25388         (gst_object_get_controller), (gst_object_set_controller),
25389         (gst_object_sink_values), (gst_object_get_value_arrays),
25390         (gst_object_get_value_array):
25391           more tests (and fixes) for the controller
25392           more docs for the controller
25393           integrated companies docs for the adapter 
25394
25395 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25396
25397         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25398         (GST_START_TEST), (fakesrc_suite):
25399           add tests for sizetype
25400
25401 2005-08-04  Andy Wingo  <wingo@pobox.com>
25402
25403         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25404         fixes buffer_alloc proxying among other things.
25405
25406         * gst/base/gstbasetransform.c:
25407         * gst/base/gstbasetransform.h:
25408         Revert patch to gstbasetransform from 7-28 removing
25409         delay_configure.
25410
25411         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25412         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25413         Semantics changed, should return not the size of the output buffer
25414         but the byte size of a buffer with a given caps.
25415
25416         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25417         debug object.
25418         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25419         out) are not the pad caps until setcaps finishes.
25420         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25421         not-in-place case as well. Deal with changing from in-place to
25422         not-in-place within calling pad_alloc_buffer. Still a bit
25423         concerned about the overhead here...
25424
25425 2005-08-03  Andy Wingo  <wingo@pobox.com>
25426
25427         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25428         fixating is an error.
25429
25430 2005-08-04  Edward Hervey  <edward@fluendo.com>
25431
25432         * gst/base/gstadapter.h: 
25433         Added gst_adapter_get_type() to the header
25434
25435 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25436
25437         * check/Makefile.am:
25438         * check/gst-libs/controller.c:
25439         * libs/gst/controller/gst-controller.c:
25440         (gst_controller_new_valist):
25441           added check test suite for the controller
25442         * gst/base/gstpushsrc.c:
25443           fixed a doc typo
25444
25445 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25446
25447         * docs/gst/Makefile.am:
25448         * docs/gst/gstreamer-docs.sgml:
25449         * docs/gst/gstreamer-sections.txt:
25450         * docs/gst/gstreamer.types:
25451         * docs/gst/tmpl/gstfakesrc.sgml:
25452         * gst/base/README:
25453         * gst/base/gstbasesink.c:
25454         * gst/base/gstbasesink.h:
25455         * gst/base/gstbasesrc.c:
25456         * gst/base/gstbasesrc.h:
25457         * gst/base/gstbasetransform.c:
25458         * gst/base/gstpushsrc.c:
25459         * gst/base/gstpushsrc.h:
25460           add short/long description docs to base classes
25461           add pushsrc to the docs
25462           remove consolidated doc fragments
25463
25464 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25465
25466         * configure.ac:
25467         * docs/libs/Makefile.am:
25468         * docs/libs/gstreamer-libs-docs.sgml:
25469         * docs/libs/gstreamer-libs-sections.txt:
25470         * docs/libs/gstreamer-libs.types:
25471         * examples/Makefile.am:
25472         * examples/controller/.cvsignore:
25473         * examples/controller/Makefile.am:
25474         * examples/controller/audio-example.c: (main):
25475         * libs/gst/Makefile.am:
25476         * libs/gst/controller/.cvsignore:
25477         * libs/gst/controller/Makefile.am:
25478         * libs/gst/controller/gst-controller.c:
25479         (on_object_controlled_property_changed), (gst_timed_value_compare),
25480         (gst_timed_value_find),
25481         (gst_controlled_property_set_interpolation_mode),
25482         (gst_controlled_property_new), (gst_controlled_property_free),
25483         (gst_controller_find_controlled_property),
25484         (gst_controller_new_valist), (gst_controller_new),
25485         (gst_controller_remove_properties_valist),
25486         (gst_controller_remove_properties), (gst_controller_set),
25487         (gst_controller_set_from_list), (gst_controller_unset),
25488         (gst_controller_get), (gst_controller_get_all),
25489         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25490         (gst_controller_get_value_array),
25491         (gst_controller_set_interpolation_mode),
25492         (_gst_controller_finalize), (_gst_controller_init),
25493         (_gst_controller_class_init), (gst_controller_get_type):
25494         * libs/gst/controller/gst-controller.h:
25495         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25496         (g_object_uncontrol_properties), (g_object_get_controller),
25497         (g_object_set_controller), (g_object_sink_values),
25498         (g_object_get_value_arrays), (g_object_get_value_array):
25499         * libs/gst/controller/gst-interpolation.c:
25500         (gst_controlled_property_find_timed_value_node),
25501         (interpolate_none_get), (interpolate_trigger_get),
25502         (interpolate_trigger_get_value_array):
25503         * libs/gst/controller/lib.c: (gst_controller_init):
25504         * pkgconfig/Makefile.am:
25505         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25506         * pkgconfig/gstreamer-control.pc.in:
25507         * testsuite/Makefile.am:
25508         * testsuite/controller/.cvsignore:
25509         * testsuite/controller/Makefile.am:
25510         * testsuite/controller/interpolator.c: (main):
25511           added controller code
25512           removed dparam pc files
25513
25514 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25515         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25516         (gst_collectpads_stop):
25517           Broadcast the condition when shutting down, to make sure we wake all
25518           threads up. Shut down pads on finalize, for safety.
25519
25520 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25521         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25522         (gst_base_transform_handle_buffer),
25523         (gst_base_transform_change_state):
25524           Handle PAUSED->READY->PAUSED transition after negotiation
25525           occurred already.
25526         * gst/gstmessage.c: (gst_message_init):
25527           Extra piece of debug for new messages.
25528
25529 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25530
25531         * configure.ac:
25532         * docs/gst/tmpl/gstbasesrc.sgml:
25533         * docs/gst/tmpl/gstelement.sgml:
25534         * docs/gst/tmpl/gstevent.sgml:
25535         * docs/gst/tmpl/gstfakesrc.sgml:
25536         * docs/gst/tmpl/gstformat.sgml:
25537         * docs/gst/tmpl/gstghostpad.sgml:
25538         * docs/gst/tmpl/gstpad.sgml:
25539         * docs/gst/tmpl/gstquery.sgml:
25540         * docs/gst/tmpl/gststructure.sgml:
25541         * docs/gst/tmpl/gsttaglist.sgml:
25542         * docs/gst/tmpl/gstvalue.sgml:
25543         * docs/libs/gstreamer-libs-docs.sgml:
25544         * docs/libs/gstreamer-libs-sections.txt:
25545         * docs/libs/gstreamer-libs.types:
25546         * libs/gst/Makefile.am:
25547         * libs/gst/control/.cvsignore:
25548         * libs/gst/control/Makefile.am:
25549         * libs/gst/control/control.c:
25550         * libs/gst/control/control.h:
25551         * libs/gst/control/dparam.c:
25552         * libs/gst/control/dparam.h:
25553         * libs/gst/control/dparam_smooth.c:
25554         * libs/gst/control/dparam_smooth.h:
25555         * libs/gst/control/dparamcommon.h:
25556         * libs/gst/control/dparammanager.c:
25557         * libs/gst/control/dparammanager.h:
25558         * libs/gst/control/dplinearinterp.c:
25559         * libs/gst/control/dplinearinterp.h:
25560         * libs/gst/control/unitconvert.c:
25561         * libs/gst/control/unitconvert.h:
25562         * testsuite/Makefile.am:
25563         * testsuite/dynparams/.cvsignore:
25564         * testsuite/dynparams/Makefile.am:
25565         * testsuite/dynparams/dparamstest.c:
25566         * tools/Makefile.am:
25567         * tools/gst-inspect.c: (print_element_info), (main):
25568         * tools/gst-xmlinspect.c: (print_element_info), (main):
25569           deactivate and remove dparams (libgstcontrol)
25570
25571 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25572
25573         * gst/elements/gsttypefindelement.c:
25574         (gst_type_find_element_have_type), (gst_type_find_element_init),
25575         (stop_typefinding), (gst_type_find_element_handle_event),
25576         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25577         * gst/elements/gsttypefindelement.h:
25578           Set caps on all outgoing buffers, not just the first one.
25579
25580 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25581
25582         * gst/elements/gsttypefindelement.c:
25583         (gst_type_find_element_have_type),
25584         (gst_type_find_element_check_set_buffer_caps),
25585         (gst_type_find_element_init), (stop_typefinding),
25586         (gst_type_find_element_handle_event),
25587         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25588         * gst/elements/gsttypefindelement.h:
25589           Set caps on first outgoing buffer when we've found the type.
25590
25591 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25592
25593         * docs/gst/gstreamer-docs.sgml:
25594         * docs/gst/gstreamer-sections.txt:
25595         * docs/gst/tmpl/gstscheduler.sgml:
25596         * docs/gst/tmpl/gstschedulerfactory.sgml:
25597           Remove some old cruft from docs.
25598
25599 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25600
25601         * gst/gstpad.h:
25602           Fix inline docs for GstPadLinkReturn.
25603           
25604         * gst/gststructure.c: (gst_structure_has_name):
25605         * gst/gststructure.h:
25606         * docs/gst/gstreamer-sections.txt:
25607           New API: gst_structure_has_name().
25608
25609 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25610
25611         * configure.ac:
25612           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25613           and _LARGEFILE_SOURCE in config.h as required. Do not 
25614           export those flags in our .pc files any longer (#142209).
25615
25616           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25617
25618         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25619         (gst_file_sink_do_seek), (gst_file_sink_event),
25620         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25621           Redo seek/tell calls with large file support in mind; add some
25622           debugging messages; add log message that tells us when large
25623           file support is unavailable or not enabled for some reason.
25624
25625         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25626           Add log message that tells us when large file support 
25627           is unavailable or not enabled for some reason.
25628
25629 2005-07-29  Wim Taymans  <wim@fluendo.com>
25630
25631         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25632         Added test for removing an element with ghostpad from a bin.
25633         Fixed test as current implementation does the right thing.
25634
25635         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25636         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25637         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25638         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25639         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25640         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25641         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25642         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25643         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25644         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25645         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25646         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25647         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25648         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25649         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25650         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25651         * gst/gstghostpad.h:
25652         Clean up ghostpads, remove properties for internal stuff.
25653         Make threadsafe.
25654         Fix refcounting.
25655         Prepare for switching targets, not all use cases work yet.
25656
25657 2005-07-29  Wim Taymans  <wim@fluendo.com>
25658
25659         * docs/design/part-gstghostpad.txt:
25660         Small update.
25661
25662         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25663         (gst_bin_remove_func):
25664         Unlinking pads while holding the bin LOCK is not a good
25665         idea.
25666
25667         * gst/gstpad.c: (gst_pad_class_init),
25668         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25669         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25670         No prob setting template after creating the pad.
25671
25672 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25673
25674         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25675         (gst_bus_peek), (gst_bus_source_dispatch),
25676         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25677         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25678           gst_bus_poll may be called from other threads. Handle
25679           this nicely by not making poll_data disappear off the
25680           stack once gst_bus_poll returns.
25681           gst_bus_peek now increments the refcount on the returned
25682           message.
25683
25684 2005-07-29  Wim Taymans  <wim@fluendo.com>
25685
25686         * docs/design/part-gstghostpad.txt:
25687         Overview of current GhostPad datastructures and use
25688         cases for changing the target.
25689
25690 2005-07-28  Wim Taymans  <wim@fluendo.com>
25691
25692         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25693         Added checks for hierarchy consistency whan adding linked
25694         elements to bins.
25695
25696         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25697         Added check to test element scheduling without bin/pipeline.
25698
25699         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25700         First add elements to bin, then link.
25701         
25702         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25703         (gst_bin_remove_func):
25704         Unlink pads from elements added/removed from bin to maintain
25705         hierarchy consistency.
25706
25707 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25708
25709         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25710         (gst_base_transform_handle_buffer):
25711         * gst/base/gstbasetransform.h:
25712           Remove broken delay_configure (fixes renegotiation of software
25713           scaling pipelines); remove some leftover printf()s.
25714
25715 2005-07-28  Wim Taymans  <wim@fluendo.com>
25716
25717         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25718         Added some more tests for wrong hierarchy
25719
25720         * docs/design/part-overview.txt:
25721         Some updates.
25722
25723         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25724         Cleanups.
25725
25726         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25727         (gst_element_dispose):
25728         Some more cleanups.
25729
25730         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25731         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25732         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25733         (gst_pad_set_caps), (gst_pad_send_event):
25734         Check for correct hierarchy when linking pads. Moving to
25735         strict requirement for ghostpads when linking elements in
25736         different bins.
25737
25738         * gst/gstpad.h:
25739         Clean ups. Added WRONG_HIERARCHY return value.
25740
25741 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25742
25743         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25744           Better debug if no transform is possible.
25745
25746 2005-07-27  Wim Taymans  <wim@fluendo.com>
25747
25748         * docs/random/wtay/network-transp:
25749         Some old doc I had.
25750
25751 2005-07-27  Wim Taymans  <wim@fluendo.com>
25752
25753         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25754         (gst_dp_event_from_packet):
25755         Fix serialization of seek events.
25756
25757 2005-07-27  Wim Taymans  <wim@fluendo.com>
25758
25759         * check/gst-libs/gdp.c: (GST_START_TEST):
25760         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25761         Fix compilation and fix event serialization.
25762
25763 2005-07-27  Wim Taymans  <wim@fluendo.com>
25764
25765         * CHANGES-0.9:
25766         * docs/design/part-TODO.txt:
25767         * docs/design/part-events.txt:
25768         Some docs updates
25769
25770         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25771         (gst_base_sink_event), (gst_base_sink_do_sync),
25772         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25773         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25774         (gst_base_src_do_seek), (gst_base_src_event_handler),
25775         (gst_base_src_loop):
25776         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25777         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25778         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25779         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25780         (gst_base_transform_set_passthrough),
25781         (gst_base_transform_is_passthrough):
25782         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25783         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25784         Event updates.
25785
25786         * gst/gstbuffer.h:
25787         Use faster casts.
25788
25789         * gst/gstelement.c: (gst_element_seek):
25790         * gst/gstelement.h:
25791         Update gst_element_seek.
25792
25793         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25794         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25795         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25796         (gst_event_new_eos), (gst_event_new_newsegment),
25797         (gst_event_parse_newsegment), (gst_event_new_tag),
25798         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25799         (gst_event_parse_qos), (gst_event_new_seek),
25800         (gst_event_parse_seek), (gst_event_new_navigation):
25801         * gst/gstevent.h:
25802         Make GstEvent use GstStructure. Add parsing code, make sure the
25803         API is sufficiently generic.
25804         Mark possible directions of events and serialization.
25805
25806         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25807         (_gst_message_copy), (gst_message_new_segment_start),
25808         (gst_message_new_segment_done), (gst_message_new_custom),
25809         (gst_message_parse_segment_start),
25810         (gst_message_parse_segment_done):
25811         Small cleanups.
25812
25813         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25814         (gst_pad_set_caps), (gst_pad_send_event):
25815         Update for new events. 
25816         Catch events sent in wrong directions.
25817
25818         * gst/gstqueue.c: (gst_queue_link_src),
25819         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25820         (gst_queue_handle_src_query):
25821         Event updates.
25822
25823         * gst/gsttag.c:
25824         * gst/gsttag.h:
25825         Remove event code from this file.
25826
25827         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25828         (gst_dp_event_from_packet):
25829         Event updates.
25830
25831 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25832
25833         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25834         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25835         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25836           Make debugging actually useful.
25837
25838 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25839
25840         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25841         (gst_pad_fixate_caps):
25842           Implement default fixation once again, so that gst_pad_fixate()
25843           actually does anything at all. This probably needs to be some
25844           sort of a last resort, and use profile-based fixation first, but
25845           since that doesn't exist yet, this is the best we have. Fixes
25846           visualization in Totem.
25847
25848 2005-07-22  Wim Taymans  <wim@fluendo.com>
25849
25850         * docs/design/part-events.txt:
25851         Small update.
25852
25853         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25854         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25855         (gst_base_sink_activate_pull):
25856         Some more comments.
25857
25858         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25859         (gst_fake_src_create):
25860         Fix handoff marshall.
25861
25862         * gst/elements/gstidentity.c: (gst_identity_class_init),
25863         (gst_identity_transform_ip):
25864         We're a real inplace element.
25865
25866         * gst/gstbus.c: (gst_bus_post):
25867         Added some comments.
25868
25869         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25870         * tests/muxing/case1.c: (main):
25871         * tests/sched/dynamic-pipeline.c: (main):
25872         * tests/sched/interrupt1.c: (main):
25873         * tests/sched/interrupt2.c: (main):
25874         * tests/sched/interrupt3.c: (main):
25875         * tests/sched/runxml.c: (main):
25876         * tests/sched/sched-stress.c: (main):
25877         * tests/seeking/seeking1.c: (event_received), (main):
25878         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25879         (main):
25880         * tests/threadstate/threadstate3.c: (main):
25881         * tests/threadstate/threadstate4.c: (main):
25882         * tests/threadstate/threadstate5.c: (main):
25883         Fix the tests.
25884
25885 2005-07-21  Wim Taymans  <wim@fluendo.com>
25886
25887         * docs/design/part-seeking.txt:
25888         Some small additions.
25889
25890         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25891         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25892         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25893         * gst/base/gstbasesink.h:
25894         discont values are gint64, handle the math correctly.
25895
25896         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25897         Make the basesrc report error if the source pad is not linked.
25898
25899         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25900         (gst_queue_loop), (gst_queue_handle_src_query),
25901         (gst_queue_src_activate_push):
25902         Make queue collect data even if the srcpad is not linked.
25903         Start pushing out data as soon as it is linked.
25904
25905         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25906         * gst/gstutils.h:
25907         Added gst_flow_get_name() to ease error reporting.
25908
25909 2005-07-20  Wim Taymans  <wim@fluendo.com>
25910
25911         * gst/gstmessage.c: (gst_message_new_segment_start),
25912         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25913         (gst_message_parse_segment_done):
25914         * gst/gstmessage.h:
25915         Added a bunch of messages for advanced seeking.
25916
25917         * gst/parse/grammar.y:
25918         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25919         (gst_dpman_state_changed):
25920         Fix some new-pad -> pad-added signals
25921
25922 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25923
25924         * docs/manual/appendix-porting.xml:
25925         * docs/pwg/appendix-porting.xml:
25926           Document new-pad/state-change signal renames and the FixedList
25927           type rename.
25928
25929 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25930
25931         * docs/manual/advanced-autoplugging.xml:
25932         * docs/manual/basics-helloworld.xml:
25933         * docs/manual/basics-pads.xml:
25934         * docs/random/ds/0.9-suggested-changes:
25935         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25936         * gst/gstelement.h:
25937         * gst/gstevent.h:
25938         * gst/gstformat.h:
25939         * gst/gstquery.h:
25940         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25941         (gst_structure_parse_array), (gst_structure_parse_value):
25942         * gst/gstvalue.c: (gst_type_is_fixed),
25943         (gst_value_list_prepend_value), (gst_value_list_append_value),
25944         (gst_value_list_get_size), (gst_value_list_get_value),
25945         (gst_value_transform_array_string), (gst_value_serialize_array),
25946         (gst_value_deserialize_array), (gst_value_intersect_array),
25947         (gst_value_is_fixed), (_gst_value_initialize):
25948         * gst/gstvalue.h:
25949           GstElement::new-pad -> pad-added, GstElement::state-change ->
25950           state-changed, GstValueFixedList -> GstValueArray, add format and
25951           flags as their own arguments in gst_element_seek() (should improve
25952           "bindeability"), remove function generators since they don't work
25953           under a whole bunch of compilers (they were deprecated already
25954           anyway).
25955
25956 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25957
25958         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25959         (_gst_debug_register_funcptr):
25960         * gst/gstinfo.h:
25961           Fix illegal cast on some platforms (#309253).
25962
25963 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25964
25965         * gst/gstmessage.c: (gst_message_new_custom):
25966         * gst/gstmessage.h:
25967           Add _new_custom, make _new_application a macro to _new_custom.
25968
25969 2005-07-20  Wim Taymans  <wim@fluendo.com>
25970
25971         * gst/base/gstbasesrc.c: (gst_base_src_init),
25972         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25973         * gst/base/gstbasesrc.h:
25974         Add a gboolean to decide when to push out a discont.
25975
25976         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25977         (gst_queue_loop), (gst_queue_handle_src_query),
25978         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25979         (gst_queue_set_property), (gst_queue_get_property):
25980         Some cleanups.
25981
25982         * tests/threadstate/threadstate1.c: (main):
25983         Make a thread test compile and run... very silly..
25984
25985
25986 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25987
25988         * docs/manual/appendix-porting.xml:
25989           Mention removal of libgstgconf-0.9.la and existence of gconf
25990           elements.
25991
25992 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25993
25994         * docs/pwg/advanced-clock.xml:
25995         * docs/pwg/appendix-porting.xml:
25996         * docs/pwg/intro-preface.xml:
25997         * docs/pwg/other-base.xml:
25998         * docs/pwg/other-manager.xml:
25999         * docs/pwg/other-nton.xml:
26000         * docs/pwg/other-ntoone.xml:
26001         * docs/pwg/other-oneton.xml:
26002         * docs/pwg/pwg.xml:
26003           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
26004           demuxer), remove n-to-n (was never written), fix some code examples
26005           and links and update the porting section to include all this.
26006
26007 2005-07-19  Wim Taymans  <wim@fluendo.com>
26008
26009         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
26010         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
26011         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
26012         (gst_queue_src_activate_push), (gst_queue_change_state),
26013         (gst_queue_get_property):
26014         * gst/gstqueue.h:
26015         Propagate GstFlowReturn more intelligently upstream and output
26016         an ERROR/EOS when streaming stopped due to fatal error.
26017
26018 2005-07-19  Wim Taymans  <wim@fluendo.com>
26019
26020         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26021         Don't block forever for the state change to complete, the
26022         pipeline already did with a sensible timeout.
26023
26024 2005-07-19  Wim Taymans  <wim@fluendo.com>
26025
26026         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
26027         Make sure we never call the create function is we
26028         got deactivated.
26029
26030 2005-07-19  Andy Wingo  <wingo@pobox.com>
26031
26032         * gst/parse/parse.l: Attempt to solve bug #172815.
26033
26034 2005-07-19  Wim Taymans  <wim@fluendo.com>
26035
26036         * docs/design/part-clocks.txt:
26037         * docs/design/part-events.txt:
26038         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
26039         Small docs updates.
26040         Only update the seeking values when we are not
26041         busy streaming.
26042
26043 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
26044
26045         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26046           Oops, ignore the result of gst_pad_push_event here.
26047
26048 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
26049
26050         * gst/base/gstbasesrc.c: (gst_base_src_loop),
26051         (gst_base_src_activate_push):
26052           Send discont event from the loop function, as pads
26053           aren't activated yet in the activate_push handler.
26054
26055         * gst/gstbin.c: (bin_bus_handler):
26056           Don't leak element name.
26057
26058 2005-07-18  Andy Wingo  <wingo@pobox.com>
26059
26060         * configure.ac: Use AS_LIBTOOL_TAGS.
26061
26062 2005-07-18  Wim Taymans  <wim@fluendo.com>
26063
26064         * docs/gst/gstreamer.types:
26065         Remove deleted types.
26066
26067 2005-07-18  Wim Taymans  <wim@fluendo.com>
26068
26069         * check/elements/gstfakesrc.c: (GST_START_TEST):
26070         * configure.ac:
26071         * gst/Makefile.am:
26072         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26073         (init_popt_callback):
26074         * gst/gst.h:
26075         * gst/gst_private.h:
26076         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26077         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26078         * gst/gstbin.h:
26079         * gst/gstbus.h:
26080         * gst/gstconfig.h.in:
26081         * gst/gstelement.c: (gst_element_class_init),
26082         (gst_element_set_base_time), (gst_element_get_base_time),
26083         (iterator_fold_with_resync), (gst_element_change_state),
26084         (gst_element_dispose), (gst_element_get_bus):
26085         * gst/gstelement.h:
26086         * gst/gstelementfactory.h:
26087         * gst/gsterror.c: (_gst_core_errors_init):
26088         * gst/gsterror.h:
26089         * gst/gstevent.h:
26090         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26091         * gst/gstindex.c:
26092         * gst/gstinfo.c: (_gst_debug_init):
26093         * gst/gstmessage.c: (_gst_message_copy):
26094         * gst/gstmessage.h:
26095         * gst/gstminiobject.h:
26096         * gst/gstobject.c:
26097         * gst/gstobject.h:
26098         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26099         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26100         * gst/gstpad.h:
26101         * gst/gstparse.h:
26102         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26103         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26104         (gst_pipeline_get_last_stream_time):
26105         * gst/gstpipeline.h:
26106         * gst/gstpluginfeature.h:
26107         * gst/gstquery.h:
26108         * gst/gstscheduler.c:
26109         * gst/gstscheduler.h:
26110         * gst/gststructure.h:
26111         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26112         (gst_task_finalize), (gst_task_func), (gst_task_create),
26113         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26114         (gst_task_stop), (gst_task_pause):
26115         * gst/gsttask.h:
26116         * gst/gsttypefind.h:
26117         * gst/gsttypes.h:
26118         * gst/registries/gstlibxmlregistry.c: (load_feature),
26119         (gst_xml_registry_load), (gst_xml_registry_save_feature):
26120         * gst/registries/gstxmlregistry.c:
26121         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26122         * gst/schedulers/threadscheduler.c:
26123         * libs/gst/control/dparammanager.h:
26124         * tools/gst-inspect.c: (print_element_list),
26125         (print_plugin_features), (print_element_features):
26126         * tools/gst-xmlinspect.c: (print_element_list),
26127         (print_plugin_info), (main):
26128         Removed plugable schedulers.
26129         Removed Scheduler/Manager from elements.
26130         Removed gsttypes.h, rearranged includes.
26131         Removed dependency pad<->element, element<>pipeline, and
26132         various others,  fix includes.
26133         implement gst_pad_get_parent() with gst_object_get_parent()
26134         Make GstTask sefcontained.
26135         Fix _get_state() on GstBin, it did not return ASYNC with a 0
26136         timeout.
26137         Fix endless loop in iterator_fold_with_resync.
26138
26139
26140 2005-07-18  Wim Taymans  <wim@fluendo.com>
26141
26142         * gst/Makefile.am:
26143         * gst/gstarch.h:
26144         Remove old file.
26145
26146 2005-07-18  Wim Taymans  <wim@fluendo.com>
26147
26148         * gst/Makefile.am:
26149         No more cothreads.h
26150
26151 2005-07-18  Wim Taymans  <wim@fluendo.com>
26152
26153         * gst/cothreads.c:
26154         * gst/cothreads.h:
26155         Let's remove these.
26156
26157 2005-07-18  Wim Taymans  <wim@fluendo.com>
26158
26159         * docs/design/part-dynamic.txt:
26160         * docs/design/part-events.txt:
26161         * docs/design/part-seeking.txt:
26162         Some more docs in the works.
26163
26164         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26165         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26166         (gst_base_transform_setcaps), (gst_base_transform_get_size),
26167         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26168         (gst_base_transform_handle_buffer),
26169         (gst_base_transform_sink_activate_push),
26170         (gst_base_transform_src_activate_pull),
26171         (gst_base_transform_set_passthrough),
26172         (gst_base_transform_is_passthrough):
26173         Refcounting fixes.
26174
26175         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26176         Cleanups.
26177
26178         * gst/gstevent.c: (gst_event_finalize):
26179         Set SRC to NULL.
26180
26181         * gst/gstutils.c: (gst_element_unlink),
26182         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26183         (gst_pad_proxy_setcaps):
26184         * gst/gstutils.h:
26185         Add _get_parent_element() to get a pads parent as an element.
26186
26187 2005-07-18  Wim Taymans  <wim@fluendo.com>
26188
26189         * check/gst/gstbin.c: (GST_START_TEST):
26190         Remove bogus test.
26191
26192 2005-07-18  Wim Taymans  <wim@fluendo.com>
26193
26194         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26195         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26196         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26197         (gst_base_sink_event), (gst_base_sink_do_sync),
26198         (gst_base_sink_chain), (gst_base_sink_loop),
26199         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26200         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26201         Refcounting fixes.
26202         Fix logic for returning ASYNC when not prerolled.
26203
26204 2005-07-18  Wim Taymans  <wim@fluendo.com>
26205
26206         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26207         Fix nasty refcount bug.
26208
26209 2005-07-16 Philippe Khalaf <burger@speedy.org>
26210
26211         * gst/elements/gstfdsrc.c:
26212         * gst/elements/gstfdsrc.h:
26213         * gst/elements/gstelements.c:
26214         * gst/elements/Makefile.am:
26215         Ported fdsrc to 0.9.
26216
26217 2005-07-16  Wim Taymans  <wim@fluendo.com>
26218
26219         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26220         (gst_base_sink_do_sync):
26221         Fix compile error.
26222
26223 2005-07-16  Wim Taymans  <wim@fluendo.com>
26224
26225         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26226         (gst_base_sink_event), (gst_base_sink_get_times),
26227         (gst_base_sink_do_sync), (gst_base_sink_change_state):
26228         * gst/base/gstbasesink.h:
26229         Store and use discont values when syncing buffers as described
26230         in design docs.
26231         
26232         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26233         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26234         (gst_base_src_activate_push):
26235         Push discont event when starting.
26236
26237         * gst/elements/gstidentity.c: (gst_identity_transform):
26238         Small cleanups.
26239
26240         * gst/gstbin.c: (gst_bin_change_state):
26241         Small cleanups in base_time  distribution.
26242
26243         * gst/gstelement.c: (gst_element_set_base_time),
26244         (gst_element_get_base_time), (gst_element_change_state):
26245         * gst/gstelement.h:
26246         Added methods for the base_time of the element.
26247         Some MT fixes.
26248
26249         * gst/gstpipeline.c: (gst_pipeline_send_event),
26250         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26251         (gst_pipeline_get_last_stream_time):
26252         * gst/gstpipeline.h:
26253         MT fixes.
26254         Handle seeking as described in design doc, remove stream_time
26255         hack.
26256         Cleanups clock and stream_time selection code. Added accessors
26257         for the stream_time.
26258         
26259
26260 2005-07-16  Andy Wingo  <wingo@pobox.com>
26261
26262         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26263         (#305291).
26264
26265 2005-07-16  Wim Taymans  <wim@fluendo.com>
26266
26267         * check/gst/gstbin.c: (GST_START_TEST):
26268         Make elements silent as the deep_notify refs the
26269         parent, which might make the test fail.
26270
26271         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26272         Don't hold the lock for too long.
26273
26274 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
26275
26276         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26277           Don't unref the caps we passed to gst_caps_make_writable() after
26278           passing them. gst_caps_make_writable() will do that for us.
26279
26280 2005-07-15  Andy Wingo  <wingo@pobox.com>
26281
26282         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26283         (#157311).
26284
26285         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26286         own marshalling function for the handoff signal. Properly type the
26287         buffer as a buffer. Fixes some warnings. Should do a more general
26288         solution.
26289         (gst_identity_class_init): Plug into the right marshaller.
26290
26291 2005-07-15  Wim Taymans  <wim@fluendo.com>
26292
26293         * docs/design/part-TODO.txt:
26294         * docs/design/part-clocks.txt:
26295         * docs/design/part-element-sink.txt:
26296         * docs/design/part-events.txt:
26297         * docs/design/part-gstpipeline.txt:
26298         Updated docs, mostly DISCONT related.
26299
26300 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
26301
26302         * docs/pwg/building-pads.xml:
26303           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26304
26305 2005-07-15  Andy Wingo  <wingo@pobox.com>
26306
26307         * tools/gst-typefind.c: Update, add copyright block.
26308
26309         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26310         Normalize and truncate caps before fixation.
26311
26312         * gst/gstcaps.h:
26313         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26314         discards all but the first structure from its argument.
26315
26316 2005-07-15  Wim Taymans  <wim@fluendo.com>
26317
26318         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26319         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26320         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26321         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26322         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26323         (gst_base_transform_chain), (gst_base_transform_change_state),
26324         (gst_base_transform_set_passthrough),
26325         (gst_base_transform_is_passthrough):
26326         * gst/base/gstbasetransform.h:
26327         Make passthrough work using the bufferpools.
26328         Changed API a bit, subclasses have to write into a buffer
26329         provided by the base class.
26330         More debug info in nego functions.
26331         
26332         * gst/elements/gstidentity.c: (gst_identity_init),
26333         (gst_identity_transform):
26334         Port to new base class.
26335
26336 2005-07-15  Wim Taymans  <wim@fluendo.com>
26337
26338         * gst/gstmessage.c: (gst_message_new_state_changed):
26339         * tools/gst-launch.c: (event_loop), (main):
26340         Totally dump messages in -launch with the -m option.
26341         Fix message name for State messages,
26342
26343 2005-07-14  Wim Taymans  <wim@fluendo.com>
26344
26345         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26346         Post error messages on errors.
26347
26348 2005-07-14  Wim Taymans  <wim@fluendo.com>
26349
26350         * gst/gstcaps.c: (gst_caps_do_simplify):
26351         Remove debug info.
26352
26353         * gst/gsterror.h:
26354         Define error for stream stopped.
26355
26356         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26357         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26358         Do proper return values.
26359
26360         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26361         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26362         (gst_pad_get_range):
26363         Better return values.
26364
26365         * gst/gstpad.h:
26366         Reorganise return values, add macro to check for fatal errors.
26367
26368         * gst/gstqueue.c: (gst_queue_chain):
26369         Return proper GstFlowReturn values,
26370
26371 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26372
26373         * docs/gst/gstreamer-sections.txt:
26374         * docs/gst/gstreamer.types:
26375         * docs/gst/tmpl/gst.sgml:
26376         * docs/gst/tmpl/gstbasesink.sgml:
26377         * docs/gst/tmpl/gstbasesrc.sgml:
26378         * docs/gst/tmpl/gstbasetransform.sgml:
26379         * docs/gst/tmpl/gstbin.sgml:
26380         * docs/gst/tmpl/gstbuffer.sgml:
26381         * docs/gst/tmpl/gstcaps.sgml:
26382         * docs/gst/tmpl/gstclock.sgml:
26383         * docs/gst/tmpl/gstcompat.sgml:
26384         * docs/gst/tmpl/gstconfig.sgml:
26385         * docs/gst/tmpl/gstelement.sgml:
26386         * docs/gst/tmpl/gstelementdetails.sgml:
26387         * docs/gst/tmpl/gstelementfactory.sgml:
26388         * docs/gst/tmpl/gstenumtypes.sgml:
26389         * docs/gst/tmpl/gsterror.sgml:
26390         * docs/gst/tmpl/gstevent.sgml:
26391         * docs/gst/tmpl/gstfakesink.sgml:
26392         * docs/gst/tmpl/gstfakesrc.sgml:
26393         * docs/gst/tmpl/gstfilesink.sgml:
26394         * docs/gst/tmpl/gstfilesrc.sgml:
26395         * docs/gst/tmpl/gstfilter.sgml:
26396         * docs/gst/tmpl/gstformat.sgml:
26397         * docs/gst/tmpl/gstghostpad.sgml:
26398         * docs/gst/tmpl/gstimplementsinterface.sgml:
26399         * docs/gst/tmpl/gstindex.sgml:
26400         * docs/gst/tmpl/gstindexfactory.sgml:
26401         * docs/gst/tmpl/gstinfo.sgml:
26402         * docs/gst/tmpl/gstiterator.sgml:
26403         * docs/gst/tmpl/gstmacros.sgml:
26404         * docs/gst/tmpl/gstmemchunk.sgml:
26405         * docs/gst/tmpl/gstminiobject.sgml:
26406         * docs/gst/tmpl/gstobject.sgml:
26407         * docs/gst/tmpl/gstpad.sgml:
26408         * docs/gst/tmpl/gstpadtemplate.sgml:
26409         * docs/gst/tmpl/gstparse.sgml:
26410         * docs/gst/tmpl/gstpipeline.sgml:
26411         * docs/gst/tmpl/gstplugin.sgml:
26412         * docs/gst/tmpl/gstpluginfeature.sgml:
26413         * docs/gst/tmpl/gstquery.sgml:
26414         * docs/gst/tmpl/gstqueue.sgml:
26415         * docs/gst/tmpl/gstregistry.sgml:
26416         * docs/gst/tmpl/gstregistrypool.sgml:
26417         * docs/gst/tmpl/gstscheduler.sgml:
26418         * docs/gst/tmpl/gstschedulerfactory.sgml:
26419         * docs/gst/tmpl/gststructure.sgml:
26420         * docs/gst/tmpl/gstsystemclock.sgml:
26421         * docs/gst/tmpl/gsttaglist.sgml:
26422         * docs/gst/tmpl/gsttagsetter.sgml:
26423         * docs/gst/tmpl/gsttrace.sgml:
26424         * docs/gst/tmpl/gsttrashstack.sgml:
26425         * docs/gst/tmpl/gsttypefind.sgml:
26426         * docs/gst/tmpl/gsttypefindfactory.sgml:
26427         * docs/gst/tmpl/gsttypes.sgml:
26428         * docs/gst/tmpl/gsturihandler.sgml:
26429         * docs/gst/tmpl/gsturitype.sgml:
26430         * docs/gst/tmpl/gstutils.sgml:
26431         * docs/gst/tmpl/gstvalue.sgml:
26432         * docs/gst/tmpl/gstversion.sgml:
26433         * docs/gst/tmpl/gstxml.sgml:
26434         * docs/libs/tmpl/gstcontrol.sgml:
26435         * docs/libs/tmpl/gstdataprotocol.sgml:
26436         * docs/libs/tmpl/gstdparam.sgml:
26437         * docs/libs/tmpl/gstdplinint.sgml:
26438         * docs/libs/tmpl/gstdpman.sgml:
26439         * docs/libs/tmpl/gstdpsmooth.sgml:
26440         * docs/libs/tmpl/gstgetbits.sgml:
26441         * docs/libs/tmpl/gstunitconvert.sgml:
26442         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26443         (gst_push_src_base_init), (gst_push_src_class_init),
26444         (gst_push_src_init), (gst_push_src_create):
26445         * gst/base/gstpushsrc.h:
26446         * gst/elements/gstelements.c:
26447         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26448         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26449         (gst_fake_sink_init), (gst_fake_sink_set_property),
26450         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26451         (gst_fake_sink_event), (gst_fake_sink_preroll),
26452         (gst_fake_sink_render), (gst_fake_sink_change_state):
26453         * gst/elements/gstfakesink.h:
26454         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26455         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26456         (gst_fake_src_base_init), (gst_fake_src_class_init),
26457         (gst_fake_src_init), (gst_fake_src_event_handler),
26458         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26459         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26460         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26461         (gst_fake_src_create_buffer), (gst_fake_src_create),
26462         (gst_fake_src_start), (gst_fake_src_stop):
26463         * gst/elements/gstfakesrc.h:
26464         * gst/elements/gstfilesink.c: (_do_init),
26465         (gst_file_sink_base_init), (gst_file_sink_class_init),
26466         (gst_file_sink_init), (gst_file_sink_dispose),
26467         (gst_file_sink_set_location), (gst_file_sink_set_property),
26468         (gst_file_sink_get_property), (gst_file_sink_open_file),
26469         (gst_file_sink_close_file), (gst_file_sink_query),
26470         (gst_file_sink_event), (gst_file_sink_render),
26471         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26472         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26473         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26474         * gst/elements/gstfilesink.h:
26475         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26476         (gst_file_src_class_init), (gst_file_src_init),
26477         (gst_file_src_finalize), (gst_file_src_set_location),
26478         (gst_file_src_set_property), (gst_file_src_get_property),
26479         (gst_file_src_map_region), (gst_file_src_map_small_region),
26480         (gst_file_src_create_mmap), (gst_file_src_create_read),
26481         (gst_file_src_create), (gst_file_src_is_seekable),
26482         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26483         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26484         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26485         (gst_file_src_uri_handler_init):
26486         * gst/elements/gstfilesrc.h:
26487           more autistic cleanliness in functions/names/defines
26488
26489 2005-07-13  Andy Wingo  <wingo@pobox.com>
26490
26491         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26492         source couldn't negotiate.
26493
26494         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26495         connections again.
26496
26497         * gst/gstutils.h:
26498         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26499         function. I am channeling Hades. Put your boots on suckers!!!
26500
26501 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26502
26503         * testsuite/caps/Makefile.am:
26504         * testsuite/caps/value_compare.c:
26505         * testsuite/caps/value_intersect.c:
26506         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26507           move two testsuite apps over to the check dir
26508
26509 2005-07-12  Wim Taymans  <wim@fluendo.com>
26510
26511         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26512         Added more debug info in the negotiate process.
26513
26514         * gst/gstmessage.h:
26515         Prepare for segment playback.
26516
26517         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26518         Better debugging.
26519
26520         * gst/gstutils.c:
26521         Some more docs.
26522
26523         * tools/gst-launch.c: (main):
26524         NULL pipeline on errors.
26525
26526 2005-07-12  Andy Wingo  <wingo@pobox.com>
26527
26528         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26529         not it comes from a malloc region. Make sure our copy gets freed.
26530
26531 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26532
26533         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26534         * check/gst/gstmessage.c: (GST_START_TEST):
26535         * check/gst/gststructure.c: (GST_START_TEST),
26536         (gst_structure_suite), (main):
26537           more testing
26538         * gst/gstelement.c: (gst_element_message_full):
26539           clean up GError and debug string now that they get copied
26540         * gst/gstmessage.c: (gst_message_new_error),
26541         (gst_message_new_warning), (gst_message_parse_error),
26542         (gst_message_parse_warning):
26543           use GST_TYPE_G_ERROR for structure_new, and take copies of
26544           arguments, so that we don't mess up refcounting
26545
26546 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26547
26548         * check/Makefile.am:
26549           add per-test valgrind targets
26550         * check/gst-libs/gdp.c: (GST_START_TEST),
26551         (gst_data_protocol_suite), (main):
26552           clean up
26553
26554 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26555
26556         * check/Makefile.am:
26557           instate more valgrindable tests
26558         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26559         (GST_START_TEST), (fakesrc_suite):
26560         * check/gst/gstpad.c: (GST_START_TEST):
26561         * check/gst/gststructure.c: (GST_START_TEST):
26562           fix test leaks
26563         * docs/gst/tmpl/gstminiobject.sgml:
26564         * gst/gstpad.c: (gst_pad_finalize):
26565           fix the static mutex leak
26566
26567 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26568
26569         * check/Makefile.am:
26570           add two more tests for valgrinding
26571         * check/gst/gstvalue.c: (GST_START_TEST):
26572           test refcount of deserialized buffer, found a leak
26573         * docs/gst/gstreamer-docs.sgml:
26574         * docs/gst/gstreamer-sections.txt:
26575         * docs/gst/gstreamer.types:
26576         * docs/gst/tmpl/gstminiobject.sgml:
26577           add miniobject to docs
26578         * gst/gstminiobject.c:
26579           add some docs
26580         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26581         (gst_string_unwrap):
26582           fix a hard-to-find invalid write for one of the tests
26583           fix a leak for deserialized buffers
26584
26585 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26586
26587         * docs/pwg/advanced-events.xml:
26588         * docs/pwg/advanced-request.xml:
26589         * docs/pwg/advanced-scheduling.xml:
26590         * docs/pwg/appendix-porting.xml:
26591         * docs/pwg/building-boiler.xml:
26592         * docs/pwg/intro-preface.xml:
26593         * docs/pwg/other-ntoone.xml:
26594           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26595           of example code and explanation for pad activation, loop() and
26596           getrange() functions and a bit more. Remove old comments pointing
26597           to loop-functions.
26598         * examples/pwg/Makefile.am:
26599           Add loop/getrange examples.
26600
26601 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26602
26603         * configure.ac:
26604           check for valgrind binary + some fixes
26605         * check/gst.supp:
26606           valgrind suppressions for the tests
26607         * check/Makefile.am:
26608           add a valgrind: target that valgrinds the unit tests
26609         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26610         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26611         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26612         * check/gst/gstghostpad.c:
26613           added some cleanup
26614         * check/gst/gstdata.c:
26615           removed
26616         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26617         (thread_unref), (gst_mini_object_suite), (main):
26618           added
26619         * gst/gst.c: (gst_deinit):
26620         * gst/gst.h:
26621           add a method to clean up.
26622         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26623         (gst_system_clock_obtain):
26624           allow for disposing the system clock.
26625         * tools/gst-launch.c: (main):
26626           deinit
26627
26628 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26629
26630         * docs/gst/tmpl/gstbasesrc.sgml:
26631         * docs/gst/tmpl/gstfakesrc.sgml:
26632         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26633         (gst_base_src_init), (gst_base_src_set_property),
26634         (gst_base_src_get_property), (gst_base_src_get_range),
26635         (gst_base_src_start):
26636         * gst/base/gstbasesrc.h:
26637           add num-buffers property
26638         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26639         (gst_fakesrc_init), (gst_fakesrc_set_property),
26640         (gst_fakesrc_get_property), (gst_fakesrc_create),
26641         (gst_fakesrc_start):
26642           remove num-buffers property
26643
26644 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26645
26646         * docs/gst/gstreamer-sections.txt:
26647         * docs/gst/tmpl/gstbasesink.sgml:
26648         * docs/gst/tmpl/gstbasesrc.sgml:
26649         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26650         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26651         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26652         (gst_base_sink_set_property), (gst_base_sink_get_property),
26653         (gst_base_sink_handle_object), (gst_base_sink_event),
26654         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26655         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26656         (gst_base_sink_loop), (gst_base_sink_deactivate),
26657         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26658         (gst_base_sink_change_state):
26659         * gst/base/gstbasesink.h:
26660         * gst/base/gstbasesrc.h:
26661         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26662         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26663         (gst_filesink_init):
26664           more macro splitting
26665
26666 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26667
26668         * gst/gstelement.c: (gst_element_get_bus):
26669           add debug
26670         * tools/gst-launch.c: (check_intr), (event_loop):
26671           fix bus leaks
26672
26673 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26674
26675         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26676           fix a caps leak
26677
26678 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26679
26680         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26681         (gst_base_src_finalize):
26682           add finalize method and clean up properly
26683         * gst/gstpipeline.c: (gst_pipeline_dispose):
26684           add debug
26685
26686 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26687
26688         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26689         (gst_bin_suite):
26690           add more things to check
26691         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26692         * gst/gstelement.c:
26693           more debug
26694
26695 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26696
26697         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26698         (GST_START_TEST), (fakesrc_suite):
26699         * check/gst-libs/gdp.c: (GST_START_TEST):
26700         * check/gst/gst.c: (GST_START_TEST):
26701         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26702         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26703         * check/gst/gstbus.c: (GST_START_TEST):
26704         * check/gst/gstcaps.c: (GST_START_TEST):
26705         * check/gst/gstdata.c: (GST_START_TEST):
26706         * check/gst/gstelement.c: (GST_START_TEST):
26707         * check/gst/gstghostpad.c: (GST_START_TEST):
26708         * check/gst/gstiterator.c: (GST_START_TEST):
26709         * check/gst/gstmessage.c: (GST_START_TEST):
26710         * check/gst/gstobject.c: (GST_START_TEST):
26711         * check/gst/gstpad.c: (GST_START_TEST):
26712         * check/gst/gststructure.c: (GST_START_TEST):
26713         * check/gst/gstsystemclock.c: (GST_START_TEST),
26714         (gst_systemclock_suite):
26715         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26716         * check/gst/gstvalue.c: (GST_START_TEST):
26717         * check/pipelines/cleanup.c: (GST_START_TEST):
26718         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26719         * check/states/sinks.c: (GST_START_TEST):
26720         * check/gstcheck.c: (gst_check_init):
26721         * check/gstcheck.h:
26722           add debugging category
26723           use GST_START_TEST now, so we add a debug line
26724
26725 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26726
26727         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26728           add test for state change message on a bin
26729         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26730           add another test
26731         * gst/gstbin.c: (gst_bin_init):
26732         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26733         * gst/gstelement.c: (gst_element_post_message),
26734         (gst_element_set_state):
26735         * gst/gstelementfactory.c: (gst_element_factory_create):
26736         * gst/gstmessage.c: (gst_message_new):
26737         * gst/gstscheduler.c:
26738           various debugging additions and cleanups
26739
26740 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26741
26742         * check/Makefile.am:
26743         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26744         (main):
26745           adding tests for elements
26746         * gst/gstelement.c: (gst_element_dispose):
26747
26748 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26749
26750         * gst/registries/gstlibxmlregistry.c: (load_feature):
26751           plug more leaks.  A simple gst_init() now is leakfree, yay.
26752
26753 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26754
26755         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26756         (gst_xml_registry_load):
26757           plug another memleak
26758
26759 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26760
26761         * configure.ac:
26762           use GST_SET_ERROR_CFLAGS
26763         * docs/faq/cvs.xml:
26764           change to ERROR_CFLAGS
26765
26766 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26767
26768         * configure.ac:
26769           make GST_ERROR_CFLAGS overridable and re-enable Werror
26770         * docs/faq/cvs.xml:
26771           add a note about error CFLAGS
26772         * docs/gst/tmpl/gstfakesrc.sgml:
26773         * gst/elements/gstfakesrc.c:
26774           comment out some unused code
26775         * gst/gst.c: (split_and_iterate):
26776         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26777         (load_feature):
26778           plug some memleaks
26779
26780 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26781
26782         * common/Makefile.am:
26783         * common/gtk-doc.mak:
26784         * docs/gst/Makefile.am:
26785           factor out gtk-doc.mak
26786
26787 2005-07-07  Wim Taymans  <wim@fluendo.com>
26788
26789         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26790         (gst_thread_scheduler_dispose):
26791         Unlock the STREAM_LOCK completely.
26792
26793 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26794
26795         * check/Makefile.am:
26796         * check/elements/.cvsignore:
26797         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26798         (START_TEST), (fakesrc_suite), (main):
26799         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26800         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26801         (gst_fakesrc_create), (gst_fakesrc_start):
26802         * gst/elements/gstfakesrc.h:
26803           adding a first element test
26804
26805 2005-07-07  Andy Wingo  <wingo@pobox.com>
26806
26807         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26808         debug message.
26809
26810 2005-07-07  Wim Taymans  <wim@fluendo.com>
26811
26812         * gst/gstquery.c:
26813         * gst/gstquery.h:
26814         Remove old types
26815
26816 2005-07-07  Wim Taymans  <wim@fluendo.com>
26817
26818         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26819         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26820         Allow subclasses to implement their own negotiation.
26821
26822 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26823
26824         * docs/design/part-gstbin.txt:
26825         * docs/design/part-gstpipeline.txt:
26826           Update design notes to reflect the movement of
26827           responsibility for bus handling from GstPipeline to
26828           GstBin
26829
26830 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26831
26832         * configure.ac:
26833           Remove unnecessary queue2/3/4 examples.
26834
26835 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26836
26837         * examples/Makefile.am:
26838         * examples/helloworld/helloworld.c: (event_loop), (main):
26839         * examples/queue/queue.c: (event_loop), (main):
26840         * examples/queue2/queue2.c: (main):
26841           Update a couple of the examples to work again.
26842
26843         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26844         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26845          Spelling corrections and extra debug.
26846         
26847         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26848         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26849         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26850         * gst/gstbin.h:
26851         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26852         (gst_pipeline_change_state):
26853         * gst/gstpipeline.h:
26854           Move the bus handler for children to the GstBin, and create a
26855           separate bus for receiving messages from children to the one the
26856           bus sends 'upwards' on.
26857
26858 2005-07-06  Wim Taymans  <wim@fluendo.com>
26859
26860         * gst/base/README:
26861         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26862         (gst_base_sink_handle_object), (gst_base_sink_loop),
26863         (gst_base_sink_change_state):
26864         * gst/base/gstbasesink.h:
26865         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26866         (gst_base_src_init), (gst_base_src_setcaps),
26867         (gst_base_src_getcaps), (gst_base_src_loop),
26868         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26869         (gst_base_src_start), (gst_base_src_change_state):
26870         * gst/base/gstbasesrc.h:
26871         Make basesrc negotiate.
26872         Handle the case where preroll fails in basesink.
26873         Update README.
26874
26875 2005-07-06  Wim Taymans  <wim@fluendo.com>
26876
26877         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26878         Implement the fixate function.
26879         Clean up acceptcaps.
26880
26881 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26882
26883         * docs/pwg/building-filterfactory.xml:
26884         * docs/pwg/pwg.xml:
26885           Remove never-written filter-factory chapter; I'll add the various
26886           base classes to part 4 ("other element types") later on.
26887
26888 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26889
26890         * docs/pwg/advanced-negotiation.xml:
26891         * docs/pwg/building-boiler.xml:
26892         * docs/pwg/building-pads.xml:
26893         * docs/pwg/pwg.xml:
26894         * examples/pwg/Makefile.am:
26895           Add a chapter on caps negotiation, simplify the original code
26896           samples a bit w.r.t. caps negotiation, add link to the advanced
26897           section. Add a bunch of examples showing different use cases of
26898           different types of caps negotiation. Upstream renegotiation isn't
26899           fully documented yet since nobody knows how that works.
26900
26901 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26902
26903         * check/gst/gstpad.c:
26904         * check/gstcheck.c:
26905         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26906           if pad has no parent, return NULL as list of internal links
26907
26908 2005-07-05  Andy Wingo  <wingo@pobox.com>
26909
26910         * gst/elements/gstfilesrc.c:
26911         * gst/elements/gstfakesrc.c: 
26912         * gst/base/gstpushsrc.c:
26913         * gst/base/gstbasesrc.h: 
26914         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26915         
26916 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26917
26918         * Makefile.am:
26919           better report generation target (lcov needs a patch)
26920
26921 2005-07-05  Andy Wingo  <wingo@pobox.com>
26922
26923         * gst/elements, testsuite: Null if we got it...
26924
26925 2005-07-05  Wim Taymans  <wim@fluendo.com>
26926
26927         * configure.ac:
26928         * libs/gst/dataprotocol/Makefile.am:
26929         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26930         * libs/gst/dataprotocol/dataprotocol.h:
26931         * pkgconfig/Makefile.am:
26932         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26933         * pkgconfig/gstreamer-dataprotocol.pc.in:
26934         Ported dataprotol to 0.9. 
26935         Added pkgconfig files.
26936
26937 2005-07-05  Andy Wingo  <wingo@pobox.com>
26938
26939         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26940         Default to returning TRUE for the case when tranform_caps returns
26941         a fixed caps, like for identity or volume.
26942
26943         * check/gst/gstbus.c (pound_bus_with_messages): 
26944         * check/gst/gstmessage.c (START_TEST): 
26945         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26946         message API change.
26947
26948         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26949         logic weaks here: always run transform_caps, trying passthrough
26950         operation only if the original caps intersects with the transform.
26951
26952         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26953         source and sink caps.
26954
26955         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26956         Intersect the peer caps with the pad template before going into
26957         transform_caps.
26958         (gst_base_transform_transform_caps): More debugging.
26959
26960         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26961         src argument.
26962
26963 2005-07-04  Edward Hervey  <edward@fluendo.com>
26964
26965         * gst/gstutils.c:
26966         * gst/gstutils.h:
26967         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26968         in bindings.
26969
26970 2005-07-04  Andy Wingo  <wingo@pobox.com>
26971
26972         * check/gst/gstpad.c: Only set explicit caps on pads.
26973
26974 2005-07-01  Andy Wingo  <wingo@pobox.com>
26975
26976         * tests/network-clock.scm: Commentary update.
26977
26978         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26979         Didn't really make sense, not implementable with basetransform,
26980         etc.
26981         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26982         attempt at implementing the sync property, needs an unlock method.
26983
26984         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26985         New func, by default returns the same caps (the identity
26986         transformation).
26987         (gst_base_transform_getcaps): Uses transform_caps to return
26988         something sensible.
26989         (gst_base_transform_setcaps): Complicated logic to get caps on
26990         both pads, even if they are different, and to call set_caps once
26991         for every time both pads get their caps set.
26992         (gst_base_transform_handle_buffer): Give the ref to the transform
26993         function. Allows in-place modification of the buffer.
26994
26995         * gst/base/gstbasetransform.h (transform_caps): New class method.
26996         Given caps on one side, what can I do on the other.
26997         (set_caps): Take two caps, one for each side of the element.
26998
26999         * gst/gstpad.h:
27000         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
27001         caps in place. This is safe because we can check the mutability of
27002         the caps, and a good idea because fixate functions are just called
27003         as a matter of last resort. (Not actually implemented.)
27004         (gst_pad_set_caps): If the caps we're setting is actually the same
27005         as the existing pad caps, just update the pointer without calling
27006         setcaps. Assert that caps is either NULL or fixed, as per the
27007         docs.
27008
27009         * gst/gstghostpad.c: Update for fixate changes.
27010
27011 2005-07-02  Andy Wingo  <wingo@pobox.com>
27012
27013         * gst/gstcaps.c:
27014         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
27015         two refcounts makes it immutable, which is enough. Doc more.
27016
27017 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
27018
27019         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
27020           Put the mini_object into GValue as a mini_object,
27021           not a gpointer, since that's how we declared
27022           the signal.
27023
27024 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27025
27026         * examples/pwg/Makefile.am:
27027           Fix buildbot again.
27028
27029 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27030
27031         * docs/pwg/building-testapp.xml:
27032           Add extra check.
27033         * examples/pwg/Makefile.am:
27034           Fix buildbot.
27035
27036 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27037
27038         * configure.ac:
27039         * examples/Makefile.am:
27040         * examples/pwg/Makefile.am:
27041         * examples/pwg/extract.pl:
27042           Enable building the PWG examples.
27043         * docs/pwg/advanced-interfaces.xml:
27044           Add URI interface stub.
27045         * docs/pwg/advanced-types.xml:
27046         * docs/pwg/other-autoplugger.xml:
27047         * docs/pwg/appendix-porting.xml:
27048         * docs/pwg/pwg.xml:
27049           Add porting guide (mostly stubs), remove autoplugging (see ADM).
27050         * docs/pwg/building-boiler.xml:
27051         * docs/pwg/building-chainfn.xml:
27052         * docs/pwg/building-pads.xml:
27053         * docs/pwg/building-props.xml:
27054         * docs/pwg/building-state.xml:
27055         * docs/pwg/building-testapp.xml:
27056           Update the building-*.xml parts for 0.9 changes. All examples
27057           code blocks compile in examples/pwg/*.
27058
27059 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27060
27061         * docs/manual/advanced-autoplugging.xml:
27062         * docs/manual/appendix-checklist.xml:
27063         * docs/manual/appendix-integration.xml:
27064         * docs/manual/highlevel-components.xml:
27065           Fix playbin/decodebin examples, update docs a bit, mention bus
27066           instead of signals in various places, mention kmplayer and
27067           kaffeine since they have a working GStreamer backend in the KDE
27068           section.
27069
27070 2005-06-30  Wim Taymans  <wim@fluendo.com>
27071
27072         * CHANGES-0.9:
27073         * docs/design/draft-ghostpads.txt:
27074         * docs/design/draft-push-pull.txt:
27075         * docs/design/draft-query.txt:
27076         * docs/design/part-TODO.txt:
27077         * docs/design/part-query.txt:
27078         Added CHANGES-0.9 doc, updated status of other docs.
27079         
27080         * gst/gstquery.h:
27081         Remove "hmm" macro
27082
27083 2005-06-30  Wim Taymans  <wim@fluendo.com>
27084
27085         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27086         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27087         (gst_base_sink_change_state):
27088         * gst/base/gstbasesink.h:
27089         Some tweaks, only EOS and a buffer complete a preroll.
27090
27091 2005-06-30  Andy Wingo  <wingo@pobox.com>
27092
27093         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27094         activate_push down to the internal pad as well.
27095
27096 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
27097
27098         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27099
27100         * gst/gsttaginterface.c:
27101           Some documentation fixes (#307394 and #307397).
27102
27103 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
27104
27105         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27106
27107         * gst/gstvalue.c: (gst_value_intersect_list):
27108           Fix memleak (#309125).
27109
27110 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27111
27112         * docs/manual/advanced-dataaccess.xml:
27113           Fix fakesrc example to compile; doesn't work, bug somewhere...?
27114         * docs/manual/basics-pads.xml:
27115           Add reference for filtered caps to above chapter.
27116
27117 2005-06-30  Wim Taymans  <wim@fluendo.com>
27118
27119         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27120         (gst_bin_change_state):
27121         Probes are gone.
27122         Lame attempt at making the state change function a bit
27123         more readable.
27124
27125 2005-06-30  Wim Taymans  <wim@fluendo.com>
27126
27127         * docs/design/part-clocks.txt:
27128         * docs/design/part-element-sink.txt:
27129         * docs/design/part-events.txt:
27130         * docs/design/part-preroll.txt:
27131         * docs/design/part-states.txt:
27132         Some more tweeks and additions to the docs.
27133
27134 2005-06-30  Wim Taymans  <wim@fluendo.com>
27135
27136         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27137         (default_have_data), (gst_pad_class_init), (gst_pad_init),
27138         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27139         (gst_pad_check_pull_range), (gst_pad_get_range),
27140         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27141         * gst/gstpad.h:
27142         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27143         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27144         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27145         (gst_pad_remove_buffer_probe):
27146         Removed atomic operations, use existing LOCK.
27147         Move exception handling out of main code path.
27148
27149 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27150
27151         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27152         (silly_return_true_function), (gst_pad_class_init),
27153         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27154         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27155         (gst_pad_send_event):
27156           Fix accumulator, add default value by using _emitv() instead
27157           of _emit() for signal emission.
27158
27159 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27160
27161         * docs/manual/advanced-dataaccess.xml:
27162         * examples/manual/Makefile.am:
27163           Add probe example.
27164         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27165           Make work (??).
27166
27167 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
27168
27169         * gst/elements/gstfilesink.c: (gst_filesink_render):
27170           Simplify code so that we don't have to handle short
27171           writes and return GST_FLOW_ERROR if an error occured.
27172
27173 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27174
27175         * docs/gst/gstreamer-docs.sgml:
27176           Remove probes more.
27177
27178 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27179
27180         * docs/gst/gstreamer-sections.txt:
27181         * docs/gst/tmpl/gstpad.sgml:
27182         * docs/gst/tmpl/gstprobe.sgml:
27183         * gst/Makefile.am:
27184         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27185         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27186         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27187         (gst_pad_push_event), (gst_pad_send_event):
27188         * gst/gstpad.h:
27189         * gst/gstutils.c: (gst_pad_add_data_probe),
27190         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27191         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27192         (gst_pad_remove_buffer_probe):
27193         * gst/gstutils.h:
27194           Remove old probes, add new g-signal-based probes and some utility
27195           functions.
27196
27197 2005-06-29  Edward Hervey  <edward@fluendo.com>
27198
27199         * gst/gstelementfactory.c:
27200         * gst/gstutils.h:
27201         * gst/gstutils.c:
27202         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27203         the definition to the header file.
27204
27205 2005-06-29  Andy Wingo  <wingo@pobox.com>
27206
27207         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27208         plugins from the source directory.
27209
27210 2005-06-29  Wim Taymans  <wim@fluendo.com>
27211
27212         * docs/gst/tmpl/gstbuffer.sgml:
27213         * docs/gst/tmpl/gstclock.sgml:
27214         Some fixings for blantently wrong text.
27215
27216 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27217
27218         * check/Makefile.am:
27219         * gst/gst.c: (add_path_func), (init_pre):
27220         * gst/gstregistry.c: (gst_registry_add_path):
27221           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27222           only scan the GST_PLUGIN_PATH locations, and not add
27223           system locations
27224
27225 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27226
27227         * docs/gst/gstreamer-sections.txt:
27228         * docs/gst/tmpl/gstbasesrc.sgml:
27229         * gst/gstelement.c:
27230         * gst/gstelement.h:
27231         * gst/gstevent.c:
27232         * gst/gstutils.c:
27233           doc fixes
27234
27235 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27236
27237         * docs/manual/advanced-autoplugging.xml:
27238           Fix autoplugging example.
27239
27240 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27241
27242         * docs/manual/advanced-autoplugging.xml:
27243         * docs/manual/mime-world.fig:
27244           Try to get autoplugging working, fix type detection. Fix text
27245           in hello-world image.
27246
27247 2005-06-29  Wim Taymans  <wim@fluendo.com>
27248
27249         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27250         (gst_base_sink_change_state):
27251         Small debug line.
27252
27253         * gst/gstclock.h:
27254         map SIGNAL and BROADCAST to the right function.
27255
27256         * gst/gstobject.h:
27257         Remove redundant braces.
27258
27259         * gst/gstpad.c: (gst_pad_set_caps):
27260         Don't call setcaps function when reseting caps to NULL.
27261
27262         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27263         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27264         (gst_system_clock_id_unschedule):
27265         Use BROADCAST as this is what we do.
27266
27267 2005-06-29  Wim Taymans  <wim@fluendo.com>
27268
27269         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27270         We are actually prerolling before commiting the state
27271         change. 
27272
27273 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27274
27275         * docs/manual/advanced-clocks.xml:
27276         * docs/manual/advanced-interfaces.xml:
27277         * docs/manual/advanced-metadata.xml:
27278         * docs/manual/advanced-position.xml:
27279         * docs/manual/advanced-schedulers.xml:
27280         * docs/manual/advanced-threads.xml:
27281         * docs/manual/appendix-porting.xml:
27282         * docs/manual/basics-bins.xml:
27283         * docs/manual/basics-bus.xml:
27284         * docs/manual/basics-elements.xml:
27285         * docs/manual/basics-helloworld.xml:
27286         * docs/manual/basics-pads.xml:
27287         * docs/manual/highlevel-components.xml:
27288         * docs/manual/manual.xml:
27289         * docs/manual/thread.fig:
27290           Update (until threads/scheduling) Application Development Manual;
27291           remove GstThread, add GstBus, add simple porting checklist, add
27292           documentation for tag writing, clocks, make all examples until this
27293           part compile and run.
27294         * examples/manual/Makefile.am:
27295           Update from changes to Application Development Manual; add bus
27296           example, remove thread example.
27297
27298 2005-06-28  Wim Taymans  <wim@fluendo.com>
27299
27300         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27301         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27302         (gst_bus_source_dispatch):
27303         Add debugging messages.
27304         Make internal methods static.
27305         Handle the case where the bus is flushed in the handler.
27306         
27307         * gst/gstelement.c: (gst_element_get_bus):
27308         Fix refcount in _get_bus();
27309
27310         * gst/gstpipeline.c: (gst_pipeline_change_state),
27311         (gst_pipeline_get_clock_func):
27312         Clock refcounting fixes.
27313         Handle the case where preroll timed out more gracefully.
27314         
27315         * gst/gstsystemclock.c: (gst_system_clock_dispose):
27316         Clean up the internal thread in dispose. This is needed
27317         for subclasses that actually get disposed.
27318         
27319         * gst/schedulers/threadscheduler.c:
27320         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27321         (gst_thread_scheduler_dispose):
27322         Free thread pool in dispose.
27323
27324 2005-06-28  Andy Wingo  <wingo@pobox.com>
27325
27326         * tests/network-clock-utils.scm (debug, print-event): New utils.
27327
27328         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27329         (*packet-loss*): Unified loss probability.
27330         (network-time): Report out-of-band events.
27331
27332         * tests/plot-data: Add support for out-of-band events. Hack it
27333         into this script instead of passing it down the pipe; should fix
27334         this later.
27335
27336 2005-06-28  Wim Taymans  <wim@fluendo.com>
27337
27338         * docs/gst/gstreamer.types:
27339         * docs/gst/tmpl/gstbasesrc.sgml:
27340         * docs/gst/tmpl/gstpad.sgml:
27341         Docs fixes.
27342
27343 2005-06-28  Wim Taymans  <wim@fluendo.com>
27344
27345         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27346         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27347         (gst_proxy_pad_do_fixatecaps):
27348         Correctly proxy the check_pull_range function.
27349
27350 2005-06-28  Andy Wingo  <wingo@pobox.com>
27351
27352         * tests/network-clock.scm: Removed need for slib.
27353         
27354 2005-06-28  Wim Taymans  <wim@fluendo.com>
27355
27356         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27357         (gst_basesink_preroll_queue_flush):
27358         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27359         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27360         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27361         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27362         (gst_proxy_pad_set_property):
27363         * gst/gstpad.c:
27364         * gst/gstpad.h:
27365         * gst/gstqueue.c: (gst_queue_init):
27366         The deprecated pad loop function is removed now.
27367
27368 2005-06-28  Andy Wingo  <wingo@pobox.com>
27369
27370         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27371         New parameters, simulate network packet loss.
27372
27373         * tests/network-clock-utils.scm: Initialize the RNG.
27374
27375 2005-06-28  Wim Taymans  <wim@fluendo.com>
27376
27377         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27378         (gst_basesink_event), (gst_basesink_deactivate):
27379         Flushing the preroll queue always needs to unlock the waiters.
27380
27381 2005-06-28  Edward Hervey  <edward@fluendo.com>
27382
27383         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27384         Wheen a seek was successful on a pipeline, set the stream_time to the
27385         seek offset in order to have a synchronized stream_time.
27386
27387 2005-06-28  Wim Taymans  <wim@fluendo.com>
27388
27389         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27390         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27391         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27392         (gst_proxy_pad_do_fixatecaps):
27393         Call wrapper function instead of just calling the function
27394         pointers. This takes care of any locking and whatmore.
27395
27396 2005-06-28  Wim Taymans  <wim@fluendo.com>
27397
27398         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27399         (gst_pad_pull_range):
27400         * gst/gstpad.h:
27401         CONNECTED -> LINKED.
27402
27403 2005-06-28  Andy Wingo  <wingo@pobox.com>
27404
27405         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27406         source-munging commit!!!
27407
27408         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27409         (gst_object_sink): Take gpointer arguments, not GstObject --
27410         avoids casts. Like GLib.
27411
27412         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27413         activate.
27414
27415 2005-06-27  Andy Wingo  <wingo@pobox.com>
27416
27417         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27418         remaining buffer.
27419
27420         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27421         returns a sorted copy of the trace list.
27422         (gst_alloc_trace_print_live): New API, only prints traces with
27423         live objects. Sort the list.
27424         (gst_alloc_trace_print_all): Sort the list.
27425         (gst_alloc_trace_print): Align columns.
27426
27427         * gst/elements/gstttypefindelement.c:
27428         * gst/elements/gsttee.c:
27429         * gst/base/gstbasesrc.c:
27430         * gst/base/gstbasesink.c:
27431         * gst/base/gstbasetransform.c:
27432         * gst/gstqueue.c: Adapt for pad activation changes.
27433
27434         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27435         sched.
27436         (gst_pipeline_dispose): Drop ref on sched.
27437
27438         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27439         (gst_pad_activate_default): Push mode by default.
27440         (pre_activate_switch, post_activate_switch): New stubs, things to
27441         do before and after switching activation modes on pads.
27442         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27443         the pad's activate function to choose which mode to activate.
27444         Shortcut on deactivation and call the right function directly.
27445         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27446         mode.
27447         (gst_pad_activate_push): New API, same for push mode.
27448         (gst_pad_set_activate_function) 
27449         (gst_pad_set_activatepull_function) 
27450         (gst_pad_set_activatepush_function): Setters for new API.
27451
27452         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27453         Trace all miniobjects.
27454         (gst_mini_object_make_writable): Unref the arg if we copy, like
27455         gst_caps_make_writable.
27456
27457         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27458
27459         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27460         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27461         Adapt for new pad API.
27462
27463         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27464
27465         * gst/gstelement.h:
27466         * gst/gstelement.c (gst_element_iterate_src_pads) 
27467         (gst_element_iterate_sink_pads): New API functions.
27468         
27469         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27470         should fold into gstiterator.c in some form.
27471         (gst_element_pads_activate): Simplified via use of fold and
27472         delegation of decisions to gstpad->activate.
27473
27474         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27475         help in debugging.
27476
27477         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27478         class once in init, like gstmessage. Didn't run into this issue
27479         but it seems correct. Don't initialize a trace, gstminiobject does
27480         that.
27481
27482         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27483         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27484         to the bus.
27485         (assert_live_count): New util function, uses alloc traces to check
27486         cleanup.
27487
27488         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27489         To be modified when unlink drops the internal pad.
27490
27491 2005-06-27  Wim Taymans  <wim@fluendo.com>
27492
27493         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27494         (gst_bin_change_state):
27495         Cleanup the get_state() function a little, make sure it
27496         iterates the same set of elements.
27497         Added stub iterate_state_order().
27498
27499 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27500
27501         * docs/gst/gstreamer-docs.sgml:
27502         * docs/gst/gstreamer-sections.txt:
27503         * docs/gst/gstreamer.types:
27504         * docs/gst/tmpl/gstbasesink.sgml:
27505         * docs/gst/tmpl/gstbasesrc.sgml:
27506         * docs/gst/tmpl/gstbasetransform.sgml:
27507         * docs/gst/tmpl/gstelement.sgml:
27508         * docs/gst/tmpl/gstiterator.sgml:
27509         * gst/base/gstbasesrc.c:
27510         * gst/base/gstbasesrc.h:
27511         * gst/base/gstbasetransform.h:
27512         * gst/gstelement.c:
27513         * gst/gstiterator.h:
27514           adding basetransform and iterator docs
27515
27516 2005-06-27  Andy Wingo  <wingo@pobox.com>
27517
27518         * docs/design/part-activation.txt: Notes on how activation should
27519         work -- not quite implemented yet.
27520
27521 2005-06-25  Wim Taymans  <wim@fluendo.com>
27522
27523         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27524         At least get the chain function correct, needs more
27525         fixing.
27526
27527 2005-06-25  Wim Taymans  <wim@fluendo.com>
27528
27529         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27530         (gst_basesink_handle_object), (gst_basesink_event),
27531         (gst_basesink_do_sync), (gst_basesink_handle_event),
27532         (gst_basesink_change_state):
27533         * gst/gsttask.h:
27534         Right, two problems here: ghostpads don't take locks and
27535         glib _rec_mutex_lock_full() with depth==0 still locks.
27536         Catch illegal locking and g_warn them.
27537
27538 2005-06-25  Wim Taymans  <wim@fluendo.com>
27539
27540         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27541         Have to check for completion now...
27542
27543 2005-06-25  Wim Taymans  <wim@fluendo.com>
27544
27545         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27546         (gst_basesink_handle_object), (gst_basesink_event),
27547         (gst_basesink_do_sync), (gst_basesink_handle_event),
27548         (gst_basesink_change_state):
27549         * gst/gstpad.h:
27550         Unlock STREAM_LOCK whatever the recursion was.
27551
27552 2005-06-25  Wim Taymans  <wim@fluendo.com>
27553
27554         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27555         (gst_basesink_preroll_queue_empty),
27556         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27557         (gst_basesink_event), (gst_basesink_do_sync),
27558         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27559         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27560         (gst_basesink_change_state):
27561         Reworked the base sink, handle event and buffer serialisation
27562         correctly and removed possible deadlock.
27563         Handle EOS correctly.
27564
27565 2005-06-25  Wim Taymans  <wim@fluendo.com>
27566
27567         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27568         (gst_pipeline_change_state):
27569         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27570         Allow elements to post EOS in the state change function.
27571         Fix up -launch, make it exit the poll loop when the
27572         pipeline actually changed state.
27573         Fix up warning parsing in -launch.
27574
27575 2005-06-25  Wim Taymans  <wim@fluendo.com>
27576
27577         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27578         (gst_tee_sink_activate):
27579         Core takes STREAM_LOCK for us now.
27580
27581 2005-06-25  Wim Taymans  <wim@fluendo.com>
27582
27583         * gst/gstelement.c: (gst_element_get_state_func),
27584         (gst_element_set_state):
27585         * gst/gstelement.h:
27586         * gst/gstmessage.c: (gst_message_parse_error),
27587         (gst_message_parse_warning):
27588         Keep track of current target state while performing a state
27589         change so that subclasses can do something interesting.
27590         Fix parsing of warning/error messages when GError is NULL.
27591
27592 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27593
27594         * docs/gst/Makefile.am:
27595         * docs/gst/gstreamer-docs.sgml:
27596         * docs/gst/gstreamer-sections.txt:
27597         * docs/gst/gstreamer.types:
27598         * docs/gst/tmpl/gstbasesink.sgml:
27599         * docs/gst/tmpl/gstbasesrc.sgml:
27600         * docs/gst/tmpl/gstbin.sgml:
27601         * docs/gst/tmpl/gstcompat.sgml:
27602         * docs/gst/tmpl/gstfakesink.sgml:
27603         * docs/gst/tmpl/gstfakesrc.sgml:
27604         * docs/gst/tmpl/gstfilesink.sgml:
27605         * docs/gst/tmpl/gstfilesrc.sgml:
27606         * docs/gst/tmpl/gstindex.sgml:
27607         * docs/manual/appendix-quotes.xml:
27608         * gst/base/gstbasesrc.h:
27609         * gst/elements/gstfakesrc.h:
27610         * gst/gstmessage.h:
27611           start pulling in base classes and elements in our docs
27612
27613 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27614
27615         * docs/gst/Makefile.am:
27616         * docs/libs/Makefile.am:
27617           fixed make distcheck with gtk-doc 1.3
27618
27619 2005-06-23  Wim Taymans  <wim@fluendo.com>
27620
27621         * gst/gstelement.c: (gst_element_get_state_func),
27622         (gst_element_set_state), (gst_element_change_state):
27623         When the state did not change, also report NO_PREROLL
27624         when it matters.
27625
27626 2005-06-23  Wim Taymans  <wim@fluendo.com>
27627
27628         * gst/gstpad.c: (gst_pad_event_default):
27629         * gst/gstqueue.c: (gst_queue_loop):
27630         No unsafe task pausing please.
27631
27632 2005-06-23  Wim Taymans  <wim@fluendo.com>
27633
27634         * gst/schedulers/threadscheduler.c:
27635         (gst_thread_scheduler_task_start),
27636         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27637         Ref the task before pushing it on the threadpool. This
27638         makes sure that we have a ref when the threadfunction is
27639         actually called.
27640
27641 2005-06-23  Andy Wingo  <wingo@pobox.com>
27642
27643         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27644         offset is greater than the file's size.
27645
27646         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27647         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27648         * gst/gstobject.c (gst_object_class_init): Make the class lock
27649         recursive. Wim won't let me drop deep_notify. Decodebin works
27650         again, whoopdy doo.
27651
27652         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27653         internal pad, and hacks accordingly. Doesn't do it on the target
27654         pad because we change its caps. Probably catches all cases of
27655         interest tho.
27656         (gst_ghost_pad_set_property): Connect to notify::caps as
27657         appropritate.
27658
27659         * tests/network-clock.scm (plot-simulation): Pipe data to the
27660         elite python skript.
27661
27662         * tests/network-clock-utils.scm (define-parameter): New macro,
27663         defines a parameter that can be set via the command line.
27664         (set-parameter!, parse-parameter-arguments): Command line args
27665         parser.
27666
27667         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27668         stdin.
27669
27670 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27671
27672         * gst/elements/gsttypefindelement.c:
27673         (gst_type_find_element_handle_event):
27674           Don't restart typefinding on a discont.
27675         * gst/gstelement.c: (gst_element_set_state):
27676           Debug spelling fix.
27677         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27678           Allow changing mode of an active pad.
27679           Debug output fixes.
27680         * gst/registries/gstlibxmlregistry.c: (load_feature):
27681           Don't cast a static pad template to a normal pad template.
27682
27683 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27684
27685         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27686         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27687           remove gst_strtoll completely, since it didn't actually do
27688           anything more than what g_ascii_strtoull already does.
27689           check for range errors when deserializing
27690           do a cast for the unsigned cases; but further fixing needs
27691           a decision on what the interpretation of "(int)" and
27692           deserialization should be for values that fall outside the
27693           type's boundaries (ie, refuse, or interpret as casting)
27694
27695 2005-06-23  Wim Taymans  <wim@fluendo.com>
27696
27697         * check/Makefile.am:
27698         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27699         * docs/design/part-live-source.txt:
27700         * docs/design/part-states.txt:
27701         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27702         (gst_basesrc_set_live), (gst_basesrc_is_live),
27703         (gst_basesrc_get_range), (gst_basesrc_activate),
27704         (gst_basesrc_change_state):
27705         * gst/base/gstbasesrc.h:
27706         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27707         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27708         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27709         * gst/gstelement.c: (gst_element_get_state_func),
27710         (gst_element_set_state):
27711         * gst/gstelement.h:
27712         * gst/gsttypes.h:
27713         * tools/gst-launch.c: (event_loop), (main):
27714         Added support for live sources and other elements that
27715         cannot do preroll.
27716         Updated design docs, added live-source design doc.
27717         Implemented live source functionality in basesrc
27718         Fix error condition in _bin_get_state()
27719         Implement live source handling in -launch.
27720         Added check for live sources.
27721         Fixed case in GstBin where elements were changed state
27722         multiple times.
27723
27724
27725 2005-06-23  Andy Wingo  <wingo@pobox.com>
27726
27727         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27728         borken refcounting.
27729
27730         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27731         gst_caps_replace takes care of this for us.
27732
27733         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27734         gst_pad_set_caps on the target, not just its setcaps() function.
27735
27736         * tests/network-clock.scm: 
27737         * tests/network-clock-utils.scm: A network clock simulator.
27738         Something of an algorithmic testbed before doing something in C.
27739
27740 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27741
27742         * check/Makefile.am:
27743         * check/gst/capslist.h:
27744           copy over from 0.8, and add two with bitmasks specified with
27745           (int) 0xFF...
27746         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27747           add test to parse everything from capslist.h
27748         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27749         (main):
27750           add test for structure deserialization
27751         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27752           add tests for deserialization of strings to int types
27753         * gst/gststructure.c: (gst_structure_nth_field_name):
27754         * gst/gststructure.h:
27755           add a way to get the name of a field referenced by index
27756         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27757           instead of checking if the resulting long long lies between
27758           min and max, we check if the long long would fit into
27759           a number of bytes for the final type.
27760           This fixes cases where a string represents 2^32 - 1, which
27761           when cast to int would be the (valid) -1, but is bigger than
27762           G_MAXINT
27763
27764 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27765
27766         * gst/parse/grammar.y:
27767           add a log line for type deserialization
27768
27769 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27770
27771         * check/gst/gstvalue.c: (START_TEST):
27772         * gst/gstvalue.c: (gst_value_deserialize):
27773           return long long, not int, so gint64 deserialization actually
27774           works.  Is there any flag that makes the compiler check this ?
27775           Fixes #308559
27776
27777 2005-06-22  Wim Taymans  <wim@fluendo.com>
27778
27779         * gst/gstbuffer.h:
27780         Added convenience macros for setting buffers in GValue.
27781
27782 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27783
27784         * check/gst/.cvsignore:
27785         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27786           add a test deserializing int64, and comment part out because
27787           it fails, yay !
27788
27789 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27790
27791         * check/Makefile.am:
27792         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27793         * testsuite/Makefile.am:
27794         * testsuite/caps/Makefile.am:
27795         * testsuite/caps/value_serialize.c:
27796         * testsuite/test_gst_init.c:
27797           move a value_serialize test over
27798
27799 2005-06-20  Wim Taymans  <wim@fluendo.com>
27800
27801         * gst/gstpad.c:
27802         Small doc updates.
27803         
27804         * gst/gstvalue.c: (gst_value_compare_buffer),
27805         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27806         (gst_value_compare_flags), (gst_value_serialize_flags),
27807         (gst_value_deserialize_flags), (_gst_value_initialize):
27808         Fix serialisation of buffers, they are not boxed types anymore
27809
27810 2005-06-20  Wim Taymans  <wim@fluendo.com>
27811
27812         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27813         Testcase to show error in buffer-on-caps serialisation.
27814
27815 2005-06-20  Andy Wingo  <wingo@pobox.com>
27816
27817         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27818         will be adding to later.
27819
27820         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27821         if its socks fill with rocks.
27822         (gst_system_clock_obtain): Set the name on object construction.
27823         Avoid double-checked locking.
27824
27825 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27826
27827         * gst/gsturi.c: (gst_element_make_from_uri):
27828           Fix potential endless loop.
27829
27830 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27831
27832         * check/Makefile.am:
27833           add gsttag
27834         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27835         (main):
27836           move over from testsuite dir and clean up
27837         * configure.ac:
27838         * gst/gsttag.c:
27839         * testsuite/Makefile.am:
27840         * testsuite/tags/.cvsignore:
27841         * testsuite/tags/Makefile.am:
27842         * testsuite/tags/merge.c:
27843           remove testsuite/tags
27844
27845 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27846
27847         * docs/gst/gstreamer-sections.txt:
27848         * docs/gst/tmpl/gstenumtypes.sgml:
27849         * win32/gstenumtypes.c:
27850           clean up documentation build a little
27851
27852 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27853
27854         * check/gstcheck.h:
27855           add macros for checking refcounts on objects and caps
27856         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27857           add some more unit tests
27858         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27859         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27860           fix leaked refcounts (I hope :)) so unittest works
27861         * gst/gstpad.h:
27862           whitespace removal
27863
27864 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27865
27866         * configure.ac: back to HEAD
27867
27868 === release 0.9.1 ===
27869
27870 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27871
27872         * NEWS:
27873         * RELEASE:
27874           updated
27875
27876 2005-06-17  Andy Wingo  <wingo@pobox.com>
27877
27878         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27879         assert; it's always possible that the pad gets deactivated in
27880         between the checks in gstpad.c and the implementation. Rely on
27881         finish_preroll() to return a FLUSHING or similar instead of on the
27882         assert.
27883         
27884         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27885         clock and post an EOS message if we come out of finish_preroll in
27886         the playing state.
27887
27888 2005-06-16  David Schleef  <ds@schleef.org>
27889
27890         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27891         (gst_capsfilter_set_property): Allow NULL as possible value
27892         for filter_caps property, indicating GST_CAPS_ANY.
27893
27894 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27895
27896         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27897           fix debug output
27898         * gst/schedulers/Makefile.am:
27899           use libgst prefix
27900         * gstreamer.spec.in:
27901           fix spec for it
27902
27903 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27904
27905         * gstreamer.spec.in:
27906           clean up
27907
27908 2005-06-08  Andy Wingo  <wingo@pobox.com>
27909
27910         * gst/gstutils.c: RPAD fixes all around.
27911         (gst_element_link_pads): Refcounting fixes.
27912
27913         * tools/gst-inspect.c:
27914         * tools/gst-xmlinspect.c:
27915         * parse/grammar.y:
27916         * gst/base/gsttypefindhelper.c:
27917         * gst/base/gstbasesink.c:
27918         * gst/gstqueue.c: RPAD fixes.
27919
27920         * gst/gstghostpad.h:
27921         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27922         pads. The tricky thing is they provide both source and sink
27923         interfaces, since they proxy the internal pad for the external
27924         pad, and vice versa. Implement with lower-level ProxyPad objects,
27925         with the interior proxy pad as a child of the exterior ghost pad.
27926         Should write a doc on this.
27927         
27928         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27929         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27930         gst_object API.
27931         
27932         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27933         pads are real pads. No ghost pads in this file. Not documenting
27934         the myriad s/RPAD/PAD/ and REALIZE fixes.
27935         (gst_pad_class_init): Add properties for "direction" and
27936         "template". Both are construct-only, so they can't change during
27937         the life of the pad. Fixes properly deriving from GstPad.
27938         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27939         derived objects, just set properties when creating the objects via
27940         g_object_new.
27941         (gst_pad_get_parent): Implement as a function, return NULL if the
27942         parent is not an element.
27943         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27944         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27945         
27946         * gst/gstobject.c (gst_object_class_init): Make name a construct
27947         property. Don't set it in the object init.
27948
27949         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27950         with UNKNOWN direction.
27951         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27952         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27953         (gst_element_remove_pad): Remove ghost-pad special cases.
27954         (gst_element_pads_activate): Remove rpad cruft.
27955
27956         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27957         catch the pad's-parent-not-an-element case.
27958
27959         * gst/gst.h: Include gstghostpad.h.
27960
27961         * gst/gst.c (init_post): No more real, ghost pads.
27962
27963         * gst/Makefile.am: Add gstghostpad.[ch].
27964
27965         * check/Makefile.am:
27966         * check/gst/gstbin.c:
27967         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27968         into a bin creates ghost pads, and that the refcounts are right.
27969         Partly moved from gstbin.c.
27970
27971 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27972
27973         * check/gst-libs/.cvsignore:
27974         * check/gst/.cvsignore:
27975         * check/pipelines/.cvsignore:
27976           ignore more
27977         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27978         (START_TEST), (cleanup_suite), (main):
27979           add some tests related to cleanup after running pipelines
27980
27981 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27982
27983         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27984           add a testsuite for GstBuffer
27985
27986 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27987
27988         * gst/gstminiobject.h:
27989           add defines for accessing the refcount
27990
27991 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27992
27993         * Makefile.am: added support for html unit test coverage reports
27994
27995 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27996
27997         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27998           Free existing caps if the capsfilter changes. Add a FIXME about
27999           setting those caps on the pads.
28000
28001         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
28002           Before adding a ghost pad to a parent bin, check that there isn't
28003           already one for the element on the bin. Prevents infinite recursion
28004           when using decodebin in parse pipelines. Andy says he'll rewrite the
28005           way this works anyway, so ignore the hack.
28006
28007 2005-06-02  Andy Wingo  <wingo@pobox.com>
28008
28009         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
28010         file size, pass it on to the type find helper.
28011
28012         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
28013         segment_start and segment_end properly according to the seek
28014         method. Segment_end is still a bit flaky because offset can be
28015         negative for CUR and END cases, but it takes -1 as an "unset"
28016         value.
28017
28018 2005-06-02  Wim Taymans  <wim@fluendo.com>
28019
28020         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
28021         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
28022         (gst_basesink_activate):
28023         * gst/base/gstbasesink.h:
28024         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28025         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28026         (gst_pad_query), (gst_pad_start_task):
28027         * gst/gstpad.h:
28028         * gst/gstqueue.c: (gst_queue_bufferalloc),
28029         (gst_queue_handle_sink_event), (gst_queue_chain):
28030         Bufferalloc: return GstFlowReturn to more accuratly report
28031         why allocation failed.
28032
28033 2005-06-02  Wim Taymans  <wim@fluendo.com>
28034
28035         * gst/gstpipeline.c: (gst_pipeline_send_event):
28036         Take snapshot of state without blocking.
28037
28038 2005-06-02  Wim Taymans  <wim@fluendo.com>
28039
28040         * docs/design/part-TODO.txt:
28041         * docs/design/part-caps.txt:
28042         * docs/design/part-clocks.txt:
28043         * docs/design/part-negotiation.txt:
28044         * docs/design/part-preroll.txt:
28045         Small doc updates 
28046
28047 2005-05-30  Wim Taymans  <wim@fluendo.com>
28048
28049         * gst/elements/gstidentity.c: (gst_identity_event),
28050         (gst_identity_transform), (gst_identity_get_property):
28051         Protect last_message property as it is accessed from
28052         multiple threads.
28053
28054 2005-05-30  Wim Taymans  <wim@fluendo.com>
28055
28056         * gst/gstelement.c: (gst_element_init),
28057         (gst_element_pads_activate), (gst_element_change_state):
28058         Slicker pad activation code.
28059
28060 2005-05-30  Wim Taymans  <wim@fluendo.com>
28061
28062         * gst/Makefile.am:
28063         * gst/gstelement.h:
28064         * gst/gstelementfactory.h:
28065         * gst/gsttypes.h:
28066         Move elementfactory methods to separate .h file.
28067
28068 2005-05-30  Wim Taymans  <wim@fluendo.com>
28069
28070         * docs/design/part-overview.txt:
28071         * gst/gstsystemclock.h:
28072         Small typo fixes, doc updates.
28073
28074 2005-05-30  Wim Taymans  <wim@fluendo.com>
28075
28076         * gst/gst.c: (gst_init_get_popt_table), (init_post),
28077         (init_popt_callback):
28078         Remove cpu-opt flag.
28079
28080 2005-05-30  Wim Taymans  <wim@fluendo.com>
28081
28082         * gst/gstbuffer.c: (gst_subbuffer_finalize),
28083         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28084         * gst/gstbuffer.h:
28085         Avoid typechecking in places where not needed.
28086         Added accessor for malloc_data.
28087
28088 2005-05-30  Wim Taymans  <wim@fluendo.com>
28089
28090         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28091         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28092         (gst_pad_configure_sink), (gst_pad_configure_src),
28093         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28094         (gst_pad_start_task):
28095         Propagate errors from _set_caps() in configure_src/sink
28096         functions instead of returning TRUE.
28097         FLUSH events can travel up and downstream
28098
28099
28100 2005-05-30  Wim Taymans  <wim@fluendo.com>
28101
28102         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28103         (gst_basesink_activate):
28104         Handle EOS in preroll.
28105
28106 2005-05-30  Wim Taymans  <wim@fluendo.com>
28107
28108         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28109         (gst_queue_loop), (gst_queue_handle_src_event):
28110         Remove old pieces of code
28111         Flushing the queue in an upstream event is a very bad idea.
28112
28113 2005-05-26  Andy Wingo  <wingo@pobox.com>
28114
28115         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28116         gst_value_set_mini_object so as to add a ref on the object (which
28117         will be removed when the value is unset).
28118
28119         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28120         arg type in ::handoff.
28121
28122         * gst/gstelement.c (gst_element_change_state): Also deactivate
28123         pads in READY->NULL, just in case the element didn't make it to
28124         PAUSED. Wingo tested, Wim approved.
28125
28126 2005-05-26  Wim Taymans  <wim@fluendo.com>
28127
28128         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28129         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28130         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28131         A flushing pad cannot be used to alloc_buffer from.
28132
28133 2005-05-26  Wim Taymans  <wim@fluendo.com>
28134
28135         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28136         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28137         (gst_bus_source_dispatch), (gst_bus_source_finalize),
28138         (gst_bus_create_watch), (gst_bus_add_watch_full):
28139         * gst/gstbus.h:
28140         Implement a real GSource and use g_main_context_wakeup() to
28141         signal new messages instead of the socketpair.
28142
28143 2005-05-25  Wim Taymans  <wim@fluendo.com>
28144
28145         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28146         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28147         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28148         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28149         (gst_pad_send_event), (gst_pad_start_task):
28150         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28151         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28152         (gst_queue_sink_activate), (gst_queue_src_activate),
28153         (gst_queue_change_state):
28154         * gst/gstqueue.h:
28155         Fix state changes for non sinks. We now change sinks, then elements
28156         with unconnected srcpads, then the rest.
28157         More efficient queue unlocking in flush and state changes.
28158         Set the pad activate mode even if it does not have an activate
28159         function.
28160
28161 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28162
28163         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28164           Don't go in pull mode for non-seekable sources.
28165         * gst/elements/gsttypefindelement.h:
28166         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28167         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28168         (free_entry), (stop_typefinding),
28169         (gst_type_find_element_handle_event), (find_peek),
28170         (gst_type_find_element_chain), (do_pull_typefind),
28171         (gst_type_find_element_change_state):
28172           Allow typefinding (w/o seeking) in push-mode, simplified version
28173           of what was in 0.8.
28174         * gst/gstutils.c: (gst_buffer_join):
28175         * gst/gstutils.h:
28176           gst_buffer_join() from 0.8.
28177
28178 2005-05-25  Wim Taymans  <wim@fluendo.com>
28179
28180         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28181         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28182         (gst_pad_send_event), (gst_pad_start_task):
28183         Disable attempt at mode switching until it is figured out.
28184
28185 2005-05-25  Wim Taymans  <wim@fluendo.com>
28186
28187         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28188         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28189         (gst_basesink_finish_preroll), (gst_basesink_chain),
28190         (gst_basesink_loop), (gst_basesink_activate),
28191         (gst_basesink_change_state):
28192         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28193         (gst_basesrc_get_range), (gst_basesrc_loop),
28194         (gst_basesrc_activate):
28195         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28196         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28197         (gst_real_pad_init), (gst_real_pad_set_property),
28198         (gst_real_pad_get_property), (gst_pad_set_active),
28199         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28200         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28201         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28202         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28203         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28204         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28205         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28206         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28207         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28208         (gst_pad_stop_task):
28209         * gst/gstpad.h:
28210         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28211         (gst_queue_loop), (gst_queue_src_activate):
28212         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28213         (gst_task_get_state):
28214         * gst/gsttask.h:
28215         * gst/schedulers/threadscheduler.c:
28216         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28217         Implement gst_pad_pause/start/stop_task(), take STREAM lock
28218         in task function.
28219         Remove ACTIVE pad flag, use FLUSHING everywhere
28220         Added _pad_chain(), _pad_get_range() to call chain/getrange 
28221         functions.
28222         Add locks around IS_FLUSHING when reading.
28223         Take STREAM lock in chain(), get_range() functions so plugins
28224         don't need to take it anymore.
28225         
28226
28227
28228 2005-05-25  Wim Taymans  <wim@fluendo.com>
28229
28230         * tools/gst-launch.c: (event_loop):
28231         Unref message after using its contents instead of
28232         before.
28233
28234 2005-05-24  Wim Taymans  <wim@fluendo.com>
28235
28236         * docs/design/draft-ghostpads.txt:
28237         * docs/design/draft-push-pull.txt:
28238         * docs/design/draft-query.txt:
28239         * docs/design/part-overview.txt:
28240         Docs updates, added general overview doc.
28241
28242 2005-05-21  David Schleef  <ds@schleef.org>
28243
28244         * docs/gst/tmpl/old/GstBin.sgml:
28245         * docs/gst/tmpl/old/GstBuffer.sgml:
28246         * docs/gst/tmpl/old/GstCaps.sgml:
28247         * docs/gst/tmpl/old/GstClock.sgml:
28248         * docs/gst/tmpl/old/GstCompat.sgml:
28249         * docs/gst/tmpl/old/GstData.sgml:
28250         * docs/gst/tmpl/old/GstElement.sgml:
28251         * docs/gst/tmpl/old/GstEvent.sgml:
28252         * docs/gst/tmpl/old/GstIndex.sgml:
28253         * docs/gst/tmpl/old/GstStructure.sgml:
28254         * docs/gst/tmpl/old/GstTag.sgml:
28255         * docs/gst/tmpl/old/cothreads.sgml:
28256         * docs/gst/tmpl/old/cothreads_compat.sgml:
28257         * docs/gst/tmpl/old/gettext.sgml:
28258         * docs/gst/tmpl/old/gobject2gtk.sgml:
28259         * docs/gst/tmpl/old/grammar.tab.sgml:
28260         * docs/gst/tmpl/old/gst-i18n-app.sgml:
28261         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28262         * docs/gst/tmpl/old/gst_private.sgml:
28263         * docs/gst/tmpl/old/gstaggregator.sgml:
28264         * docs/gst/tmpl/old/gstarch.sgml:
28265         * docs/gst/tmpl/old/gstatomic_impl.sgml:
28266         * docs/gst/tmpl/old/gstbufferstore.sgml:
28267         * docs/gst/tmpl/old/gstdata_private.sgml:
28268         * docs/gst/tmpl/old/gstdisksink.sgml:
28269         * docs/gst/tmpl/old/gstdisksrc.sgml:
28270         * docs/gst/tmpl/old/gstelementfactory.sgml:
28271         * docs/gst/tmpl/old/gstextratypes.sgml:
28272         * docs/gst/tmpl/old/gstfakesink.sgml:
28273         * docs/gst/tmpl/old/gstfakesrc.sgml:
28274         * docs/gst/tmpl/old/gstfdsink.sgml:
28275         * docs/gst/tmpl/old/gstfdsrc.sgml:
28276         * docs/gst/tmpl/old/gstfilesink.sgml:
28277         * docs/gst/tmpl/old/gstfilesrc.sgml:
28278         * docs/gst/tmpl/old/gsthttpsrc.sgml:
28279         * docs/gst/tmpl/old/gstidentity.sgml:
28280         * docs/gst/tmpl/old/gstindexfactory.sgml:
28281         * docs/gst/tmpl/old/gstmarshal.sgml:
28282         * docs/gst/tmpl/old/gstmd5sink.sgml:
28283         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28284         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28285         * docs/gst/tmpl/old/gstpadtemplate.sgml:
28286         * docs/gst/tmpl/old/gstpipefilter.sgml:
28287         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28288         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28289         * docs/gst/tmpl/old/gstshaper.sgml:
28290         * docs/gst/tmpl/old/gstspider.sgml:
28291         * docs/gst/tmpl/old/gstspideridentity.sgml:
28292         * docs/gst/tmpl/old/gststatistics.sgml:
28293         * docs/gst/tmpl/old/gsttee.sgml:
28294         * docs/gst/tmpl/old/gsttimecache.sgml:
28295         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28296         * docs/gst/tmpl/old/gstxmlregistry.sgml:
28297         * docs/gst/tmpl/old/gthread-cothreads.sgml:
28298         * docs/gst/tmpl/old/types.sgml:
28299           I didn't intend to add these or check them in.
28300
28301 2005-05-19  David Schleef  <ds@schleef.org>
28302
28303         * configure.ac: Use -no-common everywhere.  In a sane world, it
28304           would be the default in libtool, because without it, you can't
28305           build DLLs on Windows.
28306         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28307         * docs/gst/gstreamer-sections.txt:
28308         * docs/gst/tmpl/gstcpu.sgml:
28309         * docs/gst/tmpl/gstdata.sgml:
28310         * docs/gst/tmpl/gstthread.sgml:
28311
28312 2005-05-19  David Schleef  <ds@schleef.org>
28313
28314         * gst/gstminiobject.c: (gst_value_set_mini_object),
28315         (gst_value_take_mini_object), (gst_value_get_mini_object):
28316         * gst/gstminiobject.h: Add GValue set/get functions.
28317
28318 2005-05-19  Wim Taymans  <wim@fluendo.com>
28319
28320         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28321         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28322         (gst_subbuffer_init), (gst_buffer_is_span_fast):
28323         * gst/gstbuffer.h:
28324         * gst/gstbus.c: (gst_bus_post):
28325         * gst/gstelement.c: (gst_element_get_random_pad):
28326         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28327         Make subbufer unref the parent in finalize.
28328         some more debugging info.
28329
28330
28331 2005-05-19  Wim Taymans  <wim@fluendo.com>
28332
28333         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28334         (gst_basesink_init), (gst_basesink_finalize),
28335         (gst_basesink_activate), (gst_basesink_change_state):
28336         Don't free preroll queue too early.
28337
28338 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28339
28340         * gst/Makefile.am:
28341         * gst/ROADMAP:
28342           Hi, I'm outdated. Please shoot me.
28343
28344 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28345
28346         * gst/gstpipeline.c: (gst_pipeline_send_event):
28347           Do not access variables after they have been deleted.
28348
28349 2005-05-19  Wim Taymans  <wim@fluendo.com>
28350
28351         * tools/gst-inspect.c: (print_plugin_features):
28352         A plugin feature does unfortunatly not use the
28353         object name yet...
28354
28355 2005-05-18  Wim Taymans  <wim@fluendo.com>
28356
28357         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28358         Port _span() functions to new subbuffers.
28359
28360 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28361
28362         * gst/gstbin.c: (gst_bin_add_func):
28363           Fix clock settery in bins when adding kids after the clock has
28364           been selected.
28365
28366 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28367
28368         * gst/elements/gstidentity.c: (gst_identity_class_init):
28369           Workaround until signals support GstMiniObject.
28370
28371 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28372
28373         * gst/gstbuffer.c:
28374         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28375
28376 2005-05-18  Wim Taymans  <wim@fluendo.com>
28377
28378         * gst/base/Makefile.am:
28379         * gst/base/gstadapter.c: (gst_adapter_base_init),
28380         (gst_adapter_class_init), (gst_adapter_init),
28381         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28382         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28383         (gst_adapter_flush), (gst_adapter_available),
28384         (gst_adapter_available_fast):
28385         * gst/base/gstadapter.h:
28386         Ported and added adapter to the base classes.
28387
28388 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28389
28390         * gst/gst.c:
28391         * gst/gstmessage.c:
28392           Make sure the class is reffed/unreffed once before threads can be
28393           used.  Fixes #304551.
28394
28395 2005-05-17  Wim Taymans  <wim@fluendo.com>
28396
28397         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28398         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28399         * gst/gstminiobject.c: (gst_mini_object_get_type),
28400         (gst_mini_object_free):
28401         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28402         (gst_pad_push), (gst_pad_push_event):
28403         * gst/gstqueue.c: (gst_queue_change_state):
28404         Don't queue buffers in basesink when we are flushing.
28405         Unref buffer when flushing in basesink.
28406         Flush queue when going to READY
28407         Unref buffer when _push() returns an error.
28408         Don't free MiniObject instance when refcount is incremented
28409         in _finalize() so that we can recover objects.
28410
28411 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28412
28413         * docs/manual/advanced-schedulers.xml:
28414         * docs/manual/appendix-checklist.xml:
28415         * docs/pwg/advanced-clock.xml:
28416         * docs/pwg/advanced-interfaces.xml:
28417         * docs/pwg/advanced-request.xml:
28418         * docs/pwg/advanced-types.xml:
28419         * docs/pwg/intro-preface.xml:
28420         * examples/plugins/example.c: (gst_example_get_type),
28421         (gst_example_class_init), (gst_example_chain),
28422         (gst_example_set_property), (gst_example_get_property),
28423         (gst_example_change_state), (plugin_init):
28424         * examples/plugins/example.h:
28425           small doc fixes
28426
28427 2005-05-17  Wim Taymans  <wim@fluendo.com>
28428
28429         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28430         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28431         * gst/gstqueue.c: (gst_queue_change_state):
28432         Clear queue when going to READY.
28433         Remove IN_SETCAPS flag too.
28434
28435 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28436
28437         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28438           Remove implicit cast from gboolean to GstElementStateReturn;
28439           make sure we still return failure in paused => ready case if
28440           the parent class fails to change state and our own stop 
28441           vfunc succeeds.
28442
28443 2005-05-17  Wim Taymans  <wim@fluendo.com>
28444
28445         * tools/gst-launch.c: (event_loop):
28446         Message was unreffed too soon.
28447
28448 2005-05-16  Andy Wingo  <wingo@pobox.com>
28449
28450         * gst/gstbin.c (sink_iterator_filter): Err... um...
28451
28452         * check/gst/gstbin.c (test_ghost_pads): New test for the
28453         ghosting-if-elements-not-in-same-bin behavior.
28454
28455 2005-05-16  David Schleef  <ds@schleef.org>
28456
28457         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28458         accessing refcount directly.
28459
28460 2005-05-15  David Schleef  <ds@schleef.org>
28461
28462         * check/Makefile.am: remove GstData checks
28463         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28464         * gst/Makefile.am: add miniobject, remove data
28465         * gst/gst.h: add miniobject, remove data
28466         * gst/gstdata.c: remove
28467         * gst/gstdata.h: remove
28468         * gst/gstdata_private.h: remove
28469         * gst/gsttypes.h: remove GstEvent and GstMessage
28470         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28471         * gst/gstmarshal.list: change BOXED -> OBJECT
28472
28473         Implement GstMiniObject.
28474         * gst/gstminiobject.c:
28475         * gst/gstminiobject.h:
28476
28477         Modify to be subclasses of GstMiniObject.
28478         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28479         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28480         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28481         (gst_subbuffer_get_type), (gst_subbuffer_init),
28482         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28483         (gst_buffer_span):
28484         * gst/gstbuffer.h:
28485         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28486         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28487         (_gst_event_copy), (gst_event_new):
28488         * gst/gstevent.h:
28489         * gst/gstmessage.c: (_gst_message_initialize),
28490         (gst_message_get_type), (gst_message_class_init),
28491         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28492         (gst_message_new), (gst_message_new_error),
28493         (gst_message_new_warning), (gst_message_new_tag),
28494         (gst_message_new_state_changed), (gst_message_new_application):
28495         * gst/gstmessage.h:
28496         * gst/gstprobe.c: (gst_probe_perform),
28497         (gst_probe_dispatcher_dispatch):
28498         * gst/gstprobe.h:
28499         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28500         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28501         (_gst_query_copy), (gst_query_new):
28502
28503         Update elements for GstData -> GstMiniObject changes
28504         * gst/gstquery.h:
28505         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28506         (gst_queue_chain), (gst_queue_loop):
28507         * gst/elements/gstbufferstore.c:
28508         (gst_buffer_store_add_buffer_func),
28509         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28510         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28511         (gst_fakesink_render):
28512         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28513         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28514         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28515         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28516         (gst_filesrc_create_read):
28517         * gst/elements/gstidentity.c: (gst_identity_class_init):
28518         * gst/elements/gsttypefindelement.c:
28519         (gst_type_find_element_src_event), (free_entry_buffers),
28520         (gst_type_find_element_handle_event):
28521         * libs/gst/dataprotocol/dataprotocol.c:
28522         (gst_dp_header_from_buffer):
28523         * libs/gst/dataprotocol/dataprotocol.h:
28524         * libs/gst/dataprotocol/dp-private.h:
28525
28526 2005-05-15  David Schleef  <ds@schleef.org>
28527
28528         * gst/elements/gstelements.c: Don't include headers that were
28529         just removed.
28530
28531 2005-05-15  David Schleef  <ds@schleef.org>
28532
28533         * gst/elements/Makefile.am: Remove some elements that don't
28534         need to be in the core (or even exist at all).
28535         * gst/elements/gstaggregator.c:
28536         * gst/elements/gstaggregator.h:
28537         * gst/elements/gstmd5sink.c:
28538         * gst/elements/gstmd5sink.h:
28539         * gst/elements/gstmultifilesrc.c:
28540         * gst/elements/gstmultifilesrc.h:
28541         * gst/elements/gstpipefilter.c:
28542         * gst/elements/gstpipefilter.h:
28543         * gst/elements/gstshaper.c:
28544         * gst/elements/gstshaper.h:
28545         * gst/elements/gststatistics.c:
28546         * gst/elements/gststatistics.h:
28547         * po/POTFILES.in: Remove above files.
28548
28549 2005-05-14  Andy Wingo  <wingo@pobox.com>
28550
28551         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28552         so as to get the refs right.
28553         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28554         unreffing objects that don't pass the filter.
28555
28556         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28557         gst_element_set_bus.
28558         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28559         normal cases, this will destroy the bus.
28560
28561         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28562         object.
28563
28564         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28565         has no sinks.
28566
28567 2005-05-13  Andy Wingo  <wingo@pobox.com>
28568
28569         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28570         gst_pad_link, call pad_link_maybe_ghosting,
28571         (pad_link_maybe_ghosting): Links pads, making sure that the
28572         elements being linked are in the same bin.
28573         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28574         Helpers for pad_link_maybe_ghosting.
28575
28576 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28577
28578         * configure.ac:
28579           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28580
28581 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28582
28583         * docs/design/part-element-source.txt:
28584           Mention GstPushSrc
28585
28586 2005-05-12  Wim Taymans  <wim@fluendo.com>
28587
28588         * gst/base/gstbasesink.c: (gst_basesink_init),
28589         (gst_basesink_activate):
28590         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28591         (gst_basesrc_is_seekable):
28592         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28593         (bin_element_is_sink), (gst_bin_change_state):
28594         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28595         * gst/gstelement.h:
28596         Identify sinks by their flag to avoid overly complicated
28597         checks (fow now).
28598         Do state changes even for elements not reachable from the
28599         sinks.
28600         BaseSink is a sink now :)
28601         Some more debugging info in the basesrc.
28602
28603
28604 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28605
28606         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28607           Implement _query on a bin, similar to _send_event.
28608
28609 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28610
28611         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28612           Discont event offset format should be GST_FORMAT_BYTES,
28613           not GST_FORMAT_TIME.
28614
28615 2005-05-12  Wim Taymans  <wim@fluendo.com>
28616
28617         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28618         Same fix as Ronald's but without the signal. 
28619
28620 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28621
28622         * gst/gstutils.c: (gst_element_query_position):
28623           No, an element is not a pad.
28624
28625 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28626
28627         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28628         (gst_bin_get_state):
28629           If a child is removed from a bin while we remove the child from
28630           the bin and while we're retrieving its state, signal this to the
28631           get_state function so we abort the wait (instead of waiting for
28632           a timeout) and can immediately re-iterate over all other elements.
28633
28634 2005-05-12  Wim Taymans  <wim@fluendo.com>
28635
28636         * gst/base/Makefile.am:
28637         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28638         (gst_basesrc_start):
28639         * gst/base/gstbasesrc.h:
28640         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28641         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28642         (gst_pushsrc_init), (gst_pushsrc_create):
28643         * gst/base/gstpushsrc.h:
28644         Added is_seekable to BaseSrc
28645         Added simple PushSrc.
28646
28647 2005-05-11  Wim Taymans  <wim@fluendo.com>
28648
28649         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28650         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28651         (gst_element_link_pads), (gst_element_query_position),
28652         (gst_element_query_convert), (intersect_caps_func),
28653         (gst_pad_query_position), (gst_pad_query_convert):
28654         Fix refcounting in utils function.
28655         No point in trying to activate a pad when it's added, it could
28656         be added from the state change function and then we deadlock, the
28657         element has to decide what to do.
28658
28659 2005-05-10  Andy Wingo  <wingo@pobox.com>
28660
28661         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28662         *all* the arguments.
28663
28664         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28665         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28666         lock (according to the docs -- if this is wrong change the docs).
28667
28668         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28669         flush messages in the NULL state.
28670
28671         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28672         message immediately and return.
28673         (gst_bus_set_flushing): New function. If a bus is flushing, it
28674         flushes out any queued messages and immediately unrefs new
28675         messages. This is so when an element goes to NULL, all of the
28676         unhandled messages coming from it can be freed, and their
28677         references to the element dropped. In other words: message source
28678         ref considered harmful :P
28679
28680         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28681         we're finished with it.
28682
28683         * gst/gstmessage.c (gst_message_new_state_changed): 
28684
28685 2005-05-10  Wim Taymans  <wim@fluendo.com>
28686
28687         * gst/gstvalue.c: (gst_value_compare_flags),
28688         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28689         (_gst_value_initialize):
28690         Added flags serialize/deserialize/compare code.
28691
28692 2005-05-09  Andy Wingo  <wingo@pobox.com>
28693
28694         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28695         Intersect the peer's caps with our caps.
28696
28697 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28698
28699         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28700         * gst/elements/gsttypefindelement.c: (find_peek):
28701           Handle negative offsets better. Fixes decodebin.
28702
28703 2005-05-09  Wim Taymans  <wim@fluendo.com>
28704
28705         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28706         (gst_base_transform_event):
28707         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28708         Implement accept_caps.
28709         Fix silly lock/unlock mismatch in base class.
28710
28711 2005-05-09  Wim Taymans  <wim@fluendo.com>
28712
28713         * docs/design/draft-push-pull.txt:
28714         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28715         * gst/elements/gstfilesink.c: (gst_filesink_init),
28716         (gst_filesink_query):
28717         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28718         (gst_type_find_handle_src_query), (find_element_get_length):
28719         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28720         * gst/gstelement.h:
28721         * gst/gstmessage.c:
28722         * gst/gstmessage.h:
28723         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28724         (gst_real_pad_get_caps_unlocked),
28725         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28726         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28727         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28728         (gst_real_pad_dispose), (gst_real_pad_finalize),
28729         (gst_pad_load_and_link), (gst_pad_save_thyself),
28730         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28731         (gst_pad_check_pull_range), (gst_pad_pull_range),
28732         (gst_pad_template_get_type), (gst_pad_template_class_init),
28733         (gst_pad_template_init), (gst_pad_template_dispose),
28734         (name_is_valid), (gst_static_pad_template_get),
28735         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28736         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28737         (gst_pad_get_element_private), (gst_pad_start_task),
28738         (gst_pad_pause_task), (gst_pad_stop_task),
28739         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28740         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28741         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28742         (gst_ghost_pad_new):
28743         * gst/gstpad.h:
28744         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28745         (gst_query_new_position), (gst_query_set_position),
28746         (gst_query_parse_position), (gst_query_new_convert),
28747         (gst_query_set_convert), (gst_query_parse_convert):
28748         * gst/gstquery.h:
28749         * gst/gstqueryutils.c:
28750         * gst/gstqueryutils.h:
28751         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28752         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28753         (gst_queue_handle_src_query):
28754         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28755         (gst_element_query_position), (gst_element_query_convert),
28756         (intersect_caps_func), (gst_pad_query_position),
28757         (gst_pad_query_convert):
28758         * gst/gstutils.h:
28759         * tools/gst-inspect.c: (print_pad_info):
28760         * tools/gst-xmlinspect.c: (print_element_info):
28761         Remove old query functions. Ported old code.
28762         Added position/convert helper functions to gstutils.
28763         Reordered gstpad.c code, grouping relevant things.
28764         Remove gst_message_new(), always need to speficy a specific
28765         message.
28766
28767
28768 2005-05-09  Andy Wingo  <wingo@pobox.com>
28769
28770         * gst/gstiterator.h: Add some includes.
28771
28772         * gst/gstqueryutils.h: Include more headers.
28773
28774         * gst/gstpad.h:
28775         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28776         some uses of gst_pad_query.
28777
28778         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28779         NULL out parameters.
28780         (gst_query_new_position): New proc, allocates a new position
28781         query.
28782
28783         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28784         gstqueryutils.c to the build.
28785
28786         * gst/gststructure.c (gst_structure_set_valist): Implement with
28787         the generic G_VALUE_COLLECT.
28788         
28789 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28790
28791         * gst/Makefile.am: (gst_headers):
28792         Added gstqueryutils.h to the list of headers to install, that was
28793         a 'nachty' move wingo :)
28794
28795 2005-05-06  Andy Wingo  <wingo@pobox.com>
28796
28797         * gst/gstquery.h
28798         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28799         GstData, init a memchunk.
28800         (standard_definitions): Add a few query types, deprecate a few.
28801         (gst_query_get_type): New proc.
28802         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28803         implementation.
28804         (gst_query_new_application, gst_query_get_structure): New public
28805         procs.
28806
28807         * docs/design/draft-query.txt: Removed LINKS from the query types,
28808         because all the rest can be dispatched to other pads -- seemed
28809         ugly to have a query that couldn't be dispatched. internal_links
28810         is fine as a pad method.
28811
28812         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28813         in gstpad.c, but maintain binary compatibility for the moment.
28814         Will fix before 0.9 is out.
28815
28816         * gst/gstqueryutils.c: 
28817         * gst/gstqueryutils.h: New files, implement 3 methods for each
28818         query type: parse_query, parse_response, and set. Probably need an
28819         allocator as well.
28820
28821         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28822
28823         * gst/elements/gstfilesink.c (gst_filesink_query2):
28824         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28825         query_types, and formats methods.
28826
28827         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28828         (gst_pad_set_query2_function): New functions.
28829         (gst_real_pad_init): Set query2_default as the default query2
28830         function. Basically just dispatches to internally linked pads.
28831
28832         Needs review!
28833         
28834         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28835         without using the atomic operations. Only one thread can possibly
28836         be accessing the data at this point. Changed so as to avoid
28837         gst_atomic operations.
28838
28839 2005-05-06  Wim Taymans  <wim@fluendo.com>
28840
28841         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28842         Also set caps if we use the fallback buffer alloc.
28843
28844 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28845
28846         * docs/gst/Makefile.am:
28847         * docs/gst/gstreamer-docs.sgml:
28848         * docs/gst/gstreamer-sections.txt:
28849         * docs/gst/tmpl/gstatomic.sgml:
28850         * docs/gst/tmpl/gstmemchunk.sgml:
28851         * testsuite/elements/struct_i386.h:
28852         * win32/GStreamer.vcproj:
28853         * win32/Makefile:
28854           Purge GstAtomic stuff from docs and win32 makefiles as well
28855
28856 2005-05-06  Wim Taymans  <wim@fluendo.com>
28857
28858         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28859         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28860         * gst/gstpad.c: (gst_pad_peer_get_caps):
28861         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28862         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28863         (gst_queue_src_activate), (gst_queue_change_state):
28864         * gst/gstqueue.h:
28865         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28866         (intersect_caps_func):
28867         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28868         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28869         Some fixes for the peer_get_caps() change.
28870
28871 2005-05-06  Wim Taymans  <wim@fluendo.com>
28872
28873         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28874         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28875         (gst_basesink_activate):
28876         Actually do something with error codes returned from the push
28877         functions.
28878
28879 2005-05-06  Wim Taymans  <wim@fluendo.com>
28880
28881         * docs/design/part-element-sink.txt:
28882         * docs/design/part-element-source.txt:
28883         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28884         (gst_basesink_event), (gst_basesink_activate):
28885         * gst/base/gstbasesink.h:
28886         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28887         (gst_basesrc_activate):
28888         * gst/base/gstbasesrc.h:
28889         * gst/gstelement.c: (gst_element_pads_activate):
28890         Some more documentation.
28891         Fixed scheduling decision in _pads_activate().
28892
28893 2005-05-05  Andy Wingo  <wingo@pobox.com>
28894
28895         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28896         the test suite.
28897
28898 2005-05-05  Wim Taymans  <wim@fluendo.com>
28899
28900         * gst/base/Makefile.am:
28901         * gst/base/gstbasesink.h:
28902         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28903         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28904         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28905         (gst_collectpads_class_init), (gst_collectpads_init),
28906         (gst_collectpads_finalize), (gst_collectpads_new),
28907         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28908         (find_pad), (gst_collectpads_remove_pad),
28909         (gst_collectpads_is_active), (gst_collectpads_collect),
28910         (gst_collectpads_collect_range), (gst_collectpads_start),
28911         (gst_collectpads_stop), (gst_collectpads_peek),
28912         (gst_collectpads_pop), (gst_collectpads_available),
28913         (gst_collectpads_read), (gst_collectpads_flush),
28914         (gst_collectpads_chain):
28915         * gst/base/gstcollectpads.h:
28916         * gst/elements/Makefile.am:
28917         * gst/elements/gstelements.c:
28918         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28919         (gst_fakesink_get_times), (gst_fakesink_event),
28920         (gst_fakesink_preroll), (gst_fakesink_render):
28921         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28922         (gst_filesink_init), (gst_filesink_set_location),
28923         (gst_filesink_open_file), (gst_filesink_close_file),
28924         (gst_filesink_pad_query), (gst_filesink_event),
28925         (gst_filesink_render), (gst_filesink_change_state):
28926         * gst/elements/gstfilesink.h:
28927         Added object to help in making collect pad based elements.
28928         Ported filesink.
28929         Make event function in sink baseclass return gboolean.
28930
28931 2005-05-05  Wim Taymans  <wim@fluendo.com>
28932
28933         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28934         (gst_bin_get_by_name):
28935         * gst/gstbuffer.h:
28936         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28937         (gst_clock_finalize):
28938         * gst/gstdata.c: (gst_data_replace):
28939         * gst/gstdata.h:
28940         * gst/gstelement.c: (gst_element_request_pad),
28941         (gst_element_pads_activate):
28942         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28943         (gst_object_unref):
28944         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28945         (gst_pad_set_checkgetrange_function),
28946         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28947         (gst_pad_check_pull_range), (gst_pad_pull_range),
28948         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28949         (gst_pad_pause_task), (gst_pad_stop_task):
28950         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28951         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28952         Fix name lookup in GstBin.
28953         Added _data_replace() function and _buffer_replace()
28954         Use finalize method to clean up clock.
28955         Fix refcounting on request pads.
28956         Fix pad schedule mode error.
28957         Some more object refcounting debug info,
28958
28959
28960 2005-05-04  Andy Wingo <wingo@pobox.com>
28961
28962         * check/Makefile.am:
28963         * docs/gst/tmpl/gstatomic.sgml:
28964         * docs/gst/tmpl/gstplugin.sgml:
28965         * gst/base/gstbasesink.c: (gst_basesink_activate):
28966         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28967         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28968         (gst_basesrc_query), (gst_basesrc_set_property),
28969         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28970         (gst_basesrc_activate):
28971         * gst/base/gstbasesrc.h:
28972         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28973         (gst_base_transform_src_activate):
28974         * gst/elements/gstelements.c:
28975         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28976         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28977         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28978         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28979         (gst_type_find_element_checkgetrange),
28980         (gst_type_find_element_activate):
28981         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28982         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28983         (gst_caps_load_thyself):
28984         * gst/gstelement.c: (gst_element_pads_activate),
28985         (gst_element_save_thyself), (gst_element_restore_thyself):
28986         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28987         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28988         * gst/gstpad.h:
28989         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28990         (gst_xml_parse_file), (gst_xml_parse_memory),
28991         (gst_xml_get_element), (gst_xml_make_element):
28992         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28993         (_file_index_id_save_xml), (gst_file_index_commit):
28994         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28995         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28996         (load_paths):
28997         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28998         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28999         * tools/gst-complete.c: (main):
29000         * tools/gst-compprep.c: (main):
29001         * tools/gst-inspect.c: (print_element_properties_info):
29002         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
29003         * tools/gst-xmlinspect.c: (print_element_properties):
29004         GCC 4 fixen.
29005         
29006 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
29007
29008         * gst/gstplugin.c: (gst_plugin_check_module),
29009         (gst_plugin_check_file), (gst_plugin_load_file):
29010             apply patch from #172526 to make register work on MacOSX
29011
29012 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29013
29014         * docs/gst/tmpl/gstconfig.sgml:
29015         * gst/gstconfig.h.in:
29016           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
29017         * testsuite/debug/printf_extension.c: (main):
29018           Do not use GST_PTR_FORMAT on pointers to types with
29019           sizeof < sizeof(gpointer).  Fixes test on 64-bit
29020         * testsuite/elements/property.h:
29021           use correct printf format
29022
29023 2005-05-02  Wim Taymans  <wim@fluendo.com>
29024
29025         * docs/design/draft-push-pull.txt:
29026         * docs/design/draft-query.txt:
29027         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
29028         (gst_basesrc_start):
29029         Added draft for new query API.
29030         Added draft for better selecting scheduling methods.
29031         Make basesrc ignore length if the subclass does not support
29032         it.
29033
29034 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29035
29036         * gst/Makefile.am:
29037           possible fixes for automake-1.5 - _LIBADD is reserved
29038
29039 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29040
29041         * docs/faq/Makefile.am:
29042         * docs/manual/Makefile.am:
29043         * docs/manuals.mak:
29044         * docs/pwg/Makefile.am:
29045         * gst/Makefile.am:
29046           possible fixes for automake-1.5
29047
29048 2005-04-28  Wim Taymans  <wim@fluendo.com>
29049
29050         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29051         (gst_basesink_pad_getcaps), (gst_basesink_init),
29052         (gst_basesink_do_sync):
29053         * gst/gstclock.c: (gst_clock_entry_new):
29054         * gst/gstevent.c: (gst_event_discont_get_value):
29055         * gst/gstpipeline.c: (pipeline_bus_handler),
29056         (gst_pipeline_change_state):
29057         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29058         Better debugging of clocking info.
29059         Allow NULL values when getting discont values.
29060
29061 2005-04-27  Wim Taymans  <wim@fluendo.com>
29062
29063         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29064         * check/gst/gstpad.c: (gst_pad_suite):
29065         Increase timeout for checks.
29066
29067 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29068
29069         * check/Makefile.am:
29070           fix the broken rule for cleanup.  Apparently this rule is
29071           only needed on FC2, so maybe this warrants further autotool
29072           inspection.
29073
29074 2005-04-26  Wim Taymans  <wim@fluendo.com>
29075
29076         * gst/gsttrashstack.h:
29077         Ooohh. a nasty one! After having a failed pop() from the stack,
29078         it's possible that the stack is empty. In that case, don't
29079         follow the NULL pointer.
29080
29081 2005-04-25  Wim Taymans  <wim@fluendo.com>
29082
29083         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29084         (gst_pad_set_checkgetrange_function),
29085         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29086         (gst_pad_check_pull_range), (gst_pad_pull_range),
29087         (gst_static_pad_template_get_caps), (gst_pad_start_task),
29088         (gst_pad_pause_task), (gst_pad_stop_task):
29089         * gst/gstplugin.c: (gst_plugin_load):
29090         * gst/gstplugin.h:
29091         Remove gst_library_load as it does more harm than good with
29092         the new g_module flags.
29093         Revert bogus caps template check in pad linking, pad caps
29094         are important when linking not the template, which is more
29095         general than the current caps.
29096
29097 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29098
29099         * gst/autoplug/.cvsignore:
29100         * gst/autoplug/Makefile.am:
29101         * gst/autoplug/gstsearchfuncs.c:
29102         * gst/autoplug/gstsearchfuncs.h:
29103         * gst/autoplug/gstspider.c:
29104         * gst/autoplug/gstspider.h:
29105         * gst/autoplug/gstspideridentity.c:
29106         * gst/autoplug/gstspideridentity.h:
29107         * gst/autoplug/spidertest.c:
29108           Die, spider, die.
29109
29110 2005-04-25  Wim Taymans  <wim@fluendo.com>
29111
29112         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29113         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29114         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29115         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29116         * gst/gstpad.h:
29117         Added stubs for unimplemented functions. 
29118
29119 2005-04-24  David Schleef  <ds@schleef.org>
29120
29121         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
29122         please fix.
29123
29124 2005-04-24  David Schleef  <ds@schleef.org>
29125
29126         Convert everything from GstAtomicInt to g_atomic_int_*, and
29127         remove gstatomic.
29128         * gst/Makefile.am:
29129         * gst/gstatomic.c:
29130         * gst/gstatomic.h:
29131         * gst/gstatomic_impl.h:
29132         * gst/gstbuffer.c:
29133         * gst/gstcaps.c:
29134         * gst/gstcaps.h:
29135         * gst/gstclock.c:
29136         * gst/gstclock.h:
29137         * gst/gstdata.c:
29138         * gst/gstdata.h:
29139         * gst/gstdata_private.h:
29140         * gst/gstevent.c:
29141         * gst/gstinfo.c:
29142         * gst/gstinfo.h:
29143         * gst/gstmessage.c:
29144         * gst/gstobject.c:
29145         * gst/gstobject.h:
29146         * gst/gststructure.c:
29147         * gst/gststructure.h:
29148         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29149         * gst/gstutils.h:
29150
29151 2005-04-24  David Schleef  <ds@schleef.org>
29152
29153         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29154         make the regressions tests work.  Remove some code that is no
29155         longer true.
29156         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29157         Disable warning for pads without templates.
29158
29159 2005-04-24  David Schleef  <ds@schleef.org>
29160
29161         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
29162         functions that handle filtered links.
29163         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29164         removed functions.
29165         * gst/gstutils.c: Fix/remove utility functions that handle
29166         filtered caps.
29167         * gst/gstutils.h:
29168         * gst/gstvalue.c: Add serialization/deserialization of caps
29169         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
29170         requires fixing so that the filter caps notation creates
29171         a capsfilter element and sets the filter_caps property.  I
29172         think everyone probably wants to keep the shorthand notation.
29173         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29174         * docs/gst/tmpl/gstpad.sgml:
29175
29176         * gst/elements/gstelements.c: Register capsfilter element.
29177         * gst/Makefile.am: fix spacing
29178         * docs/random/ds/0.9-suggested-changes: random
29179
29180 2005-04-23  David Schleef  <ds@schleef.org>
29181
29182         * gst/elements/Makefile.am:
29183         * gst/elements/gstcapsfilter.c: New element that acts like an
29184         identity, but filters caps.  Will eventually replace filtered
29185         caps in pad linking.
29186         * gst/gstutils.c: (gst_element_create_all_pads): New function
29187         to create all the ALWAYS pads that are registered with an
29188         element class.  This functionality should eventually be
29189         merged in with GstElement initialization.
29190         * gst/gstutils.h:
29191         * testsuite/trigger/README: part of trigger test code that should
29192         have been checked in a long time ago.
29193
29194 2005-04-23  David Schleef  <ds@schleef.org>
29195
29196         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
29197         needed with new versions of libtool (nobody will confirm this),
29198         and hard to carry around.
29199         * gst/autoplug/Makefile.am:
29200         * gst/base/Makefile.am:
29201         * gst/elements/Makefile.am:
29202         * gst/indexers/Makefile.am:
29203         * gst/schedulers/Makefile.am:
29204         * libs/gst/bytestream/Makefile.am:
29205         * libs/gst/control/Makefile.am:
29206         * libs/gst/dataprotocol/Makefile.am:
29207         * libs/gst/getbits/Makefile.am:
29208
29209 2005-04-21  Wim Taymans  <wim@fluendo.com>
29210
29211         * docs/design/draft-push-pull.txt:
29212         * docs/design/part-MT-refcounting.txt:
29213         * docs/design/part-TODO.txt:
29214         * docs/design/part-caps.txt:
29215         * docs/design/part-events.txt:
29216         * docs/design/part-gstbus.txt:
29217         * docs/design/part-gstpipeline.txt:
29218         * docs/design/part-messages.txt:
29219         * docs/design/part-push-pull.txt:
29220         * docs/design/part-query.txt:
29221         Some more docs.
29222
29223 2005-04-21  Wim Taymans  <wim@fluendo.com>
29224
29225         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29226         (gst_message_new), (gst_message_new_error),
29227         (gst_message_new_warning), (gst_message_new_tag),
29228         (gst_message_new_state_changed), (gst_message_new_application),
29229         (gst_message_get_structure):
29230         * gst/gstmessage.h:
29231         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29232         (gst_structure_copy_conditional):
29233         Use parent refcount in GstMessage to ensure GstStructure
29234         consistency.
29235         Cleaned up headers a bit.
29236         
29237
29238 2005-04-20  Wim Taymans  <wim@fluendo.com>
29239
29240         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29241         (gst_basesink_pad_getcaps), (gst_basesink_init),
29242         (gst_basesink_chain_unlocked):
29243         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29244         (gst_type_find_helper):
29245         * gst/elements/gsttypefindelement.c:
29246         (gst_type_find_element_have_type), (gst_type_find_element_init),
29247         (stop_typefinding), (gst_type_find_element_handle_event),
29248         (find_suggest), (gst_type_find_element_chain),
29249         (gst_type_find_element_checkgetrange),
29250         (gst_type_find_element_getrange), (do_typefind),
29251         (gst_type_find_element_activate):
29252         * gst/gstbuffer.c: (_gst_buffer_sub_free),
29253         (gst_buffer_default_free), (gst_buffer_default_copy),
29254         (gst_buffer_set_caps):
29255         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29256         (gst_caps_replace):
29257         * gst/gstmessage.c: (gst_message_new),
29258         (gst_message_new_state_changed):
29259         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29260         (gst_pad_set_checkgetrange_function),
29261         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29262         (gst_pad_set_caps), (gst_pad_check_pull_range),
29263         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29264         * gst/gstpad.h:
29265         * gst/gsttypefind.c: (gst_type_find_register):
29266         Make gst_caps_replace() work like other _replace() functions.
29267         Use _caps_replace() where possible.
29268         Make sure _message_new() initialises its field.
29269         Add gst_static_pad_template_get_caps()
29270
29271
29272 2005-04-18  Andy Wingo  <wingo@pobox.com>
29273
29274         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29275         on the peer, not the pad. I think that was a typo. Pass an extra
29276         arg to see if random access is possible. Activate the pads as
29277         PULL_RANGE if possible.
29278
29279         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29280
29281         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
29282         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29283         to PROP_....
29284
29285 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29286
29287         * docs/faq/using.xml:
29288           Add note on gstreamer-properties (#154996).
29289
29290 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29291
29292         * docs/random/bbb/optional-properties:
29293           Some analysis on optional properties.
29294
29295 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29296
29297         * docs/gst/tmpl/gstelementfactory.sgml:
29298         * gst/gstelement.h:
29299         * gst/gstelementfactory.c: (gst_element_factory_init),
29300         (gst_element_factory_cleanup), (gst_element_register),
29301         (__gst_element_factory_add_static_pad_template),
29302         (gst_element_factory_get_static_pad_templates),
29303         (gst_element_factory_can_src_caps),
29304         (gst_element_factory_can_sink_caps):
29305         * gst/registries/Makefile.am:
29306         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29307         (gst_xml_registry_class_init), (gst_xml_registry_init),
29308         (gst_xml_registry_new), (gst_xml_registry_set_property),
29309         (gst_xml_registry_get_property), (get_time), (make_dir),
29310         (gst_xml_registry_get_perms_func),
29311         (plugin_times_older_than_recurse), (plugin_times_older_than),
29312         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29313         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29314         (add_to_char_array), (read_string), (read_uint), (read_enum),
29315         (load_pad_template), (load_feature), (load_plugin), (load_paths),
29316         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29317         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29318         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29319         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29320         (gst_xml_registry_rebuild):
29321         * gst/registries/gstlibxmlregistry.h:
29322         * tools/gst-compprep.c: (main):
29323         * tools/gst-inspect.c: (print_pad_templates_info):
29324         * tools/gst-xmlinspect.c: (print_element_info):
29325           Use libxml2 for registry parsing, use staticpadtemplates in
29326           elementfactories. Makes gst_init() +/- 10x faster.
29327
29328 2005-04-12  Wim Taymans  <wim@fluendo.com>
29329
29330         * gst/base/Makefile.am:
29331         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29332         (gst_basesink_pad_getcaps), (gst_basesink_init),
29333         (gst_basesink_event), (gst_basesink_change_state):
29334         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29335         (gst_basesrc_init), (gst_basesrc_query),
29336         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29337         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29338         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29339         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29340         (gst_basesrc_stop), (gst_basesrc_activate),
29341         (gst_basesrc_change_state):
29342         * gst/base/gsttypefindhelper.c: (helper_find_peek),
29343         (helper_find_suggest), (gst_type_find_helper):
29344         * gst/base/gsttypefindhelper.h:
29345         * gst/elements/Makefile.am:
29346         * gst/elements/gstelements.c:
29347         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29348         (gst_fakesink_get_times), (gst_fakesink_event),
29349         (gst_fakesink_preroll), (gst_fakesink_render):
29350         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29351         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29352         (gst_fakesrc_get_property), (gst_fakesrc_create),
29353         (gst_fakesrc_start), (gst_fakesrc_stop):
29354         * gst/elements/gstfakesrc.h:
29355         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29356         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29357         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29358         (gst_filesrc_create_read), (gst_filesrc_create),
29359         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29360         (gst_filesrc_start):
29361         * gst/elements/gsttypefindelement.c:
29362         (gst_type_find_element_have_type), (gst_type_find_element_init),
29363         (start_typefinding), (stop_typefinding), (push_buffer_store),
29364         (gst_type_find_element_handle_event),
29365         (gst_type_find_element_chain),
29366         (gst_type_find_element_checkgetrange),
29367         (gst_type_find_element_getrange), (do_typefind),
29368         (gst_type_find_element_activate),
29369         (gst_type_find_element_change_state):
29370         * gst/elements/gsttypefindelement.h:
29371         * gst/gstpipeline.c: (pipeline_bus_handler):
29372         Added typefind helper.
29373         Small preroll fix in the base sink.
29374         Disable typefind code in basesrc.
29375         Crude port of typefindelement.
29376         Fakesrc cleanups.
29377
29378
29379 2005-04-11  Wim Taymans  <wim@fluendo.com>
29380
29381         * check/gst/gstbus.c: (gstbus_suite):
29382         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29383         * check/gstcheck.h:
29384           Fix up the timeout so that the test does not fail.
29385
29386 2005-04-06  Wim Taymans  <wim@fluendo.com>
29387
29388         * gst/base/README:
29389         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29390         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29391         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29392         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29393         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29394         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29395         (gst_basesrc_stop), (gst_basesrc_activate),
29396         (gst_basesrc_change_state), (basesrc_find_peek),
29397         (basesrc_find_suggest), (gst_basesrc_type_find):
29398         * gst/base/gstbasesrc.h:
29399         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29400         (gst_filesrc_class_init), (gst_filesrc_init),
29401         (gst_filesrc_finalize), (gst_filesrc_set_location),
29402         (gst_filesrc_set_property), (gst_filesrc_get_property),
29403         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29404         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29405         (gst_filesrc_create_read), (gst_filesrc_create),
29406         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29407         * gst/elements/gstfilesrc.h:
29408         * gst/gstelement.c: (gst_element_get_state_func),
29409         (gst_element_lost_state), (gst_element_pads_activate):
29410         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29411         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29412         (gst_pad_pull_range):
29413         * gst/gstpad.h:
29414         More work on the generic source base class, implement seeking,
29415         query.
29416         Make filesrc extend the base source class.
29417         Added gst_pad_set_checkgetrange_function to GstPad.
29418
29419 2005-04-06  Andy Wingo  <wingo@pobox.com>
29420
29421         * pkgconfig/gstreamer-base.pc.in:
29422         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29423
29424         * pkgconfig/Makefile.am:
29425         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29426
29427 2005-04-04  Wim Taymans  <wim@fluendo.com>
29428
29429         * gst/base/Makefile.am:
29430         * gst/base/README:
29431         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29432         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29433         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29434         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29435         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29436         (gst_basesrc_base_init), (gst_basesrc_class_init),
29437         (gst_basesrc_init), (gst_basesrc_get_formats),
29438         (gst_basesrc_get_query_types), (gst_basesrc_query),
29439         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29440         (gst_basesrc_set_property), (gst_basesrc_get_property),
29441         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29442         (gst_basesrc_loop), (gst_basesrc_activate),
29443         (gst_basesrc_change_state):
29444         * gst/base/gstbasesrc.h:
29445         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29446         (gst_fakesrc_class_init), (gst_fakesrc_init),
29447         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29448         (gst_fakesrc_get_property), (gst_fakesrc_create):
29449         * gst/elements/gstfakesrc.h:
29450         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29451         (gst_filesrc_open_file), (gst_filesrc_loop),
29452         (gst_filesrc_activate), (filesrc_find_peek),
29453         (gst_filesrc_type_find):
29454         Made base source class, make fakesrc extend it.
29455         Add comments to basesink class.
29456         Some filesrc cleanup.
29457
29458 2005-03-31  David Schleef  <ds@schleef.org>
29459
29460         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29461         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29462         expected to link against libgstreamer.
29463         * gst/base/Makefile.am: link against libgstreamer
29464         * gst/elements/Makefile.am: same
29465
29466 2005-03-31  Andy Wingo  <wingo@pobox.com>
29467
29468         * tests/instantiate/Makefile.am:
29469         * tests/instantiate/caps.c: Add test to test speed of caps copy
29470         and free.
29471
29472         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29473         GMemChunk to be fair.
29474
29475         * gst/gsttrashstack.h: Remove warning about using the fallback
29476         trash stack implementation, it's still faster than malloc.
29477
29478 2005-03-30  Andy Wingo  <wingo@pobox.com>
29479
29480         * tests/complexity.c: Add a copyright.
29481
29482 2005-03-31  Wim Taymans  <wim@fluendo.com>
29483
29484         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29485         (gst_base_transform_class_init), (gst_base_transform_init),
29486         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29487         (gst_base_transform_get_property),
29488         (gst_base_transform_sink_activate),
29489         (gst_base_transform_src_activate),
29490         (gst_base_transform_change_state):
29491         * gst/base/gstbasetransform.h:
29492         * gst/elements/gstidentity.c: (gst_identity_class_init),
29493         (gst_identity_event), (gst_identity_check_perfect),
29494         (gst_identity_transform), (gst_identity_start),
29495         (gst_identity_stop):
29496         Added start/stop methods to transform base class so subclasses 
29497         don't need to deal with state changes even.
29498
29499 2005-03-31  Wim Taymans  <wim@fluendo.com>
29500
29501         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29502         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29503         * gst/gstevent.h:
29504         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29505         (gst_pad_pull_range):
29506         Added rate to the discont event to prepare for variable speed
29507         and reverse playback.
29508
29509 2005-03-29  David Schleef  <ds@schleef.org>
29510
29511         * configure.ac:
29512         * testsuite/trigger/Makefile.am:
29513         * testsuite/trigger/trigger.c: A little example program to show
29514         how trigger-based elements can work.
29515
29516 2005-03-29  Wim Taymans  <wim@fluendo.com>
29517
29518         * gst/base/Makefile.am:
29519         * gst/base/README:
29520         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29521         (gst_basesink_base_init), (gst_basesink_class_init),
29522         (gst_basesink_pad_getcaps), (gst_basesink_init),
29523         (gst_basesink_activate), (gst_basesink_change_state):
29524         * gst/base/gstbasesink.h:
29525         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29526         (gst_base_transform_base_init), (gst_base_transform_finalize),
29527         (gst_base_transform_class_init), (gst_base_transform_init),
29528         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29529         (gst_base_transform_event), (gst_base_transform_getrange),
29530         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29531         (gst_base_transform_set_property),
29532         (gst_base_transform_get_property),
29533         (gst_base_transform_sink_activate),
29534         (gst_base_transform_src_activate),
29535         (gst_base_transform_change_state):
29536         * gst/base/gstbasetransform.h:
29537         * gst/elements/gstidentity.c: (gst_identity_finalize),
29538         (gst_identity_class_init), (gst_identity_init),
29539         (gst_identity_event), (gst_identity_check_perfect),
29540         (gst_identity_transform), (gst_identity_set_property),
29541         (gst_identity_get_property), (gst_identity_change_state):
29542         * gst/elements/gstidentity.h:
29543         * gst/gstelement.c: (gst_element_get_state_func),
29544         (gst_element_lost_state), (gst_element_pads_activate):
29545         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29546         (gst_pad_check_pull_range), (gst_pad_pull_range):
29547         * gst/gstpad.h:
29548         Simplify pad activation.
29549         Added function to check if pull_range can be performed.
29550         Error out when pulling inactive or flushing pads.
29551         Removed const from refcounted types as it does not make sense.
29552         Simplify pad templates in basesink
29553         Added base class for simple 1-to-1 transforms.
29554         Make identity subclass the base transform.
29555
29556 2005-03-29  Andy Wingo  <wingo@pobox.com>
29557
29558         * docs/libs/gstreamer-libs-overrides.txt: 
29559         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29560         really don't understand what's going on, but like whatever. I want
29561         green buildbot!
29562
29563         * docs/gst/Makefile.am:
29564         * docs/libs/Makefile.am: Dist the overrides files.
29565
29566         * check/Makefile.am (clean-local): Remove .libs directories.
29567
29568         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29569         elements to EXTRA_DIST, so po/ files are happy.
29570
29571         * po/POTFILES.in: Er, remove it here.
29572
29573         * po/POTFILES: Remove gstspider.c.
29574
29575         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29576
29577         * docs/libs/gstreamer-libs-docs.sgml: 
29578         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29579         bytestream.
29580
29581         * tests/complexity.c (main): Set the length of the preroll queue
29582         on the sinks to prevent a lockup.
29583
29584         * libs/gst/dataprotocol/Makefile.am: 
29585         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29586         the same as the one in check/gst-libs/gdp.c.
29587
29588         * po/, docs/gst/: Commit automatic changes to docs and po files.
29589
29590         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29591         the versioned libgstbase.
29592
29593         * check/Makefile.am: Depend on an unversioned gst-register, seems
29594         to make autoconf happier.
29595
29596         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29597
29598 2005-03-28  Wim Taymans  <wim@fluendo.com>
29599
29600         * configure.ac:
29601         * docs/design/part-gstelement.txt:
29602         * docs/design/part-negotiation.txt:
29603         * docs/design/part-preroll.txt:
29604         * docs/design/part-scheduling.txt:
29605         * docs/design/part-states.txt:
29606         * gst/Makefile.am:
29607         * gst/base/Makefile.am:
29608         * gst/base/README:
29609         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29610         (gst_basesink_base_init), (gst_basesink_class_init),
29611         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29612         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29613         (gst_basesink_set_pad_functions),
29614         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29615         (gst_basesink_set_property), (gst_basesink_get_property),
29616         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29617         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29618         (gst_basesink_preroll_queue_push),
29619         (gst_basesink_preroll_queue_empty),
29620         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29621         (gst_basesink_event), (gst_basesink_get_times),
29622         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29623         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29624         (gst_basesink_loop), (gst_basesink_activate),
29625         (gst_basesink_change_state):
29626         * gst/base/gstbasesink.h:
29627         * gst/elements/Makefile.am:
29628         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29629         (gst_fakesink_class_init), (gst_fakesink_init),
29630         (gst_fakesink_set_property), (gst_fakesink_get_property),
29631         (gst_fakesink_get_times), (gst_fakesink_event),
29632         (gst_fakesink_preroll), (gst_fakesink_render),
29633         (gst_fakesink_change_state):
29634         * gst/elements/gstfakesink.h:
29635         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29636         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29637         * gst/gstelement.c: (gst_element_add_pad),
29638         (gst_element_get_state_func), (gst_element_abort_state),
29639         (gst_element_commit_state), (gst_element_lost_state),
29640         (gst_element_set_state), (gst_element_pads_activate):
29641         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29642         * gst/gstpipeline.c: (gst_pipeline_send_event),
29643         (gst_pipeline_change_state):
29644         Added state change code.
29645         Added/updated docs.
29646         Added sink base class, make fakesink extend the base class.
29647         Small cleanups in GstPipeline.
29648
29649 2005-03-26  David Schleef  <ds@schleef.org>
29650
29651         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29652         is broken and should be implemented in a different library.
29653         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29654         * gst/gst.h: remove gstcpu.h
29655         * gst/gstcpu.c: remove
29656         * gst/gstcpu.h: remove
29657         * gst/Makefile.am.future: Remove this file.  It's ancient.
29658
29659 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29660
29661         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29662         (gst_bin_send_event):
29663           Add default event/set_manager handlers. The set_manager handler
29664           takes care that the manager is distributed over kids that were
29665           already in the bin before the manager was set. The event handler
29666           is a utility virtual function that sends the event over all sinks,
29667           so that gst_element_send_event (bin, event); has the expected
29668           behaviour.
29669         * gst/gstpad.c: (gst_pad_event_default):
29670           Re-install default event handling for discontinuities, so that
29671           seeking works without requiring hacks in applications or extra
29672           code in sinks.
29673         * gst/gstpipeline.c: (gst_pipeline_class_init),
29674         (gst_pipeline_send_event):
29675           Half hack, half utility: set a pipeline to PAUSED for seek events,
29676           since that is the only way we can guarantee a/v sync. Means that
29677           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29678           and it "just works".
29679
29680 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29681
29682         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29683           Lock/unlock mismatch.
29684
29685 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29686
29687         * docs/faq/gst-uninstalled:
29688           add gst-plugins-base
29689         * docs/gst/Makefile.am:
29690           don't error out until docs are fixed
29691         * docs/gst/gstreamer.types:
29692           remove thread
29693
29694 2005-03-22  Wim Taymans  <wim@fluendo.com>
29695
29696         * check/Makefile.am:
29697         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29698         * gst/gststructure.c: (gst_structure_set_valist),
29699         (gst_structure_copy_conditional):
29700         Activated more tests.
29701         Added message test.
29702         Added G_TYPE_POINTER to GstStructure.
29703         
29704
29705 2005-03-22  Wim Taymans  <wim@fluendo.com>
29706
29707         * docs/design/part-TODO.txt:
29708         * docs/design/part-events.txt:
29709         * docs/design/part-gstbin.txt:
29710         * docs/design/part-gstbus.txt:
29711         * docs/design/part-gstpipeline.txt:
29712         * docs/design/part-messages.txt:
29713         * gst/gstbus.c:
29714         * gst/gstmessage.c:
29715         Docs updates
29716
29717 2005-03-21  Wim Taymans  <wim@fluendo.com>
29718
29719         * gst/gstbus.c: (gst_bus_post):
29720         Fix copy-and-paste error.
29721
29722 2005-03-21  Wim Taymans  <wim@fluendo.com>
29723
29724         * check/Makefile.am:
29725         * gst/Makefile.am:
29726         * gst/elements/Makefile.am:
29727         * gst/elements/gstelements.c:
29728         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29729         (gst_fakesink_event), (gst_fakesink_chain):
29730         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29731         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29732         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29733         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29734         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29735         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29736         (gst_fakesrc_loop), (gst_fakesrc_activate),
29737         (gst_fakesrc_change_state):
29738         * gst/elements/gstfakesrc.h:
29739         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29740         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29741         (gst_filesrc_open_file), (gst_filesrc_loop),
29742         (gst_filesrc_activate), (gst_filesrc_change_state),
29743         (filesrc_find_peek), (filesrc_find_suggest),
29744         (gst_filesrc_type_find):
29745         * gst/elements/gstidentity.c: (gst_identity_finalize),
29746         (gst_identity_class_init), (gst_identity_init),
29747         (gst_identity_proxy_getcaps), (identity_queue_push),
29748         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29749         (gst_identity_getrange), (gst_identity_chain),
29750         (gst_identity_sink_loop), (gst_identity_src_loop),
29751         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29752         (gst_identity_set_property), (gst_identity_get_property),
29753         (gst_identity_change_state):
29754         * gst/elements/gstidentity.h:
29755         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29756         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29757         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29758         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29759         (gst_tee_sink_activate):
29760         * gst/elements/gsttee.h:
29761         * gst/gst.c: (gst_register_core_elements), (init_post):
29762         * gst/gst.h:
29763         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29764         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29765         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29766         (gst_bin_change_state):
29767         * gst/gstbin.h:
29768         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29769         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29770         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29771         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29772         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29773         (bus_watch_callback), (bus_watch_destroy),
29774         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29775         (poll_timeout), (gst_bus_poll):
29776         * gst/gstbus.h:
29777         * gst/gstcaps.h:
29778         * gst/gstdata.h:
29779         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29780         (gst_element_post_message), (gst_element_message_full),
29781         (gst_element_get_state_func), (gst_element_get_state),
29782         (gst_element_abort_state), (gst_element_commit_state),
29783         (gst_element_lost_state), (gst_element_set_state),
29784         (gst_element_pads_activate), (gst_element_change_state),
29785         (gst_element_dispose), (gst_element_set_manager_func),
29786         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29787         (gst_element_set_manager), (gst_element_get_manager),
29788         (gst_element_set_bus), (gst_element_get_bus),
29789         (gst_element_set_scheduler), (gst_element_get_scheduler):
29790         * gst/gstelement.h:
29791         * gst/gstevent.c: (gst_event_new_segment_seek),
29792         (gst_event_new_flush):
29793         * gst/gstevent.h:
29794         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29795         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29796         (gst_message_new_eos), (gst_message_new_error),
29797         (gst_message_new_warning), (gst_message_new_tag),
29798         (gst_message_new_state_changed), (gst_message_new_application),
29799         (gst_message_get_structure), (gst_message_parse_tag),
29800         (gst_message_parse_state_changed), (gst_message_parse_error),
29801         (gst_message_parse_warning):
29802         * gst/gstmessage.h:
29803         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29804         (gst_real_pad_set_property), (gst_pad_set_active),
29805         (gst_pad_is_active), (gst_pad_set_blocked_async),
29806         (gst_pad_set_blocked), (gst_pad_is_blocked),
29807         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29808         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29809         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29810         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29811         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29812         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29813         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29814         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29815         (gst_pad_set_caps), (gst_pad_configure_sink),
29816         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29817         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29818         (gst_real_pad_dispose), (gst_real_pad_finalize),
29819         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29820         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29821         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29822         * gst/gstpad.h:
29823         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29824         (pipeline_bus_handler), (gst_pipeline_change_state),
29825         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29826         * gst/gstpipeline.h:
29827         * gst/gstprobe.h:
29828         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29829         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29830         (gst_queue_link_src), (gst_queue_bufferalloc),
29831         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29832         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29833         (gst_queue_loop), (gst_queue_handle_src_event),
29834         (gst_queue_handle_src_query), (gst_queue_src_activate),
29835         (gst_queue_change_state):
29836         * gst/gstqueue.h:
29837         * gst/gstscheduler.c: (gst_scheduler_init),
29838         (gst_scheduler_dispose), (gst_scheduler_create_task),
29839         (gst_scheduler_factory_create):
29840         * gst/gstscheduler.h:
29841         * gst/gststructure.c: (gst_structure_get_type),
29842         (gst_structure_copy_conditional):
29843         * gst/gststructure.h:
29844         * gst/gsttaginterface.h:
29845         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29846         (gst_task_init), (gst_task_dispose), (gst_task_create),
29847         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29848         (gst_task_pause):
29849         * gst/gsttask.h:
29850         * gst/gstthread.c:
29851         * gst/gstthread.h:
29852         * gst/gsttypes.h:
29853         * gst/schedulers/Makefile.am:
29854         * gst/schedulers/cothreads_compat.h:
29855         * gst/schedulers/entryscheduler.c:
29856         * gst/schedulers/faircothreads.c:
29857         * gst/schedulers/faircothreads.h:
29858         * gst/schedulers/fairscheduler.c:
29859         * gst/schedulers/gstbasicscheduler.c:
29860         * gst/schedulers/gstoptimalscheduler.c:
29861         * gst/schedulers/gthread-cothreads.h:
29862         * gst/schedulers/threadscheduler.c:
29863         (gst_thread_scheduler_task_get_type),
29864         (gst_thread_scheduler_task_class_init),
29865         (gst_thread_scheduler_task_init),
29866         (gst_thread_scheduler_task_start),
29867         (gst_thread_scheduler_task_stop),
29868         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29869         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29870         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29871         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29872         (plugin_init):
29873         * libs/gst/Makefile.am:
29874         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29875         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29876         (gst_file_pad_parent_set):
29877         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29878         (gst_dp_event_from_packet):
29879         * tests/complexity.c: (main):
29880         * tests/mass_elements.c: (main):
29881         * testsuite/states/locked.c: (message_received), (main):
29882         * testsuite/states/parent.c: (main):
29883         * tools/gst-inspect.c: (print_element_flag_info),
29884         (print_implementation_info), (print_pad_info):
29885         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29886         (main):
29887         * tools/gst-md5sum.c: (event_loop), (main):
29888         * tools/gst-typefind.c: (main):
29889         * tools/gst-xmlinspect.c: (print_element_info):
29890         Next big merge.
29891         Added GstBus for mainloop integration.
29892         Added GstMessage for sending notifications on the bus.
29893         Added GstTask as an abstraction for pipeline entry points.
29894         Removed GstThread.
29895         Removed Schedulers.
29896         Simplified GstQueue for multithreaded core.
29897         Made _link threadsafe, removed old capsnego.
29898         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29899         Added pad blocking functions.
29900         Reworked scheduling functions in GstPad to prepare for
29901         scheduling updates soon.
29902         Moved events out of data stream.
29903         Simplified GstEvent types.
29904         Added return values to push/pull.
29905         Removed clocking from GstElement.
29906         Added prototypes for state change function for next merge.
29907         Removed iterate from bins and state change management.
29908         Fixed some elements, disabled others for now.
29909         Fixed -inspect and -launch.
29910         Added check for GstBus.
29911
29912 2005-03-10  Wim Taymans  <wim@fluendo.com>
29913
29914         * docs/design/part-MT-refcounting.txt:
29915         * docs/design/part-clocks.txt:
29916         * docs/design/part-gstelement.txt:
29917         * docs/design/part-gstobject.txt:
29918         * docs/design/part-standards.txt:
29919         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29920         (gst_bin_remove_func), (gst_bin_remove):
29921         * gst/gstbin.h:
29922         * gst/gstbuffer.c:
29923         * gst/gstcaps.h:
29924         * testsuite/clock/clock1.c: (main):
29925         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29926         (main):
29927         * testsuite/dlopen/loadgst.c: (do_test):
29928         * testsuite/refcounting/bin.c: (add_remove_test1),
29929         (add_remove_test2), (main):
29930         * testsuite/refcounting/element.c: (main):
29931         * testsuite/refcounting/element_pad.c: (main):
29932         * testsuite/refcounting/pad.c: (main):
29933         * tools/gst-launch.c: (sigint_handler_sighandler):
29934         * tools/gst-typefind.c: (main):
29935         Doc updates.
29936         Added doc about clock.
29937         removed gst_bin_iterate_recurse_up(), marked methods
29938         for removal.
29939         Fix more testsuites.
29940
29941 2005-03-09  Wim Taymans  <wim@fluendo.com>
29942
29943         * gst/gstpad.c: (gst_pad_get_direction),
29944         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29945         (gst_pad_collect_valist):
29946         * testsuite/bins/interface.c: (main):
29947         * testsuite/caps/audioscale.c: (test_caps):
29948         * testsuite/caps/caps.c: (test1), (test2), (test3):
29949         * testsuite/caps/deserialize.c: (main):
29950         * testsuite/caps/enumcaps.c: (main):
29951         * testsuite/caps/filtercaps.c: (main):
29952         * testsuite/caps/intersect2.c: (main):
29953         * testsuite/caps/random.c: (main):
29954         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29955         * testsuite/caps/sets.c: (check_caps):
29956         * testsuite/caps/simplify.c: (check_caps), (main):
29957         * testsuite/caps/subtract.c: (check_caps):
29958         Fix _pad_get_direction wrt ghostpads.
29959         Fix caps testsuite.
29960
29961 2005-03-09  Wim Taymans  <wim@fluendo.com>
29962
29963         * check/Makefile.am:
29964         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29965         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29966         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29967         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29968         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29969         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29970         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29971         (bin_element_is_sink), (gst_bin_iterate_sinks),
29972         (gst_bin_iterate_all_by_interface):
29973         * gst/gstbin.h:
29974         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29975         (gst_element_change_state), (gst_element_dispose),
29976         (gst_element_finalize), (gst_element_set_loop_function):
29977         * gst/gstelement.h:
29978         * gst/gstiterator.c: (find_custom_fold_func):
29979         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29980         (gst_pad_collectv), (gst_pad_collect_valist),
29981         (gst_pad_template_new):
29982         * gst/gstpipeline.c: (gst_pipeline_class_init),
29983         (gst_pipeline_dispose), (gst_pipeline_set_property),
29984         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29985         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29986         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29987         * gst/gstutils.h:
29988         * gst/schedulers/entryscheduler.c:
29989         * gst/schedulers/gstbasicscheduler.c:
29990         (gst_basic_scheduler_cothreaded_chain),
29991         (gst_basic_scheduler_chain_add_element):
29992         * testsuite/bins/interface.c: (main):
29993         Added GstBin test.
29994         Added GstSystemClock test.
29995         Implemented clock distribution code in GstBin.
29996         Implemented iterate sinks method for future use.
29997         Rearranged gstelement.h
29998         Fix GstIterator comparison bug.
29999         Moved some code to GstPipeline, mostly clocking related.
30000
30001 2005-03-09  Wim Taymans  <wim@fluendo.com>
30002
30003         * configure.ac:
30004         * gst/gst_private.h:
30005         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30006         (gst_bin_remove_func), (gst_bin_remove),
30007         (gst_bin_get_by_name_recurse_up):
30008         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
30009         (gst_clock_id_compare_func), (gst_clock_id_wait),
30010         (gst_clock_id_wait_async), (gst_clock_init),
30011         (gst_clock_adjust_unlocked), (gst_clock_get_time):
30012         * gst/gstelement.h:
30013         * gst/gstinfo.c: (_gst_debug_init):
30014         * gst/gstobject.h:
30015         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30016         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
30017         * gst/gstpad.h:
30018         Bump version number, we're now 0.9.0
30019         Add future debugging category.
30020         Fix NULL _unref() in _get_by_name_recurse_up
30021         Rearrange gstpad.h.
30022         Update some docs.
30023
30024 2005-03-08  Wim Taymans  <wim@fluendo.com>
30025
30026         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
30027         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
30028         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30029         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
30030         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
30031         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
30032         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
30033         * gst/elements/gstidentity.c: (gst_identity_class_init):
30034         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
30035         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
30036         * gst/elements/gstshaper.c: (gst_shaper_class_init):
30037         * gst/elements/gststatistics.c: (gst_statistics_class_init):
30038         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
30039         (gst_tee_link):
30040         * gst/gstelement.c: (gst_element_class_init),
30041         (gst_element_base_class_init), (gst_element_init),
30042         (gst_element_get_random_pad), (gst_element_wait_state_change),
30043         (gst_element_change_state), (gst_element_dispose),
30044         (gst_element_finalize), (gst_element_set_loop_function):
30045         * gst/gstelement.h:
30046         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
30047         * gst/gstthread.c: (gst_thread_class_init),
30048         (gst_thread_release_children_locks), (gst_thread_change_state):
30049         * gst/schedulers/gstbasicscheduler.c:
30050         (gst_basic_scheduler_loopfunc_wrapper),
30051         (gst_basic_scheduler_chain_wrapper),
30052         (gst_basic_scheduler_src_wrapper),
30053         (gst_basic_scheduler_remove_element):
30054         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30055         Remove threadsafe properties. Fix elements because GObject
30056         complains when installing a property before declaring a
30057         set/get_property handler.
30058         Rearrange gstelement.h file, use STATE macros for state locks.
30059         Free mutexes in the finalize method instead of dispose.
30060
30061 2005-03-08  Wim Taymans  <wim@fluendo.com>
30062
30063         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30064         * gst/gstthread.c: (gst_thread_release_children_locks):
30065         Added parentage check.
30066         Fix build og GstThread again.
30067
30068 2005-03-08  Wim Taymans  <wim@fluendo.com>
30069
30070         * docs/design/part-MT-refcounting.txt:
30071         * docs/design/part-conventions.txt:
30072         * docs/design/part-gstobject.txt:
30073         * docs/design/part-relations.txt:
30074         * docs/design/part-standards.txt:
30075         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30076         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30077         (gst_bin_get_by_name), (gst_bin_get_by_interface),
30078         (gst_bin_iterate_all_by_interface):
30079         * gst/gstbuffer.h:
30080         * gst/gstclock.h:
30081         * gst/gstelement.c: (gst_element_class_init),
30082         (gst_element_change_state), (gst_element_set_loop_function):
30083         * gst/gstelement.h:
30084         * gst/gstiterator.c:
30085         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30086         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30087         (gst_object_dispatch_properties_changed), (gst_object_set_name),
30088         (gst_object_set_parent), (gst_object_unparent),
30089         (gst_object_check_uniqueness):
30090         * gst/gstobject.h:
30091         Docs updates, clean up some headers.
30092
30093 2005-03-07  Wim Taymans  <wim@fluendo.com>
30094
30095         * check/.cvsignore:
30096         * check/Makefile.am:
30097         * check/gst-libs/.cvsignore:
30098         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30099         * check/gst/.cvsignore:
30100         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30101         (START_TEST), (gstbus_suite), (main):
30102         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30103         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30104         (gst_data_suite), (main):
30105         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30106         (add_fold_func), (gstiterator_suite), (main):
30107         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30108         (thread_name_object), (thread_name_object_default),
30109         (gst_object_name_compare), (gst_object_suite), (main):
30110         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30111         (gst_pad_suite), (main):
30112         * check/gstcheck.c: (gst_check_log_message_func),
30113         (gst_check_log_critical_func), (gst_check_init):
30114         * check/gstcheck.h:
30115         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30116         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30117         Added checks.
30118
30119 2005-03-07  Wim Taymans  <wim@fluendo.com>
30120
30121         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30122         (gst_list_iterator_next), (gst_list_iterator_resync),
30123         (gst_list_iterator_free), (gst_iterator_new_list),
30124         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30125         (gst_iterator_free), (gst_iterator_push), (filter_next),
30126         (filter_resync), (filter_uninit), (filter_free),
30127         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30128         (gst_iterator_foreach), (find_custom_fold_func),
30129         (gst_iterator_find_custom):
30130         * gst/gstiterator.h:
30131         Added missing files.
30132
30133 2005-03-07  Wim Taymans  <wim@fluendo.com>
30134
30135         * Makefile.am:
30136         * configure.ac:
30137         * docs/design/part-MT-refcounting.txt:
30138         * docs/design/part-conventions.txt:
30139         * docs/design/part-gstobject.txt:
30140         * docs/design/part-relations.txt:
30141         * examples/mixer/mixer.c: (main):
30142         * examples/thread/thread.c: (eos), (main):
30143         * gst/Makefile.am:
30144         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30145         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30146         (gst_spider_plug_from_srcpad):
30147         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30148         (gst_spider_identity_change_state),
30149         (gst_spider_identity_sink_loop_type_finding):
30150         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30151         * gst/elements/gstidentity.c: (gst_identity_init):
30152         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30153         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30154         * gst/elements/gsttypefindelement.c: (free_entry):
30155         * gst/gst.c:
30156         * gst/gst.h:
30157         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30158         (gst_bin_set_clock_func), (gst_bin_auto_clock),
30159         (gst_bin_set_index), (gst_bin_set_element_sched),
30160         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30161         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30162         (gst_bin_iterate_elements), (iterate_child_recurse),
30163         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30164         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30165         (compare_interface), (gst_bin_get_by_interface),
30166         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30167         * gst/gstbin.h:
30168         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30169         (gst_buffer_default_free), (gst_buffer_default_copy),
30170         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30171         (gst_buffer_create_sub):
30172         * gst/gstbuffer.h:
30173         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30174         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30175         (gst_caps_unref), (gst_static_caps_get),
30176         (gst_caps_remove_and_get_structure), (gst_caps_append),
30177         (gst_caps_append_structure), (gst_caps_remove_structure),
30178         (gst_caps_copy_nth), (gst_caps_set_simple),
30179         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30180         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30181         (gst_caps_structure_intersect_field), (gst_caps_intersect),
30182         (gst_caps_structure_subtract_field), (gst_caps_subtract),
30183         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30184         (gst_caps_structure_figure_out_union),
30185         (gst_caps_switch_structures), (gst_caps_do_simplify),
30186         (gst_caps_replace), (gst_caps_from_string),
30187         (gst_caps_copy_conditional):
30188         * gst/gstcaps.h:
30189         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30190         (_gst_clock_id_free), (gst_clock_id_unref),
30191         (gst_clock_id_compare_func), (gst_clock_id_wait),
30192         (gst_clock_id_wait_async), (gst_clock_class_init),
30193         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30194         (gst_clock_get_time), (gst_clock_set_time_adjust),
30195         (gst_clock_set_property), (gst_clock_get_property):
30196         * gst/gstclock.h:
30197         * gst/gstcompat.h:
30198         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30199         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30200         * gst/gstdata.h:
30201         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30202         (gst_element_requires_clock), (gst_element_provides_clock),
30203         (gst_element_set_clock), (gst_element_clock_wait),
30204         (gst_element_wait), (gst_element_set_time_delay),
30205         (gst_element_is_indexable), (gst_element_add_pad),
30206         (gst_element_add_ghost_pad), (gst_element_remove_pad),
30207         (pad_compare_name), (gst_element_get_static_pad),
30208         (gst_element_request_pad), (gst_element_get_request_pad),
30209         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30210         (gst_element_class_get_pad_template_list),
30211         (gst_element_class_get_pad_template), (gst_element_error_func),
30212         (gst_element_get_random_pad), (gst_element_get_event_masks),
30213         (gst_element_send_event), (gst_element_seek),
30214         (gst_element_get_query_types), (gst_element_query),
30215         (gst_element_get_formats), (gst_element_convert),
30216         (gst_element_is_locked_state), (gst_element_set_locked_state),
30217         (gst_element_sync_state_with_parent), (gst_element_change_state),
30218         (gst_element_finalize), (gst_element_yield),
30219         (gst_element_interrupt), (gst_element_set_scheduler),
30220         (gst_element_get_scheduler), (gst_element_set_loop_function):
30221         * gst/gstelement.h:
30222         * gst/gstevent.h:
30223         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30224         (gst_format_get_by_nick), (gst_format_get_details),
30225         (gst_format_iterate_definitions):
30226         * gst/gstformat.h:
30227         * gst/gstindex.c: (gst_index_gtype_resolver):
30228         * gst/gstinfo.c:
30229         * gst/gstinfo.h:
30230         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30231         (gst_mem_chunk_free):
30232         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30233         (gst_object_ref), (gst_object_unref), (gst_object_sink),
30234         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30235         (gst_object_dispatch_properties_changed),
30236         (gst_object_set_name_default), (gst_object_set_name),
30237         (gst_object_get_name), (gst_object_set_name_prefix),
30238         (gst_object_get_name_prefix), (gst_object_set_parent),
30239         (gst_object_get_parent), (gst_object_unparent),
30240         (gst_object_check_uniqueness), (gst_object_save_thyself),
30241         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30242         (gst_object_set_property), (gst_object_get_property),
30243         (gst_object_get_path_string):
30244         * gst/gstobject.h:
30245         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30246         (gst_real_pad_init), (gst_real_pad_get_property),
30247         (gst_pad_custom_new), (gst_pad_get_direction),
30248         (gst_pad_set_active), (gst_pad_is_active),
30249         (gst_pad_set_event_function), (gst_pad_is_linked),
30250         (gst_pad_link_free), (gst_pad_link_intersect),
30251         (gst_pad_link_fixate), (gst_pad_set_caps),
30252         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30253         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30254         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30255         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30256         (gst_pad_get_caps), (gst_pad_peer_get_caps),
30257         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30258         (gst_pad_realize), (gst_pad_get_allowed_caps),
30259         (gst_real_pad_dispose), (gst_real_pad_finalize),
30260         (gst_pad_collectv), (gst_pad_collect_valist),
30261         (gst_pad_template_dispose), (gst_pad_template_new),
30262         (gst_pad_get_internal_links):
30263         * gst/gstpad.h:
30264         * gst/gstpipeline.c: (gst_pipeline_dispose),
30265         (gst_pipeline_change_state):
30266         * gst/gstpipeline.h:
30267         * gst/gstplugin.c:
30268         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30269         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30270         * gst/gstpluginfeature.h:
30271         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30272         * gst/gstquery.c: (_gst_query_type_initialize),
30273         (gst_query_type_register), (gst_query_type_get_by_nick),
30274         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30275         * gst/gstquery.h:
30276         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30277         * gst/gstscheduler.c: (gst_scheduler_add_element),
30278         (gst_scheduler_factory_create):
30279         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30280         (gst_structure_free), (gst_structure_set_name),
30281         (gst_structure_id_set_value), (gst_structure_set_value),
30282         (gst_structure_set_valist), (gst_structure_remove_field),
30283         (gst_structure_remove_fields),
30284         (gst_structure_remove_fields_valist),
30285         (gst_structure_remove_all_fields), (gst_structure_foreach),
30286         (gst_structure_map_in_place),
30287         (gst_caps_structure_fixate_field_nearest_int),
30288         (gst_caps_structure_fixate_field_nearest_double):
30289         * gst/gststructure.h:
30290         * gst/gstsystemclock.c: (gst_system_clock_class_init),
30291         (gst_system_clock_init), (gst_system_clock_dispose),
30292         (gst_system_clock_async_thread),
30293         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30294         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30295         * gst/gstsystemclock.h:
30296         * gst/gsttag.c: (gst_tag_list_add_value_internal),
30297         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30298         * gst/gsttaginterface.c:
30299         * gst/gstthread.c: (gst_thread_dispose),
30300         (gst_thread_release_children_locks), (gst_thread_change_state),
30301         (gst_thread_main_loop):
30302         * gst/gsttrashstack.h:
30303         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30304         * gst/gsttypes.h:
30305         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30306         (gst_element_request_pad), (gst_element_get_pad_from_template),
30307         (gst_element_request_compatible_pad),
30308         (gst_element_get_compatible_pad_filtered),
30309         (gst_element_get_compatible_pad), (gst_element_state_get_name),
30310         (gst_element_link_pads_filtered), (gst_element_link_filtered),
30311         (gst_element_link_many), (gst_element_link),
30312         (gst_element_link_pads), (gst_element_unlink_pads),
30313         (gst_element_unlink_many), (gst_element_unlink),
30314         (gst_pad_can_link_filtered), (gst_pad_can_link),
30315         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30316         (gst_object_default_error), (gst_bin_add_many),
30317         (gst_bin_remove_many), (gst_element_populate_std_props),
30318         (gst_element_class_install_std_props), (gst_buffer_merge),
30319         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30320         (link_fold_func), (gst_pad_proxy_setcaps):
30321         * gst/gstutils.h:
30322         * gst/gstvalue.c: (gst_value_deserialize_string):
30323         * gst/parse/grammar.y:
30324         * gst/schedulers/gstbasicscheduler.c:
30325         (gst_basic_scheduler_cothreaded_chain),
30326         (gst_basic_scheduler_chain_recursive_add),
30327         (gst_basic_scheduler_pad_link):
30328         * gst/schedulers/gstoptimalscheduler.c:
30329         (get_group_schedule_function),
30330         (gst_opt_scheduler_state_transition),
30331         (gst_opt_scheduler_add_element), (element_get_reachables_func):
30332         * libs/gst/bytestream/bytestream.c:
30333         * libs/gst/dataprotocol/dataprotocol.c:
30334         (gst_dp_header_from_buffer):
30335         * po/nb.po:
30336         * po/ru.po:
30337         * tests/threadstate/threadstate2.c: (eos):
30338         * tools/gst-compprep.c: (main):
30339         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30340         (print_pad_info), (print_children_info):
30341         * tools/gst-launch.c: (idle_func), (main):
30342         * tools/gst-md5sum.c: (idle_func), (main):
30343         * tools/gst-xmlinspect.c: (print_element_info):
30344         First THREADED backport attempt, focusing on adding locks and
30345         making sure the API is threadsafe. Needs more work. More docs
30346         follow this week.
30347
30348 2005-02-24  Andy Wingo  <wingo@pobox.com>
30349
30350         * tests/bench-complexity.scm:
30351         * tests/complexity.gnuplot: New files, good for running complexity
30352         benchmarks.
30353
30354         * tests/Makefile.am:
30355         * tests/complexity.c: New test, sets up N elements, at each level
30356         teeing into M streams per element. Eeeenteresting.
30357
30358         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30359         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30360         running bench-mass_elements.scm.
30361
30362         * tests/bench-mass_elements.scm: New script, runs mass_elements
30363         for various numbers of identities, outputting the results to a
30364         file. Requires guile 1.6. Just for testing.
30365
30366 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30367
30368         * gst/schedulers/fairscheduler.c:
30369           compile with debug disabled
30370
30371 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30372
30373         * configure.ac:
30374           hunting season on 0.9 is now OPEN